:root {
  --ink: #203b3c;
  --muted: #607575;
  --cream: #fffaf0;
  --paper: #fffefa;
  --mint: #cdeee4;
  --mint-dark: #2e7c70;
  --yellow: #ffd968;
  --orange: #ff9b72;
  --pink: #ffc9cf;
  --blue: #b9def7;
  --lavender: #d9d0fb;
  --line: rgba(32, 59, 60, .12);
  --shadow: 0 22px 55px rgba(56, 91, 84, .13);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --font: "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Noto Sans CJK SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-display: "LXGW WenKai", "Kaiti SC", "STKaiti", "PingFang SC", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font);
  background:
    radial-gradient(circle at 8% 4%, rgba(255, 217, 104, .34), transparent 25rem),
    radial-gradient(circle at 94% 20%, rgba(185, 222, 247, .36), transparent 28rem),
    var(--cream);
  min-height: 100vh;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .24;
  background-image: radial-gradient(rgba(32,59,60,.22) .65px, transparent .65px);
  background-size: 18px 18px;
  z-index: -1;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }

.shell { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }

.topbar {
  position: sticky;
  top: 14px;
  z-index: 20;
  width: min(1160px, calc(100% - 28px));
  margin: 14px auto 0;
  padding: 10px 12px 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 999px;
  background: rgba(255, 254, 250, .86);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 32px rgba(56,91,84,.1);
}

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.02em; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); }
.brand-mark svg { width: 25px; }
.nav { display: flex; align-items: center; gap: 4px; min-width: 0; overflow-x: auto; }
.nav > * { flex-shrink: 0; white-space: nowrap; }
.topbar .brand { flex-shrink: 0; }
.nav a { padding: 10px 14px; border-radius: 999px; font-size: 14px; font-weight: 650; color: var(--muted); }
.nav a:hover, .nav a.active { color: var(--ink); background: var(--mint); }
.nav .nav-cta { background: var(--ink); color: white; }
.nav .nav-cta:hover { background: var(--mint-dark); color: white; }

.hero { min-height: 760px; display: grid; grid-template-columns: 1.08fr .92fr; gap: 32px; align-items: center; padding: 84px 0 54px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: 13px; font-weight: 760; color: var(--mint-dark); box-shadow: 0 8px 24px rgba(56,91,84,.08); }
.eyebrow::before { content: "✦"; color: #ef8b59; }
.hero h1 { margin: 22px 0 18px; font-size: clamp(48px, 7vw, 84px); line-height: 1.04; letter-spacing: -.07em; }
.hero h1 span { position: relative; display: inline-block; color: var(--mint-dark); }
.hero h1 span::after { content: ""; position: absolute; left: -4px; right: -8px; bottom: 5px; height: 13px; border-radius: 50%; background: var(--yellow); opacity: .72; z-index: -1; transform: rotate(-2deg); }
.hero-copy { max-width: 590px; margin: 0; color: var(--muted); font-size: 18px; line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { border: 0; border-radius: 999px; padding: 14px 20px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-weight: 780; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-3px) rotate(-.4deg); }
.button.primary { background: var(--ink); color: white; box-shadow: 0 13px 24px rgba(32,59,60,.2); }
.button.primary:hover { background: var(--mint-dark); }
.button.secondary { background: var(--paper); border: 1px solid var(--line); }
.button.small { padding: 10px 14px; font-size: 13px; }

.hero-art { position: relative; min-height: 500px; display: grid; place-items: center; }
.art-card { position: relative; width: min(100%, 490px); aspect-ratio: 1 / 1; border-radius: 42% 58% 52% 48% / 48% 38% 62% 52%; background: var(--mint); box-shadow: var(--shadow); overflow: hidden; transform: rotate(2deg); }
.art-card svg { width: 100%; height: 100%; display: block; }
.float-tag { position: absolute; padding: 10px 14px 10px 28px; border-radius: 16px; background: var(--paper); box-shadow: 0 14px 30px rgba(56,91,84,.14); font-size: 13px; font-weight: 760; animation: bob 4s ease-in-out infinite; }
.float-tag::before { content: ""; position: absolute; left: 12px; top: 50%; width: 7px; height: 7px; border: 2px solid var(--orange); border-radius: 50%; transform: translateY(-50%); }
.float-tag.one { top: 8%; left: -1%; transform: rotate(-5deg); }
.float-tag.two { right: -2%; bottom: 14%; animation-delay: -1.7s; transform: rotate(5deg); }
.float-tag.three { left: 2%; bottom: 2%; animation-delay: -2.8s; transform: rotate(2deg); }
.float-tag.four { top: -1%; right: 4%; animation-delay: -.9s; transform: rotate(3deg); }
.float-tag.five { top: 30%; right: -6%; animation-delay: -2.2s; transform: rotate(-3deg); }

@keyframes bob { 0%,100% { translate: 0 0; } 50% { translate: 0 -8px; } }

.section { padding: 82px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 30px; }
.section-kicker { margin: 0 0 8px; color: #df764c; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.section h2 { margin: 0; font-size: clamp(32px, 4.4vw, 54px); letter-spacing: -.055em; line-height: 1.12; }
.section-lead { max-width: 520px; color: var(--muted); line-height: 1.8; }

.mission-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.mission-card { min-height: 274px; padding: 21px; border: 1px solid rgba(255,255,255,.85); border-radius: var(--radius-lg); background: var(--paper); box-shadow: 0 14px 36px rgba(56,91,84,.08); transition: transform .25s ease; }
.mission-card:hover { transform: translateY(-6px) rotate(-.4deg); }
.mission-card:nth-child(2) { background: #fff6d9; }
.mission-card:nth-child(3) { background: #eaf5ff; }
.mission-card:nth-child(4) { background: #fff0ed; }
.mission-card:nth-child(5) { background: #f3efff; }
.mission-icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 18px; background: var(--mint); transform: rotate(-4deg); }
.mission-card:nth-child(2) .mission-icon { background: var(--yellow); }
.mission-card:nth-child(3) .mission-icon { background: var(--blue); }
.mission-card:nth-child(4) .mission-icon { background: var(--pink); }
.mission-card:nth-child(5) .mission-icon { background: var(--lavender); }
.mission-icon svg { width: 36px; height: 36px; fill: none; stroke: #00a889; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.mission-card:nth-child(2) .mission-icon svg { stroke: #f09a00; }
.mission-card:nth-child(3) .mission-icon svg { stroke: #2684d9; }
.mission-card:nth-child(4) .mission-icon svg { stroke: #ef5f78; }
.mission-card:nth-child(5) .mission-icon svg { stroke: #7b5ce1; }
.mission-label { display: block; margin-top: 22px; color: var(--mint-dark); font-size: 11px; font-weight: 820; }
.mission-card h3 { margin: 5px 0 8px; font-size: 20px; }
.mission-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }

.home-page { font-family: "LXGW WenKai", var(--font); line-height: 1.65; }
.home-page .brand { letter-spacing: 0; }
.home-page .hero h1,
.home-page .section h2,
.home-page .portal h3,
.home-page .now-strip h3 { font-family: var(--font-display); font-weight: 800; }
.home-page .hero h1 { font-size: clamp(50px, 6.7vw, 82px); line-height: 1.12; letter-spacing: -.02em; }
.home-page .hero-copy { font-size: 18px; line-height: 2; letter-spacing: .015em; }
.home-page .section h2 { letter-spacing: -.015em; line-height: 1.22; }
.home-page .section-lead { font-size: 16px; line-height: 1.9; }
.home-page .mission-label { font-size: 12px; letter-spacing: .01em; }
.home-page .mission-card h3 { margin-top: 7px; font-family: var(--font-display); font-size: 21px; font-weight: 800; letter-spacing: -.02em; }
.home-page .mission-card p { font-size: 15px; line-height: 1.78; }
.home-page .portal h3 { letter-spacing: -.02em; }
.home-page .portal p { font-size: 15px; line-height: 1.8; }

.workspace { padding-top: 95px; }
.portal-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.portal { position: relative; min-height: 230px; padding: 26px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid rgba(255,255,255,.8); background: var(--paper); box-shadow: 0 14px 36px rgba(56,91,84,.08); transition: transform .22s ease, box-shadow .22s ease; }
.portal:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.portal.primary { grid-column: span 7; background: var(--mint); }
.portal:nth-child(2) { grid-column: span 5; background: #fff1dc; }
.portal:nth-child(3), .portal:nth-child(4), .portal:nth-child(5) { grid-column: span 4; }
.portal-number { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; background: rgba(255,255,255,.76); font-size: 13px; font-weight: 850; }
.portal h3 { margin: 34px 0 8px; font-size: 24px; letter-spacing: -.03em; }
.portal p { max-width: 420px; margin: 0; color: var(--muted); line-height: 1.7; }
.portal-status { position: absolute; right: 20px; top: 20px; padding: 7px 10px; border-radius: 999px; background: rgba(255,255,255,.72); font-size: 12px; font-weight: 780; }
.portal-arrow { position: absolute; right: 24px; bottom: 22px; font-size: 26px; transition: transform .2s ease; }
.portal:hover .portal-arrow { transform: translate(4px, -3px); }
.portal.soon { cursor: pointer; }
.portal.soon::after { content: ""; position: absolute; inset: auto -40px -80px auto; width: 160px; height: 160px; border-radius: 50%; background: var(--lavender); opacity: .22; }

.now-strip { padding: 22px; border-radius: var(--radius-lg); background: var(--ink); color: white; overflow: hidden; }
.now-strip-head { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-bottom: 16px; }
.now-strip-head h3 { margin: 0; font-size: 20px; }
.now-strip .button.secondary { color: var(--ink); }
.now-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.now-item { padding: 16px; border-radius: 18px; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.12); }
.now-item time { display: block; color: var(--yellow); font-weight: 800; font-size: 13px; margin-bottom: 8px; }
.now-item strong { display: block; line-height: 1.55; font-size: 15px; }

.footer { padding: 44px 0 54px; color: var(--muted); }
.footer-inner { border-top: 1px solid var(--line); padding-top: 26px; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 13px; }

.toast { position: fixed; left: 50%; bottom: 28px; z-index: 40; translate: -50% 20px; padding: 12px 18px; border-radius: 999px; background: var(--ink); color: white; box-shadow: var(--shadow); font-size: 14px; opacity: 0; pointer-events: none; transition: .25s ease; }
.toast.show { opacity: 1; translate: -50% 0; }

/* Plan */
.plan-page { font-family: "LXGW WenKai", var(--font); line-height: 1.65; }
.plan-page .brand { letter-spacing: 0; }
.plan-page .plan-hero h1,
.plan-page .calendar-top h2,
.plan-page .card-title,
.plan-page .aside-card h3 { font-family: var(--font-display); font-weight: 700; }
.plan-page .plan-hero h1 { line-height: 1.14; letter-spacing: -.015em; }
.plan-page .plan-subtitle { line-height: 1.9; letter-spacing: .01em; }
.plan-page .card-title { letter-spacing: -.01em; }
.plan-page .focus-copy,
.plan-page .aside-card p { letter-spacing: .006em; }
.plan-hero { padding: 82px 0 32px; }
.plan-heading { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 30px; }
.plan-hero h1 { max-width: 790px; margin: 18px 0 12px; font-size: clamp(42px, 6vw, 70px); line-height: 1.08; letter-spacing: -.065em; }
.plan-subtitle { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.8; }
.plan-stamp { width: 126px; aspect-ratio: 1; display: grid; place-items: center; text-align: center; border: 2px dashed var(--mint-dark); border-radius: 50%; color: var(--mint-dark); background: rgba(205,238,228,.46); font-weight: 850; font-size: 13px; line-height: 1.45; transform: rotate(6deg); }

.plan-calendar-section { padding: 4px 0 8px; }
.calendar-card { padding: 24px; border: 1px solid rgba(255,255,255,.9); border-radius: 30px; background: var(--paper); box-shadow: 0 18px 48px rgba(56,91,84,.09); font-family: "LXGW WenKai", var(--font); }
.calendar-top { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 18px; }
.calendar-kicker { display: block; margin-bottom: 5px; color: #df764c; font-size: 12px; font-weight: 820; letter-spacing: .1em; }
.calendar-top h2 { margin: 0; font-size: 27px; font-weight: 700; letter-spacing: 0; }
.calendar-controls { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.date-mode-switch { display: inline-flex; gap: 3px; padding: 4px; border-radius: 999px; background: #f1f5f2; }
.date-mode-switch button { border: 0; padding: 8px 11px; border-radius: 999px; background: transparent; color: #7f8d8d; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; transition: background .18s ease, color .18s ease, box-shadow .18s ease; }
.date-mode-switch button:hover { color: var(--ink); }
.date-mode-switch button.active { background: var(--paper); color: var(--mint-dark); box-shadow: 0 4px 12px rgba(56,91,84,.12); }
.add-plan-button { display: inline-flex; align-items: center; gap: 5px; border: 1px solid rgba(239,139,89,.25); padding: 9px 14px; border-radius: 999px; background: #fff0e7; color: #a6502f; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.add-plan-button:hover { transform: translateY(-2px) rotate(-.5deg); box-shadow: 0 9px 20px rgba(239,139,89,.16); }
.add-plan-button span { font-family: var(--font); font-size: 18px; line-height: 0; }
.calendar-window-control { display: flex; align-items: center; gap: 8px; padding: 5px; border-radius: 999px; background: #f1f5f2; }
.calendar-window-buttons { display: inline-flex; gap: 5px; }
.calendar-month-range { padding: 0 8px; color: var(--muted); font-size: 12px; font-weight: 760; white-space: nowrap; }
.calendar-window-button { display: inline-flex; align-items: center; gap: 6px; border: 0; padding: 9px 13px; border-radius: 999px; background: var(--ink); color: white; font: inherit; font-size: 12px; font-weight: 780; white-space: nowrap; cursor: pointer; box-shadow: 0 6px 16px rgba(32,59,60,.15); transition: transform .18s ease, box-shadow .18s ease; }
.calendar-window-button:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(32,59,60,.2); }
.calendar-window-button:disabled { background: #dde5e2; color: #899696; cursor: default; box-shadow: none; transform: none; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 7px; }
.calendar-weekday { padding: 4px 8px 7px; color: #91a1a1; font-size: 12px; font-weight: 800; text-align: right; }
.calendar-day { position: relative; min-height: 128px; padding: 10px; border: 1px solid #edf0ec; border-radius: 16px; background: #fbfcfa; color: var(--ink); text-align: left; }
button.calendar-day { width: 100%; font: inherit; }
.calendar-day.empty-day { border-color: transparent; background: transparent; }
.calendar-day.past-day:not(.has-plan) { opacity: .48; }
.calendar-day.today { box-shadow: inset 0 0 0 2px rgba(239,139,89,.5); }
.calendar-date-row { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.calendar-date { display: block; color: #839394; font-size: 13px; font-weight: 700; }
.calendar-day.has-plan { display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.calendar-day.has-plan:hover { z-index: 1; transform: translateY(-3px); box-shadow: 0 12px 26px rgba(56,91,84,.13); }
.calendar-day.graphic-plan,
.calendar-day.video-plan,
.calendar-day.mixed-plan { box-shadow: inset 0 0 0 1px rgba(56,91,84,.03); }
.calendar-day.unclaimed-plan { border-color: #e5cbc4; background: #f6e9e6; }
.calendar-day.claimed-plan { border-color: #dfd0b2; background: #f3ecdd; }
.calendar-day.published-plan { border-color: #c6dbd2; background: #e8f1ed; }
.calendar-count { color: #879697; font-size: 10px; font-weight: 760; }
.calendar-events { display: grid; gap: 5px; height: 100%; margin-top: 7px; }
.calendar-event { width: 100%; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 3px 6px; align-content: start; padding: 4px 2px; border: 0; border-radius: 8px; background: transparent; color: inherit; text-align: left; cursor: pointer; transition: transform .18s ease; }
.calendar-event:hover { background: transparent; transform: translateY(-1px); }
.calendar-event .calendar-event-title { grid-column: 1 / -1; margin-top: 0; }
.calendar-event .calendar-search { grid-column: 1 / -1; }
.calendar-event-title { display: -webkit-box; margin-top: 8px; overflow: hidden; color: var(--ink); font-size: 14px; font-weight: 700; line-height: 1.4; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.calendar-event-format { width: fit-content; justify-self: start; padding: 3px 7px; border: 1px solid rgba(203,139,34,.18); border-radius: 999px; background: #f8d989; color: #765019; font-size: 10px; font-weight: 800; line-height: 1.2; box-shadow: 0 2px 6px rgba(154,106,34,.08); }
.calendar-event.video-plan .calendar-event-format { border-color: rgba(43,126,108,.16); background: #bfe8dc; color: #236f60; box-shadow: 0 2px 6px rgba(43,126,108,.08); }
.calendar-search { display: grid; gap: 1px; margin-top: auto; padding-top: 8px; border-top: 1px dashed rgba(32,59,60,.13); color: #7b8989; line-height: 1.25; }
.calendar-search span { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.calendar-search strong { color: var(--ink); font-family: var(--font); font-size: 13px; font-weight: 800; letter-spacing: .01em; }
.calendar-owner { min-width: 0; max-width: calc(100% - 38px); display: inline-flex; align-items: center; gap: 4px; margin-left: auto; padding: 2px 6px; border-radius: 999px; background: rgba(255,255,255,.5); color: #7f8d8d; font-size: 9px; font-weight: 800; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.calendar-owner i { width: 6px; height: 6px; border: 1.5px solid currentColor; border-radius: 50%; }
.calendar-owner.claimed { background: rgba(255,255,255,.75); color: var(--mint-dark); }
.calendar-owner.claimed i { border-color: #59a18f; background: #77c2af; }
.calendar-help { margin: 13px 0 0; color: #879697; font-size: 12px; }
.calendar-empty { grid-column: 1 / -1; margin: 0; padding: 28px; color: var(--muted); text-align: center; }
.schedule-card.calendar-target { border-color: #ef8b59; box-shadow: 0 0 0 4px rgba(239,139,89,.16), 0 20px 46px rgba(56,91,84,.13); }
.manual-tag { display: inline-flex; margin-left: 0; padding: 2px 7px; border-radius: 999px; background: #fff0e7; color: #a6502f; font-size: 10px; font-weight: 800; vertical-align: middle; }
.manual-actions { display: flex; justify-content: flex-end; margin-top: 14px; padding-top: 13px; border-top: 1px dashed rgba(32,59,60,.12); }
.delete-manual { border: 0; padding: 7px 11px; border-radius: 999px; background: #fff0e7; color: #a6502f; font: inherit; font-size: 12px; font-weight: 760; cursor: pointer; }
.delete-manual:hover { background: #ffe1d3; }

.claim-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 17px; padding-top: 17px; border-top: 1px dashed rgba(32,59,60,.13); }
.claim-person { min-width: 0; display: flex; align-items: center; gap: 11px; }
.claim-avatar { width: 40px; height: 40px; flex: 0 0 auto; display: grid; place-items: center; border: 1px dashed #d4a950; border-radius: 50% 47% 52% 46%; background: #fff3cf; color: #99642c; font-size: 14px; font-style: normal; font-weight: 850; transform: rotate(-3deg); }
.claim-person.claimed .claim-avatar { border: 1px solid #a8d8cb; background: var(--mint); color: var(--mint-dark); }
.claim-person > span:last-child { min-width: 0; display: grid; gap: 1px; }
.claim-person small { color: #8b9999; font-size: 10px; font-weight: 760; }
.claim-person strong { color: var(--ink); font-size: 14px; }
.claim-person em { overflow: hidden; color: #819090; font-size: 11px; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.claim-button { flex: 0 0 auto; min-width: 88px; border: 0; padding: 10px 15px; border-radius: 999px; background: var(--ink); color: white; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; box-shadow: 0 7px 17px rgba(32,59,60,.15); transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.claim-button:hover { transform: translateY(-1px); box-shadow: 0 9px 20px rgba(32,59,60,.2); }
.claim-button.cancel { background: #fff0e7; color: #a6502f; box-shadow: none; }
.claim-button:disabled { background: #edf1ef; color: #8c9999; cursor: default; box-shadow: none; transform: none; }

.publication-value { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.publication-value > span { min-width: 0; display: grid; gap: 2px; }
.publication-value strong { color: var(--ink); font-size: 14px; }
.publication-value small { color: #819090; font-size: 11px; }
.publication-button { flex: 0 0 auto; border: 1px solid rgba(46,124,112,.2); padding: 8px 12px; border-radius: 999px; background: #eef8f4; color: var(--mint-dark); font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }
.publication-button:hover { background: var(--mint); }

.plan-editor { width: min(680px, calc(100% - 28px)); max-height: min(820px, calc(100vh - 32px)); padding: 0; overflow: auto; border: 0; border-radius: 30px; background: var(--paper); color: var(--ink); box-shadow: 0 30px 90px rgba(32,59,60,.25); font-family: "LXGW WenKai", var(--font); }
.plan-editor::backdrop { background: rgba(26,48,49,.38); backdrop-filter: blur(5px); }
.plan-editor-form { padding: 26px; }
.editor-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.editor-heading h2 { margin: 0; font-family: var(--font-display); font-size: 28px; }
.editor-close { width: 38px; height: 38px; flex: 0 0 auto; border: 0; border-radius: 50%; background: #f1f5f2; color: var(--muted); font: inherit; font-size: 25px; line-height: 1; cursor: pointer; }
.editor-close:hover { background: var(--mint); color: var(--ink); }
.editor-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 15px; }
.entry-type-field { grid-column: 1 / -1; min-width: 0; margin: 0; padding: 0; border: 0; }
.entry-type-field legend { margin-bottom: 7px; color: var(--ink); font-size: 13px; font-weight: 760; }
.entry-type-switch { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.entry-type-switch label { position: relative; cursor: pointer; }
.entry-type-switch input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.entry-type-switch label > span { min-height: 68px; display: grid; align-content: center; gap: 2px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 16px; background: white; transition: border-color .18s ease, background .18s ease, box-shadow .18s ease; }
.entry-type-switch strong { color: var(--ink); font-size: 14px; }
.entry-type-switch small { color: #819090; font-size: 11px; font-weight: 500; }
.entry-type-switch input:checked + span { border-color: rgba(46,124,112,.4); background: #e9f7f2; box-shadow: inset 0 0 0 1px rgba(46,124,112,.12); }
.entry-type-switch input:focus-visible + span { outline: 3px solid rgba(46,124,112,.18); outline-offset: 2px; }
.field { display: grid; gap: 7px; color: var(--ink); font-size: 13px; font-weight: 760; }
.field.full-field { grid-column: 1 / -1; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--line); border-radius: 14px; background: white; color: var(--ink); font: inherit; font-weight: 500; outline: none; }
.field input, .field select { min-height: 46px; padding: 10px 12px; }
.field textarea { min-height: 90px; padding: 12px; resize: vertical; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--mint-dark); box-shadow: 0 0 0 3px rgba(46,124,112,.12); }
.editor-note { margin: 16px 0 0; color: #879697; font-size: 12px; line-height: 1.55; }
.editor-error { min-height: 20px; margin: 7px 0 0; color: #c84d38; font-size: 12px; font-weight: 700; }
.editor-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 8px; }
.button.primary.danger { background: #c96149; box-shadow: 0 8px 20px rgba(201,97,73,.2); }
.publish-editor { width: min(520px, calc(100% - 28px)); }
.publish-dialog-topic { margin: -5px 0 18px; padding: 12px 14px; border: 1px dashed rgba(46,124,112,.22); border-radius: 15px; background: #f1f8f5; color: var(--ink); font-size: 14px; font-weight: 750; line-height: 1.55; }

.claim-dialog { width: min(480px, calc(100% - 28px)); padding: 0; overflow: visible; border: 0; border-radius: 30px 27px 32px 25px; background: var(--paper); color: var(--ink); box-shadow: 0 30px 90px rgba(32,59,60,.25); font-family: "LXGW WenKai", var(--font); }
.claim-dialog::backdrop { background: rgba(26,48,49,.38); backdrop-filter: blur(5px); }
.claim-dialog-card { position: relative; padding: 30px; text-align: center; }
.claim-dialog-art { width: 82px; height: 82px; display: grid; place-items: center; margin: -69px auto 16px; border: 7px solid var(--paper); border-radius: 50% 47% 52% 46%; background: #dff3ec; color: var(--ink); box-shadow: 0 12px 30px rgba(32,59,60,.13); transform: rotate(-2deg); }
.claim-dialog-art svg { width: 72px; height: 72px; }
.claim-dialog h2 { margin: 8px 0 9px; font-family: var(--font-display); font-size: 29px; line-height: 1.25; }
.claim-dialog-copy { margin: 0 auto; color: var(--muted); font-size: 14px; line-height: 1.7; }
.claim-dialog-topic { margin: 15px 0 4px; padding: 12px 14px; border: 1px dashed rgba(46,124,112,.23); border-radius: 15px; background: #f1f8f5; color: var(--ink); font-size: 14px; font-weight: 750; line-height: 1.55; text-align: left; }
.claim-assignee-field { margin: 14px 0 4px; text-align: left; }
.claim-dialog .editor-error { text-align: left; }
.claim-dialog .editor-actions { margin-top: 4px; }

.plan-toolbar { position: sticky; top: 83px; z-index: 15; margin: 24px auto; padding: 12px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-radius: 22px; background: rgba(255,254,250,.9); border: 1px solid var(--line); backdrop-filter: blur(18px); box-shadow: 0 12px 32px rgba(56,91,84,.08); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { border: 0; padding: 9px 13px; border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; font-size: 13px; font-weight: 720; }
.filter.active, .filter:hover { background: var(--mint); color: var(--ink); }
.plan-tools { display: flex; align-items: center; gap: 8px; }
.expand-all { flex: 0 0 auto; border: 1px solid var(--line); padding: 10px 13px; border-radius: 999px; background: var(--paper); color: var(--mint-dark); cursor: pointer; font-size: 13px; font-weight: 760; }
.expand-all:hover, .expand-all[aria-pressed="true"] { border-color: rgba(46,124,112,.24); background: var(--mint); color: var(--ink); }
.search { min-width: 240px; border: 1px solid var(--line); padding: 10px 14px; border-radius: 999px; background: white; outline: none; color: var(--ink); }
.search:focus { border-color: var(--mint-dark); box-shadow: 0 0 0 3px rgba(46,124,112,.12); }

.plan-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; padding: 10px 0 78px; }
.schedule { display: grid; gap: 14px; }
.schedule-card { position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,.9); border-radius: var(--radius-lg); background: var(--paper); box-shadow: 0 12px 32px rgba(56,91,84,.075); transition: transform .22s ease, box-shadow .22s ease; }
.schedule-card:hover { transform: translateY(-3px); box-shadow: 0 18px 42px rgba(56,91,84,.12); }
.schedule-card.unclaimed,
.schedule-card.claimed,
.schedule-card.published { border-color: rgba(32,59,60,.08); background: var(--paper); }
.schedule-card.highlight { box-shadow: 0 0 0 2px rgba(56,91,84,.08), 0 12px 32px rgba(56,91,84,.075); }
.schedule-card.hidden { display: none; }
.card-summary { width: 100%; display: grid; grid-template-columns: 92px minmax(0,1fr) 112px 58px; gap: 18px; align-items: center; padding: 21px; border: 0; background: transparent; color: inherit; text-align: left; cursor: pointer; }
.card-summary:focus-visible { outline: 3px solid rgba(46,124,112,.22); outline-offset: -4px; }
.card-header { display: flex; align-items: center; padding-right: 16px; }
.card-header .card-summary { flex: 1; min-width: 0; width: auto; }
.copy-title { flex: 0 0 36px; width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid #d3e6df; border-radius: 12px; color: #527e70; background: #edf5f0; cursor: pointer; transition: background .18s, transform .18s; }
.copy-title svg { width: 19px; height: 19px; }
.copy-title:hover { background: #dcece3; transform: translateY(-1px); }
.copy-title:focus-visible { outline: 3px solid #a7cebd; outline-offset: 3px; }
.card-title { user-select: text; -webkit-user-select: text; }
.date-box { display: grid; min-height: 54px; place-items: center; padding: 10px 8px; border: 1px solid transparent; border-radius: 17px; text-align: center; font-weight: 850; line-height: 1.3; }
.date-box small { color: inherit; font-size: 9px; font-weight: 760; opacity: .7; }
.date-box b { font-size: 13px; }
.schedule-card.unclaimed .date-box { border-color: #e5cbc4; background: #f6e9e6; color: #8d5a52; }
.schedule-card.claimed .date-box { border-color: #dfd0b2; background: #f3ecdd; color: #74613d; }
.schedule-card.published .date-box { border-color: #c6dbd2; background: #e8f1ed; color: #426f62; }
.card-heading { display: grid; align-content: center; min-width: 0; }
.card-category { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-bottom: 8px; font-size: 12px; font-weight: 800; color: var(--mint-dark); }
.card-status { padding: 3px 7px; border-radius: 999px; font-size: 10px; font-weight: 800; line-height: 1.2; }
.schedule-card.unclaimed .card-status { background: #f6e9e6; color: #8d5a52; }
.schedule-card.claimed .card-status { background: #f3ecdd; color: #74613d; }
.schedule-card.published .card-status { background: #e8f1ed; color: #426f62; }
.card-title { display: block; margin: 0; font-size: clamp(18px, 2.2vw, 23px); line-height: 1.45; letter-spacing: -.025em; }
.card-format { justify-self: stretch; padding: 8px 9px; border-radius: 10px; background: #eef5f6; color: var(--muted); font-size: 12px; font-weight: 720; line-height: 1.35; text-align: center; }
.card-details { margin: 0 21px 0 131px; padding: 17px 0 21px; border-top: 1px dashed var(--line); }
.card-details[hidden] { display: none; }
.schedule-card.open .card-details { animation: reveal .22s ease; }
@keyframes reveal { from { opacity: 0; transform: translateY(-5px); } }
.detail-row { display: grid; grid-template-columns: 126px minmax(0,1fr); gap: 16px; align-items: start; }
.detail-row + .detail-row { margin-top: 15px; padding-top: 15px; border-top: 1px solid rgba(32,59,60,.07); }
.detail-label { margin: 2px 0 0; font-size: 12px; font-weight: 800; color: #df764c; }
.focus-copy { margin: 0; color: var(--muted); line-height: 1.75; }
.metric-caption { margin: 0 0 8px; color: #879697; font-size: 11px; line-height: 1.5; }
.keyword-list { display: flex; flex-wrap: wrap; gap: 8px; }
.keyword { padding: 8px 10px; border-radius: 11px; background: #f4f0ff; font-size: 12px; color: #594e7c; }
.keyword strong { margin-left: 5px; }
.expand-hint { display: inline-flex; align-items: center; justify-content: flex-end; gap: 5px; color: #819798; white-space: nowrap; }
.expand-hint i { font-style: normal; font-size: 18px; line-height: 1; transition: transform .2s ease; }
.expand-hint b { font-size: 11px; font-weight: 700; }
.schedule-card.open .expand-hint i { transform: rotate(45deg); }
.schedule-card.open .expand-hint b { font-size: 0; }
.schedule-card.open .expand-hint b::after { content: "收起"; font-size: 11px; }
.empty { display: none; padding: 40px; border-radius: var(--radius-lg); background: var(--paper); text-align: center; color: var(--muted); }

.plan-aside { position: sticky; top: 164px; display: grid; gap: 14px; }
.aside-card { padding: 21px; border-radius: var(--radius-lg); background: var(--paper); border: 1px solid rgba(255,255,255,.85); box-shadow: 0 12px 32px rgba(56,91,84,.07); }
.aside-card.yellow { background: #fff4d4; }
.aside-card h3 { margin: 0 0 12px; font-size: 18px; }
.aside-card p { margin: 0; color: var(--muted); line-height: 1.7; font-size: 13px; }
.meta-list { display: grid; gap: 10px; margin-top: 16px; }
.meta-row { display: flex; justify-content: space-between; gap: 15px; padding-top: 10px; border-top: 1px dashed rgba(32,59,60,.14); font-size: 13px; }
.meta-row span { color: var(--muted); }
.legend { display: grid; gap: 10px; margin-top: 12px; }
.legend div { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 12px; }
.legend i { width: 12px; height: 12px; border-radius: 4px; background: var(--mint); }
.legend div:nth-child(2) i { background: #fff3cf; }

/* Analysis */
.analysis-page { font-family: "LXGW WenKai", var(--font); line-height: 1.7; }
.analysis-page .brand { letter-spacing: 0; }
.analysis-page h1,
.analysis-page h2,
.analysis-page h3 { font-family: var(--font-display); }
.analysis-hero { padding: 96px 0 62px; }
.analysis-hero h1 { max-width: 900px; margin: 20px 0 18px; font-size: clamp(48px, 7vw, 82px); line-height: 1.08; letter-spacing: -.035em; }
.analysis-hero > p { max-width: 790px; margin: 0; color: var(--muted); font-size: 19px; line-height: 1.9; }
.analysis-source { display: inline-flex; margin-top: 25px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,254,250,.7); color: #7c8e8e; font-size: 12px; }
.analysis-section { padding: 54px 0; }
.analysis-head { display: grid; grid-template-columns: minmax(0,1fr) minmax(300px, 500px); gap: 36px; align-items: end; margin-bottom: 25px; }
.analysis-head h2 { margin: 0; font-size: clamp(31px, 4vw, 48px); line-height: 1.18; letter-spacing: -.025em; }
.analysis-head > p { margin: 0; color: var(--muted); line-height: 1.85; }
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.stat-card { min-height: 190px; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; border: 1px solid rgba(255,255,255,.82); border-radius: var(--radius-lg); box-shadow: 0 13px 34px rgba(56,91,84,.08); }
.stat-card.mint { background: var(--mint); }
.stat-card.yellow { background: #fff0bc; }
.stat-card.blue { background: #deeffc; }
.stat-card.pink { background: #ffe2e5; }
.stat-card strong { font-family: var(--font); font-size: clamp(34px, 4vw, 50px); line-height: 1; letter-spacing: -.045em; }
.stat-card span { margin-top: 13px; font-weight: 800; }
.stat-card small { margin-top: 4px; color: var(--muted); font-size: 12px; }
.evidence-panel { display: grid; grid-template-columns: minmax(0,1fr) 292px; gap: 17px; align-items: stretch; }
.evidence-table { overflow: visible; border: 1px solid rgba(255,255,255,.9); border-radius: var(--radius-lg); background: var(--paper); box-shadow: 0 14px 36px rgba(56,91,84,.08); }
.evidence-row { min-width: 660px; display: grid; grid-template-columns: 1.35fr .55fr .62fr .8fr 1.45fr; gap: 13px; align-items: center; padding: 17px 20px; border-top: 1px solid rgba(32,59,60,.08); font-size: 14px; }
.evidence-row:first-child { border-top: 0; }
.evidence-header { color: #839394; font-size: 11px; font-weight: 800; letter-spacing: .03em; }
.evidence-row.strongest { background: rgba(205,238,228,.34); }
.evidence-row span:nth-child(3), .evidence-row span:nth-child(4) { font-family: var(--font); font-weight: 750; }
.sample-cell { position: relative; width: max-content; z-index: 1; }
.sample-cell:hover, .sample-cell:focus-within { z-index: 30; }
.sample-trigger { min-width: 58px; display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 6px 9px; border: 1px solid rgba(46,124,112,.16); border-radius: 999px; background: #eef8f4; color: var(--mint-dark); font: inherit; font-size: 13px; font-weight: 850; cursor: pointer; }
.sample-trigger i { width: 7px; height: 7px; flex: 0 0 auto; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; font-size: 0; line-height: 0; transform: translateY(-2px) rotate(45deg); transition: transform .18s ease; }
.sample-cell:hover .sample-trigger, .sample-cell:focus-within .sample-trigger { border-color: rgba(46,124,112,.32); background: var(--mint); }
.sample-cell:hover .sample-trigger i, .sample-cell:focus-within .sample-trigger i { transform: translateY(2px) rotate(225deg); }
.sample-trigger:focus-visible { outline: 3px solid rgba(46,124,112,.18); outline-offset: 2px; }
.sample-popover { position: absolute; left: 50%; top: calc(100% + 10px); width: min(390px, calc(100vw - 36px)); padding: 13px; border: 1px solid rgba(32,59,60,.1); border-radius: 18px; background: rgba(255,254,250,.98); box-shadow: 0 20px 54px rgba(32,59,60,.2); opacity: 0; visibility: hidden; pointer-events: none; transform: translate(-50%, 5px); transition: opacity .16s ease, visibility .16s ease, transform .16s ease; }
.sample-popover::before { content: ""; position: absolute; left: 0; right: 0; top: -11px; height: 11px; }
.sample-popover.sample-popover-up { top: auto; bottom: calc(100% + 10px); transform: translate(-50%, -5px); }
.sample-popover.sample-popover-up::before { top: auto; bottom: -11px; }
.sample-cell:hover .sample-popover, .sample-cell:focus-within .sample-popover { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
.sample-popover-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 2px 4px 10px; }
.sample-popover-head strong { font-family: var(--font-display); font-size: 15px; }
.sample-popover-head span { color: #8a9999; font-size: 10px; white-space: nowrap; }
.sample-links { display: grid; gap: 4px; }
.sample-links a { display: grid; grid-template-columns: 25px minmax(0,1fr) 16px; gap: 8px; align-items: center; padding: 9px 8px; border-radius: 11px; color: var(--ink); text-decoration: none; line-height: 1.45; transition: background .14s ease, color .14s ease; }
.sample-links a:hover, .sample-links a:focus-visible { background: #e8f5f0; color: var(--mint-dark); outline: none; }
.sample-links b { color: #e07d56; font-family: var(--font); font-size: 10px; }
.sample-links span { font-size: 12px; font-weight: 650; }
.sample-links i { color: #8ba09d; font-style: normal; font-size: 11px; }
.evidence-note { display: flex; flex-direction: column; padding: 23px; border-radius: var(--radius-lg); background: #fff0bc; box-shadow: 0 14px 36px rgba(56,91,84,.08); }
.evidence-note > span { color: #a66a29; font-size: 12px; font-weight: 800; }
.evidence-note > strong { margin-top: 28px; font-size: 22px; }
.evidence-note p { margin: 12px 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.evidence-note em { margin-top: auto; padding-top: 15px; border-top: 1px dashed rgba(32,59,60,.15); color: var(--ink); font-size: 13px; font-style: normal; font-weight: 800; }
.product-grid { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 14px; }
.product-card { min-height: 240px; grid-column: span 2; display: flex; flex-direction: column; padding: 23px; border: 1px solid rgba(255,255,255,.86); border-radius: var(--radius-lg); background: var(--paper); box-shadow: 0 14px 34px rgba(56,91,84,.075); }
.product-card:nth-child(n+4) { grid-column: span 3; }
.product-card.route { background: #dff4ed; }
.product-card.day { background: #e8f4fd; }
.product-card.ticket { background: #fff2c8; }
.product-card.compare { background: #ffebe7; }
.product-card.transport { background: #dff1f5; }
.product-card.family { background: #ffe8d7; }
.product-card.world { background: #eee9ff; }
.product-card > span { color: var(--mint-dark); font-size: 12px; font-weight: 800; }
.product-card h3 { margin: 28px 0 9px; font-size: 25px; }
.product-card p { margin: 0; color: var(--muted); }
.product-card small { margin-top: auto; padding-top: 19px; color: #657979; font-size: 12px; font-weight: 750; }
.content-format-note, .video-shared-note { display: grid; grid-template-columns: 145px minmax(0,1fr); gap: 20px; align-items: start; margin-top: 16px; padding: 19px 23px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,254,250,.78); color: var(--muted); font-size: 14px; line-height: 1.85; }
.content-format-note strong, .video-shared-note strong { color: var(--ink); font-size: 16px; }
.video-style-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.video-style-card { display: flex; flex-direction: column; min-width: 0; padding: 29px; border: 1px solid rgba(255,255,255,.9); border-radius: var(--radius-lg); box-shadow: 0 16px 38px rgba(56,91,84,.08); }
.video-style-card.handdrawn { background: linear-gradient(145deg,#e7f5ee,#f8fbf4 74%); }
.video-style-card.aerial { background: linear-gradient(145deg,#e8f1fa,#f8f8fb 74%); }
.video-style-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--mint-dark); font-family: var(--font); font-size: 11px; font-weight: 850; letter-spacing: .07em; }
.video-style-mark { display: grid; width: 35px; height: 35px; flex: 0 0 35px; place-items: center; border-radius: 11px; background: rgba(255,255,255,.78); font-size: 23px; font-weight: 400; }
.video-style-card h3 { margin: 12px 0 8px; font-size: 32px; line-height: 1.2; }
.video-style-lead { margin: 0; max-width: 500px; color: var(--ink); font-size: 16px; font-weight: 700; line-height: 1.7; }
.video-style-card ul { display: grid; gap: 9px; margin: 20px 0 24px; padding-left: 20px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.video-style-card li::marker { color: var(--mint-dark); }
.video-style-prompt { display: grid; gap: 4px; margin-top: auto; padding: 13px 16px; border-radius: 14px; background: rgba(255,255,255,.75); font-size: 13px; line-height: 1.65; }
.video-style-prompt b { color: var(--mint-dark); }
.video-style-prompt span { color: var(--ink); }
.video-shared-note { margin-top: 16px; border-color: rgba(255,217,104,.5); background: #fff4d1; }
.case-card { display: grid; grid-template-columns: 280px minmax(0,1fr); overflow: hidden; border-radius: 32px; background: var(--ink); color: white; box-shadow: var(--shadow); }
.case-number { display: flex; flex-direction: column; justify-content: center; padding: 34px; background: var(--yellow); color: var(--ink); }
.case-number span { font-size: 13px; font-weight: 800; }
.case-number strong { margin: 15px 0 4px; font-family: var(--font); font-size: 64px; line-height: 1; letter-spacing: -.06em; }
.case-number small { color: #725f2d; }
.case-copy { padding: 36px; }
.case-copy .section-kicker { color: var(--yellow); }
.case-copy h2 { margin: 0 0 22px; font-size: clamp(30px, 4vw, 46px); line-height: 1.2; }
.reason-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 11px; }
.reason-grid p { margin: 0; padding: 16px; border: 1px solid rgba(255,255,255,.12); border-radius: 16px; background: rgba(255,255,255,.07); color: #dae6e4; font-size: 14px; }
.reason-grid b { display: block; margin-bottom: 4px; color: white; }
.case-warning { margin-top: 14px; padding: 15px 17px; border-radius: 15px; background: rgba(255,217,104,.13); color: #eee7ce; font-size: 13px; }
.case-warning strong { color: var(--yellow); }
.benchmark-grid { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: 14px; }
.benchmark-grid article { min-height: 206px; grid-column: span 4; padding: 22px; border: 1px solid rgba(255,255,255,.85); border-radius: var(--radius-lg); background: var(--paper); box-shadow: 0 13px 34px rgba(56,91,84,.07); }
.benchmark-grid article:nth-child(4), .benchmark-grid article:nth-child(5) { grid-column: span 6; }
.benchmark-grid i { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 12px; background: var(--mint); color: var(--mint-dark); font-family: var(--font); font-style: normal; font-weight: 900; }
.benchmark-grid .dont i { background: #ffe1dc; color: #b95043; }
.benchmark-grid h3 { margin: 27px 0 8px; font-size: 21px; }
.benchmark-grid p { margin: 0; color: var(--muted); font-size: 14px; }
.decision-card { display: grid; grid-template-columns: .8fr 1.2fr; gap: 35px; padding: 35px; border: 1px solid rgba(255,255,255,.85); border-radius: 32px; background: var(--paper); box-shadow: 0 15px 42px rgba(56,91,84,.085); }
.decision-copy h2 { margin: 0 0 14px; font-size: clamp(31px, 4vw, 46px); line-height: 1.22; }
.decision-copy > p { margin: 0; color: var(--muted); }
.decision-steps { margin: 0; padding: 0; list-style: none; }
.decision-steps li { display: grid; grid-template-columns: 42px minmax(0,1fr); gap: 14px; padding: 15px 0; border-top: 1px dashed var(--line); }
.decision-steps li:first-child { padding-top: 0; border-top: 0; }
.decision-steps b { font-family: var(--font); color: #df764c; }
.decision-steps strong { display: block; margin-bottom: 3px; }
.decision-steps span { color: var(--muted); font-size: 14px; }
.north-star { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 31px; border-radius: 30px; background: var(--mint); }
.north-star span { color: var(--mint-dark); font-size: 12px; font-weight: 850; }
.north-star h2 { margin: 7px 0; font-family: var(--font); font-size: clamp(22px, 3vw, 33px); letter-spacing: -.035em; }
.north-star p { max-width: 760px; margin: 0; color: var(--muted); }
.north-star .button { flex: 0 0 auto; }

/* Account analysis */
.account-hero { padding-bottom: 34px; }
.account-hero h1 { max-width: 980px; }
.account-numbers { padding-top: 24px; }
.compact-head { grid-template-columns: 1fr; margin-bottom: 22px; }
.account-conclusions { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 15px; }
.account-conclusion { min-height: 315px; display: flex; flex-direction: column; padding: 25px; border: 1px solid rgba(255,255,255,.86); border-radius: var(--radius-lg); box-shadow: 0 14px 36px rgba(56,91,84,.08); }
.account-conclusion.supply { background: #fff0bc; }
.account-conclusion.engine { background: #dff4ed; }
.account-conclusion.stability { background: #eee9ff; }
.account-conclusion > span { color: var(--mint-dark); font-size: 12px; font-weight: 850; }
.account-conclusion h3 { margin: 26px 0 10px; font-size: 25px; line-height: 1.3; }
.account-conclusion p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.account-conclusion > strong { margin-top: auto; padding-top: 18px; font-size: 14px; }
.source-bars { display: grid; gap: 8px; margin: 4px 0 14px; }
.source-bars div { display: grid; grid-template-columns: 76px minmax(0,1fr) 58px; gap: 8px; align-items: center; font-size: 12px; }
.source-bars b { font-weight: 750; }
.source-bars i { position: relative; height: 8px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.72); }
.source-bars i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--value); border-radius: inherit; background: var(--mint-dark); }
.source-bars em { font-family: var(--font); font-style: normal; font-weight: 800; text-align: right; }
.account-detail-grid { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(260px,.5fr); gap: 15px; }
.account-funnel, .audience-note { padding: 28px; border: 1px solid rgba(255,255,255,.86); border-radius: 30px; box-shadow: 0 14px 36px rgba(56,91,84,.08); }
.account-funnel { background: var(--paper); }
.account-funnel h2 { margin: 6px 0 24px; font-size: clamp(29px, 4vw, 43px); line-height: 1.2; }
.funnel-steps { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; gap: 10px; align-items: center; }
.funnel-steps div { min-height: 112px; display: flex; flex-direction: column; justify-content: center; padding: 14px; border-radius: 18px; background: #f1f7f4; }
.funnel-steps div:nth-of-type(2) { background: #eef6fc; }
.funnel-steps div:nth-of-type(3) { background: #fff4d4; }
.funnel-steps div:nth-of-type(4) { background: #ffe8e8; }
.funnel-steps strong { font-family: var(--font); font-size: 25px; line-height: 1; }
.funnel-steps span { margin-top: 7px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.funnel-steps > i { color: #92a4a2; font-style: normal; }
.account-funnel > p { margin: 20px 0 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.audience-note { display: flex; flex-direction: column; background: #ffe3e7; }
.audience-note > strong { margin-top: 30px; font-family: var(--font); font-size: 44px; line-height: 1; }
.audience-note > p { margin: 14px 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.save-signal { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 18px; border-top: 1px dashed rgba(32,59,60,.16); }
.save-signal b { font-size: 17px; }
.save-signal span { color: var(--muted); font-size: 12px; }
.audience-note small { margin-top: 8px; color: var(--muted); line-height: 1.55; }
.account-actions { display: grid; grid-template-columns: minmax(0,1fr) minmax(360px,1fr) auto; gap: 30px; align-items: center; padding: 31px; border-radius: 30px; background: var(--ink); color: white; box-shadow: var(--shadow); }
.account-actions h2 { margin: 6px 0 0; font-size: clamp(25px, 3vw, 36px); line-height: 1.25; }
.account-actions .section-kicker { color: var(--yellow); }
.account-actions ol { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.account-actions li { display: grid; grid-template-columns: 26px minmax(0,1fr); gap: 9px; align-items: start; color: #d8e5e3; font-size: 13px; line-height: 1.55; }
.account-actions li b { width: 23px; height: 23px; display: grid; place-items: center; border-radius: 8px; background: rgba(255,255,255,.1); color: var(--yellow); font-family: var(--font); }
.account-actions .button { background: var(--yellow); color: var(--ink); box-shadow: none; white-space: nowrap; }
.account-transport { display: grid; grid-template-columns: .8fr 1.2fr; gap: 28px; padding: 31px; border-radius: 30px; background: #dff1f5; box-shadow: 0 14px 36px rgba(56,91,84,.08); }
.account-transport-copy h2 { margin: 8px 0 13px; font-size: clamp(29px, 4vw, 43px); line-height: 1.2; }
.account-transport-copy p { margin: 0; color: var(--muted); line-height: 1.8; }
.transport-signals { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 11px; }
.transport-signals article { min-height: 182px; display: flex; flex-direction: column; padding: 18px; border: 1px solid rgba(255,255,255,.85); border-radius: 20px; background: rgba(255,254,250,.78); }
.transport-signals strong { font-family: var(--font); font-size: clamp(27px, 3vw, 37px); line-height: 1; color: var(--mint-dark); }
.transport-signals span { margin-top: 13px; font-weight: 800; line-height: 1.4; }
.transport-signals small { margin-top: auto; padding-top: 14px; color: var(--muted); font-size: 11px; line-height: 1.5; }

/* Login */
.login-page { min-height: 100vh; overflow-x: hidden; background: radial-gradient(circle at 12% 12%, rgba(205,238,228,.75), transparent 34%), radial-gradient(circle at 88% 85%, rgba(255,217,104,.38), transparent 31%), var(--cream); font-family: "LXGW WenKai", var(--font); }
.login-page::before, .login-page::after { content: ""; position: fixed; z-index: -1; width: 260px; height: 260px; border: 2px dashed rgba(46,124,112,.12); border-radius: 46% 54% 61% 39%; }
.login-page::before { left: -100px; bottom: -90px; transform: rotate(23deg); }
.login-page::after { right: -120px; top: -100px; transform: rotate(-18deg); }
.login-shell { width: min(100% - 36px, 1020px); min-height: 100vh; display: grid; align-content: center; gap: 24px; margin: auto; padding: 38px 0; }
.login-brand { width: fit-content; }
.login-card { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 570px; overflow: hidden; border: 1px solid rgba(255,255,255,.9); border-radius: 38px; background: rgba(255,254,250,.92); box-shadow: 0 28px 80px rgba(56,91,84,.16); }
.login-illustration { position: relative; display: flex; flex-direction: column; overflow: hidden; padding: 38px 38px 0; background: linear-gradient(145deg, #dff7ef, #b9e3d8); }
.login-illustration::after { content: ""; position: absolute; width: 190px; height: 190px; right: -78px; top: -75px; border: 2px dashed rgba(32,59,60,.13); border-radius: 50%; }
.login-kicker { color: var(--mint-dark); font-size: 12px; font-weight: 800; }
.login-illustration h2 { position: relative; z-index: 1; margin: 12px 0 0; font-family: var(--font-display); font-size: clamp(31px, 4vw, 45px); line-height: 1.24; letter-spacing: -.025em; }
.login-bears { position: absolute; inset: auto 8px 0; }
.login-bears svg { width: 100%; display: block; }
.login-tag { position: absolute; z-index: 2; padding: 9px 13px 9px 26px; border-radius: 15px; background: var(--paper); box-shadow: 0 12px 26px rgba(56,91,84,.13); font-size: 12px; font-weight: 800; }
.login-tag::before { content: ""; position: absolute; left: 11px; top: 50%; width: 6px; height: 6px; border: 2px solid var(--orange); border-radius: 50%; transform: translateY(-50%); }
.login-tag-one { left: 24px; top: 39%; transform: rotate(-4deg); }
.login-tag-two { right: 25px; top: 31%; transform: rotate(4deg); }
.login-form-panel { display: flex; flex-direction: column; justify-content: center; padding: 52px; }
.login-form-panel h1 { margin: 18px 0 8px; font-family: var(--font-display); font-size: clamp(38px, 5vw, 56px); line-height: 1.1; }
.login-form-panel > p { margin: 0 0 30px; color: var(--muted); }
.login-form { display: grid; gap: 18px; }
.login-form label { display: grid; gap: 8px; }
.login-form label > span:first-child { font-size: 13px; font-weight: 800; }
.login-form input { width: 100%; min-height: 51px; padding: 0 16px; border: 1px solid rgba(32,59,60,.16); border-radius: 15px; outline: none; background: #fffefa; color: var(--ink); font: inherit; transition: border-color .18s ease, box-shadow .18s ease; }
.login-form input:focus { border-color: var(--mint-dark); box-shadow: 0 0 0 4px rgba(46,124,112,.1); }
.password-field { position: relative; display: block; }
.password-field input { padding-right: 62px; }
.password-field button { position: absolute; right: 9px; top: 50%; padding: 8px; border: 0; background: transparent; color: var(--mint-dark); font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; transform: translateY(-50%); }
.login-error { min-height: 20px; margin: -5px 0 -3px; color: #b84c43; font-size: 13px; }
.login-submit { width: 100%; min-height: 52px; }
.login-submit:disabled { opacity: .58; cursor: wait; transform: none; }
.login-home { align-self: center; margin-top: 22px; color: var(--muted); font-size: 13px; text-decoration: underline; text-decoration-color: rgba(92,112,112,.28); text-underline-offset: 4px; }

/* Note creation */
.create-page { font-family: "LXGW WenKai", var(--font); line-height: 1.7; }
.create-page h1, .create-page h2, .create-page h3 { font-family: var(--font-display); }
.create-hero { padding: 86px 0 42px; }
.create-hero h1 { margin: 19px 0 17px; font-size: clamp(48px, 7vw, 78px); line-height: 1.08; letter-spacing: -.045em; }
.create-hero p { max-width: 780px; margin: 0; color: var(--muted); font-size: 18px; line-height: 1.9; }
.create-workspace { display: grid; grid-template-columns: minmax(0,1.7fr) minmax(280px,.65fr); gap: 20px; align-items: start; padding: 20px 0 72px; }
.create-form, .template-card { border: 1px solid rgba(255,255,255,.88); border-radius: 30px; box-shadow: 0 16px 44px rgba(56,91,84,.09); }
.create-form { padding: 30px; background: var(--paper); }
.create-form-head, .create-results-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.create-form-head h2, .create-results-head h2, .template-card h2 { margin: 3px 0 0; font-size: 31px; line-height: 1.25; }
.privacy-pill { padding: 7px 11px; border-radius: 999px; background: #e7f5ef; color: var(--mint-dark); font-size: 11px; font-weight: 800; white-space: nowrap; }
.create-field-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 14px; margin-top: 24px; }
.create-field { display: grid; gap: 8px; }
.create-field > span { font-size: 13px; font-weight: 820; }
.create-field > span small { color: var(--muted); font-weight: 500; }
.create-field input, .create-field select, .create-field textarea { width: 100%; border: 1px solid var(--line); border-radius: 15px; background: white; color: var(--ink); font: inherit; outline: none; transition: border-color .18s ease, box-shadow .18s ease; }
.create-field input, .create-field select { min-height: 49px; padding: 10px 13px; }
.create-field textarea { min-height: 390px; padding: 16px; resize: vertical; line-height: 1.8; }
.create-field input:focus, .create-field select:focus, .create-field textarea:focus, .draft-card textarea:focus { border-color: var(--mint-dark); box-shadow: 0 0 0 4px rgba(46,124,112,.1); }
.create-script-field { margin-top: 16px; }
.create-script-field > small { justify-self: end; color: var(--muted); font-size: 11px; }
.create-error { min-height: 23px; margin: 9px 0 0; color: #b84c43; font-size: 13px; }
.create-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.create-actions .button:disabled { opacity: .6; cursor: wait; transform: none; }
.create-service-note { margin: 17px 0 0; padding-top: 15px; border-top: 1px dashed var(--line); color: var(--muted); font-size: 12px; line-height: 1.7; }
.template-card { position: sticky; top: 94px; padding: 27px; background: #fff0bc; }
.template-card ul { display: grid; gap: 0; margin: 22px 0 18px; padding: 0; list-style: none; }
.template-card li { display: grid; gap: 2px; padding: 13px 0; border-bottom: 1px dashed rgba(32,59,60,.16); }
.template-card li b { font-size: 14px; }
.template-card li span, .template-card > p { color: var(--muted); font-size: 12px; }
.template-card > p { margin: 0; line-height: 1.75; }
.create-results { padding: 0 0 90px; scroll-margin-top: 95px; }
.create-results-head { margin-bottom: 20px; }
.create-results-head > span { color: var(--muted); font-size: 13px; }
.draft-list { display: grid; gap: 18px; }
.draft-card { overflow: hidden; border: 1px solid rgba(255,255,255,.9); border-radius: 27px; background: var(--paper); box-shadow: 0 14px 38px rgba(56,91,84,.08); }
.draft-card > header, .draft-card > footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 22px; }
.draft-card > header { border-bottom: 1px solid var(--line); background: rgba(205,238,228,.35); }
.draft-card > header span { color: var(--mint-dark); font-size: 11px; font-weight: 850; }
.draft-card h3 { margin: 1px 0 0; font-size: 24px; }
.draft-card > header em { padding: 6px 9px; border-radius: 999px; background: white; color: var(--muted); font-size: 11px; font-style: normal; font-weight: 750; }
.draft-card > header em.over-limit { background: #ffe1dc; color: #a7463c; }
.draft-card textarea { display: block; width: 100%; min-height: 520px; padding: 23px; border: 0; border-bottom: 1px solid var(--line); background: white; color: var(--ink); font: 15px/1.85 var(--font); resize: vertical; outline: none; }
.draft-card > footer { flex-wrap: wrap; }
.draft-warning { color: #8a7042; font-size: 11px; }
.draft-card > footer div { display: flex; gap: 8px; }
.draft-action { border: 1px solid var(--line); padding: 8px 12px; border-radius: 999px; background: white; color: var(--ink); font: inherit; font-size: 12px; font-weight: 780; cursor: pointer; }
.draft-action:hover { border-color: var(--mint-dark); color: var(--mint-dark); }

@media (max-width: 900px) {
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 64px; }
  .hero-art { min-height: 420px; }
  .art-card { max-width: 430px; }
  .mission-grid { grid-template-columns: repeat(2, 1fr); }
  .mission-card { min-height: auto; }
  .portal.primary, .portal:nth-child(2) { grid-column: span 12; }
  .portal:nth-child(3), .portal:nth-child(4), .portal:nth-child(5) { grid-column: span 6; }
  .now-list { grid-template-columns: 1fr; }
  .plan-layout { grid-template-columns: 1fr; }
  .plan-aside { position: static; grid-template-columns: repeat(2,1fr); }
  .plan-toolbar { top: 78px; align-items: stretch; flex-direction: column; }
  .plan-tools { width: 100%; }
  .search { flex: 1; }
  .search { width: 100%; }
  .analysis-head { grid-template-columns: 1fr; gap: 12px; }
  .stat-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .evidence-panel { grid-template-columns: 1fr; }
  .evidence-note { min-height: 250px; }
  .product-card, .product-card:nth-child(4), .product-card:nth-child(5) { grid-column: span 3; }
  .product-card:last-child { grid-column: span 6; }
  .video-style-grid { grid-template-columns: 1fr; }
  .case-card { grid-template-columns: 220px minmax(0,1fr); }
  .decision-card { grid-template-columns: 1fr; }
  .account-conclusions { grid-template-columns: 1fr; }
  .account-conclusion { min-height: 250px; }
  .account-detail-grid { grid-template-columns: 1fr; }
  .account-actions { grid-template-columns: 1fr; }
  .account-transport { grid-template-columns: 1fr; }
  .login-card { grid-template-columns: .9fr 1.1fr; }
  .login-form-panel { padding: 38px; }
  .account-actions .button { width: fit-content; }
  .create-workspace { grid-template-columns: 1fr; }
  .template-card { position: static; }
}

@media (max-width: 640px) {
  .shell { width: min(100% - 24px, 1160px); }
  .topbar { top: 8px; width: calc(100% - 16px); margin-top: 8px; padding-left: 12px; gap: 6px; }
  .brand > span:last-child { display: none; }
  .nav { gap: 0; }
  .nav a { padding: 9px 7px; font-size: 12px; }
  .nav .hide-mobile { display: none; }
  .hero { padding: 54px 0 24px; }
  .hero h1 { font-size: 49px; }
  .hero-copy { font-size: 16px; }
  .hero-art { min-height: 345px; }
  .float-tag { font-size: 11px; padding: 8px 10px 8px 25px; }
  .section { padding: 58px 0; }
  .section-head { display: block; }
  .section-lead { margin-top: 14px; }
  .mission-grid { grid-template-columns: 1fr; }
  .portal:nth-child(n) { grid-column: span 12; min-height: 205px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .plan-hero { padding-top: 54px; }
  .plan-heading { grid-template-columns: 1fr; }
  .plan-stamp { display: none; }
  .plan-hero h1 { font-size: 40px; }
  .calendar-card { padding: 15px; border-radius: 24px; }
  .calendar-top { display: block; }
  .calendar-top h2 { font-size: 23px; }
  .calendar-controls { align-items: stretch; flex-direction: column; margin-top: 14px; }
  .date-mode-switch { width: 100%; }
  .date-mode-switch button { flex: 1; }
  .add-plan-button { align-self: flex-start; }
  .calendar-window-control { width: 100%; justify-content: space-between; }
  .calendar-month-range { display: none; }
  .calendar-window-buttons { width: 100%; justify-content: space-between; }
  .calendar-window-button { padding: 8px 10px; font-size: 11px; }
  .calendar-grid { gap: 4px; }
  .calendar-weekday { padding: 3px 4px 6px; text-align: center; }
  .calendar-day { min-height: 78px; padding: 7px 5px; border-radius: 12px; }
  .calendar-date { font-size: 12px; }
  .calendar-event-title { display: none; }
  .calendar-events { gap: 3px; margin-top: 4px; }
  .calendar-event { display: block; min-height: 26px; padding: 3px 0; border-radius: 7px; }
  .calendar-event .calendar-search { margin-top: 2px; padding-top: 0; }
  .calendar-event-format { padding: 2px 4px; font-size: 9px; }
  .calendar-search { padding-top: 5px; border-top: 0; }
  .calendar-search span { display: none; }
  .calendar-search strong { font-size: 9px; letter-spacing: -.02em; }
  .calendar-owner { max-width: calc(100% - 27px); padding: 2px 3px; font-size: 8px; }
  .calendar-owner i { width: 5px; height: 5px; }
  .calendar-help { line-height: 1.5; }
  .plan-toolbar { top: 70px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 2px; }
  .filter { flex: 0 0 auto; }
  .plan-tools { display: grid; grid-template-columns: auto minmax(0,1fr); }
  .card-summary { grid-template-columns: 72px minmax(0,1fr) 25px; gap: 13px; padding: 16px; }
  .card-header { padding-right: 12px; }
  .card-header .card-summary { padding-right: 10px; }
  .copy-title { flex-basis: 32px; width: 32px; height: 34px; }
  .date-box { min-height: 50px; }
  .card-format { display: none; }
  .card-details { margin: 0 16px; padding: 14px 0 17px; }
  .detail-row { grid-template-columns: 1fr; gap: 7px; }
  .detail-label { margin-top: 0; }
  .publication-value { align-items: stretch; flex-direction: column; gap: 10px; }
  .publication-button { width: 100%; }
  .claim-row { align-items: stretch; flex-direction: column; gap: 12px; }
  .claim-person em { white-space: normal; }
  .claim-button { width: 100%; }
  .expand-hint b { display: none; }
  .plan-aside { grid-template-columns: 1fr; }
  .plan-editor { border-radius: 24px; }
  .plan-editor-form { padding: 20px; }
  .editor-grid { grid-template-columns: 1fr; gap: 12px; }
  .entry-type-switch { grid-template-columns: 1fr; }
  .field.full-field { grid-column: auto; }
  .editor-actions .button { flex: 1; }
  .claim-dialog { border-radius: 25px 23px 27px 22px; }
  .claim-dialog-card { padding: 25px 20px 20px; }
  .claim-dialog-art { width: 72px; height: 72px; margin-top: -59px; border-width: 6px; }
  .claim-dialog-art svg { width: 64px; height: 64px; }
  .claim-dialog h2 { font-size: 25px; }
  .analysis-hero { padding: 64px 0 35px; }
  .analysis-hero h1 { font-size: 44px; }
  .analysis-hero > p { font-size: 16px; }
  .analysis-source { align-items: flex-start; border-radius: 16px; line-height: 1.55; }
  .analysis-section { padding: 38px 0; }
  .analysis-head h2 { font-size: 31px; }
  .stat-grid { grid-template-columns: 1fr; }
  .stat-card { min-height: 158px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card, .product-card:nth-child(4), .product-card:nth-child(5), .product-card:last-child { min-height: 205px; grid-column: auto; }
  .content-format-note, .video-shared-note { grid-template-columns: 1fr; gap: 5px; padding: 18px; }
  .video-style-card { padding: 23px; }
  .case-card { grid-template-columns: 1fr; }
  .case-number { padding: 27px; }
  .case-number strong { font-size: 55px; }
  .case-copy { padding: 25px; }
  .reason-grid { grid-template-columns: 1fr; }
  .benchmark-grid { grid-template-columns: 1fr; }
  .benchmark-grid article, .benchmark-grid article:nth-child(4), .benchmark-grid article:nth-child(5) { min-height: 180px; grid-column: auto; }
  .decision-card { padding: 24px; }
  .north-star { align-items: flex-start; flex-direction: column; padding: 24px; }
  .account-hero h1 { font-size: 42px; }
  .account-funnel, .audience-note { padding: 22px; }
  .funnel-steps { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .funnel-steps > i { display: none; }
  .account-actions { padding: 24px; }
  .account-transport { padding: 24px; }
  .transport-signals { grid-template-columns: 1fr; }
  .transport-signals article { min-height: 150px; }
  .login-shell { width: min(100% - 20px, 560px); padding: 20px 0; }
  .login-brand { margin-left: 8px; }
  .login-brand > span:last-child { display: inline; font-size: 14px; }
  .login-card { grid-template-columns: 1fr; min-height: auto; border-radius: 28px; }
  .login-illustration { min-height: 235px; padding: 26px 25px 0; }
  .login-illustration h2 { font-size: 30px; }
  .login-bears { left: 17%; right: -7%; bottom: -31px; }
  .login-tag { font-size: 10px; }
  .login-tag-one { top: 46%; }
  .login-tag-two { top: 37%; }
  .login-form-panel { padding: 30px 25px 27px; }
  .login-form-panel h1 { font-size: 41px; }
  .create-hero { padding: 60px 0 30px; }
  .create-hero h1 { font-size: 44px; }
  .create-hero p { font-size: 15px; }
  .create-workspace { padding-top: 7px; }
  .create-form, .template-card { padding: 21px; border-radius: 24px; }
  .create-form-head { align-items: flex-start; flex-direction: column; gap: 10px; }
  .create-field-grid { grid-template-columns: 1fr; }
  .create-field textarea { min-height: 310px; }
  .create-actions .button { width: 100%; }
  .create-results-head { align-items: flex-start; flex-direction: column; gap: 6px; }
  .draft-card > header, .draft-card > footer { padding: 16px; }
  .draft-card textarea { min-height: 470px; padding: 17px; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
.topics-page { font-family: "LXGW WenKai", var(--font); line-height: 1.65; }
.topics-page h1, .topics-page h2, .topics-page h3 { font-family: var(--font-display); }
.topic-section { margin-bottom: 30px; }
.topic-panel { padding: 28px; border: 1px solid #e2e9df; border-radius: 28px; background: #fffdf7; box-shadow: 0 12px 32px rgba(56,91,84,.06); }
.topics-page .topic-section { margin-bottom: 70px; }
.topic-views { display: flex; flex-wrap: wrap; gap: 8px; }
.topic-views button { border: 1px solid #dce6dc; border-radius: 999px; padding: 10px 16px; background: #fffdf7; color: var(--muted); font: inherit; cursor: pointer; }
.topic-views button.active { background: #deeee5; color: #355d4f; border-color: #b9d9c7; }
.topic-views button span { margin-left: 5px; font-size: 11px; }
.topic-adopt-success { padding: 12px 16px; border-radius: 14px; background: #eaf4ed; font-size: 14px; color: #355d4f; }
.topic-adopt-success a { text-decoration: underline; }
.topic-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.topic-heading h2 { margin: 6px 0; font-size: 28px; }
.topic-heading p,.topic-source { color: var(--muted); font-size: 13px; line-height: 1.7; }
.topic-controls { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)) auto; align-items: end; gap: 14px; margin-top: 20px; }
.topic-controls.is-random { grid-template-columns: minmax(180px,280px) auto; justify-content: start; }
.topic-controls [hidden] { display: none; }
.topic-controls .button { min-height: 46px; }
.topic-source { margin: 12px 0; }
.topic-list-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; font-size: 12px; color: var(--muted); padding: 12px 0; }
.topic-list-head > div { display: flex; align-items: center; gap: 14px; }
.topic-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.topic-card { padding: 20px; border: 1px solid #e0e8dc; border-radius: 22px 24px 20px 25px; background: #f4f7ef; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.topic-card-meta { display: flex; flex-wrap: wrap; gap: 8px; color: #577765; font-size: 11px; }
.topic-card-meta span { background: #e5eddf; border-radius: 20px; padding: 4px 8px; }
.topic-card h3 { font-size: 21px; line-height: 1.5; margin: 0; }
.topic-need { font-size: 14px; line-height: 1.7; margin: 0; color: var(--muted); }
.topic-card details { font-size: 13px; line-height: 1.7; color: var(--muted); }
.topic-card summary { cursor: pointer; color: #4d7464; }
.topic-card .keyword { font-size: 11px; background: #fffdf6; padding: 7px 9px; }
.topic-card .keyword small { display: block; opacity: .65; margin-top: 3px; }
.topic-card footer { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 8px; }
.topic-card footer small,.topic-adopted { font-size: 11px; color: #61786c; }
.topic-card footer .button { min-height: 38px; padding: 9px 14px; }
.topic-card-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.topic-card button:disabled { opacity: .55; cursor: wait; }
.topic-replacing { justify-content: center; min-height: 240px; background: #faf7ed; }
.topic-empty { grid-column: 1/-1; padding: 20px; text-align: center; color: var(--muted); }
.topic-adopt-title { color: var(--ink); line-height: 1.5; margin: 6px 0 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.topic-adopt-dialog { width: min(880px, calc(100% - 24px)); max-height: calc(100dvh - 24px); }
.topic-adopt-dialog .plan-editor-form { padding: 18px 22px; }
.topic-adopt-dialog .editor-heading { margin-bottom: 4px; align-items: center; }
.topic-adopt-dialog .calendar-kicker { display: none; }
.topic-adopt-dialog .editor-heading h2 { font-size: 24px; }
.topic-adopt-dialog .editor-error:empty { display: none; }
.topic-adopt-dialog .editor-actions { margin-top: 10px; }
.topic-adopt-dialog .editor-actions .button { min-height: 40px; padding: 9px 16px; }
.topic-adopt-dialog .topic-conflict { margin-top: 6px; padding: 7px 10px; }
.adopt-calendar { margin: 10px 0; padding: 12px; background: #f6f8f1; border: 1px solid #dfe8db; border-radius: 20px; }
.adopt-calendar-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.adopt-calendar-heading strong { font-size: 20px; }
.adopt-calendar-heading button { min-width: 42px; min-height: 42px; font-size: 23px; line-height: 1; }
.adopt-calendar-heading button:disabled { opacity: .35; cursor: default; }
.adopt-calendar-help { margin: 10px 0; color: var(--muted); font-size: 12px; }
.adopt-calendar-weekdays, .adopt-calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0,1fr)); gap: 5px; }
.adopt-calendar-weekdays { text-align: center; color: var(--muted); font-size: 12px; margin-bottom: 7px; }
.adopt-day { min-width: 0; height: 82px; min-height: 0; padding: 7px; vertical-align: top; border: 1px solid #e0e8dc; border-radius: 12px; background: #fffefa; text-align: left; cursor: pointer; font: inherit; }
.adopt-day.has-items { background: #faeae6; border-color: #edcfc8; }
.adopt-day.is-selected { background: #dceee4; border: 2px solid #518573; padding: 6px; }
.adopt-day:focus-visible { outline: 3px solid #518573; outline-offset: 2px; }
.adopt-day:disabled { opacity: .4; cursor: default; }
.adopt-day.is-outside { background: transparent; }
.adopt-day-number { display: block; font-size: 15px; font-weight: 700; }
.adopt-day-number em { font-size: 10px; font-style: normal; margin-left: 3px; color: var(--mint-dark); }
.adopt-day-note { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 11px; line-height: 1.45; margin-top: 4px; overflow-wrap: anywhere; }
.adopt-day-count { display: block; color: var(--muted); font-size: 10px; margin-top: 3px; }
[data-topic-date-summary] { white-space: pre-line; margin: 6px 0; font-size: 12px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-height: 720px) {
  .topic-adopt-dialog .plan-editor-form { padding: 12px 16px; }
  .topic-adopt-dialog .editor-heading h2 { font-size: 21px; }
  .adopt-calendar-help { display: none; }
  .adopt-calendar { margin: 6px 0; padding: 8px; }
  .adopt-day { height: 70px; }
  .adopt-calendar-heading button { min-height: 32px; }
  .adopt-calendar-weekdays { margin-bottom: 3px; }
  [data-topic-date-summary] { -webkit-line-clamp: 2; }
}
@media (max-width: 600px) {
  .topic-adopt-dialog .plan-editor-form { padding: 12px; }
  .adopt-calendar-heading strong { font-size: 16px; }
  .adopt-calendar { padding: 7px; margin-inline: -4px; }
  .adopt-calendar-grid, .adopt-calendar-weekdays { gap: 3px; }
  .adopt-day { height: 72px; padding: 4px; border-radius: 8px; }
  .adopt-day.is-selected { padding: 3px; }
  .adopt-day-number { font-size: 14px; }
  .adopt-day-number em { display: none; }
  .adopt-day-note { font-size: 10px; }
}
.topic-conflict { display: block; padding: 12px; margin-top: 12px; border-radius: 12px; background: #fff0df; color: #916330; font-size: 13px; line-height: 1.6; }
.topic-conflict[hidden] { display: none; }
[data-topic-more] { display: flex; align-items: center; justify-content: center; width: min(320px, 100%); min-height: 56px; margin: 30px auto 0; padding: 14px 28px; border: 1px solid #a8d8cb; border-radius: 999px; background: var(--mint); color: var(--ink); font-size: 18px; font-weight: 800; box-shadow: 0 8px 20px rgba(46,124,112,.12); }
[data-topic-more]:hover { background: var(--mint-dark); color: white; }
[data-topic-more]:focus-visible { outline: 3px solid var(--mint-dark); outline-offset: 4px; }
[data-topic-more][hidden] { display: none; }
@media (max-width: 1050px) { .topic-list { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 650px) {
  .topic-panel { padding: 18px; }
  .topic-heading { align-items: flex-start; }
  .topic-heading h2 { font-size: 25px; }
  .topic-heading .button { white-space: nowrap; padding: 10px 14px; }
  .topic-controls,.topic-controls.is-random { grid-template-columns: 1fr; justify-content: stretch; }
  .topic-list { grid-template-columns: 1fr; }
  .topic-list-head > div { width: 100%; justify-content: space-between; }
}
