@charset "UTF-8";

:root {
  color-scheme: light;
  --bg: #f2eee6;
  --surface: rgba(255, 253, 248, 0.86);
  --surface-strong: #fffdf8;
  --surface-soft: #f7f2e9;
  --ink: #24251f;
  --muted: #707266;
  --soft-muted: #9a9b90;
  --line: #ded8ca;
  --line-strong: #c9c1b1;
  --olive: #7c8a58;
  --olive-deep: #506038;
  --olive-soft: #e7ecd9;
  --coral: #d98268;
  --coral-soft: #f8e4dc;
  --violet: #8d7bb6;
  --violet-soft: #eee9f7;
  --blue: #708da8;
  --blue-soft: #e6eef4;
  --shadow: 0 24px 70px rgba(72, 62, 45, 0.12);
  --shadow-soft: 0 12px 35px rgba(72, 62, 45, 0.08);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --sidebar-width: 252px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 90% 10%, rgba(178, 156, 118, 0.18), transparent 28rem),
    radial-gradient(circle at 5% 90%, rgba(124, 138, 88, 0.13), transparent 26rem),
    var(--bg);
  color: var(--ink);
  min-height: 100vh;
}
button, input, textarea, select { font: inherit; }
button { color: inherit; }
button, [role="button"] { -webkit-tap-highlight-color: transparent; }
button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid rgba(124, 138, 88, 0.35);
  outline-offset: 2px;
}
textarea { resize: vertical; }
[hidden] { display: none !important; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  transform: translateY(-160%);
  border-radius: 999px;
  background: var(--ink);
  padding: 10px 14px;
  color: white;
  text-decoration: none;
}
.skip-link:focus { transform: translateY(0); }

.app-shell { min-height: 100vh; }
.sidebar {
  position: fixed;
  z-index: 20;
  inset: 0 auto 0 0;
  display: flex;
  width: var(--sidebar-width);
  border-right: 1px solid rgba(201, 193, 177, 0.72);
  background: rgba(248, 244, 236, 0.88);
  padding: 26px 18px 22px;
  flex-direction: column;
  backdrop-filter: blur(24px);
}
.brand-lockup { display: flex; padding: 0 10px 26px; gap: 12px; align-items: center; }
.brand-lockup strong, .brand-lockup small { display: block; }
.brand-lockup strong { font-family: Georgia, "Noto Serif TC", serif; font-size: 1.05rem; letter-spacing: 0.02em; }
.brand-lockup small { margin-top: 3px; color: var(--muted); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; }
.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--ink);
  color: #fffaf1;
  place-items: center;
  font-family: Georgia, serif;
  font-size: 1.15rem;
}
.side-nav { display: grid; gap: 6px; }
.nav-item {
  display: grid;
  width: 100%;
  min-height: 64px;
  border: 0;
  border-radius: 18px;
  background: transparent;
  padding: 10px 12px;
  grid-template-columns: 36px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 11px;
  align-items: center;
  text-align: left;
  cursor: pointer;
}
.nav-item > span {
  display: grid;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 12px;
  grid-row: 1 / 3;
  place-items: center;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
}
.nav-item b { align-self: end; font-size: 0.86rem; }
.nav-item small { align-self: start; margin-top: 2px; color: var(--muted); font-size: 0.68rem; }
.nav-item:hover { background: rgba(255,255,255,0.56); }
.nav-item.is-active { background: var(--surface-strong); box-shadow: var(--shadow-soft); }
.nav-item.is-active > span { border-color: var(--olive); background: var(--olive-soft); color: var(--olive-deep); }
.sidebar-note {
  display: flex;
  margin-top: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,0.5);
  padding: 12px;
  gap: 10px;
  align-items: flex-start;
}
.sidebar-note strong, .sidebar-note small { display: block; }
.sidebar-note strong { font-size: 0.72rem; line-height: 1.4; }
.sidebar-note small { margin-top: 3px; color: var(--muted); font-size: 0.64rem; line-height: 1.4; }
.status-dot { width: 9px; height: 9px; flex: 0 0 auto; margin-top: 3px; border-radius: 50%; background: #75a367; box-shadow: 0 0 0 4px rgba(117,163,103,0.14); }

.app-stage { min-height: 100vh; margin-left: var(--sidebar-width); }
.topbar {
  position: sticky;
  z-index: 15;
  top: 0;
  display: flex;
  min-height: 98px;
  border-bottom: 1px solid rgba(222, 216, 202, 0.75);
  background: rgba(242, 238, 230, 0.76);
  padding: 20px clamp(24px, 4vw, 56px);
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(24px);
}
.topbar h1 { margin: 2px 0 0; font-family: Georgia, "Noto Serif TC", serif; font-size: clamp(1.55rem, 3vw, 2.15rem); font-weight: 600; }
.topbar-actions { display: flex; gap: 14px; align-items: center; }
.topbar time { color: var(--muted); font-size: 0.78rem; font-weight: 700; }
.sync-status { display: inline-flex; min-height: 34px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,0.56); padding: 7px 10px; gap: 7px; align-items: center; color: var(--muted); font-size: 0.66rem; font-weight: 850; white-space: nowrap; }
.sync-status i { width: 8px; height: 8px; border-radius: 50%; background: var(--soft-muted); box-shadow: 0 0 0 3px rgba(154,155,144,0.14); }
.sync-status[data-state="synced"] { border-color: #bdc9a2; color: var(--olive-deep); }
.sync-status[data-state="synced"] i { background: #75a367; box-shadow: 0 0 0 3px rgba(117,163,103,0.14); }
.sync-status[data-state="pending"] i, .sync-status[data-state="connecting"] i { background: #d8a44f; box-shadow: 0 0 0 3px rgba(216,164,79,0.14); }
.sync-status[data-state="error"] { border-color: #e5b6a8; color: #a6513b; }
.sync-status[data-state="error"] i { background: var(--coral); box-shadow: 0 0 0 3px rgba(217,130,104,0.14); }
.eyebrow { margin: 0; color: var(--olive-deep); font-size: 0.68rem; font-weight: 900; letter-spacing: 0.16em; text-transform: uppercase; }

main { width: min(1480px, 100%); margin: 0 auto; padding: 26px clamp(22px, 4vw, 54px) 64px; }
.view { display: grid; gap: 22px; animation: view-in 220ms ease-out; }
@keyframes view-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }

.button, .icon-button, .text-button, .status-button, .topic-card, .calendar-day, .action-chip, .month-tab, .topic-filter {
  border: 0;
  cursor: pointer;
}
.button { display: inline-flex; min-height: 44px; border-radius: 999px; padding: 10px 17px; align-items: center; justify-content: center; font-size: 0.78rem; font-weight: 850; }
.button-primary { background: var(--olive); color: white; box-shadow: 0 9px 24px rgba(80, 96, 56, 0.2); }
.button-primary:hover { background: var(--olive-deep); }
.button-dark { background: var(--ink); color: white; }
.button-ghost { border: 1px solid var(--line-strong); background: rgba(255,255,255,0.54); color: var(--ink); }
.icon-button { display: grid; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-strong); place-items: center; }
.text-button { background: transparent; padding: 5px 0; color: var(--olive-deep); font-size: 0.74rem; font-weight: 850; }

.hero-card {
  position: relative;
  display: grid;
  overflow: hidden;
  min-height: 360px;
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(110deg, rgba(34,35,30,0.98) 0%, rgba(49,52,43,0.94) 55%, rgba(76,82,60,0.9) 100%);
  padding: clamp(28px, 5vw, 60px);
  grid-template-columns: minmax(0, 1.5fr) minmax(230px, 0.5fr);
  gap: 32px;
  color: #fffaf1;
  box-shadow: var(--shadow);
}
.hero-card::before { content: ""; position: absolute; inset: auto -9% -52% 38%; width: 620px; height: 620px; border: 1px solid rgba(255,255,255,0.12); border-radius: 50%; box-shadow: inset 0 0 0 75px rgba(255,255,255,0.025), inset 0 0 0 150px rgba(255,255,255,0.025); }
.hero-card::after { content: "M"; position: absolute; right: 8%; bottom: -10%; color: rgba(255,255,255,0.035); font-family: Georgia, serif; font-size: 22rem; line-height: 1; }
.hero-copy { position: relative; z-index: 1; align-self: center; }
.phase-pill { display: inline-flex; border: 1px solid rgba(255,255,255,0.2); border-radius: 999px; background: rgba(255,255,255,0.08); padding: 7px 11px; color: #ece6d8; font-size: 0.7rem; font-weight: 850; letter-spacing: 0.06em; }
.hero-kicker { margin: 26px 0 8px; color: #cbd3ad; font-size: 0.82rem; font-weight: 900; letter-spacing: 0.12em; }
.hero-copy h2 { max-width: 760px; margin: 0; font-family: Georgia, "Noto Serif TC", serif; font-size: clamp(2.15rem, 5vw, 4.3rem); font-weight: 500; line-height: 1.14; letter-spacing: -0.035em; }
.hero-copy > p:last-of-type { max-width: 690px; margin: 22px 0 0; color: rgba(255,250,241,0.72); font-size: 0.9rem; line-height: 1.85; }
.hero-actions { display: flex; margin-top: 28px; gap: 10px; flex-wrap: wrap; }
.hero-actions .button-dark { background: #fffaf1; color: var(--ink); }
.hero-actions .button-ghost { border-color: rgba(255,255,255,0.24); background: rgba(255,255,255,0.08); color: white; }
.hero-progress { position: relative; z-index: 1; display: grid; align-self: center; justify-items: center; }
.progress-orbit { display: grid; width: 178px; height: 178px; border-radius: 50%; background: conic-gradient(#cbd3ad var(--progress, 0%), rgba(255,255,255,0.12) 0); place-items: center; position: relative; }
.progress-orbit::before { content: ""; position: absolute; width: 144px; height: 144px; border-radius: inherit; background: #34382d; }
.progress-orbit strong, .progress-orbit span { position: relative; z-index: 1; grid-column: 1; grid-row: 1; }
.progress-orbit strong { transform: translateY(-9px); font-family: Georgia, serif; font-size: 2.15rem; font-weight: 500; }
.progress-orbit span { transform: translateY(23px); color: rgba(255,255,255,0.62); font-size: 0.67rem; }
.progress-caption { margin-top: 17px; text-align: center; }
.progress-caption b, .progress-caption span { display: block; }
.progress-caption b { font-size: 0.86rem; }
.progress-caption span { margin-top: 3px; color: rgba(255,255,255,0.58); font-size: 0.66rem; }

.section-heading { display: flex; margin-top: 6px; align-items: end; justify-content: space-between; }
.section-heading h2, .panel-heading h2, .page-intro h2 { margin: 4px 0 0; font-family: Georgia, "Noto Serif TC", serif; font-weight: 600; }
.section-heading h2 { font-size: 1.65rem; }
.compact-heading { margin-top: 14px; }
.success-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.success-card { display: grid; min-height: 142px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); padding: 20px; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; box-shadow: var(--shadow-soft); }
.success-icon { display: grid; width: 42px; height: 42px; border-radius: 14px; background: var(--olive-soft); place-items: center; color: var(--olive-deep); font-weight: 950; }
.success-card strong { display: block; margin: 3px 0 8px; font-size: 0.96rem; }
.success-card p { margin: 0; color: var(--muted); font-size: 0.76rem; line-height: 1.65; }

.overview-grid { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(330px, 0.82fr); gap: 18px; }
.panel { border: 1px solid var(--line); border-radius: var(--radius-xl); background: var(--surface); padding: clamp(20px, 3vw, 28px); box-shadow: var(--shadow-soft); backdrop-filter: blur(18px); }
.panel-heading { display: flex; gap: 18px; align-items: start; justify-content: space-between; }
.panel-heading h2 { font-size: 1.32rem; }
.panel-heading > p { max-width: 420px; margin: 4px 0 0; color: var(--muted); font-size: 0.74rem; line-height: 1.6; text-align: right; }
.today-actions { display: grid; margin: 22px 0; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.action-chip { display: grid; min-height: 78px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface-strong); padding: 11px 8px; place-items: center; gap: 6px; color: var(--muted); font-size: 0.66rem; font-weight: 800; }
.action-chip::before { content: ""; width: 20px; height: 20px; border: 1.5px solid var(--line-strong); border-radius: 7px; }
.action-chip.is-done { border-color: #a9b886; background: var(--olive-soft); color: var(--olive-deep); }
.action-chip.is-done::before { content: "✓"; display: grid; border-color: var(--olive); background: var(--olive); place-items: center; color: white; font-size: 0.7rem; }
.quick-note { display: grid; gap: 8px; }
.quick-note span { font-size: 0.74rem; font-weight: 850; }
.quick-note textarea, .daily-card input, .daily-card textarea, .daily-card select, .meeting-sheet textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255,255,255,0.78);
  padding: 12px 14px;
  color: var(--ink);
  font-size: 0.8rem;
  line-height: 1.65;
}
.save-hint { margin: 7px 0 0; color: var(--soft-muted); font-size: 0.64rem; }
.month-route { display: grid; margin-top: 20px; gap: 10px; }
.route-item { display: grid; border: 1px solid var(--line); border-radius: 17px; background: rgba(255,255,255,0.48); padding: 13px 14px; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 11px; align-items: center; }
.route-index { display: grid; width: 40px; height: 40px; border-radius: 13px; background: var(--surface-soft); place-items: center; color: var(--olive-deep); font-size: 0.69rem; font-weight: 950; }
.route-item strong, .route-item small { display: block; }
.route-item strong { font-size: 0.8rem; }
.route-item small { margin-top: 3px; color: var(--muted); font-size: 0.66rem; }
.route-progress { color: var(--muted); font-size: 0.68rem; font-weight: 800; }
.next-panel { display: flex; background: linear-gradient(120deg, rgba(231,236,217,0.92), rgba(255,253,248,0.92)); gap: 22px; align-items: center; justify-content: space-between; }
.next-panel h2 { margin: 5px 0 8px; font-family: Georgia, serif; font-size: 1.35rem; }
.next-panel p:last-child { max-width: 780px; margin: 0; color: var(--muted); font-size: 0.77rem; line-height: 1.7; }

.page-intro { display: flex; min-height: 112px; border-bottom: 1px solid var(--line); padding: 9px 2px 24px; gap: 28px; align-items: end; justify-content: space-between; }
.page-intro h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); }
.page-intro p:last-child { max-width: 720px; margin: 10px 0 0; color: var(--muted); font-size: 0.82rem; line-height: 1.75; }
.document-badge { display: inline-flex; min-height: 38px; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); padding: 9px 13px; align-items: center; color: var(--muted); font-size: 0.72rem; font-weight: 850; }
.positioning-card { position: relative; overflow: hidden; border-radius: var(--radius-xl); background: #2d3028; padding: clamp(28px, 5vw, 54px); color: #fffaf1; box-shadow: var(--shadow); }
.positioning-card .quote-mark { position: absolute; top: -40px; left: 22px; margin: 0; color: rgba(255,255,255,0.08); font-family: Georgia, serif; font-size: 12rem; line-height: 1; }
.positioning-card h3 { position: relative; max-width: 1100px; margin: 0; font-family: Georgia, "Noto Serif TC", serif; font-size: clamp(1.55rem, 3.5vw, 2.75rem); font-weight: 500; line-height: 1.55; }
.positioning-card > div { position: relative; display: grid; margin-top: 28px; border-top: 1px solid rgba(255,255,255,0.16); padding-top: 18px; grid-template-columns: 110px minmax(0,1fr); gap: 18px; align-items: start; }
.positioning-card span { color: #cbd3ad; font-size: 0.69rem; font-weight: 900; letter-spacing: 0.08em; }
.positioning-card div p { margin: 0; color: rgba(255,255,255,0.72); font-size: 0.82rem; line-height: 1.7; }
.brand-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.numbered-list { display: grid; margin: 22px 0 0; padding: 0; list-style: none; gap: 13px; counter-reset: diff; }
.numbered-list li { display: grid; grid-template-columns: 34px minmax(0,1fr); gap: 12px; align-items: start; color: var(--muted); font-size: 0.78rem; line-height: 1.7; counter-increment: diff; }
.numbered-list li::before { content: counter(diff, decimal-leading-zero); display: grid; width: 32px; height: 32px; border-radius: 11px; background: var(--olive-soft); place-items: center; color: var(--olive-deep); font-size: 0.65rem; font-weight: 950; }
.audience-columns { display: grid; margin-top: 22px; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.audience-columns h3 { margin: 0 0 10px; font-size: 0.8rem; }
.audience-columns ul { display: grid; margin: 0; padding: 0; list-style: none; gap: 8px; }
.audience-columns li { position: relative; padding-left: 15px; color: var(--muted); font-size: 0.74rem; line-height: 1.65; }
.audience-columns li::before { content: ""; position: absolute; top: 0.72em; left: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--olive); }
.story-grid { display: grid; margin-top: 22px; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.story-card { border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,0.52); padding: 18px; }
.story-card[data-color="coral"] { --story: var(--coral); --story-soft: var(--coral-soft); }
.story-card[data-color="violet"] { --story: var(--violet); --story-soft: var(--violet-soft); }
.story-card[data-color="olive"] { --story: var(--olive); --story-soft: var(--olive-soft); }
.story-card[data-color="blue"] { --story: var(--blue); --story-soft: var(--blue-soft); }
.story-card header { display: flex; align-items: center; justify-content: space-between; }
.story-card header span { display: grid; width: 34px; height: 34px; border-radius: 12px; background: var(--story-soft); place-items: center; color: var(--story); font-size: 0.66rem; font-weight: 950; }
.story-card header b { color: var(--story); font-family: Georgia, serif; font-size: 1.25rem; }
.story-card h3 { margin: 17px 0 8px; font-size: 0.86rem; }
.story-card p { margin: 0; color: var(--muted); font-size: 0.7rem; line-height: 1.65; }
.story-bar { overflow: hidden; height: 5px; margin-top: 16px; border-radius: 99px; background: var(--story-soft); }
.story-bar i { display: block; width: var(--ratio); height: 100%; border-radius: inherit; background: var(--story); }
.platform-grid { display: grid; margin-top: 22px; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.platform-card { border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,0.5); padding: 19px; }
.platform-card span { display: inline-flex; border-radius: 99px; background: var(--olive-soft); padding: 5px 8px; color: var(--olive-deep); font-size: 0.63rem; font-weight: 900; }
.platform-card h3 { margin: 14px 0 8px; font-size: 0.86rem; }
.platform-card p { margin: 0; color: var(--muted); font-size: 0.72rem; line-height: 1.7; }
.guardrail-panel { background: rgba(251,246,237,0.92); }
.check-list { display: grid; margin: 20px 0 0; padding: 0; list-style: none; gap: 10px; }
.check-list li { position: relative; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,0.5); padding: 13px 15px 13px 43px; color: var(--muted); font-size: 0.75rem; line-height: 1.65; }
.check-list li::before { content: "✓"; position: absolute; top: 13px; left: 14px; display: grid; width: 20px; height: 20px; border-radius: 7px; background: var(--olive-soft); place-items: center; color: var(--olive-deep); font-size: 0.65rem; font-weight: 950; }

.month-tabs { display: flex; overflow-x: auto; border-bottom: 1px solid var(--line); gap: 6px; scrollbar-width: none; }
.month-tabs::-webkit-scrollbar { display: none; }
.month-tab { min-width: 160px; border-radius: 16px 16px 0 0; background: transparent; padding: 13px 16px; color: var(--muted); text-align: left; }
.month-tab span, .month-tab strong { display: block; }
.month-tab span { font-size: 0.62rem; font-weight: 900; letter-spacing: 0.1em; }
.month-tab strong { margin-top: 4px; font-size: 0.8rem; }
.month-tab.is-active { background: var(--surface); color: var(--ink); box-shadow: inset 0 -3px var(--olive); }
.month-detail { display: grid; gap: 18px; }
.month-overview { display: grid; border: 1px solid var(--line); border-radius: var(--radius-xl); background: linear-gradient(120deg, var(--surface), var(--olive-soft)); padding: clamp(22px,4vw,36px); grid-template-columns: minmax(0,1fr) minmax(230px,0.38fr); gap: 28px; box-shadow: var(--shadow-soft); }
.month-overview h3 { margin: 7px 0 8px; font-family: Georgia, serif; font-size: clamp(1.55rem,3vw,2.3rem); }
.month-overview p { max-width: 760px; margin: 0; color: var(--muted); font-size: 0.8rem; line-height: 1.7; }
.month-cadence { align-self: center; border-left: 1px solid rgba(80,96,56,0.24); padding-left: 24px; }
.month-cadence span, .month-cadence strong { display: block; }
.month-cadence span { color: var(--olive-deep); font-size: 0.65rem; font-weight: 900; letter-spacing: 0.1em; }
.month-cadence strong { margin-top: 8px; font-size: 0.76rem; line-height: 1.6; }
.task-panel { padding: 0; overflow: hidden; }
.task-panel-header { display: flex; border-bottom: 1px solid var(--line); padding: 19px 22px; align-items: center; justify-content: space-between; }
.task-panel-header h3 { margin: 0; font-family: Georgia, serif; font-size: 1.2rem; }
.task-panel-header span { color: var(--muted); font-size: 0.7rem; }
.task-list { display: grid; }
.task-row { display: grid; min-height: 86px; border-bottom: 1px solid var(--line); padding: 15px 20px; grid-template-columns: 42px minmax(0,1fr) auto; gap: 14px; align-items: center; }
.task-row:last-child { border-bottom: 0; }
.task-row.is-done { background: rgba(231,236,217,0.45); }
.task-row.is-done h4 { color: var(--muted); text-decoration: line-through; }
.status-button { display: grid; width: 40px; height: 40px; border: 1px solid var(--line-strong); border-radius: 13px; background: var(--surface-strong); place-items: center; color: var(--soft-muted); font-size: 0.69rem; font-weight: 950; }
.status-button[data-status="doing"] { border-color: var(--coral); background: var(--coral-soft); color: #a6513b; }
.status-button[data-status="done"] { border-color: var(--olive); background: var(--olive); color: white; }
.task-row h4 { margin: 0 0 5px; font-size: 0.82rem; }
.task-row p { margin: 0; color: var(--muted); font-size: 0.7rem; line-height: 1.6; }
.task-status-label { border-radius: 99px; background: var(--surface-soft); padding: 6px 9px; color: var(--muted); font-size: 0.63rem; font-weight: 850; }
.acceptance-panel { display: grid; grid-template-columns: 170px minmax(0,1fr); gap: 22px; align-items: start; }
.acceptance-panel h3 { margin: 0; font-family: Georgia, serif; font-size: 1.08rem; }
.acceptance-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.acceptance-tags span { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,0.54); padding: 7px 10px; color: var(--muted); font-size: 0.68rem; }

.topic-toolbar { display: flex; gap: 8px; flex-wrap: wrap; }
.topic-filter { border: 1px solid var(--line); border-radius: 999px; background: var(--surface); padding: 8px 12px; color: var(--muted); font-size: 0.69rem; font-weight: 850; }
.topic-filter.is-active { border-color: var(--olive); background: var(--olive-soft); color: var(--olive-deep); }
.topic-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 13px; }
.topic-card { position: relative; display: grid; min-height: 164px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); padding: 18px; align-content: space-between; text-align: left; box-shadow: var(--shadow-soft); }
.topic-card:hover { transform: translateY(-2px); border-color: var(--line-strong); }
.topic-card.is-published { border-color: #a9b886; background: var(--olive-soft); }
.topic-topline { display: flex; align-items: center; justify-content: space-between; }
.topic-index { color: var(--soft-muted); font-family: Georgia, serif; font-size: 0.76rem; font-weight: 700; }
.topic-story { border-radius: 99px; padding: 5px 8px; font-size: 0.61rem; font-weight: 850; }
.topic-story[data-story="child"] { background: var(--coral-soft); color: #a6513b; }
.topic-story[data-story="spain"] { background: var(--violet-soft); color: #675294; }
.topic-story[data-story="self"] { background: var(--olive-soft); color: var(--olive-deep); }
.topic-story[data-story="future"] { background: var(--blue-soft); color: #4c6f8d; }
.topic-card h3 { margin: 17px 0 20px; font-family: Georgia, "Noto Serif TC", serif; font-size: 1rem; font-weight: 600; line-height: 1.55; }
.topic-state { display: flex; gap: 7px; align-items: center; color: var(--muted); font-size: 0.66rem; font-weight: 800; }
.topic-state::before { content: ""; width: 17px; height: 17px; border: 1px solid var(--line-strong); border-radius: 6px; background: white; }
.topic-card.is-published .topic-state::before { content: "✓"; display: grid; border-color: var(--olive); background: var(--olive); place-items: center; color: white; font-size: 0.58rem; }

.calendar-panel { padding: 0; overflow: hidden; }
.calendar-toolbar { display: grid; border-bottom: 1px solid var(--line); padding: 18px 22px; grid-template-columns: 42px minmax(0,1fr) 42px; gap: 16px; align-items: center; text-align: center; }
.calendar-toolbar strong, .calendar-toolbar small { display: block; }
.calendar-toolbar strong { font-family: Georgia, serif; font-size: 1.3rem; }
.calendar-toolbar small { margin-top: 4px; color: var(--muted); font-size: 0.68rem; }
.weekdays, .calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0,1fr)); }
.weekdays { border-bottom: 1px solid var(--line); padding: 0 12px; }
.weekdays span { padding: 11px 4px; color: var(--muted); font-size: 0.66rem; font-weight: 850; text-align: center; }
.calendar-grid { padding: 12px; gap: 7px; }
.calendar-day { position: relative; min-height: 104px; border: 1px solid var(--line); border-radius: 17px; background: rgba(255,255,255,0.46); padding: 10px; text-align: left; }
.calendar-day.is-outside { opacity: 0.34; }
.calendar-day.is-today { border-color: var(--olive); box-shadow: inset 0 0 0 1px var(--olive); }
.calendar-day.has-log { background: var(--olive-soft); }
.calendar-day.is-strong { background: linear-gradient(145deg, #dce5c7, #edf1e3); }
.calendar-day-number { display: block; color: var(--muted); font-size: 0.68rem; font-weight: 900; }
.calendar-day-label { display: block; margin-top: 18px; color: var(--olive-deep); font-size: 0.64rem; font-weight: 850; line-height: 1.35; }
.calendar-day-actions { display: flex; position: absolute; right: 9px; bottom: 9px; left: 9px; gap: 3px; }
.calendar-day-actions i { height: 4px; flex: 1; border-radius: 99px; background: rgba(80,96,56,0.24); }
.calendar-day-actions i.is-done { background: var(--olive); }
.calendar-legend { display: flex; border-top: 1px solid var(--line); padding: 13px 20px; gap: 18px; color: var(--muted); font-size: 0.65rem; }
.calendar-legend span { display: inline-flex; gap: 6px; align-items: center; }
.dot { width: 9px; height: 9px; border-radius: 50%; }
.dot-light { background: var(--olive-soft); border: 1px solid #a9b886; }
.dot-strong { background: var(--olive); }

.meeting-sheet { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.meeting-sheet label { display: grid; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); padding: 20px; gap: 12px; box-shadow: var(--shadow-soft); }
.meeting-sheet label > span { font-size: 0.78rem; font-weight: 850; line-height: 1.5; }
.meeting-sheet label > span b { display: inline-grid; width: 30px; height: 30px; margin-right: 7px; border-radius: 10px; background: var(--olive-soft); place-items: center; color: var(--olive-deep); font-size: 0.62rem; }
.meeting-sheet .full-width { grid-column: 1 / -1; }

.daily-dialog { width: min(660px, calc(100vw - 30px)); max-height: calc(100dvh - 30px); border: 0; border-radius: 28px; background: transparent; padding: 0; color: var(--ink); }
.daily-dialog::backdrop { background: rgba(26,27,23,0.58); backdrop-filter: blur(7px); }
.daily-card { display: grid; overflow-y: auto; max-height: calc(100dvh - 30px); border: 1px solid rgba(255,255,255,0.5); border-radius: 28px; background: var(--surface-strong); padding: 24px; gap: 16px; box-shadow: 0 30px 100px rgba(0,0,0,0.25); }
.daily-card header { display: flex; align-items: start; justify-content: space-between; }
.daily-card h2 { margin: 4px 0 0; font-family: Georgia, serif; font-size: 1.6rem; }
.daily-card label { display: grid; gap: 7px; }
.daily-card label > span, .daily-card legend { color: var(--ink); font-size: 0.74rem; font-weight: 850; }
.daily-card fieldset { margin: 0; border: 0; padding: 0; }
.daily-card legend { margin-bottom: 8px; }
.daily-check-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 7px; }
.daily-check-grid label { position: relative; display: grid; min-height: 66px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface-soft); padding: 10px 6px; place-items: center; text-align: center; cursor: pointer; }
.daily-check-grid input { position: absolute; opacity: 0; pointer-events: none; }
.daily-check-grid label:has(input:checked) { border-color: var(--olive); background: var(--olive-soft); color: var(--olive-deep); }
.daily-check-grid label span { font-size: 0.66rem; line-height: 1.35; }
.daily-check-grid label::before { content: ""; width: 18px; height: 18px; border: 1px solid var(--line-strong); border-radius: 6px; background: white; }
.daily-check-grid label:has(input:checked)::before { content: "✓"; display: grid; border-color: var(--olive); background: var(--olive); place-items: center; color: white; font-size: 0.6rem; }
.daily-card footer { display: flex; border-top: 1px solid var(--line); padding-top: 16px; gap: 9px; justify-content: flex-end; }
.toast { position: fixed; z-index: 80; right: 24px; bottom: 24px; max-width: min(360px, calc(100vw - 48px)); border-radius: 999px; background: var(--ink); padding: 11px 16px; color: white; box-shadow: var(--shadow); font-size: 0.74rem; font-weight: 800; }
.mobile-nav { display: none; }

@media (max-width: 1120px) {
  :root { --sidebar-width: 216px; }
  .story-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .topic-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .today-actions { grid-template-columns: repeat(3, minmax(0,1fr)); }
}

@media (max-width: 860px) {
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .sidebar { display: none; }
  .app-stage { margin-left: 0; }
  .topbar { min-height: 72px; padding: 10px 16px; }
  .topbar time { display: none; }
  .topbar .button { min-height: 40px; padding: 8px 12px; font-size: 0.72rem; }
  .sync-status { width: 34px; min-height: 34px; padding: 0; justify-content: center; }
  .sync-status span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  main { padding: 12px 12px 30px; }
  .mobile-nav {
    position: fixed;
    z-index: 40;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    left: 10px;
    display: grid;
    min-height: 56px;
    border: 1px solid rgba(222,216,202,0.85);
    border-radius: 22px;
    background: rgba(255,253,248,0.92);
    padding: 6px;
    grid-template-columns: repeat(5, minmax(0,1fr));
    backdrop-filter: blur(24px);
    box-shadow: 0 18px 50px rgba(55,48,37,0.18);
  }
  .mobile-nav button { display: grid; min-height: 44px; border: 0; border-radius: 16px; background: transparent; padding: 7px; place-items: center; color: var(--muted); }
  .mobile-nav button img { width: 28px; height: 28px; object-fit: contain; opacity: 0.68; transition: opacity 160ms ease, transform 160ms ease; }
  .mobile-nav button.is-active { background: var(--olive-soft); color: var(--olive-deep); }
  .mobile-nav button.is-active img { opacity: 1; transform: translateY(-1px); }
  .toast { right: 14px; bottom: calc(82px + env(safe-area-inset-bottom)); left: 14px; width: fit-content; margin: 0 auto; }
  .hero-card { min-height: auto; border-radius: 28px; padding: 22px 20px 18px; grid-template-columns: 1fr; gap: 18px; }
  .hero-card::after { display: none; }
  .phase-pill { padding: 5px 8px; font-size: 0.62rem; }
  .hero-kicker { margin: 15px 0 6px; font-size: 0.7rem; }
  .hero-copy h2 { font-size: clamp(1.72rem, 8vw, 2.2rem); line-height: 1.25; letter-spacing: -0.025em; }
  .hero-copy > p:last-of-type, .hero-actions { display: none; }
  .hero-progress { width: 100%; grid-template-columns: 1fr; gap: 8px; justify-self: stretch; align-items: center; justify-items: stretch; }
  .progress-orbit { display: block; width: 100%; height: 8px; border-radius: 999px; background: linear-gradient(to right, #cbd3ad var(--progress, 0%), rgba(255,255,255,0.14) var(--progress, 0%)); }
  .progress-orbit::before, .progress-orbit strong, .progress-orbit span { display: none; }
  .progress-caption { display: flex; width: 100%; margin-top: 0; align-items: center; justify-content: space-between; text-align: left; }
  .progress-caption b, .progress-caption span { display: inline; margin: 0; }
  .overview-grid, .brand-grid, .month-overview, .meeting-sheet { grid-template-columns: 1fr; }
  .success-grid, .platform-grid { grid-template-columns: 1fr; }
  .month-cadence { border-top: 1px solid rgba(80,96,56,0.24); border-left: 0; padding-top: 18px; padding-left: 0; }
  .page-intro { display: grid; min-height: 0; align-items: start; }
  .document-badge { justify-self: start; }
  .positioning-card > div { grid-template-columns: 1fr; gap: 8px; }
  .meeting-sheet .full-width { grid-column: auto; }
  .calendar-day { min-height: 82px; border-radius: 13px; padding: 8px; }
  .calendar-day-label { margin-top: 10px; font-size: 0.58rem; }
}

@media (max-width: 620px) {
  .topbar h1 { font-size: 1.35rem; }
  .topbar .eyebrow { font-size: 0.58rem; }
  .hero-copy h2 br { display: none; }
  .hero-actions .button { flex: 1 1 140px; }
  .story-grid, .topic-grid { grid-template-columns: 1fr; }
  .audience-columns { grid-template-columns: 1fr; }
  .today-actions { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .next-panel { display: grid; }
  .next-panel .button { justify-self: start; }
  .panel-heading { display: grid; }
  .panel-heading > p { text-align: left; }
  .task-row { grid-template-columns: 42px minmax(0,1fr); }
  .task-status-label { grid-column: 2; justify-self: start; }
  .acceptance-panel { grid-template-columns: 1fr; }
  .calendar-grid { padding: 6px; gap: 4px; }
  .weekdays { padding: 0 6px; }
  .calendar-day { min-height: 62px; border-radius: 10px; padding: 6px; }
  .calendar-day-label { display: none; }
  .calendar-day-actions { right: 5px; bottom: 6px; left: 5px; }
  .calendar-day-actions i { height: 3px; }
  .daily-card { padding: 19px 16px; }
  .daily-check-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

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

/* v3｜把完整說明留在品牌書，其餘頁面回到簡單記錄 */
.nav-item { min-height: 52px; grid-template-rows: auto; }
.nav-item > span { grid-row: auto; }
.nav-item b { align-self: center; }
.hero-card { min-height: 310px; }
.brand-core-section { display: grid; gap: 14px; }
.panel-heading > div > p:last-child:not(.eyebrow) { max-width: 620px; margin: 8px 0 0; color: var(--muted); font-size: 0.75rem; line-height: 1.7; }
.simple-month-overview { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.month-progress-copy { border-radius: 999px; background: rgba(255,255,255,0.62); padding: 9px 13px; color: var(--olive-deep); font-size: 0.72rem; white-space: nowrap; }

@media (max-width: 860px) {
  .hero-card { min-height: auto; }
  .simple-month-overview { grid-template-columns: 1fr; gap: 14px; }
  .month-progress-copy { justify-self: start; }
}

/* v5｜品牌書首頁＋溫暖科技感 */
:root {
  --bg: #eee8de;
  --surface: rgba(255, 252, 246, 0.76);
  --surface-strong: #fffaf2;
  --surface-soft: #f4ede2;
  --ink: #20251f;
  --muted: #696e64;
  --soft-muted: #97998f;
  --line: rgba(80, 91, 68, 0.18);
  --line-strong: rgba(80, 91, 68, 0.30);
  --olive: #72884f;
  --olive-deep: #475d32;
  --olive-soft: #e3ebd5;
  --coral: #df8269;
  --coral-soft: #f7e2da;
  --violet: #8a79b8;
  --violet-soft: #ece7f6;
  --blue: #6898a7;
  --blue-soft: #e1eef0;
  --shadow: 0 28px 80px rgba(48, 52, 39, 0.13);
  --shadow-soft: 0 14px 36px rgba(48, 52, 39, 0.08);
}
body {
  background:
    radial-gradient(circle at 88% 8%, rgba(223, 130, 105, 0.16), transparent 25rem),
    radial-gradient(circle at 12% 82%, rgba(114, 136, 79, 0.17), transparent 28rem),
    radial-gradient(circle at 70% 72%, rgba(138, 121, 184, 0.09), transparent 24rem),
    linear-gradient(140deg, #f4efe7 0%, #ebe5da 52%, #f1ece3 100%);
  background-attachment: fixed;
}
body::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(71, 93, 50, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(71, 93, 50, 0.09) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.35), transparent 76%);
}
.sidebar {
  border-right-color: rgba(255,255,255,0.58);
  background: linear-gradient(180deg, rgba(250,247,240,0.88), rgba(236,231,220,0.82));
  box-shadow: 18px 0 60px rgba(43,48,34,0.06);
}
.brand-mark {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.24);
  background: radial-gradient(circle at 35% 28%, #8fa66c 0 11%, #334028 43%, #1f251d 100%);
  box-shadow: inset 0 1px rgba(255,255,255,0.22), 0 9px 24px rgba(53,65,39,0.2);
}
.brand-mark::after { content: ""; position: absolute; width: 30px; height: 12px; border: 1px solid rgba(219,232,188,0.55); border-radius: 50%; transform: rotate(-24deg); }
.nav-item, .button, .topic-card, .action-chip, .status-button { transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease; }
.nav-item.is-active { border: 1px solid rgba(255,255,255,0.74); background: linear-gradient(135deg, rgba(255,252,246,0.96), rgba(227,235,213,0.72)); box-shadow: 0 14px 34px rgba(59,70,43,0.11); }
.nav-item.is-active > span { box-shadow: inset 0 0 0 1px rgba(255,255,255,0.56), 0 7px 18px rgba(71,93,50,0.12); }
.topbar { border-bottom-color: rgba(255,255,255,0.62); background: linear-gradient(90deg, rgba(244,239,231,0.82), rgba(238,232,222,0.68)); box-shadow: 0 8px 30px rgba(50,55,40,0.05); }
.sync-status { border-color: rgba(255,255,255,0.72); background: rgba(255,252,246,0.66); box-shadow: inset 0 1px rgba(255,255,255,0.7); }
.button-primary { background: linear-gradient(135deg, #81985b, #5e743e); box-shadow: inset 0 1px rgba(255,255,255,0.22), 0 12px 28px rgba(71,93,50,0.22); }
.panel, .success-card, .topic-card, .meeting-sheet label, .month-overview {
  border-color: rgba(255,255,255,0.72);
  background: linear-gradient(145deg, rgba(255,253,248,0.82), rgba(247,242,233,0.66));
  box-shadow: inset 0 1px rgba(255,255,255,0.82), var(--shadow-soft);
}
.brand-intro {
  position: relative;
  overflow: hidden;
  min-height: 190px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 87% 25%, rgba(201,220,160,0.22), transparent 17rem),
    linear-gradient(125deg, #232a21 0%, #34402c 55%, #596747 100%);
  padding: clamp(24px, 4vw, 42px);
  color: #fffaf1;
  box-shadow: var(--shadow);
}
.brand-intro::before, .brand-intro::after { content: ""; position: absolute; border: 1px solid rgba(224,235,197,0.2); border-radius: 50%; pointer-events: none; }
.brand-intro::before { right: -54px; width: 230px; height: 230px; box-shadow: inset 0 0 0 38px rgba(255,255,255,0.025), inset 0 0 0 76px rgba(255,255,255,0.025); }
.brand-intro::after { right: 98px; bottom: 26px; width: 18px; height: 18px; background: #a5bc78; box-shadow: 0 0 0 7px rgba(165,188,120,0.12), 0 0 28px rgba(201,220,160,0.5); }
.brand-intro > * { position: relative; z-index: 1; }
.brand-intro .eyebrow { color: #c9dba4; }
.brand-intro h2 { color: white; }
.brand-intro p:last-child { color: rgba(255,250,241,0.72); }
.brand-intro .document-badge { border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.08); color: #f2eddf; backdrop-filter: blur(12px); }
.story-panel { overflow: hidden; background: linear-gradient(145deg, rgba(255,253,248,0.88), rgba(239,235,225,0.72)); }
.story-grid { display: grid; margin-top: 24px; grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr); gap: clamp(24px, 4vw, 54px); align-items: center; }
.story-chart { position: relative; display: grid; width: min(320px, 100%); aspect-ratio: 1; margin: 0 auto; border-radius: 50%; background: var(--story-gradient); place-items: center; box-shadow: 0 24px 60px rgba(57,61,46,0.18), inset 0 0 0 1px rgba(255,255,255,0.7); }
.story-chart::before { content: ""; position: absolute; width: 61%; height: 61%; border: 1px solid rgba(255,255,255,0.78); border-radius: 50%; background: radial-gradient(circle at 35% 28%, rgba(255,255,255,0.92), rgba(239,234,224,0.92)); box-shadow: inset 0 0 32px rgba(71,93,50,0.08), 0 8px 26px rgba(54,60,43,0.12); }
.story-chart-orbit { position: absolute; z-index: 2; width: 112%; height: 42%; border: 1px solid rgba(71,93,50,0.28); border-radius: 50%; transform: rotate(-17deg); }
.story-chart-orbit::after { content: ""; position: absolute; top: 4%; right: 13%; width: 10px; height: 10px; border-radius: 50%; background: #fffaf1; box-shadow: 0 0 0 5px rgba(114,136,79,0.18), 0 0 20px rgba(71,93,50,0.35); }
.story-chart-core { position: relative; z-index: 3; display: grid; text-align: center; }
.story-chart-core strong { font-family: Georgia, "Noto Serif TC", serif; font-size: 2.2rem; font-weight: 500; line-height: 1; }
.story-chart-core span { margin-top: 7px; color: var(--muted); font-size: 0.68rem; font-weight: 900; letter-spacing: 0.1em; }
.story-legend { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.story-card { display: grid; min-height: 138px; border: 1px solid rgba(255,255,255,0.78); border-radius: 20px; background: rgba(255,252,246,0.74); padding: 15px; grid-template-columns: 5px minmax(0,1fr); gap: 13px; box-shadow: inset 0 1px rgba(255,255,255,0.82), 0 10px 24px rgba(56,61,46,0.06); }
.story-card .story-swatch { display: block; width: 5px; height: 100%; border-radius: 99px; background: var(--story); box-shadow: 0 0 16px color-mix(in srgb, var(--story) 46%, transparent); }
.story-card header { display: flex; align-items: center; justify-content: space-between; }
.story-card header span { width: auto; height: auto; border-radius: 999px; background: var(--story-soft); padding: 4px 7px; }
.story-card h3 { margin: 12px 0 5px; }
.story-card p { line-height: 1.55; }
.positioning-card { background: radial-gradient(circle at 85% 15%, rgba(114,136,79,0.30), transparent 24rem), linear-gradient(125deg, #20251f, #384332); box-shadow: inset 0 1px rgba(255,255,255,0.12), var(--shadow); }
.positioning-card::after { content: ""; position: absolute; right: -70px; bottom: -90px; width: 260px; height: 260px; border: 1px solid rgba(211,225,180,0.16); border-radius: 50%; box-shadow: inset 0 0 0 44px rgba(255,255,255,0.02), inset 0 0 0 88px rgba(255,255,255,0.02); }

@media (max-width: 860px) {
  body::before { background-size: 34px 34px; }
  .topbar { background: rgba(241,236,227,0.78); }
  .mobile-nav { border-color: rgba(255,255,255,0.8); background: linear-gradient(135deg, rgba(255,252,246,0.92), rgba(238,234,224,0.88)); box-shadow: inset 0 1px rgba(255,255,255,0.88), 0 20px 48px rgba(43,48,34,0.18); }
  .mobile-nav button.is-active { background: linear-gradient(145deg, #eaf0df, #dce7ca); box-shadow: inset 0 1px rgba(255,255,255,0.72), 0 7px 18px rgba(71,93,50,0.12); }
  .brand-intro { min-height: 0; border-radius: 26px; padding: 24px 20px; }
  .brand-intro::before { right: -92px; width: 210px; height: 210px; }
  .brand-intro::after { right: 54px; bottom: 24px; }
  .brand-intro .document-badge { display: none; }
  .story-grid { grid-template-columns: 1fr; gap: 24px; }
  .story-chart { width: min(260px, 78vw); }
}

@media (max-width: 620px) {
  .brand-intro h2 { font-size: clamp(1.72rem, 8.5vw, 2.25rem); }
  .brand-intro p:last-child { max-width: 90%; font-size: 0.75rem; line-height: 1.65; }
  .story-panel { padding: 20px 18px; }
  .story-legend { grid-template-columns: 1fr; }
  .story-card { min-height: 0; }
}

@media (max-width: 620px) {
  .brand-intro { padding: 18px; }
  .brand-intro h2 { font-size: clamp(1.42rem, 6.8vw, 1.72rem); line-height: 1.34; }
  .brand-intro p:last-child { display: none; }
  .brand-intro::after { right: 38px; bottom: 20px; }
  .story-chart { width: min(230px, 68vw); }
}
