﻿:root {
  --ink: #18242f;
  --ink-soft: #344b5c;
  --muted: #7a8fa1;
  --blue-50: #f6f8fb;
  --blue-100: #eef4fa;
  --blue-200: #d9e8f7;
  --blue-300: #afccea;
  --blue-400: #6fa3dc;
  --blue-500: #2f68ad;
  --blue-700: #173f70;
  --gold-100: #fff2d7;
  --gold-200: #e7c483;
  --gold-300: #d1aa64;
  --paper: rgba(255, 255, 255, 0.72);
  --paper-solid: #ffffff;
  --line: rgba(48, 92, 130, 0.12);
  --line-strong: rgba(48, 92, 130, 0.2);
  --shadow-sm: 0 16px 34px rgba(46, 82, 112, 0.08);
  --shadow-md: 0 32px 78px rgba(43, 78, 107, 0.14);
  --radius: 24px;
  --radius-sm: 16px;
  --sans: "Source Han Sans SC", "Noto Sans CJK SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei UI",
    "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(245, 248, 251, 0.98) 0%, rgba(239, 245, 250, 0.94) 54%, rgba(255, 248, 235, 0.72) 100%),
    var(--blue-50);
  font-family: var(--sans);
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(rgba(59, 104, 173, 0.08) 1px, transparent 1px),
    linear-gradient(115deg, transparent 0%, rgba(111, 163, 220, 0.08) 45%, rgba(231, 196, 131, 0.16) 100%);
  background-size: 22px 22px, auto;
  opacity: 0.38;
}

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

button {
  cursor: pointer;
}

button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.is-hidden {
  display: none !important;
}

.app-shell {
  min-height: 100vh;
}

.entry-view {
  min-height: 100vh;
  padding: 26px clamp(22px, 4vw, 64px);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 17% 30%, rgba(111, 163, 220, 0.24), transparent 34%),
    radial-gradient(circle at 88% 14%, rgba(231, 196, 131, 0.24), transparent 30%),
    radial-gradient(circle at 78% 72%, rgba(47, 104, 173, 0.17), transparent 34%),
    linear-gradient(135deg, #f8fafc 0%, #f4f7fb 48%, #fff8eb 100%);
}

.entry-view::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(47, 104, 173, 0.08);
  pointer-events: none;
}

.entry-view::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.22), rgba(111, 163, 220, 0.08) 46%, rgba(231, 196, 131, 0.14)),
    repeating-linear-gradient(90deg, rgba(47, 104, 173, 0.04) 0 1px, transparent 1px 84px);
  mix-blend-mode: normal;
}

.entry-nav,
.workspace-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
  z-index: 2;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-lockup strong {
  display: block;
  font-size: 17px;
  font-weight: 500;
}

.brand-lockup small {
  display: block;
  margin-top: 2px;
  color: rgba(38, 53, 65, 0.58);
  font-size: 11px;
  text-transform: uppercase;
}

.sidebar .brand-lockup strong {
  color: rgba(255, 255, 255, 0.92);
}

.sidebar .brand-lockup small {
  color: rgba(255, 255, 255, 0.52);
}

.brand-symbol {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 14px 28px rgba(47, 104, 173, 0.18));
}

.compact .brand-symbol {
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 13px;
  background: transparent;
}

.entry-main {
  min-height: calc(100vh - 94px);
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
  gap: clamp(34px, 6vw, 82px);
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.eyebrow {
  color: var(--gold-300);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  margin: 0 0 14px;
}

.entry-view .eyebrow {
  color: var(--blue-500);
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
  font-weight: 500;
  color: #244664;
}

h1 {
  color: rgba(255, 253, 247, 0.94);
  font-size: clamp(40px, 6.2vw, 72px);
  line-height: 1.1;
  max-width: 760px;
  text-shadow: 0 20px 60px rgba(28, 89, 130, 0.2);
}

.entry-copy {
  display: grid;
  justify-items: start;
  align-content: center;
  min-height: 54vh;
}

.entry-wordmark {
  width: min(560px, 60vw);
  height: auto;
  margin-left: -8px;
  filter: drop-shadow(0 22px 42px rgba(47, 104, 173, 0.16));
}

.slogan {
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 300;
  letter-spacing: 0.5em;
  color: rgba(47, 104, 173, 0.78);
  margin: 30px 0 36px;
}

.entry-actions,
.header-actions,
.output-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.primary-button,
.soft-button,
.ghost-button,
.text-button,
.icon-button {
  border: 0;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.primary-button:hover,
.soft-button:hover,
.ghost-button:hover,
.icon-button:hover {
  transform: translateY(-1px);
}

.primary-button {
  background: var(--blue-500);
  color: white;
  box-shadow: 0 14px 34px rgba(47, 127, 182, 0.26);
}

.primary-button.small {
  min-height: 36px;
  margin-top: 14px;
}

.soft-button {
  background: rgba(228, 240, 246, 0.86);
  color: var(--blue-500);
  border: 1px solid rgba(83, 145, 181, 0.12);
}

.ghost-button {
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid rgba(47, 104, 173, 0.14);
  color: var(--blue-700);
  backdrop-filter: blur(18px);
}

.text-button {
  background: transparent;
  color: inherit;
  padding-inline: 8px;
}

.entry-view .text-button {
  color: var(--blue-500);
}

.icon-button {
  width: 42px;
  padding: 0;
  background: var(--paper-solid);
  border: 1px solid var(--line);
}

.entry-panel {
  position: relative;
  min-height: 470px;
}

.entry-panel::before,
.entry-panel::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.entry-panel::before {
  width: 180px;
  height: 180px;
  right: 36px;
  top: 78px;
  background: radial-gradient(circle, rgba(231, 196, 131, 0.28), transparent 64%);
  animation: glowDrift 8s ease-in-out infinite;
}

.entry-panel::after {
  width: 220px;
  height: 1px;
  left: 34px;
  top: 150px;
  background: linear-gradient(90deg, transparent, rgba(47, 104, 173, 0.26), transparent);
  transform: rotate(-18deg);
  animation: lineFloat 7s ease-in-out infinite;
}

.ambient-card,
.signal-card,
.section-block,
.metric-card,
.copy-form,
.copy-output,
.table-block,
.hero-card,
.timeline article {
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(18px);
  border-radius: var(--radius);
}

.ambient-card,
.signal-card {
  position: absolute;
}

.ambient-card {
  right: 18px;
  top: 8px;
  min-width: 178px;
  padding: 18px;
  color: var(--ink);
}

.ambient-card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.ambient-card strong {
  display: block;
  margin-top: 8px;
  font-size: 34px;
  color: var(--blue-500);
}

.signal-card {
  padding: 20px;
  color: var(--ink);
}

.card-prime {
  width: min(100%, 326px);
  left: 42px;
  top: 34px;
  box-shadow: var(--shadow-md);
  animation: cardFloat 7s ease-in-out infinite;
}

.card-expression {
  left: 0;
  top: 184px;
  width: 252px;
  animation: cardFloat 8.5s ease-in-out 0.6s infinite;
}

.card-link {
  right: 10px;
  bottom: 50px;
  width: 278px;
  animation: cardFloat 7.5s ease-in-out 1.1s infinite;
}

.signal-card::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  right: 18px;
  top: 18px;
  border-radius: 50%;
  background: var(--gold-200);
  box-shadow: 0 0 18px rgba(231, 196, 131, 0.64);
}

.signal-card small,
.metric-card span,
.section-heading span {
  color: var(--muted);
  font-size: 12px;
}

.signal-card strong {
  display: block;
  margin: 8px 0;
  font-size: 22px;
  font-weight: 500;
  color: var(--blue-500);
}

.signal-card p,
.section-block p,
.metric-card p,
.timeline p,
.hero-card p {
  color: var(--muted);
  line-height: 1.72;
}

.workspace-view {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 238px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
  background:
    radial-gradient(circle at 82% 4%, rgba(231, 196, 131, 0.2), transparent 30%),
    linear-gradient(135deg, rgba(247, 249, 251, 0.98), rgba(238, 244, 250, 0.94) 62%, rgba(255, 248, 235, 0.5)),
    var(--blue-50);
}

.sidebar {
  min-height: calc(100vh - 36px);
  padding: 22px;
  border-right: 0;
  border-radius: 28px;
  background:
    radial-gradient(circle at 58% 8%, rgba(175, 204, 234, 0.5), transparent 32%),
    linear-gradient(180deg, #315f9b 0%, #244f87 58%, #1c3f70 100%);
  backdrop-filter: blur(24px);
  color: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-md);
}

.side-nav {
  margin-top: 32px;
  display: grid;
  gap: 8px;
}

.nav-group-label {
  margin: 12px 12px 2px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.elf-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 242, 215, 0.78);
}

.elf-label::after {
  content: "Expression / Link / Flow";
  flex: 1;
  min-width: 0;
  color: rgba(255, 255, 255, 0.36);
  font-size: 9px;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  text-align: left;
  border: 1px solid transparent;
  background: transparent;
  color: rgba(255, 255, 255, 0.56);
  min-height: 54px;
  padding: 7px 12px;
  border-radius: 18px;
}

.nav-item.is-active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.nav-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
  position: relative;
  overflow: hidden;
}

.nav-item.is-active .nav-icon {
  background: rgba(255, 255, 255, 0.92);
  color: var(--blue-500);
}

.nav-icon::before,
.nav-icon::after,
.title-icon::before,
.title-icon::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.icon-dashboard::before {
  width: 15px;
  height: 12px;
  border: 2px solid currentColor;
  border-top: 0;
  border-radius: 2px 2px 5px 5px;
  transform: translateY(3px);
}

.icon-dashboard::after {
  width: 12px;
  height: 12px;
  border-left: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
}

.icon-strategy::before {
  width: 17px;
  height: 17px;
  border: 2px solid currentColor;
  border-radius: 5px;
  transform: rotate(45deg);
}

.icon-strategy::after {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.icon-expression::before {
  width: 20px;
  height: 14px;
  border: 2px solid currentColor;
  border-radius: 12px;
  transform: translateY(-1px);
}

.icon-expression::after {
  width: 7px;
  height: 7px;
  left: 12px;
  bottom: 8px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  border-radius: 0 0 0 5px;
  transform: rotate(-22deg);
}

.icon-link::before {
  width: 14px;
  height: 10px;
  left: 7px;
  border: 2px solid currentColor;
  border-radius: 999px;
  transform: rotate(-24deg);
}

.icon-link::after {
  width: 14px;
  height: 10px;
  right: 7px;
  border: 2px solid currentColor;
  border-radius: 999px;
  transform: rotate(-24deg);
}

.icon-flow::before {
  width: 22px;
  height: 12px;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  transform: rotate(-14deg);
}

.icon-flow::after {
  width: 22px;
  height: 12px;
  border-bottom: 2px solid currentColor;
  border-radius: 50%;
  transform: rotate(-14deg);
}

.icon-review::before {
  width: 19px;
  height: 19px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
}

.icon-review::after {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 8px 2px 0 0 currentColor, 2px 9px 0 0 currentColor;
}

.nav-item b {
  display: block;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.15;
}

.nav-item small {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 10px;
  letter-spacing: 0.03em;
}

.nav-item.is-active small {
  color: rgba(255, 255, 255, 0.68);
}

.sidebar-note {
  margin-top: 38px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.sidebar-note span {
  color: rgba(255, 255, 255, 0.56);
  font-size: 12px;
}

.sidebar-note strong {
  display: block;
  margin-top: 10px;
  line-height: 1.6;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.sidebar-connect-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 38px;
  margin-top: 14px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #2f67a4;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(24, 64, 116, 0.18);
}

.sidebar-connect-button[hidden] {
  display: none;
}

.workspace-main {
  width: min(100%, 1220px);
  padding: 28px clamp(22px, 4vw, 46px) 42px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.66);
}

.workspace-header {
  margin-bottom: 22px;
}

.title-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
}

.title-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  color: var(--blue-500);
  background:
    radial-gradient(circle at 72% 20%, rgba(231, 196, 131, 0.26), transparent 34%),
    rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 32px rgba(46, 82, 112, 0.1);
}

h2 {
  font-size: clamp(26px, 3vw, 34px);
  color: transparent;
  background: linear-gradient(135deg, #244664 0%, #467eb4 58%, #8aaed0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 10px 28px rgba(47, 104, 173, 0.1);
}

.view-panel {
  display: none;
}

.view-panel.is-active {
  display: block;
}

.view-panel.is-locked {
  position: relative;
}

.view-panel.is-locked > *:not(.locked-overlay) {
  opacity: 0.42;
  filter: saturate(0.65);
  pointer-events: none;
}

.locked-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 52px;
  border-radius: var(--radius);
  color: var(--blue-700);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.08em;
  background: rgba(246, 250, 253, 0.42);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.48);
}

.dashboard-capture {
  width: min(620px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-top: 18px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 26px rgba(46, 82, 112, 0.08);
}

.dashboard-capture input {
  min-height: 38px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.dashboard-capture input:focus {
  box-shadow: none;
}

.hero-card {
  min-height: 190px;
  padding: 28px;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(217, 232, 247, 0.64)),
    var(--paper);
}

.hero-card h3 {
  font-size: clamp(24px, 2.35vw, 30px);
  max-width: 620px;
  color: transparent;
  background: linear-gradient(135deg, #1d3446 0%, #2f68ad 68%, #d1aa64 120%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 12px 30px rgba(47, 104, 173, 0.12);
}

.hero-card p {
  max-width: 620px;
}

.metric-row,
.mini-grid,
.review-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.metric-row {
  margin-bottom: 14px;
}

.metric-card,
.section-block,
.copy-form,
.copy-output,
.table-block,
.timeline article {
  padding: 20px;
}

.metric-card {
  min-height: 156px;
}

.metric-card strong {
  display: block;
  font-size: 34px;
  margin: 12px 0 8px;
  color: var(--blue-500);
}

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

.section-block.wide {
  grid-column: span 2;
}

.section-heading,
.asset-row,
.quiet-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

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

.section-heading b {
  color: var(--gold-300);
  font-weight: 600;
}

.section-block h3,
.copy-output h3 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #2a4f6f;
  text-shadow: 0 8px 22px rgba(47, 104, 173, 0.08);
}

.quiet-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.quiet-list li {
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.quiet-list span {
  color: var(--muted);
  font-size: 13px;
}

.asset-list li {
  cursor: default;
}

.asset-list li.has-link {
  cursor: pointer;
}

.asset-list li.has-link strong {
  color: var(--blue-500);
}

.asset-status {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.identity-connect-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  margin-left: 10px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-400));
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 12px 26px rgba(54, 111, 171, 0.18);
  cursor: pointer;
}

.okr-line {
  height: 8px;
  background: rgba(155, 197, 223, 0.26);
  border-radius: 99px;
  overflow: hidden;
}

.okr-line span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--blue-400), var(--gold-200));
}

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

.strategy-console {
  display: grid;
  gap: 16px;
}

.strategy-chat-card,
.strategy-dashboard-card {
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(18px);
  border-radius: var(--radius);
  padding: 22px;
}

.strategy-chat-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: stretch;
  background:
    radial-gradient(circle at 86% 18%, rgba(231, 196, 131, 0.2), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(217, 232, 247, 0.62));
}

.strategy-chat-card .section-heading {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.chat-prompt {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.chat-prompt span {
  display: block;
  margin-bottom: 8px;
  color: var(--blue-500);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.chat-prompt p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.72;
}

.strategy-choice-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.funnel-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 18px;
  align-items: center;
}

.funnel-core {
  display: grid;
  gap: 10px;
  justify-items: center;
  padding: 10px 0;
}

.funnel-layer {
  min-height: 76px;
  padding: 14px 20px;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) minmax(150px, 0.62fr);
  align-items: center;
  gap: 14px;
  color: var(--blue-700);
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 24px;
  box-shadow: 0 16px 34px rgba(46, 82, 112, 0.08);
}

.funnel-layer.bridge {
  width: 88%;
  background: linear-gradient(135deg, rgba(218, 209, 248, 0.72), rgba(245, 241, 255, 0.86));
}

.funnel-layer.boutique {
  width: 72%;
  background: linear-gradient(135deg, rgba(217, 232, 247, 0.82), rgba(245, 249, 255, 0.92));
}

.funnel-layer.precipitation {
  width: 56%;
  background: linear-gradient(135deg, rgba(204, 239, 231, 0.76), rgba(244, 253, 250, 0.94));
}

.funnel-layer strong {
  font-size: 19px;
  font-weight: 600;
}

.funnel-layer span {
  color: var(--muted);
  font-size: 13px;
}

.funnel-layer em {
  color: var(--ink-soft);
  font-size: 14px;
  font-style: normal;
}

.pipeline-note {
  padding: 18px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 22% 20%, rgba(111, 163, 220, 0.22), transparent 34%),
    rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
}

.pipeline-note strong {
  display: block;
  color: var(--blue-700);
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 5px;
}

.pipeline-note span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 12px;
}

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

.funnel-layer.precipitation {
  grid-template-columns: 112px minmax(120px, 1fr);
}

.funnel-layer.precipitation em {
  grid-column: 1 / -1;
  justify-self: center;
  max-width: 92%;
  text-align: center;
  line-height: 1.45;
}

.dashboard-identity {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  margin-bottom: 12px;
  color: var(--blue-700);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(16px);
}

.dashboard-identity span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.dashboard-identity strong {
  font-size: 14px;
  font-weight: 650;
  text-align: right;
}

.document-action {
  width: 100%;
}

.strategy-doc {
  min-height: 180px;
  padding: 18px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 90% 14%, rgba(231, 196, 131, 0.18), transparent 32%),
    rgba(255, 255, 255, 0.66);
  border: 1px solid var(--line);
}

.strategy-doc > span {
  color: var(--gold-300);
  font-size: 12px;
  font-weight: 700;
}

.strategy-doc strong {
  display: block;
  margin: 10px 0;
  color: var(--blue-700);
  font-size: 18px;
  line-height: 1.45;
}

.strategy-doc p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.keyword-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.keyword-row span {
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--blue-500);
  background: rgba(228, 240, 246, 0.72);
  font-size: 12px;
}

.pyramid-dashboard {
  display: grid;
  gap: 7px;
  justify-items: center;
  padding: 8px 0 4px;
}

.pyramid-layer {
  min-height: 50px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 30px rgba(46, 82, 112, 0.07);
}

.pyramid-layer:nth-child(1) {
  width: 36%;
}

.pyramid-layer:nth-child(2) {
  width: 46%;
}

.pyramid-layer:nth-child(3) {
  width: 56%;
}

.pyramid-layer:nth-child(4) {
  width: 66%;
}

.pyramid-layer:nth-child(5) {
  width: 76%;
}

.pyramid-layer:nth-child(6) {
  width: 86%;
}

.pyramid-layer:nth-child(7) {
  width: 94%;
}

.pyramid-layer.empty {
  color: rgba(47, 104, 173, 0.48);
  background: rgba(255, 255, 255, 0.5);
}

.pyramid-layer.filled {
  color: var(--blue-700);
  background: linear-gradient(135deg, rgba(217, 232, 247, 0.82), rgba(255, 255, 255, 0.88));
}

.pyramid-layer.top {
  background: linear-gradient(135deg, rgba(255, 242, 215, 0.84), rgba(255, 255, 255, 0.86));
}

.pyramid-layer.base {
  background: linear-gradient(135deg, rgba(217, 232, 247, 0.92), rgba(242, 248, 255, 0.96));
}

.pyramid-layer.soil {
  color: var(--blue-700);
  background:
    linear-gradient(135deg, rgba(229, 238, 246, 0.72), rgba(255, 255, 255, 0.92));
  border-style: dashed;
}

.pyramid-layer strong {
  font-weight: 600;
  white-space: nowrap;
}

.pyramid-layer span {
  color: var(--muted);
  font-size: 12px;
}

.strategy-hero {
  min-height: 172px;
  padding: 28px;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  background:
    radial-gradient(circle at 82% 16%, rgba(231, 196, 131, 0.22), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(217, 232, 247, 0.64));
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.strategy-hero h3 {
  max-width: 760px;
  font-size: clamp(26px, 3vw, 34px);
  color: transparent;
  background: linear-gradient(135deg, #1d3446 0%, #2f68ad 74%, #d1aa64 122%);
  -webkit-background-clip: text;
  background-clip: text;
}

.strategy-hero p {
  max-width: 740px;
  color: var(--muted);
  line-height: 1.72;
}

.strategy-workbench {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr) minmax(280px, 0.9fr);
  gap: 14px;
  align-items: stretch;
}

.coach-panel,
.model-card,
.foundation-output,
.foundation-brief {
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(18px);
  border-radius: var(--radius);
  padding: 20px;
}

.coach-panel {
  grid-row: span 2;
}

.coach-thread {
  display: grid;
  gap: 12px;
}

.coach-bubble {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.coach-bubble span {
  display: block;
  margin-bottom: 6px;
  color: var(--blue-500);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.coach-bubble p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.68;
}

.coach-bubble.user {
  margin-left: 26px;
  background: rgba(217, 232, 247, 0.58);
}

.coach-progress {
  height: 8px;
  margin: 18px 0;
  background: rgba(175, 204, 234, 0.28);
  border-radius: 999px;
  overflow: hidden;
}

.coach-progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--blue-400), var(--gold-200));
}

.coach-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.funnel-stack {
  display: grid;
  gap: 8px;
  justify-items: center;
  padding: 8px 0 2px;
}

.funnel-stack div {
  min-height: 58px;
  padding: 11px 18px;
  display: grid;
  align-content: center;
  text-align: center;
  color: #ffffff;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-400));
  box-shadow: 0 14px 28px rgba(47, 104, 173, 0.12);
}

.funnel-stack div:nth-child(1) {
  width: 88%;
}

.funnel-stack div:nth-child(2) {
  width: 76%;
}

.funnel-stack div:nth-child(3) {
  width: 64%;
  background: linear-gradient(135deg, #5f98d2, #8fb9df);
}

.funnel-stack div:nth-child(4) {
  width: 52%;
  background: linear-gradient(135deg, var(--gold-300), var(--gold-200));
}

.funnel-stack strong,
.pyramid-preview div {
  font-weight: 500;
}

.funnel-stack span {
  margin-top: 3px;
  font-size: 12px;
  opacity: 0.86;
}

.pyramid-preview {
  display: grid;
  gap: 7px;
  justify-items: center;
  padding: 4px 0;
}

.pyramid-preview div {
  min-height: 34px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--blue-700);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.pyramid-preview div:nth-child(1) {
  width: 42%;
}

.pyramid-preview div:nth-child(2) {
  width: 52%;
}

.pyramid-preview div:nth-child(3) {
  width: 62%;
}

.pyramid-preview div:nth-child(4) {
  width: 72%;
}

.pyramid-preview div:nth-child(5) {
  width: 82%;
}

.pyramid-preview div:nth-child(6) {
  width: 92%;
  background: rgba(217, 232, 247, 0.72);
}

.pyramid-preview span {
  color: var(--muted);
  font-size: 11px;
}

.foundation-output {
  grid-row: span 2;
}

.brief-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.brief-grid span {
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--blue-500);
  background: rgba(217, 232, 247, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.8);
  font-size: 13px;
}

.link-console {
  display: grid;
  gap: 16px;
}

.link-chat-card,
.link-plan-card,
.fan-card {
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(18px);
  border-radius: var(--radius);
  padding: 20px;
}

.link-chat-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: stretch;
  background:
    radial-gradient(circle at 88% 16%, rgba(111, 163, 220, 0.2), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(217, 232, 247, 0.62));
}

.link-chat-card .section-heading {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.chat-window {
  display: grid;
  gap: 10px;
  padding: 12px;
  min-height: 260px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid var(--line);
}

.chat-history {
  display: grid;
  gap: 8px;
  align-content: start;
  min-height: 142px;
  max-height: 230px;
  overflow: auto;
  padding-right: 4px;
}

.chat-message {
  max-width: 78%;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 18px rgba(46, 82, 112, 0.05);
}

.chat-message.user {
  justify-self: end;
  background: rgba(217, 232, 247, 0.68);
}

.chat-message span {
  display: block;
  margin-bottom: 5px;
  color: var(--blue-500);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.chat-message p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.55;
  font-size: 13px;
  white-space: pre-wrap;
}

.chat-composer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.94);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 10px 22px rgba(46, 82, 112, 0.06);
}

.chat-composer input {
  border: 0;
  background: transparent;
  min-height: 34px;
  padding: 0 12px;
  box-shadow: none;
}

.chat-composer input:focus {
  box-shadow: none;
}

.send-button {
  min-height: 34px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  color: white;
  background: var(--blue-500);
  box-shadow: 0 10px 20px rgba(47, 104, 173, 0.18);
}

.send-button:disabled,
.action-button:disabled {
  cursor: wait;
  opacity: 0.68;
}

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

.strategy-path {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 2px 6px 6px;
  pointer-events: none;
}

.strategy-path::before {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  top: 8px;
  height: 1px;
  background: linear-gradient(90deg, rgba(47, 104, 173, 0.28), rgba(121, 158, 190, 0.18));
}

.strategy-path span {
  position: relative;
  flex: 1;
  min-height: 28px;
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
}

.strategy-path span.is-current {
  color: var(--blue-700);
  font-weight: 700;
}

.action-button {
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid rgba(47, 104, 173, 0.12);
  border-radius: 16px;
  color: var(--blue-500);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 16px 28px rgba(46, 82, 112, 0.08);
  font-weight: 600;
}

.primary-action {
  color: white;
  background:
    radial-gradient(circle at 80% 20%, rgba(231, 196, 131, 0.34), transparent 28%),
    linear-gradient(135deg, var(--blue-500), #5e98cf);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 18px 32px rgba(47, 104, 173, 0.2);
}

.chat-status {
  margin: -2px 4px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

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

.fan-card {
  min-height: 190px;
}

.fan-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.fan-topline span {
  color: var(--muted);
  font-size: 13px;
}

.fan-topline b {
  color: var(--gold-300);
  font-size: 12px;
}

.fan-card > strong {
  display: block;
  margin: 16px 0 10px;
  color: var(--blue-500);
  font-size: 34px;
  font-weight: 600;
}

.fan-card p {
  min-height: 64px;
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
  font-size: 14px;
}

.fan-bar {
  height: 8px;
  margin-top: 18px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(175, 204, 234, 0.28);
}

.fan-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue-400), var(--gold-200));
}

.fan-card.new {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(217, 232, 247, 0.5));
}

.fan-card.daily {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(238, 244, 250, 0.66));
}

.fan-card.intent {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(255, 242, 215, 0.5));
}

.fan-card.core {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(204, 239, 231, 0.42));
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-cloud span {
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(228, 240, 246, 0.76);
  color: var(--blue-500);
  border: 1px solid rgba(255, 255, 255, 0.72);
}

.copy-layout {
  display: grid;
  grid-template-columns: minmax(300px, 410px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.copy-form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
}

label span {
  color: var(--muted);
  font-size: 13px;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255, 253, 247, 0.76);
  border-radius: var(--radius-sm);
  padding: 12px 13px;
  color: var(--ink);
  outline: none;
}

textarea {
  min-height: 96px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(221, 182, 109, 0.72);
  box-shadow: 0 0 0 3px rgba(255, 243, 216, 0.44);
}

.copy-output {
  min-height: 590px;
}

.copy-output h4 {
  margin: 22px 0 8px;
  color: var(--blue-500);
}

.copy-output p,
.copy-output li {
  line-height: 1.82;
}

.output-actions {
  margin-top: 22px;
}

.expression-console {
  display: grid;
  grid-template-columns: minmax(240px, 0.95fr) minmax(280px, 1fr) minmax(280px, 1.05fr);
  gap: 16px;
  align-items: stretch;
}

.radar-panel,
.inspiration-panel,
.weekly-panel,
.creation-panel {
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(18px);
  border-radius: var(--radius);
  padding: 20px;
}

.radar-panel,
.inspiration-panel,
.weekly-panel {
  height: 520px;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.panel-hint {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.radar-refresh {
  width: 100%;
  margin-bottom: 12px;
}

.feed-list,
.topic-suggestions {
  display: grid;
  gap: 10px;
}

.feed-list {
  min-height: 0;
  overflow: auto;
  padding-right: 4px;
}

.feed-card,
.topic-card {
  width: 100%;
  padding: 14px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.topic-card:hover,
.inspiration-card:hover {
  transform: translateY(-1px);
  border-color: rgba(47, 104, 173, 0.22);
  box-shadow: 0 12px 24px rgba(46, 82, 112, 0.07);
}

.feed-card {
  cursor: default;
}

.feed-card span,
.topic-card span {
  color: var(--gold-300);
  font-size: 12px;
  font-weight: 700;
}

.feed-card strong,
.topic-card strong {
  display: block;
  margin: 8px 0;
  color: var(--ink-soft);
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.feed-card small,
.topic-card small {
  color: var(--muted);
  line-height: 1.55;
}

.feed-empty {
  min-height: 132px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px dashed rgba(121, 158, 190, 0.24);
  border-radius: 18px;
  background:
    radial-gradient(circle at 90% 12%, rgba(231, 196, 131, 0.14), transparent 30%),
    rgba(255, 255, 255, 0.48);
}

.feed-empty.compact {
  min-height: 104px;
}

.feed-empty span {
  color: var(--gold-300);
  font-size: 12px;
  font-weight: 700;
}

.feed-empty strong {
  margin: 8px 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.5;
}

.feed-empty small {
  color: var(--muted);
  line-height: 1.55;
}

.topic-card.is-selected {
  border-color: rgba(47, 104, 173, 0.28);
  background: rgba(217, 232, 247, 0.66);
  box-shadow: 0 14px 28px rgba(46, 82, 112, 0.08);
}

.inspiration-drop {
  display: grid;
  gap: 12px;
  flex: 0 0 auto;
}

.inspiration-drop p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.inspiration-composer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 8px;
  padding: 8px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.inspiration-composer textarea {
  height: 78px;
  min-height: 78px;
  max-height: 132px;
  border: 0;
  padding: 8px 4px;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

.inspiration-composer textarea:focus {
  box-shadow: none;
}

.archive-status {
  min-height: 18px;
  margin: -2px 4px 0;
  color: var(--blue-500);
  font-size: 12px;
  line-height: 1.5;
}

.archive-summary {
  margin: 18px 0 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid var(--line);
}

.archive-summary div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.archive-summary span {
  color: var(--muted);
  font-size: 13px;
}

.archive-summary strong {
  color: var(--blue-700);
  font-size: 13px;
  font-weight: 600;
}

.archive-summary b {
  color: var(--blue-500);
  font-weight: 700;
}

.archive-summary small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.inspiration-stack {
  position: relative;
  height: 210px;
  min-height: 210px;
  margin-top: 2px;
  flex: 0 0 auto;
  border: 1px solid rgba(47, 104, 173, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.5);
  overflow: hidden;
}

.stack-shadow {
  display: none;
}

.stack-shadow.shadow-one {
  transform: translate(7px, 7px) rotate(1.2deg);
}

.stack-shadow.shadow-two {
  transform: translate(13px, 13px) rotate(2deg);
  opacity: 0.7;
}

.inspiration-list {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  padding: 10px;
  scrollbar-gutter: stable;
}

.inspiration-card {
  position: relative;
  width: 100%;
  min-height: 112px;
  padding: 14px 42px 14px 14px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 14px 28px rgba(46, 82, 112, 0.08);
}

.inspiration-card.is-collapsed {
  display: block;
}

.inspiration-card.is-selected {
  border-color: rgba(47, 104, 173, 0.28);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(217, 232, 247, 0.72));
  box-shadow: 0 14px 28px rgba(46, 82, 112, 0.08);
}

.inspiration-card span {
  color: var(--gold-300);
  font-size: 12px;
  font-weight: 700;
}

.inspiration-card strong {
  display: -webkit-box;
  margin: 8px 0;
  color: var(--ink-soft);
  line-height: 1.55;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.inspiration-card small {
  display: -webkit-box;
  color: var(--muted);
  line-height: 1.55;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.inspiration-delete {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: rgba(44, 86, 126, 0.58);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(124, 154, 184, 0.22);
  font-size: 18px;
  line-height: 1;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.inspiration-delete:hover {
  color: var(--blue-700);
  background: rgba(232, 241, 248, 0.92);
  transform: scale(1.04);
}

.archive-overflow {
  margin: 18px 0 0;
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(228, 240, 246, 0.5);
  font-size: 12px;
  text-align: center;
}

.weekly-brief {
  display: grid;
  gap: 10px;
  padding: 16px;
  margin-bottom: 14px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 90% 12%, rgba(231, 196, 131, 0.2), transparent 30%),
    rgba(255, 255, 255, 0.66);
  border: 1px solid var(--line);
  flex: 0 0 auto;
}

.topic-suggestions {
  min-height: 0;
  overflow: auto;
  padding-right: 4px;
}

.weekly-brief span {
  color: var(--gold-300);
  font-size: 12px;
  font-weight: 700;
}

.weekly-brief strong {
  color: var(--blue-700);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.45;
}

.weekly-brief p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.68;
}

.weekly-brief .action-button {
  width: 100%;
  margin-top: 2px;
}

.selected-topic {
  padding: 16px;
  margin-bottom: 14px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 92% 12%, rgba(231, 196, 131, 0.2), transparent 28%),
    rgba(255, 255, 255, 0.68);
  border: 1px solid var(--line);
}

.selected-topic span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 8px;
}

.selected-topic strong {
  color: var(--blue-700);
  font-weight: 500;
  line-height: 1.58;
}


.creation-guide {
  display: grid;
  gap: 7px;
  margin: -2px 0 14px;
  padding: 14px 16px;
  border: 1px solid rgba(47, 104, 173, 0.1);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(235, 244, 251, 0.62));
}

.creation-guide span {
  color: var(--gold-600);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.creation-guide strong {
  color: var(--blue-700);
  font-size: 16px;
  font-weight: 560;
}

.creation-guide p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.creation-direction {
  display: grid;
  gap: 14px;
  margin: 0 0 14px;
  padding: 16px;
  border: 1px solid rgba(47, 104, 173, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 30px rgba(47, 104, 173, 0.08);
}

.direction-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.direction-header span {
  display: block;
  color: var(--gold-600);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.direction-header strong {
  color: var(--blue-700);
  font-size: 18px;
  font-weight: 560;
}

.direction-header small {
  max-width: 360px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
  text-align: right;
}

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

.direction-option {
  min-height: 42px;
  border: 1px solid rgba(47, 104, 173, 0.12);
  border-radius: 14px;
  color: var(--blue-500);
  background: rgba(248, 251, 253, 0.9);
  font-weight: 560;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.direction-option:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(47, 104, 173, 0.12);
}

.direction-option.is-active {
  color: #fff;
  border-color: rgba(47, 104, 173, 0.28);
  background: linear-gradient(135deg, var(--blue-500), var(--blue-300));
  box-shadow: 0 14px 24px rgba(47, 104, 173, 0.18);
}

.direction-spec {
  display: grid;
  gap: 8px;
}

.direction-spec span {
  display: block;
  padding: 9px 11px;
  border-radius: 12px;
  color: var(--ink-soft);
  background: rgba(235, 244, 251, 0.62);
  font-size: 12px;
  line-height: 1.6;
}
.expression-chat {
  min-height: 360px;
}

.expression-wide {
  grid-column: 1 / -1;
}

.copy-canvas {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 32px;
}

.canvas-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(24, 36, 47, 0.22);
  backdrop-filter: blur(12px);
}

.canvas-panel {
  position: relative;
  width: min(920px, 100%);
  max-height: min(820px, calc(100vh - 64px));
  display: grid;
  grid-template-rows: auto minmax(320px, 1fr) auto;
  gap: 16px;
  padding: 24px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 34px 90px rgba(24, 36, 47, 0.2);
}

.canvas-header,
.canvas-footer,
.canvas-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.canvas-header h3 {
  font-size: 28px;
}

#canvasText {
  min-height: 460px;
  padding: 22px;
  line-height: 1.9;
  background: rgba(246, 248, 251, 0.8);
  border-radius: 22px;
}

.canvas-status {
  color: var(--muted);
  font-size: 14px;
}

.asset-row {
  min-height: 54px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.asset-row span {
  flex: 1;
}

.asset-row.head {
  color: var(--ink);
  font-weight: 700;
}

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

.timeline article {
  min-height: 240px;
}

.timeline span {
  color: var(--gold-300);
  font-size: 28px;
}

.timeline strong {
  display: block;
  margin: 16px 0 10px;
  font-size: 18px;
}

@keyframes cardFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -10px, 0);
  }
}

@keyframes glowDrift {
  0%,
  100% {
    opacity: 0.58;
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    opacity: 0.86;
    transform: translate3d(-18px, 14px, 0) scale(1.08);
  }
}

@keyframes lineFloat {
  0%,
  100% {
    opacity: 0.24;
    transform: translate3d(0, 0, 0) rotate(-18deg);
  }
  50% {
    opacity: 0.62;
    transform: translate3d(18px, 8px, 0) rotate(-12deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .card-prime,
  .card-expression,
  .card-link,
  .entry-panel::before,
  .entry-panel::after {
    animation: none;
  }
}

@media (max-width: 1040px) {
  .entry-main,
  .workspace-view,
  .copy-layout,
  .expression-console {
    grid-template-columns: 1fr;
  }

  .radar-panel,
  .inspiration-panel,
  .weekly-panel {
    height: auto;
    min-height: 0;
  }

  .sidebar {
    min-height: auto;
    border-right: 0;
    border-bottom: 0;
  }

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

  .nav-group-label {
    grid-column: 1 / -1;
  }

  .entry-panel {
    min-height: 420px;
  }

  .metric-row,
  .content-grid,
  .strategy-grid,
  .strategy-workbench,
  .strategy-chat-card,
  .funnel-dashboard,
  .link-chat-card,
  .fan-dashboard,
  .timeline,
  .review-board {
    grid-template-columns: 1fr;
  }

  .section-block.wide {
    grid-column: auto;
  }

  .coach-panel,
  .foundation-output {
    grid-row: auto;
  }

  .strategy-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .strategy-choice-row {
    justify-content: flex-start;
  }

  .chat-message {
    max-width: 100%;
  }

  .funnel-layer {
    width: 100% !important;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .pyramid-layer {
    width: 100% !important;
    flex-direction: column;
    gap: 4px;
    text-align: center;
  }

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

  .chat-composer {
    grid-template-columns: 1fr;
    border-radius: 18px;
  }

  .dashboard-capture {
    grid-template-columns: 1fr;
    border-radius: 18px;
  }

  .copy-canvas {
    padding: 16px;
  }

  .canvas-footer,
  .canvas-actions {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 15px;
  }

  .entry-view,
  .workspace-view {
    min-height: 100svh;
  }

  .entry-view {
    padding: 18px;
  }

  .entry-main {
    min-height: calc(100svh - 78px);
    gap: 24px;
    align-content: center;
  }

  .entry-copy {
    min-height: auto;
    justify-items: center;
    text-align: center;
  }

  .entry-wordmark {
    width: min(360px, 78vw);
    margin-left: 0;
  }

  .slogan {
    margin: 22px 0 28px;
    font-size: 16px;
    letter-spacing: 0.2em;
    line-height: 1.9;
  }

  .entry-actions,
  .header-actions,
  .output-actions,
  .chat-actions,
  .coach-actions {
    width: 100%;
    align-items: stretch;
  }

  .primary-button,
  .soft-button,
  .ghost-button,
  .text-button,
  .action-button,
  .send-button {
    min-height: 46px;
    padding-inline: 18px;
    font-size: 15px;
  }

  .icon-button {
    min-width: 44px;
    min-height: 44px;
  }

  .entry-actions .primary-button,
  .hero-card .soft-button,
  .dashboard-capture .primary-button,
  .chat-actions .action-button,
  .document-action,
  .weekly-brief .action-button {
    width: 100%;
  }

  .workspace-view {
    display: block;
    padding: 12px;
  }

  .sidebar {
    min-height: auto;
    padding: 16px;
    border-radius: 22px;
    margin-bottom: 12px;
  }

  .side-nav {
    margin-top: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .nav-group-label {
    margin-top: 8px;
  }

  .elf-label::after {
    display: none;
  }

  .nav-item {
    min-height: 58px;
    padding: 8px;
    border-radius: 16px;
  }

  .nav-item small {
    font-size: 10px;
  }

  .sidebar-note {
    display: none;
  }

  .dashboard-identity {
    display: flex;
  }

  .workspace-main {
    padding: 0;
  }

  .workspace-header {
    gap: 12px;
    padding: 6px 4px 14px;
  }

  .title-lockup {
    align-items: center;
    gap: 10px;
  }

  .title-icon {
    width: 44px;
    height: 44px;
    border-radius: 16px;
  }

  .workspace-header h2 {
    font-size: 26px;
    line-height: 1.22;
  }

  .hero-card,
  .section-block,
  .metric-card,
  .strategy-chat-card,
  .strategy-dashboard-card,
  .radar-panel,
  .inspiration-panel,
  .weekly-panel,
  .creation-panel,
  .link-chat-card,
  .fan-segment,
  .flow-card,
  .review-card {
    border-radius: 20px;
    padding: 16px;
  }

  .hero-card {
    gap: 18px;
  }

  .hero-card h3 {
    font-size: 28px;
    line-height: 1.34;
  }

  .hero-card p,
  .panel-hint,
  .inspiration-drop p,
  .weekly-brief p,
  .metric-card p,
  .section-block p {
    font-size: 13px;
    line-height: 1.65;
  }

  .metric-row,
  .content-grid,
  .strategy-console,
  .strategy-grid,
  .strategy-workbench,
  .funnel-dashboard,
  .pyramid-dashboard,
  .expression-console,
  .link-console,
  .fan-dashboard,
  .flow-layout,
  .review-board,
  .mini-grid,
  .copy-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .expression-wide,
  .strategy-doc-card {
    grid-column: auto;
  }

  .radar-panel,
  .inspiration-panel,
  .weekly-panel {
    height: auto;
    min-height: 0;
  }

  .feed-list,
  .topic-suggestions {
    max-height: 340px;
    overflow: auto;
  }

  .dashboard-capture,
  .chat-composer,
  .inspiration-composer {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px;
    border-radius: 18px;
  }

  .inspiration-composer {
    align-items: stretch;
  }

  .attach-button {
    width: 44px;
    height: 44px;
    justify-self: start;
  }

  input,
  textarea,
  select {
    min-height: 46px;
    padding: 12px 13px;
    font-size: 15px;
  }

  .chat-composer input,
  .dashboard-capture input {
    background: rgba(255, 253, 247, 0.9);
  }

  .inspiration-composer textarea {
    min-height: 108px;
    height: 108px;
    padding: 10px;
    border-radius: 14px;
    background: rgba(255, 253, 247, 0.72);
  }

  .chat-window {
    gap: 12px;
  }

  .chat-history {
    max-height: 320px;
  }

  .chat-message p {
    font-size: 14px;
    line-height: 1.68;
  }

  .strategy-path,
  .brief-grid,
  .tag-cloud,
  .topic-suggestions {
    grid-template-columns: 1fr;
  }

  .pipeline-note,
  .funnel-layer,
  .pyramid-layer {
    min-width: 0;
  }

  .locked-overlay {
    top: 18px;
    left: 16px;
    right: 16px;
    text-align: center;
  }

  .copy-canvas {
    padding: 0;
  }

  .canvas-panel {
    width: 100%;
    min-height: 100svh;
    max-height: none;
    border-radius: 0;
    grid-template-rows: auto minmax(0, 1fr) auto;
  }

  .canvas-header,
  .canvas-footer,
  .canvas-actions {
    align-items: stretch;
    flex-direction: column;
  }

  #canvasText {
    min-height: 55svh;
    font-size: 15px;
    line-height: 1.72;
  }
}

@media (max-width: 640px) {
  .entry-view {
    padding: 18px;
  }

  .entry-view::before {
    inset: 8px;
  }

  .entry-nav,
  .workspace-header,
  .hero-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .side-nav {
    grid-template-columns: 1fr 1fr;
  }

  .nav-item {
    grid-template-columns: 30px minmax(0, 1fr);
    min-height: 50px;
  }

  .nav-icon {
    width: 30px;
    height: 30px;
  }

  .entry-panel {
    min-height: auto;
    display: grid;
    gap: 12px;
  }

  .ambient-card,
  .signal-card {
    position: static;
    width: auto;
  }

  .entry-wordmark {
    width: min(420px, 78vw);
  }

  .slogan {
    letter-spacing: 0.18em;
  }
}



