:root {
  --bg: #f6f7f8;
  --bg-accent: linear-gradient(180deg, #fafbfc 0%, #f2f4f6 100%);
  --panel: rgba(255, 255, 255, 0.96);
  --panel-soft: #f8f9fa;
  --ink: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --brand: #0f172a;
  --brand-soft: #f1f5f9;
  --success: #0f766e;
  --warning: #b45309;
  --danger: #b42318;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", "Avenir Next", "Helvetica Neue", sans-serif;
  color: var(--ink);
  background: var(--bg-accent);
}

.landing-shell {
  padding: 24px;
}

.landing-frame {
  display: grid;
  gap: 20px;
}

.landing-topbar,
.trust-bar,
.landing-section,
.landing-hero,
.auth-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.landing-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
}

.landing-topbar-actions {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

.landing-hero-section {
  padding: 0;
}

.landing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, 0.7fr);
  gap: 20px;
  align-items: start;
}

.landing-hero {
  padding: 40px;
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.14), transparent 24%),
    radial-gradient(circle at bottom right, rgba(16, 185, 129, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 252, 0.98) 100%);
}

.landing-brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
}

.landing-hero h1 {
  max-width: 11ch;
  margin: 0 0 16px;
  font-size: clamp(2.7rem, 5vw, 5.4rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
}

.landing-copy {
  max-width: 64ch;
  color: #475569;
  font-size: 1.04rem;
  line-height: 1.6;
}

.landing-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.landing-proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.proof-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(203, 213, 225, 0.95);
  background: rgba(255, 255, 255, 0.82);
  color: #334155;
  font-size: 0.84rem;
  font-weight: 600;
}

.landing-visual {
  margin-top: 28px;
}

.visual-window {
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
  transform: perspective(1400px) rotateX(4deg) rotateY(-8deg);
  transform-origin: bottom left;
}

.visual-topline,
.visual-panel-head,
.mock-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.visual-topline {
  color: var(--muted);
  font-size: 0.82rem;
  margin-bottom: 14px;
}

.visual-cards,
.mock-grid,
.proof-metrics,
.testimonial-grid,
.setup-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.visual-stat,
.proof-metric,
.testimonial-card,
.setup-step {
  padding: 18px;
  border: 1px solid rgba(226, 232, 240, 0.94);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.8);
}

.visual-stat span,
.proof-metric span,
.setup-step span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
}

.visual-stat strong,
.proof-metric strong {
  display: block;
  margin-top: 10px;
  font-size: 1.7rem;
}

.visual-panels {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 14px;
  margin-top: 14px;
}

.auth-shell {
  position: sticky;
  top: 24px;
}

.auth-card {
  width: 100%;
  padding: 24px;
  background: rgba(255, 255, 255, 0.97);
}

.auth-card-copy {
  margin-bottom: 16px;
}

.auth-card-copy p:last-child {
  color: var(--muted);
  line-height: 1.55;
}

.auth-tabs {
  display: inline-grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  width: 100%;
  padding: 6px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f8fafc;
}

.auth-tab {
  border: 0;
  border-radius: 12px;
  padding: 11px 14px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.auth-tab.active {
  background: white;
  color: var(--brand);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

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

.auth-form[hidden] {
  display: none !important;
}

.auth-message {
  margin-bottom: 16px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 0.92rem;
}

.auth-message.error {
  color: var(--danger);
  border-color: rgba(180, 35, 24, 0.18);
  background: rgba(180, 35, 24, 0.05);
}

.auth-message.success {
  color: var(--success);
  border-color: rgba(15, 118, 110, 0.18);
  background: rgba(15, 118, 110, 0.06);
}

.auth-submit {
  width: 100%;
  justify-content: center;
}

.auth-link-button {
  width: fit-content;
  padding: 0;
  border: 0;
  background: transparent;
  color: #2563eb;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

.auth-link-button:hover {
  text-decoration: underline;
}

.modal-shell {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
}

.modal-shell[hidden] {
  display: none !important;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.34);
  backdrop-filter: blur(8px);
}

.modal-card {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  padding: 24px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.08), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.2);
}

.trust-bar,
.landing-section {
  padding: 22px 24px;
}

.trust-bar {
  display: grid;
  gap: 12px;
}

.trust-label {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.trust-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  color: #334155;
  font-weight: 700;
}

.section-kicker {
  max-width: 860px;
  margin-bottom: 20px;
}

.section-copy {
  color: var(--muted);
  line-height: 1.6;
}

.problem-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 20px;
}

.problem-grid > p {
  color: #475569;
  font-size: 1.02rem;
  line-height: 1.7;
}

.problem-points,
.stage-strip,
.feature-stack {
  display: grid;
  gap: 14px;
}

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

.problem-card,
.stage-card,
.feature-card,
.final-cta-card {
  border: 1px solid rgba(226, 232, 240, 0.96);
  border-radius: 22px;
  background: #fbfdff;
}

.problem-card,
.stage-card {
  padding: 18px;
}

.problem-card p,
.stage-card p,
.testimonial-card p,
.feature-copy p {
  color: var(--muted);
  line-height: 1.6;
}

.feature-card {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 20px;
  padding: 20px;
}

.feature-card-highlight {
  background:
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.12), transparent 26%),
    linear-gradient(180deg, #fcfeff 0%, #f8fbff 100%);
}

.feature-list {
  margin: 16px 0 0;
  padding-left: 18px;
  color: #334155;
}

.feature-list li + li {
  margin-top: 8px;
}

.feature-visual {
  min-height: 220px;
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(226, 232, 240, 0.96);
}

.dashboard-mock,
.metric-mock,
.roadmap-mock,
.report-mock {
  display: grid;
  gap: 14px;
}

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

.mock-metric {
  padding: 14px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
}

.mock-metric span,
.mock-header span {
  color: var(--muted);
  font-size: 0.82rem;
}

.mock-metric strong {
  display: block;
  margin-top: 8px;
  font-size: 1.35rem;
}

.mock-table {
  display: grid;
  gap: 10px;
}

.mock-table-row,
.metric-row-mini {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
}

.timeline-row {
  display: grid;
  grid-template-columns: 110px repeat(3, 1fr);
  gap: 10px;
  align-items: center;
}

.timeline-row span {
  font-weight: 700;
}

.timeline-row div {
  height: 18px;
  border-radius: 999px;
  background: #e2e8f0;
}

.timeline-row .active {
  background: linear-gradient(90deg, #60a5fa, #34d399);
}

.report-grid-mini {
  display: grid;
  grid-template-columns: 90px repeat(4, 1fr);
  gap: 10px;
  align-items: center;
}

.report-grid-mini span,
.report-grid-mini strong,
.report-grid-mini em {
  padding: 10px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  font-style: normal;
  text-align: center;
}

.dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  justify-self: center;
}

.dot.good,
.status-dot.good {
  background: #22c55e;
}

.dot.warn,
.status-dot.warn {
  background: #f59e0b;
}

.dot.bad,
.status-dot.bad {
  background: #ef4444;
}

.heatmap-grid,
.trend-bars {
  display: grid;
}

.heatmap-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.heat {
  display: block;
  aspect-ratio: 1;
  border-radius: 14px;
}

.heat.good {
  background: rgba(34, 197, 94, 0.26);
}

.heat.warn {
  background: rgba(245, 158, 11, 0.24);
}

.heat.bad {
  background: rgba(239, 68, 68, 0.24);
}

.trend-bars {
  grid-template-columns: repeat(6, 1fr);
  align-items: end;
  gap: 8px;
  min-height: 112px;
}

.trend-bars span {
  border-radius: 999px 999px 6px 6px;
  background: linear-gradient(180deg, #60a5fa 0%, #34d399 100%);
}

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

.visual-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.status-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
}

.visual-panel {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
}

.visual-panel-tall {
  grid-row: span 2;
}

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

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

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

.testimonial-card strong,
.testimonial-card span {
  display: block;
}

.testimonial-card strong {
  margin-top: 16px;
}

.testimonial-card span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9rem;
}

.setup-step {
  display: grid;
  gap: 10px;
}

.setup-step strong {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #e0f2fe;
  color: #0369a1;
}

.final-cta-card {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.12), transparent 24%),
    radial-gradient(circle at bottom right, rgba(16, 185, 129, 0.12), transparent 24%),
    #f8fbff;
}

.shell {
  max-width: 100%;
  margin: 0 auto;
  padding: 20px 24px 44px;
}

.topbar {
  display: grid;
  gap: 16px;
  margin-bottom: 20px;
  padding: 18px 20px 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.topbar-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.topbar-main {
  display: flex;
  align-items: center;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  color: var(--muted);
}

h2,
h3,
p {
  margin: 0;
}

h2 {
  font-size: 1.25rem;
}

.brand-lockup {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-shrink: 0;
}

.brand-mark {
  font-family: "IBM Plex Serif", "Iowan Old Style", "Palatino Linotype", serif;
  font-size: 1.55rem;
  line-height: 1;
  color: var(--brand);
  letter-spacing: 0.01em;
}

.brand-subtitle {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.topbar-meta {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
}

.topbar-actions {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.topbar-nav {
  padding-top: 4px;
  border-top: 1px solid rgba(226, 232, 240, 0.72);
}

.profile-shell {
  position: relative;
}

.profile-trigger {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px 8px 8px;
  border-radius: 999px;
  border: 1px solid rgba(203, 213, 225, 0.92);
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
}

.profile-trigger-copy {
  display: grid;
  gap: 2px;
  text-align: left;
}

.profile-trigger-copy strong {
  font-size: 0.92rem;
}

.profile-trigger-copy span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
}

.profile-avatar {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  color: #fff;
  font-weight: 700;
}

.profile-avatar-large {
  width: 48px;
  height: 48px;
  font-size: 1rem;
}

.profile-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 320px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.08), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  z-index: 20;
}

.profile-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.88);
}

.workspace-switcher {
  min-width: 100%;
}

.workspace-switcher .input {
  min-width: 100%;
}

.workspace-role {
  display: none;
}

.profile-panel-meta {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(248, 250, 252, 0.88);
  border: 1px solid rgba(226, 232, 240, 0.88);
}

.profile-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.profile-actions .button {
  flex: 1;
}

.app-shell {
  display: block;
}

.content-shell {
  min-width: 0;
}

.panel {
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.04), transparent 22%),
    radial-gradient(circle at bottom right, rgba(16, 185, 129, 0.04), transparent 24%),
    rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 24px;
}

.menu {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.menu-item {
  border: 1px solid rgba(226, 232, 240, 0.86);
  background: rgba(248, 250, 252, 0.8);
  color: var(--muted);
  border-radius: 999px;
  padding: 8px 14px;
  text-align: center;
  font: inherit;
  font-weight: 580;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.menu-item:hover,
.menu-item.active {
  background: white;
  border-color: rgba(148, 163, 184, 0.4);
  color: var(--brand);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}

.view-panel {
  display: none;
}

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

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

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

.toolbar-compact {
  align-items: end;
  gap: 12px;
  margin-bottom: 10px;
}

.toolbar-inline-note {
  margin-bottom: 16px;
}

.metric-toolbar {
  justify-content: flex-start;
}

.control-inline {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
}

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

.metric-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 16px;
  background:
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.08), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.metric-card .label {
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0.01em;
}

.metric-card .value {
  margin-top: 8px;
  font-size: 1.85rem;
  font-weight: 700;
}

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

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

.dashboard-grid {
  display: grid;
  gap: 16px;
  margin-bottom: 18px;
}

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

.chart-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 16px;
  background:
    radial-gradient(circle at top right, rgba(16, 185, 129, 0.06), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.chart-card-wide {
  padding-bottom: 10px;
}

.chart-head {
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.88);
}

.chart-head p {
  color: var(--muted);
  margin-top: 4px;
}

.mini-bars {
  display: grid;
  gap: 12px;
}

.bar-row {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 12px;
  align-items: center;
}

.bar-row span:first-child {
  color: #334155;
  font-size: 0.86rem;
  font-weight: 600;
}

.bar-row strong {
  font-size: 0.86rem;
}

.bar-track,
.stack-track {
  height: 14px;
  background: linear-gradient(180deg, #edf2f7 0%, #e2e8f0 100%);
  border-radius: 999px;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(148, 163, 184, 0.18);
}

.bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #60a5fa 0%, #34d399 100%);
  box-shadow: 0 4px 14px rgba(52, 211, 153, 0.2);
}

.stack-chart {
  display: grid;
  gap: 14px;
}

.stack-track {
  display: flex;
  height: 16px;
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.stack-good {
  background: var(--success);
}

.stack-risk {
  background: var(--warning);
}

.stack-bad {
  background: var(--danger);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

th {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.85rem;
  background: rgba(248, 250, 252, 0.88);
  position: sticky;
  top: 0;
  z-index: 1;
}

.table-wrap {
  overflow: auto;
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
}

.table-wrap table tr:last-child td {
  border-bottom: none;
}

.timeline-wrap {
  margin-top: 18px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.pill.good {
  background: rgba(20, 134, 109, 0.12);
  color: var(--success);
}

.pill.warn {
  background: rgba(219, 138, 34, 0.12);
  color: var(--warning);
}

.pill.bad {
  background: rgba(196, 81, 93, 0.12);
  color: var(--danger);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

label {
  display: grid;
  gap: 8px;
  font-size: 0.92rem;
  color: var(--muted);
}

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

.input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.96);
  font: inherit;
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.input:focus {
  outline: 2px solid rgba(59, 130, 246, 0.12);
  border-color: #93c5fd;
}

.input-inline {
  min-width: 170px;
}

.input-compact {
  min-width: 180px;
  padding: 9px 12px;
  border-radius: 12px;
  font-size: 0.95rem;
}

.button {
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 12px 16px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease, background 140ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(180deg, #111827 0%, #0f172a 100%);
  color: white;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.96);
  color: var(--brand);
  border-color: rgba(203, 213, 225, 0.95);
}

.button-compact {
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 600;
}

.item-list {
  display: grid;
  gap: 12px;
}

.timeline-editor {
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel-soft);
}

.form-panel {
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.05), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.field-section {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.section-head {
  margin-bottom: 10px;
}

[data-view-panel="startups"] .table-wrap,
[data-view-panel="roadmap"] .table-wrap,
[data-view-panel="entry"] .table-wrap {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 251, 255, 0.94) 100%);
}

[data-view-panel="startups"] th,
[data-view-panel="roadmap"] th,
[data-view-panel="entry"] th {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

[data-view-panel="startups"] td,
[data-view-panel="roadmap"] td,
[data-view-panel="entry"] td {
  padding-top: 14px;
  padding-bottom: 14px;
}

.compact-grid {
  gap: 10px;
  margin-bottom: 0;
}

.clickable-row {
  cursor: pointer;
  transition: background 140ms ease;
}

.clickable-row:hover {
  background: #f8fbff;
}

#attention-table .clickable-row:hover,
#report-table .clickable-row:hover {
  background: linear-gradient(90deg, rgba(96, 165, 250, 0.07) 0%, rgba(52, 211, 153, 0.04) 100%);
}

.row-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.row-actions-inline {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.team-role-select {
  min-width: 120px;
}

.button-inline {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.82rem;
}

.row-input {
  min-width: 120px;
}

.metric-row-display {
  position: relative;
}

.metric-row-display:hover .row-edit-trigger,
.metric-row-display:focus-within .row-edit-trigger {
  opacity: 1;
}

.row-edit-trigger {
  opacity: 0;
  width: 32px;
  height: 32px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  line-height: 1;
  transition: opacity 160ms ease;
}

.entry-value-button {
  display: inline-flex;
  min-width: 88px;
  justify-content: flex-start;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.entry-value-button:hover {
  border-color: #93c5fd;
  background: #ffffff;
}

.entry-cell-input {
  max-width: 110px;
  padding: 8px 10px;
  border-radius: 10px;
}

.entry-week-row {
  cursor: pointer;
}

.entry-week-row.active-week {
  background: #f8fafc;
}

.entry-month-sections {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.entry-month-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px;
  background:
    radial-gradient(circle at top right, rgba(16, 185, 129, 0.05), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.04);
}

.entry-month-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 12px;
}

.entry-month-meta h2 {
  font-size: 1.05rem;
}

.entry-meta-label {
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.entry-date-input,
.entry-link-input,
.entry-score-select {
  min-width: 110px;
  padding: 7px 9px;
  border-radius: 12px;
  font-size: 0.9rem;
}

.score-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  font-size: 0.9rem;
}

.score-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
}

.score-dot.green {
  background: #16a34a;
}

.score-dot.yellow {
  background: #ca8a04;
}

.score-dot.red {
  background: #dc2626;
}

.note-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}

.note-trigger.is-empty {
  color: var(--muted);
  background: transparent;
}

.note-trigger.has-note {
  min-width: 40px;
  padding: 6px 8px;
}

.note-trigger:hover {
  border-color: #93c5fd;
  background: #ffffff;
}

.note-icon {
  font-size: 0.95rem;
}

@media (max-width: 1180px) {
  .landing-grid {
    grid-template-columns: 1fr;
  }

  .problem-grid,
  .feature-card,
  .final-cta-card {
    grid-template-columns: 1fr;
  }

  .problem-points,
  .proof-metrics,
  .testimonial-grid,
  .setup-strip,
  .stage-strip,
  .visual-cards,
  .mock-grid {
    grid-template-columns: 1fr;
  }

  .auth-shell {
    position: static;
  }

  .visual-window {
    transform: none;
  }

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

  [data-view-panel="roadmap"] .report-roadmap {
    grid-template-columns: 1fr 1fr;
  }
}

.report-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 16px;
  margin-bottom: 18px;
}

.report-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

[data-view-panel="startups"] .panel-head,
[data-view-panel="roadmap"] .panel-head,
[data-view-panel="entry"] .panel-head {
  margin-bottom: 20px;
}

[data-view-panel="startups"] .toolbar-compact,
[data-view-panel="roadmap"] .toolbar-compact,
[data-view-panel="entry"] .toolbar-compact {
  padding: 8px 10px;
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: 16px;
  background: rgba(248, 250, 252, 0.82);
}

[data-view-panel="startups"] .control-inline,
[data-view-panel="roadmap"] .control-inline,
[data-view-panel="entry"] .control-inline {
  min-width: 160px;
}

[data-view-panel="startups"] .clickable-row td:first-child strong,
[data-view-panel="roadmap"] td:first-child strong {
  font-size: 0.96rem;
}

[data-view-panel="startups"] .clickable-row:hover,
[data-view-panel="roadmap"] .clickable-row:hover {
  background: linear-gradient(90deg, rgba(96, 165, 250, 0.06) 0%, rgba(52, 211, 153, 0.04) 100%);
}

[data-view-panel="roadmap"] .roadmap-stage-select {
  min-width: 122px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
}

[data-view-panel="roadmap"] .report-roadmap {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 18px;
}

[data-view-panel="roadmap"] .roadmap-chip {
  min-height: 86px;
  align-content: start;
}

[data-view-panel="entry"] .table-wrap table td:first-child strong {
  font-size: 0.95rem;
}

[data-view-panel="entry"] .table-wrap table tr:nth-child(odd) td {
  background: rgba(255, 255, 255, 0.45);
}

[data-view-panel="entry"] .table-wrap table tr:hover td {
  background: rgba(96, 165, 250, 0.05);
}

.report-card-wide {
  margin-top: 0;
}

.report-summary {
  display: grid;
  gap: 10px;
}

.report-summary-groups {
  display: grid;
  gap: 12px;
}

.report-summary-group {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.94);
}

.report-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.report-roadmap {
  display: grid;
  gap: 10px;
}

.roadmap-chip {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
}

.report-weeks {
  display: grid;
  gap: 16px;
}

.report-month-block {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.96);
}

.report-month-topline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  margin-bottom: 2px;
}

.report-month-stage {
  color: var(--muted);
  font-size: 0.92rem;
}

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

.report-week-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  background: var(--panel-soft);
}

.report-week-card.active-week {
  border-color: #94a3b8;
  box-shadow: inset 0 0 0 1px rgba(100, 116, 139, 0.18);
}

.report-week-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.mini-metric-list {
  display: grid;
  gap: 8px;
}

.mini-metric-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.9rem;
}

.report-week-meta {
  margin: 6px 0 10px;
  font-size: 0.88rem;
}

.list-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  display: grid;
  gap: 12px;
  background: white;
}

.list-card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.list-card p {
  color: var(--muted);
}

.list-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.metrics-entry {
  display: grid;
  gap: 12px;
}

.metric-row {
  display: grid;
  grid-template-columns: 1fr 160px;
  gap: 16px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  background: var(--panel-soft);
}

.metric-meta {
  display: grid;
  gap: 4px;
}

.metric-subtitle {
  color: var(--muted);
  font-size: 0.88rem;
}

.progress-rail {
  height: 12px;
  background: linear-gradient(180deg, #edf2f7 0%, #e2e8f0 100%);
  border-radius: 999px;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(148, 163, 184, 0.16);
}

.progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #60a5fa 0%, #34d399 100%);
  box-shadow: 0 4px 12px rgba(52, 211, 153, 0.22);
}

.muted {
  color: var(--muted);
}

.good {
  color: var(--success);
}

.warn {
  color: var(--warning);
}

.bad {
  color: var(--danger);
}

.muted-cell {
  color: var(--muted);
}

@media (max-width: 1120px) {
  .chart-grid,
  .card-grid,
  .form-grid,
  .report-grid,
  .report-week-grid {
    grid-template-columns: 1fr;
  }

  .topbar {
    gap: 14px;
  }

  .topbar-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .shell {
    padding: 14px 14px 28px;
  }

  .topbar-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .profile-panel {
    left: 0;
    right: auto;
    width: min(100vw - 40px, 320px);
  }

  .menu {
    gap: 6px;
  }

  .menu-item {
    padding: 8px 12px;
    font-size: 0.92rem;
  }

  .workspace-switcher,
  .workspace-switcher .input {
    min-width: 100%;
  }

  .metric-row {
    grid-template-columns: 1fr;
  }

  .bar-row {
    grid-template-columns: 1fr;
  }
}
