:root {
  --blue: #5b6a97;
  --paper: #eef1f7;
  --red: #c07f8d;
  --logo-mint: #5b6a97;
  --logo-deep-teal: #3c476b;
  --logo-balance: #c07f8d;
  --logo-progress: #c07f8d;
  --ink: #2a3145;
  --muted: #737a8c;
  --line: #e4e6ef;
  --white: #ffffff;
  --soft-blue: #e9eef7;
  --soft-red: #f7ecef;
  --shadow: 0 26px 70px rgba(91, 106, 151, 0.16);
  --small-shadow: 0 14px 34px rgba(91, 106, 151, 0.12);
}

/* 여기어때 잘난체 — 단일 굵기 폰트라 모든 weight(100–900)에 매핑 */
@font-face {
  font-family: "Jalnan";
  src: url("https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_four@1.2/JalnanOTF00.woff") format("woff");
  font-display: swap;
  font-style: normal;
  font-weight: 100 900;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Jalnan", "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  letter-spacing: 0;
}

body.home-page,
body.execution-page {
  background:
    radial-gradient(120% 90% at 8% 0%, #dbe4f0 0%, rgba(219, 228, 240, 0) 52%),
    radial-gradient(120% 90% at 100% 100%, #f2e3e8 0%, rgba(242, 227, 232, 0) 55%),
    linear-gradient(150deg, #e4ebf5 0%, #e9e6f0 48%, #f2e6ea 100%);
  background-attachment: fixed;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.62);
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(18px);
}

.brand,
.main-nav,
.goal-row,
.dashboard-top,
.progress-label,
.final-cta {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-logo {
  display: block;
  width: clamp(154px, 15vw, 196px);
  height: auto;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--white);
  background: var(--blue);
  border-radius: 12px;
}

.login-logo {
  display: block;
  width: min(260px, 74vw);
  height: auto;
  margin: 0 auto 18px;
}

.main-nav {
  gap: 22px;
  color: #2b3147;
  font-size: 14px;
  font-weight: 700;
}

.goal-row button,
.paid-box a,
.dashboard-top button,
.schedule-card button,
.pricing-grid a,
.final-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 14px;
  color: var(--white);
  background: var(--blue);
  font-weight: 800;
  cursor: pointer;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.section-band {
  padding: clamp(56px, 8vw, 104px) clamp(18px, 5vw, 72px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  justify-items: center;
  min-height: calc(100vh - 72px);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.hero-copy {
  max-width: 920px;
  margin-inline: auto;
}

.hero,
.section-band {
  position: relative;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  color: var(--blue);
  font-size: clamp(42px, 7vw, 86px);
  line-height: 1.02;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.08;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.hero-text,
.section-heading p,
.goal-form p,
footer p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-text {
  max-width: 720px;
  margin-inline: auto;
  font-size: 18px;
}

.goal-form {
  max-width: 860px;
  margin-inline: auto;
  margin-top: 34px;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.goal-form label {
  display: block;
  margin-bottom: 10px;
  font-weight: 900;
  text-align: left;
}

.goal-row {
  gap: 10px;
}

.goal-row input {
  flex: 1;
  min-width: 0;
  height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 15px;
  color: var(--ink);
  background: var(--paper);
}

.dashboard-shell,
.admin-panel,
.design-panel {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.design-flow {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.design-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: 22px;
}

.personality-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  scroll-margin-top: 92px;
}

.field-group {
  display: grid;
  gap: 8px;
}

.field-group.wide,
.personality-form button,
.form-note {
  grid-column: 1 / -1;
}

.field-group label {
  color: #2a3045;
  font-size: 13px;
  font-weight: 900;
}

.field-group input,
.field-group select,
.analysis-grid textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  color: var(--ink);
}

.personality-form button {
  min-height: 52px;
  border: 0;
  border-radius: 16px;
  color: var(--white);
  background: var(--blue);
  font-weight: 900;
  cursor: pointer;
}

.personality-form button:disabled {
  opacity: 0.72;
  cursor: progress;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.analysis-card {
  padding: 22px;
  background: var(--soft-blue);
  border: 1px solid #d7def8;
  border-radius: 24px;
}

.analysis-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.analysis-header span,
.analysis-grid span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.analysis-header strong {
  color: var(--red);
  font-size: 24px;
}

.analysis-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.analysis-grid article {
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.analysis-grid article.wide {
  grid-column: 1 / -1;
}

.analysis-grid p {
  margin: 10px 0 0;
  color: #30364a;
  line-height: 1.65;
}

.ai-preview-card h3 {
  margin: 10px 0 12px;
  color: var(--blue);
}

.ai-preview-card ul {
  display: grid;
  gap: 10px;
  margin: 0 0 14px;
  padding-left: 18px;
  color: #30364a;
  line-height: 1.55;
}

.ai-preview-card p {
  padding: 14px;
  background: var(--soft-blue);
  border-radius: 14px;
}

.analysis-grid textarea {
  min-height: 180px;
  margin-top: 10px;
  padding: 14px;
  resize: vertical;
  font-family: "Jalnan", "Consolas", "Courier New", monospace;
  font-size: 12px;
  line-height: 1.5;
}

.featured-plan p {
  color: var(--red);
}

.result-cards span,
.dashboard-top span,
.admin-metrics span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.result-cards article,
.problem-grid article,
.steps article,
.use-grid article,
.pricing-grid article,
.admin-metrics article,
.admin-grid article {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--small-shadow);
}

.schedule-card {
  display: grid;
  gap: 12px;
}

.schedule-card label {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 38px;
  color: #2a3045;
  font-weight: 700;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.problem-grid,
.steps,
.use-grid,
.pricing-grid,
.admin-metrics,
.admin-grid,
.result-cards,
.dashboard-grid {
  display: grid;
  gap: 16px;
}

.problem-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.problem-core {
  color: var(--white);
  background: var(--blue) !important;
  border-color: var(--blue) !important;
}

.problem-grid article:not(.problem-core):hover,
.use-grid article:hover,
.pricing-grid article:hover {
  transform: translateY(-4px);
  transition: transform 180ms ease, box-shadow 180ms ease;
  box-shadow: var(--shadow);
}

.problem-core p {
  color: rgba(255, 255, 255, 0.82);
}

.steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.steps span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--red);
  font-weight: 900;
}

.result-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 18px;
}

.result-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.result-cards strong {
  display: block;
  margin-top: 12px;
  font-size: 22px;
  line-height: 1.3;
}

.paid-box {
  padding: 22px;
  color: var(--white);
  background: var(--blue);
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.paid-box ul,
.pricing-grid ul {
  margin: 0 0 20px;
  padding-left: 18px;
  line-height: 1.9;
}

.paid-box a {
  color: var(--blue);
  background: var(--white);
}

.app-dashboard {
  background: var(--blue);
  color: var(--white);
}

.app-dashboard .section-heading p,
.app-dashboard .progress-block p {
  color: rgba(255, 255, 255, 0.74);
}

.dashboard-shell {
  color: var(--ink);
}

.dashboard-top {
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.dashboard-top strong {
  display: block;
  margin-top: 6px;
  color: var(--blue);
  font-size: 24px;
}

.dashboard-top button {
  color: var(--blue);
  background: var(--white);
  border: 1px solid var(--blue);
}

.progress-block {
  padding: 20px;
  background: var(--paper);
  border-radius: 20px;
}

.progress-label {
  justify-content: space-between;
  margin-bottom: 12px;
  font-weight: 900;
}

.progress-track {
  height: 14px;
  overflow: hidden;
  background: #d7dbea;
  border-radius: 999px;
}

.progress-track span {
  display: block;
  height: 100%;
  background: var(--red);
}

.dashboard-grid {
  grid-template-columns: 1fr;
  margin-top: 18px;
}

.schedule-card {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
}

.schedule-card button {
  margin-top: 8px;
}

.use-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.use-grid article {
  border-left: 6px solid var(--blue);
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pricing-grid article {
  position: relative;
  display: grid;
  align-content: start;
  gap: 14px;
}

.pricing-grid h3 {
  color: var(--blue);
  font-size: 32px;
}

.pricing-grid p {
  margin: 0;
  color: var(--muted);
  font-weight: 900;
}

.pricing-grid a {
  align-self: end;
  margin-top: 8px;
}

.featured-plan {
  color: var(--ink);
  background: var(--white) !important;
  border-color: var(--blue) !important;
  border-width: 2px !important;
  transform: translateY(-10px);
  box-shadow: 0 26px 80px rgba(107, 122, 166, 0.24) !important;
}

.featured-plan h3 {
  color: var(--blue);
}

.featured-plan p {
  color: var(--red);
}

.featured-plan a {
  color: var(--white);
  background: var(--blue);
}

.plan-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 14px;
  color: var(--white);
  background: var(--red);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  box-shadow: var(--small-shadow);
}

.final-cta {
  justify-content: space-between;
  gap: 24px;
  color: var(--white);
  background: var(--red);
}

.final-cta h2 {
  max-width: 720px;
}

.final-cta p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.82);
}

.final-cta .eyebrow {
  color: var(--white);
}

.final-cta a {
  flex: 0 0 auto;
  color: var(--blue);
  background: var(--white);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
}

.admin-page {
  min-height: 100vh;
  background: #eef1f8;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.admin-login {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
}

.login-card {
  width: min(520px, 100%);
  padding: 34px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.login-card h1 {
  margin-bottom: 12px;
  font-size: 44px;
}

.login-card form {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.login-card input,
.admin-filters select {
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
}

.login-card button {
  min-height: 48px;
  border: 0;
  border-radius: 14px;
  color: var(--white);
  background: var(--blue);
  font-weight: 900;
  cursor: pointer;
}

#loginError {
  min-height: 20px;
  color: var(--red);
  font-weight: 800;
}

.admin-dashboard-page {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: 100vh;
}

.admin-dashboard-page.locked {
  display: none;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 26px;
  background: #11182d;
  color: var(--white);
}

.admin-sidebar .brand {
  display: block;
  margin-bottom: 34px;
}

.admin-sidebar .brand-logo {
  width: 168px;
  filter: brightness(1.2) saturate(1.15);
}

.admin-sidebar nav {
  display: grid;
  gap: 8px;
}

.admin-sidebar a:not(.brand) {
  padding: 12px 14px;
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.admin-sidebar a.active,
.admin-sidebar a:not(.brand):hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.admin-workspace {
  padding: 32px;
}

.admin-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.admin-toolbar h1 {
  margin-bottom: 0;
  font-size: clamp(36px, 5vw, 58px);
}

.admin-filters {
  display: flex;
  gap: 10px;
  align-items: center;
}

.admin-stat-grid,
.admin-data-grid {
  display: grid;
  gap: 16px;
}

.admin-stat-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-stat-grid article,
.admin-chart-card,
.admin-insights,
.admin-alert-strip article {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--small-shadow);
}

.admin-stat-grid span,
.card-title span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.admin-stat-grid strong {
  display: block;
  margin-top: 10px;
  font-size: 34px;
}

.admin-stat-grid em {
  display: inline-block;
  margin-top: 8px;
  color: #168a4a;
  font-style: normal;
  font-weight: 900;
}

.admin-stat-grid em.negative {
  color: var(--red);
}

.admin-alert-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.admin-alert-strip article {
  display: grid;
  gap: 8px;
  background: linear-gradient(180deg, #ffffff, #f8faff);
}

.admin-alert-strip span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.admin-alert-strip strong {
  color: var(--blue);
  font-size: 18px;
}

.admin-alert-strip p {
  margin: 0;
  color: #3a4056;
  font-size: 13px;
  line-height: 1.55;
}

.admin-data-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 16px;
}

.card-title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.card-title h2 {
  margin: 0;
  font-size: 22px;
}

.bar-list {
  display: grid;
  gap: 16px;
}

.bar-list div {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) 44px;
  gap: 12px;
  align-items: center;
}

.bar-list b {
  height: 12px;
  background: var(--blue);
  border-radius: 99px;
}

.funnel-list,
.signal-list,
.admin-insights div {
  display: grid;
  gap: 10px;
}

.funnel-list p,
.signal-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.signal-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.risk-card {
  border-color: rgba(201, 141, 153, 0.35);
}

.admin-insights,
.admin-table-section {
  margin-top: 16px;
}

.admin-table-section {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--small-shadow);
}

.admin-insights p {
  margin: 0;
  padding: 14px 16px;
  background: var(--paper);
  border-radius: 14px;
  color: #2c3146;
  font-weight: 700;
}

.table-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.table-filters select {
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 700;
}

.table-filters select:focus,
.admin-filters select:focus,
.login-card input:focus {
  outline: 3px solid rgba(107, 122, 166, 0.18);
  border-color: var(--blue);
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 14px;
}

.admin-table th,
.admin-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  white-space: nowrap;
}

.admin-table th {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-table tbody tr:hover {
  background: #f8faff;
}

.admin-empty-row td {
  padding: 24px 12px;
  color: var(--muted);
  text-align: center;
  font-weight: 800;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.status-pill.danger {
  color: #b82032;
  background: #ffe7eb;
}

.status-pill.warning {
  color: #986800;
  background: #fff4cf;
}

.status-pill.stable {
  color: #1f6d3a;
  background: #e4f7eb;
}

/* Operations dashboard */
.admin-page {
  --admin-navy: #18213a;
  --admin-blue: #65769d;
  --admin-green: #6f9b8e;
  --admin-red: #c77e8c;
  --admin-amber: #cf9b55;
  color: #283149;
  background: #f2f4f8;
}

.admin-page .admin-workspace {
  width: min(100%, 1540px);
  padding: 34px clamp(22px, 3vw, 48px) 64px;
}

.admin-demo-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: -18px 0 26px;
  padding: 9px 11px;
  color: rgba(255,255,255,.68);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  font-size: 10px;
  font-weight: 850;
}

.admin-demo-chip span,
.admin-data-status i {
  width: 7px;
  height: 7px;
  background: #e7b86f;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(231,184,111,.12);
}

.admin-sidebar-note {
  position: absolute;
  right: 22px;
  bottom: 24px;
  left: 22px;
  display: grid;
  gap: 7px;
  padding: 15px;
  color: rgba(255,255,255,.68);
  background: rgba(255,255,255,.07);
  border-radius: 16px;
  font-size: 10px;
}

.admin-sidebar-note strong { color: #fff; font-size: 11px; }
.admin-sidebar-note span::before { content: "•"; margin-right: 6px; color: #9cc7b8; }

.admin-toolbar { align-items: flex-start; }
.admin-toolbar h1 { color: var(--admin-navy); font-size: clamp(34px, 4vw, 52px); }
.admin-toolbar-copy { max-width: 650px; margin: 8px 0 0; color: #737d91; font-size: 13px; font-weight: 700; }
.admin-toolbar-side { display: grid; justify-items: end; gap: 10px; }
.admin-data-status { display: flex; align-items: center; gap: 8px; color: #8a7180; font-size: 10px; font-weight: 850; }

.admin-data-notice {
  display: grid;
  grid-template-columns: auto minmax(0,1fr);
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
  padding: 11px 15px;
  color: #6f6270;
  background: #fff8e9;
  border: 1px solid rgba(207,155,85,.22);
  border-radius: 14px;
  font-size: 10px;
  font-weight: 700;
}
.admin-data-notice strong { color: #94652d; }

.admin-kpi-grid {
  grid-template-columns: repeat(3, minmax(0,1fr));
}

.admin-page .admin-kpi-card {
  position: relative;
  min-height: 156px;
  overflow: hidden;
  padding: 20px;
  background: linear-gradient(145deg,#fff,#f9fbfd);
  border-color: rgba(101,118,157,.12);
  border-radius: 21px;
}
.admin-page .admin-kpi-card::after { position: absolute; top: 0; right: 0; width: 72px; height: 72px; content: ""; background: radial-gradient(circle at 100% 0,rgba(111,155,142,.18),transparent 70%); }
.admin-page .admin-kpi-card.is-risk::after { background: radial-gradient(circle at 100% 0,rgba(199,126,140,.22),transparent 70%); }
.admin-page .admin-kpi-card.is-cost::after { background: radial-gradient(circle at 100% 0,rgba(207,155,85,.2),transparent 70%); }
.admin-page .admin-kpi-card strong { color: var(--admin-navy); font-size: 31px; }
.admin-page .admin-kpi-card small { display: block; margin-top: 7px; color: #8a93a4; font-size: 9px; font-weight: 750; }
.metric-help { display: inline-grid; width: 17px; height: 17px; padding: 0; place-items: center; color: #8490a3; background: #edf0f6; border: 0; border-radius: 50%; font-size: 9px; cursor: help; }

.admin-health-strip {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 12px;
  margin-top: 16px;
}
.admin-health-strip article { display: grid; grid-template-columns: 38px minmax(0,1fr); gap: 11px; padding: 17px; background: #fff; border: 1px solid rgba(101,118,157,.11); border-radius: 18px; box-shadow: var(--small-shadow); }
.admin-health-strip article > div { display: grid; gap: 4px; }
.admin-health-strip small { color: #8b94a4; font-size: 8px; font-weight: 900; }
.admin-health-strip strong { color: #39445c; font-size: 12px; line-height: 1.4; }
.admin-health-strip p { margin: 0; color: #778195; font-size: 9px; font-weight: 700; line-height: 1.45; }
.health-icon { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 13px; font-size: 15px; font-weight: 950; }
.health-icon.danger { color: #ad5365; background: #fdebed; }
.health-icon.warning { color: #a87532; background: #fff3da; }
.health-icon.stable { color: #4f7e70; background: #e7f3ef; }

.admin-analytics-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 16px;
  margin-top: 16px;
}

.admin-page .admin-chart-card {
  min-width: 0;
  padding: 22px;
  border-color: rgba(101,118,157,.12);
  border-radius: 22px;
}
.admin-page .card-title > div { display: grid; gap: 3px; }
.admin-page .card-title h2 { color: #323d56; font-size: 18px; }
.card-tag { align-self: start; padding: 6px 9px; color: #67748d; background: #edf1f7; border-radius: 999px; font-size: 8px !important; }
.card-tag.good { color: #557f71; background: #e8f4f0; }
.card-tag.danger { color: #a65e6c; background: #fae9ed; }

.admin-funnel-visual { display: grid; gap: 8px; }
.admin-funnel-visual > div { position: relative; display: grid; grid-template-columns: minmax(110px,1fr) auto; gap: 4px 12px; width: var(--funnel-width); min-width: 220px; padding: 10px 13px; color: #445169; background: linear-gradient(90deg,#e9f3f0,#f0f1f7); border-radius: 11px; }
.admin-funnel-visual > div::before { position: absolute; inset: 0 auto 0 0; width: 4px; content: ""; background: #7a9f95; border-radius: inherit; }
.admin-funnel-visual > div.is-bottleneck { background: linear-gradient(90deg,#fff0e1,#f9edf0); }
.admin-funnel-visual > div.is-bottleneck::before { background: #ca8a64; }
.admin-funnel-visual span { font-size: 10px; font-weight: 900; }
.admin-funnel-visual strong { font-size: 11px; }
.admin-funnel-visual em { grid-column: 1/-1; color: #8b94a4; font-size: 8px; font-style: normal; font-weight: 700; }

.chart-insight { margin: 14px 0 0; padding: 11px 12px; color: #6f7a8e; background: #f6f8fb; border-radius: 12px; font-size: 9px; font-weight: 700; line-height: 1.5; }
.chart-insight b { color: #566680; margin-right: 5px; }

.retention-summary { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-bottom: 16px; }
.retention-summary > div { display: grid; gap: 5px; padding: 12px; background: #f5f8fa; border-radius: 13px; }
.retention-summary small { color: #8590a2; font-size: 8px; font-weight: 900; }
.retention-summary strong { color: #4d5e78; font-size: 17px; }
.retention-lines,.reason-list { display: grid; gap: 10px; }
.retention-lines > div,.reason-list > div { display: grid; grid-template-columns: 80px minmax(0,1fr) 40px; gap: 9px; align-items: center; }
.retention-lines span,.reason-list span { color: #717c91; font-size: 9px; font-weight: 800; }
.retention-lines b,.reason-list b { height: 8px; overflow: hidden; background: #edf0f5; border-radius: 999px; }
.retention-lines i,.reason-list i { display: block; height: 100%; background: linear-gradient(90deg,#789f93,#7e8fae); border-radius: inherit; }
.reason-list i { background: linear-gradient(90deg,#c48a98,#d5a36e); }
.retention-lines strong,.reason-list strong { color: #536078; font-size: 9px; }

.feature-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.feature-grid > div { display: grid; gap: 4px; padding: 12px; background: linear-gradient(145deg,#f5faf8,#f6f5fa); border-radius: 14px; }
.feature-grid > div > span { display: grid; width: 28px; height: 28px; place-items: center; color: #66877e; background: #fff; border-radius: 9px; }
.feature-grid strong { color: #4c5870; font-size: 9px; }
.feature-grid b { color: #344159; font-size: 16px; }
.feature-grid small { color: #799186; font-size: 7px; font-weight: 800; }

.cost-meter { display: grid; gap: 8px; margin-bottom: 12px; padding: 14px; background: #f7f9fb; border-radius: 14px; }
.cost-meter > div { display: flex; justify-content: space-between; gap: 10px; color: #657086; font-size: 9px; font-weight: 800; }
.cost-meter > div strong { color: #3d4960; }
.cost-meter > b { height: 10px; overflow: hidden; background: #e8ebf1; border-radius: 999px; }
.cost-meter > b i { display: block; height: 100%; background: linear-gradient(90deg,#72a28f,#d0a05e); border-radius: inherit; }
.cost-meter > small { color: #818b9c; font-size: 8px; font-weight: 700; }
.signal-list.compact li { padding: 8px 0; font-size: 9px; }
.bar-list.refined b { background: linear-gradient(90deg,#789f93,#7e8eae); }

.admin-action-center { margin-top: 16px; padding: 22px; background: linear-gradient(145deg,#18213a,#26324e); border-radius: 22px; box-shadow: 0 18px 38px rgba(24,33,58,.16); }
.admin-action-center .card-title h2 { color: #fff; }
.admin-action-center .card-title span { color: rgba(255,255,255,.58); }
.admin-action-center .card-tag { color: #d9e8e3; background: rgba(255,255,255,.1); }
.action-list { display: grid; gap: 8px; }
.action-list article { display: grid; grid-template-columns: 38px minmax(0,1fr) auto; gap: 12px; align-items: center; padding: 13px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.07); border-radius: 14px; }
.action-list article > b { display: grid; width: 34px; height: 34px; place-items: center; color: #fff; background: #c37d8a; border-radius: 11px; font-size: 9px; }
.action-list article > div { display: grid; gap: 3px; }
.action-list strong { color: #fff; font-size: 10px; }
.action-list p { margin: 0; color: rgba(255,255,255,.6); font-size: 8px; font-weight: 700; }
.action-list article > span { color: #b8d8cd; font-size: 9px; font-weight: 850; }

.admin-page .admin-table-section { padding: 22px; border-color: rgba(101,118,157,.12); border-radius: 22px; }
.admin-user-title { align-items: flex-start; }
.admin-user-title > div:first-child span b { color: #4d5c75; }
.admin-page .table-filters { justify-content: flex-end; }
.admin-page .table-filters input,
.admin-page .table-filters select,
.admin-page .table-filters button { height: 38px; padding: 0 11px; color: #55627a; background: #f6f8fb; border: 1px solid #e2e6ed; border-radius: 11px; font: inherit; font-size: 9px; font-weight: 800; }
.admin-page .table-filters input { width: 140px; }
.admin-page .table-filters button { cursor: pointer; }
.admin-page .table-filters button:hover { background: #e9f2ef; }
.admin-page #memberTableBody button { margin: 2px 3px 2px 0; padding: 6px 8px; color: #536174; background: #f6f8fb; border: 1px solid #dfe5ec; border-radius: 8px; font: inherit; font-size: 9px; font-weight: 800; cursor: pointer; white-space: nowrap; }
.admin-page #memberTableBody button:hover { color: #315c50; background: #e9f2ef; border-color: #c9ddd6; }
.admin-page #memberTableBody button:disabled { opacity: .55; cursor: wait; }
.admin-user-table td:first-child strong,.admin-user-table td:first-child small { display: block; }
.admin-user-table td:first-child small { margin-top: 3px; color: #9098a7; font-size: 8px; }
.plan-pill { display: inline-flex; padding: 5px 8px; border-radius: 999px; font-size: 8px; font-weight: 950; }
.plan-pill.pro { color: #5b527b; background: #eeeafa; }
.plan-pill.trial { color: #9a6a2e; background: #fff0d8; }
.plan-pill.free { color: #607187; background: #edf1f6; }
.admin-table-note { margin: 12px 0 0; color: #8a93a3; font-size: 8px; font-weight: 700; line-height: 1.5; }
.admin-security-section { margin-top: 16px; }
.admin-password-change-form { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)) auto; gap: 12px; align-items: end; margin-top: 20px; }
.admin-password-change-form label { display: grid; gap: 7px; color: #59667b; font-size: 9px; font-weight: 850; }
.admin-password-change-form input { width: 100%; height: 44px; padding: 0 13px; color: #26324a; background: #f7f9fb; border: 1px solid #dfe5ec; border-radius: 12px; font: inherit; font-size: 12px; outline: none; }
.admin-password-change-form input:focus { border-color: #82aa9c; box-shadow: 0 0 0 3px rgba(130,170,156,.14); }
.admin-password-change-form button { height: 44px; padding: 0 18px; color: #fff; background: linear-gradient(135deg,#456f63,#6985a1); border: 0; border-radius: 12px; font: inherit; font-size: 9px; font-weight: 900; cursor: pointer; white-space: nowrap; }
.admin-password-change-form button:disabled { opacity: .55; cursor: wait; }
.admin-password-guidance { margin: 11px 0 0; color: #7c8798; font-size: 8px; font-weight: 700; }
.admin-password-change-message { min-height: 18px; margin: 7px 0 0; color: #3d7565; font-size: 9px; font-weight: 850; }

@media (max-width: 1240px) {
  .admin-kpi-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .admin-health-strip { grid-template-columns: 1fr; }
  .admin-analytics-grid { grid-template-columns: 1fr; }
  .admin-user-title { flex-direction: column; }
  .admin-page .table-filters { justify-content: flex-start; }
}

@media (max-width: 760px) {
  .admin-page .admin-workspace { padding: 22px 14px 48px; }
  .admin-sidebar nav { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .admin-sidebar-note { position: static; margin-top: 18px; }
  .admin-toolbar-side { width: 100%; justify-items: stretch; }
  .admin-data-status { justify-content: flex-start; }
  .admin-data-notice { grid-template-columns: 1fr; }
  .admin-kpi-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .action-list article { grid-template-columns: 34px minmax(0,1fr); }
  .action-list article > span { grid-column: 2; }
  .admin-page .table-filters input,
  .admin-page .table-filters select,
  .admin-page .table-filters button { width: 100%; }
  .admin-password-change-form { grid-template-columns: 1fr; }
}

footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .hero,
  .result-layout,
  .dashboard-grid,
  .admin-grid,
  .design-panel {
    grid-template-columns: 1fr;
  }

  .problem-grid,
  .steps,
  .result-cards,
  .use-grid,
  .pricing-grid,
  .admin-metrics,
  .admin-stat-grid,
  .admin-alert-strip,
  .admin-data-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .featured-plan {
    transform: none;
  }
}

@media (max-width: 760px) {
  .menu-button {
    display: block;
  }

  .main-nav {
    position: absolute;
    left: 18px;
    right: 18px;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: flex;
  }

  .goal-row,
  .dashboard-top,
  .final-cta,
  footer {
    align-items: stretch;
    flex-direction: column;
  }

  .goal-row button,
  .goal-row input {
    width: 100%;
  }

  .problem-grid,
  .steps,
  .result-cards,
  .use-grid,
  .pricing-grid,
  .admin-metrics,
  .admin-stat-grid,
  .admin-alert-strip,
  .admin-data-grid,
  .analysis-grid {
    grid-template-columns: 1fr;
  }

  .personality-form {
    grid-template-columns: 1fr;
  }

  .admin-dashboard-page {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    height: auto;
  }

  .admin-toolbar,
  .admin-filters,
  .table-filters {
    flex-direction: column;
    align-items: stretch;
  }

  h1 {
    font-size: 42px;
  }

  .section-band {
    padding-block: 54px;
  }
}

.home-page {
  --app-bg: #10162c;
  --app-panel: #17224a;
  --app-card: #1d2b5c;
  --app-line: rgba(255, 255, 255, 0.08);
  --app-text: #f7faf8;
  --app-muted: rgba(247, 250, 248, 0.62);
  --app-mint: #5b6a97;
  --app-warm: #c07f8d;
  min-height: 100vh;
  background: #181a1b;
  color: var(--app-text);
}

.home-page .site-header,
.home-page main,
.home-page footer {
  width: min(100%, 420px);
  margin-inline: auto;
  background: var(--app-bg);
}

.home-page .site-header {
  min-height: 62px;
  padding: 12px 14px 8px;
  border-bottom: 0;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

.home-page main {
  min-height: 100vh;
  padding-bottom: 86px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04), 0 26px 80px rgba(0, 0, 0, 0.42);
}

.home-page .brand-logo {
  width: 132px;
  filter: brightness(1.35) saturate(1.16) drop-shadow(0 0 12px rgba(107, 122, 166, 0.18));
}

.home-page .menu-button {
  display: block;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(107, 122, 166, 0.24);
  background: rgba(237, 242, 255, 0.92);
  box-shadow: 0 8px 18px rgba(107, 122, 166, 0.12);
}

.home-page .menu-button span {
  width: 16px;
  height: 2px;
  background: var(--blue);
  border-radius: 999px;
}

.home-page .main-nav {
  position: absolute;
  left: 14px;
  right: 14px;
  top: 58px;
  display: none;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  padding: 14px;
  color: var(--app-text);
  background: rgba(16, 19, 19, 0.98);
  border: 1px solid var(--app-line);
  border-radius: 18px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.48);
}

.home-page .main-nav.open {
  display: flex;
}

.home-page .main-nav a {
  padding: 11px 12px;
  border-radius: 12px;
}

.home-page .main-nav a {
  color: rgba(255, 255, 255, 0.82);
}

.home-page .section-band {
  padding: 18px 12px 28px;
}

.account-storage-pending body {
  visibility: hidden;
}

.home-page [data-page-view][hidden] {
  display: none !important;
}

.home-page[data-page-view="app"] #appTour,
.home-page[data-page-view="trial"] #designFlow,
.home-page[data-page-view="pricing"] #pricing,
.home-page[data-page-view="pricing"] .final-cta {
  animation: home-view-enter 240ms ease-out both;
}

@keyframes home-view-enter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.home-page .hero {
  display: block;
  min-height: auto;
  padding-top: 6px;
  border-bottom: 0;
  text-align: left;
}

.home-page .hero-copy,
.home-page .section-heading {
  max-width: none;
}

.home-page .problem-grid::-webkit-scrollbar,
.home-page .steps::-webkit-scrollbar,
.home-page .result-cards::-webkit-scrollbar,
.home-page .use-grid::-webkit-scrollbar,
.home-page .pricing-grid::-webkit-scrollbar {
  display: none;
}

.home-page .hero-poster {
  position: relative;
  display: grid;
  overflow: hidden;
  border-radius: 28px;
  /* Background, border and shadow are set in the pastel pass below. */
}

.home-page .hero-poster > * {
  position: relative;
  z-index: 2;
}

.home-page .hero-poster::after {
  position: absolute;
  inset: auto -24px -80px -24px;
  height: 230px;
  content: "";
  background: linear-gradient(0deg, rgba(107, 122, 166, 0.24), transparent);
  transform: rotate(-5deg);
}

.home-page .hero-poster span,
.home-page .eyebrow {
  color: var(--app-mint);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
}

.home-page .hero-poster h1,
.home-page h1 {
  max-width: 100%;
  margin: 10px 0 12px;
  color: var(--app-text);
  font-size: 36px;
  line-height: 1.05;
}

.home-page .hero-poster h1 span {
  display: block;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  white-space: nowrap;
}

.home-page .hero-poster h1 {
  font-size: clamp(32px, 9vw, 36px);
}

.home-page .hero-poster p,
.home-page .hero-text,
.home-page .section-heading p,
.home-page .goal-form p,
.home-page footer p {
  color: var(--app-muted);
  font-size: 13px;
  line-height: 1.65;
}

.home-page .hero-text strong {
  color: var(--routine-text);
  font-weight: 800;
}

.home-page .poster-companions {
  position: absolute;
  right: -8px;
  bottom: -6px;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  gap: 2px;
}

.home-page .poster-companions img {
  width: 118px;
  height: 118px;
  object-fit: contain;
  filter: drop-shadow(0 20px 24px rgba(0, 0, 0, 0.46));
}

.home-page .poster-companions img:nth-child(2) {
  width: 136px;
  height: 136px;
  margin-left: -54px;
}

.home-page .poster-companions img:nth-child(3) {
  width: 112px;
  height: 112px;
  margin-left: -48px;
}

.home-page .hero .eyebrow {
  margin-top: 16px;
}

.home-page .goal-form {
  margin-top: 14px;
  padding: 12px;
  background: var(--app-panel);
  border: 1px solid var(--app-line);
  border-radius: 20px;
  box-shadow: none;
}

.home-page .goal-form label {
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
}

.home-page .goal-row {
  gap: 8px;
  align-items: stretch;
  flex-direction: column;
}

.home-page .goal-row input,
.home-page .field-group input,
.home-page .field-group select,
.home-page .analysis-grid textarea {
  color: var(--app-text);
  background: #090b0b;
  border: 1px solid var(--app-line);
  border-radius: 14px;
}

.home-page .goal-row button,
.home-page .personality-form button,
.home-page .schedule-card button,
.home-page .pricing-grid a,
.home-page .final-cta a {
  color: #061110;
  background: var(--app-mint);
  border-radius: 14px;
}

.home-page .section-heading {
  margin-bottom: 14px;
}

.home-page h2 {
  color: var(--app-text);
  font-size: 19px;
  line-height: 1.25;
}

.home-page h3 {
  color: var(--app-text);
  font-size: 17px;
}

.home-page .design-flow,
.home-page .app-dashboard {
  background: var(--app-bg);
  color: var(--app-text);
  border-bottom: 0;
}

.home-page .design-panel,
.home-page .dashboard-shell,
.home-page .result-cards article,
.home-page .problem-grid article,
.home-page .steps article,
.home-page .use-grid article,
.home-page .pricing-grid article,
.home-page .paid-box,
.home-page .schedule-card,
.home-page .analysis-card {
  color: var(--app-text);
  background: var(--app-card);
  border: 1px solid var(--app-line);
  border-radius: 22px;
  box-shadow: none;
}

.home-page .design-panel,
.home-page .dashboard-shell {
  padding: 14px;
}

.home-page .design-panel,
.home-page .result-layout,
.home-page .dashboard-grid {
  grid-template-columns: 1fr;
}

.home-page .personality-form,
.home-page .analysis-grid {
  grid-template-columns: 1fr;
}

.home-page .field-group label,
.home-page .analysis-header span,
.home-page .analysis-grid span,
.home-page .result-cards span,
.home-page .dashboard-top span {
  color: var(--app-muted);
}

.home-page .form-note,
.home-page .analysis-grid p,
.home-page .use-grid p,
.home-page .problem-grid p,
.home-page .steps p,
.home-page .progress-block p,
.home-page .pricing-grid p {
  color: var(--app-muted);
}

.home-page .analysis-header strong,
.home-page .dashboard-top strong,
.home-page .pricing-grid h3 {
  color: var(--app-mint);
}

.home-page .analysis-grid article,
.home-page .progress-block {
  background: #0a0d0d;
  border: 1px solid var(--app-line);
  border-radius: 16px;
}

.home-page .ai-preview-card h3 {
  color: var(--app-mint);
}

.home-page .ai-preview-card ul {
  color: var(--app-muted);
}

.home-page .ai-preview-card p {
  background: rgba(107, 122, 166, 0.08);
}

.home-page .problem-grid,
.home-page .steps,
.home-page .result-cards,
.home-page .use-grid,
.home-page .pricing-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(178px, 72%);
  grid-template-columns: none;
  gap: 10px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
}

.home-page .problem-grid article,
.home-page .steps article,
.home-page .result-cards article,
.home-page .use-grid article,
.home-page .pricing-grid article {
  min-height: 178px;
  scroll-snap-align: start;
}

.home-page .problem-core {
  background: linear-gradient(145deg, #7185ac 0%, #8f8fb0 48%, #c49aa4 100%) !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
  box-shadow: 0 26px 54px rgba(91, 106, 151, 0.28) !important;
}

.home-page .steps span {
  color: var(--app-mint);
}

.home-page .result-layout {
  gap: 10px;
}

.home-page .paid-box {
  background:
    radial-gradient(circle at 20% 0%, rgba(107, 122, 166, 0.28), transparent 35%),
    #111515;
}

.home-page .paid-box a {
  color: #061110;
  background: var(--app-mint);
}

.home-page .dashboard-top {
  align-items: flex-start;
  flex-direction: column;
}

.home-page .dashboard-top button {
  width: 100%;
  color: var(--app-mint);
  background: transparent;
  border: 1px solid rgba(107, 122, 166, 0.5);
}

.home-page .progress-track {
  background: rgba(255, 255, 255, 0.1);
}

.home-page .progress-track span {
  background: linear-gradient(90deg, var(--app-mint), var(--red));
}

.home-page .schedule-card label {
  color: rgba(255, 255, 255, 0.78);
}

.home-page .use-grid article {
  border-left: 0;
}

.home-page .featured-plan {
  transform: none;
  background:
    linear-gradient(155deg, rgba(107, 122, 166, 0.18), rgba(21, 25, 25, 1)) !important;
  border-color: rgba(107, 122, 166, 0.62) !important;
  box-shadow: 0 18px 52px rgba(107, 122, 166, 0.12) !important;
}

.home-page .plan-badge {
  top: 12px;
  right: 12px;
  left: auto;
  transform: none;
  color: #061110;
  background: var(--app-warm);
}

.home-page .final-cta {
  display: block;
  background:
    radial-gradient(circle at top right, rgba(107, 122, 166, 0.3), transparent 36%),
    #101313;
  border-top: 1px solid var(--app-line);
}

.home-page .final-cta .eyebrow {
  color: var(--app-mint);
}

.home-page .hero-poster {
  min-height: 470px;
}

.home-page .hero-poster h1 {
  font-size: clamp(44px, 13vw, 72px);
}

.home-page .hero-poster p {
  max-width: 210px;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.55;
}

.home-page .poster-companions {
  right: -12px;
  bottom: -10px;
}

.home-page .poster-companions img {
  width: min(52vw, 230px);
  height: min(52vw, 230px);
}

.home-page .hero-text {
  font-size: 16px;
}

.home-page .hero-text strong {
  color: var(--app-mint);
}

.quick-use-cases {
  padding-top: 4px;
}

.quick-use-cases .use-grid {
  grid-auto-columns: minmax(122px, 38%);
}

.quick-use-cases .use-grid article {
  min-height: 104px;
  padding: 0;
  background: #ffffff;
  border-color: rgba(107, 122, 166, 0.14);
  box-shadow: 0 14px 30px rgba(107, 122, 166, 0.08);
  overflow: hidden;
}

.quick-use-cases .use-grid article:has(button:focus-visible) {
  outline: 3px solid rgba(111, 157, 139, 0.28);
  outline-offset: 3px;
}

.quick-use-cases .use-grid button {
  display: grid;
  width: 100%;
  min-height: 104px;
  padding: 16px;
  align-content: start;
  gap: 6px;
  color: inherit;
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.quick-use-cases .use-grid button > span {
  margin-top: auto;
  color: #6f9d8b;
  font-size: 10px;
  font-weight: 900;
  opacity: 0.72;
  transform: translateY(0);
  transition: opacity 160ms ease, transform 160ms ease;
}

.quick-use-cases .use-grid article:hover button > span,
.quick-use-cases .use-grid button:focus-visible > span {
  opacity: 1;
  transform: translateX(2px);
}

.quick-use-cases .use-grid h3 {
  color: var(--routine-text);
  font-size: 18px;
}

.quick-use-cases .use-grid p {
  color: var(--routine-muted);
  font-size: 12px;
}

.home-page .problem .section-heading p {
  display: none;
}

.home-page .problem-grid article {
  display: grid;
  align-content: space-between;
  min-height: 184px;
  padding: 20px;
}

.home-page .problem-grid article > span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  background: rgba(244, 244, 244, 0.08);
  border-radius: 16px;
  font-size: 25px;
}

.home-page .problem-grid h3 {
  margin: 20px 0 0;
  font-size: 20px;
  line-height: 1.38;
}

.home-page .problem-core {
  grid-template-columns: 76px minmax(0, 1fr);
  align-items: center;
  align-content: center;
  gap: 14px;
}

.home-page .problem-core img {
  width: 76px;
  height: 76px;
}

.home-page .problem-core p {
  margin: 0;
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.5;
}

.home-page .product-pillars {
  padding-top: 26px;
  padding-bottom: 32px;
  background: #f4f4f4;
}

.home-page .product-pillars .eyebrow,
.home-page .product-pillars h2 {
  color: var(--routine-text);
}

.home-page .pillar-grid {
  display: grid;
  gap: 14px;
}

.home-page .pillar-grid article {
  min-height: 232px;
  padding: 24px;
  background: #ffffff;
  border-color: rgba(107, 122, 166, 0.16);
  box-shadow: 0 18px 42px rgba(107, 122, 166, 0.1);
}

.home-page .pillar-grid span {
  width: 58px;
  height: 58px;
  font-size: 30px;
}

.home-page .pillar-grid small {
  color: var(--app-mint);
  font-size: 12px;
}

.home-page .pillar-grid h3 {
  max-width: 260px;
  color: var(--routine-text);
  font-size: 24px;
  line-height: 1.3;
}

.story-flow {
  background: var(--app-bg);
}

.journey-lane {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(138px, 44%);
  gap: 10px;
  margin-bottom: 16px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
}

.journey-lane::before {
  position: absolute;
  top: 24px;
  right: 24px;
  left: 24px;
  height: 2px;
  content: "";
  background: linear-gradient(var(--app-mint), var(--app-warm));
}

.journey-lane span {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 112px;
  align-content: end;
  padding: 44px 14px 14px;
  color: var(--app-text);
  background: var(--app-card);
  border: 1px solid var(--app-line);
  border-radius: 16px;
  font-weight: 900;
  scroll-snap-align: start;
}

.journey-lane span::before {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 18px;
  height: 18px;
  content: "";
  background: var(--app-mint);
  border: 4px solid var(--app-bg);
  border-radius: 50%;
}

.first-meeting-panel {
  display: grid;
  gap: 12px;
}

.ollie-goal-card,
.app-plan-preview {
  display: grid;
  gap: 12px;
}

.ollie-message {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px;
  background: #090b0b;
  border: 1px solid var(--app-line);
  border-radius: 18px;
}

.ollie-message img {
  width: 72px;
  height: 72px;
}

.ollie-message span,
.ollie-chat-preview span,
.today-plan-card span,
.tomorrow-card span {
  color: var(--app-mint);
  font-size: 12px;
  font-weight: 900;
}

.ollie-message p,
.ollie-chat-preview p {
  margin: 4px 0 0;
  color: var(--app-text);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.35;
}

.ollie-goal-card input,
.ollie-goal-card select,
.compact-fields label {
  width: 100%;
}

.ollie-goal-card > #currentState,
.ollie-goal-card > #currentRoutine,
.ollie-goal-card > #routineTime {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.compact-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.compact-fields label {
  display: grid;
  gap: 6px;
  color: var(--app-muted);
  font-size: 12px;
  font-weight: 800;
}

.personality-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 12px;
  background: #f8faff;
  border: 1px solid var(--routine-line);
  border-radius: 18px;
}

.profile-intro {
  grid-column: 1 / -1;
}

.profile-intro span {
  display: block;
  color: var(--routine-green-dark);
  font-size: 12px;
  font-weight: 950;
}

.profile-intro p {
  margin: 4px 0 0;
  color: var(--routine-muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.personality-fields label {
  display: grid;
  gap: 6px;
  color: var(--routine-muted);
  font-size: 12px;
  font-weight: 850;
}

.hidden-preview-list,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.app-plan-preview {
  background: #ffffff !important;
  color: var(--routine-text) !important;
}

.app-plan-preview .analysis-header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.app-plan-preview .analysis-header span {
  color: var(--routine-muted);
}

.app-plan-preview .analysis-header strong {
  color: var(--app-mint);
}

.ollie-chat-preview,
.today-plan-card,
.tomorrow-card,
.compact-analysis article {
  padding: 14px;
  background: #f4f4f4 !important;
  border: 1px solid #dde1ec !important;
  border-radius: 18px !important;
}

.ollie-chat-preview p,
.today-plan-card strong,
.tomorrow-card strong {
  color: var(--routine-text);
}

.today-plan-card {
  display: grid;
  gap: 8px;
}

.today-plan-card strong {
  font-size: 24px;
  line-height: 1.2;
}

.today-plan-card p,
.compact-analysis p {
  margin: 0;
  color: var(--routine-muted) !important;
}

.today-plan-card a {
  justify-self: start;
  padding: 10px 16px;
  color: #ffffff;
  background: var(--app-mint);
  border-radius: 12px;
  font-weight: 900;
}

.tomorrow-card strong {
  display: block;
  margin-top: 5px;
  font-size: 16px;
  line-height: 1.35;
}

.compact-analysis {
  display: grid;
  gap: 10px;
}

.execution-preview-shell {
  display: grid;
  gap: 14px;
  background: #ffffff !important;
  color: var(--routine-text) !important;
}

.execution-preview-shell .dashboard-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 86px;
  align-items: center;
}

.execution-preview-shell .dashboard-top span {
  color: var(--routine-muted);
}

.execution-preview-shell .dashboard-top strong {
  color: var(--routine-text);
  font-size: 26px;
  line-height: 1.2;
}

.execution-preview-shell .dashboard-top img {
  width: 86px;
  height: 86px;
}

.focus-preview-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  background: #f4f4f4;
  border: 1px solid #dde1ec;
  border-radius: 20px;
}

.focus-preview-card span {
  color: var(--app-mint);
  font-size: 12px;
  font-weight: 900;
}

.focus-preview-card p {
  margin: 0;
  color: var(--routine-text);
  font-size: 24px;
  font-weight: 900;
}

.focus-preview-card button {
  min-height: 46px;
  color: #ffffff;
  background: var(--app-mint);
  border: 0;
  border-radius: 14px;
  font: inherit;
  font-weight: 900;
}

.execution-preview-shell .progress-block {
  background: #f4f4f4;
  border-color: #dde1ec;
}

.execution-preview-shell .progress-label span,
.execution-preview-shell .progress-block p {
  color: var(--routine-muted);
}

.execution-preview-shell .progress-label strong {
  color: var(--app-mint);
}

.execution-preview-shell .execution-link {
  display: grid;
  min-height: 48px;
  place-items: center;
  color: #ffffff;
  background: var(--app-mint);
  border-radius: 14px;
  font-weight: 900;
}

.home-page .pricing-offers {
  max-width: 760px;
}

.home-page .pricing-option {
  gap: 14px;
}

.home-page .pricing-option > strong {
  color: var(--routine-text);
  font-size: 28px;
  line-height: 1;
}

.home-page .pricing-option.selected > strong {
  color: var(--app-mint);
}

.pricing-benefits {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.pricing-benefits li {
  position: relative;
  padding-left: 24px;
  color: var(--routine-text);
  font-weight: 850;
}

.pricing-benefits li::before {
  position: absolute;
  left: 0;
  color: var(--app-mint);
  content: "✓";
  font-weight: 950;
}

@media (min-width: 760px) {
  .home-page .section-band {
    padding-inline: 32px;
  }

  .home-page .hero-poster {
    min-height: 560px;
    padding: 44px;
  }

  .home-page .hero-poster p {
    max-width: 360px;
    font-size: 24px;
  }

  .quick-use-cases .use-grid,
  .home-page .problem-grid,
  .home-page .pillar-grid {
    grid-auto-flow: initial;
    grid-auto-columns: initial;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
  }

  .quick-use-cases .use-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .home-page .problem-core {
    grid-column: 1 / -1;
  }

  .journey-lane {
    grid-auto-flow: initial;
    grid-auto-columns: initial;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    overflow: visible;
  }

  .journey-lane::before {
    top: 24px;
    right: 24px;
    bottom: auto;
    left: 24px;
    width: auto;
    height: 2px;
  }

  .journey-lane span {
    min-height: 116px;
    padding: 46px 16px 16px;
  }

  .journey-lane span::before {
    top: 15px;
    left: 18px;
  }

  .first-meeting-panel {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: stretch;
  }

  .home-page .pricing-offers {
    grid-template-columns: 1fr 1.1fr;
  }

  .home-page .coupon-strip {
    grid-column: 1 / -1;
  }
}

.home-page footer {
  display: block;
  padding: 26px 14px 100px;
  color: var(--app-muted);
  border-top: 1px solid var(--app-line);
}

.bottom-tabbar {
  position: fixed;
  right: 50%;
  bottom: 14px;
  z-index: 20;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  width: min(260px, calc(100vw - 64px));
  min-height: 46px;
  padding: 6px;
  background: rgba(20, 23, 23, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.48);
  transform: translateX(50%);
  backdrop-filter: blur(18px);
}

.bottom-tabbar a {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: rgba(255, 255, 255, 0.62);
  border-radius: 50%;
  font-size: 15px;
  font-weight: 900;
}

.bottom-tabbar a.active {
  color: #061110;
  background: var(--app-mint);
}

@media (min-width: 720px) {
  .home-page .site-header,
  .home-page main,
  .home-page footer {
    width: 430px;
  }
}

.execution-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  grid-column: 1 / -1;
  min-height: 48px;
  color: #061110;
  background: var(--app-mint);
  border-radius: 14px;
  font-weight: 900;
}

.execution-page {
  --app-bg: #10162c;
  --app-panel: #17224a;
  --app-card: #1d2b5c;
  --app-line: rgba(255, 255, 255, 0.08);
  --app-text: #f7faf8;
  --app-muted: rgba(247, 250, 248, 0.62);
  --app-mint: #5b6a97;
  --app-warm: #c07f8d;
  margin: 0;
  min-height: 100vh;
  color: var(--app-text);
  background: #181a1b;
}

.execution-header,
.execution-app {
  width: min(100%, 430px);
  margin-inline: auto;
  background: var(--app-bg);
}

.execution-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  padding: 12px 14px 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

.execution-header .brand-logo {
  width: 132px;
  filter: brightness(1.35) saturate(1.16) drop-shadow(0 0 12px rgba(107, 122, 166, 0.18));
}

.ghost-link,
.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  color: var(--app-mint);
  background: rgba(107, 122, 166, 0.08);
  border: 1px solid rgba(107, 122, 166, 0.22);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.execution-app {
  display: grid;
  gap: 12px;
  min-height: 100vh;
  padding: 10px 12px 96px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04), 0 26px 80px rgba(0, 0, 0, 0.42);
}

.execution-hero,
.execution-card {
  border: 1px solid var(--app-line);
  border-radius: 24px;
  background: var(--app-card);
}

.execution-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 86px;
  gap: 12px;
  align-items: center;
  min-height: 230px;
  padding: 22px;
  background:
    radial-gradient(circle at 18% 14%, rgba(107, 122, 166, 0.42), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(201, 141, 153, 0.32), transparent 28%),
    linear-gradient(155deg, #17201d 0%, #071111 58%, #020303 100%);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.5);
}

.execution-hero h1 {
  margin: 8px 0 12px;
  color: var(--app-text);
  font-size: 31px;
  line-height: 1.08;
}

.execution-hero p,
.execution-card p,
.weekly-plan p {
  margin: 0;
  color: var(--app-muted);
  line-height: 1.6;
}

.execution-gauge {
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  align-content: center;
  border: 1px solid rgba(107, 122, 166, 0.38);
  border-radius: 50%;
  background: rgba(5, 6, 6, 0.58);
  box-shadow: inset 0 0 22px rgba(107, 122, 166, 0.16);
}

.execution-gauge strong {
  color: var(--app-mint);
  font-size: 22px;
}

.execution-gauge span {
  color: var(--app-muted);
  font-size: 11px;
  font-weight: 900;
}

.execution-card {
  padding: 16px;
}

.plan-editor-card {
  display: grid;
  gap: 12px;
}

.plan-editor-label {
  color: var(--app-muted);
  font-size: 12px;
  font-weight: 900;
}

.plan-editor {
  width: 100%;
  min-height: 170px;
  padding: 14px;
  color: var(--app-text);
  background: #0a0d0d;
  border: 1px solid var(--app-line);
  border-radius: 18px;
  resize: vertical;
  line-height: 1.55;
}

.plan-revision-request {
  min-height: 112px;
}

.plan-editor-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.primary-action {
  color: #061110;
  background: var(--app-mint);
}

#planEditorMessage {
  padding: 12px;
  background: rgba(107, 122, 166, 0.08);
  border-radius: 16px;
}

.card-title.compact {
  align-items: flex-start;
  margin-bottom: 14px;
}

.card-title.compact h2 {
  color: var(--app-text);
  font-size: 18px;
}

.card-title.compact span {
  color: var(--app-muted);
}

.card-title.compact strong,
.soft-badge {
  color: #061110;
  background: var(--app-warm);
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.execution-progress-track {
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.1);
}

.execution-progress-track span {
  background: linear-gradient(90deg, var(--app-mint), var(--red));
}

.companion-run-body {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.companion-run-body img {
  width: 118px;
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.34));
}

.companion-run-body strong {
  display: block;
  margin-bottom: 8px;
  color: var(--app-mint);
  font-size: 19px;
}

.execution-theme-picker {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  overflow-x: auto;
}

.execution-theme-button {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 14px;
  color: var(--app-muted);
  background: var(--app-panel);
  border: 1px solid var(--app-line);
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
}

.execution-theme-button.active {
  color: #061110;
  background: var(--app-mint);
  border-color: var(--app-mint);
}

.execution-checklist {
  display: grid;
  gap: 10px;
}

.execution-checklist label {
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 58px;
  padding: 12px;
  color: var(--app-text);
  background: #0a0d0d;
  border: 1px solid var(--app-line);
  border-radius: 18px;
}

.execution-checklist input {
  width: 20px;
  height: 20px;
  accent-color: var(--app-mint);
}

.execution-checklist strong {
  display: block;
  color: var(--app-mint);
  font-size: 12px;
}

.schedule-calendar-card {
  display: grid;
  gap: 12px;
}

.calendar-weekdays,
.schedule-calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 7px;
}

.calendar-weekdays span {
  color: var(--app-muted);
  font-size: 11px;
  font-weight: 900;
  text-align: center;
}

.calendar-day {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 54px;
  padding: 8px 4px;
  overflow: hidden;
  color: var(--app-text);
  background: #0a0d0d;
  border: 1px solid var(--app-line);
  border-radius: 14px;
  cursor: pointer;
}

.calendar-day::before {
  position: absolute;
  inset: auto 0 0;
  height: var(--day-progress);
  content: "";
  background: rgba(107, 122, 166, 0.22);
}

.calendar-day strong,
.calendar-day span {
  position: relative;
  z-index: 1;
}

.calendar-day strong {
  font-size: 13px;
}

.calendar-day span {
  color: var(--app-muted);
  font-size: 10px;
  font-weight: 900;
}

.calendar-day.partial {
  border-color: rgba(246, 204, 102, 0.44);
}

.calendar-day.done {
  color: #061110;
  background: var(--app-mint);
  border-color: var(--app-mint);
}

.calendar-day.done span {
  color: rgba(6, 17, 16, 0.72);
}

.calendar-day.selected {
  outline: 2px solid var(--app-warm);
  outline-offset: 2px;
}

.weekly-plan {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.weekly-plan li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 4px 12px;
  padding: 12px;
  background: #0a0d0d;
  border: 1px solid var(--app-line);
  border-radius: 18px;
}

.weekly-plan li span {
  grid-row: span 2;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #061110;
  background: var(--app-mint);
  border-radius: 14px;
  font-weight: 900;
}

.weekly-plan strong {
  color: var(--app-text);
}

.coach-card {
  background:
    radial-gradient(circle at top right, rgba(107, 122, 166, 0.28), transparent 34%),
    var(--app-card);
}

.coach-card h2 {
  margin: 8px 0 12px;
  color: var(--app-text);
  font-size: 22px;
}

.execution-tabbar {
  position: fixed;
  right: 50%;
  bottom: 14px;
  z-index: 20;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  width: min(260px, calc(100vw - 64px));
  min-height: 46px;
  padding: 6px;
  background: rgba(20, 23, 23, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.48);
  transform: translateX(50%);
  backdrop-filter: blur(18px);
}

.execution-tabbar a {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: rgba(255, 255, 255, 0.62);
  border-radius: 50%;
  font-size: 15px;
  font-weight: 900;
}

.execution-tabbar a.active {
  color: #061110;
  background: var(--app-mint);
}

@media (max-width: 380px) {
  .execution-hero {
    grid-template-columns: 1fr;
  }

  .companion-run-body {
    grid-template-columns: 1fr;
  }

  .plan-editor-actions {
    grid-template-columns: 1fr;
  }

  .calendar-day {
    min-height: 48px;
    border-radius: 12px;
  }
}

.home-page .site-header,
.home-page main,
.home-page footer,
.execution-header,
.execution-app {
  background: transparent;
}

.home-page main,
.execution-app {
  padding-bottom: 158px;
}

.home-page .site-header,
.execution-header {
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(221, 225, 236, 0.92);
  box-shadow: 0 16px 34px rgba(107, 122, 166, 0.08);
  backdrop-filter: blur(16px);
}

.home-page .brand-logo,
.execution-header .brand-logo {
  filter: none;
}

.home-page .main-nav,
.bottom-tabbar,
.execution-tabbar {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(221, 225, 236, 0.98);
  box-shadow: 0 16px 44px rgba(107, 122, 166, 0.12);
}

.home-page .main-nav a,
.bottom-tabbar a,
.execution-tabbar a {
  color: var(--routine-muted);
}

.bottom-tabbar a.active,
.execution-tabbar a.active {
  color: #ffffff;
  background: var(--routine-green);
}

.home-page .main-nav a.active,
.home-page .main-nav a[aria-current="page"] {
  color: #ffffff;
  background: linear-gradient(135deg, var(--routine-green), #8494ba);
  box-shadow: 0 8px 18px rgba(107, 122, 166, 0.24);
}

.home-page .goal-row button,
.home-page .personality-form button,
.home-page .schedule-card button,
.home-page .final-cta a,
.primary-action,
.execution-theme-button.active {
  color: #ffffff;
  background: linear-gradient(135deg, var(--routine-green), #8494ba);
  border-color: transparent;
  box-shadow: 0 12px 28px rgba(107, 122, 166, 0.22);
}

.home-page .hero-poster {
  color: var(--routine-text);
  background:
    radial-gradient(130% 120% at 100% 100%, rgba(240, 220, 227, 0.66) 0%, rgba(240, 220, 227, 0) 52%),
    radial-gradient(120% 120% at 0% 0%, rgba(219, 228, 242, 0.85) 0%, rgba(219, 228, 242, 0) 55%),
    linear-gradient(155deg, #eaf0f8 0%, #ece9f2 52%, #f5eaee 100%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 30px 60px rgba(91, 106, 151, 0.18);
  backdrop-filter: blur(6px);
}

.home-page .hero-poster::after {
  background: transparent;
}

.home-page .hero-poster h1,
.home-page h1,
.home-page h2,
.home-page h3,
.execution-hero h1,
.card-title.compact h2,
.weekly-plan strong,
.coach-card h2 {
  color: var(--routine-text);
}

.home-page .hero-poster p,
.home-page .hero-text,
.home-page .section-heading p,
.home-page .goal-form p,
.home-page footer p,
.home-page .field-group label,
.home-page .analysis-grid p,
.home-page .use-grid p,
.home-page .problem-grid p,
.home-page .steps p,
.home-page .progress-block p,
.execution-hero p,
.execution-card p,
.weekly-plan p,
.card-title.compact span,
.plan-editor-label,
.calendar-weekdays span {
  color: var(--routine-muted);
}

.home-page .goal-form,
.home-page .design-panel,
.home-page .dashboard-shell,
.home-page .result-cards article,
.home-page .problem-grid article,
.home-page .steps article,
.home-page .use-grid article,
.home-page .paid-box,
.home-page .schedule-card,
.home-page .analysis-card,
.execution-card,
.execution-hero {
  background: rgba(255, 255, 255, 0.94);
  border-color: var(--routine-line);
  box-shadow: 0 18px 44px rgba(107, 122, 166, 0.1);
}

.home-page .goal-row input,
.home-page .field-group input,
.home-page .field-group select,
.home-page .analysis-grid textarea,
.plan-editor,
.execution-checklist label,
.weekly-plan li,
.calendar-day,
.execution-theme-button {
  color: var(--routine-text);
  background: #ffffff;
  border-color: var(--routine-line);
}

.home-page .goal-row input:focus,
.home-page .field-group input:focus,
.home-page .field-group select:focus,
.home-page .analysis-grid textarea:focus,
.plan-editor:focus {
  outline: 2px solid rgba(107, 122, 166, 0.28);
  border-color: var(--routine-green);
}

.execution-app {
  box-shadow: none;
}

.execution-hero {
  background:
    radial-gradient(circle at 82% 22%, rgba(201, 141, 153, 0.18), transparent 28%),
    linear-gradient(180deg, #edf2ff 0%, #f4f4f4 100%);
}

.execution-gauge {
  background: #ffffff;
  border-color: rgba(107, 122, 166, 0.34);
  box-shadow: inset 0 0 0 8px rgba(107, 122, 166, 0.08);
}

.execution-gauge strong,
.execution-checklist strong,
.companion-run-body strong,
.home-page .eyebrow,
.calendar-day.done span {
  color: var(--routine-green-dark);
}

.execution-progress-track,
.home-page .progress-track {
  background: #e7eaf3;
}

.execution-progress-track span,
.home-page .progress-track span {
  background: linear-gradient(90deg, var(--routine-green), var(--red));
}

.soft-badge,
.card-title.compact strong {
  color: var(--routine-green-dark);
  background: #edf2ff;
}

#planEditorMessage,
.routine-insight-card {
  background: linear-gradient(180deg, #edf2ff 0%, #ffffff 100%);
}

.routine-cue-list {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.routine-cue-list span {
  display: grid;
  min-height: 44px;
  place-items: center;
  padding: 8px;
  color: var(--routine-green-dark);
  background: #edf2ff;
  border: 1px solid #d7def8;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.calendar-day::before {
  background: rgba(107, 122, 166, 0.18);
}

.calendar-day.partial {
  border-color: rgba(201, 141, 153, 0.45);
}

.calendar-day.done {
  color: #ffffff;
  background: var(--routine-green);
  border-color: var(--routine-green);
}

.calendar-day.done strong,
.calendar-day.done span,
.calendar-day.selected strong {
  color: inherit;
}

.calendar-day.selected {
  outline-color: rgba(201, 141, 153, 0.62);
}

.weekly-plan li span {
  color: #ffffff;
  background: var(--routine-green);
}

.coach-card {
  background:
    radial-gradient(circle at top right, rgba(237, 242, 255, 0.9), transparent 34%),
    #ffffff;
}

.pricing-offers {
  display: grid;
  gap: 14px;
  width: min(100%, 430px);
  margin-inline: auto;
}

.pricing-option {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 24px 18px 18px;
  background: #ffffff;
  border: 2px solid #dde1ec;
  border-radius: 28px;
  box-shadow: 0 18px 42px rgba(107, 122, 166, 0.1);
}

.pricing-option.selected {
  background: #edf2ff;
  border-color: var(--routine-green);
}

.pricing-option.muted {
  color: #8b949b;
  background: #fbfbfb;
}

.discount-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 88px;
  padding: 12px 14px;
  color: #ffffff;
  background: var(--red);
  border-radius: 0 26px 0 18px;
  font-size: 20px;
  font-weight: 950;
  text-align: center;
}

.pricing-option.muted .discount-badge {
  background: #b6bdc2;
}

.pricing-choice {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding-right: 76px;
}

.choice-dot {
  width: 22px;
  height: 22px;
  border: 3px solid #e0e5e2;
  border-radius: 50%;
}

.selected .choice-dot {
  border: 6px solid var(--routine-green);
}

.pricing-choice h3,
.pricing-choice p {
  margin: 0;
}

.pricing-choice h3 {
  font-size: 22px;
  line-height: 1.2;
}

.pricing-choice p {
  margin-top: 6px;
  color: var(--routine-muted);
  font-size: 13px;
  line-height: 1.45;
}

.pricing-choice > strong {
  font-size: 20px;
  white-space: nowrap;
}

.price-breakdown {
  display: grid;
  gap: 10px;
  padding-top: 4px;
}

.price-breakdown p {
  display: grid;
  grid-template-columns: minmax(92px, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  margin: 0;
  color: var(--routine-muted);
  font-weight: 900;
}

.price-breakdown em {
  padding: 2px 7px;
  color: #ffffff;
  background: #3b4247;
  border-radius: 6px;
  font-style: normal;
  font-size: 12px;
}

.price-breakdown .highlight {
  color: var(--routine-green);
}

.price-breakdown .highlight em {
  background: var(--routine-green);
}

.price-breakdown del {
  color: #9aa3aa;
  font-size: 18px;
}

.price-breakdown strong {
  font-size: 18px;
}

.final-price {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 12px;
  align-items: end;
  padding-top: 14px;
  border-top: 1px solid var(--routine-line);
}

.final-price span {
  font-weight: 950;
}

.final-price strong {
  font-size: 28px;
  line-height: 1;
}

.final-price small {
  grid-column: 2;
  color: var(--routine-muted);
  font-weight: 800;
}

.coupon-strip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 58px;
  padding: 12px 16px;
  color: #121525;
  background:
    linear-gradient(115deg, transparent 0 72%, rgba(107, 122, 166, 0.12) 72% 80%, transparent 80%),
    #f4f4f4;
  border-radius: 18px;
  box-shadow: 0 14px 32px rgba(107, 122, 166, 0.14);
}

.coupon-strip span {
  padding: 6px 10px;
  color: #ffffff;
  background: var(--red);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 950;
  transform: rotate(-5deg);
}

.coupon-strip strong,
.coupon-strip b {
  font-size: 17px;
}

.app-payment-cta {
  bottom: 72px;
  grid-template-columns: 1fr;
  width: min(220px, calc(100vw - 132px));
  min-height: 42px;
  padding: 8px 14px;
  background: rgba(107, 122, 166, 0.96);
}

.app-payment-cta span {
  font-size: 13px;
}

.app-payment-cta strong {
  display: none;
}

.diagnosis-stepper {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 4px;
}

.diagnosis-stepper span {
  min-width: 0;
  padding: 8px 6px;
  color: var(--routine-muted);
  background: #f4f4f4;
  border: 1px solid var(--routine-line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.diagnosis-stepper span.active,
.diagnosis-stepper span.done {
  color: #ffffff;
  background: var(--routine-green);
  border-color: var(--routine-green);
}

.diagnosis-step {
  display: none;
  gap: 12px;
  grid-template-columns: 1fr;
}

.diagnosis-step.active {
  display: grid;
}

.diagnosis-controls {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
}

.diagnosis-controls #aiPreviewButton {
  grid-column: 1 / -1;
}

.diagnosis-controls #diagnosisBackButton {
  color: var(--routine-green-dark);
  background: #edf2ff;
  border-color: var(--routine-line);
  box-shadow: none;
}

.text-button:disabled,
.revision-quick-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
  box-shadow: none;
}

.field-group label span {
  display: inline-flex;
  margin-left: 4px;
  padding: 2px 6px;
  color: var(--routine-green-dark);
  background: #edf2ff;
  border-radius: 999px;
  font-size: 10px;
}

.privacy-note {
  margin: 0;
  padding: 12px;
  color: var(--routine-muted);
  background: #f4f4f4;
  border: 1px solid var(--routine-line);
  border-radius: 14px;
  font-size: 12px;
  line-height: 1.5;
}

.today-card {
  border-color: rgba(107, 122, 166, 0.42);
}

.minimum-action {
  display: block;
  margin-top: 4px;
  color: var(--routine-muted);
  font-size: 11px;
  font-weight: 800;
}

.plan-preview-list {
  display: grid;
  gap: 9px;
}

.plan-preview-list article {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 3px 10px;
  padding: 12px;
  background: #ffffff;
  border: 1px solid var(--routine-line);
  border-radius: 16px;
}

.plan-preview-list article > span {
  grid-row: span 2;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #ffffff;
  background: var(--routine-green);
  border-radius: 13px;
  font-size: 12px;
  font-weight: 950;
}

.plan-preview-list strong {
  color: var(--routine-text);
  font-size: 14px;
  line-height: 1.35;
}

.plan-preview-list p {
  margin: 0;
  color: var(--routine-muted);
  font-size: 12px;
  line-height: 1.45;
}

.revision-quick-actions {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.revision-quick-actions button {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 0 12px;
  color: var(--routine-green-dark);
  background: #edf2ff;
  border: 1px solid #d7def8;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.simple-pricing p {
  grid-template-columns: minmax(92px, 1fr) auto;
}

@media (max-width: 430px) {
  .pricing-choice {
    grid-template-columns: 24px minmax(0, 1fr);
    padding-right: 70px;
  }

  .pricing-choice > strong {
    grid-column: 2;
    font-size: 18px;
  }

  .routine-cue-list {
    grid-template-columns: 1fr;
  }

  .app-payment-cta {
    width: min(210px, calc(100vw - 126px));
  }
}

/* Canonical companion-brand tokens (single source of truth for the landing). */
.home-page,
.execution-page {
  --routine-bg: #eef1f7;
  --routine-panel: rgba(255, 255, 255, 0.72);
  --routine-soft: #e9eef7;
  --routine-sky: #eef0f7;
  --routine-yellow: #c07f8d;
  --routine-green: #5b6a97;
  --routine-green-dark: #47547d;
  --routine-line: #e4e6ef;
  --routine-text: #2a3145;
  --routine-muted: #737a8c;
  color: var(--routine-text);
  background: transparent;
}

.execution-hero {
  min-height: 150px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.companion-home-card {
  position: relative;
  display: grid;
  gap: 14px;
  min-height: 330px;
  padding: 18px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(237, 242, 255, 0.88) 0%, rgba(255, 255, 255, 0.96) 58%),
    #ffffff;
  border: 1px solid var(--routine-line);
  border-radius: 28px;
  box-shadow: 0 20px 48px rgba(107, 122, 166, 0.12);
}

.companion-world {
  position: relative;
  display: grid;
  min-height: 210px;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 100%, rgba(107, 122, 166, 0.14), transparent 40%),
    linear-gradient(180deg, #edf2ff 0%, #ffffff 100%);
  border: 1px solid rgba(221, 225, 236, 0.8);
  border-radius: 24px;
}

.world-sky span {
  position: absolute;
  display: block;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
}

.world-sky span:nth-child(1) {
  top: 24px;
  left: 24px;
  width: 76px;
  height: 28px;
}

.world-sky span:nth-child(2) {
  top: 42px;
  right: 28px;
  width: 54px;
  height: 22px;
}

.world-sky span:nth-child(3) {
  right: 42px;
  bottom: 26px;
  width: 128px;
  height: 18px;
  background: rgba(107, 122, 166, 0.13);
}

.companion-world img {
  position: relative;
  z-index: 1;
  width: 158px;
  height: 158px;
  object-fit: contain;
  animation: buddy-breathe 3.2s ease-in-out infinite;
  filter: drop-shadow(0 16px 20px rgba(107, 122, 166, 0.18));
}

.companion-speech {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  z-index: 2;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(221, 225, 236, 0.94);
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(107, 122, 166, 0.1);
  backdrop-filter: blur(10px);
}

.companion-speech strong {
  display: block;
  color: var(--routine-text);
  font-size: 15px;
  line-height: 1.35;
}

.companion-speech p {
  margin: 4px 0 0;
  color: var(--routine-muted);
  font-size: 12px;
  line-height: 1.45;
}

.companion-speech.is-reacting {
  animation: speech-react 1.5s ease;
}

@keyframes speech-react {
  0% {
    transform: translateY(10px) scale(0.94);
    box-shadow: 0 0 0 0 rgba(91, 106, 151, 0.45);
  }
  22% {
    transform: translateY(-3px) scale(1.03);
  }
  45% {
    transform: translateY(0) scale(1);
    box-shadow: 0 0 0 7px rgba(91, 106, 151, 0.18);
  }
  100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 0 0 0 rgba(91, 106, 151, 0);
  }
}

.companion-home-meta,
.companion-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.companion-home-meta div,
.companion-stats span {
  padding: 11px 12px;
  background: var(--routine-soft);
  border: 1px solid var(--routine-line);
  border-radius: 16px;
}

.companion-home-meta span,
.companion-stats span {
  color: var(--routine-muted);
  font-size: 11px;
  font-weight: 900;
}

.companion-home-meta strong,
.companion-stats strong {
  display: block;
  margin-top: 4px;
  color: var(--routine-text);
  font-size: 16px;
}

.companion-xp {
  height: 10px;
  overflow: hidden;
  background: #dde1ec;
  border-radius: 999px;
}

.companion-xp span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--routine-green), var(--red));
  border-radius: inherit;
  transition: width 240ms ease;
}

.companion-primary-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.companion-primary-actions button,
.focus-start-button,
.focus-adjust-link,
.chat-send-button,
.mate-actions button,
.focus-mode-actions button {
  min-height: 46px;
  padding: 10px 14px;
  color: var(--routine-green-dark);
  background: #ffffff;
  border: 1px solid var(--routine-line);
  border-radius: 15px;
  font-size: 14px;
  font-weight: 950;
  cursor: pointer;
}

.focus-start-button,
.chat-send-button,
.focus-mode-actions .primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--routine-green), #8494ba);
  border-color: transparent;
  box-shadow: 0 12px 22px rgba(107, 122, 166, 0.22);
}

.companion-primary-actions button,
.focus-adjust-link,
.mate-actions button {
  color: var(--routine-green-dark);
  background: var(--routine-soft);
  border-color: rgba(107, 122, 166, 0.22);
  box-shadow: none;
}

.focus-adjust-link {
  min-height: 36px;
  padding: 0;
  background: transparent;
  border: 0;
  color: var(--routine-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.companion-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.companion-actions button {
  min-height: 42px;
  padding: 8px 10px;
  color: var(--routine-green-dark);
  background: #ffffff;
  border: 1px solid var(--routine-line);
  border-radius: 15px;
  font-size: 12px;
  font-weight: 900;
}

.companion-actions button:first-child {
  background: #edf2ff;
  border-color: rgba(107, 122, 166, 0.28);
}

.focus-task-card {
  display: grid;
  gap: 14px;
  background:
    linear-gradient(135deg, #fff0f2 0%, #ffffff 68%),
    #ffffff;
  border-color: rgba(201, 141, 153, 0.28);
}

.focus-task-copy span,
.sheet-title-row span,
.chat-input-label span {
  color: var(--routine-green-dark);
  font-size: 12px;
  font-weight: 950;
}

.focus-task-copy h2 {
  margin: 5px 0 6px;
  color: var(--routine-text);
  font-size: 22px;
  line-height: 1.24;
}

.focus-task-copy p,
.focus-task-goal span,
.chat-response {
  margin: 0;
  color: var(--routine-muted);
  font-size: 13px;
  line-height: 1.5;
}

.focus-task-goal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--routine-line);
  border-radius: 16px;
}

.focus-task-goal strong {
  color: var(--routine-text);
  font-size: 13px;
}

.mate-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.companion-world img.is-celebrating {
  animation: buddy-celebrate 760ms ease both;
}

.sheet-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(20, 32, 30, 0.36);
  backdrop-filter: blur(5px);
}

[hidden] {
  display: none !important;
}

body.sheet-open {
  overflow: hidden;
}

.companion-chat-sheet,
.focus-mode {
  position: fixed;
  right: max(12px, calc((100vw - 420px) / 2 + 12px));
  left: max(12px, calc((100vw - 420px) / 2 + 12px));
  z-index: 90;
  background: #ffffff;
  border: 1px solid var(--routine-line);
  box-shadow: 0 -22px 70px rgba(107, 122, 166, 0.24);
}

.companion-chat-sheet {
  bottom: 12px;
  display: grid;
  gap: 14px;
  max-height: calc(100vh - 28px);
  padding: 12px 16px 18px;
  overflow-y: auto;
  border-radius: 24px;
}

.sheet-handle {
  width: 42px;
  height: 5px;
  margin-inline: auto;
  background: #dce4e1;
  border-radius: 999px;
}

.sheet-title-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.sheet-title-row h2 {
  margin: 3px 0 0;
  color: var(--routine-text);
  font-size: 20px;
}

.sheet-title-row button,
.focus-mode > button {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  color: var(--routine-muted);
  background: var(--routine-soft);
  border: 1px solid var(--routine-line);
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
}

.energy-options,
.quick-adjustments {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.quick-adjustments {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.energy-options button,
.quick-adjustments button {
  min-height: 40px;
  color: var(--routine-green-dark);
  background: var(--routine-soft);
  border: 1px solid var(--routine-line);
  border-radius: 14px;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.energy-options button.active,
.quick-adjustments button:hover {
  color: #ffffff;
  background: var(--routine-green);
  border-color: var(--routine-green);
}

.chat-input-label {
  display: grid;
  gap: 8px;
}

.chat-input-label textarea {
  width: 100%;
  min-height: 106px;
  resize: vertical;
  padding: 12px;
  color: var(--routine-text);
  background: #f8fbfa;
  border: 1px solid var(--routine-line);
  border-radius: 16px;
  font: inherit;
}

.focus-mode {
  top: 50%;
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 22px 18px;
  border-radius: 28px;
  transform: translateY(-50%);
  text-align: center;
}

.focus-mode > button {
  justify-self: end;
}

.focus-mode img {
  width: 112px;
  height: 112px;
  object-fit: contain;
  filter: drop-shadow(0 16px 20px rgba(107, 122, 166, 0.18));
}

#focusTimer {
  color: var(--routine-green-dark);
  font-size: 44px;
  font-weight: 950;
  line-height: 1;
}

.focus-mode h2 {
  margin: 0;
  color: var(--routine-text);
  font-size: 23px;
}

.focus-mode p {
  margin: 0;
  color: var(--routine-muted);
  font-size: 13px;
}

.focus-mode-actions {
  display: grid;
  width: 100%;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.sheet-open .execution-tabbar {
  pointer-events: none;
}

.app-toast {
  position: fixed;
  left: 50%;
  bottom: 110px;
  z-index: 110;
  pointer-events: none;
  width: min(360px, calc(100vw - 28px));
  padding: 12px 14px;
  color: #ffffff;
  background: rgba(18, 21, 37, 0.94);
  border-radius: 16px;
  opacity: 0;
  transform: translate(-50%, 14px);
  transition: opacity 180ms ease, transform 180ms ease;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.app-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.companion-run-card {
  box-shadow: none;
}

.companion-run-body img {
  width: 106px;
  filter: drop-shadow(0 14px 18px rgba(107, 122, 166, 0.16));
}

.companion-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 14px;
}

.journey-map {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.journey-map::before {
  position: absolute;
  top: 19px;
  right: 8%;
  left: 8%;
  height: 3px;
  content: "";
  background: #dfe8e5;
  border-radius: 999px;
}

.journey-map span {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 72px;
  gap: 8px;
  align-content: start;
  justify-items: center;
  color: var(--routine-muted);
  font-size: 11px;
  font-weight: 900;
  text-align: center;
}

.journey-map span::before {
  display: block;
  width: 40px;
  height: 40px;
  content: "";
  background: #ffffff;
  border: 3px solid #dfe8e5;
  border-radius: 50%;
}

.journey-map span.done::before {
  background: var(--routine-green);
  border-color: var(--routine-green);
  box-shadow: 0 8px 20px rgba(107, 122, 166, 0.22);
}

.journey-map span.current {
  color: var(--routine-green-dark);
}

.journey-map span.current::before {
  outline: 4px solid rgba(107, 122, 166, 0.16);
}

.memory-list {
  display: grid;
  gap: 10px;
}

.memory-list article {
  padding: 13px 14px;
  color: var(--routine-text);
  background: #fff0f2;
  border: 1px solid rgba(201, 141, 153, 0.24);
  border-radius: 16px;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.45;
}

.home-page .poster-companions {
  justify-content: center;
}

.home-page .poster-companions img {
  width: 170px;
  height: 170px;
}

.home-page .poster-companions img:nth-child(1) {
  margin: 0;
}

.product-pillars {
  background: transparent;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.pillar-grid article {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 210px;
  padding: 20px;
  background: #ffffff;
  border: 1px solid var(--routine-line);
  border-radius: 22px;
  box-shadow: 0 16px 36px rgba(107, 122, 166, 0.08);
}

.pillar-grid span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  background: #edf2ff;
  border-radius: 16px;
  font-size: 24px;
}

.pillar-grid small {
  color: var(--routine-green-dark);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.pillar-grid h3 {
  margin: 0;
  color: var(--routine-text);
  font-size: 19px;
  line-height: 1.28;
}

.pillar-grid p {
  margin: 0;
  color: var(--routine-muted);
  line-height: 1.55;
}

.pillar-grid strong {
  color: var(--routine-green-dark);
  font-weight: 800;
}

.execution-message-recovered {
  color: var(--routine-green-dark);
}

@keyframes buddy-breathe {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-4px) scale(1.015);
  }
}

@keyframes buddy-celebrate {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  35% {
    transform: translateY(-14px) rotate(-5deg) scale(1.06);
  }

  70% {
    transform: translateY(-6px) rotate(5deg) scale(1.03);
  }
}

@media (max-width: 430px) {
  .companion-home-card {
    min-height: 318px;
    padding: 14px;
  }

  .companion-world {
    min-height: 198px;
  }

  .companion-world img {
    width: 146px;
    height: 146px;
  }

  .companion-actions {
    grid-template-columns: 1fr;
  }

  .companion-primary-actions,
  .mate-actions,
  .energy-options,
  .quick-adjustments,
  .focus-mode-actions {
    grid-template-columns: 1fr;
  }

  .companion-stats {
    grid-template-columns: 1fr;
  }

  .journey-map {
    gap: 5px;
  }

  .journey-map span {
    font-size: 10px;
  }

  .journey-map span::before {
    width: 34px;
    height: 34px;
  }

  .pillar-grid {
    grid-template-columns: 1fr;
  }
}

/* Landing story final overrides */
.home-page .hero-poster {
  min-height: 500px;
}

.home-page .poster-companions {
  right: -18px;
  bottom: -18px;
  justify-content: flex-end;
}

.home-page .poster-companions img {
  width: min(58vw, 250px);
  height: min(58vw, 250px);
}

.home-page .problem-grid article > span,
.home-page .pillar-grid span {
  flex: none;
}

.home-page .first-meeting-panel .analysis-card,
.home-page .execution-preview-shell {
  box-shadow: 0 18px 44px rgba(107, 122, 166, 0.12);
}

.home-page .ollie-goal-card input,
.home-page .ollie-goal-card select {
  min-height: 48px;
  padding: 0 14px;
  color: var(--routine-text);
  background: #ffffff;
  border: 1px solid var(--routine-line);
  border-radius: 14px;
  font: inherit;
  font-weight: 800;
}

.home-page .ollie-goal-card > button {
  min-height: 50px;
  color: #ffffff;
  background: var(--routine-green);
  border: 0;
}

.home-page .ollie-chat-preview p,
.home-page .tomorrow-card strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
}

.home-page .ollie-chat-preview p {
  -webkit-line-clamp: 2;
}

.home-page .tomorrow-card strong {
  -webkit-line-clamp: 2;
}

@media (min-width: 760px) {
  .home-page .hero-poster {
    min-height: 620px;
  }

  .home-page .poster-companions img {
    width: 340px;
    height: 340px;
  }
}

/* Soft Journey visual pass: calmer AI coach, expressive only where it matters. */
.execution-page {
  --font-display: clamp(28px, 7vw, 34px);
  --font-title: 22px;
  --font-card-title: 18px;
  --font-body: 15px;
  --font-caption: 13px;
  --soft-bg: #f4f4f4;
  --soft-surface: rgba(255, 255, 255, 0.88);
  --soft-surface-solid: #ffffff;
  --soft-border: #dde1ec;
  --soft-text: #121525;
  --soft-muted: #646a7c;
  --soft-faint: #9aa3b5;
  --soft-primary: #5b6a97;
  --soft-primary-dark: #47547d;
  --soft-primary-soft: #edf2ff;
  --soft-sky: #c07f8d;
  --soft-sky-soft: #fff0f2;
  --soft-accent: #c07f8d;
  --soft-accent-soft: #fff0f2;
  color: var(--soft-text);
  background:
    radial-gradient(circle at 12% 2%, rgba(107, 122, 166, 0.16), transparent 31%),
    radial-gradient(circle at 88% 18%, rgba(201, 141, 153, 0.13), transparent 28%),
    var(--soft-bg);
}

.execution-header,
.execution-app {
  background: transparent;
  box-shadow: none;
}

.execution-header {
  min-height: 58px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.62);
  background: rgba(244, 244, 244, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.execution-header .brand-logo {
  filter: none;
}

.ghost-link,
.text-button {
  min-height: 34px;
  color: var(--soft-primary-dark);
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--soft-border);
  border-radius: 14px;
  font-weight: 700;
}

.execution-app {
  gap: 10px;
  padding: 8px 12px 90px;
}

.execution-hero,
.companion-home-card,
.focus-task-card {
  border: 1px solid rgba(255, 255, 255, 0.76);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(237, 242, 255, 0.9)),
    var(--soft-surface-solid);
  box-shadow: 0 18px 45px rgba(107, 122, 166, 0.09);
}

.execution-hero {
  grid-template-columns: minmax(0, 1fr) 96px;
  min-height: 132px;
  padding: 20px;
  border-radius: 30px;
}

.execution-hero .eyebrow {
  color: var(--soft-primary-dark);
  font-size: 12px;
  font-weight: 700;
}

.execution-hero h1 {
  margin: 6px 0 8px;
  color: var(--soft-text);
  font-size: var(--font-display);
  font-weight: 700;
  letter-spacing: 0;
}

.execution-hero p,
.execution-card p,
.weekly-plan p {
  color: var(--soft-muted);
  font-size: var(--font-caption);
}

.execution-gauge {
  width: 90px;
  height: 90px;
  border-color: rgba(107, 122, 166, 0.24);
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.92), rgba(237, 242, 255, 0.75));
  box-shadow: inset 0 0 0 7px rgba(107, 122, 166, 0.07);
}

.execution-gauge strong {
  color: var(--soft-primary-dark);
  font-size: 28px;
  font-weight: 700;
}

.execution-gauge span {
  color: var(--soft-muted);
  font-weight: 600;
}

.execution-card {
  padding: 16px;
  color: var(--soft-text);
  background: var(--soft-surface);
  border: 1px solid var(--soft-border);
  border-radius: 18px;
  box-shadow: none;
}

.companion-home-card {
  min-height: 304px;
  overflow: visible;
  border-radius: 30px;
}

.companion-world {
  min-height: 192px;
  overflow: visible;
  background:
    radial-gradient(circle at 50% 70%, rgba(107, 122, 166, 0.13), transparent 32%),
    linear-gradient(180deg, rgba(237, 242, 255, 0.82) 0%, rgba(255, 255, 255, 0.78) 100%);
  border-color: rgba(255, 255, 255, 0.82);
  border-radius: 26px;
}

.companion-world::before {
  position: absolute;
  right: 18%;
  bottom: 22px;
  left: 18%;
  height: 30px;
  content: "";
  background: linear-gradient(90deg, rgba(107, 122, 166, 0.08), rgba(201, 141, 153, 0.14));
  border-radius: 50%;
}

.companion-world::after {
  position: absolute;
  right: 44px;
  bottom: 48px;
  width: 116px;
  height: 18px;
  content: "";
  background: rgba(107, 122, 166, 0.1);
  border-radius: 999px;
  transform: rotate(-6deg);
}

.companion-world img {
  width: 166px;
  height: 166px;
  margin-top: -16px;
  margin-bottom: -8px;
  z-index: 2;
  filter: drop-shadow(0 18px 22px rgba(107, 122, 166, 0.18));
}

.companion-speech,
.companion-chat-sheet,
.focus-mode {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 38px rgba(107, 122, 166, 0.1);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.companion-speech strong,
.focus-task-copy h2,
.card-title.compact h2,
.weekly-plan strong {
  color: var(--soft-text);
  font-weight: 700;
}

.companion-speech p,
.companion-home-meta span,
.companion-stats span,
.focus-task-copy p,
.focus-task-goal span,
.card-title.compact span {
  color: var(--soft-muted);
  font-weight: 500;
}

.companion-home-meta div,
.companion-stats span {
  background: rgba(255, 255, 255, 0.58);
  border-color: var(--soft-border);
  border-radius: 16px;
}

.companion-home-meta strong,
.companion-stats strong {
  color: var(--soft-text);
  font-weight: 700;
}

.companion-xp,
.execution-progress-track {
  position: relative;
  height: 8px;
  background: #dde1ec;
  border-radius: 999px;
}

.companion-xp span,
.execution-progress-track span {
  background: linear-gradient(90deg, var(--soft-primary), var(--soft-sky));
}

.execution-progress-track::before {
  position: absolute;
  inset: -3px auto auto calc(var(--journey-dot, 42%) - 5px);
  width: 14px;
  height: 14px;
  content: "";
  background: var(--soft-primary);
  border: 3px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 6px 14px rgba(107, 122, 166, 0.24);
}

.focus-task-card {
  grid-template-columns: minmax(0, 1fr) 94px;
  gap: 12px;
  align-items: stretch;
  border-radius: 30px;
}

.focus-start-button,
.focus-adjust-link {
  grid-column: 1 / -1;
}

.focus-task-goal {
  display: grid;
  grid-column: 2;
  grid-row: 1;
  align-content: center;
  min-height: 96px;
  background: rgba(255, 255, 255, 0.62);
  border-color: var(--soft-border);
  border-radius: 18px;
}

.focus-start-button,
.chat-send-button,
.focus-mode-actions .primary {
  min-height: 54px;
  border-radius: 17px;
  background: var(--soft-primary);
  box-shadow: 0 10px 24px rgba(107, 122, 166, 0.22);
  font-weight: 700;
}

.focus-start-button:active,
.chat-send-button:active,
.focus-mode-actions button:active {
  transform: scale(0.98);
}

.companion-primary-actions button,
.focus-adjust-link,
.mate-actions button,
.energy-options button,
.quick-adjustments button,
.focus-mode-actions button {
  border-radius: 15px;
  font-weight: 600;
}

.soft-badge {
  color: var(--soft-primary-dark);
  background: var(--soft-primary-soft);
  border-radius: 999px;
  font-weight: 600;
}

.plan-editor,
.chat-input-label textarea {
  color: var(--soft-text);
  background: rgba(255, 255, 255, 0.74);
  border-color: var(--soft-border);
  border-radius: 17px;
}

#planEditorMessage {
  color: var(--soft-primary-dark);
  background: var(--soft-primary-soft);
}

.execution-checklist {
  gap: 0;
}

.execution-checklist label,
.weekly-plan li {
  min-height: auto;
  padding: 16px 0;
  color: var(--soft-text);
  background: transparent;
  border: 0;
  border-bottom: 1px solid #dde1ec;
  border-radius: 0;
}

.execution-checklist label:last-child,
.weekly-plan li:last-child {
  border-bottom: 0;
}

.execution-checklist input {
  width: 26px;
  height: 26px;
  appearance: none;
  flex: 0 0 auto;
  border: 1.5px solid #cbd3e4;
  border-radius: 9px;
  background: #ffffff;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.execution-checklist input:checked {
  background:
    linear-gradient(135deg, transparent 42%, #ffffff 0 58%, transparent 0) 8px 10px / 8px 8px no-repeat,
    var(--soft-primary);
  border-color: var(--soft-primary);
  transform: scale(1.04);
}

.execution-checklist .task-content {
  display: grid;
  gap: 2px;
}

.execution-checklist strong {
  color: var(--soft-primary-dark);
  font-weight: 600;
}

.task-row.is-complete .task-content > span {
  color: var(--soft-faint);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(100, 106, 124, 0.42);
}

.minimum-action {
  color: var(--soft-faint);
  font-size: 12px;
}

.calendar-day {
  color: var(--soft-text);
  background: rgba(255, 255, 255, 0.78);
  border-color: var(--soft-border);
  border-radius: 13px;
}

.calendar-day::before {
  background: rgba(107, 122, 166, 0.16);
}

.calendar-day.done {
  color: #ffffff;
  background: var(--soft-primary);
  border-color: var(--soft-primary);
}

.weekly-plan li span {
  color: var(--soft-primary-dark);
  background: var(--soft-primary-soft);
  border-radius: 13px;
}

.coach-card {
  background:
    radial-gradient(circle at top right, rgba(145, 196, 227, 0.18), transparent 34%),
    var(--soft-surface);
}

.execution-tabbar {
  bottom: max(12px, env(safe-area-inset-bottom));
  width: min(calc(100% - 24px), 396px);
  min-height: 54px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 24px;
  box-shadow: 0 14px 36px rgba(107, 122, 166, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.execution-tabbar a {
  position: relative;
  color: var(--soft-muted);
  background: transparent;
  border-radius: 16px;
}

.execution-tabbar a.active {
  color: var(--soft-primary-dark);
  background: rgba(107, 122, 166, 0.11);
}

.execution-tabbar a.active::after {
  position: absolute;
  right: 50%;
  bottom: 4px;
  width: 4px;
  height: 4px;
  content: "";
  background: var(--soft-primary);
  border-radius: 50%;
  transform: translateX(50%);
}

.app-toast {
  display: grid;
  gap: 2px;
  width: min(340px, calc(100vw - 28px));
  padding: 13px 16px;
  color: #ffffff;
  background: rgba(18, 21, 37, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  box-shadow: 0 16px 35px rgba(18, 21, 37, 0.2);
  text-align: left;
}

.app-toast strong {
  font-size: 14px;
  font-weight: 700;
}

.app-toast strong::before {
  margin-right: 8px;
  content: "✓";
}

.app-toast span {
  padding-left: 22px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 500;
}

.recovery-card {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(235, 244, 249, 0.72)),
    var(--soft-surface);
}

.recovery-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.recovery-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.recovery-actions button {
  min-height: 42px;
  color: var(--soft-primary-dark);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--soft-border);
  border-radius: 15px;
  font-weight: 600;
  cursor: pointer;
}

.recovery-actions button:hover {
  color: #ffffff;
  background: var(--soft-primary);
  border-color: var(--soft-primary);
}

.plan-editor-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.plan-editor-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.proposal-summary {
  grid-column: 1 / -1;
  border-color: rgba(201, 141, 153, 0.28) !important;
  background: var(--soft-sky-soft) !important;
}

.proposal-summary span {
  color: var(--red);
}

.pattern-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.pattern-list article {
  padding: 13px 14px;
  color: var(--soft-text);
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid var(--soft-border);
  border-radius: 16px;
  font-size: 13px;
  line-height: 1.45;
}

.pro-badge {
  text-decoration: none;
}

.free-boundary {
  display: grid;
  gap: 8px;
  margin: 0 auto 16px;
  width: min(720px, 100%);
}

.free-boundary span {
  padding: 12px 14px;
  color: var(--soft-text, #121525);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--soft-border, #dde1ec);
  border-radius: 16px;
  font-size: 13px;
  font-weight: 700;
}

.home-page .brand-logo,
.execution-header .brand-logo {
  filter: hue-rotate(74deg) saturate(1.75) brightness(0.78);
}

/* Landing app-preview contrast pass */
.home-page .first-meeting-panel,
.home-page .ollie-goal-card,
.home-page .app-plan-preview,
.home-page .execution-preview-shell {
  color: var(--routine-text);
}

.home-page .story-flow .section-heading .eyebrow,
.home-page .app-dashboard .section-heading .eyebrow {
  color: #aeb9d6 !important;
}

.home-page .story-flow .section-heading h2,
.home-page .app-dashboard .section-heading h2 {
  color: #ffffff !important;
}

.home-page .ollie-goal-card {
  background: rgba(255, 255, 255, 0.96) !important;
  border-color: var(--routine-line) !important;
}

.home-page .ollie-message span,
.home-page .ollie-chat-preview span,
.home-page .today-plan-card span,
.home-page .tomorrow-card span,
.home-page .focus-preview-card span,
.home-page .compact-analysis span {
  color: var(--routine-green-dark);
}

.home-page .ollie-message span {
  color: #7d8cb4;
}

.home-page .ollie-message p {
  color: #ffffff !important;
  text-shadow: none;
}

.home-page .compact-fields label {
  color: var(--routine-muted) !important;
}

.home-page .personality-fields,
.home-page .profile-intro p,
.home-page .personality-fields label {
  color: var(--routine-muted) !important;
}

.home-page .profile-intro span {
  color: var(--routine-green-dark) !important;
}

.home-page .ollie-goal-card input,
.home-page .ollie-goal-card select,
.home-page .personality-fields input,
.home-page .personality-fields select,
.home-page .today-plan-card,
.home-page .tomorrow-card,
.home-page .ollie-chat-preview,
.home-page .focus-preview-card,
.home-page .execution-preview-shell .progress-block {
  color: var(--routine-text) !important;
  background: #ffffff !important;
  border-color: var(--routine-line) !important;
}

.home-page .ollie-goal-card input::placeholder {
  color: #7a8391;
}

.home-page .app-plan-preview .analysis-header span,
.home-page .today-plan-card p,
.home-page .execution-preview-shell .dashboard-top span,
.home-page .execution-preview-shell .progress-label span,
.home-page .execution-preview-shell .progress-block p {
  color: var(--routine-muted) !important;
}

.home-page .app-plan-preview .analysis-header strong,
.home-page .today-plan-card strong,
.home-page .tomorrow-card strong,
.home-page .execution-preview-shell .dashboard-top strong,
.home-page .execution-preview-shell .progress-label strong {
  color: var(--routine-text) !important;
}

.home-page .today-plan-card a,
.home-page .focus-preview-card button,
.home-page .execution-preview-shell .execution-link {
  color: #ffffff !important;
  background: var(--routine-green) !important;
}

.sheet-open .companion-chat-sheet,
.sheet-open .focus-mode {
  outline: none;
}

@media (max-width: 430px) {
  .recovery-actions,
  .plan-editor-actions {
    grid-template-columns: 1fr;
  }
}

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

@media (max-width: 380px) {
  .execution-hero,
  .focus-task-card {
    grid-template-columns: 1fr;
  }

  .focus-task-goal {
    grid-column: 1;
    grid-row: auto;
  }
}

/* Landing ratio pass: wide website on desktop, compact app-like flow on mobile. */
.home-page .site-header,
.home-page main,
.home-page footer {
  width: min(100%, 1120px);
  max-width: 1120px;
}

.home-page main {
  overflow: hidden;
}

.home-page .section-band {
  padding-inline: clamp(18px, 4vw, 54px);
}

.home-page .hero-poster {
  min-height: clamp(360px, 62vw, 480px);
  padding: clamp(24px, 6vw, 42px);
}

.home-page .hero {
  justify-items: stretch;
}

.home-page .hero-copy {
  width: 100%;
}

.home-page .hero-poster h1 {
  font-size: clamp(40px, 7.4vw, 60px);
}

.home-page .hero-poster p {
  max-width: 380px;
  font-size: clamp(16px, 2.4vw, 20px);
}

.home-page .poster-companions {
  right: clamp(12px, 2.4vw, 24px);
  bottom: clamp(12px, 2.4vw, 24px);
}

.home-page .poster-companions img {
  width: clamp(170px, 30vw, 240px);
  height: clamp(170px, 30vw, 240px);
}

.home-page .quick-use-cases .use-grid,
.home-page .problem-grid,
.home-page .journey-lane {
  grid-auto-flow: column;
  overflow-x: auto;
}

.home-page .quick-use-cases .use-grid {
  grid-auto-columns: minmax(122px, 38%);
  grid-template-columns: none;
}

.home-page .problem-grid {
  grid-auto-columns: minmax(220px, 72%);
  grid-template-columns: none;
}

.home-page .pillar-grid,
.home-page .first-meeting-panel,
.home-page .pricing-offers {
  grid-template-columns: 1fr;
}

.home-page .journey-lane {
  grid-auto-columns: minmax(138px, 44%);
  grid-template-columns: none;
}

.home-page .journey-lane::before {
  top: 24px;
  right: 24px;
  bottom: auto;
  left: 24px;
  width: auto;
  height: 2px;
}

.home-page .journey-lane span {
  min-height: 112px;
  padding: 44px 14px 14px;
}

.home-page .journey-lane span::before {
  top: 14px;
  left: 14px;
}

.home-page .coupon-strip {
  grid-column: auto;
}

@media (min-width: 760px) {
  .home-page .bottom-tabbar {
    display: none;
  }

  .home-page .site-header,
  .home-page main,
  .home-page footer {
    width: min(calc(100% - 48px), 1120px);
  }

  .home-page .site-header {
    padding-inline: 24px;
  }

  .home-page .quick-use-cases .use-grid {
    grid-auto-flow: initial;
    grid-auto-columns: initial;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    overflow: visible;
  }

  .home-page .problem-grid,
  .home-page .pillar-grid {
    grid-auto-flow: initial;
    grid-auto-columns: initial;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
  }

  .home-page .problem-core {
    grid-column: 1 / -1;
  }

  .home-page .journey-lane {
    grid-auto-flow: initial;
    grid-auto-columns: initial;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    overflow: visible;
  }

  .home-page .journey-lane span {
    min-height: 118px;
    padding: 46px 16px 16px;
  }

  .home-page .first-meeting-panel {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

  .home-page .pricing-offers {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    width: min(100%, 780px);
  }

  .home-page .coupon-strip {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  .home-page .hero-poster {
    min-height: 620px;
    padding: 58px;
  }

  .home-page .hero-poster h1 {
    font-size: clamp(72px, 7vw, 92px);
  }

  .home-page .hero-poster p {
    max-width: 420px;
    font-size: clamp(22px, 2.2vw, 27px);
  }

  .home-page .poster-companions img {
    width: clamp(320px, 34vw, 420px);
    height: clamp(320px, 34vw, 420px);
  }

  .home-page .hero-copy {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 24px;
    align-items: end;
  }

  .home-page .hero-poster {
    grid-column: 1 / -1;
  }

  .home-page .hero .eyebrow,
  .home-page .hero-text,
  .home-page .goal-form {
    grid-column: 2;
  }

  .home-page .goal-form {
    margin-top: -124px;
    z-index: 4;
  }
}

@media (max-width: 759px) {
  .home-page .site-header,
  .home-page main,
  .home-page footer {
    width: min(100%, 430px);
  }
}

/* Ollie account experience */
.execution-page .sheet-overlay {
  background: rgba(35, 49, 58, 0.42);
  backdrop-filter: blur(10px) saturate(115%);
}

.execution-page.account-auth-open #accountSheetOverlay { z-index: 145; }
.execution-page.account-auth-open #authSheet { z-index: 150; }

.execution-page .account-sheet {
  right: auto;
  bottom: max(14px, env(safe-area-inset-bottom));
  left: 50%;
  width: min(calc(100% - 24px), 448px);
  max-height: min(760px, calc(100dvh - 28px));
  gap: 0;
  padding: 0;
  overflow-x: hidden;
  color: #263a36;
  background: rgba(252, 253, 251, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 30px;
  box-shadow: 0 28px 80px rgba(46, 68, 63, 0.25), 0 4px 18px rgba(69, 88, 84, 0.08);
  transform: translateX(-50%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  letter-spacing: -0.018em;
}

.execution-page #authSheet::before {
  position: absolute;
  top: -100px;
  right: -70px;
  width: 250px;
  height: 250px;
  content: "";
  background: radial-gradient(circle, rgba(190, 221, 209, 0.55), rgba(224, 239, 232, 0) 68%);
  pointer-events: none;
}

.auth-sheet-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 118px;
  gap: 10px;
  min-height: 210px;
  padding: 30px 26px 20px;
  overflow: hidden;
  background: linear-gradient(145deg, #f2f8f4 0%, #f8f7f1 62%, #f6edf0 100%);
  border-bottom: 1px solid rgba(91, 122, 113, 0.08);
}

.auth-sheet-heading { position: relative; z-index: 2; align-self: center; }
.auth-sheet-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
  color: #668178;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.auth-sheet-kicker i { width: 7px; height: 7px; background: #82a899; border-radius: 50%; box-shadow: 0 0 0 5px rgba(130, 168, 153, 0.13); }
.execution-page .auth-sheet-heading h2 {
  margin: 0;
  color: #2e443e;
  font-family: "Jalnan", "Apple SD Gothic Neo", sans-serif;
  font-size: clamp(24px, 7vw, 31px);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.045em;
}
.execution-page .auth-sheet-copy { max-width: 250px; margin: 13px 0 0; color: #73837e; font-size: 13px; font-weight: 600; line-height: 1.58; word-break: keep-all; }

.auth-ollie-visual { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: center; min-width: 0; }
.auth-ollie-visual img { position: relative; z-index: 1; display: block; width: 126px; height: 150px; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 14px 16px rgba(74, 104, 93, 0.14)); }
.auth-ollie-visual span { position: absolute; top: 26px; left: -4px; z-index: 2; padding: 7px 10px; color: #607a71; background: rgba(255, 255, 255, 0.92); border: 1px solid rgba(114, 150, 137, 0.14); border-radius: 13px 13px 3px 13px; box-shadow: 0 7px 18px rgba(70, 98, 88, 0.09); font-size: 10px; font-weight: 800; white-space: nowrap; transform: rotate(-3deg); }

.account-sheet-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  display: grid;
  width: 34px;
  height: 34px;
  padding: 0;
  place-items: center;
  color: #72847e;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(93, 126, 115, 0.12);
  border-radius: 50%;
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease;
}
.account-sheet-close:hover { background: #fff; transform: rotate(4deg) scale(1.04); }
.account-sheet-close:focus-visible, .auth-provider:focus-visible { outline: 3px solid rgba(91, 136, 121, 0.28); outline-offset: 3px; }

.auth-provider-list { display: grid; gap: 10px; padding: 22px 24px 12px; }
.auth-provider {
  position: relative;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 18px;
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border-radius: 15px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease, filter 150ms ease;
}
.auth-provider:hover { transform: translateY(-1px); filter: brightness(0.985); }
.auth-provider:active { transform: translateY(0) scale(0.992); }
.auth-provider:disabled { cursor: not-allowed; filter: grayscale(.15); opacity: .58; transform: none; }
.auth-provider.is-loading .provider-arrow { width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; font-size: 0; opacity: .55; animation: auth-spin .7s linear infinite; }
.auth-provider .provider-mark { display: grid; width: 24px; height: 24px; place-items: center; justify-self: start; }
.auth-provider .provider-mark svg { display: block; width: 22px; height: 22px; }
.auth-provider .provider-arrow { justify-self: end; font-family: Arial, sans-serif; font-size: 24px; font-weight: 400; line-height: 1; opacity: 0.48; }
.auth-provider.kakao { color: rgba(0, 0, 0, 0.85); background: #fee500; border: 1px solid #fee500; box-shadow: 0 7px 16px rgba(181, 159, 0, 0.12); }
.auth-provider.kakao svg { fill: #191919; }
.auth-provider.naver { color: #fff; background: #03c75a; border: 1px solid #03c75a; box-shadow: 0 7px 16px rgba(3, 159, 75, 0.13); }
.auth-provider .naver-mark { color: #fff; font-family: Arial, sans-serif; font-size: 18px; font-weight: 900; letter-spacing: -0.12em; }
.auth-provider.google { color: #1f1f1f; background: #fff; border: 1px solid #747775; box-shadow: 0 6px 14px rgba(60, 64, 67, 0.08); }
.auth-provider.google { font-family: "Google Sans", Roboto, Arial, sans-serif; font-weight: 500; }
.auth-provider.apple { color: #fff; background: #000; border: 1px solid #000; box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12); }
.auth-provider.apple svg { fill: currentColor; }
.auth-provider-status { min-height: 18px; margin: 0; padding: 0 24px 8px; color: #9a4f5b; font-size: 11px; font-weight: 700; line-height: 1.45; text-align: center; }
@keyframes auth-spin { to { transform: rotate(360deg); } }

.auth-trust-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 4px 24px 12px; }
.auth-trust-list span { display: inline-flex; align-items: center; gap: 4px; padding: 6px 9px; color: #71847d; background: #f0f6f3; border-radius: 999px; font-size: 10px; font-weight: 700; }
.auth-trust-list span::before { content: "✓"; color: #6d9989; font-weight: 900; }
.admin-password-form { display: grid; gap: 11px; margin: 22px 24px 14px; padding: 18px; background: linear-gradient(145deg, #eef6f2, #f6f0f2); border: 1px solid rgba(103, 139, 126, 0.14); border-radius: 18px; }
.admin-password-form > div:first-child { display: grid; gap: 3px; }
.admin-password-form > div:first-child span { color: #719186; font-size: 8px; font-weight: 950; letter-spacing: .12em; }
.admin-password-form > div:first-child strong { color: #344a43; font-size: 15px; }
.admin-password-form > div:first-child small { color: #82908c; font-size: 9px; font-weight: 650; }
.admin-password-form > label { color: #61736d; font-size: 10px; font-weight: 800; }
.admin-password-control { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px; }
.admin-password-control input { min-width: 0; height: 44px; padding: 0 12px; color: #334942; background: #fff; border: 1px solid #d9e4df; border-radius: 12px; font: inherit; font-size: 13px; outline: 0; }
.admin-password-control input:focus { border-color: #7fa394; box-shadow: 0 0 0 3px rgba(127, 163, 148, .14); }
.admin-password-control button { min-height: 44px; padding: 0 13px; color: #fff; background: #688f81; border: 0; border-radius: 12px; font: inherit; font-size: 11px; font-weight: 850; cursor: pointer; }
.admin-password-control button:disabled { opacity: .6; cursor: wait; }
.admin-password-form > p { min-height: 14px; margin: 0; color: #b35e70; font-size: 9px; font-weight: 750; }
.execution-page .auth-sheet-terms { margin: 0; padding: 0 28px 22px; color: #929d99; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; font-size: 10px; font-weight: 500; line-height: 1.6; text-align: center; word-break: keep-all; }
.execution-page .auth-sheet-terms a { color: #667a73; text-underline-offset: 2px; }

/* Account drawer */
.execution-page .app-menu-backdrop { position: fixed; inset: 0; z-index: 68; background: rgba(31, 44, 51, 0.26); backdrop-filter: blur(5px); }
.execution-page .app-menu-drawer { position: fixed; top: 88px; right: max(14px, calc((100vw - 1120px) / 2)); z-index: 70; width: min(calc(100% - 28px), 342px); padding: 18px; color: #354943; background: rgba(253, 254, 252, 0.97); border: 1px solid rgba(255, 255, 255, 0.9); border-radius: 24px; box-shadow: 0 24px 64px rgba(54, 76, 70, 0.2); backdrop-filter: blur(20px); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; }
.drawer-guest { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 12px; align-items: center; }
.drawer-guest img { width: 58px; height: 66px; object-fit: contain; }
.drawer-guest strong, .drawer-member strong { display: block; color: #334942; font-size: 15px; }
.drawer-guest p { margin: 4px 0 0; color: #84918d; font-size: 11px; font-weight: 600; line-height: 1.45; }
.drawer-login-button { grid-column: 1 / -1; min-height: 43px; color: #fff; background: #688f81; border: 0; border-radius: 13px; font-size: 13px; font-weight: 800; cursor: pointer; }
.drawer-member { display: flex; gap: 12px; align-items: center; padding: 4px; }
.drawer-avatar { display: grid; width: 44px; height: 44px; flex: 0 0 auto; place-items: center; color: #52766a; background: linear-gradient(145deg, #dcece6, #f0e7ea); border-radius: 15px; font-size: 18px; font-weight: 800; }
.drawer-plan-badge { display: inline-block; margin-top: 5px; padding: 4px 7px; color: #698479; background: #edf5f1; border-radius: 999px; font-size: 9px; font-weight: 800; }
.drawer-plan-badge.pro { color: #8e6671; background: #f8e9ed; }
.drawer-nav { display: grid; gap: 5px; margin-top: 16px; padding-top: 12px; border-top: 1px solid #edf0ed; }
.drawer-nav a, .drawer-nav button { display: flex; align-items: center; width: 100%; min-height: 41px; padding: 0 11px; color: #596b65; background: transparent; border: 0; border-radius: 11px; font: inherit; font-size: 12px; font-weight: 700; text-align: left; cursor: pointer; }
.drawer-nav a:hover, .drawer-nav button:hover { background: #f0f5f2; }
.drawer-footnote { margin: 12px 0 0; color: #a0aaa6; font-size: 9px; text-align: center; }

/* My page shares the same calm Ollie surface */
.execution-page #myPageSheet { padding: 24px; }
.execution-page #myPageSheet > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.execution-page #myPageSheet > header span { color: #759187; font-size: 10px; font-weight: 900; letter-spacing: 0.08em; }
.execution-page #myPageSheet > header h2 { margin: 4px 0 0; color: #31463f; font-size: 25px; }
.execution-page #myPageSheet > header button { width: 34px; height: 34px; color: #72847e; background: #f1f5f3; border: 0; border-radius: 50%; font-size: 21px; cursor: pointer; }
.mypage-profile { display: flex; gap: 12px; align-items: center; padding: 15px; background: #f3f7f4; border-radius: 17px; }
.mypage-profile strong, .mypage-profile small { display: block; }
.mypage-profile strong { color: #344a43; font-size: 15px; }
.mypage-profile small { margin-top: 3px; color: #8a9692; font-size: 10px; }
.mypage-provider { display: inline-block; margin-top: 6px; color: #6f887f; font-size: 9px; font-weight: 800; }
.mypage-plan-card { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 12px; padding: 17px; background: linear-gradient(145deg, #eaf4ef, #f6eef0); border-radius: 18px; }
.mypage-plan-card span { color: #7b8e87; font-size: 9px; font-weight: 800; }
.mypage-plan-card strong { display: block; margin-top: 4px; color: #395149; font-size: 16px; }
.mypage-plan-card p { margin: 4px 0 0; color: #84928e; font-size: 9px; }
.mypage-plan-card button { flex: 0 0 auto; min-height: 43px; padding: 0 13px; color: #fff; background: #6c8e83; border: 0; border-radius: 13px; font-size: 11px; font-weight: 800; cursor: pointer; }
.mypage-plan-card button em { display: block; margin-top: 2px; font-size: 8px; font-style: normal; opacity: 0.75; }
.mypage-benefit-list { display: grid; gap: 8px; margin: 14px 0; padding: 0; list-style: none; }
.mypage-benefit-list li { color: #6f7f7a; font-size: 11px; font-weight: 650; }
.mypage-benefit-list li::before { margin-right: 8px; content: "✓"; color: #719989; font-weight: 900; }
.mypage-actions { display: flex; justify-content: flex-end; gap: 7px; }
.mypage-actions button { min-height: 36px; padding: 0 11px; color: #77857f; background: #f3f5f4; border: 0; border-radius: 10px; font-size: 10px; font-weight: 700; cursor: pointer; }
.mypage-legal-links { display:flex; flex-wrap:wrap; justify-content:center; gap:7px 12px; margin-top:14px; padding-top:12px; border-top:1px solid #edf0ed; }
.mypage-legal-links a { color:#75847f; font-size:10px; font-weight:700; text-underline-offset:3px; }
.mypage-legal-links a.danger { color:#a65c5c; }
.execution-page #myPageSheet .auth-sheet-terms { padding: 14px 4px 0; }

@media (max-width: 480px) {
  .execution-page .account-sheet { bottom: max(8px, env(safe-area-inset-bottom)); width: calc(100% - 16px); max-height: calc(100dvh - 16px); border-radius: 26px; }
  .auth-sheet-hero { grid-template-columns: minmax(0, 1fr) 96px; min-height: 190px; padding: 26px 20px 18px; }
  .auth-ollie-visual img { width: 108px; height: 132px; }
  .auth-ollie-visual span { top: 25px; left: -12px; font-size: 9px; }
  .execution-page .auth-sheet-heading h2 { font-size: 25px; }
  .execution-page .auth-sheet-copy { font-size: 12px; }
  .auth-provider-list { padding: 18px 18px 10px; }
  .auth-provider { min-height: 52px; border-radius: 14px; font-size: 14px; }
  .execution-page .auth-sheet-terms { padding: 0 20px 19px; }
  .execution-page .app-menu-drawer { top: 78px; right: 10px; width: calc(100% - 20px); }
  .mypage-plan-card { align-items: stretch; flex-direction: column; }
  .execution-page #myPageSheet { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .account-sheet-close,
  .auth-provider { transition: none; }
}

/* Keep the personality-design experience aligned with the bright landing palette. */
.home-page .story-flow {
  color: var(--routine-text);
  background:
    radial-gradient(80% 60% at 88% 4%, rgba(201, 141, 153, 0.14), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.5) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}

.home-page .story-flow .section-heading .eyebrow {
  color: var(--routine-green-dark) !important;
}

.home-page .story-flow .section-heading h2 {
  color: var(--routine-text) !important;
}

.home-page .story-flow .journey-lane::before {
  background: linear-gradient(90deg, rgba(107, 122, 166, 0.26), rgba(201, 141, 153, 0.24));
}

.home-page .story-flow .journey-lane span {
  color: var(--routine-text);
  background: rgba(255, 255, 255, 0.94);
  border-color: var(--routine-line);
  box-shadow: 0 12px 28px rgba(107, 122, 166, 0.08);
}

.home-page .story-flow .journey-lane span::before {
  background: var(--routine-green);
  border-color: #ffffff;
  box-shadow: 0 6px 16px rgba(107, 122, 166, 0.18);
}

.home-page .story-flow .design-panel {
  background: rgba(237, 242, 255, 0.72);
  border: 1px solid rgba(107, 122, 166, 0.12);
  box-shadow: 0 18px 44px rgba(107, 122, 166, 0.1);
}

.home-page .story-flow .ollie-goal-card,
.home-page .story-flow .app-plan-preview {
  background: rgba(255, 255, 255, 0.96) !important;
  border-color: var(--routine-line) !important;
  box-shadow: 0 14px 34px rgba(107, 122, 166, 0.08);
}

.home-page .story-flow .ollie-message {
  background:
    linear-gradient(135deg, rgba(237, 242, 255, 0.96), #ffffff) !important;
  border-color: rgba(107, 122, 166, 0.18) !important;
}

.home-page .story-flow .ollie-message img {
  padding: 6px;
  background: #ffffff;
  border: 1px solid rgba(107, 122, 166, 0.1);
  border-radius: 18px;
}

.home-page .story-flow .ollie-message span,
.home-page .story-flow .ollie-chat-preview span,
.home-page .story-flow .today-plan-card span,
.home-page .story-flow .tomorrow-card span,
.home-page .story-flow .compact-analysis span {
  color: var(--routine-green-dark) !important;
}

.home-page .story-flow .ollie-message p,
.home-page .story-flow .ollie-chat-preview p,
.home-page .story-flow .today-plan-card strong,
.home-page .story-flow .tomorrow-card strong {
  color: var(--routine-text) !important;
  text-shadow: none;
}

.home-page .story-flow .personality-fields,
.home-page .story-flow .ollie-chat-preview,
.home-page .story-flow .today-plan-card,
.home-page .story-flow .tomorrow-card,
.home-page .story-flow .compact-analysis article {
  background: #f8faff !important;
  border-color: rgba(107, 122, 166, 0.14) !important;
}

.home-page .story-flow .profile-intro p,
.home-page .story-flow .personality-fields label,
.home-page .story-flow .compact-fields label,
.home-page .story-flow .today-plan-card p,
.home-page .story-flow .compact-analysis p,
.home-page .story-flow .app-plan-preview .analysis-header span {
  color: var(--routine-muted) !important;
}

.home-page .story-flow input,
.home-page .story-flow select {
  color: var(--routine-text) !important;
  background: #ffffff !important;
  border-color: rgba(107, 122, 166, 0.18) !important;
}

.home-page .story-flow input:focus,
.home-page .story-flow select:focus {
  border-color: var(--routine-green) !important;
  box-shadow: 0 0 0 4px rgba(107, 122, 166, 0.12);
}

.home-page .story-flow #aiPreviewButton,
.home-page .story-flow .today-plan-card a {
  color: #ffffff !important;
  background: linear-gradient(135deg, var(--routine-green), #8494ba) !important;
  box-shadow: 0 12px 26px rgba(107, 122, 166, 0.2);
}

.home-page .story-flow .ollie-goal-card {
  gap: 14px;
}

.home-page .story-flow .compact-fields {
  gap: 12px;
  align-items: stretch;
}

.home-page .story-flow .compact-fields label,
.home-page .story-flow .personality-fields label {
  display: grid;
  align-content: start;
  gap: 7px;
  min-width: 0;
  min-height: 0;
  padding: 0;
  color: var(--routine-muted) !important;
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
}

.home-page .story-flow .personality-fields {
  gap: 12px;
  padding: 14px;
}

.home-page .story-flow .profile-intro {
  padding: 0 0 2px;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.home-page .story-flow .profile-intro span {
  color: var(--routine-green-dark) !important;
  line-height: 1.2;
}

.home-page .story-flow .profile-intro p {
  margin-top: 6px;
  line-height: 1.45;
}

.home-page .story-flow input,
.home-page .story-flow select {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 0 14px !important;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.2;
}

.home-page .story-flow select {
  padding-right: 34px;
  text-overflow: ellipsis;
}

.home-page .story-flow #designGoal {
  height: 52px;
  min-height: 52px;
  padding: 0 16px !important;
  font-size: 15px;
}

.home-page .story-flow #aiPreviewButton {
  box-sizing: border-box;
  height: 54px;
  min-height: 54px;
  padding: 0 18px !important;
  border-radius: 14px;
  line-height: 1.2;
}

@media (max-width: 759px) {
  .home-page .story-flow .compact-fields,
  .home-page .story-flow .personality-fields {
    grid-template-columns: 1fr;
  }

  .home-page .story-flow .profile-intro {
    grid-column: auto;
  }
}

/* Make the app preview feel like part of the same landing story. */
.home-page .app-dashboard {
  color: var(--routine-text);
  background:
    radial-gradient(70% 60% at 12% 6%, rgba(107, 122, 166, 0.12), transparent 60%),
    radial-gradient(70% 60% at 88% 94%, rgba(201, 141, 153, 0.12), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.28) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}

.home-page .app-dashboard .section-heading .eyebrow {
  color: var(--routine-green-dark) !important;
}

.home-page .app-dashboard .section-heading h2 {
  color: var(--routine-text) !important;
}

.home-page .execution-preview-shell {
  background: rgba(255, 255, 255, 0.96) !important;
  border: 1px solid rgba(107, 122, 166, 0.12);
  box-shadow: 0 20px 48px rgba(107, 122, 166, 0.12);
}

.home-page .execution-preview-shell .dashboard-top {
  padding: 18px;
  background: linear-gradient(135deg, rgba(237, 242, 255, 0.96), #ffffff);
  border: 1px solid rgba(107, 122, 166, 0.14);
  border-radius: 22px;
}

.home-page .execution-preview-shell .dashboard-top span,
.home-page .execution-preview-shell .progress-label span,
.home-page .execution-preview-shell .progress-block p {
  color: var(--routine-muted) !important;
}

.home-page .execution-preview-shell .dashboard-top strong,
.home-page .focus-preview-card p {
  color: var(--routine-text) !important;
}

.home-page .execution-preview-shell .dashboard-top img {
  padding: 6px;
  background: #ffffff;
  border: 1px solid rgba(107, 122, 166, 0.1);
  border-radius: 20px;
}

.home-page .focus-preview-card,
.home-page .execution-preview-shell .progress-block {
  background: #f8faff !important;
  border-color: rgba(107, 122, 166, 0.14) !important;
  box-shadow: none;
}

.home-page .focus-preview-card span,
.home-page .execution-preview-shell .progress-label strong {
  color: var(--routine-green-dark) !important;
}

.home-page .focus-preview-card button,
.home-page .execution-preview-shell .execution-link {
  color: #ffffff !important;
  background-color: var(--routine-green) !important;
  background-image: linear-gradient(135deg, var(--routine-green), #8494ba) !important;
  box-shadow: 0 12px 26px rgba(107, 122, 166, 0.2);
}

.home-page .execution-preview-shell .progress-track {
  background: rgba(107, 122, 166, 0.12);
}

.home-page .execution-preview-shell .progress-track span {
  background: linear-gradient(90deg, var(--routine-green), var(--red));
}

/* Finish the landing page with the same bright, calm brand palette. */
.home-page .final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--routine-text);
  background:
    radial-gradient(70% 80% at 88% 12%, rgba(201, 141, 153, 0.16), transparent 60%),
    radial-gradient(70% 80% at 10% 88%, rgba(107, 122, 166, 0.12), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.5) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.6);
}

.home-page .final-cta .eyebrow {
  color: var(--routine-green-dark) !important;
}

.home-page .final-cta h2 {
  color: var(--routine-text) !important;
}

.home-page .final-cta p {
  color: var(--routine-muted) !important;
}

.home-page .final-cta a {
  flex: 0 0 auto;
  color: #ffffff !important;
  background-color: var(--routine-green) !important;
  background-image: linear-gradient(135deg, var(--routine-green), #8494ba) !important;
  box-shadow: 0 14px 30px rgba(107, 122, 166, 0.22);
}

@media (max-width: 759px) {
  .home-page .final-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .home-page .final-cta a {
    width: 100%;
  }
}

/* =========================================================================
   Soft pastel redesign pass (blue → lavender → rose, frosted glass).
   Appended last so these surface treatments win over earlier landing layers.
   ========================================================================= */

/* Signature serif display for the hero headline. */
.home-page .hero-poster h1,
.home-page .hero-poster h1 span {
  font-family: "Jalnan", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Section titles use Jalnan (여기어때 잘난체). */
.home-page .section-heading h2 {
  font-family: "Jalnan", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* Frosted-glass cards floating on the pastel ambient background. */
.home-page .use-grid article,
.home-page .problem-grid article:not(.problem-core),
.home-page .pillar-grid article,
.home-page .analysis-card,
.home-page .pricing-option {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 22px 48px rgba(91, 106, 151, 0.14);
  backdrop-filter: blur(10px);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.home-page .use-grid article:hover,
.home-page .problem-grid article:not(.problem-core):hover,
.home-page .pillar-grid article:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px rgba(91, 106, 151, 0.2);
}

/* Muted rose/slate accents replace the old saturated red eyebrows. */
.home-page .eyebrow {
  color: #a4788a;
  letter-spacing: 0.14em;
}

/* Pricing highlight card echoes the quote-card gradient. */
.home-page .pricing-option.selected {
  background: linear-gradient(150deg, #6f83ab 0%, #8d8db0 52%, #c197a2 100%);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 28px 58px rgba(91, 106, 151, 0.26);
}

.home-page .pricing-option.selected h3,
.home-page .pricing-option.selected p,
.home-page .pricing-option.selected li,
.home-page .pricing-option.selected > strong {
  color: #ffffff;
}

.home-page .pricing-option.selected .discount-badge {
  color: #5b6a97;
  background: #ffffff;
}

/* Keep quote-card copy readable on the dark gradient fill. */
.home-page .problem-core p {
  color: #ffffff;
}

/* ============================================================
   Tabbed app shell — split the long execution scroll into
   focused views (오늘 / 계획 / 올리 / 기록) with a labeled tab bar.
   ============================================================ */
.execution-page .app-view {
  display: none;
}

.execution-page .app-view.is-active {
  display: grid;
  gap: 10px;
  animation: viewFade 0.28s ease;
}

@keyframes viewFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .execution-page .app-view.is-active {
    animation: none;
  }

  .ollie-star-shower span {
    animation-duration: 1ms;
    animation-delay: 0ms;
  }
}

/* Per-view heading shown at the top of secondary tabs */
.execution-page .view-head {
  padding: 6px 6px 2px;
}

.execution-page .view-head h1 {
  margin: 0;
  color: var(--soft-text);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.execution-page .view-head p {
  margin: 6px 0 0;
  color: var(--soft-muted);
  font-size: var(--font-caption);
  line-height: 1.55;
}

/* Inline link from the Today checklist over to the Plan tab */
.execution-page .view-jump-link {
  justify-self: start;
  margin-top: 2px;
  padding: 8px 14px;
  color: var(--soft-primary-dark);
  background: var(--soft-primary-soft);
  border: 1px solid var(--soft-border);
  border-radius: 12px;
  font-size: var(--font-caption);
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}

.execution-page .view-jump-link:hover {
  background: rgba(107, 122, 166, 0.16);
  transform: translateX(2px);
}

/* Labeled tab bar (icon + Korean label) replacing the icon-only dots */
.execution-page .execution-tabbar {
  display: flex;
  gap: 4px;
  width: min(calc(100% - 24px), 420px);
  padding: 6px;
  justify-content: space-between;
}

.execution-page .execution-tabbar .tab {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  gap: 2px;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 6px 4px;
  color: var(--soft-faint);
  background: transparent;
  border: none;
  border-radius: 14px;
  font-family: inherit;
  cursor: pointer;
  transition: color 0.18s ease, background 0.18s ease;
}

.execution-page .execution-tabbar .tab-icon {
  font-size: 17px;
  line-height: 1;
}

.execution-page .execution-tabbar .tab-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.execution-page .execution-tabbar .tab:hover {
  color: var(--soft-muted);
}

.execution-page .execution-tabbar .tab.active {
  color: var(--soft-primary-dark);
  background: rgba(107, 122, 166, 0.12);
}

.execution-page .execution-tabbar .tab.active .tab-icon {
  transform: translateY(-1px);
}

.execution-page .execution-tabbar .tab:focus-visible {
  outline: 2px solid var(--soft-primary);
  outline-offset: 2px;
}

/* 3D Ollie mascot integration */
.mascot-art,
.final-cta-mascot {
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.home-page .poster-companions {
  right: clamp(2px, 2vw, 20px);
  bottom: clamp(-26px, -2vw, -8px);
}

.home-page .poster-companions img.mascot-hero {
  width: clamp(210px, 34vw, 300px);
  height: clamp(285px, 46vw, 400px);
  filter: drop-shadow(0 24px 30px rgba(91, 106, 151, 0.25));
  animation: mascot-float 4.8s ease-in-out infinite;
}

.home-page .problem-core img.mascot-card {
  width: 82px;
  height: 108px;
  margin-block: -14px;
  object-fit: contain;
  filter: drop-shadow(0 12px 16px rgba(20, 28, 52, 0.3));
}

.home-page .problem-core {
  grid-template-columns: 92px minmax(0, 1fr);
}

.home-page .story-flow .ollie-message img.mascot-avatar,
.home-page .execution-preview-shell .dashboard-top img.mascot-avatar {
  padding: 0;
  background: transparent;
  border: 0;
  filter: drop-shadow(0 10px 14px rgba(91, 106, 151, 0.2));
}

.companion-world img.mascot-art,
.companion-run-body img.mascot-art,
.focus-mode img.mascot-art {
  filter: drop-shadow(0 18px 22px rgba(91, 106, 151, 0.22));
}

.final-cta-mascot {
  flex: 0 0 auto;
  width: clamp(92px, 11vw, 140px);
  height: clamp(124px, 15vw, 184px);
  margin-block: -32px;
  filter: drop-shadow(0 18px 24px rgba(91, 106, 151, 0.22));
  animation: mascot-float 5.2s ease-in-out infinite reverse;
}

@keyframes mascot-float {
  0%,
  100% {
    transform: translateY(0) rotate(-0.8deg);
  }
  50% {
    transform: translateY(-8px) rotate(0.8deg);
  }
}

@media (max-width: 759px) {
  .home-page .hero-poster {
    padding-bottom: 190px;
  }

  .home-page .poster-companions img.mascot-hero {
    width: 188px;
    height: 254px;
  }

  .home-page .final-cta {
    position: relative;
    padding-top: 118px;
  }

  .final-cta-mascot {
    position: absolute;
    top: -18px;
    left: 50%;
    width: 88px;
    height: 116px;
    margin: 0;
    transform: translateX(-50%);
    animation: none;
  }

}

@media (prefers-reduced-motion: reduce) {
  .home-page .poster-companions img.mascot-hero,
  .final-cta-mascot {
    animation: none;
  }
}

/* Refined goal builder: progressive disclosure with a calm app-like shell. */
.home-page .goal-builder-shell {
  display: grid;
  grid-template-columns: 72px minmax(0, 1.08fr) minmax(310px, 0.92fr);
  gap: 0;
  max-width: 1120px;
  min-height: 610px;
  margin-inline: auto;
  padding: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(91, 106, 151, 0.2);
  backdrop-filter: blur(18px);
}

.diagnosis-stepper {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 20px 10px;
  color: rgba(255, 255, 255, 0.74);
  background: linear-gradient(180deg, #75a3bf 0%, #7896b4 48%, #8d91aa 100%);
}

.diagnosis-stepper span {
  position: relative;
  display: grid;
  min-height: 92px;
  place-items: center;
  align-content: center;
  gap: 5px;
  border-radius: 18px;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.diagnosis-stepper span:not(:last-child)::after {
  position: absolute;
  bottom: -12px;
  left: 50%;
  width: 1px;
  height: 24px;
  content: "";
  background: rgba(255, 255, 255, 0.25);
}

.diagnosis-stepper b {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 12px;
  font-size: 11px;
}

.diagnosis-stepper em {
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}

.diagnosis-stepper span.active {
  color: #536986;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 26px rgba(55, 77, 108, 0.18);
  transform: translateX(2px);
}

.diagnosis-stepper span.done b {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
}

.home-page .goal-builder-shell .ollie-goal-card {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 0;
  min-width: 0;
  min-height: 610px;
  padding: 34px clamp(24px, 4vw, 46px) 28px;
  background: rgba(255, 255, 255, 0.94) !important;
  border: 0 !important;
  border-radius: 0;
  box-shadow: none !important;
}

.builder-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.builder-kicker {
  margin: 0 0 8px;
  color: #7b8eaa;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.builder-header h3 {
  max-width: 430px;
  margin: 0;
  color: #2a3145;
  font-family: "Jalnan", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: clamp(22px, 2.5vw, 30px);
  line-height: 1.3;
}

.builder-header > span {
  flex: none;
  padding: 7px 10px;
  color: #70809b;
  background: #eef2f8;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
}

.builder-progress {
  height: 4px;
  margin: 22px 0 28px;
  overflow: hidden;
  background: #edf0f5;
  border-radius: 999px;
}

.builder-progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #76a6c1, #9b8fa9, #c398a2);
  border-radius: inherit;
  transition: width 280ms ease;
}

.diagnosis-step {
  align-content: start;
  animation: builder-step-in 260ms ease;
}

.diagnosis-step[hidden] {
  display: none !important;
}

.diagnosis-step.active {
  display: grid;
  gap: 18px;
}

@keyframes builder-step-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.home-page .compact-ollie-message {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 14px;
  padding: 14px 16px;
  background: linear-gradient(135deg, #edf4fb, #f8f4f7) !important;
  border: 1px solid rgba(116, 147, 181, 0.14) !important;
  border-radius: 18px;
}

.home-page .compact-ollie-message img {
  width: 62px;
  height: 68px;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  filter: drop-shadow(0 10px 14px rgba(91, 106, 151, 0.18));
}

.home-page .compact-ollie-message span {
  color: #7388a4 !important;
}

.home-page .compact-ollie-message p {
  margin-top: 3px;
  color: #38445d !important;
  font-size: 15px;
  line-height: 1.45;
}

.builder-field,
.builder-field-grid {
  min-width: 0;
}

.builder-field {
  display: grid;
  gap: 8px;
  color: #3a4357;
  font-size: 12px;
  font-weight: 900;
}

.builder-field > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.home-page .goal-builder-shell .builder-field input,
.home-page .goal-builder-shell .builder-field select,
.home-page .goal-builder-shell .personality-fields input,
.home-page .goal-builder-shell .personality-fields select {
  width: 100%;
  min-height: 50px;
  padding: 0 15px !important;
  color: #30394e !important;
  background: rgba(255, 255, 255, 0.96) !important;
  border: 1px solid #dbe1eb !important;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(91, 106, 151, 0.04);
  outline: none;
  font-size: 14px;
  font-weight: 700;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.home-page .goal-builder-shell .builder-field input:focus,
.home-page .goal-builder-shell .builder-field select:focus,
.home-page .goal-builder-shell .personality-fields input:focus,
.home-page .goal-builder-shell .personality-fields select:focus {
  border-color: #8daac2 !important;
  box-shadow: 0 0 0 4px rgba(117, 163, 191, 0.12);
}

.home-page .goal-builder-shell .builder-field-large input {
  min-height: 58px;
  font-size: 15px;
}

.builder-field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 14px;
}

.builder-field-wide {
  grid-column: 1 / -1;
}

.goal-suggestions {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.goal-suggestions button {
  display: grid;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 9px 6px;
  place-items: center;
  color: #697994;
  background: #f3f6fa;
  border: 1px solid #e2e7ef;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.goal-suggestions button:hover,
.goal-suggestions button.selected {
  color: #ffffff;
  background: #7f99b4;
  border-color: #7f99b4;
  transform: translateY(-1px);
}

.goal-suggestions .custom-goal-button {
  display: flex;
  min-height: 54px;
  grid-column: 1 / -1;
  justify-content: center;
  gap: 9px;
  padding: 10px 16px;
  color: #55776c;
  background: linear-gradient(135deg, rgba(233, 248, 242, 0.96), rgba(241, 245, 252, 0.96));
  border: 1px dashed rgba(111, 157, 139, 0.54);
  border-radius: 16px;
}

.goal-suggestions .custom-goal-button > span {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  place-items: center;
  color: #ffffff;
  background: #76a28f;
  border-radius: 8px;
  font-size: 16px;
  line-height: 1;
}

.goal-suggestions .custom-goal-button strong {
  font-size: 12px;
  font-weight: 900;
}

.goal-suggestions .custom-goal-button small {
  color: #83918f;
  font-size: 10px;
  font-weight: 750;
}

.goal-suggestions .custom-goal-button:hover,
.goal-suggestions .custom-goal-button.selected {
  color: #426b5c;
  background: linear-gradient(135deg, #def3ea, #e9eef8);
  border-color: #76a28f;
}

.editable-note {
  margin-left: 6px;
  color: #6f9d8b;
  font-size: 10px;
  font-weight: 850;
}

.field-helper {
  margin: 0;
  color: #858d9e;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.55;
}

.home-page .goal-builder-shell .personality-fields {
  grid-template-columns: 1fr 1fr;
  gap: 18px 14px;
  padding: 0;
  background: transparent !important;
  border: 0 !important;
}

.home-page .goal-builder-shell .personality-fields label {
  gap: 8px;
  color: #3a4357 !important;
  font-size: 12px;
}

.refined-profile-intro {
  padding: 16px 18px !important;
  background: #f4f7fb !important;
  border: 1px solid #e3e8f0 !important;
  border-radius: 16px !important;
}

.privacy-note {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #788397;
  font-size: 11px;
  font-weight: 750;
}

.privacy-note span {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  color: #ffffff;
  background: #91a9bd;
  border-radius: 50%;
}

.review-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.review-card div {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 15px;
  background: #f6f8fb;
  border: 1px solid #e4e8ef;
  border-radius: 14px;
}

.review-card span {
  color: #8992a3;
  font-size: 10px;
  font-weight: 850;
}

.review-card strong {
  overflow: hidden;
  color: #354057;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ollie-final-note {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 15px 18px;
  background: linear-gradient(135deg, #edf4fb, #f8f1f4);
  border-radius: 18px;
}

.ollie-final-note img {
  width: 72px;
  height: 86px;
  object-fit: contain;
}

.ollie-final-note p {
  margin: 0;
  color: #647087;
  font-size: 12px;
  line-height: 1.55;
}

.ollie-final-note strong {
  display: block;
  margin-bottom: 3px;
  color: #344057;
  font-size: 15px;
}

.builder-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 24px;
  padding: 10px;
  background: linear-gradient(135deg, rgba(237, 248, 244, 0.82), rgba(239, 243, 250, 0.9));
  border: 1px solid rgba(214, 225, 228, 0.82);
  border-radius: 18px;
}

.builder-actions button {
  min-height: 54px;
  padding: 0 22px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.builder-back {
  margin-right: auto;
  color: #748097;
  background: #f2f4f8;
  border: 1px solid #e1e5ec;
}

.builder-next,
.home-page .goal-builder-shell #aiPreviewButton {
  flex: 1;
  color: #ffffff;
  background: linear-gradient(135deg, #6f9f8b, #7f99b4 56%, #9d93aa) !important;
  border: 0;
  box-shadow: 0 12px 24px rgba(91, 124, 124, 0.22);
}

.builder-next::after {
  content: "→";
  display: inline-block;
  margin-left: 9px;
  font-size: 16px;
  transition: transform 160ms ease;
}

.builder-actions button:hover {
  filter: brightness(1.03);
  transform: translateY(-1px);
}

.builder-next:hover::after {
  transform: translateX(3px);
}

.builder-actions button:focus-visible {
  outline: 3px solid rgba(111, 157, 139, 0.28);
  outline-offset: 3px;
}

.home-page .goal-builder-shell .app-plan-preview {
  display: grid;
  align-content: center;
  min-width: 0;
  padding: clamp(26px, 4vw, 42px);
  background:
    radial-gradient(circle at 75% 15%, rgba(201, 151, 163, 0.14), transparent 35%),
    radial-gradient(circle at 15% 85%, rgba(117, 163, 191, 0.16), transparent 40%),
    linear-gradient(155deg, #f6f8fc, #eef2f8) !important;
  border: 0 !important;
  border-left: 1px solid rgba(221, 226, 235, 0.86) !important;
  border-radius: 0;
  box-shadow: none !important;
}

.live-summary {
  display: grid;
  justify-items: center;
  gap: 18px;
  text-align: center;
}

.summary-head {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
}

.summary-head span {
  color: #8290a4;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.summary-head b {
  padding: 7px 10px;
  color: #6d7f99;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  font-size: 10px;
}

.live-summary > img {
  width: 150px;
  height: 190px;
  object-fit: contain;
  filter: drop-shadow(0 22px 26px rgba(91, 106, 151, 0.2));
  animation: mascot-float 5s ease-in-out infinite;
}

.live-summary > p {
  max-width: 250px;
  margin: -5px 0 0;
  color: #6e788d;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.6;
}

.live-summary dl {
  display: grid;
  width: 100%;
  gap: 8px;
  margin: 0;
}

.live-summary dl div {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  text-align: left;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 13px;
}

.live-summary dt {
  color: #8a94a5;
  font-size: 10px;
  font-weight: 850;
}

.live-summary dd {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: #38435a;
  font-size: 12px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.summary-progress {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding-top: 4px;
  color: #78859a;
  font-size: 11px;
  font-weight: 800;
}

.summary-progress strong {
  color: #6f87a2;
  font-size: 16px;
}

.preview-result-content {
  display: none;
}

.first-step-back {
  display: none;
}

#firstStep {
  scroll-margin-top: 72px;
}

.home-page .story-flow.showing-first-step {
  padding-top: 18px;
}

.home-page .story-flow.showing-first-step > .section-heading,
.home-page .story-flow.showing-first-step .diagnosis-stepper,
.home-page .story-flow.showing-first-step .ollie-goal-card {
  display: none;
}

.home-page .story-flow.showing-first-step .goal-builder-shell {
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  height: calc(100dvh - 116px);
  max-width: 960px;
  min-height: 640px;
  max-height: 880px;
}

.home-page .story-flow.showing-first-step .app-plan-preview {
  grid-column: 1;
  min-height: 0;
  border: 0 !important;
}

.home-page .story-flow.showing-first-step .app-plan-preview.is-ready {
  grid-template-rows: auto minmax(0, 1fr);
}

.home-page .story-flow.showing-first-step .preview-result-content {
  height: auto;
}

.home-page .story-flow.showing-first-step .first-step-back {
  display: inline-flex;
  z-index: 1;
  width: fit-content;
  align-items: center;
  gap: 7px;
  margin: 18px 24px 0;
  padding: 9px 12px;
  color: #66758c;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(221, 226, 235, 0.92);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 850;
}

.home-page .story-flow.showing-first-step .first-step-back:hover {
  color: #4f6079;
  background: #ffffff;
}

.app-plan-preview.is-ready {
  align-content: start !important;
  overflow: hidden;
  padding: 0 !important;
}

.app-plan-preview.is-ready .live-summary {
  display: none;
}

.app-plan-preview.is-ready .preview-result-content {
  display: grid;
  min-height: 0;
  height: 100%;
  grid-template-rows: minmax(0, 1fr) auto;
  animation: builder-step-in 300ms ease;
}

.result-scroll-area {
  display: grid;
  min-height: 0;
  gap: 12px;
  padding: clamp(24px, 3vw, 34px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(127, 153, 180, 0.32) transparent;
}

.result-details-disclosure {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(126, 151, 142, 0.16);
  border-radius: 18px;
}

.result-details-disclosure > summary {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  cursor: pointer;
  list-style: none;
}

.result-details-disclosure > summary::-webkit-details-marker {
  display: none;
}

.result-details-disclosure > summary > span {
  display: grid;
  gap: 4px;
}

.result-details-disclosure > summary strong {
  color: #3d485e;
  font-size: 12px;
  font-weight: 950;
}

.result-details-disclosure > summary small {
  color: #8791a1;
  font-size: 9px;
  font-weight: 750;
}

.result-details-disclosure > summary > b {
  min-width: 48px;
  padding: 8px 10px;
  color: #68867b;
  background: #edf6f2;
  border-radius: 999px;
  font-size: 9px;
  text-align: center;
  pointer-events: none;
}

.execution-page {
  scroll-padding-block: 80px 100px;
}

.task-row {
  scroll-margin-block: 80px 100px;
}

.result-details-disclosure[open] > summary > b::before {
  content: "접기";
}

.result-details-disclosure[open] > summary > b {
  font-size: 0;
}

.result-details-disclosure[open] > summary > b::before {
  font-size: 9px;
}

.result-details-content {
  display: grid;
  gap: 12px;
  padding: 0 12px 12px;
  animation: builder-step-in 220ms ease;
}

.result-analysis-header {
  align-items: flex-start;
}

.result-analysis-header > div {
  display: grid;
  gap: 4px;
}

.result-analysis-header small {
  color: #7a9b8e;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0.14em;
}

.home-page .story-flow .result-analysis-header span {
  color: #344057 !important;
  font-size: 18px;
  font-weight: 950;
  line-height: 1.25;
}

.result-analysis-header > strong {
  padding: 7px 9px;
  color: #658377 !important;
  background: rgba(229, 244, 238, 0.92);
  border-radius: 999px;
  font-size: 9px;
  white-space: nowrap;
}

.home-page .story-flow .result-ollie-card {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 14px;
  background: linear-gradient(135deg, #f4fbf8, #f5f6fc) !important;
  border-color: rgba(111, 157, 139, 0.18) !important;
}

.result-ollie-card img {
  width: 62px;
  height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 8px 10px rgba(91, 106, 151, 0.16));
}

.result-ollie-card > div {
  display: grid;
  gap: 5px;
}

.home-page .story-flow .result-ollie-card p {
  margin: 0;
  color: #59667b !important;
  font-size: 11px;
  font-weight: 730;
  line-height: 1.55;
}

.home-page .story-flow .result-today-card {
  gap: 10px;
  padding: 17px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.75), transparent 38%),
    linear-gradient(145deg, #edf8f3, #edf1fa) !important;
  border-color: rgba(111, 157, 139, 0.24) !important;
  box-shadow: 0 14px 28px rgba(91, 106, 151, 0.1);
}

.result-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.result-card-head b {
  padding: 5px 8px;
  color: #627a70;
  background: rgba(255, 255, 255, 0.76);
  border-radius: 999px;
  font-size: 9px;
}

.home-page .story-flow .result-today-card strong {
  font-size: 20px;
  line-height: 1.25;
}

.home-page .story-flow .result-today-card p {
  font-size: 10px;
  font-weight: 750;
}

.home-page .story-flow .result-tomorrow-card {
  padding: 13px 15px;
  background: rgba(255, 255, 255, 0.78) !important;
}

.result-insight-grid {
  gap: 8px;
}

.home-page .story-flow .result-insight-grid article {
  padding: 13px;
  background: rgba(255, 255, 255, 0.72) !important;
  border-radius: 14px !important;
}

.home-page .story-flow .result-insight-grid p {
  font-size: 10px;
  line-height: 1.55;
}

.result-schedule-card,
.result-week-card,
.result-roadmap-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(126, 151, 142, 0.14);
  border-radius: 18px;
}

.result-section-head {
  display: grid;
  gap: 3px;
}

.result-section-head > span {
  color: #7b9b8f;
  font-size: 8px;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.result-section-head > strong {
  color: #344a43;
  font-size: 13px;
}

.result-schedule-list,
.result-week-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.result-schedule-list li {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 10px 0;
  border-top: 1px solid rgba(126, 151, 142, 0.12);
}

.result-schedule-list time {
  color: #6f8c81;
  font-size: 9px;
  font-weight: 900;
  line-height: 1.45;
}

.result-schedule-list li > div { display: grid; gap: 4px; }
.result-schedule-list strong { color: #495d57; font-size: 10px; line-height: 1.45; }
.result-schedule-list small { color: #8a9692; font-size: 8px; font-weight: 700; line-height: 1.45; }

.result-week-list { counter-reset: result-week; }
.result-week-list li {
  position: relative;
  min-height: 30px;
  padding: 7px 8px 7px 38px;
  color: #60716c;
  background: #f4f8f5;
  border-radius: 10px;
  font-size: 9px;
  font-weight: 750;
  line-height: 1.5;
  counter-increment: result-week;
}
.result-week-list li::before {
  position: absolute;
  top: 7px;
  left: 9px;
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  content: counter(result-week);
  color: #fff;
  background: #79988d;
  border-radius: 7px;
  font-size: 8px;
  font-weight: 900;
}

.result-roadmap-card { background: linear-gradient(145deg, rgba(237, 247, 242, 0.9), rgba(247, 242, 244, 0.86)); }
.result-roadmap-list { display: grid; gap: 8px; }
.result-roadmap-list > div { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 10px; align-items: center; }
.result-roadmap-list > div > b { padding: 7px 5px; color: #668277; background: rgba(255, 255, 255, 0.8); border-radius: 9px; font-size: 8px; text-align: center; }
.result-roadmap-list > div > span { display: grid; gap: 3px; }
.result-roadmap-list strong { color: #485d56; font-size: 9px; line-height: 1.45; }
.result-roadmap-list small { color: #84938e; font-size: 8px; font-weight: 700; }

.result-trial-cta {
  position: relative;
  z-index: 3;
  display: grid;
  gap: 10px;
  padding: 18px clamp(20px, 3vw, 30px) 20px;
  background:
    radial-gradient(circle at 8% 0%, rgba(159, 215, 193, 0.22), transparent 42%),
    linear-gradient(135deg, #ffffff, #f4f1f7);
  border-top: 1px solid rgba(210, 219, 228, 0.92);
  box-shadow: 0 -14px 30px rgba(91, 106, 151, 0.08);
}

.result-trial-cta > div {
  display: grid;
  gap: 3px;
}

.result-trial-cta > div span {
  color: #6e927f;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0.06em;
}

.result-trial-cta > div strong {
  color: #30394e;
  font-size: 14px;
  line-height: 1.35;
}

.home-page .story-flow .result-trial-cta > a {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  padding: 0 17px;
  color: #ffffff !important;
  background: linear-gradient(135deg, #6f9f8b, #7f99b4 58%, #9d93aa) !important;
  border-radius: 15px;
  box-shadow: 0 14px 26px rgba(91, 124, 124, 0.24);
  font-size: 13px;
  font-weight: 950;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.result-trial-cta > a b {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 9px;
  font-size: 16px;
  transition: transform 160ms ease;
}

.result-trial-cta > a:hover {
  transform: translateY(-2px);
  box-shadow: 0 17px 30px rgba(91, 124, 124, 0.28);
}

.result-trial-cta > a:hover b {
  transform: translateX(2px);
}

.result-trial-cta > a:focus-visible {
  outline: 3px solid rgba(111, 157, 139, 0.3);
  outline-offset: 3px;
}

.result-trial-cta > p {
  margin: 0;
  color: #7c8799;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}

@media (max-width: 940px) {
  .home-page .goal-builder-shell {
    grid-template-columns: 68px minmax(0, 1fr);
  }

  .home-page .goal-builder-shell .app-plan-preview {
    grid-column: 2;
    border-top: 1px solid rgba(221, 226, 235, 0.86) !important;
    border-left: 0 !important;
  }

  .live-summary > img {
    width: 112px;
    height: 142px;
  }

  .app-plan-preview.is-ready .preview-result-content {
    height: auto;
    grid-template-rows: auto auto;
  }

  .result-scroll-area {
    overflow: visible;
  }
}

@media (max-width: 640px) {
  .home-page .goal-builder-shell {
    grid-template-columns: 1fr;
    border-radius: 22px;
  }

  .diagnosis-stepper {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 8px;
  }

  .diagnosis-stepper span {
    min-height: 60px;
    gap: 2px;
  }

  .diagnosis-stepper span:not(:last-child)::after {
    top: 50%;
    right: -9px;
    bottom: auto;
    left: auto;
    width: 18px;
    height: 1px;
  }

  .diagnosis-stepper b {
    width: 28px;
    height: 28px;
    border-radius: 9px;
  }

  .home-page .goal-builder-shell .ollie-goal-card {
    min-height: 590px;
    padding: 26px 20px 22px;
  }

  .builder-header h3 {
    font-size: 22px;
  }

  .builder-field-grid,
  .home-page .goal-builder-shell .personality-fields,
  .review-card {
    grid-template-columns: 1fr;
  }

  .builder-field-wide {
    grid-column: auto;
  }

  .goal-suggestions {
    gap: 7px;
  }

  .goal-suggestions button {
    min-height: 46px;
    padding-inline: 3px;
    font-size: 11px;
  }

  .goal-suggestions .custom-goal-button {
    flex-wrap: wrap;
    gap: 5px 8px;
  }

  .goal-suggestions .custom-goal-button small {
    flex-basis: 100%;
  }

  .home-page .goal-builder-shell .app-plan-preview {
    grid-column: 1;
    padding: 28px 22px;
  }

  .home-page .story-flow.showing-first-step .goal-builder-shell {
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .home-page .story-flow.showing-first-step .app-plan-preview.is-ready {
    grid-template-rows: auto auto;
  }

  .result-scroll-area {
    padding: 24px 20px;
  }

  .result-trial-cta {
    padding: 17px 20px 20px;
  }

  .builder-actions button {
    padding-inline: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .diagnosis-step,
  .app-plan-preview.is-ready .preview-result-content,
  .live-summary > img {
    animation: none;
  }
}

/* Ollie's visual journey world map */
.journey-map-card {
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 8%, rgba(201, 141, 153, 0.12), transparent 28%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(237, 242, 255, 0.9));
}

.journey-story-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(132px, 0.75fr);
  gap: 10px;
  margin: 16px 0 14px;
}

.journey-story-panel > div {
  min-width: 0;
  padding: 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(107, 122, 166, 0.11);
  border-radius: 16px;
}

.journey-story-panel span {
  color: var(--soft-muted);
  font-size: 10px;
  font-weight: 700;
}

.journey-story-panel strong {
  display: block;
  margin-top: 5px;
  color: var(--soft-text);
  font-size: 16px;
  font-weight: 800;
}

.journey-story-panel p {
  margin: 5px 0 0;
  color: var(--soft-muted);
  font-size: 11px;
  line-height: 1.55;
}

.journey-next-place {
  display: grid;
  align-content: center;
}

.journey-next-place > div {
  height: 7px;
  margin-top: 10px;
  overflow: hidden;
  background: #e5e9f1;
  border-radius: 999px;
}

.journey-next-place > div span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #7ea5bd, #c18f9b);
  border-radius: inherit;
  transition: width 360ms ease;
}

.journey-map {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(138px, 42%);
  grid-template-columns: none;
  gap: 10px;
  margin: 0 -2px;
  padding: 2px 2px 12px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-padding-inline: 2px;
  scroll-snap-type: inline mandatory;
  scrollbar-color: rgba(107, 122, 166, 0.25) transparent;
  scrollbar-width: thin;
}

.journey-map::before {
  display: none;
}

.journey-stop {
  position: relative;
  display: grid;
  min-width: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(107, 122, 166, 0.13);
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(107, 122, 166, 0.08);
  scroll-snap-align: start;
  transition: opacity 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}

.journey-stop:not(:last-child)::after {
  position: absolute;
  top: 64px;
  right: -8px;
  z-index: 8;
  width: 16px;
  height: 16px;
  content: "›";
  color: #8295ad;
  background: #ffffff;
  border: 1px solid #dfe5ee;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 900;
  line-height: 14px;
  text-align: center;
}

.journey-stop.current {
  border-color: rgba(107, 122, 166, 0.4);
  box-shadow: 0 15px 32px rgba(107, 122, 166, 0.18);
  transform: translateY(-2px);
}

.journey-stop.locked {
  opacity: 0.5;
  filter: saturate(0.48);
}

.journey-stop.done:not(.current) .journey-scene::after {
  position: absolute;
  top: 9px;
  right: 9px;
  z-index: 6;
  display: grid;
  width: 22px;
  height: 22px;
  content: "✓";
  place-items: center;
  color: #ffffff;
  background: #7f9cae;
  border: 2px solid rgba(255, 255, 255, 0.86);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 900;
}

.journey-scene {
  position: relative;
  min-height: 138px;
  overflow: hidden;
  background: linear-gradient(180deg, #dcecf7 0%, #eef4fb 64%, #d9e6db 65%, #c8d9c9 100%);
}

.journey-path .journey-scene {
  background: linear-gradient(180deg, #d9edf7 0%, #f4eef0 62%, #dae6cf 63%, #c7dab9 100%);
}

.journey-forest .journey-scene {
  background: linear-gradient(180deg, #cfe6e7 0%, #e5eef0 56%, #b8d0bd 57%, #91b29c 100%);
}

.journey-hill .journey-scene {
  background: linear-gradient(180deg, #c8cbe7 0%, #e4d9e6 57%, #c4cbb8 58%, #aeb69d 100%);
}

.journey-garden .journey-scene {
  background: linear-gradient(180deg, #dcecf4 0%, #f7e9ed 58%, #d8e5c7 59%, #bed5ac 100%);
}

.scene-sun {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 25px;
  height: 25px;
  background: rgba(255, 238, 184, 0.9);
  border-radius: 50%;
  box-shadow: 0 0 0 7px rgba(255, 238, 184, 0.16);
}

.journey-hill .scene-sun {
  background: #f7f2d9;
  box-shadow: 0 0 0 7px rgba(247, 242, 217, 0.12), -10px 5px 0 -7px #ffffff;
}

.scene-cloud {
  position: absolute;
  width: 30px;
  height: 9px;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 999px;
}

.scene-cloud::before,
.scene-cloud::after {
  position: absolute;
  bottom: 2px;
  content: "";
  background: inherit;
  border-radius: 50%;
}

.scene-cloud::before { left: 5px; width: 11px; height: 11px; }
.scene-cloud::after { right: 5px; width: 14px; height: 14px; }
.scene-cloud-one { top: 24px; left: 10px; }
.scene-cloud-two { top: 47px; right: 7px; transform: scale(0.7); }

.scene-landmark {
  position: absolute;
  right: 10px;
  bottom: 29px;
  z-index: 2;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  color: #718aa1;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 20px 20px 12px 12px;
  box-shadow: 0 10px 20px rgba(74, 99, 119, 0.12);
  font-size: 30px;
  font-weight: 500;
}

.journey-forest .scene-landmark {
  color: #5e8874;
  background: rgba(218, 236, 220, 0.84);
  border-radius: 50% 50% 18px 18px;
}

.journey-hill .scene-landmark {
  color: #7c779f;
  background: rgba(230, 223, 238, 0.82);
  border-radius: 50% 50% 15px 15px;
}

.journey-garden .scene-landmark {
  color: #b17788;
  background: rgba(255, 235, 239, 0.85);
  border-radius: 50%;
}

.scene-ground {
  position: absolute;
  right: -18px;
  bottom: 12px;
  left: -18px;
  height: 25px;
  background: rgba(255, 255, 255, 0.26);
  border-radius: 50%;
  transform: rotate(-3deg);
}

.journey-ollie {
  position: absolute;
  bottom: 8px;
  left: clamp(9px, var(--ollie-position, 9px), calc(100% - 74px));
  z-index: 5;
  display: block;
  width: 66px;
  height: 88px;
  animation: journey-ollie-bounce 2.8s ease-in-out infinite;
  transition: left 480ms cubic-bezier(0.22, 0.8, 0.3, 1);
}

.journey-ollie img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 12px rgba(66, 81, 108, 0.22));
}

.journey-ollie b {
  position: absolute;
  top: -2px;
  left: 45px;
  min-width: 36px;
  padding: 5px 7px;
  color: #657a96;
  background: #ffffff;
  border-radius: 10px 10px 10px 2px;
  box-shadow: 0 5px 12px rgba(91, 106, 151, 0.14);
  font-size: 9px;
  text-align: center;
  white-space: nowrap;
}

.journey-stop-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 8px;
  padding: 11px 12px 12px;
}

.journey-stop-copy small {
  grid-column: 1 / -1;
  color: #99a2b1;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.journey-stop-copy strong {
  color: #3e485e;
  font-size: 13px;
  font-weight: 800;
}

.journey-stop-copy em {
  align-self: center;
  padding: 3px 6px;
  color: #7287a0;
  background: #edf2f7;
  border-radius: 999px;
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
}

@keyframes journey-ollie-bounce {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-5px) rotate(1deg); }
}

@media (min-width: 760px) {
  .journey-map {
    grid-auto-columns: minmax(146px, 32%);
  }
}

@media (max-width: 430px) {
  .journey-story-panel {
    grid-template-columns: 1fr;
  }

  .journey-map {
    grid-auto-columns: minmax(142px, 72%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .journey-ollie {
    animation: none;
  }
}

/* Company footer and persistent landing CTA */
.site-footer {
  position: relative;
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) minmax(0, 1.3fr);
  gap: 28px;
  align-items: end;
  min-height: 190px;
  padding: 38px clamp(22px, 5vw, 56px) 48px;
  color: var(--routine-text);
  background:
    radial-gradient(circle at 12% 22%, rgba(107, 122, 166, 0.13), transparent 34%),
    radial-gradient(circle at 90% 78%, rgba(201, 141, 153, 0.12), transparent 38%),
    rgba(255, 255, 255, 0.48);
  border-top: 1px solid rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
}

.footer-brand-block {
  display: grid;
  gap: 5px;
}

.footer-brand-block strong {
  color: #3d4862;
  font-family: "Jalnan", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.footer-brand-block span {
  color: #8d7180;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-information {
  display: grid;
  gap: 8px;
  justify-items: end;
  text-align: right;
}

.site-footer .footer-information p {
  margin: 0;
  color: #566078;
  font-size: 13px;
  font-weight: 750;
}

.footer-information small {
  max-width: 560px;
  color: #81899a;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.6;
}

@media (max-width: 759px) {
  .site-footer {
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: start;
    min-height: 250px;
    padding: 34px 22px 42px;
  }

  .footer-information {
    justify-items: start;
    text-align: left;
  }

}

.footer-legal-links { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:7px 14px; }
.footer-legal-links a { color:#697488; font-size:10px; font-weight:700; text-underline-offset:3px; }

/* First-use trial setup: one decision at a time, with optional detail folded away. */
.home-page .story-flow:not(.showing-first-step) > .section-heading {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.trial-trust-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.trial-trust-list li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  color: #718097;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(107, 122, 166, 0.1);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
}

.trial-trust-list span {
  display: grid;
  width: 16px;
  height: 16px;
  place-items: center;
  color: #ffffff;
  background: #7fa18f;
  border-radius: 50%;
  font-size: 9px;
}

.home-page .story-flow:not(.showing-first-step) .goal-builder-shell {
  grid-template-columns: 72px minmax(0, 1fr);
  width: min(100%, 780px);
  max-width: 780px;
  min-height: 0;
}

.home-page .story-flow:not(.showing-first-step) .app-plan-preview {
  display: none;
}

.builder-reassurance {
  display: flex;
  gap: 7px;
  align-items: center;
  margin: -14px 0 22px;
  color: #7d8798;
  font-size: 10px;
  font-weight: 750;
  line-height: 1.5;
}

.builder-reassurance span {
  display: grid;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  place-items: center;
  color: #ffffff;
  background: #90aa9e;
  border-radius: 50%;
  font-size: 9px;
}

.optional-settings {
  overflow: hidden;
  background: rgba(246, 248, 251, 0.88);
  border: 1px solid #e4e8ef;
  border-radius: 15px;
}

.optional-settings summary {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 15px;
  color: #647087;
  font-size: 11px;
  font-weight: 850;
  cursor: pointer;
  list-style: none;
}

.optional-settings summary::-webkit-details-marker { display: none; }
.optional-settings summary::after {
  margin-left: auto;
  color: #8c97a8;
  content: "+";
  font-size: 16px;
}
.optional-settings[open] summary::after { content: "−"; }
.optional-settings summary small {
  order: 2;
  padding: 4px 7px;
  color: #80909f;
  background: #ffffff;
  border-radius: 999px;
  font-size: 8px;
}
.optional-settings > .builder-field,
.optional-settings > .personality-fields,
.optional-settings > .privacy-note {
  margin: 0 14px 14px;
}
.personality-optional-settings > .personality-fields { padding-top: 2px; }

.home-page .story-flow:not(.showing-first-step) .ollie-goal-card {
  grid-template-rows: auto auto auto auto auto;
  min-height: 0;
  padding-bottom: 26px;
}

.home-page .story-flow .builder-actions {
  padding: 10px;
}

@media (max-width: 640px) {
  .home-page .story-flow:not(.showing-first-step) {
    padding: 14px 10px 24px;
  }

  .home-page .story-flow:not(.showing-first-step) > .section-heading {
    padding-inline: 8px;
  }

  .home-page .story-flow:not(.showing-first-step) > .section-heading h2 {
    font-size: clamp(24px, 8vw, 32px);
    line-height: 1.22;
  }

  .home-page .story-flow:not(.showing-first-step) > .section-heading > p:last-of-type {
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.55;
  }

  .trial-trust-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
    margin-top: 12px;
  }

  .trial-trust-list li {
    justify-content: center;
    gap: 4px;
    padding: 7px 3px;
    font-size: 8px;
    white-space: nowrap;
  }

  .trial-trust-list span { width: 14px; height: 14px; flex: 0 0 14px; font-size: 8px; }

  .home-page .story-flow:not(.showing-first-step) .goal-builder-shell {
    grid-template-columns: 1fr;
    margin-top: 18px;
    border-radius: 22px;
  }

  .home-page .story-flow:not(.showing-first-step) .diagnosis-stepper {
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    padding: 7px;
  }

  .home-page .story-flow:not(.showing-first-step) .diagnosis-stepper span {
    min-height: 52px;
    border-radius: 14px;
  }

  .home-page .story-flow:not(.showing-first-step) .ollie-goal-card {
    min-height: 0;
    padding: 22px 16px 18px;
  }

  .builder-header { gap: 12px; }
  .builder-kicker { margin-bottom: 5px; font-size: 9px; letter-spacing: 0.07em; }
  .builder-header h3 { font-size: 21px; line-height: 1.3; }
  .builder-progress { margin: 16px 0 22px; }
  .builder-reassurance { margin-top: -12px; margin-bottom: 18px; font-size: 9px; }

  .home-page .compact-ollie-message {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 10px;
    padding: 11px 12px;
  }
  .home-page .compact-ollie-message img { width: 48px; height: 52px; }
  .home-page .compact-ollie-message p { font-size: 12px; }

  .goal-suggestions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .goal-suggestions button { min-height: 44px; font-size: 11px; }
  .goal-suggestions .custom-goal-button { grid-column: 1 / -1; }

  .builder-field-grid { gap: 12px; }
  .home-page .goal-builder-shell .builder-field input,
  .home-page .goal-builder-shell .builder-field select,
  .home-page .goal-builder-shell .personality-fields input,
  .home-page .goal-builder-shell .personality-fields select { min-height: 48px; }

  .refined-profile-intro { padding: 13px 14px !important; }
  .trial-terms-note { font-size: 9px; line-height: 1.5; }
  .home-page .story-flow .builder-actions { margin-top: 18px; padding: 7px; border-radius: 15px; }
  .builder-actions button { min-height: 50px; padding-inline: 13px; font-size: 11px; }
}

/* Ollie-centered app feature carousel */
.home-page .app-dashboard .section-heading > p:last-child {
  max-width: 660px;
  color: var(--routine-muted) !important;
}

.app-feature-showcase {
  display: grid;
  gap: 18px;
  max-width: 1120px;
  margin-inline: auto;
  padding: clamp(16px, 3vw, 28px);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 28px;
  box-shadow: 0 26px 68px rgba(91, 106, 151, 0.16);
  backdrop-filter: blur(18px);
}

.feature-showcase-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 4px;
}

.feature-showcase-head > div {
  display: grid;
  gap: 4px;
}

.feature-showcase-head > div span {
  color: #8993a6;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-showcase-head strong {
  color: #354158;
  font-size: clamp(16px, 2vw, 21px);
  font-weight: 850;
}

.feature-showcase-head > span {
  flex: none;
  padding: 8px 11px;
  color: #71839c;
  background: #eef2f7;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
}

.app-feature-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  overflow-x: auto;
  outline: none;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
}

.app-feature-carousel::-webkit-scrollbar {
  display: none;
}

.app-feature-carousel:focus-visible {
  border-radius: 22px;
  box-shadow: 0 0 0 4px rgba(107, 122, 166, 0.14);
}

.app-feature-slide {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: clamp(22px, 4vw, 54px);
  align-items: center;
  min-height: 430px;
  padding: clamp(24px, 5vw, 54px);
  overflow: hidden;
  border-radius: 22px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.feature-today {
  background: linear-gradient(140deg, #eef4fb 0%, #f8f3f6 100%);
}

.feature-adjust {
  background: linear-gradient(140deg, #f4f0f7 0%, #edf4f8 100%);
}

.feature-grow {
  background: linear-gradient(140deg, #edf6f4 0%, #f4f1f7 100%);
}

.feature-memory {
  background: linear-gradient(140deg, #f8f0f2 0%, #eef3f9 100%);
}

.feature-copy {
  display: grid;
  align-content: center;
  gap: 15px;
  min-width: 0;
}

.feature-number {
  color: #8596ad;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.home-page .feature-copy h3 {
  margin: 0;
  color: #303a50;
  font-family: "Jalnan", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: clamp(27px, 3.7vw, 40px);
  font-weight: 700;
  line-height: 1.28;
}

.feature-copy > p {
  margin: 0;
  color: #687389;
  font-size: 13px;
  line-height: 1.72;
}

.feature-copy ul {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-copy li {
  padding: 7px 10px;
  color: #697b94;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(107, 122, 166, 0.12);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
}

.feature-phone-card,
.feature-chat-card,
.feature-world-card,
.feature-memory-board {
  min-width: 0;
  padding: 18px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.94);
  border-radius: 24px;
  box-shadow: 0 20px 44px rgba(91, 106, 151, 0.14);
}

.feature-phone-card {
  display: grid;
  gap: 11px;
}

.feature-phone-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px;
  align-items: center;
  padding: 13px 14px;
  background: linear-gradient(135deg, #edf3fb, #ffffff);
  border-radius: 17px;
}

.feature-phone-top div {
  display: grid;
  gap: 5px;
}

.feature-phone-top span,
.feature-progress-card span {
  color: #818b9d;
  font-size: 9px;
  font-weight: 800;
}

.feature-phone-top strong {
  overflow: hidden;
  color: #374158;
  font-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.feature-phone-top img {
  width: 72px;
  height: 82px;
  object-fit: contain;
  filter: drop-shadow(0 10px 14px rgba(91, 106, 151, 0.17));
}

.feature-schedule-mini {
  display: grid;
  gap: 6px;
}

.mini-schedule-row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  background: #f7f8fb;
  border-radius: 14px;
}

.mini-schedule-row span {
  color: #818b9d;
  font-size: 9px;
  font-weight: 900;
}

.mini-schedule-row p {
  overflow: hidden;
  margin: 0;
  color: #3c465c;
  font-size: 11px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-schedule-row b {
  color: #97a1b2;
  font-size: 8px;
  font-weight: 850;
  white-space: nowrap;
}

.mini-schedule-row button {
  padding: 6px 11px;
  color: #ffffff;
  background: linear-gradient(135deg, #789db8, #9b91aa);
  border: 0;
  border-radius: 10px;
  font-size: 9px;
  font-weight: 850;
  white-space: nowrap;
}

.mini-schedule-row.current {
  background: linear-gradient(135deg, #eef5f1, #f2eff8);
  border: 1px solid rgba(117, 161, 147, 0.32);
}

.mini-schedule-row.current span {
  color: #6f9d8c;
}

.feature-progress-card {
  display: grid;
  gap: 8px;
  padding: 13px 14px;
  background: #f7f9fc;
  border-radius: 17px;
}

.feature-progress-card > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.feature-progress-card strong {
  color: #7188a3;
  font-size: 14px;
}

.feature-progress-card p {
  margin: 0;
  color: #8991a1;
  font-size: 9px;
}

.feature-chat-card {
  display: grid;
  gap: 12px;
}

.chat-ollie-head,
.memory-board-head {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid #edf0f5;
}

.chat-ollie-head img,
.memory-board-head img {
  width: 62px;
  height: 70px;
  object-fit: contain;
}

.chat-ollie-head div,
.memory-board-head div {
  display: grid;
  gap: 4px;
}

.chat-ollie-head span,
.memory-board-head span {
  color: #8c7889;
  font-size: 9px;
  font-weight: 850;
}

.chat-ollie-head strong,
.memory-board-head strong {
  color: #3d465c;
  font-size: 15px;
}

.chat-user-message,
.chat-ollie-message {
  max-width: 84%;
  padding: 11px 13px;
  border-radius: 15px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
}

.chat-user-message {
  justify-self: end;
  color: #ffffff;
  background: #8598b5;
  border-bottom-right-radius: 4px;
}

.chat-ollie-message {
  color: #59657b;
  background: #f1f3f7;
  border-bottom-left-radius: 4px;
}

.chat-choice-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.chat-choice-row span {
  padding: 9px;
  color: #70829b;
  background: #f7f9fc;
  border: 1px solid #e3e7ee;
  border-radius: 11px;
  font-size: 9px;
  font-weight: 800;
  text-align: center;
}

.feature-world-card {
  position: relative;
  display: grid;
  min-height: 300px;
  align-content: end;
  overflow: hidden;
  background: linear-gradient(180deg, #d9eaef 0%, #edf3f2 57%, #bcd2c1 58%, #a7c0ab 100%);
}

.world-sky-preview span {
  position: absolute;
  top: 30px;
  left: 24px;
  width: 58px;
  height: 18px;
  background: rgba(255, 255, 255, 0.66);
  border-radius: 999px;
}

.world-sky-preview span:last-child {
  top: 62px;
  right: 24px;
  left: auto;
  width: 38px;
  transform: scale(0.78);
}

.feature-world-card > img {
  position: absolute;
  bottom: 72px;
  left: 30px;
  width: 126px;
  height: 168px;
  object-fit: contain;
  filter: drop-shadow(0 18px 20px rgba(65, 86, 92, 0.22));
  animation: mascot-float 5s ease-in-out infinite;
}

.world-stage-copy {
  position: relative;
  z-index: 2;
  justify-self: end;
  width: min(190px, 62%);
  margin-bottom: 76px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.78);
  border-radius: 14px;
  backdrop-filter: blur(12px);
}

.world-stage-copy span { color: #81908d; font-size: 9px; font-weight: 800; }
.world-stage-copy strong { display: block; margin-top: 3px; color: #45554f; font-size: 14px; }
.world-stage-copy p { margin: 4px 0 0; color: #718079; font-size: 9px; line-height: 1.45; }

.world-route {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.82);
  border-radius: 14px;
}

.world-route span {
  padding: 6px 2px;
  color: #9aa2aa;
  background: #eef1f2;
  border-radius: 8px;
  font-size: 8px;
  font-weight: 800;
  text-align: center;
}

.world-route .done { color: #ffffff; background: #8ca99a; }
.world-route .current { color: #ffffff; background: #677e72; box-shadow: 0 0 0 3px rgba(103, 126, 114, 0.14); }

.feature-memory-board {
  display: grid;
  gap: 9px;
}

.feature-memory-board article {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 24px;
  gap: 9px;
  align-items: center;
  padding: 11px 12px;
  background: #f8f6f8;
  border: 1px solid #eee8ed;
  border-radius: 13px;
}

.feature-memory-board article span { color: #9b8791; font-size: 8px; font-weight: 900; }
.feature-memory-board article p { margin: 0; color: #59647a; font-size: 10px; font-weight: 750; }
.feature-memory-board article b { display: grid; width: 24px; height: 24px; place-items: center; color: #ffffff; background: #a18391; border-radius: 50%; font-size: 9px; }

.feature-carousel-controls {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  gap: 12px;
  align-items: center;
}

.feature-carousel-controls > button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #64758e;
  background: #f2f5f9;
  border: 1px solid #e1e6ee;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
}

.feature-carousel-dots {
  display: flex;
  gap: 7px;
  align-items: center;
  justify-content: center;
}

.feature-carousel-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  background: #cfd6e0;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: width 180ms ease, background 180ms ease;
}

.feature-carousel-dots button.active {
  width: 26px;
  background: linear-gradient(90deg, #7d9bb5, #aa8d9b);
}

.feature-app-link {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #ffffff;
  background: linear-gradient(135deg, #789db8, #9b91aa);
  border-radius: 15px;
  box-shadow: 0 14px 28px rgba(91, 106, 151, 0.2);
  font-size: 13px;
  font-weight: 900;
}

@media (max-width: 759px) {
  .app-feature-showcase {
    padding: 12px;
    border-radius: 22px;
  }

  .feature-showcase-head {
    padding: 5px 5px 0;
  }

  .app-feature-slide {
    grid-template-columns: 1fr;
    gap: 24px;
    min-height: 680px;
    padding: 26px 18px;
  }

  .home-page .feature-copy h3 {
    font-size: 28px;
  }

  .feature-phone-card,
  .feature-chat-card,
  .feature-world-card,
  .feature-memory-board {
    align-self: end;
  }
}

@media (prefers-reduced-motion: reduce) {
  .app-feature-carousel {
    scroll-behavior: auto;
  }

  .feature-world-card > img {
    animation: none;
  }
}

/* ============================================================
   Plan tab — 확인 → 진행 → 수정 flow. Numbered edit steps and a
   folded-in routine strip replace the old flat 4-button editor.
   ============================================================ */
.execution-page .routine-strip {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--soft-border);
}

.execution-page .routine-strip-head {
  display: grid;
  gap: 2px;
}

.execution-page .routine-strip-head strong {
  color: var(--soft-text);
  font-size: 13px;
  font-weight: 700;
}

.execution-page .routine-strip-head span {
  color: var(--soft-muted);
  font-size: 12px;
  line-height: 1.5;
}

/* Numbered edit steps inside the 계획 수정하기 card */
.execution-page .plan-editor-card .edit-step {
  display: grid;
  gap: 10px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--soft-border);
  border-radius: 16px;
}

.execution-page .edit-step-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--soft-text);
  font-size: 13px;
  font-weight: 700;
}

.execution-page .edit-step-label i {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 20px;
  height: 20px;
  color: #ffffff;
  background: var(--soft-primary);
  border-radius: 50%;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

/* Primary / ghost call-to-action buttons for the edit flow */
.execution-page .plan-cta {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  color: #ffffff;
  background: var(--soft-primary);
  border: 1px solid var(--soft-primary);
  border-radius: 14px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s ease, opacity 0.18s ease;
}

.execution-page .plan-cta:hover:not(:disabled) {
  background: var(--soft-primary-dark);
}

.execution-page .plan-cta.ghost {
  color: var(--soft-primary-dark);
  background: rgba(255, 255, 255, 0.85);
  border-color: var(--soft-border);
}

.execution-page .plan-cta.ghost:hover:not(:disabled) {
  background: var(--soft-primary-soft);
}

.execution-page .plan-apply-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.execution-page .plan-text-link {
  justify-self: start;
  padding: 4px 2px;
  color: var(--soft-primary-dark);
  background: none;
  border: 0;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

/* Any disabled control in the edit flow reads as "not this step yet" */
.execution-page .plan-editor-card button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

/* Ollie-led problem story */
.home-page .problem {
  isolation: isolate;
}

.home-page .problem::before {
  position: absolute;
  z-index: -1;
  top: 14%;
  left: 50%;
  width: min(820px, 82vw);
  height: 72%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0) 70%);
  content: "";
  transform: translateX(-50%);
  pointer-events: none;
}

.home-page .problem .section-heading {
  max-width: 760px;
  margin: 0 auto 36px;
  text-align: center;
}

.home-page .problem .section-heading .eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 14px;
  padding: 0 13px;
  color: #718ba2;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(91, 106, 151, 0.08);
  font-size: 11px;
  letter-spacing: 0.1em;
}

.home-page .problem .problem-lead {
  max-width: 570px;
  margin: 14px auto 0;
  color: #737a8c;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.75;
}

.home-page .problem-scene {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 1.1fr);
  align-items: center;
  gap: clamp(30px, 6vw, 86px);
  max-width: 1050px;
  margin-inline: auto;
  padding: clamp(24px, 5vw, 58px);
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.95) 0 4px, transparent 5px),
    radial-gradient(circle at 92% 82%, rgba(255, 255, 255, 0.82) 0 5px, transparent 6px),
    linear-gradient(135deg, rgba(238, 248, 248, 0.9), rgba(248, 239, 244, 0.88));
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: clamp(30px, 5vw, 48px);
  box-shadow: 0 28px 70px rgba(91, 106, 151, 0.14);
}

.home-page .problem-ollie {
  position: relative;
  display: grid;
  justify-items: center;
}

.home-page .ollie-portrait {
  position: relative;
  display: grid;
  width: min(100%, 310px);
  aspect-ratio: 1 / 0.94;
  place-items: center;
}

.home-page .ollie-orbit {
  position: absolute;
  inset: 11% 3% 2%;
  background: linear-gradient(145deg, #dceff1, #e3e5f3 58%, #f5dfe5);
  border: 9px solid rgba(255, 255, 255, 0.56);
  border-radius: 50% 46% 52% 48%;
  transform: rotate(-5deg);
}

.home-page .problem-ollie img.mascot-card {
  position: relative;
  z-index: 1;
  width: 72%;
  height: 94%;
  margin: 0;
  object-fit: contain;
  filter: drop-shadow(0 22px 20px rgba(91, 106, 151, 0.2));
}

.home-page .ollie-spark {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  color: #90afba;
}

.home-page .ollie-spark-one {
  top: 8%;
  left: 1%;
  font-size: 25px;
  transform: rotate(-12deg);
}

.home-page .ollie-spark-two {
  top: 28%;
  right: 0;
  color: #dc9ba7;
  font-size: 10px;
}

.home-page .ollie-talk {
  position: relative;
  z-index: 3;
  width: min(100%, 330px);
  margin-top: -26px;
  padding: 17px 20px 18px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.96);
  border-radius: 20px;
  box-shadow: 0 16px 34px rgba(91, 106, 151, 0.13);
  text-align: center;
}

.home-page .ollie-talk::before {
  position: absolute;
  top: -8px;
  left: calc(50% - 8px);
  width: 16px;
  height: 16px;
  background: #ffffff;
  content: "";
  transform: rotate(45deg);
}

.home-page .ollie-talk span {
  position: relative;
  color: #83a3af;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.home-page .ollie-talk p,
.home-page .problem-core p {
  position: relative;
  margin: 6px 0 0;
  color: #3b4765;
  font-size: clamp(14px, 1.5vw, 17px);
  font-weight: 800;
  line-height: 1.65;
}

.home-page .problem-reasons {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: reason;
}

.home-page .problem-reasons li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 14px;
  min-height: 104px;
  padding: 17px 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 22px;
  box-shadow: 0 12px 28px rgba(91, 106, 151, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.home-page .problem-reasons li:nth-child(2) {
  transform: translateX(20px);
}

.home-page .problem-reasons li:hover {
  transform: translateX(-5px);
  box-shadow: 0 18px 36px rgba(91, 106, 151, 0.14);
}

.home-page .problem-reasons li:nth-child(2):hover {
  transform: translateX(15px);
}

.home-page .reason-number {
  color: #a7afc0;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.home-page .problem-reasons small {
  display: block;
  margin-bottom: 5px;
  color: #9a8290;
  font-size: 11px;
  font-weight: 900;
}

.home-page .problem-reasons h3 {
  margin: 0;
  color: #39425b;
  font-size: clamp(14px, 1.5vw, 17px);
  font-weight: 700;
  line-height: 1.45;
}

.home-page .reason-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  font-size: 17px;
  font-weight: 900;
}

.home-page .reason-mark-blue {
  color: #6f91a4;
  background: #e5f2f4;
}

.home-page .reason-mark-peach {
  color: #b17d6e;
  background: #f9e7df;
}

.home-page .reason-mark-lilac {
  color: #8b82a5;
  background: #eee9f7;
}

@media (max-width: 759px) {
  .home-page .problem .section-heading {
    margin-bottom: 24px;
  }

  .home-page .problem-scene {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 24px 16px 18px;
    border-radius: 30px;
  }

  .home-page .ollie-portrait {
    width: min(78vw, 280px);
  }

  .home-page .ollie-talk {
    width: min(88%, 330px);
  }

  .home-page .problem-reasons {
    width: 100%;
  }

  .home-page .problem-reasons li,
  .home-page .problem-reasons li:nth-child(2),
  .home-page .problem-reasons li:hover,
  .home-page .problem-reasons li:nth-child(2):hover {
    min-height: 92px;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .problem-reasons li {
    transition: none;
  }
}

/* Ollie's tiny-step garden */
.home-page .product-pillars {
  position: relative;
  padding-top: clamp(58px, 8vw, 96px);
  padding-bottom: clamp(64px, 9vw, 108px);
  background: transparent;
}

.home-page .product-pillars .section-heading {
  max-width: 760px;
  margin: 0 auto 36px;
  text-align: center;
}

.home-page .product-pillars .section-heading .eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 14px;
  padding: 0 13px;
  color: #9b7d8d;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(91, 106, 151, 0.07);
  font-size: 11px;
  letter-spacing: 0.1em;
}

.home-page .product-pillars .pillar-lead {
  max-width: 570px;
  margin: 14px auto 0;
  color: #737a8c;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.75;
}

.home-page .pillar-garden {
  position: relative;
  display: grid;
  grid-template-columns: minmax(230px, 1fr) minmax(230px, 0.92fr) minmax(230px, 1fr);
  grid-template-rows: repeat(2, minmax(160px, auto));
  gap: 16px 24px;
  max-width: 1060px;
  margin-inline: auto;
  padding: clamp(24px, 5vw, 54px);
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 84%, rgba(199, 228, 222, 0.52), transparent 25%),
    radial-gradient(circle at 88% 12%, rgba(244, 208, 216, 0.52), transparent 24%),
    linear-gradient(145deg, rgba(248, 251, 249, 0.93), rgba(244, 241, 249, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: clamp(32px, 5vw, 50px);
  box-shadow: 0 30px 74px rgba(91, 106, 151, 0.14);
}

.home-page .pillar-garden::after {
  position: absolute;
  right: 7%;
  bottom: -34px;
  left: 7%;
  height: 68px;
  background: rgba(185, 215, 209, 0.22);
  border-radius: 50% 50% 0 0;
  content: "";
}

.home-page .pillar-card {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-content: center;
  gap: 12px;
  min-height: 164px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.96);
  border-radius: 24px;
  box-shadow: 0 15px 34px rgba(91, 106, 151, 0.09);
  backdrop-filter: blur(8px);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.home-page .pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 42px rgba(91, 106, 151, 0.14);
}

.home-page .pillar-plan {
  grid-column: 1;
  grid-row: 1;
}

.home-page .pillar-do {
  grid-column: 3;
  grid-row: 1;
}

.home-page .pillar-grow {
  grid-column: 3;
  grid-row: 2;
}

.home-page .pillar-number {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #839ba5;
  background: #e7f2f1;
  border-radius: 13px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.home-page .pillar-do .pillar-number {
  color: #aa7d70;
  background: #f8e7df;
}

.home-page .pillar-grow .pillar-number {
  color: #8c83a4;
  background: #eee9f6;
}

.home-page .pillar-copy {
  align-self: center;
}

.home-page .pillar-copy small {
  display: block;
  margin-bottom: 5px;
  color: #8ca9a7;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.home-page .pillar-do .pillar-copy small {
  color: #bb8c7e;
}

.home-page .pillar-grow .pillar-copy small {
  color: #968cab;
}

.home-page .pillar-copy h3 {
  max-width: none;
  margin: 0;
  color: #3b455f;
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 800;
  line-height: 1.35;
}

.home-page .pillar-copy p {
  margin: 7px 0 0;
  color: #7a8192;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
}

.home-page .pillar-symbol {
  position: absolute;
  right: 16px;
  bottom: 14px;
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 900;
}

.home-page .pillar-symbol-plan {
  color: #7b9ea0;
  background: #eef8f5;
}

.home-page .pillar-symbol-do {
  color: #b68072;
  background: #fff1ea;
}

.home-page .pillar-symbol-grow {
  color: #8b80a6;
  background: #f3eef9;
}

.home-page .pillar-ollie {
  position: relative;
  z-index: 3;
  display: grid;
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: stretch;
  place-items: center;
  min-height: 350px;
}

.home-page .pillar-ollie-halo {
  position: absolute;
  width: 112%;
  aspect-ratio: 1;
  background: linear-gradient(145deg, rgba(213, 237, 233, 0.9), rgba(231, 226, 242, 0.88) 58%, rgba(250, 224, 228, 0.9));
  border: 9px solid rgba(255, 255, 255, 0.54);
  border-radius: 46% 54% 48% 52%;
  transform: rotate(7deg);
}

.home-page .pillar-ollie img {
  position: relative;
  z-index: 2;
  width: min(92%, 245px);
  height: 82%;
  object-fit: contain;
  filter: drop-shadow(0 24px 22px rgba(91, 106, 151, 0.2));
}

.home-page .pillar-ollie-bubble {
  position: absolute;
  z-index: 4;
  bottom: 7%;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 0 15px;
  color: #485471;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.98);
  border-radius: 999px;
  box-shadow: 0 13px 28px rgba(91, 106, 151, 0.14);
  font-size: 12px;
  white-space: nowrap;
  transform: translateX(-50%);
}

.home-page .pillar-ollie-bubble span {
  color: #d99aa8;
  font-size: 11px;
}

.home-page .pillar-spark {
  position: absolute;
  z-index: 4;
  color: #88aaa8;
}

.home-page .pillar-spark-one {
  top: 9%;
  left: -3%;
  font-size: 23px;
}

.home-page .pillar-spark-two {
  top: 22%;
  right: -2%;
  color: #d99aa8;
  font-size: 9px;
}

.home-page .pillar-promise {
  position: relative;
  z-index: 2;
  display: grid;
  grid-column: 1;
  grid-row: 2;
  align-content: center;
  min-height: 164px;
  padding: 22px;
  color: #ffffff;
  background: linear-gradient(145deg, #86a9a6, #8a95b1 62%, #ab91a0);
  border-radius: 24px;
  box-shadow: 0 17px 36px rgba(91, 106, 151, 0.16);
}

.home-page .pillar-promise span {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.home-page .pillar-promise strong {
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.55;
}

@media (max-width: 860px) {
  .home-page .pillar-garden {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }

  .home-page .pillar-ollie {
    grid-column: 1 / -1;
    grid-row: 1;
    min-height: 300px;
    margin-bottom: 6px;
  }

  .home-page .pillar-ollie-halo {
    width: min(300px, 78%);
  }

  .home-page .pillar-ollie img {
    width: min(215px, 60%);
  }

  .home-page .pillar-plan,
  .home-page .pillar-do,
  .home-page .pillar-grow,
  .home-page .pillar-promise {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 560px) {
  .home-page .product-pillars .section-heading {
    margin-bottom: 24px;
  }

  .home-page .pillar-garden {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 22px 15px 18px;
    border-radius: 30px;
  }

  .home-page .pillar-ollie {
    grid-column: 1;
    min-height: 280px;
  }

  .home-page .pillar-card,
  .home-page .pillar-promise {
    min-height: 145px;
  }

  .home-page .pillar-promise {
    order: 5;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .pillar-card {
    transition: none;
  }
}

/* Trial-led conversion path */
.home-page .trial-conversion-path {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 4px 0 14px;
  padding: 0;
  list-style: none;
}

.home-page .trial-conversion-path li {
  position: relative;
  display: grid;
  align-content: start;
  min-height: 112px;
  padding: 15px;
  color: #44516b;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.94);
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(91, 106, 151, 0.08);
}

.home-page .trial-conversion-path li:not(:last-child)::after {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: -9px;
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  color: #8399a7;
  background: #ffffff;
  border-radius: 50%;
  content: "›";
  font-size: 13px;
  font-weight: 900;
  transform: translateY(-50%);
}

.home-page .trial-conversion-path span {
  margin-bottom: 9px;
  color: #9a8290;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.home-page .trial-conversion-path strong {
  color: #3c4761;
  font-size: 14px;
}

.home-page .trial-conversion-path small {
  margin-top: 5px;
  color: #7b8291;
  font-size: 11px;
  line-height: 1.45;
}

.home-page .trial-transparency-copy {
  margin: 11px 0 0;
  color: #737a8c;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

.home-page .trial-contact-card {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding: 17px;
  background: rgba(247, 250, 252, 0.92);
  border: 1px solid rgba(107, 122, 166, 0.14);
  border-radius: 18px;
}

.home-page .trial-contact-card > p {
  margin: -4px 0 3px;
  color: #7a8191;
  font-size: 11px;
  line-height: 1.5;
}

.home-page .consent-row {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  margin: 0;
  padding: 11px 12px;
  color: #596276;
  background: #ffffff;
  border: 1px solid rgba(107, 122, 166, 0.12);
  border-radius: 13px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
}

.home-page .consent-row input {
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  accent-color: #7d9d9b;
}

.home-page .consent-row strong {
  color: #8a7180;
}

.home-page .consent-row small {
  display: block;
  margin-top: 3px;
  color: #8b91a0;
  font-size: 10px;
  font-weight: 500;
}

.home-page .required-consent {
  border-color: rgba(125, 157, 155, 0.28);
}

.home-page .trial-terms-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 12px;
  padding: 11px 13px;
  color: #59667c;
  background: #eef5f3;
  border-radius: 13px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.55;
}

.home-page .trial-terms-note span {
  color: #739997;
}

.home-page .trial-expiry-policy {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 16px;
  background: rgba(235, 242, 246, 0.84);
  border: 1px solid rgba(107, 122, 166, 0.12);
  border-radius: 18px;
}

.home-page .trial-expiry-policy > span {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(145deg, #82a4a2, #8d91ac);
  border-radius: 18px;
  font-size: 13px;
  font-weight: 900;
}

.home-page .trial-expiry-policy p {
  margin: 0;
  color: #71798a;
  font-size: 12px;
  line-height: 1.6;
}

.home-page .trial-expiry-policy strong {
  display: block;
  margin-bottom: 2px;
  color: #46506a;
}

.trial-status-banner {
  position: sticky;
  z-index: 25;
  top: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 42px;
  padding: 8px 18px;
  color: #4c586f;
  background: rgba(239, 247, 245, 0.96);
  border-bottom: 1px solid rgba(107, 122, 166, 0.12);
  backdrop-filter: blur(14px);
  font-size: 12px;
}

.trial-status-banner[hidden],
.trial-paywall[hidden] {
  display: none !important;
}

.trial-status-banner > span {
  color: #789896;
  font-weight: 900;
}

.trial-status-banner strong {
  color: #3e4961;
}

.trial-status-banner a {
  padding: 6px 10px;
  color: #ffffff;
  background: #7f91aa;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
}

.trial-paywall {
  position: fixed;
  z-index: 120;
  inset: 0;
  display: grid;
  overflow-y: auto;
  place-items: center;
  padding: 24px;
  background: rgba(42, 49, 69, 0.58);
  backdrop-filter: blur(14px);
}

.trial-paywall-card {
  display: grid;
  justify-items: center;
  width: min(100%, 430px);
  padding: 28px;
  background:
    radial-gradient(circle at 10% 0%, rgba(217, 239, 235, 0.75), transparent 35%),
    linear-gradient(145deg, #ffffff, #f8f3f6);
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 30px;
  box-shadow: 0 34px 80px rgba(34, 42, 62, 0.3);
  text-align: center;
}

.trial-paywall-card > img {
  width: 116px;
  height: 136px;
  margin-top: -54px;
  object-fit: contain;
  filter: drop-shadow(0 16px 18px rgba(91, 106, 151, 0.18));
}

.trial-paywall-card > span {
  margin-top: 6px;
  color: #8a7d92;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.trial-paywall-card h2 {
  margin: 9px 0 0;
  color: #374159;
  font-size: clamp(24px, 5vw, 30px);
  line-height: 1.28;
}

.trial-paywall-card > p {
  margin: 11px 0 0;
  color: #737b8b;
  font-size: 13px;
  line-height: 1.65;
}

.trial-paywall-price {
  display: flex;
  align-items: end;
  gap: 10px;
  margin-top: 17px;
  padding: 11px 16px;
  background: #eef4f3;
  border-radius: 15px;
}

.trial-paywall-price small {
  color: #7a8391;
  font-size: 10px;
}

.trial-paywall-price strong {
  color: #52677a;
  font-size: 21px;
}

.trial-paywall-card ul {
  display: grid;
  gap: 7px;
  width: 100%;
  margin: 18px 0;
  padding: 0;
  color: #596278;
  list-style: none;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
}

.trial-paywall-card li::before {
  margin-right: 8px;
  color: #7d9d9b;
  content: "✓";
  font-weight: 900;
}

.trial-paywall-card > a {
  display: grid;
  width: 100%;
  min-height: 50px;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, #7da09d, #8992ad);
  border-radius: 15px;
  box-shadow: 0 14px 26px rgba(91, 106, 151, 0.18);
  font-size: 13px;
  font-weight: 900;
}

.trial-paywall-card > small {
  margin-top: 11px;
  color: #8a91a0;
  font-size: 10px;
  line-height: 1.5;
}

.trial-locked {
  overflow: hidden;
}

@media (max-width: 720px) {
  .home-page .trial-conversion-path {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-page .trial-conversion-path li:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 520px) {
  .home-page .trial-conversion-path {
    grid-template-columns: 1fr;
  }

  .home-page .trial-conversion-path li {
    min-height: 92px;
  }

  .trial-status-banner {
    top: 64px;
    flex-wrap: wrap;
    gap: 5px 10px;
  }

  .trial-paywall {
    align-items: end;
    padding: 14px;
  }

  .trial-paywall-card {
    padding: 24px 20px 20px;
    border-radius: 26px;
  }
}

/* Pricing System v1 — Ollie Energy */
.home-page .pricing-offers {
  width: min(100%, 980px);
  max-width: 980px;
}

.home-page .ollie-energy-system,
.home-page .energy-packs {
  grid-column: 1 / -1;
}

.home-page .ollie-energy-system {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 32px);
  background:
    radial-gradient(circle at 90% 0%, rgba(214, 236, 232, 0.72), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(242, 240, 248, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.94);
  border-radius: 28px;
  box-shadow: 0 20px 48px rgba(91, 106, 151, 0.12);
}

.home-page .energy-system-heading {
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) minmax(280px, 1.15fr);
  gap: 24px;
  align-items: end;
}

.home-page .energy-system-heading span,
.home-page .energy-packs > div > span {
  display: block;
  margin-bottom: 6px;
  color: #789a97;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.home-page .energy-system-heading h3,
.home-page .energy-packs h3 {
  margin: 0;
  color: #3d4862;
  font-size: clamp(21px, 3vw, 27px);
}

.home-page .energy-system-heading p,
.home-page .energy-packs > div > p {
  margin: 0;
  color: #737b8d;
  font-size: 13px;
  line-height: 1.65;
}

.home-page .energy-cost-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.home-page .energy-cost-grid article {
  display: grid;
  align-content: start;
  min-height: 138px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(107, 122, 166, 0.1);
  border-radius: 18px;
}

.home-page .energy-cost-grid article > span {
  display: grid;
  width: 36px;
  height: 36px;
  margin-bottom: 13px;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(145deg, #7ca19d, #8794ad);
  border-radius: 13px;
  font-size: 13px;
  font-weight: 900;
}

.home-page .energy-cost-grid strong {
  color: #45506a;
  font-size: 13px;
  line-height: 1.35;
}

.home-page .energy-cost-grid small {
  margin-top: 5px;
  color: #828999;
  font-size: 10px;
  line-height: 1.45;
}

.home-page .energy-reset-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 11px 13px;
  color: #6d7587;
  background: rgba(230, 240, 239, 0.72);
  border-radius: 13px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
}

.home-page .energy-reset-note span {
  color: #6f9996;
  font-size: 16px;
}

.home-page .energy-packs {
  display: grid;
  grid-template-columns: minmax(210px, 0.8fr) minmax(0, 1.6fr);
  gap: 24px;
  align-items: center;
  padding: 24px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 24px;
  box-shadow: 0 16px 36px rgba(91, 106, 151, 0.09);
}

.home-page .energy-pack-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.home-page .energy-pack-grid article {
  position: relative;
  display: grid;
  min-height: 118px;
  padding: 15px;
  background: #ffffff;
  border: 1px solid rgba(107, 122, 166, 0.12);
  border-radius: 17px;
}

.home-page .energy-pack-grid article.recommended {
  background: #eef5f3;
  border-color: rgba(107, 151, 146, 0.34);
}

.home-page .energy-pack-grid span {
  color: #9a8390;
  font-size: 9px;
  font-weight: 900;
}

.home-page .energy-pack-grid strong {
  align-self: end;
  color: #46516a;
  font-size: 14px;
}

.home-page .energy-pack-grid b {
  margin-top: 4px;
  color: #758e98;
  font-size: 18px;
}

.execution-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ollie-energy-meter {
  display: grid;
  grid-template-columns: 24px auto auto;
  grid-template-rows: auto 4px;
  gap: 3px 8px;
  min-width: 142px;
  padding: 8px 11px;
  color: #4b566d;
  background: rgba(239, 247, 245, 0.92);
  border: 1px solid rgba(107, 122, 166, 0.12);
  border-radius: 14px;
}

.energy-charge-button {
  display: inline-flex;
  grid-row: 1 / 3;
  align-self: center;
  align-items: center;
  justify-content: center;
  gap: 2px;
  height: 24px;
  min-width: 52px;
  padding: 0 8px;
  color: #59677d;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(107, 122, 166, 0.22);
  border-radius: 999px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.energy-charge-button em {
  display: inline;
  font-style: normal;
  font-size: 9px;
  font-weight: 900;
}

.menu-toggle {
  display: inline-flex;
  min-height: 36px;
  padding: 0 10px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: #536079;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(107, 122, 166, 0.18);
  border-radius: 12px;
  font-family: inherit;
  font-weight: 900;
  cursor: pointer;
}

.menu-toggle-icon {
  font-size: 15px;
  line-height: 1;
}

.menu-toggle em {
  font-style: normal;
  font-size: 9px;
}

.energy-charge-button:hover {
  color: #ffffff;
  background: linear-gradient(145deg, #79a29d, #8494ae);
  border-color: transparent;
}

.ollie-energy-meter.is-low .energy-charge-button {
  color: #ffffff;
  background: linear-gradient(145deg, #d58d7a, #bd8394);
  border-color: transparent;
  animation: charge-pulse 1.7s ease infinite;
}

.ollie-energy-meter.is-low .energy-charge-button em {
  display: inline;
}

.ollie-energy-meter.is-charged {
  animation: meter-charged 1.1s ease;
}

@keyframes charge-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(213, 141, 122, 0.5);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(213, 141, 122, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(213, 141, 122, 0);
  }
}

@keyframes meter-charged {
  0% {
    box-shadow: 0 0 0 0 rgba(121, 162, 157, 0.55);
  }
  55% {
    box-shadow: 0 0 0 9px rgba(121, 162, 157, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(121, 162, 157, 0);
  }
}

.ollie-energy-meter .energy-leaf {
  display: grid;
  grid-row: 1 / 3;
  width: 24px;
  height: 24px;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(145deg, #79a29d, #8494ae);
  border-radius: 9px 13px 9px 13px;
  font-size: 8px;
  transform: rotate(-7deg);
}

.ollie-energy-meter > div:first-of-type {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 7px;
}

.ollie-energy-meter small {
  color: #778193;
  font-size: 9px;
  font-weight: 800;
}

.ollie-energy-meter strong {
  color: #46526a;
  font-size: 11px;
}

.ollie-energy-track {
  overflow: hidden;
  background: rgba(107, 122, 166, 0.12);
  border-radius: 999px;
}

.ollie-energy-track span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #7aa39d, #8c97b1);
  border-radius: inherit;
  transition: width 180ms ease;
}

.ollie-energy-meter.is-low {
  background: #fff1ed;
  border-color: rgba(204, 129, 109, 0.28);
}

.ollie-energy-meter.is-low .energy-leaf,
.ollie-energy-meter.is-low .ollie-energy-track span {
  background: linear-gradient(145deg, #d58d7a, #bd8394);
}

.ollie-energy-warning {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px clamp(18px, 4vw, 42px);
  color: #6e514e;
  background: #fff0ec;
  border-bottom: 1px solid rgba(190, 126, 112, 0.18);
  font-size: 11px;
}

.ollie-energy-warning[hidden] {
  display: none !important;
}

.ollie-energy-warning > span {
  color: #cf806f;
  font-size: 9px;
}

.ollie-energy-warning p {
  margin: 0;
  line-height: 1.5;
}

.ollie-energy-warning a,
.ollie-energy-warning button {
  padding: 7px 10px;
  color: #ffffff;
  background: #bd7d76;
  border: none;
  border-radius: 999px;
  font-family: inherit;
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
}

.energy-charge-balance {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--routine-soft, #f2f6f4);
  border: 1px solid var(--routine-line, #e0e7e3);
  border-radius: 16px;
}

.energy-charge-balance .energy-leaf {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(145deg, #79a29d, #8494ae);
  border-radius: 10px 14px 10px 14px;
  font-size: 9px;
  transform: rotate(-7deg);
}

.energy-charge-balance small {
  display: block;
  color: #778193;
  font-size: 10px;
  font-weight: 800;
}

.energy-charge-balance strong {
  color: #46526a;
  font-size: 15px;
}

.energy-pack-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.energy-pack {
  display: grid;
  gap: 3px;
  padding: 15px 8px 13px;
  background: #ffffff;
  border: 1px solid var(--routine-line, #e0e7e3);
  border-radius: 16px;
  font-family: inherit;
  text-align: center;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.energy-pack:hover {
  border-color: #8494ae;
  box-shadow: 0 10px 24px rgba(107, 122, 166, 0.14);
  transform: translateY(-1px);
}

.energy-pack strong {
  color: var(--routine-text, #2b3a37);
  font-size: 19px;
}

.energy-pack span {
  color: var(--routine-muted, #6d7a76);
  font-size: 10px;
  font-weight: 800;
}

.energy-pack em {
  margin-top: 3px;
  color: #5b6a97;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.energy-pack.is-featured {
  background: linear-gradient(180deg, #f4f8ff, #ffffff);
  border-color: #8494ae;
  box-shadow: 0 10px 24px rgba(91, 106, 151, 0.14);
}

.energy-pro-link {
  color: var(--routine-muted, #6d7a76);
  font-size: 12px;
  text-align: center;
}

.energy-pro-link strong {
  color: #5b6a97;
}

.weekly-plan-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

.energy-action-button {
  min-height: 34px;
  padding: 0 10px;
  color: #59677d;
  background: #eef5f3;
  border: 1px solid rgba(107, 151, 146, 0.2);
  border-radius: 10px;
  font-family: inherit;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}

.energy-action-button span,
.button-energy-cost {
  display: inline-grid;
  min-width: 20px;
  min-height: 20px;
  margin-left: 4px;
  padding-inline: 5px;
  place-items: center;
  color: #ffffff;
  background: rgba(71, 92, 110, 0.55);
  border-radius: 999px;
  font-size: 9px;
  line-height: 1;
}

.plan-cta .button-energy-cost {
  background: rgba(255, 255, 255, 0.24);
}

@media (max-width: 760px) {
  .home-page .energy-system-heading,
  .home-page .energy-packs {
    grid-template-columns: 1fr;
  }

  .home-page .energy-cost-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .execution-header-actions .ghost-link {
    display: none;
  }
}

@media (max-width: 520px) {
  .home-page .energy-pack-grid {
    grid-template-columns: 1fr;
  }

  .home-page .energy-pack-grid article {
    min-height: 92px;
  }

  .ollie-energy-meter {
    min-width: 130px;
  }

  .ollie-energy-warning {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .ollie-energy-warning a {
    grid-column: 2;
    justify-self: start;
  }

  .weekly-plan-actions {
    align-items: flex-end;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ollie-energy-track span {
    transition: none;
  }

  .ollie-energy-meter.is-low .energy-charge-button,
  .ollie-energy-meter.is-charged {
    animation: none;
  }
}

/* ============================================================
   Unified Ollie app — matches the pastel, character-led landing page
   ============================================================ */
.execution-page {
  --app-ink: #343e57;
  --app-muted: #747d8e;
  --app-mint: #7fa7a2;
  --app-mint-soft: #e8f3f1;
  --app-rose: #c994a1;
  --app-lilac: #8d91ad;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(90% 70% at 5% 3%, rgba(210, 229, 238, 0.92), transparent 60%),
    radial-gradient(85% 75% at 100% 45%, rgba(246, 218, 224, 0.72), transparent 62%),
    linear-gradient(145deg, #e8eef6 0%, #eeeaf3 50%, #f7e9ec 100%);
  background-attachment: fixed;
}

.execution-page::before,
.execution-page::after {
  position: fixed;
  z-index: -1;
  width: 280px;
  height: 280px;
  content: "";
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.execution-page::before {
  top: 18%;
  left: -120px;
  background: rgba(191, 222, 218, 0.28);
}

.execution-page::after {
  right: -120px;
  bottom: 10%;
  background: rgba(226, 190, 204, 0.24);
}

.execution-page .execution-header {
  position: sticky;
  z-index: 40;
  top: 14px;
  width: min(calc(100% - 32px), 1160px);
  min-height: 68px;
  margin: 14px auto 0;
  padding: 10px 14px 10px 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 22px;
  box-shadow: 0 14px 36px rgba(91, 106, 151, 0.1);
  backdrop-filter: blur(20px);
}

.execution-page .execution-header .brand-logo {
  width: clamp(142px, 15vw, 178px);
}

.execution-page .ghost-link,
.execution-page .text-button {
  color: #52617c;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(107, 122, 166, 0.14);
}

.execution-page .trial-status-banner,
.execution-page .ollie-energy-warning {
  width: min(calc(100% - 32px), 1120px);
  margin: 8px auto 0;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(91, 106, 151, 0.07);
}

.execution-page .execution-app {
  display: block;
  width: min(100%, 1180px);
  max-width: 1180px;
  margin-inline: auto;
  padding: 28px 30px 120px;
}

.execution-page .app-view.is-active {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
  gap: 18px;
}

.execution-page .execution-card,
.execution-page .execution-hero,
.execution-page .companion-home-card {
  color: var(--app-ink);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 26px;
  box-shadow: 0 20px 48px rgba(91, 106, 151, 0.11);
  backdrop-filter: blur(14px);
}

.execution-page .execution-card {
  padding: 24px;
}

.execution-page .execution-hero {
  position: relative;
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) 260px 104px;
  gap: 24px;
  align-items: center;
  min-height: 270px;
  padding: 30px 34px;
  overflow: hidden;
  background:
    radial-gradient(circle at 68% 32%, rgba(207, 234, 230, 0.9), transparent 28%),
    radial-gradient(circle at 92% 90%, rgba(241, 212, 220, 0.8), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(239, 238, 248, 0.88));
  border-radius: 38px;
}

.execution-page .execution-hero::after {
  position: absolute;
  right: 7%;
  bottom: -34px;
  width: 330px;
  height: 76px;
  background: rgba(126, 168, 161, 0.16);
  border-radius: 50%;
  content: "";
}

.execution-page .execution-hero > div:first-child {
  position: relative;
  z-index: 2;
}

.execution-page .execution-hero .eyebrow {
  display: inline-flex;
  min-height: 27px;
  align-items: center;
  margin: 0;
  padding: 0 10px;
  color: #748f9b;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.execution-page .execution-hero h1 {
  max-width: 520px;
  margin: 15px 0 10px;
  color: var(--app-ink);
  font-family: "Jalnan", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: clamp(34px, 4.7vw, 58px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.execution-page .today-ollie-stage {
  position: relative;
  z-index: 2;
  display: grid;
  align-self: stretch;
  place-items: center;
}

.execution-page .today-ollie-stage img {
  width: 210px;
  height: 230px;
  object-fit: contain;
  filter: drop-shadow(0 22px 22px rgba(91, 106, 151, 0.2));
}

.execution-page .today-ollie-stage span {
  position: absolute;
  right: -4px;
  bottom: 8px;
  padding: 10px 13px;
  color: #4f5d74;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.98);
  border-radius: 15px 15px 15px 4px;
  box-shadow: 0 10px 24px rgba(91, 106, 151, 0.12);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.45;
}

.execution-page .execution-gauge {
  position: relative;
  z-index: 2;
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.8);
  border: 8px solid rgba(127, 167, 162, 0.25);
  box-shadow: inset 0 0 0 1px rgba(107, 122, 166, 0.1), 0 14px 28px rgba(91, 106, 151, 0.1);
}

.execution-page .execution-gauge strong {
  color: #647895;
  font-size: 29px;
}

.execution-page #view-today .focus-task-card {
  grid-column: 1;
}

.execution-page #view-today .today-card {
  grid-column: 2;
  grid-row: 2 / span 3;
}

.execution-page #view-today .recovery-card {
  grid-column: 1 / -1;
}

.execution-page #view-today .progress-card,
.execution-page #view-today .coach-card {
  grid-column: 1;
}

.execution-page .focus-task-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 116px;
  gap: 16px;
  align-items: center;
  padding: 27px;
  background:
    radial-gradient(circle at 100% 0%, rgba(216, 235, 232, 0.78), transparent 38%),
    rgba(255, 255, 255, 0.84);
}

.execution-page .focus-task-copy > span {
  color: #91a6a9;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.execution-page .focus-task-copy h2,
.execution-page .card-title.compact h2 {
  color: var(--app-ink);
  font-size: clamp(18px, 2.1vw, 24px);
}

.execution-page .focus-task-goal {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(107, 122, 166, 0.12);
}

.execution-page .focus-start-button {
  background: linear-gradient(135deg, #789f9b, #8993ad);
  box-shadow: 0 13px 28px rgba(91, 106, 151, 0.2);
}

.execution-page .today-card {
  padding: 28px;
}

.execution-page .execution-checklist {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.execution-page .execution-checklist .task-row {
  position: relative;
  display: grid;
  grid-template-columns: 54px 36px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  padding: 0;
  border: 0;
  cursor: pointer;
}

.execution-page .execution-checklist .task-row > strong {
  color: #53617b;
  font-size: 11px;
  text-align: right;
}

.execution-page .execution-checklist .execution-check {
  position: relative;
  z-index: 2;
  display: grid;
  width: 34px;
  height: 34px;
  margin: 0;
  appearance: none;
  place-items: center;
  background: #ffffff;
  border: 2px solid #d6deeb;
  border-radius: 13px;
  cursor: pointer;
}

.execution-page .execution-checklist .execution-check::after {
  content: "✓";
  color: #ffffff;
  font-size: 17px;
  font-weight: 950;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 160ms ease, transform 160ms ease;
}

.execution-page .execution-checklist .execution-check:checked {
  background: linear-gradient(145deg, #75ad9a, #83a8a1);
  border-color: transparent;
  box-shadow: 0 9px 18px rgba(103, 157, 140, 0.24);
}

.execution-page .execution-checklist .execution-check:checked::after {
  opacity: 1;
  transform: scale(1);
}

.execution-page .task-timeline-node {
  position: absolute;
  z-index: 0;
  top: 50%;
  bottom: -22px;
  left: 79px;
  width: 2px;
  background: #e0e6ef;
}

.execution-page .task-row:last-child .task-timeline-node {
  display: none;
}

.execution-page .task-content {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 14px 15px;
  background: linear-gradient(145deg, rgba(237, 247, 243, 0.9), rgba(250, 252, 252, 0.92));
  border: 1px solid rgba(119, 161, 149, 0.1);
  border-radius: 17px;
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.execution-page .task-row:hover .task-content {
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(91, 106, 151, 0.1);
}

.execution-page .task-afternoon .task-content { background: linear-gradient(145deg, rgba(255, 247, 235, 0.92), rgba(255, 252, 247, 0.94)); }
.execution-page .task-evening .task-content { background: linear-gradient(145deg, rgba(245, 240, 251, 0.92), rgba(251, 249, 253, 0.94)); }
.execution-page .task-night .task-content { background: linear-gradient(145deg, rgba(238, 241, 250, 0.94), rgba(249, 249, 253, 0.94)); }
.execution-page .task-row-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.execution-page .task-period { color: #6a9f8e; font-size: 9px; font-weight: 950; }
.execution-page .task-afternoon .task-period { color: #d59339; }
.execution-page .task-evening .task-period,
.execution-page .task-night .task-period { color: #8c78b4; }
.execution-page .task-content > span:not(.task-row-head) { color: #3f4b63; font-size: 12px; font-weight: 900; line-height: 1.4; }
.execution-page .task-content .minimum-action { color: #8a94a6; font-size: 9px; font-weight: 750; }
.execution-page .task-row.is-complete .task-content { opacity: 0.66; }
.execution-page .task-row.is-complete .task-content > span:not(.task-row-head) { text-decoration: line-through; }

.execution-page .focus-task-card {
  background: radial-gradient(circle at 100% 0%, rgba(210, 235, 229, 0.82), transparent 38%), linear-gradient(145deg, rgba(255,255,255,.96), rgba(249,252,251,.9));
}

.execution-page .focus-task-goal strong {
  color: #536179;
}

.execution-page .focus-start-button {
  min-height: 58px;
  font-size: 12px;
  font-weight: 950;
}

.execution-page .focus-mode {
  width: min(430px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  overflow-y: auto;
  gap: 11px;
  padding: 20px;
  background: radial-gradient(circle at 50% 6%, rgba(215, 237, 230, 0.88), transparent 31%), linear-gradient(155deg, #ffffff, #f7f5fa);
  border: 1px solid rgba(255,255,255,.95);
  border-radius: 30px;
}

.execution-page .focus-mode > #closeFocusMode {
  position: absolute;
  top: 15px;
  right: 15px;
  display: grid;
  width: 34px;
  height: 34px;
  padding: 0;
  place-items: center;
  color: #7f899a;
  background: rgba(255,255,255,.72);
  border: 0;
  border-radius: 50%;
  font-size: 22px;
}

.execution-page .focus-mode img {
  width: 96px;
  height: 96px;
  margin-bottom: -5px;
}

.execution-page .focus-mode-kicker {
  color: #75998e;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: .06em;
}

.execution-page #focusTimer {
  color: #53658a;
  font-size: clamp(44px, 12vw, 58px);
  letter-spacing: -.04em;
}

.execution-page .focus-mode h2 {
  max-width: 340px;
  color: #38445d;
  font-size: 19px;
  line-height: 1.3;
}

.execution-page .focus-mode p {
  max-width: 350px;
  color: #7c8798;
  font-size: 10px;
  font-weight: 750;
}

.execution-page .focus-time-adjust {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 40px;
  gap: 7px;
  width: 100%;
}

.execution-page .focus-time-adjust > button {
  min-height: 42px;
  color: #64738d;
  background: #eef2f7;
  border: 0;
  border-radius: 13px;
  font-size: 19px;
  font-weight: 900;
  cursor: pointer;
}

.execution-page .focus-time-adjust label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 42px;
  background: rgba(255,255,255,.8);
  border: 1px solid rgba(107,122,166,.13);
  border-radius: 13px;
}

.execution-page .focus-time-adjust label > span { color: #84909f; font-size: 9px; font-weight: 800; }
.execution-page .focus-time-adjust input { width: 45px; padding: 0; color: #4e5d77; background: transparent; border: 0; outline: 0; font: inherit; font-size: 14px; font-weight: 950; text-align: right; }
.execution-page .focus-time-adjust b { color: #68758b; font-size: 10px; }

.execution-page .focus-mode-actions {
  grid-template-columns: 1fr 1fr;
}

.execution-page .focus-mode-actions button {
  min-height: 48px;
  border: 0;
  cursor: pointer;
}

.execution-page .focus-mode-actions .focus-complete-button {
  grid-column: 1 / -1;
  color: #53627c;
  background: #edf1f8;
}

.execution-page .focus-mode-actions button:disabled {
  opacity: .48;
  cursor: default;
}

.execution-page .focus-timeup-message {
  display: grid;
  gap: 3px;
  width: 100%;
  padding: 11px 13px;
  color: #5c6c84;
  background: linear-gradient(145deg, #fff5d9, #f8ecf2);
  border-radius: 14px;
}
.execution-page .focus-timeup-message strong { font-size: 11px; }
.execution-page .focus-timeup-message span { font-size: 9px; font-weight: 750; line-height: 1.45; }

.ollie-star-shower {
  position: fixed;
  z-index: 140;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
}

.ollie-star-shower.show { opacity: 1; }
.ollie-star-shower span {
  position: absolute;
  top: -8vh;
  left: var(--star-x);
  color: var(--star-color);
  font-size: var(--star-size);
  opacity: 0;
  text-shadow: 0 0 12px currentColor, 0 3px 8px rgba(91,106,151,.16);
  animation: ollie-star-fall var(--star-duration) cubic-bezier(.2,.65,.35,1) var(--star-delay) both;
}

@keyframes ollie-star-fall {
  0% { opacity: 0; transform: translate3d(0,-5vh,0) rotate(0deg) scale(.5); }
  15% { opacity: 1; }
  100% { opacity: 0; transform: translate3d(-25px,105vh,0) rotate(220deg) scale(1.25); }
}

.execution-page .progress-card {
  background:
    radial-gradient(circle at 92% 10%, rgba(238, 214, 224, 0.7), transparent 36%),
    rgba(255, 255, 255, 0.78);
}

.execution-page .coach-card {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(234, 245, 242, 0.92), rgba(245, 236, 242, 0.9));
}

.execution-page .coach-card > img {
  width: 110px;
  height: 130px;
  margin-block: -20px;
  object-fit: contain;
  filter: drop-shadow(0 14px 16px rgba(91, 106, 151, 0.16));
}

.execution-page .coach-card h2 {
  margin: 5px 0 7px;
  color: #46516b;
  font-size: 19px;
}

.execution-page .coach-card .eyebrow {
  margin: 0;
  color: #9a7e8d;
  font-size: 9px;
  letter-spacing: 0.1em;
}

.execution-page .view-head {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) 150px;
  align-items: center;
  min-height: 156px;
  padding: 20px 28px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(235, 241, 247, 0.72));
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 28px;
  box-shadow: 0 18px 42px rgba(91, 106, 151, 0.09);
}

.execution-page .view-head > div > span {
  color: #8c829b;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.11em;
}

.execution-page .view-head h1 {
  margin-top: 7px;
  color: var(--app-ink);
  font-family: "Jalnan", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: clamp(30px, 4vw, 44px);
}

.execution-page .view-head img {
  justify-self: center;
  width: 130px;
  height: 150px;
  margin-block: -22px;
  object-fit: contain;
  filter: drop-shadow(0 18px 18px rgba(91, 106, 151, 0.18));
}

.execution-page #view-plan .weekly-plan-card {
  grid-column: 1;
}

.execution-page #view-plan .schedule-calendar-card {
  grid-column: 2;
}

.execution-page #view-plan .plan-editor-card {
  grid-column: 1 / -1;
}

.execution-page .weekly-plan li {
  padding: 17px 0;
}

.execution-page .schedule-calendar-card,
.execution-page .weekly-plan-card {
  min-height: 100%;
}

.execution-page .schedule-calendar-card {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 96% 4%, rgba(231, 216, 232, 0.62), transparent 28%),
    radial-gradient(circle at 5% 96%, rgba(210, 235, 228, 0.7), transparent 31%),
    rgba(255, 255, 255, 0.82);
}

.execution-page .schedule-calendar-card::after {
  position: absolute;
  z-index: 0;
  top: 18px;
  right: 96px;
  width: 8px;
  height: 8px;
  content: "";
  background: #f0c8d4;
  border-radius: 50%;
  box-shadow: 20px 14px 0 -2px #c7ded9, -16px 22px 0 -3px #d5d8ef;
  opacity: 0.65;
}

.execution-page .schedule-calendar-card > * {
  position: relative;
  z-index: 1;
}

.execution-page .schedule-calendar-card .card-title {
  align-items: flex-start;
  padding-bottom: 4px;
}

.execution-page .calendar-kicker {
  display: block;
  margin-bottom: 5px;
  color: #78978b;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0.11em;
}

.execution-page .calendar-progress-badge {
  display: flex;
  align-items: center;
  padding: 5px 7px 5px 3px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(107, 122, 166, 0.1);
  border-radius: 16px;
  box-shadow: 0 8px 18px rgba(91, 106, 151, 0.08);
}

.execution-page .calendar-progress-badge img {
  width: 34px;
  height: 38px;
  margin-block: -7px;
  object-fit: contain;
  filter: drop-shadow(0 5px 6px rgba(91, 106, 151, 0.16));
}

.execution-page .calendar-progress-badge .soft-badge {
  min-width: 42px;
  padding: 7px 9px;
  color: #677994;
  background: #eef2f9;
  text-align: center;
}

.execution-page .calendar-head-actions {
  display: grid;
  justify-items: end;
  gap: 7px;
}

.execution-page .calendar-month-nav {
  display: grid;
  grid-template-columns: 30px auto 30px;
  gap: 5px;
  padding: 4px;
  background: rgba(255,255,255,.66);
  border: 1px solid rgba(107,122,166,.1);
  border-radius: 13px;
}

.execution-page .calendar-month-nav button {
  min-width: 30px;
  height: 28px;
  padding: 0 8px;
  color: #66758b;
  background: transparent;
  border: 0;
  border-radius: 9px;
  font: inherit;
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
}

.execution-page .calendar-month-nav button:hover {
  color: #52677a;
  background: #edf4f1;
}

.execution-page .calendar-weekdays {
  gap: 8px;
  margin: 8px 0 2px;
}

.execution-page .calendar-weekdays > span {
  display: grid;
  min-width: 0;
  min-height: 62px;
  padding: 5px 2px 7px;
  place-items: center;
  gap: 2px;
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid rgba(107, 122, 166, 0.08);
  border-radius: 16px;
}

.execution-page .calendar-weekdays img {
  width: 34px;
  height: 38px;
  margin-block: -4px -2px;
  object-fit: contain;
  filter: drop-shadow(0 5px 7px rgba(91, 106, 151, 0.14));
}

.execution-page .calendar-weekdays em {
  color: #68758b;
  font-size: 10px;
  font-style: normal;
  font-weight: 950;
}

.execution-page .calendar-weekdays > span:nth-child(6) em,
.execution-page .calendar-day.saturday:not(.done) > strong {
  color: #748ab3;
}

.execution-page .calendar-weekdays > span:nth-child(7) em,
.execution-page .calendar-day.sunday:not(.done) > strong {
  color: #bd7e8b;
}

.execution-page .schedule-calendar {
  gap: 8px;
}

.execution-page .calendar-empty {
  min-height: 70px;
}

.execution-page .calendar-day {
  min-height: 70px;
  padding: 10px 7px 8px;
  align-content: start;
  gap: 7px;
  color: #354057;
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(107, 122, 166, 0.14);
  border-radius: 16px;
  box-shadow: 0 7px 16px rgba(91, 106, 151, 0.045);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.execution-page .calendar-day::before {
  background: linear-gradient(180deg, rgba(171, 201, 194, 0.08), rgba(132, 148, 186, 0.17));
}

.execution-page .calendar-day:hover {
  z-index: 2;
  border-color: rgba(111, 157, 139, 0.38);
  box-shadow: 0 11px 20px rgba(91, 106, 151, 0.09);
  transform: translateY(-2px);
}

.execution-page .calendar-day strong {
  font-size: 13px;
  font-weight: 950;
}

.execution-page .calendar-day > small {
  min-height: 11px;
  color: #76978c;
  font-size: 7px;
  font-weight: 950;
  line-height: 1;
}

.execution-page .calendar-day > span {
  color: #8a94a6;
  font-size: 9px;
}

.execution-page .calendar-day.today {
  border-color: rgba(201,141,153,.52);
  box-shadow: inset 0 0 0 1px rgba(201,141,153,.2), 0 8px 18px rgba(91,106,151,.07);
}

.execution-page .calendar-day.today > small {
  color: #b07888;
}

.execution-page .calendar-day.outside-plan {
  color: #a1a9b7;
  background: rgba(246,247,250,.5);
  border-color: rgba(107,122,166,.07);
  box-shadow: none;
  cursor: default;
  opacity: .7;
}

.execution-page .calendar-day.outside-plan:hover {
  border-color: rgba(107,122,166,.07);
  box-shadow: none;
  transform: none;
}

.execution-page .calendar-day.outside-plan > span {
  font-size: 7px;
}

.execution-page .calendar-day.done {
  color: #ffffff;
  background: linear-gradient(145deg, #779d91, #7f8eae);
  border-color: transparent;
  box-shadow: 0 10px 20px rgba(91, 106, 151, 0.18);
}

.execution-page .calendar-day.done > small,
.execution-page .calendar-day.done > span {
  color: rgba(255,255,255,.86);
}

.execution-page .calendar-day.done > span {
  color: rgba(255, 255, 255, 0.8);
}

.execution-page .calendar-day.selected {
  outline: none;
  border-color: #d4a8b6;
  box-shadow: 0 0 0 3px rgba(212, 168, 182, 0.14), 0 9px 18px rgba(91, 106, 151, 0.08);
}

.execution-page .calendar-day .calendar-ollie {
  position: absolute;
  z-index: 1;
  right: 1px;
  bottom: -2px;
  width: 31px;
  height: 36px;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 5px 6px rgba(48, 57, 78, 0.16));
}

.execution-page .calendar-day .calendar-ollie[hidden] {
  display: none;
}

.execution-page .calendar-day-detail {
  margin-top: 12px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(107, 122, 166, 0.14);
  border-radius: 18px;
  box-shadow: 0 9px 18px rgba(91, 106, 151, 0.07);
}

.execution-page .calendar-day-detail[hidden] {
  display: none;
}

.execution-page .calendar-day-detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.execution-page .calendar-day-detail-head strong {
  display: block;
  color: #354057;
  font-size: 13px;
  font-weight: 950;
}

.execution-page .calendar-day-detail-head span {
  display: block;
  margin-top: 3px;
  color: #78978b;
  font-size: 10px;
  font-weight: 800;
}

.execution-page .calendar-day-detail-head button {
  width: 26px;
  height: 26px;
  padding: 0;
  color: #8a94a6;
  background: rgba(238, 242, 249, 0.9);
  border: 1px solid rgba(107, 122, 166, 0.12);
  border-radius: 9px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.execution-page .calendar-day-detail-head button:hover {
  color: #52677a;
  background: #edf4f1;
}

.execution-page .calendar-day-detail-list {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 7px;
  list-style: none;
}

.execution-page .calendar-day-detail-list li {
  display: grid;
  grid-template-columns: 18px 52px 1fr;
  align-items: center;
  gap: 9px;
  padding: 9px 11px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(107, 122, 166, 0.1);
  border-radius: 12px;
}

.execution-page .calendar-day-detail-list i {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  color: #ffffff;
  background: rgba(107, 122, 166, 0.12);
  border-radius: 50%;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}

.execution-page .calendar-day-detail-list li.is-complete i {
  background: linear-gradient(145deg, #779d91, #7f8eae);
}

.execution-page .calendar-day-detail-list strong {
  color: #66758b;
  font-size: 10px;
  font-weight: 950;
}

.execution-page .calendar-day-detail-list span {
  color: #354057;
  font-size: 11px;
  font-weight: 700;
}

.execution-page .calendar-day-detail-list li.is-complete span {
  color: #8a94a6;
  text-decoration: line-through;
}

.execution-page .plan-editor-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 28px;
}

.execution-page .plan-editor-card > .card-title,
.execution-page .plan-editor-card > .edit-step:first-of-type,
.execution-page .plan-editor-card > #planEditorMessage {
  grid-column: 1 / -1;
}

.execution-page .plan-editor-card .edit-step {
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(107, 122, 166, 0.1);
  border-radius: 20px;
}

.execution-page #view-mate .companion-home-card {
  grid-column: 1;
}

.execution-page #view-mate .companion-run-card {
  grid-column: 2;
}

.execution-page #view-mate .journey-map-card,
.execution-page #view-mate .memory-card {
  grid-column: 1 / -1;
}

.execution-page .companion-home-card {
  padding: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(232, 242, 240, 0.84));
}

.execution-page .companion-world {
  min-height: 330px;
  background:
    radial-gradient(circle at 50% 74%, rgba(126, 170, 162, 0.22), transparent 34%),
    linear-gradient(180deg, rgba(230, 241, 243, 0.9), rgba(248, 235, 239, 0.72));
  border-radius: 24px;
}

.execution-page .companion-world img {
  width: 250px;
  height: 285px;
  margin-top: -28px;
}

.execution-page .companion-speech {
  right: 18px;
  bottom: 18px;
  max-width: 240px;
  border-radius: 18px 18px 18px 5px;
}

.execution-page .companion-run-card {
  display: grid;
  align-content: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0%, rgba(238, 214, 224, 0.66), transparent 34%),
    radial-gradient(circle at 0% 100%, rgba(210, 235, 228, 0.72), transparent 34%),
    rgba(255, 255, 255, 0.84);
}

.execution-page .companion-run-body img {
  width: 138px;
  height: 160px;
}

.execution-page .bond-kicker {
  display: block;
  margin-bottom: 5px;
  color: #8b829b;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.execution-page .companion-run-card .card-title h2 {
  color: #46516b;
}

.execution-page .companion-run-card .card-title > div > span {
  display: block;
  max-width: 440px;
  color: #7a8497;
  line-height: 1.5;
}

.execution-page .companion-run-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 160px;
}

.execution-page .companion-run-visual::before {
  position: absolute;
  width: 116px;
  height: 116px;
  content: "";
  background: radial-gradient(circle, rgba(207, 232, 225, 0.75), rgba(230, 224, 240, 0.28) 58%, transparent 72%);
  border-radius: 50%;
}

.execution-page .companion-run-visual img {
  position: relative;
  z-index: 1;
}

.execution-page .companion-run-visual img.is-petted {
  animation: ollie-petted 820ms cubic-bezier(0.22, 1.35, 0.36, 1) both;
}

.execution-page .bond-reaction {
  position: absolute;
  z-index: 2;
  top: 5px;
  right: 3px;
  padding: 6px 8px;
  color: #ffffff;
  background: linear-gradient(135deg, #d49aaa, #9a8eae);
  border-radius: 999px 999px 999px 5px;
  box-shadow: 0 8px 18px rgba(154, 126, 143, 0.2);
  font-size: 9px;
  font-weight: 950;
  opacity: 0;
  transform: translateY(8px) scale(0.82);
  pointer-events: none;
}

.execution-page .bond-reaction.show {
  animation: bond-reaction-pop 1100ms ease both;
}

.execution-page .companion-run-body > div:last-child > strong {
  color: #586982;
}

.execution-page .companion-stats {
  gap: 8px;
}

.execution-page .companion-stats > span {
  background: rgba(255, 255, 255, 0.66);
  border-color: rgba(107, 122, 166, 0.12);
}

.execution-page .bond-growth-card {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding: 15px;
  background: linear-gradient(145deg, rgba(246, 251, 249, 0.92), rgba(246, 244, 250, 0.9));
  border: 1px solid rgba(111, 157, 139, 0.16);
  border-radius: 19px;
}

.execution-page .bond-growth-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.execution-page .bond-growth-head > div {
  display: grid;
  gap: 3px;
}

.execution-page .bond-growth-head span,
.execution-page .bond-next-unlock small {
  color: #8b96a7;
  font-size: 9px;
  font-weight: 900;
}

.execution-page .bond-growth-head strong {
  color: #46566f;
  font-size: 14px;
}

.execution-page .bond-growth-head b {
  color: #71877f;
  font-size: 10px;
}

.execution-page .bond-xp-track {
  height: 8px;
  overflow: hidden;
  background: rgba(107, 122, 166, 0.1);
  border-radius: 999px;
}

.execution-page .bond-xp-track span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #7fa79b, #9a91ad, #d19caa);
  border-radius: inherit;
  transition: width 300ms ease;
}

.execution-page .bond-next-unlock {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding-top: 2px;
}

.execution-page .bond-next-unlock > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(145deg, #83a79d, #9b91ad);
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(91, 106, 151, 0.14);
}

.execution-page .bond-next-unlock > div {
  display: grid;
  gap: 2px;
}

.execution-page .bond-next-unlock strong {
  color: #3e4b63;
  font-size: 11px;
}

.execution-page .bond-next-unlock p {
  margin: 0;
  color: #7b8597;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.45;
}

.execution-page .companion-run-card .mate-actions {
  margin-top: 12px;
}

.execution-page .companion-run-card .mate-actions button:first-child {
  color: #ffffff;
  background: linear-gradient(135deg, #789f93, #8993ad);
  border-color: transparent;
  box-shadow: 0 10px 22px rgba(91, 106, 151, 0.18);
}

.execution-page .touch-companion-hint {
  margin: 8px 0 0;
  color: #828b9b;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}

@keyframes ollie-petted {
  0% { transform: translateY(0) rotate(0); }
  32% { transform: translateY(-9px) rotate(-4deg) scale(1.06); }
  58% { transform: translateY(-3px) rotate(4deg) scale(1.03); }
  100% { transform: translateY(0) rotate(0) scale(1); }
}

@keyframes bond-reaction-pop {
  0% { opacity: 0; transform: translateY(8px) scale(0.82); }
  22%, 72% { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(-12px) scale(0.94); }
}

.execution-page .journey-story-panel {
  border-radius: 20px;
}

/* Daily memories that actively improve the next plan */
.execution-page .memory-card {
  overflow: hidden;
  background: radial-gradient(circle at 100% 0%, rgba(220, 236, 231, 0.7), transparent 28%), linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(250, 247, 251, 0.94));
}

.execution-page .memory-kicker {
  margin: 0 0 5px;
  color: #809f94;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.execution-page .memory-journal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(210px, 0.58fr);
  gap: 14px;
  margin-top: 18px;
}

.execution-page .memory-compose-card,
.execution-page .memory-ollie-guide,
.execution-page .memory-pattern-panel {
  border: 1px solid rgba(107, 122, 166, 0.12);
  border-radius: 22px;
}

.execution-page .memory-compose-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.execution-page .memory-auto-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.execution-page .memory-auto-summary > div {
  display: grid;
  gap: 4px;
  min-height: 72px;
  padding: 12px;
  background: linear-gradient(145deg, rgba(239, 246, 244, 0.9), rgba(244, 242, 249, 0.82));
  border-radius: 16px;
}

.execution-page .memory-auto-summary span,
.execution-page .memory-field > span,
.execution-page .memory-mood-picker legend {
  color: #8a94a6;
  font-size: 9px;
  font-weight: 900;
}

.execution-page .memory-auto-summary strong { color: #46536b; font-size: 13px; }
.execution-page .memory-auto-summary p { margin: 0; color: #707b8f; font-size: 10px; font-weight: 700; line-height: 1.45; }

.execution-page .memory-mood-picker {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.execution-page .memory-mood-picker legend { grid-column: 1 / -1; margin-bottom: 2px; }
.execution-page .memory-mood-picker button {
  min-height: 42px;
  color: #69758b;
  background: #f8f9fc;
  border: 1px solid rgba(107, 122, 166, 0.13);
  border-radius: 14px;
  font: inherit;
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}
.execution-page .memory-mood-picker button span {
  display: block;
  margin-bottom: 3px;
  font-size: 15px;
  line-height: 1;
}
.execution-page .memory-mood-picker button:hover { transform: translateY(-2px); }
.execution-page .memory-mood-picker button.selected {
  color: #4e6075;
  background: linear-gradient(145deg, #e9f5f0, #f1edf7);
  border-color: rgba(117, 161, 147, 0.48);
  box-shadow: 0 8px 18px rgba(91, 106, 151, 0.1);
}

.execution-page .memory-custom-mood {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 13px;
  background: #f8f9fc;
  border: 1px dashed rgba(107, 122, 166, 0.28);
  border-radius: 14px;
  cursor: text;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.execution-page .memory-custom-mood > span {
  font-size: 14px;
  line-height: 1;
}

.execution-page .memory-custom-mood input {
  flex: 1;
  min-width: 0;
  padding: 0;
  color: #4e6075;
  background: transparent;
  border: 0;
  outline: none;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
}

.execution-page .memory-custom-mood input::placeholder {
  color: #9aa3b4;
  font-weight: 700;
}

.execution-page .memory-custom-mood:focus-within,
.execution-page .memory-custom-mood:has(input:not(:placeholder-shown)) {
  background: linear-gradient(145deg, #e9f5f0, #f1edf7);
  border: 1px solid rgba(117, 161, 147, 0.48);
  box-shadow: 0 8px 18px rgba(91, 106, 151, 0.1);
}

.execution-page .memory-mood-echo {
  grid-column: 1 / -1;
  margin: 2px 0 0;
  padding: 8px 11px;
  color: #6f8a7f;
  background: linear-gradient(145deg, rgba(233, 245, 240, 0.75), rgba(241, 237, 247, 0.65));
  border-radius: 11px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.5;
}

.execution-page .memory-field { display: grid; gap: 7px; }
.execution-page .memory-field textarea,
.execution-page .memory-field select,
.execution-page .memory-field input {
  width: 100%;
  color: #38445a;
  background: rgba(249, 250, 253, 0.9);
  border: 1px solid rgba(107, 122, 166, 0.14);
  border-radius: 14px;
  outline: 0;
  font: inherit;
  font-size: 11px;
  font-weight: 750;
}
.execution-page .memory-field textarea { min-height: 82px; padding: 12px 13px; resize: vertical; }
.execution-page .memory-field select,
.execution-page .memory-field input { min-height: 43px; padding: 0 12px; }
.execution-page .memory-field textarea:focus,
.execution-page .memory-field select:focus,
.execution-page .memory-field input:focus { border-color: rgba(117, 161, 147, 0.58); box-shadow: 0 0 0 3px rgba(117, 161, 147, 0.1); }
.execution-page .memory-input-grid { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: 9px; }

.execution-page .save-memory-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 9px 0 16px;
  color: #fff;
  background: linear-gradient(135deg, #789f93, #858fac 58%, #ad8fa5);
  border: 0;
  border-radius: 16px;
  box-shadow: 0 12px 26px rgba(91, 106, 151, 0.2);
  font: inherit;
  font-size: 11px;
  font-weight: 950;
  cursor: pointer;
}
.execution-page .save-memory-button > span {
  display: block;
  width: auto;
  height: auto;
  background: transparent;
  text-align: left;
  line-height: 1.3;
}
.execution-page .save-memory-button > b {
  display: grid;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  place-items: center;
  background: rgba(255,255,255,.18);
  border-radius: 11px;
  font-size: 15px;
}
.execution-page .memory-save-hint { min-height: 14px; margin: -6px 2px 0; color: #77958b; font-size: 9px; font-weight: 850; }

.execution-page .plan-editor-card.memory-revision-arrival {
  animation: memory-revision-arrival 1.7s ease both;
}

@keyframes memory-revision-arrival {
  0%, 100% { box-shadow: 0 18px 42px rgba(91,106,151,.09); }
  35% { box-shadow: 0 0 0 4px rgba(119,159,147,.18), 0 22px 50px rgba(91,106,151,.16); }
}

.execution-page .memory-ollie-guide {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 100%;
  overflow: hidden;
  padding: 16px;
  background: radial-gradient(circle at 50% 22%, rgba(255,255,255,.82), transparent 30%), linear-gradient(160deg, #eef6f3, #eeeaf5 65%, #faeef1);
}
.execution-page .memory-ollie-guide::before {
  position: absolute;
  top: 14px;
  right: 13px;
  content: "오늘도 잘 왔어요";
  padding: 6px 8px;
  color: #77859b;
  background: rgba(255,255,255,.72);
  border-radius: 12px 12px 3px 12px;
  font-size: 8px;
  font-weight: 900;
}
.execution-page .memory-ollie-guide img { align-self: center; justify-self: center; width: min(144px, 82%); height: 154px; object-fit: contain; filter: drop-shadow(0 14px 16px rgba(91,106,151,.14)); }
.execution-page .memory-ollie-guide > div { display: grid; gap: 5px; padding: 13px; background: rgba(255,255,255,.68); border: 1px solid rgba(255,255,255,.86); border-radius: 16px; }
.execution-page .memory-ollie-guide strong { color: #4e5d75; font-size: 12px; }
.execution-page .memory-ollie-guide p { margin: 0; color: #758095; font-size: 9px; font-weight: 700; line-height: 1.55; }

.execution-page .memory-list-head,
.execution-page .memory-pattern-head,
.execution-page .daily-memory-head,
.execution-page .daily-memory-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.execution-page .memory-list-head { margin: 20px 2px 10px; }
.execution-page .memory-list-head h3,
.execution-page .memory-pattern-head h3 { margin: 0; color: #3e4b62; font-size: 14px; }
.execution-page .memory-list-head span { color: #819086; font-size: 9px; font-weight: 900; }
.execution-page .memory-list-head p { margin: 2px 0 0; color: #919aaa; font-size: 8px; font-weight: 750; }
.execution-page .memory-list { display: grid; gap: 10px; }

.execution-page .memory-list article.daily-memory-item,
.execution-page .memory-list article.memory-empty-state {
  margin: 0;
  padding: 15px;
  background: rgba(255,255,255,.68);
  border: 1px solid rgba(107,122,166,.12);
  border-radius: 18px;
}
.execution-page .memory-list article.daily-memory-item { display: grid; gap: 11px; border-left: 4px solid #98b7ad; }
.execution-page .memory-list article.daily-memory-item[data-mood="tired"] { border-left-color: #c49aa5; }
.execution-page .memory-list article.daily-memory-item[data-mood="steady"] { border-left-color: #9b9ab7; }
.execution-page .memory-list article.daily-memory-item[data-mood="happy"] { border-left-color: #efbd75; }
.execution-page .memory-list article.daily-memory-item[data-mood="excited"] { border-left-color: #e8a3bd; }
.execution-page .memory-list article.daily-memory-item[data-mood="proud"] { border-left-color: #b395ce; }
.execution-page .memory-list article.daily-memory-item[data-mood="grateful"] { border-left-color: #8fbf8f; }
.execution-page .memory-list article.daily-memory-item[data-mood="calm"] { border-left-color: #7fa99a; }
.execution-page .memory-list article.daily-memory-item[data-mood="regret"] { border-left-color: #cfa77e; }
.execution-page .memory-list article.daily-memory-item[data-mood="heavy"] { border-left-color: #8993ad; }
.execution-page .memory-list article.daily-memory-item[data-mood="anxious"] { border-left-color: #a8a4c4; }
.execution-page .memory-list article.daily-memory-item[data-mood="sad"] { border-left-color: #85a3c2; }
.execution-page .memory-list article.daily-memory-item[data-mood="custom"] { border-left-color: #c2b089; }

.execution-page .memory-list article.diary-entry {
  position: relative;
  overflow: hidden;
  padding: 20px;
  background:
    linear-gradient(90deg, rgba(126, 159, 150, 0.045) 1px, transparent 1px) 0 0 / 28px 100%,
    linear-gradient(rgba(255,255,255,.91), rgba(253,251,250,.94));
  box-shadow: 0 14px 30px rgba(91,106,151,.08);
}

.execution-page .memory-list article.diary-entry::after {
  position: absolute;
  top: -18px;
  right: 34px;
  width: 70px;
  height: 28px;
  content: "";
  background: rgba(226, 217, 198, 0.38);
  transform: rotate(3deg);
}

.execution-page .diary-entry-title {
  margin: 1px 0 0;
  color: #3e4b63;
  font-size: clamp(16px, 2vw, 21px);
  line-height: 1.35;
}
.execution-page .daily-memory-date { display: grid; gap: 2px; }
.execution-page .daily-memory-date strong { color: #3f4c64; font-size: 12px; }
.execution-page .daily-memory-date small { color: #8b95a6; font-size: 8px; font-weight: 850; }
.execution-page .memory-mood-badge { padding: 7px 9px; color: #65778b; background: linear-gradient(145deg,#edf6f2,#f1eef7); border-radius: 999px; font-size: 9px; font-weight: 900; }
.execution-page .memory-metrics { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.execution-page .memory-metrics span { padding: 8px 10px; color: #7c879a; background: rgba(242,245,249,.76); border-radius: 11px; font-size: 9px; font-weight: 800; }
.execution-page .memory-metrics b { color: #4e5c73; }
.execution-page .memory-note,
.execution-page .memory-dialogue { margin: 0; color: #59667c; font-size: 10px; font-weight: 750; line-height: 1.55; }
.execution-page .diary-entry .memory-note {
  position: relative;
  padding: 16px 18px 16px 34px;
  color: #4f5b70;
  background: rgba(248, 244, 239, 0.7);
  border-radius: 15px;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.7;
  white-space: pre-wrap;
}
.execution-page .diary-entry .memory-note::before {
  position: absolute;
  top: 10px;
  left: 12px;
  content: "“";
  color: #c4a98c;
  font-family: Georgia, serif;
  font-size: 28px;
  line-height: 1;
}
.execution-page .diary-next-step {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  background: rgba(237, 246, 242, 0.68);
  border-radius: 13px;
}
.execution-page .diary-next-step span { color: #85938e; font-size: 8px; font-weight: 900; }
.execution-page .diary-next-step strong { color: #56677a; font-size: 9px; line-height: 1.45; }
.execution-page .memory-dialogue { padding: 11px 12px; color: #68788b; background: linear-gradient(145deg,rgba(235,246,241,.78),rgba(243,239,248,.72)); border-radius: 13px; }
.execution-page .memory-dialogue span,
.execution-page .daily-memory-footer small { display: block; margin-bottom: 3px; color: #879488; font-size: 8px; font-weight: 900; }
.execution-page .memory-dialogue p { margin: 0; color: #68788b; font-size: 9px; font-weight: 750; line-height: 1.5; }
.execution-page .daily-memory-footer > div { display: grid; gap: 2px; }
.execution-page .daily-memory-footer strong { color: #58667a; font-size: 9px; line-height: 1.45; }
.execution-page .daily-memory-footer > span { color: #788497; font-size: 9px; font-weight: 750; line-height: 1.4; }
.execution-page .apply-memory-insight { flex: 0 0 auto; min-height: 34px; padding: 0 11px; color: #fff; background: #7f928d; border: 0; border-radius: 11px; font: inherit; font-size: 9px; font-weight: 900; cursor: pointer; }

.execution-page .diary-entry-actions {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  padding-top: 4px;
  border-top: 1px dashed rgba(107,122,166,.15);
}
.execution-page .diary-entry-actions button {
  min-height: 30px;
  padding: 0 10px;
  color: #728078;
  background: transparent;
  border: 1px solid rgba(107,122,166,.12);
  border-radius: 10px;
  font: inherit;
  font-size: 8px;
  font-weight: 850;
  cursor: pointer;
}
.execution-page .diary-entry-actions button:hover { background: rgba(239,245,243,.8); }
.execution-page .diary-entry-actions button:last-child { color: #a4878f; }

.execution-page .memory-empty-state { display: grid; grid-template-columns: 52px minmax(0,1fr); gap: 12px; align-items: center; }
.execution-page .memory-empty-state img { width: 52px; height: 58px; object-fit: contain; }
.execution-page .memory-empty-state p { margin: 2px 0 0; color: #7e899b; font-size: 9px; font-weight: 700; }

.execution-page .memory-pattern-panel { display: grid; gap: 12px; margin-top: 13px; padding: 16px; background: linear-gradient(145deg,rgba(239,247,244,.82),rgba(247,243,249,.82)); }
.execution-page .memory-pattern-head { display: grid; justify-content: stretch; gap: 3px; }
.execution-page .memory-pattern-head > span { color: #839c93; font-size: 8px; font-weight: 950; letter-spacing: .08em; }
.execution-page .memory-pattern-head p { margin: 0; color: #849083; font-size: 8px; font-weight: 850; }
.execution-page .pattern-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.execution-page .pattern-list article { display: grid; grid-template-columns: 34px minmax(0,1fr); gap: 10px; align-items: center; min-height: 66px; padding: 11px; color: inherit; background: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.88); border-radius: 15px; }
.execution-page .pattern-list article > span { display: grid; width: 34px; height: 34px; place-items: center; background: #eef4f2; border-radius: 11px; font-size: 15px; }
.execution-page .pattern-list article div { display: grid; gap: 3px; }
.execution-page .pattern-list strong { color: #4a586f; font-size: 10px; }
.execution-page .pattern-list p { margin: 0; color: #7a8597; font-size: 8px; font-weight: 700; line-height: 1.45; }

.execution-page .execution-tabbar {
  z-index: 45;
  width: min(calc(100% - 28px), 520px);
  min-height: 64px;
  padding: 7px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.94);
  border-radius: 22px;
  box-shadow: 0 18px 46px rgba(91, 106, 151, 0.18);
  backdrop-filter: blur(22px);
}

.execution-page .execution-tabbar .tab {
  min-height: 50px;
  border-radius: 16px;
}

.execution-page .execution-tabbar .tab.active {
  color: #576985;
  background: linear-gradient(145deg, rgba(224, 240, 236, 0.92), rgba(234, 230, 243, 0.9));
}

@media (max-width: 880px) {
  .execution-page .execution-app {
    padding: 20px 18px 112px;
  }

  .execution-page .app-view.is-active {
    grid-template-columns: 1fr;
  }

  .execution-page .execution-hero {
    grid-template-columns: minmax(0, 1fr) 190px 90px;
    min-height: 230px;
    padding: 26px;
  }

  .execution-page .today-ollie-stage img {
    width: 170px;
    height: 190px;
  }

  .execution-page #view-today .execution-hero,
  .execution-page #view-today .focus-task-card,
  .execution-page #view-today .today-card,
  .execution-page #view-today .recovery-card,
  .execution-page #view-today .progress-card,
  .execution-page #view-today .coach-card,
  .execution-page #view-plan .view-head,
  .execution-page #view-plan .weekly-plan-card,
  .execution-page #view-plan .schedule-calendar-card,
  .execution-page #view-plan .plan-editor-card,
  .execution-page #view-mate .view-head,
  .execution-page #view-mate .companion-home-card,
  .execution-page #view-mate .companion-run-card,
  .execution-page #view-mate .journey-map-card,
  .execution-page #view-mate .memory-card {
    grid-column: 1;
    grid-row: auto;
  }
}

@media (max-width: 620px) {
  .execution-page .execution-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    row-gap: 8px;
    top: 8px;
    width: min(calc(100% - 20px), 520px);
    min-height: 60px;
    margin-top: 8px;
    padding: 8px 10px 8px 14px;
    border-radius: 18px;
  }

  .execution-page .execution-header .brand-logo {
    width: 124px;
  }

  .execution-page .execution-header > a {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    justify-self: start;
  }

  .execution-page .execution-header-actions {
    display: contents;
  }

  .execution-page .ollie-energy-meter {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    min-width: 0;
    grid-template-columns: 24px minmax(0, 1fr) auto;
    padding: 8px 10px;
  }

  .execution-page .ollie-energy-meter small,
  .execution-page .ollie-energy-meter strong {
    white-space: nowrap;
  }

  .execution-page .menu-toggle {
    grid-column: 2;
    grid-row: 1;
    min-height: 36px;
    justify-self: end;
  }

  .execution-page .execution-app {
    padding: 16px 12px 104px;
  }

  .execution-page .execution-hero {
    grid-template-columns: minmax(0, 1fr) 94px;
    min-height: 220px;
    padding: 22px 18px;
    border-radius: 28px;
  }

  .execution-page .execution-hero h1 {
    font-size: clamp(30px, 10vw, 40px);
  }

  .execution-page .today-ollie-stage {
    align-self: end;
  }

  .execution-page .today-ollie-stage img {
    width: 118px;
    height: 145px;
  }

  .execution-page .today-ollie-stage span {
    display: none;
  }

  .execution-page .schedule-calendar-card {
    padding-inline: 14px;
  }

  .execution-page .calendar-weekdays,
  .execution-page .schedule-calendar {
    gap: 4px;
  }

  .execution-page .calendar-weekdays > span {
    min-height: 51px;
    padding-inline: 1px;
    border-radius: 12px;
  }

  .execution-page .calendar-weekdays img {
    width: 26px;
    height: 30px;
  }

  .execution-page .calendar-day {
    min-height: 59px;
    padding: 8px 4px 6px;
    border-radius: 12px;
  }

  .execution-page .calendar-empty {
    min-height: 59px;
  }

  .execution-page .calendar-head-actions {
    gap: 5px;
  }

  .execution-page .calendar-month-nav {
    grid-template-columns: 26px auto 26px;
    gap: 2px;
    padding: 3px;
  }

  .execution-page .calendar-month-nav button {
    min-width: 26px;
    height: 25px;
    padding-inline: 5px;
    font-size: 8px;
  }

  .execution-page .calendar-day .calendar-ollie {
    width: 24px;
    height: 29px;
  }

  .execution-page .companion-run-card .card-title {
    align-items: flex-start;
  }

  .execution-page .companion-run-body {
    grid-template-columns: 100px minmax(0, 1fr);
  }

  .execution-page .companion-run-body img {
    width: 104px;
    height: 122px;
  }

  .execution-page .companion-run-visual {
    min-height: 128px;
  }

  .execution-page .companion-run-card .mate-actions {
    grid-template-columns: 1fr;
  }

  .execution-page .execution-gauge {
    position: absolute;
    top: 18px;
    right: 16px;
    width: 72px;
    height: 72px;
    border-width: 6px;
  }

  .execution-page .execution-gauge strong {
    font-size: 22px;
  }

  .execution-page .execution-hero > div:first-child {
    grid-column: 1;
    align-self: center;
  }

  .execution-page .focus-task-card,
  .execution-page .execution-card {
    padding: 19px;
    border-radius: 21px;
  }

  .execution-page .focus-task-card {
    grid-template-columns: minmax(0, 1fr) 94px;
  }

  .execution-page .coach-card {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 12px;
  }

  .execution-page .coach-card > img {
    width: 84px;
    height: 104px;
  }

  .execution-page .view-head {
    grid-template-columns: minmax(0, 1fr) 98px;
    min-height: 130px;
    padding: 18px;
    border-radius: 23px;
  }

  .execution-page .view-head img {
    width: 96px;
    height: 118px;
  }

  .execution-page .plan-editor-card {
    grid-template-columns: 1fr;
  }

  .execution-page .plan-editor-card > .card-title,
  .execution-page .plan-editor-card > .edit-step:first-of-type,
  .execution-page .plan-editor-card > #planEditorMessage {
    grid-column: 1;
  }

  .execution-page .companion-world {
    min-height: 250px;
  }

  .execution-page .companion-world img {
    width: 190px;
    height: 215px;
  }

  .execution-page .today-card {
    padding-inline: 16px;
  }

  .execution-page .execution-checklist .task-row {
    grid-template-columns: 41px 30px minmax(0, 1fr);
    gap: 7px;
  }

  .execution-page .execution-checklist .task-row > strong {
    font-size: 9px;
  }

  .execution-page .execution-checklist .execution-check {
    width: 30px;
    height: 30px;
    border-radius: 11px;
  }

  .execution-page .task-timeline-node {
    left: 55px;
  }

  .execution-page .task-content {
    padding: 12px;
  }

  .execution-page .focus-mode {
    padding: 18px 16px;
  }

  .execution-page .memory-journal-grid,
  .execution-page .memory-input-grid,
  .execution-page .pattern-list {
    grid-template-columns: 1fr;
  }

  .execution-page .memory-ollie-guide {
    grid-template-columns: 92px minmax(0, 1fr);
    align-items: center;
    min-height: 150px;
  }

  .execution-page .memory-ollie-guide::before {
    display: none;
  }

  .execution-page .memory-ollie-guide img {
    width: 92px;
    height: 110px;
  }

  .execution-page .daily-memory-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .execution-page .apply-memory-insight {
    width: 100%;
  }

  .execution-page .memory-mood-picker {
    gap: 6px;
  }

  .execution-page .memory-mood-picker button {
    min-height: 46px;
    padding: 6px 2px;
    border-radius: 12px;
    font-size: 9px;
  }

  .execution-page .memory-mood-picker button span {
    margin-bottom: 2px;
    font-size: 14px;
  }

  .execution-page .memory-custom-mood {
    min-height: 38px;
    padding: 0 11px;
    border-radius: 12px;
  }

  .execution-page .memory-custom-mood input {
    font-size: 10px;
  }

  .execution-page .memory-custom-mood input::placeholder {
    font-size: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .execution-page .app-view.is-active {
    animation: none;
  }
}

/* Today tab wireframe: preserve the existing palette and typography while simplifying hierarchy. */
.execution-page #view-today.app-view.is-active {
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  width: min(100%, 760px);
  margin-inline: auto;
}

.execution-page #view-today.app-view.is-active > * {
  grid-column: 1 !important;
  grid-row: auto !important;
}

.execution-page .today-welcome {
  display: flex;
  order: 1;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 4px 2px;
}

.execution-page .today-welcome h1 {
  margin: 0;
  color: var(--app-ink);
  font-family: "Jalnan", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.execution-page .today-welcome p {
  margin: 7px 0 0;
  color: var(--app-muted);
  font-size: 12px;
  font-weight: 750;
}

.execution-page .today-alert-button {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  padding: 0;
  place-items: center;
  color: #5c6982;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(107, 122, 166, 0.12);
  border-radius: 50%;
  box-shadow: 0 12px 28px rgba(91, 106, 151, 0.1);
  cursor: pointer;
}

.execution-page .today-alert-button > span { font-size: 25px; transform: rotate(-10deg); }
.execution-page .today-alert-button > i {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 8px;
  height: 8px;
  background: #c98d99;
  border: 2px solid #ffffff;
  border-radius: 50%;
}

.execution-page #view-today .today-goal-card {
  order: 2;
  grid-template-columns: minmax(0, 1fr) 180px;
  min-height: 190px;
  padding: 25px 28px;
  background:
    radial-gradient(circle at 84% 18%, rgba(207, 234, 230, 0.78), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(239, 238, 248, 0.88));
  border-radius: 26px;
}

.execution-page #view-today .today-goal-card::after { display: none; }
.execution-page #view-today .today-goal-copy { align-self: center; }
.execution-page #view-today .today-goal-card .eyebrow {
  min-height: 0;
  padding: 0;
  color: #748f9b;
  background: transparent;
}
.execution-page #view-today .today-goal-card h2 {
  max-width: 500px;
  margin: 10px 0 8px;
  color: var(--app-ink);
  font-family: "Jalnan", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: clamp(22px, 3.5vw, 34px);
  line-height: 1.25;
  letter-spacing: -0.03em;
}
.execution-page #view-today .today-goal-card .today-goal-copy > p:last-of-type {
  margin: 0;
  color: var(--app-muted);
  font-size: 10px;
  font-weight: 750;
}
.execution-page #view-today .today-ollie-stage { min-height: 145px; }
.execution-page #view-today .today-ollie-stage img { width: 150px; height: 165px; }
.execution-page #view-today .today-ollie-stage span { right: -2px; bottom: 3px; padding: 7px 10px; font-size: 9px; }

.execution-page .today-goal-progress {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
}
.execution-page .today-goal-progress > div {
  height: 6px;
  overflow: hidden;
  background: rgba(107, 122, 166, 0.12);
  border-radius: 999px;
}
.execution-page .today-goal-progress > div > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #789f9b, #8993ad);
  border-radius: inherit;
  transition: width 220ms ease;
}
.execution-page .today-goal-progress > strong { color: #65738c; font-size: 10px; white-space: nowrap; }

.execution-page #view-today .today-card { order: 3; padding: 26px; }
.execution-page #view-today .today-card > .card-title { align-items: center; }
.execution-page .today-schedule-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: -2px; flex-wrap: wrap; }
.execution-page .schedule-mode-switch {
  display: inline-grid;
  grid-template-columns: repeat(2, 1fr);
  padding: 3px;
  background: rgba(107, 122, 166, 0.08);
  border: 1px solid rgba(107, 122, 166, 0.1);
  border-radius: 13px;
}
.execution-page .schedule-mode-switch button {
  min-height: 30px;
  padding: 0 11px;
  color: #8a94a6;
  background: transparent;
  border: 0;
  border-radius: 10px;
  font-size: 9px;
  font-weight: 900;
  cursor: pointer;
}
.execution-page .schedule-mode-switch button.active {
  color: #53617b;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 5px 12px rgba(91, 106, 151, 0.1);
}
.execution-page .schedule-mode-switch button:focus-visible { outline: 2px solid rgba(107, 122, 166, 0.38); outline-offset: 1px; }
.execution-page .schedule-mode-switch button:disabled { cursor: default; opacity: 0.48; }
.execution-page .today-schedule-actions .text-button { min-height: 34px; padding: 0 11px; font-size: 9px; }

.execution-page .today-next-action {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
  padding: 15px 16px;
  background: linear-gradient(145deg, rgba(237, 247, 243, 0.92), rgba(248, 247, 251, 0.94));
  border: 1px solid rgba(119, 161, 149, 0.12);
  border-radius: 18px;
}
.execution-page .today-next-action > div:first-child { min-width: 0; }
.execution-page .today-next-action > div:first-child > span { color: #78988f; font-size: 8px; font-weight: 950; letter-spacing: 0.06em; }
.execution-page .today-next-action h3 { margin: 4px 0 2px; color: var(--app-ink); font-size: 13px; line-height: 1.35; }
.execution-page .today-next-action p { margin: 0; color: var(--app-muted); font-size: 8px; font-weight: 700; }
.execution-page .today-next-action .focus-task-goal { min-width: 92px; padding: 9px 10px; border-radius: 13px; }
.execution-page .today-next-action .focus-task-goal strong { font-size: 9px; }
.execution-page .today-next-action .focus-task-goal span { font-size: 8px; }
.execution-page .today-next-action .focus-start-button { width: auto; min-height: 42px; padding: 0 17px; font-size: 10px; }

.execution-page #view-today .execution-checklist { gap: 9px; margin-top: 12px; }
.execution-page #view-today .execution-checklist .task-row {
  grid-template-columns: 66px 10px minmax(0, 1fr) 34px;
  gap: 11px;
  min-height: 76px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(107, 122, 166, 0.09);
  border-radius: 17px;
  box-shadow: 0 9px 22px rgba(91, 106, 151, 0.06);
  cursor: default;
}
.execution-page #view-today .task-time { position: relative; display: grid; gap: 3px; align-self: center; text-align: left; }
.execution-page #view-today .task-time strong { color: #53617b; font-size: 11px; }
.execution-page #view-today .task-time small { color: #a0a8b6; font-size: 9px; font-weight: 700; }
.execution-page #view-today .task-time input {
  position: absolute;
  inset: -5px 0;
  width: 100%;
  height: calc(100% + 10px);
  padding: 0;
  opacity: 0;
  cursor: pointer;
}
.execution-page #view-today .task-time::after {
  position: absolute;
  right: 0;
  bottom: -2px;
  left: 0;
  height: 1px;
  background: rgba(83, 97, 123, 0.18);
  content: "";
}
.execution-page #view-today .task-time:focus-within::after { height: 2px; background: #789f9b; }
.execution-page #view-today .execution-checklist[data-mode="priority"] .task-row {
  grid-template-columns: 54px 28px minmax(0, 1fr) 34px;
  user-select: none;
  cursor: grab;
}
.execution-page .task-drag-handle {
  display: grid;
  width: 28px;
  height: 38px;
  padding: 0;
  place-items: center;
  color: #8d97a9;
  background: rgba(107, 122, 166, 0.07);
  border: 1px solid rgba(107, 122, 166, 0.1);
  border-radius: 10px;
  font-size: 19px;
  line-height: 1;
  cursor: grab;
  touch-action: none;
}
.execution-page .task-drag-handle:active { cursor: grabbing; }
.execution-page .task-drag-handle:focus-visible { outline: 2px solid rgba(120, 159, 155, 0.5); outline-offset: 2px; }
.execution-page .execution-checklist.is-reordering .task-row:not(.is-dragging) { opacity: 0.62; }
.execution-page #view-today .execution-checklist .task-row.is-dragging {
  z-index: 4;
  background: #ffffff;
  border-color: rgba(120, 159, 155, 0.38);
  box-shadow: 0 18px 34px rgba(91, 106, 151, 0.2);
  transform: scale(1.015);
}
.execution-page #view-today .task-timeline-node {
  position: static;
  display: block;
  width: 8px;
  height: 8px;
  background: #75ad9a;
  border-radius: 50%;
}
.execution-page #view-today .task-afternoon .task-timeline-node { background: #d8a44f; }
.execution-page #view-today .task-evening .task-timeline-node { background: #7da7bd; }
.execution-page #view-today .task-night .task-timeline-node { background: #927eb5; }
.execution-page #view-today .task-content {
  gap: 4px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}
.execution-page #view-today .task-row:hover .task-content { transform: none; box-shadow: none; }
.execution-page #view-today .task-row-head { display: none; }
.execution-page #view-today .task-content > span:not(.task-row-head) { font-size: 11px; }
.execution-page #view-today .task-content .minimum-action { font-size: 8px; line-height: 1.45; }
.execution-page #view-today .execution-checklist .execution-check { width: 30px; height: 30px; border-radius: 9px; }

.execution-page .today-order-hint { margin: 12px 0 0; color: #929aaa; font-size: 8px; font-weight: 700; text-align: center; }
.execution-page .today-order-hint span { margin-right: 4px; color: #8f82ad; }
.execution-page #view-today .today-card > .focus-adjust-link { margin-top: 8px; }
.execution-page #view-today .today-card > .view-jump-link { display: none; }

.execution-page #view-today .progress-card { order: 4; }
.execution-page .today-progress-body { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 16px; align-items: center; margin-top: 17px; }
.execution-page .today-progress-body > strong { color: #647895; font-family: "Jalnan", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; font-size: 34px; }
.execution-page .today-progress-body .progress-track { margin: 0; }
.execution-page #view-today .progress-card > p { margin-bottom: 0; }

.execution-page #view-today .coach-card {
  order: 5;
  grid-template-columns: 86px minmax(0, 1fr);
  min-height: 132px;
  padding-right: 22px;
}
.execution-page #view-today .coach-card > img { width: 88px; height: 108px; }
.execution-page .today-add-button {
  display: inline-flex;
  width: auto;
  min-height: 38px;
  padding: 0 13px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: #ffffff;
  background: linear-gradient(145deg, #789f9b, #8993ad);
  border: 0;
  border-radius: 12px;
  box-shadow: 0 9px 20px rgba(91, 106, 151, 0.18);
  cursor: pointer;
  white-space: nowrap;
}
.execution-page .today-add-button:hover { transform: translateY(-1px); box-shadow: 0 12px 24px rgba(91, 106, 151, 0.22); }
.execution-page .today-add-button:focus-visible { outline: 2px solid rgba(120, 159, 155, 0.5); outline-offset: 3px; }
.execution-page .today-add-button span { font-size: 16px; line-height: 1; }
.execution-page .today-add-button strong { font-size: 9px; }

.execution-page #view-today .trial-reminder-card,
.execution-page #view-today .personality-nudge-card,
.execution-page #view-today .recovery-card { order: 6; }

.execution-page .add-schedule-sheet { width: min(460px, calc(100vw - 24px)); }
.execution-page .add-schedule-form { display: grid; gap: 12px; }
.execution-page .add-schedule-mode-hint { margin: 0; padding: 10px 12px; color: #68758b; background: rgba(120, 159, 155, 0.08); border-radius: 12px; font-size: 10px; font-weight: 750; line-height: 1.5; }
.execution-page .add-schedule-form > div { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.execution-page .add-schedule-form label { display: grid; gap: 7px; color: #68758b; font-size: 10px; font-weight: 850; }
.execution-page .add-schedule-form label span small { color: #9aa3b3; font-size: 8px; font-weight: 700; }
.execution-page .add-schedule-form label.is-optional { opacity: 0.72; }
.execution-page .add-schedule-form input,
.execution-page .add-schedule-form select,
.execution-page .add-schedule-form textarea {
  width: 100%;
  padding: 12px 13px;
  color: var(--app-ink);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(107, 122, 166, 0.14);
  border-radius: 13px;
  outline: 0;
  resize: vertical;
}
.execution-page .add-schedule-form input:focus,
.execution-page .add-schedule-form select:focus,
.execution-page .add-schedule-form textarea:focus { border-color: rgba(107, 122, 166, 0.42); box-shadow: 0 0 0 3px rgba(107, 122, 166, 0.09); }

@media (max-width: 620px) {
  .execution-page #view-today .today-goal-card { grid-template-columns: minmax(0, 1fr) 112px; min-height: 168px; padding: 20px; }
  .execution-page #view-today .today-ollie-stage { display: grid; min-height: 125px; }
  .execution-page #view-today .today-ollie-stage img { width: 116px; height: 132px; }
  .execution-page #view-today .today-ollie-stage span { display: none; }
  .execution-page .today-next-action { grid-template-columns: minmax(0, 1fr) auto; }
  .execution-page .today-next-action .focus-task-goal { display: none; }
  .execution-page #view-today .today-card > .card-title { align-items: flex-start; flex-direction: row; gap: 10px; }
  .execution-page #view-today .today-card > .card-title > div { min-width: 0; }
  .execution-page .today-schedule-actions { justify-content: space-between; }
  .execution-page .schedule-mode-switch { flex: 1; }
  .execution-page #view-today .execution-checklist .task-row { grid-template-columns: 60px 8px minmax(0, 1fr) 30px; gap: 8px; padding: 11px 10px; }
  .execution-page #view-today .execution-checklist[data-mode="priority"] .task-row { grid-template-columns: 48px 26px minmax(0, 1fr) 30px; }
  .execution-page #view-today .task-time strong { font-size: 10px; }
  .execution-page .task-drag-handle { width: 26px; height: 36px; }
  .execution-page #view-today .coach-card { grid-template-columns: 70px minmax(0, 1fr); gap: 10px; padding: 18px 14px; }
  .execution-page #view-today .coach-card > img { width: 72px; height: 90px; }
  .execution-page .today-add-button { min-height: 36px; padding-inline: 10px; }
  .execution-page .add-schedule-form > div { grid-template-columns: 1fr; }
}

/* Shared footer across landing, app, and admin pages */
.home-page .site-footer {
  padding-bottom: 132px;
}

.execution-page .site-footer {
  width: min(calc(100% - 32px), 1120px);
  min-height: 168px;
  margin: 0 auto 20px;
  padding-bottom: 124px;
  background:
    radial-gradient(circle at 12% 22%, rgba(126, 168, 162, 0.16), transparent 34%),
    radial-gradient(circle at 90% 78%, rgba(201, 141, 153, 0.14), transparent 38%),
    rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 28px;
  box-shadow: 0 18px 44px rgba(91, 106, 151, 0.09);
}

.admin-page .site-footer {
  position: relative;
  z-index: 2;
  min-height: 150px;
  background:
    radial-gradient(circle at 12% 22%, rgba(107, 122, 166, 0.11), transparent 34%),
    radial-gradient(circle at 90% 78%, rgba(201, 141, 153, 0.1), transparent 38%),
    rgba(255, 255, 255, 0.78);
}

@media (max-width: 759px) {
  .home-page .site-footer {
    padding-bottom: calc(172px + env(safe-area-inset-bottom));
  }

  .execution-page .site-footer {
    width: min(calc(100% - 20px), 520px);
    margin-bottom: 10px;
    padding-bottom: calc(118px + env(safe-area-inset-bottom));
    border-radius: 22px;
  }
}

/* 히어로 체험 시작 CTA */
.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  margin-top: 22px;
}

.hero-trial-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 16px 30px;
  color: #ffffff !important;
  background: linear-gradient(135deg, var(--blue), #8494ba);
  border-radius: 999px;
  box-shadow: 0 18px 44px rgba(107, 122, 166, 0.28);
  font-size: 18px;
  font-weight: 950;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.hero-trial-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 50px rgba(107, 122, 166, 0.34);
}

/* Compact page-to-footer rhythm after removing the landing floating CTA/tab bar. */
.home-page main {
  min-height: 0;
  padding-bottom: 24px;
}

.home-page .site-footer {
  min-height: 0;
  gap: 16px;
  padding: 26px clamp(22px, 4vw, 40px) 30px;
}

.execution-page .execution-app {
  padding-bottom: 88px;
}

.execution-page .site-footer {
  min-height: 0;
  padding: 28px 32px 92px;
}

/* Plan tab: progressive disclosure with focused overview, detail, and edit screens. */
.execution-page #view-plan [data-plan-screen][hidden] {
  display: none !important;
}

.execution-page #view-plan [data-plan-screen] {
  grid-column: 1 / -1;
}

.execution-page .plan-view-head {
  min-height: 170px;
}

.execution-page .plan-overview-card {
  width: min(100%, 780px);
  min-height: 0;
  justify-self: center;
  padding: 26px;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.94), rgba(239, 246, 244, 0.9));
}

.execution-page .plan-overview-head {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
}

.execution-page .plan-overview-head > div {
  min-width: 0;
}

.execution-page .plan-overview-head > div > span {
  color: #78988f;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.execution-page .plan-overview-head h2 {
  margin: 7px 0 5px;
  color: var(--app-ink);
  font-family: "Jalnan", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: clamp(20px, 3vw, 28px);
  line-height: 1.25;
}

.execution-page .plan-overview-head p {
  margin: 0;
  color: var(--app-muted);
  font-size: 10px;
  font-weight: 700;
}

.execution-page .plan-overview-status {
  flex: 0 0 auto;
  padding: 8px 10px;
  color: #657895;
  background: #edf2f8;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 900;
  white-space: nowrap;
}

.execution-page .plan-overview-status.has-pending {
  color: #8a6877;
  background: #f8eaf0;
}

.execution-page .plan-overview-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 20px;
}

.execution-page .plan-overview-metrics > div {
  display: grid;
  gap: 4px;
  padding: 13px 14px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(107, 122, 166, 0.09);
  border-radius: 15px;
}

.execution-page .plan-overview-metrics span {
  color: #929baa;
  font-size: 8px;
  font-weight: 800;
}

.execution-page .plan-overview-metrics strong {
  overflow: hidden;
  color: #53617b;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.execution-page .plan-week-preview-head {
  display: flex;
  gap: 8px;
  align-items: baseline;
  justify-content: space-between;
  margin: 22px 0 10px;
}

.execution-page .plan-week-preview-head strong {
  color: var(--app-ink);
  font-size: 13px;
}

.execution-page .plan-week-preview-head span {
  color: #929baa;
  font-size: 8px;
  font-weight: 700;
}

.execution-page .plan-overview-card .weekly-plan {
  gap: 7px;
}

.execution-page .plan-overview-card .weekly-plan li {
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 2px 10px;
  padding: 11px 12px;
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(107, 122, 166, 0.08);
  border-radius: 14px;
}

.execution-page .plan-overview-card .weekly-plan li > span {
  width: 34px;
  height: 34px;
  color: #657895;
  background: #edf2f8;
  border-radius: 11px;
  font-size: 10px;
}

.execution-page .plan-overview-card .weekly-plan strong {
  overflow: hidden;
  color: #3f4b63;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.execution-page .plan-overview-card .weekly-plan p {
  margin: 0;
  color: #919aa9;
  font-size: 8px;
  font-weight: 700;
}

.execution-page .plan-home-actions {
  display: grid;
  margin-top: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(107, 122, 166, 0.1);
  border-radius: 16px;
}

.execution-page .plan-home-actions button {
  display: flex;
  width: 100%;
  min-height: 58px;
  padding: 10px 14px;
  align-items: center;
  justify-content: space-between;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
}

.execution-page .plan-home-actions button + button {
  border-top: 1px solid rgba(107, 122, 166, 0.1);
}

.execution-page .plan-home-actions button:hover {
  background: rgba(120, 159, 155, 0.08);
}

.execution-page .plan-home-actions button:focus-visible {
  outline: 2px solid rgba(120, 159, 155, 0.5);
  outline-offset: -3px;
}

.execution-page .plan-home-actions button > span {
  display: grid;
  gap: 3px;
}

.execution-page .plan-home-actions strong {
  color: #46536b;
  font-size: 11px;
}

.execution-page .plan-home-actions small {
  color: #929baa;
  font-size: 8px;
  font-weight: 700;
}

.execution-page .plan-home-actions b {
  color: #8995a8;
  font-size: 22px;
  font-weight: 500;
}

.execution-page .plan-subview-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  width: min(100%, 960px);
  margin: 0 auto;
  align-items: start;
  outline: 0;
}

.execution-page .plan-subview-header > button {
  min-height: 36px;
  padding: 0 8px 0 0;
  color: #6f8f8a;
  background: transparent;
  border: 0;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
}

.execution-page .plan-subview-header > button span {
  font-size: 10px;
  vertical-align: 2px;
}

.execution-page .plan-subview-header > div > span {
  color: #8d82a0;
  font-size: 8px;
  font-weight: 950;
  letter-spacing: 0.1em;
}

.execution-page .plan-subview-header h1 {
  margin: 4px 0;
  color: var(--app-ink);
  font-family: "Jalnan", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: clamp(25px, 4vw, 34px);
}

.execution-page .plan-subview-header p {
  margin: 0;
  color: var(--app-muted);
  font-size: 10px;
  font-weight: 700;
}

.execution-page #view-plan .schedule-calendar-card[data-plan-screen="detail"],
.execution-page #view-plan .plan-editor-card[data-plan-screen="editor"] {
  grid-column: 1 / -1;
  width: min(100%, 960px);
  min-height: 0;
  margin-inline: auto;
}

.execution-page .plan-editor-head-actions {
  display: flex;
  gap: 7px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.execution-page .revision-advanced {
  overflow: hidden;
  background: rgba(248, 250, 251, 0.82);
  border: 1px solid rgba(107, 122, 166, 0.11);
  border-radius: 15px;
}

.execution-page .revision-advanced summary {
  display: flex;
  min-height: 56px;
  padding: 10px 14px;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  list-style: none;
}

.execution-page .revision-advanced summary::-webkit-details-marker {
  display: none;
}

.execution-page .revision-advanced summary > span {
  display: grid;
  gap: 3px;
}

.execution-page .revision-advanced summary strong {
  color: #53617b;
  font-size: 11px;
}

.execution-page .revision-advanced summary small {
  color: #929baa;
  font-size: 8px;
  font-weight: 700;
}

.execution-page .revision-advanced summary b {
  color: #789f9b;
  font-size: 18px;
  transition: transform 180ms ease;
}

.execution-page .revision-advanced[open] summary b {
  transform: rotate(45deg);
}

.execution-page .revision-advanced-body {
  display: grid;
  gap: 11px;
  padding: 0 12px 12px;
}

@media (max-width: 759px) {
  .home-page main {
    padding-bottom: 14px;
  }

  .home-page .site-footer {
    gap: 10px;
    padding: 22px 18px 26px;
  }

  .home-page .footer-brand-block {
    gap: 3px;
  }

  .home-page .footer-brand-block strong {
    font-size: 24px;
  }

  .home-page .footer-information {
    gap: 5px;
  }

  .execution-page .execution-app {
    padding-bottom: 82px;
  }

  .execution-page .site-footer {
    padding: 24px 20px calc(84px + env(safe-area-inset-bottom));
  }

  .execution-page .plan-view-head {
    grid-template-columns: minmax(0, 1fr) 82px;
    min-height: 118px;
    padding: 16px 18px;
  }

  .execution-page .plan-view-head h1 {
    font-size: 27px;
  }

  .execution-page .plan-view-head img {
    width: 82px;
    height: 96px;
  }

  .execution-page .plan-overview-card {
    padding: 18px 16px;
  }

  .execution-page .plan-overview-metrics {
    gap: 6px;
    margin-top: 16px;
  }

  .execution-page .plan-overview-metrics > div {
    padding: 10px 8px;
  }

  .execution-page .plan-overview-metrics strong {
    font-size: 10px;
  }

  .execution-page .plan-week-preview-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .execution-page .plan-subview-header {
    gap: 10px;
    padding-inline: 4px;
  }

  .execution-page .plan-editor-card {
    padding: 16px;
  }

  .execution-page .plan-editor-card > .card-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .execution-page .plan-editor-head-actions {
    width: 100%;
    justify-content: space-between;
  }
}

/* Companion IA: growth lives in Ollie, reflection lives in its own Memory tab. */
.execution-page #view-mate .view-head,
.execution-page #view-mate .journey-map-disclosure,
.execution-page #view-memory .memory-view-head,
.execution-page #view-memory .memory-conversation-card,
.execution-page #view-memory .memory-card {
  grid-column: 1 / -1;
}

.execution-page #view-mate .companion-run-card {
  align-content: start;
  padding: 0;
}

.execution-page #view-mate .companion-next-inline {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  margin-top: 12px;
  padding: 11px 12px;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(107, 122, 166, 0.1);
  border-radius: 15px;
}

.execution-page #view-mate .companion-next-inline > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(145deg, #83a79d, #9b91ad);
  border-radius: 12px;
}

.execution-page #view-mate .companion-next-inline > div {
  display: grid;
  gap: 2px;
}

.execution-page #view-mate .companion-next-inline small {
  color: #87948f;
  font-size: 8px;
  font-weight: 900;
}

.execution-page #view-mate .companion-next-inline strong {
  color: #435169;
  font-size: 11px;
}

.execution-page #view-mate .companion-next-inline p {
  margin: 0;
  color: #7e8998;
  font-size: 8px;
  font-weight: 700;
  line-height: 1.4;
}

.execution-page .growth-detail-disclosure > summary {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
}

.execution-page .growth-detail-disclosure > summary::-webkit-details-marker {
  display: none;
}

.execution-page .growth-detail-disclosure > summary > span {
  display: grid;
  gap: 4px;
}

.execution-page .growth-detail-disclosure > summary strong {
  color: #46546b;
  font-size: 13px;
}

.execution-page .growth-detail-disclosure > summary small {
  color: #8792a2;
  font-size: 9px;
  font-weight: 750;
}

.execution-page .growth-detail-disclosure > summary > b {
  padding: 8px 10px;
  color: #6d827a;
  background: #edf5f2;
  border-radius: 999px;
  font-size: 8px;
}

.execution-page .growth-detail-disclosure[open] > summary > b {
  font-size: 0;
}

.execution-page .growth-detail-disclosure[open] > summary > b::after {
  content: "접기";
  font-size: 8px;
}

.execution-page .growth-detail-content {
  display: grid;
  gap: 12px;
  padding: 0 16px 16px;
  animation: viewFade 0.22s ease;
}

.execution-page #view-mate .companion-run-body {
  grid-template-columns: 92px minmax(0, 1fr);
  margin-top: 4px;
}

.execution-page #view-mate .companion-run-body img {
  width: 92px;
  height: 108px;
}

.execution-page #view-mate .companion-run-visual {
  min-height: 108px;
}

.execution-page #view-mate .mate-actions {
  grid-template-columns: 1fr;
}

.execution-page .journey-map-disclosure {
  padding: 0;
  overflow: hidden;
}

.execution-page .journey-map-disclosure > summary {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
}

.execution-page .journey-map-disclosure > summary::-webkit-details-marker,
.execution-page .memory-optional-details > summary::-webkit-details-marker,
.execution-page .memory-history-disclosure > summary::-webkit-details-marker {
  display: none;
}

.execution-page .journey-map-disclosure > summary > div {
  display: grid;
  gap: 3px;
}

.execution-page .journey-map-disclosure > summary span,
.execution-page .journey-map-disclosure > summary small {
  color: #86938f;
  font-size: 9px;
  font-weight: 850;
}

.execution-page .journey-map-disclosure > summary strong {
  color: #44566b;
  font-size: 19px;
}

.execution-page .journey-map-disclosure > summary > b {
  min-width: 76px;
  padding: 9px 12px;
  color: #657b73;
  background: #edf6f2;
  border-radius: 999px;
  font-size: 9px;
  text-align: center;
}

.execution-page .journey-map-disclosure[open] > summary > b {
  font-size: 0;
}

.execution-page .journey-map-disclosure[open] > summary > b::after {
  content: "지도 접기";
  font-size: 9px;
}

.execution-page .journey-map-details {
  display: grid;
  gap: 14px;
  padding: 0 18px 18px;
  animation: viewFade 0.22s ease;
}

.execution-page .memory-conversation-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  max-width: 860px;
  width: 100%;
  margin-inline: auto;
  background: linear-gradient(145deg, rgba(237, 247, 243, 0.94), rgba(244, 240, 247, 0.9));
}

.execution-page .memory-conversation-card > img {
  width: 92px;
  height: 108px;
  object-fit: contain;
  filter: drop-shadow(0 12px 14px rgba(91, 106, 151, 0.14));
}

.execution-page .memory-conversation-card > div {
  display: grid;
  gap: 5px;
}

.execution-page .memory-conversation-card span {
  color: #819b92;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.execution-page .memory-conversation-card h2 {
  margin: 0;
  color: #3f4d64;
  font-size: 20px;
}

.execution-page .memory-conversation-card p {
  margin: 0;
  color: #768295;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.55;
}

.execution-page .memory-conversation-card button {
  min-height: 46px;
  padding: 0 16px;
  color: #ffffff;
  background: linear-gradient(135deg, #789f93, #8993ad);
  border: 0;
  border-radius: 14px;
  box-shadow: 0 10px 22px rgba(91, 106, 151, 0.16);
  font: inherit;
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
}

.execution-page #view-memory .memory-card {
  max-width: 860px;
  width: 100%;
  margin-inline: auto;
}

.execution-page #view-memory .memory-journal-grid {
  grid-template-columns: 1fr;
}

.execution-page .memory-optional-details,
.execution-page .memory-history-disclosure {
  overflow: hidden;
  background: rgba(247, 249, 251, 0.78);
  border: 1px solid rgba(107, 122, 166, 0.12);
  border-radius: 17px;
}

.execution-page .memory-optional-details > summary,
.execution-page .memory-history-disclosure > summary {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 14px;
  cursor: pointer;
  list-style: none;
}

.execution-page .memory-optional-details > summary > span,
.execution-page .memory-history-disclosure > summary > span {
  display: grid;
  gap: 3px;
}

.execution-page .memory-optional-details > summary strong,
.execution-page .memory-history-disclosure > summary strong {
  color: #4b586e;
  font-size: 11px;
}

.execution-page .memory-optional-details > summary small,
.execution-page .memory-history-disclosure > summary small {
  color: #8a94a4;
  font-size: 8px;
  font-weight: 750;
}

.execution-page .memory-optional-details > summary > b,
.execution-page .memory-history-disclosure > summary > b {
  flex: 0 0 auto;
  padding: 7px 9px;
  color: #70857d;
  background: #edf5f2;
  border-radius: 999px;
  font-size: 8px;
}

.execution-page .memory-optional-details > div {
  display: grid;
  gap: 12px;
  padding: 0 12px 12px;
}

.execution-page .memory-history-disclosure {
  margin-top: 14px;
  background: rgba(255, 255, 255, 0.58);
}

.execution-page .memory-history-content {
  display: grid;
  gap: 12px;
  padding: 0 12px 12px;
  animation: viewFade 0.22s ease;
}

.execution-page .memory-history-content .memory-pattern-panel {
  margin-top: 0;
}

@media (max-width: 620px) {
  .execution-page #view-mate .companion-home-card,
  .execution-page #view-mate .companion-run-card,
  .execution-page #view-mate .journey-map-disclosure,
  .execution-page #view-memory .memory-view-head,
  .execution-page #view-memory .memory-conversation-card,
  .execution-page #view-memory .memory-card {
    grid-column: 1;
    grid-row: auto;
  }

  .execution-page #view-mate .view-head {
    grid-template-columns: minmax(0, 1fr) 76px;
    min-height: 112px;
    padding: 14px 16px;
  }

  .execution-page #view-mate .view-head h1 {
    font-size: 25px;
  }

  .execution-page #view-mate .view-head p {
    margin-top: 4px;
    font-size: 9px;
  }

  .execution-page #view-mate .view-head img {
    width: 76px;
    height: 90px;
  }

  .execution-page #view-mate .companion-home-card {
    padding: 14px;
  }

  .execution-page #view-mate .companion-world {
    min-height: 220px;
  }

  .execution-page #view-mate .companion-world img {
    width: 170px;
    height: 190px;
    margin-top: -18px;
  }

  .execution-page #view-mate .companion-speech {
    right: 12px;
    bottom: 12px;
    max-width: 230px;
  }

  .execution-page .growth-detail-disclosure > summary {
    min-height: 76px;
    padding: 14px 16px;
  }

  .execution-page .memory-conversation-card {
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 10px;
    padding: 16px;
  }

  .execution-page .memory-conversation-card > img {
    width: 70px;
    height: 84px;
  }

  .execution-page .memory-conversation-card h2 {
    font-size: 17px;
  }

  .execution-page .memory-conversation-card button {
    grid-column: 1 / -1;
    min-height: 50px;
  }

  .execution-page #view-memory .memory-card {
    padding: 17px;
  }

  .execution-page #view-memory .memory-auto-summary {
    grid-template-columns: 1fr;
  }

  .execution-page #view-memory .memory-mood-picker {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .execution-page .journey-map-disclosure > summary {
    min-height: 82px;
    padding: 14px 16px;
  }

  .execution-page .journey-map-disclosure > summary strong {
    font-size: 16px;
  }

  .execution-page .execution-tabbar .tab-label {
    font-size: 10px;
  }
}

.hero-cta-note {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

/* 앱 내 체험 종료 알림 카드 */
.execution-page .trial-reminder-card {
  display: grid;
  gap: 10px;
}

.execution-page .trial-reminder-card .builder-field input {
  width: 100%;
  min-height: 48px;
  padding: 0 15px;
  color: #30394e;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #dbe1eb;
  border-radius: 12px;
  outline: none;
  font-size: 14px;
  font-weight: 700;
}

.execution-page .trial-reminder-card .builder-field input:focus {
  border-color: #8daac2;
  box-shadow: 0 0 0 4px rgba(117, 163, 191, 0.12);
}

.execution-page .trial-reminder-note {
  margin: -4px 0 0;
  color: #7a8191;
  font-size: 11px;
  line-height: 1.5;
}

.execution-page .consent-row {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  margin: 0;
  padding: 11px 12px;
  color: #596276;
  background: #ffffff;
  border: 1px solid rgba(107, 122, 166, 0.12);
  border-radius: 13px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
}

.execution-page .consent-row input {
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  accent-color: #7d9d9b;
}

.execution-page .consent-row strong {
  color: #8a7180;
}

.execution-page .consent-row small {
  display: block;
  margin-top: 3px;
  color: #8b91a0;
  font-size: 10px;
  font-weight: 500;
}

.execution-page .required-consent {
  border-color: rgba(125, 157, 155, 0.28);
}

/* 목표 칩: .personality-form button 전체 폭 규칙을 무효화해 콤팩트 그리드로 */
.personality-form .goal-suggestions button {
  grid-column: auto;
}

.personality-form .goal-suggestions .custom-goal-button {
  min-height: 44px;
  grid-column: 1 / -1;
}

@media (max-width: 640px) {
  .goal-suggestions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* 성향 설정 시트와 안내 카드 */
.personality-sheet-copy {
  margin: 0;
  color: #7a8191;
  font-size: 12px;
  line-height: 1.6;
}

.app-personality-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.app-personality-fields label {
  display: grid;
  gap: 7px;
  color: #3a4357;
  font-size: 12px;
  font-weight: 900;
}

.app-personality-fields input,
.app-personality-fields select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  color: #30394e;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #dbe1eb;
  border-radius: 12px;
  outline: none;
  font-size: 14px;
  font-weight: 700;
}

.app-personality-fields input:focus,
.app-personality-fields select:focus {
  border-color: #8daac2;
  box-shadow: 0 0 0 4px rgba(117, 163, 191, 0.12);
}

.execution-page #personalitySheet {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 24px;
}

.execution-page #personalitySheet > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.execution-page #personalitySheet > header span {
  color: #759187;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.execution-page #personalitySheet > header h2 {
  margin: 4px 0 0;
  color: #31463f;
  font-size: 25px;
}

.execution-page #personalitySheet > header button {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  color: #72847e;
  background: #f1f5f3;
  border: 0;
  border-radius: 50%;
  font-size: 21px;
  cursor: pointer;
}

.execution-page #personalitySheet .auth-sheet-terms {
  padding: 4px 4px 0;
}

.personality-nudge-card {
  display: grid;
  gap: 10px;
}

@media (max-width: 640px) {
  .app-personality-fields {
    grid-template-columns: 1fr;
  }

  .execution-page #personalitySheet {
    padding: 20px;
  }
}

/* Detailed AI plan revision workspace */
.execution-page .plan-editor-card > .edit-step {
  grid-column: 1 / -1;
}

.execution-page .revision-detail-intro {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  color: #47536c;
  background: linear-gradient(135deg, rgba(232, 243, 241, 0.92), rgba(238, 239, 248, 0.92));
  border: 1px solid rgba(107, 122, 166, 0.12);
  border-radius: 15px;
}

.execution-page .revision-detail-intro strong {
  font-size: 13px;
  font-weight: 950;
}

.execution-page .revision-detail-intro p {
  margin: 0;
  color: #748092;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
}

.execution-page .revision-goal-type-row {
  display: grid;
  grid-template-columns: minmax(190px, 0.75fr) minmax(0, 1.25fr);
  gap: 12px;
  align-items: end;
  padding: 12px 14px;
  background: rgba(245, 248, 250, 0.92);
  border: 1px solid rgba(107, 122, 166, 0.12);
  border-radius: 15px;
}

.execution-page .revision-goal-type-hint {
  margin: 0 0 5px;
  color: #68758a;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.5;
}

.execution-page .revision-detail-section {
  display: grid;
  gap: 11px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(107, 122, 166, 0.12);
  border-radius: 16px;
}

.execution-page .revision-detail-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.execution-page .revision-detail-heading span {
  color: #3f4b63;
  font-size: 12px;
  font-weight: 950;
}

.execution-page .revision-detail-heading small {
  color: #8992a2;
  font-size: 9px;
  font-weight: 800;
}

.execution-page .revision-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.execution-page .revision-time-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.execution-page .revision-field {
  display: grid;
  gap: 6px;
  color: #5b667b;
  font-size: 10px;
  font-weight: 900;
}

.execution-page .revision-field-wide {
  grid-column: 1 / -1;
}

.execution-page .revision-field input,
.execution-page .revision-field textarea,
.execution-page .revision-field select {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  color: #354057;
  background: #f8fafc;
  border: 1px solid #dde3ec;
  border-radius: 11px;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  outline: none;
}

.execution-page .revision-field textarea {
  resize: vertical;
}

.execution-page .revision-field input:focus,
.execution-page .revision-field textarea:focus,
.execution-page .revision-field select:focus {
  border-color: #88aaa0;
  box-shadow: 0 0 0 3px rgba(136, 170, 160, 0.14);
}

.execution-page .revision-number-field {
  position: relative;
}

.execution-page .revision-number-field input {
  padding-right: 36px;
}

.execution-page .revision-number-field em {
  position: absolute;
  top: 50%;
  right: 12px;
  color: #8791a1;
  font-size: 10px;
  font-style: normal;
  transform: translateY(-50%);
  pointer-events: none;
}

.execution-page .revision-days {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  border: 0;
}

.execution-page .revision-days legend {
  color: #5b667b;
  font-size: 10px;
  font-weight: 900;
}

.execution-page .revision-days > div {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.execution-page .revision-days label {
  position: relative;
  cursor: pointer;
}

.execution-page .revision-days input {
  position: absolute;
  opacity: 0;
}

.execution-page .revision-days span {
  display: grid;
  min-height: 34px;
  place-items: center;
  color: #68748a;
  background: #f4f7fa;
  border: 1px solid #dfe4ec;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 900;
}

.execution-page .revision-days input:checked + span {
  color: #ffffff;
  background: linear-gradient(145deg, #789f94, #7d8ead);
  border-color: transparent;
}

.execution-page .revision-days input:focus-visible + span {
  outline: 3px solid rgba(121, 156, 145, 0.2);
  outline-offset: 2px;
}

.execution-page .revision-request-caption {
  margin-top: 2px;
  color: #5b667b;
  font-size: 10px;
  font-weight: 900;
}

.execution-page .revision-quick-actions {
  flex-wrap: wrap;
  overflow: visible;
}

.execution-page .proposal-summary {
  align-items: start;
}

.execution-page .proposal-detail-grid {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin: 7px 0 0;
  padding: 0;
  list-style: none;
}

.execution-page .proposal-detail-grid li {
  display: grid;
  gap: 3px;
  padding: 8px 10px;
  background: rgba(239, 244, 247, 0.86);
  border-radius: 10px;
}

.execution-page .proposal-detail-grid small {
  color: #809087;
  font-size: 8px;
  font-weight: 900;
}

.execution-page .proposal-detail-grid b {
  color: #465269;
  font-size: 10px;
  line-height: 1.45;
}

.execution-page .plan-rest-day {
  display: grid;
  gap: 5px;
  padding: 20px;
  text-align: center;
  background: linear-gradient(145deg, rgba(237, 244, 242, 0.9), rgba(241, 240, 248, 0.9));
  border: 1px dashed rgba(107, 122, 166, 0.22);
  border-radius: 16px;
}

.execution-page .plan-rest-day strong {
  color: #536079;
  font-size: 13px;
}

.execution-page .plan-rest-day span {
  color: #818a9b;
  font-size: 10px;
  font-weight: 700;
}

@media (max-width: 680px) {
  .execution-page .revision-goal-type-row,
  .execution-page .revision-field-grid,
  .execution-page .revision-time-grid,
  .execution-page .proposal-detail-grid {
    grid-template-columns: 1fr;
  }

  .execution-page .revision-field-wide {
    grid-column: 1;
  }

  .execution-page .revision-detail-heading {
    display: grid;
    gap: 3px;
  }

  .execution-page .revision-days > div {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Result-to-trial bridge: visible before the long AI plan details */
.result-inline-start {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: center;
  padding: 16px;
  background: linear-gradient(135deg, rgba(238, 248, 244, 0.98), rgba(240, 241, 249, 0.98));
  border: 1px solid rgba(111, 157, 139, 0.22);
  border-radius: 16px;
  box-shadow: 0 12px 26px rgba(91, 106, 151, 0.12);
}

.result-inline-start > div {
  display: grid;
  gap: 3px;
}

.result-inline-start > div span {
  color: #6c9481;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0.04em;
}

.result-inline-start > div strong {
  color: #3d485e;
  font-size: 11px;
  line-height: 1.4;
}

.home-page .story-flow .result-inline-start > a {
  display: flex;
  width: 100%;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 17px;
  color: #ffffff !important;
  background: linear-gradient(135deg, #6f9f8b, #7f99b4 58%, #9d93aa) !important;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(91, 124, 124, 0.2);
  font-size: 13px;
  font-weight: 950;
  white-space: nowrap;
}

.result-inline-start > a b {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  background: rgba(255, 255, 255, 0.17);
  border-radius: 7px;
  font-size: 13px;
}

.result-inline-start > a:focus-visible {
  outline: 3px solid rgba(111, 157, 139, 0.3);
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .result-inline-start {
    grid-template-columns: 1fr;
    padding: 14px;
    background: linear-gradient(135deg, rgba(238, 248, 244, 0.98), rgba(240, 241, 249, 0.98));
    border-color: rgba(111, 157, 139, 0.28);
    box-shadow: 0 14px 30px rgba(67, 79, 107, 0.14);
  }

  .result-inline-start > div strong {
    font-size: 10px;
  }

  .home-page .story-flow .result-inline-start > a {
    min-height: 54px;
    justify-content: space-between;
    padding-inline: 15px;
    font-size: 12px;
  }

  .result-details-disclosure > summary {
    min-height: 64px;
    padding-inline: 14px;
  }
}

/* MVP 1.0 interaction and small-screen hardening. */
.execution-page {
  min-height: 100dvh;
}

.execution-page .companion-chat-sheet {
  bottom: max(12px, env(safe-area-inset-bottom));
  max-height: calc(100dvh - 28px);
}

.execution-page .focus-mode {
  max-height: calc(100dvh - 24px);
  overflow-y: auto;
}

.execution-page .sheet-title-row button,
.execution-page .focus-mode > button {
  width: 44px;
  height: 44px;
}

.execution-page .energy-options button,
.execution-page .quick-adjustments button,
.execution-page .today-add-button {
  min-height: 44px;
}

.execution-page .energy-pack:disabled {
  cursor: not-allowed;
  filter: grayscale(0.2);
  opacity: 0.58;
  box-shadow: none;
  transform: none;
}

.execution-page .energy-pack:disabled:hover {
  border-color: var(--routine-line, #e0e7e3);
  box-shadow: none;
  transform: none;
}

@media (max-width: 620px) {
  .execution-page .energy-charge-button,
  .execution-page .menu-toggle {
    min-height: 44px;
  }

  .execution-page .today-welcome p,
  .execution-page .today-goal-copy > p,
  .execution-page .today-next-action p,
  .execution-page .today-order-hint,
  .execution-page .plan-overview-head p,
  .execution-page .plan-week-preview-head span,
  .execution-page .view-head p,
  .execution-page .memory-list-head p,
  .execution-page .memory-pattern-head p {
    font-size: 11px;
    line-height: 1.5;
  }
}
