:root {
  --ink: #34332f;
  --muted: #77776e;
  --paper: #fff9f0;
  --cream: #fffdf8;
  --line: #eadfce;
  --gold: #f3b640;
  --gold-deep: #c98625;
  --sage: #71845b;
  --soft-sage: #edf2e5;
  --coral: #e98263;
  --lilac: #b8a5c9;
}

* { box-sizing: border-box; }
html { background: var(--paper); }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 4%, rgba(243, 182, 64, .16), transparent 25rem),
    radial-gradient(circle at 3% 94%, rgba(113, 132, 91, .13), transparent 23rem),
    var(--paper);
  font-family: "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
}

/* 2026 mobile-first refresh: warm editorial colour + younger app-like surfaces. */
::selection { color: #fff; background: #71845b; }

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

.goal-app {
  width: min(100%, 1120px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 24px 20px 48px;
}

.topbar { display: flex; align-items: center; gap: 11px; min-height: 52px; }
.topbar nav { display: flex; gap: 4px; margin-left: auto; }
.topbar nav button { padding: 7px 10px; border: 0; border-radius: 8px; color: var(--muted); background: transparent; font-size: 13px; }
.topbar nav button:hover { color: var(--ink); background: rgba(255,255,255,.65); }
.member-chip { align-self: center; padding: 6px 10px; border-radius: 999px; color: #526044; background: var(--soft-sage); font-size: 12px; }
.brand-mark { display: block; width: 250px; height: 90px; flex: 0 0 250px; object-fit: contain; object-position: left center; }
.brand-name, .product-name { margin: 0; }
.brand-name { font-size: 12px; color: var(--muted); letter-spacing: .12em; }
.product-name { font-size: 17px; font-weight: 700; letter-spacing: .04em; }
.prototype-label {
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--sage);
  background: var(--soft-sage);
  font-size: 12px;
}

.welcome-panel {
  position: relative;
  overflow: hidden;
  margin-top: 24px;
  padding: 48px 42px 38px;
  border: 1px solid rgba(184, 174, 148, .55);
  border-radius: 28px;
  background: rgba(255, 253, 247, .9);
  box-shadow: 0 24px 70px rgba(72, 61, 36, .08);
}
.warm-orbit {
  position: absolute;
  top: -180px;
  right: -170px;
  width: 350px;
  height: 350px;
  border: 1px solid rgba(215, 160, 24, .27);
  border-radius: 50%;
}
.warm-orbit::after {
  content: "";
  position: absolute;
  inset: 64px;
  border: 1px solid rgba(215, 160, 24, .18);
  border-radius: 50%;
}
.eyebrow {
  position: relative;
  margin: 0 0 17px;
  color: var(--gold-deep);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
}
h1 {
  position: relative;
  margin: 0;
  font-family: "Songti SC", STSong, serif;
  font-size: clamp(38px, 8vw, 58px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.03em;
}
.intro { max-width: 540px; margin: 26px 0 0; color: #575950; font-size: 16px; line-height: 1.9; }
blockquote {
  margin: 29px 0 0;
  padding: 18px 20px;
  border-left: 3px solid var(--gold);
  border-radius: 0 12px 12px 0;
  color: #66583d;
  background: #faf2dd;
  font-family: "Songti SC", STSong, serif;
  font-size: 15px;
  line-height: 1.8;
}
.welcome-meta { display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 28px 0 0; color: var(--muted); font-size: 13px; }
.welcome-meta span::before { content: "✓"; margin-right: 6px; color: var(--sage); }
.primary-button {
  width: 100%;
  margin-top: 31px;
  padding: 16px 22px;
  border: 0;
  border-radius: 14px;
  color: white;
  background: var(--sage);
  font-weight: 700;
  letter-spacing: .03em;
  box-shadow: 0 10px 24px rgba(54, 76, 61, .2);
}
.primary-button:hover { background: #465c4e; }
.privacy-note { margin: 14px 0 0; text-align: center; color: #939489; font-size: 12px; }
.mode-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin-top: 30px; }
.mode-grid button { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; padding: 19px; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); background: white; text-align: left; }
.mode-grid button:hover,.mode-grid .recommended { border-color: #91a597; background: #f0f5f0; }
.mode-grid b { font-size: 15px; }
.mode-grid span { color: var(--muted); font-size: 12px; }
.mode-grid em { position: absolute; top: -9px; right: 12px; padding: 3px 8px; border-radius: 99px; color: white; background: var(--sage); font-size: 11px; font-style: normal; }

.conversation-shell {
  margin-top: 24px;
  padding: 26px;
  border: 1px solid rgba(184, 174, 148, .55);
  border-radius: 26px;
  background: rgba(255, 253, 247, .94);
  box-shadow: 0 24px 70px rgba(72, 61, 36, .08);
}
.coach-layout { display: grid; grid-template-columns: minmax(0,1fr) 330px; gap: 18px; align-items: start; }
.coach-layout .conversation-shell { min-width: 0; }
.snapshot-panel { position: sticky; top: 20px; margin-top: 24px; padding: 23px; border: 1px solid rgba(184,174,148,.55); border-radius: 22px; background: rgba(255,253,247,.94); box-shadow: 0 18px 50px rgba(72,61,36,.07); }
.snapshot-head { display: flex; justify-content: space-between; align-items: flex-start; }
.snapshot-head span { color: var(--gold-deep); font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.snapshot-head h2 { margin: 5px 0 0; font-family: "Songti SC",STSong,serif; font-size: 25px; }
.snapshot-head b { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 50%; color: var(--sage); background: var(--soft-sage); font-size: 12px; }
.snapshot-tip { margin: 15px 0 18px; color: var(--muted); font-size: 12px; line-height: 1.65; }
.snapshot-rows { display: grid; gap: 8px; }
.snapshot-rows div { position: relative; padding: 10px 11px; border-radius: 9px; background: #f3f0e7; }
.snapshot-rows div.filled { border-left: 3px solid var(--gold); background: #faf4e4; }
.snapshot-rows span,.open-question span { color: var(--muted); font-size: 10px; font-weight: 700; }
.snapshot-rows em { position: absolute; top: 8px; right: 9px; padding: 2px 7px; border-radius: 999px; color: #9a7040; background: #f3e5c9; font-size: 9px; font-style: normal; font-weight: 700; }
.snapshot-rows .confirmed { border-left-color: var(--sage); background: #eef3e9; }
.snapshot-rows .confirmed em { color: #526044; background: #dce7d2; }
.snapshot-rows small { display: block; margin-top: 3px; color: #9b9588; font-size: 10px; line-height: 1.45; }
.snapshot-rows p { margin: 4px 0 0; color: #99998f; font-size: 12px; line-height: 1.55; }
.snapshot-rows .filled p { color: var(--ink); }
.open-question { margin-top: 15px; padding: 13px; border-radius: 10px; color: white; background: var(--sage); }
.open-question span { color: rgba(255,255,255,.7); }
.open-question p { margin: 5px 0 0; font-size: 13px; line-height: 1.55; }
.progress-row { display: flex; align-items: center; gap: 13px; }
.back-button { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; background: transparent; font-size: 24px; }
.conversation-title, .conversation-subtitle { margin: 0; }
.conversation-title { font-weight: 700; }
.conversation-subtitle { margin-top: 3px; color: var(--muted); font-size: 12px; }
.step-count { margin-left: auto; color: var(--muted); font-size: 12px; }
.progress-track { height: 4px; margin: 20px 0 30px; overflow: hidden; border-radius: 99px; background: #ebe7dc; }
.progress-track span { display: block; width: 16%; height: 100%; background: var(--gold); }
.messages { display: flex; flex-direction: column; gap: 13px; min-height: 330px; }
.message { display: flex; align-items: flex-start; gap: 9px; max-width: 88%; }
.message p { margin: 0; padding: 13px 16px; border-radius: 6px 18px 18px 18px; line-height: 1.72; white-space: pre-wrap; }
.message.guide p { background: #f0ecdf; }
.message.member { align-self: flex-end; }
.message.member p { border-radius: 18px 6px 18px 18px; color: #fff; background: var(--sage); }
.guide-dot { display: block; width: 30px; height: 30px; flex: 0 0 30px; margin-top: 3px; overflow: hidden; color: transparent; background: url('/brand-icon.png?v=9') center/contain no-repeat; }
.message.waiting p { display: flex; gap: 5px; align-items: center; min-width: 66px; min-height: 46px; }
.message.waiting i { width: 6px; height: 6px; border-radius: 50%; background: #9c9b91; animation: pulse 1.2s infinite ease-in-out; }
.message.waiting i:nth-child(2) { animation-delay: .15s; }
.message.waiting i:nth-child(3) { animation-delay: .3s; }
@keyframes pulse { 0%,60%,100% { opacity:.28; transform:translateY(0) } 30% { opacity:1; transform:translateY(-3px) } }
.composer { margin-top: 28px; overflow: hidden; scroll-margin-bottom: calc(18px + env(safe-area-inset-bottom)); border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.composer textarea { display: block; width: 100%; resize: vertical; min-height: 105px; padding: 16px; border: 0; outline: 0; color: var(--ink); background: transparent; line-height: 1.7; }
.composer textarea::placeholder { color: #a3a397; }
.chat-error { margin: 0 14px 10px; padding: 9px 12px; border-radius: 10px; color: #945240; background: #fff0e8; font-size: 13px; line-height: 1.55; }
.composer-footer { display: flex; align-items: center; padding: 10px 12px 11px 16px; border-top: 1px solid #efede6; }
.composer-footer span { color: #96978e; font-size: 12px; }
.composer-notes { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.composer-notes small { color: #aaa99f; font-size: 10px; line-height: 1.35; }
.composer-footer button { margin-left: auto; padding: 9px 18px; border: 0; border-radius: 10px; color: white; background: var(--sage); font-weight: 700; }
.composer-footer button:disabled { opacity: .35; cursor: default; }

.sheet { margin-top: 24px; padding: 36px; border: 1px solid rgba(184,174,148,.55); border-radius: 26px; background: rgba(255,253,247,.94); box-shadow: 0 24px 70px rgba(72,61,36,.08); }
.sheet h2 { margin: 3px 0 24px; font-family: "Songti SC",STSong,serif; font-size: 34px; }
.sheet-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.sheet-quote { margin: 0 0 28px; padding: 17px 20px; border-radius: 13px; color: #66583d; background: #faf2dd; line-height: 1.75; }
.identity-grid,.two-cols { display: grid; grid-template-columns: repeat(2,1fr); gap: 15px; }
.identity-grid { margin-bottom: 16px; }
.identity-grid label,.card-field,.weekly-field { display: flex; flex-direction: column; gap: 8px; }
.identity-grid span,.card-field span,.weekly-field span { color: #696b63; font-size: 13px; font-weight: 700; }
.identity-grid input,.card-field textarea,.weekly-field textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 11px; outline: 0; color: var(--ink); background: white; line-height: 1.65; }
.identity-grid input:focus,.card-field textarea:focus,.weekly-field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(215,160,24,.1); }
.card-field { margin-bottom: 16px; }
.member-identity-card { margin:0 0 28px; padding:22px; border:1px solid rgba(215,160,24,.28); border-radius:18px; background:linear-gradient(135deg,#fff8df,#fffdf7); }
.member-identity-card h2 { margin:0 0 6px; font-size:22px; }
.member-identity-card p { margin:0; color:#73746d; line-height:1.65; }
.member-name-row { display:grid; grid-template-columns:1fr auto; gap:12px; margin-top:16px; }
.member-name-row input { min-width:0; padding:12px 14px; border:1px solid var(--line); border-radius:12px; background:#fff; font-size:16px; }
.member-name-row button { padding:11px 18px; border:0; border-radius:999px; background:#f5bf3f; color:#292a27; font-weight:700; }
.member-name-row:has(button:disabled) { grid-template-columns:1fr; }
.member-name-row button:disabled { display:none; }
.member-name-status { margin-top:10px!important; color:#627451!important; font-size:13px; }
.member-identity-card.compact { display:flex; align-items:center; gap:10px; margin:0 0 18px; padding:0; border:0; background:transparent; box-shadow:none; }
.member-identity-card.compact .eyebrow { margin:0; color:#85877f; font-size:0; letter-spacing:.08em; }
.member-identity-card.compact .eyebrow::after { content:"档案姓名"; font-size:12px; }
.saved-member-name { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.saved-member-name h2 { margin:0; font-family:inherit; font-size:15px; }
.saved-member-name button { min-height:0; margin:0; padding:3px 6px; border:0; border-radius:6px; background:transparent; color:#71845b; font-size:12px; box-shadow:none; }
.member-name-row .quiet { background:transparent; box-shadow:none; }
.outline-button { padding: 11px 16px; border: 1px solid var(--line); border-radius: 11px; color: var(--sage); background: white; }
.action-row { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
.action-row .primary-button { width: auto; margin: 0; }
.success-note { padding: 12px 15px; border-radius: 10px; color: #3f634e; background: var(--soft-sage); font-size: 14px; }
.intro.small { margin: -11px 0 24px; font-size: 14px; }
.goal-ribbon { display: flex; flex-direction: column; gap: 7px; margin: 22px 0; padding: 19px; border-left: 4px solid var(--gold); border-radius: 0 13px 13px 0; background: #f5f0e4; }
.goal-ribbon span { color: var(--muted); font-size: 12px; }
.weekly-form { display: grid; gap: 16px; }
.weekly-form .primary-button { margin-top: 4px; }
.weekly-intro { max-width: 720px; margin: -12px 0 22px; color: var(--muted); line-height: 1.75; }
.review-context { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0 28px; }
.review-context > div { display: grid; gap: 7px; padding: 17px 18px; border-left: 4px solid var(--gold); border-radius: 0 14px 14px 0; background: #f5f0e4; }
.review-context > div:first-child { grid-column: 1/-1; }
.review-context .context-key-small { border-left-color: var(--coral); background: #fff1e8; }
.review-context span { color: var(--muted); font-size: 12px; }
.review-context strong { color: #45463f; font-size: 14px; line-height: 1.65; }
.weekly-field { padding: 18px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.72); }
.weekly-field small { margin-top: -2px; color: #96958c; font-size: 12px; line-height: 1.55; }
.weekly-field[class*="kiss-"] { border-left: 4px solid rgba(233,130,99,.58); background: #fff9f5; }
.weekly-field.kiss-start { border-color: rgba(113,132,91,.42); border-left: 4px solid var(--sage); background: #f5f8f0; }
.weekly-save-note { margin: -2px 0 0; color: #99978e; font-size: 11px; text-align: center; }
.review-status { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 9px 13px; border-radius: 999px; color: #526044; background: var(--soft-sage); }
.review-status span { font-size: 11px; }
.review-status strong { font-size: 13px; }
.review-summary { margin: 0 0 22px; padding: 18px 20px; border-radius: 14px; color: #66583d; background: #faf2dd; line-height: 1.75; }
.review-result-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 13px; }
.result-block { padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.82); }
.result-block span { color: var(--sage); font-size: 12px; font-weight: 700; }
.result-block p { margin: 9px 0 0; color: #45463f; line-height: 1.72; white-space: pre-wrap; }
.kiss-result { margin: 22px 0 14px; padding: 22px; border: 1px solid rgba(233,130,99,.32); border-radius: 18px; background: #fff7f1; }
.kiss-result h3 { margin: 4px 0 16px; font-family: "Songti SC",STSong,serif; font-size: 25px; }
.kiss-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.kiss-grid .result-block { border-color: rgba(233,130,99,.22); }
.kiss-grid .result-block span { color: #a95843; }
.journey-goal,.journey-month,.journey-weeks { margin-top: 22px; padding: 23px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.78); }
.journey-goal,.journey-section-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.journey-goal span,.journey-section-head span { color: var(--gold-deep); font-size: 12px; font-weight: 700; }
.journey-goal h3,.journey-section-head h3 { margin: 7px 0 0; color: #3f403b; font-family: "Songti SC",STSong,serif; font-size: 22px; line-height: 1.55; }
.journey-goal button,.journey-section-head button { flex: none; padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; color: var(--sage); background: white; font-weight: 700; }
.journey-month-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 18px; }
.journey-week-list { display: grid; gap: 0; margin-top: 22px; }
.journey-week-list > article { display: grid; grid-template-columns: 110px 1fr; gap: 18px; }
.week-marker { position: relative; display: flex; gap: 10px; padding-top: 17px; color: var(--muted); font-size: 11px; }
.week-marker::after { content: ""; position: absolute; left: 5px; top: 30px; bottom: -18px; width: 1px; background: #dcd5c6; }
.journey-week-list > article:last-child .week-marker::after { display: none; }
.week-marker i { position: relative; z-index: 1; width: 11px; height: 11px; margin-top: 1px; border: 2px solid #fff; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 2px rgba(215,160,24,.25); }
.week-journey-card { width: 100%; margin-bottom: 14px; padding: 17px 18px; border: 0; border-radius: 14px; color: inherit; background: #f7f4ec; text-align: left; }
.week-journey-card:hover { background: #f2eee3; box-shadow: 0 7px 18px rgba(75,68,50,.07); }
.week-journey-card em { color: var(--sage); font-size: 11px; font-style: normal; font-weight: 700; }
.week-journey-card h4 { margin: 7px 0 10px; color: #41423d; font-size: 15px; line-height: 1.6; }
.week-journey-card p { margin: 6px 0 0; color: #65665f; font-size: 13px; line-height: 1.6; }
.week-journey-card > small { display: block; margin-top: 11px; color: var(--sage); font-size: 11px; font-weight: 700; }
.week-journey-card .support-line { color: #9b5945; }
.timeline { display: grid; gap: 12px; margin-top: 24px; }
.timeline article { padding: 17px; border: 1px solid var(--line); border-radius: 13px; background: white; }
.timeline time { color: var(--gold-deep); font-size: 12px; font-weight: 700; }
.timeline p { margin: 8px 0 0; line-height: 1.6; }
.empty-state { margin-top: 22px; padding: 30px; border: 1px dashed #cfc7b5; border-radius: 14px; color: var(--muted); text-align: center; }
.empty-state .primary-button { max-width: 220px; display: block; margin: 18px auto 0; }
.stat-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 24px; }
.stat-row div { display: flex; flex-direction: column; padding: 18px; border-radius: 14px; background: #f1ede2; }
.stat-row b { font-size: 28px; color: var(--sage); }
.stat-row span { color: var(--muted); font-size: 12px; }
.member-list { display: grid; gap: 10px; }
.member-list article { display: flex; align-items: center; gap: 13px; padding: 15px; border: 1px solid var(--line); border-radius: 13px; background: white; }
.member-avatar { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; color: white; background: var(--sage); }
.member-list h3,.member-list p { margin: 0; }
.member-list p { margin-top: 4px; color: #5f615b; }
.member-list span { color: var(--muted); font-size: 12px; }
.member-list button { margin-left: auto; padding: 9px 12px; border: 1px solid var(--line); border-radius: 9px; background: white; }
.admin-note { margin-top: 24px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.admin-subtitle { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.admin-loading { margin: 0 0 18px; color: var(--sage); font-size: 13px; }
.admin-stat-row { grid-template-columns: repeat(6,1fr); }
.admin-stat-row div { min-width: 0; }
.admin-funnel { margin: 8px 0 26px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.72); }
.admin-funnel h3,.member-list > h3,.admin-events h3,.admin-detail-grid h3 { margin: 0 0 14px; font-family: "Songti SC",STSong,serif; font-size: 20px; }
.admin-funnel { display: grid; grid-template-columns: repeat(5,1fr); gap: 10px; }
.admin-funnel h3 { grid-column: 1/-1; }
.admin-funnel > div { display: grid; gap: 4px; padding: 12px; border-radius: 12px; background: #f5f1e7; }
.admin-funnel span { color: var(--muted); font-size: 12px; }
.admin-funnel b { color: var(--sage); font-size: 20px; }
.admin-funnel small { color: #9a978d; }
.member-list > h3 { margin-top: 8px; }
.member-list .member-row { display: flex; width: 100%; align-items: center; gap: 13px; margin: 0; padding: 15px; border: 1px solid var(--line); border-radius: 13px; color: inherit; background: white; text-align: left; }
.member-list .member-row:hover { border-color: rgba(113,132,91,.55); box-shadow: 0 8px 22px rgba(65,61,49,.07); }
.member-main { display: grid; min-width: 0; flex: 1; gap: 4px; }
.member-main strong,.member-main span,.member-main small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.member-main strong { color: var(--ink); font-size: 15px; }
.member-main span { color: #5f615b; font-size: 13px; }
.member-main small { color: var(--muted); font-size: 12px; }
.member-time { flex: 0 0 auto; color: var(--muted); font-size: 11px; white-space: nowrap; }
.empty-admin-copy { margin: 0; padding: 18px; border-radius: 12px; color: var(--muted); background: #f7f4ed; font-size: 13px; line-height: 1.6; }
.admin-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.admin-detail-grid > section,.admin-events { padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.76); }
.admin-detail-grid article { display: grid; gap: 7px; padding: 14px 0; border-top: 1px solid #eee9de; }
.admin-detail-grid article:first-of-type { padding-top: 0; border-top: 0; }
.admin-detail-grid article span { color: var(--gold-deep); font-size: 12px; font-weight: 700; }
.admin-detail-grid article strong { color: #3e403b; font-size: 14px; line-height: 1.6; }
.admin-detail-grid article small { color: var(--muted); line-height: 1.5; }
.admin-detail-grid article em { color: #9a5d46; font-size: 12px; font-style: normal; }
.admin-events { margin-top: 18px; }
.admin-events > div { display: flex; justify-content: space-between; gap: 15px; padding: 10px 0; border-top: 1px solid #eee9de; font-size: 13px; }
.admin-events time { color: var(--muted); white-space: nowrap; }
.setup-panel { max-width: 620px; margin-inline: auto; }
.setup-form { margin-top: 28px; }
.setup-form label { display: flex; flex-direction: column; gap: 9px; }
.setup-form label span { color: var(--muted); font-size: 13px; font-weight: 700; }
.setup-form input { width: 100%; padding: 15px; border: 1px solid var(--line); border-radius: 12px; outline: 0; background: white; }
.setup-form input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(215,160,24,.12); }
.error-note { padding: 12px 15px; border-radius: 10px; color: #8b3e38; background: #f8e8e5; }
.auth-page { display: grid; align-content: start; }
.auth-page .topbar { justify-content: center; }
.auth-panel { margin-top: 54px; overflow: visible; }
.auth-panel h1 { font-size: clamp(36px,7vw,52px); }
.auth-panel .intro { margin-top: 18px; }
.auth-form { display: grid; gap: 17px; }
.auth-form .primary-button { margin-top: 2px; }
.phone-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px; }
.phone-row button { padding: 0 17px; border: 0; border-radius: 12px; color: white; background: var(--sage); font-weight: 700; white-space: nowrap; }
.phone-row button:disabled,.auth-form button:disabled { opacity: .45; cursor: default; }
.auth-checking { margin-top: 30px; padding: 18px; border-radius: 14px; color: var(--muted); background: #f3f0e7; text-align: center; }

/* 选择的视觉方向：自然能量旅程 */
body:has(.welcome-panel:not(.setup-panel)) .topbar { min-height: 62px; }
body:has(.welcome-panel:not(.setup-panel)) .topbar .brand-name,
body:has(.welcome-panel:not(.setup-panel)) .topbar .product-name { display: none; }
body:has(.welcome-panel:not(.setup-panel)) .topbar .prototype-label { display: none; }
.welcome-panel:not(.setup-panel) {
  min-height: 650px;
  padding: 94px 54% 66px 62px;
  border: 0;
  border-radius: 38px;
  background: linear-gradient(145deg,rgba(255,253,248,.98),rgba(255,248,237,.96));
  box-shadow: 0 28px 90px rgba(113,92,55,.10);
}
.welcome-panel:not(.setup-panel) .eyebrow,.welcome-panel:not(.setup-panel) .intro,.welcome-panel:not(.setup-panel) .privacy-note { display: none; }
.welcome-panel:not(.setup-panel) h1 { max-width: 540px; color: transparent; font-family: inherit; font-size: 0; font-weight: 800; letter-spacing: -.055em; }
.welcome-panel:not(.setup-panel) h1::after { content: "从目标，走向行动"; display: block; color: var(--ink); font-size: clamp(48px,6vw,72px); line-height: 1.18; }
.welcome-panel:not(.setup-panel) blockquote { position: relative; z-index: 2; max-width: 530px; margin-top: 28px; padding: 0; border: 0; color: #5e5b53; background: transparent; font-family: inherit; font-size: 16px; line-height: 1.9; }
.welcome-panel:not(.setup-panel) .mode-grid { position: relative; z-index: 2; gap: 16px; max-width: 540px; margin-top: 38px; }
.welcome-panel:not(.setup-panel) .mode-grid button { min-height: 112px; justify-content: center; padding: 22px 24px; border: 0; border-radius: 22px; box-shadow: 0 14px 30px rgba(98,77,45,.10); transition: transform .2s ease,box-shadow .2s ease; }
.welcome-panel:not(.setup-panel) .mode-grid button:first-child { color: #873f2f; background: linear-gradient(145deg,#fff0e8,#f2a283); }
.welcome-panel:not(.setup-panel) .mode-grid button:last-child { color: #425037; background: linear-gradient(145deg,#f1f5e9,#9caf77); }
.welcome-panel:not(.setup-panel) .mode-grid button:hover { transform: translateY(-4px); box-shadow: 0 19px 38px rgba(98,77,45,.16); }
.welcome-panel:not(.setup-panel) .mode-grid b { font-size: 18px; }
.welcome-panel:not(.setup-panel) .mode-grid span { color: currentColor; opacity: .72; font-size: 13px; }
.welcome-panel:not(.setup-panel) .mode-grid em { top: 12px; right: 14px; background: rgba(52,51,47,.75); }
.welcome-panel:not(.setup-panel) .warm-orbit {
  top: 56px;
  right: -50px;
  width: 52%;
  height: 540px;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 54% 20%,#f6bd45 0 10%,transparent 10.5%),
    radial-gradient(ellipse at 78% 102%,#637653 0 42%,transparent 42.5%),
    radial-gradient(ellipse at 37% 105%,#9eac79 0 48%,transparent 48.5%),
    radial-gradient(ellipse at 5% 107%,#e78361 0 42%,transparent 42.5%);
  opacity: .98;
}
.welcome-panel:not(.setup-panel) .warm-orbit::before { content:""; position:absolute; left:37%; top:30%; width:190px; height:360px; border-left:70px solid rgba(255,250,239,.95); border-radius:50%; transform:rotate(17deg); }
.welcome-panel:not(.setup-panel) .warm-orbit::after { content:"✦"; position:absolute; inset:auto 23% 66% auto; border:0; color:#f2aa32; font-size:31px; transform:rotate(12deg); }
.conversation-shell,.snapshot-panel,.sheet { border-color: rgba(220,202,174,.66); background: rgba(255,253,248,.96); }
.message.guide p { background: #f5efe3; }
.message.member p,.composer-footer button,.open-question,.member-avatar { background: var(--sage); }

.image-save-overlay { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: flex-start; justify-content: center; padding: max(14px, env(safe-area-inset-top)) 12px max(20px, env(safe-area-inset-bottom)); overflow-y: auto; background: rgba(39,40,34,.72); -webkit-overflow-scrolling: touch; }
.image-save-panel { width: min(100%, 560px); overflow: hidden; border-radius: 20px; background: #fffaf2; box-shadow: 0 22px 70px rgba(0,0,0,.28); }
.image-save-heading { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; gap: 16px; padding: 14px 16px; background: rgba(255,250,242,.97); border-bottom: 1px solid rgba(113,132,91,.16); }
.image-save-heading > div { display: flex; flex: 1; flex-direction: column; gap: 2px; }
.image-save-heading strong { color: #34332f; font-size: 15px; }
.image-save-heading span { color: #74766e; font-size: 12px; }
.image-save-heading button { flex: none; padding: 8px 13px; border: 0; border-radius: 999px; color: white; background: #71845b; font-weight: 700; }
.image-save-panel img { display: block; width: 100%; height: auto; -webkit-touch-callout: default; user-select: auto; }

.feedback-trigger {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 15px 10px 11px;
  border: 1px solid rgba(113,132,91,.25);
  border-radius: 999px;
  color: #526044;
  background: rgba(255,253,248,.96);
  box-shadow: 0 10px 30px rgba(71,66,50,.16);
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(10px);
}
.feedback-trigger:hover { transform: translateY(-1px); box-shadow: 0 14px 34px rgba(71,66,50,.2); }
.action-workspace { max-width: 850px; margin: 24px auto; overflow-wrap: anywhere; }
.action-workspace h1 { font-size: clamp(26px,5vw,38px); line-height: 1.5; }
.aw-header,.aw-row { display:flex; gap:14px; flex-wrap:wrap; align-items:center; justify-content:space-between; }
.aw-header button { align-self:flex-start; }
.aw-home { max-width:1060px; }
.aw-home .aw-header { position:relative; min-height:130px; padding:25px 24px; overflow:hidden; border-radius:28px; background:#f0b548; }
.aw-home .aw-header::after { content:""; position:absolute; width:148px; height:148px; right:-52px; bottom:-77px; border:28px solid rgba(255,255,255,.35); border-radius:50%; }
.aw-home .aw-header h1 { z-index:1; max-width:420px; color:#2f3429; font-family:"Songti SC",STSong,serif; font-size:clamp(29px,5vw,40px); line-height:1.35; letter-spacing:-.025em; }
.aw-home .aw-header button { z-index:1; border-color:rgba(52,51,47,.18); background:rgba(255,255,255,.66); backdrop-filter:blur(8px); }
.action-workspace .aw-daily-entry { position:relative; display:flex; align-items:flex-end; justify-content:space-between; width:100%; min-height:190px; margin:14px 0; padding:28px; overflow:hidden; border:0; border-radius:28px; background:linear-gradient(145deg,#536747 0%,#82966a 100%); color:white; box-shadow:0 18px 45px rgba(65,80,55,.18); font-size:30px; font-weight:700; text-align:left; }
.action-workspace .aw-daily-entry::before { content:"TODAY"; position:absolute; top:25px; left:28px; color:rgba(255,255,255,.66); font-size:11px; font-weight:700; letter-spacing:.2em; }
.action-workspace .aw-daily-entry::after { content:""; position:absolute; top:-42px; right:-25px; width:150px; height:150px; border:1px solid rgba(255,255,255,.25); border-radius:50%; box-shadow:0 0 0 28px rgba(255,255,255,.05),0 0 0 58px rgba(255,255,255,.035); }
.action-workspace .aw-daily-entry span { position:relative; z-index:1; }
.action-workspace .aw-daily-entry span:last-child { display:grid; width:48px; height:48px; place-items:center; border-radius:50%; background:rgba(255,255,255,.18); font-size:24px; transition:transform .18s ease,background .18s ease; }
.action-workspace .aw-daily-entry:hover span:last-child { transform:translateX(3px); background:rgba(255,255,255,.26); }
.action-workspace .aw-daily-entry:focus-visible { outline:3px solid #b89753; outline-offset:4px; }
.aw-daily,.aw-card,.aw-record { background:rgba(255,253,247,.94); border:1px solid rgba(228,220,203,.9); padding:24px; border-radius:22px; margin:18px 0; box-shadow:0 10px 32px rgba(75,68,50,.055); }
.aw-field { display:grid; gap:8px; margin:16px 0; }
.action-workspace input,.action-workspace select,.action-workspace textarea { box-sizing:border-box; width:100%; max-width:100%; min-height:48px; padding:13px 14px; border:1px solid #d6d3c8; border-radius:14px; background:#fff; color:#34352e; font:inherit; outline:0; transition:border-color .16s ease,box-shadow .16s ease; }
.action-workspace input:focus,.action-workspace select:focus,.action-workspace textarea:focus { border-color:#8c9d79; box-shadow:0 0 0 4px rgba(113,132,91,.11); }
.action-workspace button { min-height:46px; padding:11px 16px; margin:5px 5px 5px 0; border:1px solid #a8b19b; border-radius:14px; background:#f2f5ec; color:#384c2f; font:inherit; font-weight:650; cursor:pointer; }
.action-workspace button:disabled { opacity:.55; cursor:default; }
.action-workspace button[aria-pressed=true] { background:#71845b; color:white; }
.action-workspace summary { cursor:pointer; padding:12px 0; }
.aw-task { padding:18px 0; border-bottom:1px solid #e4dccb; }
.aw-status { display:flex; flex-wrap:wrap; gap:4px; margin:12px 0; }
.aw-nav { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.aw-nav button { position:relative; min-height:116px; padding:45px 20px 18px; overflow:hidden; border:0; border-radius:24px; color:#31342d; background:#ebe5d7; font-family:"Songti SC",STSong,serif; font-size:20px; text-align:left; }
.aw-nav button b,.aw-nav button span { position:relative; z-index:1; display:block; }
.aw-nav button b { font-size:inherit; }
.aw-nav button span { margin-top:7px; color:rgba(49,52,45,.68); font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif; font-size:12px; font-weight:500; line-height:1.45; }
.aw-nav button::before { position:absolute; top:17px; left:20px; color:rgba(52,51,47,.55); font-family:inherit; font-size:11px; letter-spacing:.12em; }
.aw-nav button:nth-child(1) { background:#ef9b7d; }
.aw-nav button:nth-child(1)::before { content:"01 · EXPLORE"; }
.aw-nav button:nth-child(2) { background:#e4d7b1; }
.aw-nav button:nth-child(2)::before { content:"02 · FOCUS"; }
.aw-nav button:nth-child(3) { background:#c6d1b4; }
.aw-nav button:nth-child(3)::before { content:"03 · REFLECT"; }
.aw-nav button::after { content:"↗"; position:absolute; right:17px; top:14px; font-family:inherit; font-size:18px; opacity:.62; }
.home-name-card { margin:14px 0; padding:20px 22px; border:1px solid rgba(215,160,24,.28); border-radius:22px; background:rgba(255,253,247,.92); box-shadow:0 12px 32px rgba(75,68,50,.06); }
.home-name-card b { font-family:"Songti SC",STSong,serif; font-size:22px; }
.home-name-card p { margin:6px 0 0; color:var(--muted); line-height:1.65; }
@media(min-width:801px){
  .aw-home { display:grid; grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr); gap:18px; align-items:stretch; }
  .aw-home>.aw-header { min-height:250px; margin:0; padding:36px; }
  .aw-home>.aw-header h1 { max-width:360px; font-size:42px; }
  .aw-home>.aw-daily-entry { min-height:250px; margin:0; padding:36px; font-size:36px; }
  .aw-home>.aw-nav,.aw-home>.home-name-card,.aw-home>.aw-notice,.aw-home>.aw-pending,.aw-home>button:not(.aw-daily-entry),.aw-home>#daily-action-panel { grid-column:1/-1; }
  .aw-home>.aw-nav button { min-height:132px; }
  .home-name-card { display:grid; grid-template-columns:minmax(230px,.8fr) minmax(360px,1.2fr); gap:24px; align-items:center; padding:24px 28px; }
  .home-name-card .member-name-row { margin-top:0; }
}
.aw-calendar { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:5px; margin:20px 0; text-align:center; }
.aw-calendar button { margin:0; padding:6px 2px; min-width:0; }
.aw-calendar span { display:block; font-size:9px; }
.aw-pending,.aw-notice { background:#fff0d8; padding:16px; border-radius:12px; }
.aw-pending pre { white-space:pre-wrap; overflow-wrap:anywhere; }
.action-workspace small { color:#59634f; }
.action-workspace .aw-export-action { display:block; width:100%; margin:10px 0 5px; border-color:#9aa68d; background:#edf2e6; white-space:normal; overflow-wrap:anywhere; }
.action-workspace .quiet-action { border-color:transparent; background:transparent; color:#617056; text-decoration:underline; text-underline-offset:4px; }
.aw-schedule-card { scroll-margin-top:74px; outline:0; }
.schedule-recognition { padding:11px 13px; border-radius:12px; background:#edf2e6; color:#526044; font-size:14px; }
@media(max-width:600px){.aw-daily,.aw-card,.aw-record{padding:16px;}.aw-nav{grid-template-columns:1fr 1fr}.aw-nav button{min-height:116px}.aw-nav button:first-child{grid-column:1/-1;min-height:132px}.aw-row>label{flex:1 1 130px;min-width:0}.action-workspace{margin:10px 0}.action-workspace input,.action-workspace select,.action-workspace textarea{font-size:16px}}
/* Keep feedback discoverable without covering the composer or profile actions. */
@media (max-width: 600px) {
  .feedback-trigger { position: static; margin: 12px 0 12px auto; width: fit-content; }
  .topbar { flex-wrap: wrap; }
  .topbar nav { flex-shrink: 0; }
  .topbar nav button { white-space: nowrap; }
}
.feedback-trigger > span { position: relative; display: block; width: 22px; height: 17px; border: 2px solid #71845b; border-radius: 7px; background: transparent; }
.feedback-trigger > span::after { content: ""; position: absolute; left: 3px; bottom: -5px; width: 6px; height: 6px; border-left: 2px solid #71845b; border-bottom: 2px solid #71845b; background: #fffdf8; transform: skewY(-35deg); }
.feedback-overlay { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; padding: max(18px,env(safe-area-inset-top)) 16px max(18px,env(safe-area-inset-bottom)); overflow-y: auto; background: rgba(45,43,37,.58); backdrop-filter: blur(4px); }
.feedback-modal { position: relative; width: min(100%,560px); max-height: min(90vh,760px); padding: 30px; overflow-y: auto; border: 1px solid rgba(234,223,206,.9); border-radius: 25px; background: #fffaf2; box-shadow: 0 28px 90px rgba(35,31,24,.28); }
.feedback-close { position: absolute; top: 15px; right: 16px; display: grid; width: 36px; height: 36px; place-items: center; border: 0; border-radius: 50%; color: #77766e; background: #f2ede3; font-size: 24px; line-height: 1; }
.feedback-close:disabled { opacity: .45; }
.feedback-eyebrow { margin: 0 0 7px; color: var(--coral); font-size: 12px; font-weight: 700; letter-spacing: .18em; }
.feedback-modal h2 { margin: 0; padding-right: 44px; font-family: "Songti SC",STSong,serif; font-size: 30px; }
.feedback-intro { margin: 12px 0 22px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.feedback-form { display: grid; gap: 16px; }
.feedback-form > label { display: grid; gap: 7px; }
.feedback-form label > span,.feedback-upload span { color: #5e6257; font-size: 13px; font-weight: 700; }
.feedback-form input,.feedback-form textarea,.feedback-form select { width: 100%; padding: 12px 13px; border: 1px solid var(--line); border-radius: 11px; outline: 0; color: var(--ink); background: white; line-height: 1.55; }
.feedback-form textarea { min-height: 112px; resize: vertical; }
.feedback-form input:focus,.feedback-form textarea:focus,.feedback-form select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(243,182,64,.13); }
.feedback-upload { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px; border: 1px dashed #d8c9b2; border-radius: 13px; background: #fffdf8; }
.feedback-upload > div { display: grid; gap: 4px; }
.feedback-upload small { color: #929187; font-size: 11px; line-height: 1.45; }
.upload-button { flex: none; padding: 9px 13px; border-radius: 999px; color: white; background: var(--sage); font-size: 12px; font-weight: 700; cursor: pointer; }
.upload-button input { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); border: 0; white-space: nowrap; }
.feedback-preview { display: grid; grid-template-columns: 88px minmax(0,1fr); gap: 13px; align-items: center; padding: 10px; border-radius: 13px; background: #f1eee5; }
.feedback-preview img { display: block; width: 88px; height: 74px; object-fit: cover; border-radius: 9px; background: white; }
.feedback-preview > div { display: grid; min-width: 0; gap: 3px; }
.feedback-preview b { overflow: hidden; color: #55564f; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.feedback-preview small { color: #929187; font-size: 11px; }
.feedback-preview button { justify-self: start; padding: 2px 0; border: 0; color: #a45540; background: transparent; font-size: 11px; }
.feedback-message { margin: 0; padding: 10px 12px; border-radius: 10px; color: #496043; background: var(--soft-sage); font-size: 13px; line-height: 1.55; }
.feedback-message.error { color: #945240; background: #fff0e8; }
.feedback-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 3px; }
.feedback-actions .primary-button { width: auto; margin: 0; padding: 11px 22px; }
.feedback-actions button:disabled { opacity: .5; cursor: default; }
.feedback-success { display: grid; justify-items: center; gap: 13px; padding: 28px 12px 10px; text-align: center; }
.feedback-success > span { display: grid; width: 52px; height: 52px; place-items: center; border-radius: 50%; color: white; background: var(--sage); font-size: 26px; }
.feedback-success p { margin: 0; color: #55584f; line-height: 1.7; }
.feedback-success button { padding: 10px 24px; border: 0; border-radius: 999px; color: white; background: var(--sage); font-weight: 700; }

@media (max-width: 560px) {
  html { background:#f7f3ea; }
  body { background:linear-gradient(180deg,#fff8e9 0,#f7f3ea 210px,#f7f3ea 100%); }
  .goal-app { padding: 0 14px max(28px,env(safe-area-inset-bottom)); }
  .topbar { position:sticky; top:0; z-index:80; min-height:58px; padding:max(4px,env(safe-area-inset-top)) 0 4px; flex-wrap:nowrap; background:rgba(255,248,233,.88); backdrop-filter:blur(16px); }
  .brand-mark { width:138px; height:54px; flex:0 0 138px; }
  .topbar nav { min-width:0; overflow:hidden; }
  .topbar nav button { padding:7px 6px; }
  .welcome-panel { margin-top: 14px; padding: 36px 23px 27px; border-radius: 22px; }
  .conversation-shell { margin:8px -2px 0; padding:16px 4px 4px; border:0; border-radius:0; background:transparent; box-shadow:none; }
  .progress-row { padding:0 4px; }
  .back-button { width:42px; height:42px; background:rgba(255,255,255,.72); }
  .conversation-title { font-size:16px; }
  .progress-track { margin:14px 4px 20px; }
  .messages { min-height:250px; gap:10px; padding:0 2px; }
  .message { max-width:92%; gap:7px; }
  .message p { padding:12px 14px; border-radius:5px 17px 17px 17px; font-size:15px; line-height:1.65; box-shadow:0 5px 16px rgba(66,59,45,.045); }
  .message.member p { border-radius:17px 5px 17px 17px; }
  .guide-dot { width:25px; height:25px; flex-basis:25px; }
  .composer { position:sticky; bottom:max(6px,env(safe-area-inset-bottom)); z-index:30; margin:18px 0 6px; border-radius:20px; box-shadow:0 14px 40px rgba(64,57,43,.14); }
  .composer textarea { min-height:82px; padding:15px; font-size:16px; }
  .composer-footer { padding:9px 10px 10px 14px; }
  .composer-notes small { display:none; }
  .topbar nav { display: flex; gap: 0; margin-left: auto; }
  .topbar nav .member-chip { display: none; }
  .topbar nav button { padding-inline: 7px; font-size: 12px; }
  .prototype-label { margin-left: auto; }
  .sheet { margin:8px -2px 0; padding:22px 15px; border:0; border-radius:22px; background:rgba(255,253,248,.82); box-shadow:0 12px 35px rgba(72,61,36,.055); }
  .sheet h2 { font-size:28px; }
  .identity-grid,.two-cols,.stat-row { grid-template-columns: 1fr; }
  .review-context,.review-result-grid,.kiss-grid,.journey-month-grid,.pathway-steps { grid-template-columns: 1fr; }
  .pathway-steps article { min-height: 0; }
  .pathway-steps p { min-height: 0; }
  .review-context > div:first-child { grid-column: auto; }
  .journey-goal,.journey-section-head { flex-direction: column; }
  .journey-week-list > article { grid-template-columns: 72px 1fr; gap: 9px; }
  .admin-stat-row { grid-template-columns: 1fr 1fr; }
  .admin-funnel { grid-template-columns: 1fr 1fr; }
  .admin-detail-grid { grid-template-columns: 1fr; }
  .member-list .member-row { align-items: flex-start; }
  .member-time { display: none; }
  .sheet-heading,.action-row { align-items: stretch; flex-direction: column; }
  .action-row .primary-button { width: 100%; }
  .mode-grid,.coach-layout { grid-template-columns: 1fr; }
  .snapshot-panel { position:static; order:2; margin:14px 0 0; padding:18px; border:0; border-radius:20px; box-shadow:0 10px 30px rgba(72,61,36,.06); }
  .snapshot-rows { grid-template-columns:1fr; }
  .aw-home .aw-header { min-height:118px; margin-top:8px; padding:21px 20px; border-radius:24px; }
  .aw-home .aw-header h1 { max-width:240px; font-size:29px; }
  .aw-home .aw-header button { position:absolute; top:16px; right:15px; min-height:38px; padding:8px 11px; font-size:12px; }
  .action-workspace .aw-daily-entry { min-height:176px; padding:25px 22px; border-radius:25px; font-size:28px; }
  .action-workspace .aw-daily-entry::before { top:22px; left:22px; }
  .aw-nav { gap:10px; }
  .aw-nav button { min-height:108px; padding:42px 16px 15px; border-radius:21px; font-size:18px; }
  .aw-nav button:first-child { min-height:122px; }
  .aw-nav button::before { top:15px; left:16px; font-size:10px; }
  .aw-nav button::after { right:14px; top:12px; }
  .welcome-panel:not(.setup-panel) { min-height: 700px; padding: 45px 24px 300px; }
  .welcome-panel:not(.setup-panel) h1::after { font-size: 44px; }
  .welcome-panel:not(.setup-panel) .warm-orbit { top: auto; right: -10%; bottom: -20px; width: 120%; height: 310px; }
  .welcome-panel:not(.setup-panel) .warm-orbit::before { left: 43%; top: 23%; width: 100px; height: 220px; border-left-width: 44px; }
}

@media (min-width: 561px) and (max-width: 900px) {
  .coach-layout { grid-template-columns: 1fr; }
  .snapshot-panel { position: static; order: -1; }
  .snapshot-rows { grid-template-columns: repeat(3,1fr); }
}

/* B 版首页：真实网页构图 + 独立自然旅程插画 */
.welcome-panel:not(.setup-panel) {
  display: grid;
  grid-template-columns: minmax(410px, .9fr) minmax(470px, 1.1fr);
  align-items: center;
  min-height: 650px;
  padding: 58px 0 0 58px;
  background: linear-gradient(135deg,#fffdfa 0%,#fff9ef 72%,#fff2da 100%);
}
.hero-copy { position: relative; z-index: 2; align-self: start; padding-top: 70px; }
.welcome-panel:not(.setup-panel) .hero-copy h1 {
  max-width: none;
  color: var(--ink);
  font-size: clamp(52px,5.25vw,76px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.06em;
  white-space: nowrap;
}
.welcome-panel:not(.setup-panel) .hero-copy h1::after { content: none; }
.hero-copy h1 span { color: var(--coral); }
.welcome-panel:not(.setup-panel) .hero-copy blockquote { max-width: 590px; margin-top: 32px; color: #65645f; font-size: 17px; line-height: 2; }
.resume-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 570px; margin-top: 24px; padding: 15px 18px; border: 1px solid rgba(113,132,91,.22); border-radius: 18px; color: #4f5944; background: rgba(255,255,255,.68); box-shadow: 0 10px 26px rgba(84,76,55,.08); }
.resume-stack { display: grid; gap: 10px; margin-top: 24px; }
.resume-stack .resume-card { width: 100%; margin-top: 0; }
.resume-card.monthly-resume { border-color: rgba(233,130,99,.24); color: #8b513f; }
.resume-card.monthly-resume button { background: var(--coral); }
.resume-card span { font-size: 14px; }
.resume-card button { flex: 0 0 auto; padding: 9px 14px; border: 0; border-radius: 999px; color: #fff; background: #71845b; font-size: 13px; font-weight: 700; }
.welcome-panel:not(.setup-panel) .hero-copy .mode-grid { grid-template-columns: 1fr 1fr; max-width: 570px; margin-top: 40px; }
.welcome-panel:not(.setup-panel) .hero-copy .mode-grid button {
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  min-height: 112px;
  padding: 18px 22px;
  border-radius: 20px;
}
.hero-copy .mode-grid button i { display: grid; width: 50px; height: 50px; place-items: center; border-radius: 50%; color: currentColor; background: rgba(255,255,255,.86); font-size: 22px; font-style: normal; }
.hero-copy .mode-grid button span { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; opacity: 1; }
.hero-copy .mode-grid button b { font-size: 18px; }
.hero-copy .mode-grid button small { opacity: .72; font-size: 13px; }
.hero-copy .mode-grid .recommended em { display: none; }
.journey-actions { display: flex; align-items: center; gap: 13px; margin-top: 18px; }
.journey-actions button { padding: 10px 16px; border: 1px solid rgba(113,132,91,.3); border-radius: 999px; color: #526044; background: rgba(255,255,255,.72); font-weight: 700; }
.journey-actions span { color: #8d8b80; font-size: 12px; }
.pathway-sheet { max-width: 1040px; }
.pathway-sheet .sheet-heading { align-items: flex-start; }
.pathway-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 30px; }
.pathway-steps article { position: relative; min-height: 330px; padding: 28px 23px 23px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.82); }
.pathway-steps article.current { border-color: rgba(113,132,91,.58); box-shadow: 0 16px 34px rgba(81,96,61,.11); }
.pathway-steps article.complete { background: #f3f6ed; }
.pathway-steps article.locked { opacity: .62; background: #f5f3ee; }
.pathway-number { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; color: white; background: var(--sage); font-weight: 800; }
.pathway-steps article.locked .pathway-number { background: #aaa79f; }
.pathway-steps small { display: block; margin-top: 21px; color: var(--gold-deep); font-weight: 700; }
.pathway-steps h3 { margin: 8px 0 10px; color: var(--ink); font-family: "Songti SC",STSong,serif; font-size: 25px; }
.pathway-steps p { min-height: 100px; color: #66655f; font-size: 14px; line-height: 1.75; }
.pathway-steps button { width: 100%; margin-top: 15px; }
.pathway-note { margin: 22px 0 0; padding: 14px 18px; border-radius: 13px; color: #67695f; background: #f4f0e7; font-size: 13px; line-height: 1.7; }
.stage-snapshot { margin: 16px 0; padding: 15px; border: 1px dashed var(--line); border-radius: 14px; background: rgba(248,245,237,.72); }
.stage-snapshot.filled { border-style: solid; border-color: rgba(113,132,91,.45); background: #f1f5e9; }
.stage-snapshot span { display: block; color: var(--gold-deep); font-size: 12px; font-weight: 800; }
.stage-snapshot small { display: block; margin-top: 4px; color: #8a887f; font-size: 11px; }
.stage-snapshot p { margin: 10px 0 0; color: #50514b; font-size: 13px; line-height: 1.65; }
.stage-snapshot p,.snapshot-rows p,.review-message { white-space:pre-wrap; overflow-wrap:anywhere; }
.chat-save-status { color:#67775b; font-size:13px; padding:8px 16px; }
.chat-error button { margin-left:12px; padding:6px 12px; }
.aw-review-coach { margin:20px 0; padding:18px; border:1px solid var(--line); border-radius:16px; }
.aw-review-coach pre { white-space:pre-wrap; overflow-wrap:anywhere; font:inherit; }
.review-message { padding:12px; border-radius:12px; background:#f2ede2; }
.review-message.member { background:#edf3e6; }
.stage-entry-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin: 14px 0 18px; padding: 15px; border: 1px solid rgba(113,132,91,.22); border-radius: 17px; background: #f7f8f2; }
.stage-entry-choices > p { grid-column: 1 / -1; margin: 0 0 3px; color: #65685d; font-size: 13px; line-height: 1.55; }
.stage-entry-choices button { min-height: 48px; padding: 11px 13px; border: 1px solid rgba(113,132,91,.27); border-radius: 13px; color: #4f5d43; background: rgba(255,255,255,.9); font: inherit; font-size: 13px; line-height: 1.45; text-align: left; cursor: pointer; transition: border-color .16s ease,background .16s ease,transform .16s ease; }
.stage-entry-choices button:hover { border-color: #71845b; background: #fff; transform: translateY(-1px); }
.stage-entry-choices button:focus-visible { outline: 3px solid rgba(243,182,64,.3); outline-offset: 2px; }
.journey-illustration {
  align-self: end;
  width: 100%;
  height: 610px;
  margin-left: -32px;
  background: url('/journey-landscape-v2.webp') right bottom/contain no-repeat;
  pointer-events: none;
}

.monthly-snapshot .snapshot-rows .filled:last-child { border-left-color: var(--coral); background: #fff0e7; }
.monthly-sheet .compact-identity { margin-bottom: 20px; }
.monthly-sheet .key-small-field { margin: 4px -4px 0; padding: 18px 18px 2px; border: 2px solid rgba(233,130,99,.48); border-radius: 18px; background: #fff4ec; }
.monthly-sheet .key-small-field .card-field span { color: #a95843; }
.monthly-sheet .action-row { flex-wrap: wrap; }
.timeline h3 { margin: 6px 0 0; font-family: "Songti SC",STSong,serif; font-size: 24px; }
.admin-sheet .member-list article time { margin-left: auto; color: var(--muted); font-size: 11px; white-space: nowrap; }
.restart-link { display: block; margin: 20px auto 0; padding: 7px 10px; border: 0; color: #979489; background: transparent; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.restart-link:hover { color: var(--coral); }

/* Personal understanding: touch-friendly controls matching the existing cards. */
.sheet > section .journey-month .action-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sheet > section .journey-month button,
section[aria-label="修改个人理解"] > button {
  min-height: 44px; padding: 10px 12px; border: 1px solid #dce2d4;
  border-radius: 12px; color: #536343; background: #f6f8f1;
  font: inherit; font-size: 14px; cursor: pointer;
}
.sheet > section .journey-month button:first-child { background: #71845b; color: white; border-color: #71845b; }
.sheet > section .journey-month button:last-child { background: transparent; color: #8b7367; }
.sheet > section .journey-month button:disabled { opacity: .55; cursor: wait; }
.sheet > section .journey-month .action-row:has(> button:nth-child(3):last-child) { display:none; }
section[aria-label="修改个人理解"] { margin-top: 24px; padding-top: 20px; border-top: 1px solid #eadfce; }
section[aria-label="修改个人理解"] select { display: block; width: 100%; min-height: 44px; margin: 8px 0 18px; padding: 10px; border: 1px solid #dce2d4; border-radius: 10px; background: white; font: inherit; }
section[aria-label="修改个人理解"] > button { margin: 8px 10px 0 0; }

@media (max-width: 900px) {
  .welcome-panel:not(.setup-panel) { grid-template-columns: 1fr; min-height: 0; padding: 48px 32px 0; }
  .hero-copy { padding-top: 12px; }
  .welcome-panel:not(.setup-panel) .hero-copy h1 { font-size: clamp(42px,10vw,62px); white-space: normal; }
  .welcome-panel:not(.setup-panel) .hero-copy blockquote { font-size: 15px; }
  .journey-illustration { width: calc(100% + 64px); height: 390px; margin: 12px -32px 0; }
}

@media (max-width: 560px) {
  .welcome-panel:not(.setup-panel) { padding: 36px 22px 0; border-radius: 28px; }
  .welcome-panel:not(.setup-panel) .hero-copy h1 { font-size: 42px; line-height: 1.15; }
  .welcome-panel:not(.setup-panel) .hero-copy blockquote { margin-top: 22px; font-size: 14px; line-height: 1.85; }
  .resume-card { align-items: flex-start; flex-direction: column; margin-top: 18px; }
  .resume-stack { margin-top: 18px; }
  .resume-stack .resume-card { margin-top: 0; }
  .welcome-panel:not(.setup-panel) .hero-copy .mode-grid { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 28px; }
  .welcome-panel:not(.setup-panel) .hero-copy .mode-grid button { grid-template-columns: 38px 1fr; min-height: 94px; padding: 13px 12px; border-radius: 16px; }
  .hero-copy .mode-grid button i { width: 34px; height: 34px; font-size: 15px; }
  .hero-copy .mode-grid button b { font-size: 14px; }
  .hero-copy .mode-grid button small { font-size: 11px; }
  .journey-illustration { width: calc(100% + 44px); height: 300px; margin: 8px -22px 0; }
  .coach-layout { display: flex; flex-direction: column; }
  .coach-layout .conversation-shell { order: 1; width: 100%; }
  .coach-layout .snapshot-panel { order: 2; width: 100%; }
  .stage-entry-choices { grid-template-columns: 1fr; padding: 12px; }
  .stage-entry-choices button { min-height: 46px; }
  .feedback-trigger { right: 12px; bottom: max(18px,env(safe-area-inset-bottom)); padding: 9px 12px 9px 9px; font-size: 12px; }
  .feedback-overlay { align-items: flex-end; padding: max(12px,env(safe-area-inset-top)) 0 0; }
  .feedback-modal { width: 100%; max-height: 91vh; padding: 25px 20px max(24px,env(safe-area-inset-bottom)); border-radius: 24px 24px 0 0; }
  .feedback-modal h2 { font-size: 27px; }
  .feedback-upload { align-items: flex-start; flex-direction: column; }
  .upload-button { width: 100%; text-align: center; }
  .feedback-actions { display: grid; grid-template-columns: .8fr 1.2fr; }
  .feedback-actions .outline-button,.feedback-actions .primary-button { width: 100%; }
  .feedback-actions { position: sticky; bottom: -24px; z-index: 2; margin: 2px -20px -24px; padding: 12px 20px max(24px,env(safe-area-inset-bottom)); border-top: 1px solid rgba(234,223,206,.8); background: rgba(255,250,242,.97); backdrop-filter: blur(8px); }
}
.composer-footer > button { flex-shrink: 0; min-width: 72px; white-space: nowrap; }
.composer-notes { min-width: 0; flex: 1; }
.chat-tools{display:flex;flex-wrap:wrap;gap:10px;padding:0 24px 16px}
.chat-tools button{font-size:14px;padding:10px 14px;min-height:42px}
.chat-closure{margin:0 24px 18px;padding:12px 16px;background:#edf2e6;border-radius:12px;color:#52623f;font-size:14px}
.direction-report{max-width:920px;margin:24px auto}
.direction-report h1{font-size:28px;margin:8px 0}
.direction-report>section{background:#f8f6ef;border:1px solid #e5dece;border-radius:18px;padding:22px;margin:18px 0}
.direction-report h2{font-size:21px;color:#64764e;margin:0 0 16px}
.report-field{display:block;margin:14px 0}
.report-field>span{display:block;color:#776f60;font-size:14px;margin-bottom:8px}
.report-field textarea{box-sizing:border-box;display:block;width:100%;resize:vertical;padding:12px;border:1px solid #d8d6c8;border-radius:10px;background:#fffdf8;color:#34332f;font:inherit;line-height:1.7}
.report-field p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;margin:0}
.report-note,.report-next p{font-size:14px;line-height:1.8;color:#777369}
.report-next{margin-top:24px;padding-top:18px;border-top:1px solid #e5dece}
@media(max-width:600px){.chat-tools{padding:0 14px 14px}.direction-report>section{padding:16px}.direction-report .sheet-heading{display:block}.direction-report .sheet-heading>button{margin-top:12px}.direction-report h1{font-size:25px}}
@media(max-width:600px){.member-name-row{grid-template-columns:1fr}.member-name-row button{width:100%}}

/* B+ design system — mature digital product, led by the Curiosity yellow. */
:root{--ink:#29271f;--muted:#756f61;--paper:#fffaf0;--cream:#fffdf8;--line:#e9dfc8;--gold:#e5ae24;--gold-deep:#755408;--soft-gold:#fff0bd;--sage:#6f9163;--soft-sage:#eaf2e5}
body{background:radial-gradient(circle at 84% 0,rgba(229,174,36,.13),transparent 24rem),#fffaf0}
::selection{color:#29271f;background:#f3cd64}
.primary-button,.composer-footer>button,.feedback-actions .primary-button{color:#29271f!important;background:#e5ae24!important;border-color:#e5ae24!important;box-shadow:0 8px 20px rgba(169,121,10,.16)!important}
.primary-button:hover,.composer-footer>button:hover{background:#dca21d!important}
.member-chip,.prototype-label{color:#755408;background:#fff0bd}

/* One field language: soft editors for writing, quiet controls for metadata. */
.action-workspace textarea,.sheet textarea,.composer textarea,.report-field textarea,.weekly-field textarea,.feedback-form textarea{
 border:0!important;border-radius:16px!important;background:#f8f3e8!important;color:#29271f!important;
 box-shadow:inset 0 0 0 1px rgba(117,84,8,.09)!important;outline:0!important;resize:vertical;
 transition:box-shadow .18s ease,background .18s ease,transform .18s ease;
}
.action-workspace textarea:focus,.sheet textarea:focus,.composer textarea:focus,.report-field textarea:focus,.weekly-field textarea:focus,.feedback-form textarea:focus{
 background:#fffdf8!important;box-shadow:inset 0 -3px 0 #e5ae24,0 0 0 4px rgba(229,174,36,.12)!important;
}
.action-workspace input:not([type=checkbox]):not([type=radio]),.action-workspace select,.sheet input:not([type=checkbox]):not([type=radio]),.sheet select,.feedback-form input,.feedback-form select{
 border:0!important;border-radius:12px!important;background:#f8f3e8!important;color:#29271f!important;
 box-shadow:inset 0 0 0 1px rgba(117,84,8,.08)!important;outline:0!important;
 transition:box-shadow .18s ease,background .18s ease;
}
.action-workspace input:focus,.action-workspace select:focus,.sheet input:focus,.sheet select:focus,.feedback-form input:focus,.feedback-form select:focus{
 background:#fffdf8!important;box-shadow:inset 0 -2px 0 #e5ae24,0 0 0 4px rgba(229,174,36,.1)!important;
}
.aw-field,.card-field,.weekly-field,.report-field,.feedback-form>label{gap:7px!important}
.aw-field>span,.card-field>span,.weekly-field>span,.report-field>span,.feedback-form label>span{color:#39372f!important;font-size:13px!important;font-weight:700!important}
.card-field small,.weekly-field small,.helper-text{color:#8c897f!important;font-size:11px!important}

/* Cards are earned, not the default container. */
.aw-card,.journey-goal,.journey-month,.journey-weeks,.snapshot-panel,.direction-report>section{
 border-color:rgba(117,84,8,.09)!important;background:rgba(255,253,248,.88)!important;
 box-shadow:0 10px 30px rgba(82,65,26,.045)!important;
}
.sheet{border-color:rgba(117,84,8,.1)!important;background:rgba(255,253,248,.88)!important;box-shadow:0 16px 46px rgba(82,65,26,.055)!important}
.aw-notice,.success-note,.chat-save-status{border:0!important;border-radius:12px!important;background:#eaf2e5!important;color:#4d6344!important}
.aw-pending,.chat-error{border:0!important;border-radius:12px!important;background:#fff0bd!important;color:#6f520d!important}
.aw-focus-card,.focus-strip{border:0!important;border-left:4px solid #e5ae24!important;background:#fff0bd!important}
.open-question{background:#29271f!important}.snapshot-head b{color:#755408;background:#fff0bd}.snapshot-rows div.filled{border-left-color:#e5ae24;background:#fff7dc}

/* Clear action hierarchy. */
.action-workspace form>button:not(.outline-button):not(.quiet-action):not(.aw-export-action),
.direction-report button:not(.outline-button),.weekly-form>button,.feedback-form button[type=submit]{
 border-color:#e5ae24!important;color:#29271f!important;background:#e5ae24!important;box-shadow:0 7px 17px rgba(169,121,10,.13)!important;
}
.outline-button,.quiet-action,.aw-export-action{border-color:#dfd6c2!important;color:#5f584a!important;background:rgba(255,253,248,.78)!important;box-shadow:none!important}
button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid rgba(229,174,36,.3)!important;outline-offset:2px}
button:disabled{filter:saturate(.35);opacity:.48;box-shadow:none!important}

/* Disclosures and status controls should behave like product components. */
details{border-top:1px solid #e9dfc8;padding:12px 0}
details>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none;color:#4e4b42;font-size:13px;font-weight:700;cursor:pointer}
details>summary::-webkit-details-marker{display:none}details>summary:after{content:"＋";display:grid;width:25px;height:25px;place-items:center;border-radius:50%;background:#f4eedf;color:#755408;font-size:14px}
details[open]>summary:after{content:"−"}.aw-status{gap:7px}.aw-status button{min-height:38px!important;padding:8px 11px!important;border:0!important;border-radius:9px!important;background:#f3efe5!important;color:#666055!important;font-size:12px!important}
.aw-status button[aria-pressed=true]{color:#29271f!important;background:#e5ae24!important;box-shadow:0 5px 14px rgba(169,121,10,.13)}

/* Modern chat composer and calmer conversations. */
.conversation-shell{border-color:rgba(117,84,8,.09)!important;background:rgba(255,253,248,.9)!important;box-shadow:0 14px 40px rgba(82,65,26,.045)!important}
.message p{border-radius:16px!important;box-shadow:none!important}.message.member p{background:#fff0bd!important;color:#393329!important}.message.guide p{background:#f6f2e8!important}
.composer{padding:8px!important;border:1px solid rgba(117,84,8,.1)!important;border-radius:18px!important;background:#fffdf8!important;box-shadow:0 12px 32px rgba(82,65,26,.09)!important}
.composer textarea{min-height:76px!important;background:transparent!important;box-shadow:none!important}.composer textarea:focus{box-shadow:none!important}
.chat-tools button{border-color:#e7dcc4!important;background:#fffaf0!important}.chat-closure{color:#625018!important;background:#fff0bd!important}

/* Direction and review read like a timeline, not a stack of form boxes. */
.direction-report>section{border:0!important;border-left:3px solid #e5ae24!important;border-radius:5px 14px 14px 5px!important}
.review-message{border-radius:14px!important;background:#f6f2e8!important}.review-message.member{background:#fff0bd!important}
.aw-review-coach{background:#29271f!important}.aw-review-coach>button:first-child{color:#29271f!important;background:#e5ae24!important;border-color:#e5ae24!important}
.aw-record header span,.review-status,.tag{color:#4d6344!important;background:#eaf2e5!important}

@media(max-width:600px){
 html{font-size:14px!important}.goal-app{padding:0 16px max(88px,env(safe-area-inset-bottom))!important}
 .action-workspace h1,.sheet h1{font-size:27px!important;line-height:1.25!important}.action-workspace h2,.sheet h2{font-size:21px!important}.action-workspace h3,.sheet h3{font-size:16px!important}
 .action-workspace p,.action-workspace label,.action-workspace summary,.action-workspace small,.sheet p,.sheet label,.sheet button{font-size:13px!important;line-height:1.65!important}
 .action-workspace button,.sheet button,.primary-button{min-height:44px!important;padding:10px 13px!important;border-radius:11px!important;font-size:13px!important}
 .action-workspace input,.action-workspace select,.action-workspace textarea,.sheet textarea,.sheet input,.sheet select{min-height:46px!important;padding:12px 13px!important;font-size:15px!important;line-height:1.6!important}
 .action-workspace textarea,.sheet textarea{min-height:92px!important}
 .message p{padding:12px 14px!important;font-size:14px!important;line-height:1.65!important}
 .conversation-title{font-size:16px!important}.conversation-subtitle,.step-count{font-size:11px!important}
 .snapshot-head h2{font-size:21px!important}.snapshot-tip,.snapshot-rows p,.open-question p{font-size:13px!important}.snapshot-rows span,.open-question span{font-size:10px!important}
 .aw-home .aw-header h1{font-size:32px!important}.action-workspace .aw-daily-entry{min-height:146px!important;font-size:25px!important}
 .aw-nav button{min-height:104px!important;padding:42px 15px 14px!important;font-size:17px!important}.aw-nav button:nth-child(3){min-height:70px!important}
 .aw-day-heading h2{font-size:26px!important}.aw-daily>form>.aw-field:first-child>span{font-size:18px!important}
 .aw-card,.home-name-card{padding:17px!important;border-radius:17px!important}.sheet{padding:19px 16px!important;border-radius:20px!important}
 .direction-report>section{padding:16px!important}.direction-report h2{font-size:18px!important}.report-field p,.report-field textarea{font-size:14px!important}
 .feedback-modal h2{font-size:23px!important}
}

/* Natural editorial action journal: one visual system for action, review and coaching. */
.aw-back-button{position:sticky;top:10px;z-index:18;width:max-content;margin:8px 0 14px;background:rgba(250,249,245,.92)!important;backdrop-filter:blur(14px);box-shadow:0 6px 18px rgba(62,65,55,.08)}
.aw-day-heading{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:22px;padding-bottom:18px;border-bottom:1px solid #dfdacd}
.aw-day-heading>div>small,.aw-plan-section>small{color:#9a6b22;font-size:11px;font-weight:800;letter-spacing:.16em}
.aw-day-heading h2{margin:7px 0 2px;font-family:"Songti SC",STSong,serif;font-size:34px}
.aw-day-heading p{margin:0;color:#77796f;font-size:13px}
.aw-day-heading label{flex:0 0 170px;color:#77796f;font-size:12px}
.aw-day-heading input{margin-top:5px}
.aw-record{position:relative;padding:18px 0 20px 18px!important;border:0!important;border-bottom:1px solid #dfdacd!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
.aw-record:before{content:"";position:absolute;left:0;top:18px;bottom:20px;width:4px;border-radius:9px;background:#e4aa2f}
.aw-record header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:6px}
.aw-record header time{font-family:"Songti SC",STSong,serif;font-size:17px;font-weight:800}
.aw-record header span{padding:5px 9px;border-radius:999px;color:#5c704e;background:#e9eee2;font-size:11px}
.aw-record p{margin:11px 0 0;line-height:1.75}
.aw-plan-section{margin:30px 0 18px;padding:22px 22px 8px;border-radius:22px;background:#fff;box-shadow:0 12px 30px rgba(66,81,61,.075)}
.aw-plan-section>h2{margin:8px 0 4px;font-family:"Songti SC",STSong,serif}
.aw-plan-section>p{margin:0 0 12px;color:#77796f;font-size:13px}
.aw-task{padding:18px 0;border-bottom:1px solid #e5e1d7}
.aw-task:last-child{border-bottom:0}.aw-task>h3{margin:0 0 5px}.aw-task>p{color:#77796f}
.aw-review-dates{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:10px;align-items:end;margin:22px 0 30px}
.aw-review-dates label{display:grid;gap:6px;min-width:0}.aw-review-dates label span{color:#77796f;font-size:13px}.aw-review-dates i{padding-bottom:17px;color:#8e9187;font-style:normal}
.aw-review-records{margin:0 0 26px}.aw-review-records>h2{margin:7px 0 18px;font-family:"Songti SC",STSong,serif}
.aw-review-coach{border:0!important;border-radius:20px!important;background:#647957!important;color:white;box-shadow:none!important}
.aw-review-coach>button:first-child{width:100%;border-color:rgba(255,255,255,.25);color:white;background:rgba(255,255,255,.13)}
.aw-review-coach .review-message{color:#34372f}.aw-review-coach .review-message.member{background:#eef3e8}

@media(max-width:600px){
 .aw-back-button{top:max(8px,env(safe-area-inset-top));min-height:42px!important;padding:9px 13px!important;border-radius:999px!important}
 .aw-daily{padding:7px 0 20px!important;border:0!important;border-radius:0!important;background:transparent!important}
 .aw-day-heading{align-items:start}.aw-day-heading h2{font-size:30px}.aw-day-heading label{flex-basis:132px}
 .aw-focus-card{padding:16px 17px!important;border:0!important;border-left:4px solid #e4aa2f!important;border-radius:10px!important;background:#f4eedb!important}
 .aw-daily>form{margin:25px 0}.aw-daily>form>.aw-field:first-child>span{font-family:"Songti SC",STSong,serif;font-size:23px;font-weight:800}
 .aw-daily>form textarea{background:#fffef9}.aw-daily>form>button{width:100%;color:#fff;background:#657956}
 .aw-plan-section{margin-left:-2px;margin-right:-2px;padding:20px 18px 6px}
 .aw-review>h1{margin-top:8px;font-family:"Songti SC",STSong,serif}.aw-review>p{color:#6f7369}
 .aw-review-dates{gap:7px}.aw-review-dates input{width:100%;min-width:0;padding:11px 8px!important;font-size:15px!important}
 .aw-review-records .aw-record{margin:0!important}
 .coach-layout .progress-row{position:sticky;top:max(0px,env(safe-area-inset-top));z-index:16;margin:-12px -4px 8px;padding:9px 4px;background:rgba(248,247,243,.94);backdrop-filter:blur(14px);border-bottom:1px solid rgba(113,132,91,.1)}
 .coach-layout .back-button{width:42px;height:42px;min-width:42px;border:1px solid #d9ddcf;border-radius:50%;background:#fff}
 .direction-report .sheet-heading{position:sticky;top:max(0px,env(safe-area-inset-top));z-index:12;margin:-20px -20px 18px;padding:15px 20px;background:rgba(255,253,248,.95);backdrop-filter:blur(14px);border-bottom:1px solid #e6dfd1}
 .direction-report>section{border:0!important;border-left:4px solid #e4aa2f!important;border-radius:8px!important;background:#f6f1e4!important;box-shadow:none!important}
}

/* 2026-10 mobile web preview: align the web experience with the Mini Program. */
@media (max-width: 600px) {
  html { font-size: 17px; background: #f8f7f3; }
  body { background: #f8f7f3; }
  .goal-app { width: 100%; max-width: 480px; padding: 0 18px max(34px,env(safe-area-inset-bottom)); }
  .topbar { min-height: 66px; margin: 0 -18px 8px; padding: max(7px,env(safe-area-inset-top)) 18px 7px; border-bottom: 1px solid rgba(113,132,91,.09); background: rgba(250,249,245,.96); }
  .brand-mark { width: 128px; height: 52px; flex-basis: 128px; }
  .brand-name { font-size: 12px; }
  .product-name { font-size: 18px; }
  .prototype-label { padding: 6px 10px; font-size: 13px; }
  .topbar nav button { min-height: 42px; padding: 8px 9px; font-size: 14px; }

  /* Keep the signed-in mobile header on one compact row. The horizontal logo
     already carries the brand name, so the repeated title and edition badge
     only consume space and can force the header into vertical wrapping. */
  .goal-app:not(.auth-page) .topbar { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; column-gap: 8px; min-height: 64px; flex-wrap: nowrap; }
  .goal-app:not(.auth-page) .topbar > .brand-mark { width: 128px; height: 50px; min-width: 0; flex: none; }
  .goal-app:not(.auth-page) .topbar > div,
  .goal-app:not(.auth-page) .topbar > .prototype-label { display: none; }
  .goal-app:not(.auth-page) .topbar nav { display: flex; width: auto; min-width: 0; margin: 0; overflow: visible; flex: none; }
  .goal-app:not(.auth-page) .topbar nav .member-chip { display: none; }
  .goal-app:not(.auth-page) .topbar nav button { min-height: 38px; padding: 7px 7px; font-size: 12px; white-space: nowrap; }

  .action-workspace { max-width: none; margin: 0; }
  .action-workspace h1 { font-size: 31px; line-height: 1.38; }
  .action-workspace h2 { font-size: 24px; }
  .action-workspace h3 { font-size: 19px; }
  .action-workspace p,.action-workspace label,.action-workspace summary,.action-workspace small { line-height: 1.7; }
  .action-workspace small { font-size: 14px; }
  .action-workspace button { min-height: 50px; padding: 13px 17px; border-radius: 15px; font-size: 16px; }
  .action-workspace input,.action-workspace select,.action-workspace textarea { min-height: 52px; padding: 14px 15px; border-radius: 15px; font-size: 17px; line-height: 1.65; }

  .aw-home .aw-header { display:block; min-height: 174px; margin: 6px 0 12px; padding: 29px 8px 22px; border-radius: 0; background: transparent; box-shadow: none; }
  .aw-home .aw-header::before { content:"MEMBER JOURNEY"; display:block; margin-bottom:10px; color:#9a6b22; font-size:12px; font-weight:700; letter-spacing:.18em; }
  .aw-home .aw-header::after { width:58px; height:4px; right:auto; bottom:17px; left:8px; border:0; border-radius:9px; background:#e2a82f; }
  .aw-home .aw-header h1 { max-width: 250px; margin:0; color:#302f2a; font-size: 35px; line-height: 1.42; letter-spacing:-.035em; }
  .aw-home .aw-header button { top: 22px; right: 5px; min-height: 42px; padding: 9px 13px; border-color:rgba(113,132,91,.18); color:#526044; background:#edf1e6; font-size: 14px; }
  .action-workspace .aw-daily-entry { min-height: 158px; margin: 0 0 14px; padding: 27px 24px; border-radius: 28px; font-size: 30px; box-shadow: none; }
  .action-workspace .aw-daily-entry::before { top: 25px; left: 24px; font-size: 13px; }
  .action-workspace .aw-daily-entry span:last-child { width: 46px; height: 46px; font-size: 24px; }
  .aw-nav { grid-template-columns: 1fr 1fr; gap: 11px; }
  .aw-nav button { min-height: 118px; padding: 47px 17px 17px; border-radius: 23px; font-size: 21px; line-height: 1.35; }
  .aw-nav button:first-child { grid-column: auto; min-height: 118px; }
  .aw-nav button:nth-child(3) { grid-column: 1/-1; min-height: 76px; padding: 30px 17px 13px; }
  .aw-nav button::before { top: 17px; left: 17px; font-size: 12px; }
  .aw-nav button::after { top: 15px; right: 16px; font-size: 20px; }

  .aw-daily,.aw-card,.aw-record,.home-name-card { margin: 14px 0; padding: 20px; border-radius: 24px; box-shadow: none; }
  .aw-focus-card { background: #fff5d9; }
  .aw-notice,.aw-pending { margin: 10px 0; padding: 14px 16px; border-radius: 16px; font-size: 15px; }
  .outline-button { min-height: 46px; border-radius: 14px; font-size: 16px; }

  .sheet { margin: 10px 0 0; padding: 22px 18px; border: 1px solid rgba(228,220,203,.82); border-radius: 25px; background: #fffdf8; box-shadow: none; }
  .sheet h2 { margin-bottom: 20px; font-size: 30px; line-height: 1.35; }
  .sheet p,.sheet label,.sheet textarea,.sheet input,.sheet select,.sheet button { font-size: 16px; }
  .sheet textarea,.sheet input,.sheet select { min-height: 52px; padding: 14px; border-radius: 14px; }
  .sheet button,.primary-button { min-height: 50px; border-radius: 15px; font-size: 16px; }
  .card-field,.weekly-field { margin-bottom: 18px; }
  .card-field span,.weekly-field span,.identity-grid span { font-size: 15px; }
  .journey-goal,.journey-month,.journey-weeks { padding: 20px; border-radius: 21px; }
  .journey-goal h3,.journey-section-head h3 { font-size: 23px; }

  .conversation-shell { margin-top: 4px; padding-top: 12px; }
  .conversation-title { font-size: 19px; }
  .conversation-subtitle,.step-count { font-size: 13px; }
  .message p { padding: 14px 16px; font-size: 17px; line-height: 1.7; }
  .composer textarea { min-height: 98px; font-size: 17px; }
  .composer-footer button { min-height: 44px; padding: 10px 18px; font-size: 16px; }
  .snapshot-panel { padding: 20px; border-radius: 22px; }
  .snapshot-head h2 { font-size: 27px; }
  .snapshot-tip,.snapshot-rows p,.open-question p { font-size: 15px; }
  .snapshot-rows span,.open-question span { font-size: 12px; }

  .direction-report { margin: 10px 0; }
  .direction-report h1 { font-size: 29px; }
  .direction-report > section { padding: 20px; border-radius: 22px; }
  .direction-report h2 { font-size: 23px; }
  .report-field > span,.report-note,.report-next p { font-size: 15px; }
  .report-field p,.report-field textarea { font-size: 17px; line-height: 1.8; }
}

/* B+ final cascade: compact, modern and consistent on small screens. */
@media (max-width: 600px) {
  html { font-size: 14px; }
  .goal-app { padding: 0 16px max(88px,env(safe-area-inset-bottom)); }
  .topbar { min-height: 58px; margin: 0 -16px 8px; padding-inline: 16px; }
  .goal-app:not(.auth-page) .topbar { min-height: 58px; }
  .goal-app:not(.auth-page) .topbar > .brand-mark { width: 116px; height: 44px; }
  .goal-app:not(.auth-page) .topbar nav button { min-height: 36px; padding: 7px 6px; font-size: 12px; }

  .action-workspace h1,.sheet h1 { font-size: 27px; line-height: 1.25; }
  .action-workspace h2,.sheet h2 { font-size: 21px; }
  .action-workspace h3,.sheet h3 { font-size: 16px; }
  .action-workspace p,.action-workspace label,.action-workspace summary,.action-workspace small,
  .sheet p,.sheet label,.sheet button { font-size: 13px; line-height: 1.65; }
  .action-workspace small { font-size: 12px; }
  .action-workspace button,.sheet button,.primary-button,.outline-button {
    min-height: 44px; padding: 10px 13px; border-radius: 11px; font-size: 13px;
  }
  .action-workspace input,.action-workspace select,.action-workspace textarea,
  .sheet textarea,.sheet input,.sheet select {
    min-height: 46px; padding: 12px 13px; border-radius: 12px; font-size: 15px; line-height: 1.6;
  }
  .action-workspace textarea,.sheet textarea { min-height: 92px; }

  .aw-home .aw-header { min-height: 150px; padding: 25px 7px 20px; }
  .aw-home .aw-header h1 { max-width: 235px; font-size: 32px; }
  .aw-home .aw-header button { min-height: 40px; padding: 8px 12px; border-radius: 999px; font-size: 13px; }
  .action-workspace .aw-daily-entry { min-height: 146px; padding: 25px 22px; border-radius: 24px; font-size: 25px; }
  .action-workspace .aw-daily-entry::before { left: 22px; font-size: 11px; }
  .action-workspace .aw-daily-entry span:last-child { width: 42px; height: 42px; font-size: 21px; }
  .aw-nav { gap: 9px; }
  .aw-nav button,.aw-nav button:first-child { min-height: 104px; padding: 42px 15px 14px; border-radius: 18px; font-size: 17px; }
  .aw-nav button:nth-child(3) { min-height: 70px; padding: 28px 15px 12px; }
  .aw-nav button::before { top: 14px; left: 15px; font-size: 10px; }
  .aw-nav button::after { top: 13px; right: 14px; font-size: 17px; }

  .aw-daily,.aw-card,.aw-record,.home-name-card { margin: 12px 0; padding: 17px; border-radius: 17px; }
  .aw-notice,.aw-pending { padding: 12px 14px; border-radius: 12px; font-size: 13px; }
  .sheet { padding: 19px 16px; border-radius: 20px; }
  .sheet h2 { margin-bottom: 16px; font-size: 21px; }
  .card-field,.weekly-field { margin-bottom: 15px; }
  .card-field span,.weekly-field span,.identity-grid span { font-size: 12px; }
  .journey-goal,.journey-month,.journey-weeks { padding: 17px; border-radius: 16px; }
  .journey-goal h3,.journey-section-head h3 { font-size: 18px; }

  .conversation-title { font-size: 16px; }
  .conversation-subtitle,.step-count { font-size: 11px; }
  .message p { padding: 12px 14px; font-size: 14px; line-height: 1.65; }
  .composer textarea { min-height: 92px; font-size: 15px; }
  .composer-footer button { min-height: 42px; padding: 9px 15px; font-size: 13px; }
  .snapshot-panel { padding: 17px; border-radius: 17px; }
  .snapshot-head h2 { font-size: 21px; }
  .snapshot-tip,.snapshot-rows p,.open-question p { font-size: 13px; }
  .snapshot-rows span,.open-question span { font-size: 10px; }

  .direction-report h1 { font-size: 27px; }
  .direction-report > section { padding: 16px; border-radius: 12px; }
  .direction-report h2 { font-size: 18px; }
  .report-field > span,.report-note,.report-next p { font-size: 12px; }
  .report-field p,.report-field textarea { font-size: 14px; line-height: 1.72; }

  .aw-day-heading h2 { font-size: 27px; }
  .aw-daily > form > .aw-field:first-child > span { font-size: 18px; }
  .aw-review-dates input { min-width: 0; font-size: 14px; }
}

/* Smart writing surfaces replace the old field-by-field form look. */
.smart-field { display:grid; gap:8px; }
.smart-field > span:first-child { color:#4d493d; font-size:13px; font-weight:750; letter-spacing:.01em; }
.smart-editor,.smart-composer {
  display:block; overflow:hidden; border:1px solid transparent; border-radius:18px;
  background:#f8f2e5; box-shadow:inset 0 1px 2px rgba(60,54,38,.035);
  transition:background .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.smart-editor:focus-within,.smart-composer:focus-within {
  border-color:rgba(229,174,36,.42); background:#fffdf8;
  box-shadow:0 0 0 4px rgba(229,174,36,.11),0 12px 30px rgba(73,60,29,.06);
}
.smart-editor textarea,.smart-composer textarea {
  width:100%; margin:0!important; padding:16px 17px 10px!important; border:0!important;
  border-radius:0!important; background:transparent!important; box-shadow:none!important; resize:vertical;
}
.smart-editor-meta {
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  padding:0 17px 12px; color:#999284!important; font-size:11px!important; font-weight:500!important;
}
.smart-editor-meta span:last-child { flex:none; font-variant-numeric:tabular-nums; }
.smart-composer > .smart-field { gap:0; margin:0; }
.smart-composer > .smart-field > span:first-child { padding:15px 17px 0; color:#39362d; font-size:15px; }
.smart-composer-toolbar {
  display:grid; grid-template-columns:minmax(150px,1fr) auto auto; align-items:end; gap:12px;
  padding:11px 13px 13px; border-top:1px solid rgba(121,107,75,.12);
}
.smart-composer-toolbar label { display:grid; gap:4px; color:#8b8374; font-size:11px; }
.smart-composer-toolbar select { min-height:38px!important; margin:0!important; padding:7px 34px 7px 10px!important; border:0!important; border-radius:10px!important; background:#fffaf0!important; font-size:13px!important; box-shadow:none!important; }
.smart-draft-status { color:#999284; font-size:11px; white-space:nowrap; font-variant-numeric:tabular-nums; }
.smart-composer-toolbar button { min-height:40px!important; margin:0!important; padding:8px 16px!important; }

/* Semantic colour: yellow for action, green only for completed/success states. */
.aw-daily>form>button,.button-primary,.primary-button { color:#29271f!important; background:#e5ae24!important; }
.aw-review-coach { background:#29271f!important; }
.direction-report>section { border:0!important; border-left:3px solid #e5ae24!important; background:rgba(255,253,248,.88)!important; }

@media (max-width:600px) {
  .aw-day-heading h2 { font-size:26px!important; }
  .aw-daily>form>.aw-field:first-child>span { font-size:15px!important; }
  .smart-composer-toolbar { grid-template-columns:1fr auto; gap:9px; }
  .smart-composer-toolbar label { grid-column:1/-1; }
  .smart-composer-toolbar select { min-height:40px!important; font-size:14px!important; }
  .smart-draft-status { align-self:center; overflow:hidden; text-overflow:ellipsis; }
  .smart-editor,.smart-composer { border-radius:15px; }
  .smart-editor textarea,.smart-composer textarea { padding:14px 14px 9px!important; }
  .smart-editor-meta { padding:0 14px 10px; }
}

/* Common chat actions remain available while reading long conversations. */
.coach-layout .progress-row{position:sticky!important;top:0!important;z-index:31!important;background:#fffdf8!important;min-height:62px;padding:8px 10px!important;margin:0!important}
.coach-layout .chat-tools{position:sticky;top:62px;z-index:30;display:flex;gap:8px;flex-wrap:wrap;padding:10px;background:rgba(255,253,248,.98);border-bottom:1px solid #e9dfc8;box-shadow:0 7px 14px #61502108}
.coach-layout .chat-tools button{flex:1;min-height:44px;font-size:13px!important;margin:0!important}
.coach-layout .chat-tools button:first-child{background:#fff0bc!important;color:#6b5116!important}
.archive-directory>details,.archive-directory-item,.archive-direction,.review-report{padding:18px 0;border-bottom:1px solid #e9dfc8;border-top:0}
.archive-directory summary,.archive-directory-item summary,.archive-direction summary{font-size:16px;min-height:44px}
.archive-directory summary small,.archive-directory-item summary small{font-size:12px;color:#928878;font-weight:400;margin-left:auto}
.review-report summary{align-items:center;min-height:52px}.review-report summary small{display:block;font-size:12px;color:#908676;font-weight:400;margin-top:6px;max-width:440px}
.archive-row{padding:16px 0;border-bottom:1px solid #eee6d6}.archive-row button{font-size:12px!important;margin:8px 8px 0 0}
.aw-review-records{margin:16px 0!important;background:#f7f3e9;padding:12px 15px;border:0;border-radius:12px}
.aw-review-records summary{font-weight:500;font-size:13px}
/* Persistent member navigation and calm daily capture. */
.member-bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);z-index:45;display:grid;grid-template-columns:repeat(3,1fr);width:min(100%,560px);padding:8px 12px max(10px,env(safe-area-inset-bottom));background:rgba(255,253,248,.97);backdrop-filter:blur(16px);border:1px solid #e9e2d3;border-bottom:0;border-radius:19px 19px 0 0;box-shadow:0 -5px 24px #51401509}
.member-bottom-nav button{display:grid;gap:3px;justify-items:center;align-content:center;min-height:48px;border:0;background:transparent;color:#8a8170;border-radius:12px;font:600 12px/1.4 system-ui}
.member-bottom-nav button span{font:24px/1 system-ui}
.goal-app:has(.aw-home:not(.aw-calendar-view)) .member-bottom-nav button:first-child,.goal-app:has(.aw-calendar-view) .member-bottom-nav button:nth-child(2),.member-bottom-nav button[aria-current=page]{background:#fff0bc;color:#795809}
.goal-app{padding-bottom:110px!important}
.feedback-trigger{bottom:90px!important}
.daily-plan-hint{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:10px;background:#fff3cd;color:#786329;font-size:12px}
.daily-plan-hint span{flex:1;min-width:0}.daily-plan-hint button{flex:none;border:0;background:transparent;min-height:40px!important;padding:5px 8px!important}
.daily-records{margin-top:26px}.daily-records>h2{font-size:17px!important}.empty-record-note{color:#9b9487;font-size:13px}
.smart-editor textarea::placeholder,.smart-composer textarea::placeholder{color:#9a9488;opacity:1;font-weight:400}
.field-guide{color:#867b66!important;font-size:12px!important;font-weight:400}
.aw-calendar-view .aw-header,.aw-calendar-view .aw-daily-entry{display:none}
/* Approved product home: amber action surface and quiet navigable rows. */
.goal-app .action-workspace[data-design="product-yellow-v2"] {max-width:920px;margin-inline:auto}
.aw-home[data-design] .aw-header {display:flex;align-items:flex-start;min-height:0;margin:20px 0 24px;padding:12px 0;background:transparent;border-radius:0;box-shadow:none}
.aw-home[data-design] .aw-header::before,.aw-home[data-design] .aw-header::after {display:none}
.aw-home[data-design] .aw-header h1 {margin:12px 0;font-size:40px!important;line-height:1.25!important;color:#29271f}
.aw-home[data-design] .aw-header p {margin:0;color:#827b6c;font-size:14px}
.product-date {color:#937016;font:700 11px/1.5 system-ui;letter-spacing:.14em}
.aw-home[data-design] .aw-header button {position:static;border-radius:999px!important;font-size:12px!important;background:#f3efdf;color:#665d45}
.action-workspace[data-design] .aw-daily-entry {min-height:190px!important;background:linear-gradient(125deg,#f5cf62,#e9b430)!important;color:#342a12!important;border-radius:23px!important;box-shadow:0 12px 25px #ba8b1615!important;padding:26px!important}
.action-workspace[data-design] .aw-daily-entry::before {content:'TODAY · 今日行动';color:#72591f;left:26px;top:24px;font-size:11px}
.action-workspace[data-design] .aw-daily-entry b {display:block;font:650 27px/1.4 'Songti SC',serif}
.action-workspace[data-design] .aw-daily-entry small {display:block;color:#72591f;font:400 13px/1.6 system-ui!important;margin-top:5px}
.action-workspace[data-design] .aw-daily-entry span:last-child {background:#fff8dfad;color:#594314}
.aw-home[data-design] .aw-nav {display:grid;grid-template-columns:1fr;gap:0;margin:26px 0}
.aw-home[data-design] .aw-nav button {grid-column:auto;min-height:85px!important;padding:19px 44px 19px 48px!important;background:transparent!important;border:0;border-bottom:1px solid #e6e1d5;border-radius:0!important;font:600 16px/1.4 system-ui!important}
.aw-home[data-design] .aw-nav button::before {top:25px;left:4px;color:#9a7729;font:700 11px/1 system-ui;letter-spacing:.04em}
.aw-home[data-design] .aw-nav button:nth-child(1)::before {content:'01'}
.aw-home[data-design] .aw-nav button:nth-child(2)::before {content:'02'}
.aw-home[data-design] .aw-nav button:nth-child(3)::before {content:'03'}
.aw-home[data-design] .aw-nav button::after {content:'›';right:7px;top:25px;width:26px;height:26px;border-radius:50%;background:#f1ede2;color:#766b52;text-align:center;font:20px/26px system-ui}
.aw-home[data-design] .aw-nav button span {margin-top:4px;color:#8b8476;font-size:12px}
.aw-home[data-design] .aw-nav button:hover {background:#fff5d8!important}
.smart-composer-toolbar button {background:#e5ae24!important;color:#29271f!important;border:0!important}
@media(max-width:600px){
 .aw-home[data-design] .aw-header {margin:14px 0 18px;padding:12px 2px}
 .aw-home[data-design] .aw-header h1 {font-size:32px!important}
 .aw-home[data-design] .aw-header p {font-size:12px!important;max-width:260px}
 .action-workspace[data-design] .aw-daily-entry {min-height:180px!important;padding:23px!important}
 .action-workspace[data-design] .aw-daily-entry b {font-size:26px}
}
/* Read-only month map and focused review paths. Keep intrinsic inputs inside mobile columns. */
.action-workspace,.action-workspace *{box-sizing:border-box}
.action-workspace{min-width:0;max-width:100%;overflow-wrap:anywhere}
.action-workspace input,.action-workspace select,.action-workspace textarea{min-width:0!important;max-width:100%!important;width:100%}
.action-workspace .aw-row>*{min-width:0}
.action-workspace .month-action-map .aw-calendar{display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:5px!important;margin:20px 0 28px}
.action-workspace .month-action-map .aw-calendar button{width:100%!important;min-width:0!important;min-height:46px!important;margin:0!important;padding:8px 0!important;border:0!important;background:transparent!important;display:flex;flex-direction:column;align-items:center;gap:3px;font-size:14px!important;border-radius:12px!important}
.action-workspace .month-action-map .aw-calendar button[aria-pressed=true]{background:#f9df89!important;color:#322c20!important}
.action-workspace .month-action-map .aw-calendar b{text-align:center;font-size:12px;color:#78766e}
.record-dot{color:#b98611;font-size:8px!important}.no-record-dot{visibility:hidden;font-size:8px!important}
.action-workspace .calendar-month-picker{display:block;max-width:240px}
.action-workspace .daily-records-compact .aw-record{padding:12px 0!important;background:transparent!important;border:0!important;border-bottom:1px solid #e8e5dc!important;border-radius:0!important;box-shadow:none!important}
.action-workspace .daily-records h2{font-size:18px!important}.action-workspace .daily-records h2 small{font-size:12px;color:#777;font-weight:400}
.action-workspace .review-entry-options{display:grid;gap:16px;margin:28px 0}
.action-workspace .review-entry-options button{display:block!important;width:100%;text-align:left!important;padding:24px!important;border:1px solid #e8dfbd!important;border-radius:18px!important;background:#fff9e6!important;color:#302e28!important}
.action-workspace .review-entry-options button+button{background:#fff!important}
.review-entry-options strong{display:flex;justify-content:space-between;font-size:18px}.review-entry-options small{display:block;margin-top:10px;font-weight:400;color:#716d63}
.action-workspace .aw-review-coach{background:transparent!important;color:#302e28!important;border:0!important;box-shadow:none!important;padding:0!important}
.action-workspace .aw-review-coach p,.action-workspace .aw-review-coach label{color:#302e28!important}
.action-workspace .aw-review-coach pre{white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:600px){.action-workspace .aw-day-heading{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important}.action-workspace .aw-day-heading label{max-width:220px}.action-workspace .aw-review-dates{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important}.action-workspace .aw-review-dates i{display:none}.action-workspace .aw-review-dates label{min-width:0!important;width:100%!important}.action-workspace .smart-composer-toolbar{flex-wrap:wrap}.action-workspace .smart-composer-toolbar>*{min-width:0;max-width:100%}}
.aw-record header .aw-delete-record{margin-left:auto;min-height:36px;padding:6px 12px;border:0;background:transparent;color:#946252;font-size:14px;flex:0 0 auto;}
.email-auth-tabs{display:flex;gap:8px;margin:20px 0;flex-wrap:wrap}.email-auth-tabs button{font-size:14px;padding:9px 12px;min-height:40px}.email-auth-tabs button[aria-pressed=true]{background:#f5cf62;color:#332c1c}.email-auth input{min-width:0;width:100%;box-sizing:border-box}.email-auth .phone-row{min-width:0;grid-template-columns:minmax(0,1fr) auto}.email-auth .phone-row input{width:100%;min-width:0;min-height:44px}.email-auth .phone-row button{min-height:44px}
@media(max-width:360px){.email-auth .phone-row{grid-template-columns:minmax(0,1fr)}.email-auth .phone-row button{justify-self:end}}
/* Review progression: compact ranges, four distinct sections, shared export previews. */
.action-workspace .review-range-line,.action-workspace .aw-review-dates.review-range-line{display:grid!important;grid-template-columns:minmax(0,1fr) 16px minmax(0,1fr)!important;gap:8px;align-items:end}
.review-range-line label{min-width:0;font-size:12px}.review-range-line input{width:100%;min-width:0!important;max-width:100%;box-sizing:border-box;padding:10px 6px;font-size:14px!important}
.review-range-line i{display:block!important;text-align:center;padding-bottom:12px}
.review-range-presets{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:20px 0 8px}.review-range-presets button{padding:6px 12px;font-size:13px}
.review-part{padding:24px 0!important;border:0!important;border-bottom:1px solid #e8e2d7!important;border-radius:0!important;background:transparent!important}
.review-part h2{font-size:20px!important;margin:0 0 12px}.review-part h2 small{font-size:12px;color:#a85942}.review-part p{font-size:13px;color:#767166}
.review-kiss-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}
.review-kiss-grid .smart-field{margin:0!important}.review-kiss-grid textarea{min-height:108px!important;font-size:15px!important}.review-kiss-grid .smart-editor-meta{display:none}
.review-originals{margin-top:16px;font-size:13px}.review-originals .aw-record{padding:12px;border-radius:0;border:0;border-bottom:1px solid #eee8df}
.share-card-choice{padding:24px;background:#f4f0e6;border-radius:18px;margin:24px 0}.share-card-choice>header{display:flex;justify-content:space-between;align-items:center}.share-field-choice{display:flex;align-items:center;gap:8px;min-height:36px;font-size:14px}.share-field-choice input{width:auto}
.series-card-preview{max-width:440px;margin:16px auto;background:#fcfaf5;color:#30332d;border-top:7px solid;padding:24px;border-radius:12px}.series-card-preview>img{width:150px}.series-card-preview h2{font-size:25px!important}.series-card-preview h3{font-size:14px!important}.series-card-preview p{font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8}.series-card-preview section{padding:16px 0;border:0!important;background:none!important}.series-card-preview footer{border-top:1px solid #e5e0d6;padding-top:16px;display:flex;align-items:center;justify-content:space-between;font-size:12px}.series-card-preview footer img{width:88px;height:88px}
