:root {
  color-scheme: light;
  --ink: #161616;
  --muted: #676767;
  --line: #e3e3e3;
  --surface: #ffffff;
  --surface-soft: #f7f7f7;
  --green: #d81925;
  --green-dark: #97121a;
  --sidebar: #0d0d0e;
  --sidebar-soft: #2a1517;
  --gold: #d81925;
  --shadow: 0 18px 46px rgba(22, 22, 22, 0.1);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: #f6f6f6;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.app-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  gap: 26px;
  height: 100vh;
  padding: 24px 18px;
  background: var(--sidebar);
  color: #f1f1f1;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 54px;
  padding: 8px 10px;
  color: #fff;
  font-size: 21px;
  font-weight: 850;
}

.brand-mark,
.panel-logo {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 8px;
  background: #fff;
  color: var(--green-dark);
  font-weight: 950;
  letter-spacing: 0;
}

.nav-stack {
  display: grid;
  gap: 7px;
}

.nav-utility {
  margin-top: 0;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  color: #b9b9b9;
  font-weight: 800;
}

.nav-item:hover,
.nav-item.active {
  background: var(--sidebar-soft);
  color: #fff;
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.sidebar-card {
  margin-top: auto;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.sidebar-card strong {
  display: block;
  margin: 8px 0 3px;
  font-size: 34px;
  line-height: 1;
}

.sidebar-card span {
  color: #b9b9b9;
  font-size: 15px;
  line-height: 1.4;
}

.workspace {
  min-width: 0;
  max-width: 100vw;
  padding: 28px;
}

.auth-workspace {
  display: grid;
  align-items: center;
  min-height: 100vh;
  padding-block: 34px;
}

.auth-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(360px, 520px);
  gap: 22px;
  align-items: stretch;
}

.auth-story,
.auth-panel,
.home-hero,
.workspace-panel,
.metric-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.auth-story {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 620px;
  padding: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.78)),
    url("https://images.unsplash.com/photo-1556761175-4b46a572b786?auto=format&fit=crop&w=1400&q=85")
      center / cover;
}

.eyebrow {
  margin: 0;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.auth-story h1,
.home-hero h1 {
  max-width: 720px;
  margin: 8px 0 14px;
  font-size: clamp(38px, 4.8vw, 70px);
  line-height: 1;
  letter-spacing: 0;
}

.auth-story p:not(.eyebrow),
.home-hero p:not(.eyebrow) {
  max-width: 610px;
  margin: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

.auth-proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 540px;
  margin-top: 38px;
}

.auth-proof-grid span,
.health-row span {
  display: grid;
  gap: 5px;
  min-height: 48px;
  padding: 14px;
  border: 1px solid rgba(22, 127, 97, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  color: #253630;
  font-weight: 800;
}

.auth-proof-grid small,
.health-row small,
.metric-card small,
.pipeline-list small {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.35;
}

.auth-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px;
}

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

.auth-panel-head h2,
.section-head h2 {
  margin: 6px 0 0;
  font-size: 30px;
  line-height: 1.05;
  letter-spacing: 0;
}

.auth-panel-head p:not(.eyebrow) {
  max-width: 360px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
}

.panel-logo {
  width: 44px;
  height: 44px;
  background: var(--green-dark);
  color: #fff;
}

.google-signin-wrap {
  display: grid;
  gap: 12px;
}

.auth-helper {
  display: grid;
  gap: 4px;
  padding: 12px 13px;
  border: 1px solid #cfe0d9;
  border-radius: 8px;
  background: #f0f7f4;
}

.auth-helper strong {
  color: var(--green-dark);
  font-size: 15px;
}

.auth-helper span {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.4;
}

.google-signin-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  width: 100%;
  overflow: hidden;
}

.google-signin-slot > div,
.google-signin-slot iframe {
  width: 100% !important;
}

.auth-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  margin: 22px 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
}

.auth-divider::before,
.auth-divider::after {
  height: 1px;
  background: var(--line);
  content: "";
}

.login-form {
  display: grid;
  gap: 16px;
}

.login-form label {
  display: grid;
  gap: 7px;
  color: #496159;
  font-size: 14px;
  font-weight: 850;
  text-transform: uppercase;
}

.login-form input[type="email"],
.login-form input[type="password"] {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 16px;
  font-weight: 650;
  outline: none;
  text-transform: none;
}

.login-form input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(22, 127, 97, 0.14);
}

.password-field {
  position: relative;
  display: block;
}

.password-field input {
  padding-right: 48px !important;
}

.password-field button {
  position: absolute;
  top: 5px;
  right: 5px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--muted);
  cursor: pointer;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 8px;
  border: 0;
  background: var(--green);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.primary-action:hover {
  background: var(--green-dark);
}

.auth-submit {
  width: 100%;
  margin-top: 4px;
}

.auth-submit svg {
  width: 18px;
  height: 18px;
}

.auth-message {
  min-height: 42px;
  margin: 18px 0 0;
  padding: 12px 13px;
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 15px;
  line-height: 1.4;
}

.auth-message:empty {
  padding: 0;
  background: transparent;
}

.auth-message[data-tone="success"] {
  background: #e8f5ef;
  color: var(--green-dark);
}

.auth-message[data-tone="error"] {
  background: #fff0ec;
  color: #a24632;
}

.auth-support {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 12px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
  text-align: center;
}

.auth-support a {
  color: var(--green-dark);
  font-weight: 850;
}

.home-workspace {
  display: grid;
  gap: 18px;
  align-content: start;
}

/* Pricing */
.pricing-workspace { display: grid; gap: 18px; align-content: start; }
.pricing-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.pricing-header h1 { max-width: 770px; margin: 6px 0 0; font-size: clamp(31px, 3.4vw, 48px); line-height: 1.06; }
.pricing-header .secondary-action { flex: 0 0 auto; }
.pricing-hero, .pricing-card, .add-on-panel { border: 1px solid var(--line); border-radius: 8px; background: var(--surface); box-shadow: var(--shadow); }
.pricing-hero { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 24px; align-items: center; padding: 28px; }
.pricing-hero h2 { max-width: 760px; margin: 6px 0 0; font-size: clamp(29px, 3vw, 43px); line-height: 1.08; }
.pricing-trust-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pricing-trust-row span { padding: 8px 10px; border-radius: 999px; background: #fff0f1; color: #97121a; font-size: 13px; font-weight: 850; }
.pricing-proof { display: grid; gap: 4px; padding: 20px; border: 1px solid #f0bec1; border-radius: 8px; background: #fff0f1; }
.pricing-proof span, .pricing-proof small, .plan-kicker, .feature-list, .add-on-grid p { color: var(--muted); }
.pricing-proof strong { font-size: 38px; line-height: 1; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pricing-card { position: relative; display: flex; flex-direction: column; gap: 22px; min-height: 520px; padding: 24px; }
.pricing-card.featured { border-color: #171717; background: linear-gradient(180deg, #171717 0%, #2a1517 100%); color: #fff; }
.pricing-card.featured .plan-head p, .pricing-card.featured .plan-kicker, .pricing-card.featured .price-row span, .pricing-card.featured .feature-list { color: #f1d8da; }
.pricing-card.featured .feature-list li::before { background: #d81925; }
.plan-badge { position: absolute; top: 18px; right: 18px; padding: 6px 9px; border-radius: 999px; background: #d81925; color: #fff; font-size: 14px; font-weight: 850; }
.plan-head { display: grid; gap: 8px; padding-right: 18px; }
.plan-head h2, .add-on-panel h2 { margin: 0; font-size: 28px; line-height: 1.1; }
.plan-head p { margin: 0; color: var(--muted); line-height: 1.5; }
.plan-kicker { font-size: 14px; font-weight: 850; text-transform: uppercase; }
.price-row { display: flex; align-items: baseline; gap: 6px; }
.price-row strong { font-size: 52px; line-height: 1; }
.price-row span { color: var(--muted); font-weight: 750; }
.feature-list { display: grid; gap: 11px; margin: 0 0 auto; padding: 0; list-style: none; line-height: 1.4; }
.feature-list li { position: relative; padding-left: 24px; }
.feature-list li::before { position: absolute; top: 0.2em; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--green); content: ""; }
.feature-list li::after { position: absolute; top: 0.39em; left: 4px; width: 5px; height: 3px; border-bottom: 2px solid #fff; border-left: 2px solid #fff; transform: rotate(-45deg); content: ""; }
.pricing-cta { width: 100%; }
.add-on-panel { display: grid; gap: 20px; padding: 24px; }
.add-on-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.add-on-grid article { display: grid; gap: 8px; align-content: start; padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: #fbfcfb; }
.add-on-grid strong, .add-on-grid span { display: block; }
.add-on-grid span { color: #97121a; font-weight: 850; }
.add-on-grid p { margin: 0; line-height: 1.5; }

.home-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 270px;
  padding: 34px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.72)),
    url("https://images.unsplash.com/photo-1551836022-d5d88e9218df?auto=format&fit=crop&w=1600&q=85")
      center / cover;
}

.secondary-action {
  border: 1px solid rgba(22, 127, 97, 0.22);
  background: #fff;
  color: var(--green-dark);
  white-space: nowrap;
}

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

.metric-card {
  display: grid;
  gap: 5px;
  min-height: 132px;
  padding: 18px;
}

.metric-card span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
  text-transform: uppercase;
}

.metric-card strong {
  font-size: 42px;
  line-height: 1;
}

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

.workspace-panel {
  display: grid;
  gap: 14px;
  padding: 22px;
}

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

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #e8f5ef;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
}

.pipeline-list,
.task-list,
.health-row {
  display: grid;
  gap: 10px;
}

.pipeline-list span,
.task-list label {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.task-list label {
  grid-template-columns: auto 1fr;
  align-items: center;
  color: #253630;
  font-weight: 780;
}

.task-list input {
  width: 17px;
  height: 17px;
  accent-color: var(--green);
}

.candidate-import {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px dashed rgba(22, 127, 97, 0.4);
  border-radius: 8px;
  background: #f5fbf7;
}

.candidate-import h3 {
  margin: 4px 0 0;
  font-size: 18px;
}

.candidate-import p:not(.eyebrow) {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.5;
}

.import-file-button {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 7px;
  background: var(--green);
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 850;
}

.import-file-button:hover { background: var(--green-dark); }
.import-file-button input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; clip-path: inset(50%); }
.import-status { min-height: 21px; }
.candidate-import-preview { display: grid; gap: 10px; padding-top: 2px; }
.import-preview-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.import-preview-head strong { color: #193c2e; font-size: 14px; }
.import-confirm-button { min-height: 38px; padding: 0 14px; font-size: 13px; cursor: pointer; }
.candidate-import-preview ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.candidate-import-preview li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; padding: 10px 12px; border-radius: 6px; background: #fff; color: #33463d; font-size: 13px; }
.candidate-import-preview li span:last-child { color: var(--muted); overflow-wrap: anywhere; }

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

.health-row strong {
  font-size: 34px;
  line-height: 1;
}

.ai-hero {
  min-height: 230px;
  background:
    radial-gradient(circle at 82% 25%, rgba(216, 163, 50, 0.32), transparent 24%),
    linear-gradient(115deg, #0e493c 0%, #126f57 54%, #164c42 100%);
  color: #fff;
}

.ai-hero .eyebrow,
.ai-hero p:not(.eyebrow) {
  color: #d7eee5;
}

.ai-hero h1 {
  color: #fff;
}

.ai-hero .secondary-action {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.ai-tools-layout {
  display: grid;
  grid-template-columns: minmax(230px, 0.65fr) minmax(360px, 1.35fr);
  gap: 18px;
}

.ai-tool-menu {
  align-content: start;
}

.ai-tool-menu .section-head {
  display: block;
  margin-bottom: 12px;
}

.ai-tool-menu h2 {
  font-size: 25px;
}

.ai-tool-choice {
  width: 100%;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.ai-tool-choice + .ai-tool-choice {
  margin-top: 10px;
}

.ai-tool-choice strong,
.ai-tool-choice span {
  display: block;
}

.ai-tool-choice strong {
  margin-bottom: 4px;
  font-size: 16px;
}

.ai-tool-choice span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.35;
}

.ai-tool-choice:hover,
.ai-tool-choice.selected {
  border-color: rgba(22, 127, 97, 0.52);
  background: #e8f5ef;
}

.ai-tool-choice.selected {
  box-shadow: inset 4px 0 0 var(--green);
}

.ai-tool-studio {
  min-height: 390px;
}

.ai-tool-studio textarea {
  width: 100%;
  min-height: 138px;
  resize: vertical;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  line-height: 1.5;
  outline: none;
}

.ai-tool-studio textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(22, 127, 97, 0.14);
}

.ai-output {
  min-height: 102px;
  margin: 2px 0 0;
  padding: 16px;
  border: 1px solid #cfe0d9;
  border-radius: 8px;
  background: #f0f7f4;
  color: #29453b;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.5;
}

.ai-helper {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

/* 3D Studio */
.studio-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 278px;
  background: linear-gradient(118deg, #102321 0%, #155c4e 49%, #1b8270 100%);
  color: #fff;
}

.studio-hero::before,
.studio-hero::after {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  content: "";
}

.studio-hero::before {
  top: -130px;
  right: 15%;
  width: 350px;
  height: 350px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow: 0 0 0 38px rgba(255, 255, 255, 0.06), 0 0 0 76px rgba(255, 255, 255, 0.035);
}

.studio-hero::after {
  right: -35px;
  bottom: -130px;
  width: 300px;
  height: 300px;
  background: rgba(216, 163, 50, 0.92);
  filter: blur(1px);
}

.studio-hero .eyebrow,
.studio-hero p:not(.eyebrow) {
  color: #d9f0e8;
}

.studio-hero h1 {
  color: #fff;
}

.studio-hero .secondary-action {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.11);
  color: #fff;
}

.studio-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(420px, 1.4fr);
  gap: 18px;
}

.studio-ideas {
  align-content: start;
}

.studio-ideas .section-head {
  display: block;
}

.studio-idea {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  width: 100%;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-soft);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.studio-idea + .studio-idea {
  margin-top: 10px;
}

.studio-idea:hover,
.studio-idea.selected {
  border-color: rgba(22, 127, 97, 0.55);
  background: #e8f5ef;
}

.studio-idea.selected {
  box-shadow: inset 4px 0 0 var(--green);
}

.studio-idea:focus-visible {
  outline: 3px solid rgba(22, 127, 97, 0.3);
  outline-offset: 2px;
}

.idea-number {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 10px;
  background: var(--green-dark);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.studio-idea strong,
.studio-idea span {
  display: block;
}

.studio-idea strong {
  margin-bottom: 3px;
  font-size: 16px;
}

.studio-idea span:not(.idea-number) {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.4;
}

.studio-canvas {
  min-height: 560px;
  overflow: hidden;
  background: linear-gradient(145deg, #f5faf7, #e7f1ed);
}

.studio-canvas .section-head {
  align-items: start;
}

.studio-summary {
  max-width: 440px;
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.studio-stage {
  position: relative;
  display: grid;
  min-height: 365px;
  place-items: center;
  overflow: hidden;
  border: 1px solid #cee0d7;
  border-radius: 14px;
  background:
    linear-gradient(rgba(19, 101, 80, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19, 101, 80, 0.06) 1px, transparent 1px),
    radial-gradient(circle at 50% 25%, #fff 0, #eef7f3 52%, #dcebe4 100%);
  background-size: 26px 26px, 26px 26px, auto;
  perspective: 900px;
}

.studio-stage::before {
  position: absolute;
  bottom: 38px;
  width: 250px;
  height: 54px;
  border-radius: 50%;
  background: rgba(11, 52, 42, 0.18);
  filter: blur(13px);
  content: "";
}

.studio-orbit {
  position: absolute;
  width: 265px;
  height: 108px;
  border: 2px solid rgba(22, 127, 97, 0.38);
  border-radius: 50%;
  transform: rotateX(68deg) rotateZ(-14deg);
}

.studio-orbit.orbit-two {
  width: 220px;
  height: 95px;
  border-color: rgba(216, 163, 50, 0.65);
  transform: rotateX(68deg) rotateZ(48deg);
}

.studio-cube {
  position: relative;
  width: 145px;
  height: 145px;
  transform: rotateX(-26deg) rotateY(36deg);
  transform-style: preserve-3d;
  transition: transform 450ms ease;
}

.studio-stage:hover .studio-cube {
  transform: rotateX(-18deg) rotateY(54deg) translateY(-7px);
}

.cube-face {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: linear-gradient(135deg, rgba(21, 126, 96, 0.94), rgba(11, 74, 59, 0.92));
  color: #fff;
  font-size: 21px;
  font-weight: 900;
  box-shadow: inset 0 0 24px rgba(255, 255, 255, 0.16);
}

.cube-face.front { transform: translateZ(72px); }
.cube-face.back { transform: rotateY(180deg) translateZ(72px); }
.cube-face.right { background: #0b4a3b; transform: rotateY(90deg) translateZ(72px); }
.cube-face.left { background: #1f9376; transform: rotateY(-90deg) translateZ(72px); }
.cube-face.top { background: #47b796; transform: rotateX(90deg) translateZ(72px); }
.cube-face.bottom { background: #083d31; transform: rotateX(-90deg) translateZ(72px); }

.stage-chip {
  position: absolute;
  min-width: 102px;
  padding: 8px 10px;
  border: 1px solid rgba(22, 127, 97, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.87);
  box-shadow: 0 8px 18px rgba(19, 66, 54, 0.1);
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.chip-one { top: 42px; left: 9%; }
.chip-two { right: 8%; bottom: 52px; }
.chip-three { right: 10%; top: 86px; }

.studio-stage[data-concept="equity"] .studio-cube { transform: rotateX(-26deg) rotateY(-36deg); }
.studio-stage[data-concept="interview"] .studio-orbit { border-color: rgba(216, 163, 50, 0.7); }
.studio-stage[data-concept="skills"] .cube-face.front { background: linear-gradient(135deg, #d8a332, #aa7320); }
.studio-stage[data-concept="onboarding"] .cube-face.top { background: #7bcdb3; }

.studio-footer-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.studio-footer-note::before {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(22, 127, 97, 0.12);
  content: "";
}

@media (max-width: 1100px) {
  .app-shell {
    grid-template-columns: 86px minmax(0, 1fr);
  }

  .sidebar {
    padding-inline: 12px;
  }

  .brand span:not(.brand-mark),
  .nav-item {
    font-size: 0;
  }

  .brand,
  .nav-item {
    justify-content: center;
  }

  .sidebar-card {
    display: none;
  }

  .auth-layout,
  .content-grid,
  .ai-tools-layout,
  .studio-layout,
  .pricing-grid,
  .add-on-grid {
    grid-template-columns: 1fr;
  }

  .pricing-hero {
    grid-template-columns: 1fr;
  }

  .auth-story {
    min-height: 420px;
  }

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

@media (max-width: 720px) {
  .app-shell {
    display: block;
  }

  .sidebar {
    position: static;
    width: 100%;
    height: auto;
    max-width: 100vw;
    flex-direction: row;
    align-items: center;
    overflow-x: auto;
    padding: 10px;
    scrollbar-width: none;
  }

  .sidebar::-webkit-scrollbar {
    display: none;
  }

  .brand {
    display: none;
  }

  .nav-stack {
    display: flex;
    flex: 0 0 auto;
  }

  .nav-utility {
    margin-left: auto;
  }

  .workspace {
    width: 100vw;
    max-width: 100vw;
    overflow-x: hidden;
    padding: 18px;
  }

  .auth-workspace {
    min-height: auto;
  }

  .auth-story,
  .auth-panel,
  .home-hero,
  .workspace-panel {
    padding: 22px;
  }

  .auth-proof-grid,
  .metric-grid,
  .health-row {
    grid-template-columns: 1fr;
  }

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

  .pricing-header {
    align-items: stretch;
    flex-direction: column;
  }

  .pricing-header .secondary-action {
    width: 100%;
  }

  .import-preview-head {
    align-items: stretch;
    flex-direction: column;
  }

  .import-confirm-button {
    width: 100%;
  }

  .candidate-import-preview li {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .home-hero h1,
  .auth-story h1 {
    font-size: clamp(34px, 12vw, 48px);
  }
}

/* Login route: keep its red, black, and white theme independent from the workspace. */
.login-page {
  min-width: 320px;
  min-height: 100vh;
  background: #f7f7f8;
  color: #101114;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.login-page .login-shell {
  display: grid;
  grid-template-columns: minmax(420px, 42%) minmax(0, 1fr);
  min-height: 100vh;
}

.login-page .login-story {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 24px 22px 18vh;
  background:
    radial-gradient(ellipse 80% 52% at -11% 0%, rgba(225, 39, 43, 0.95) 0%, rgba(164, 20, 26, 0.82) 34%, rgba(24, 17, 18, 0.42) 65%, transparent 100%),
    linear-gradient(145deg, #211617 0%, #111112 53%, #101011 100%);
  color: #ffffff;
}

.login-page .login-story::after {
  position: absolute;
  z-index: -1;
  right: -165px;
  bottom: -210px;
  width: min(42vw, 610px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #f34043;
  content: "";
}

.login-page .login-brand {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 14px;
  color: #ffffff;
  font-size: 24px;
  font-weight: 850;
  letter-spacing: 0;
}

.login-page .login-brand-mark {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 50%;
  background: #ffffff;
  color: #101114;
  font-size: 29px;
  font-weight: 900;
  line-height: 1;
}

.login-page .login-story-copy {
  max-width: 720px;
}

.login-page .login-kicker {
  margin: 0;
  color: #ff9d9f;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 3px;
  line-height: 1.35;
  text-transform: uppercase;
}

.login-page .login-story h1 {
  max-width: 650px;
  margin: 38px 0 42px;
  color: #ffffff;
  font-size: clamp(50px, 5.1vw, 84px);
  font-weight: 830;
  letter-spacing: 0;
  line-height: 0.98;
}

.login-page .login-story-copy > p:last-child {
  max-width: 670px;
  margin: 0;
  color: #cad0d5;
  font-size: 22px;
  line-height: 1.72;
}

.login-page .login-main {
  display: grid;
  min-width: 0;
  min-height: 100vh;
  place-items: center;
  padding: 66px 38px;
  background: #f7f7f8;
}

.login-page .login-form-area {
  width: min(100%, 624px);
}

.login-page .back-home {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 58px;
  color: #101114;
  font-size: 18px;
  font-weight: 780;
}

.login-page .back-home::before {
  content: "←";
  font-size: 24px;
  line-height: 0.7;
}

.login-page .login-heading {
  margin-bottom: 48px;
}

.login-page .login-heading .login-kicker {
  color: #e8282c;
}

.login-page .login-heading h2 {
  margin: 25px 0 20px;
  color: #101114;
  font-size: 54px;
  font-weight: 860;
  letter-spacing: 0;
  line-height: 0.98;
}

.login-page .login-heading > p:last-child {
  margin: 0;
  color: #5e6670;
  font-size: 21px;
  line-height: 1.5;
}

.login-page .google-login-wrap {
  width: 100%;
}

.login-page .google-signin-slot {
  display: flex;
  width: 100%;
  min-height: 74px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid #dcdee2;
  border-radius: 17px;
  background: #ffffff;
}

.login-page .google-signin-slot > div,
.login-page .google-signin-slot iframe {
  width: 100% !important;
}

.login-page .login-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  margin: 48px 0 42px;
  color: #7d858e;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.login-page .login-divider::before,
.login-page .login-divider::after {
  height: 1px;
  background: #dedfe3;
  content: "";
}

.login-page .red-login-form {
  gap: 28px;
}

.login-page .red-login-form label:not(.remember-option) {
  gap: 12px;
  color: #141519;
  font-size: 17px;
  font-weight: 820;
  letter-spacing: 0;
  text-transform: none;
}

.login-page .red-login-form input[type="email"],
.login-page .red-login-form input[type="password"] {
  min-height: 69px;
  padding: 0 20px;
  border: 1px solid #dcdde1;
  border-radius: 17px;
  background: #ffffff;
  color: #101114;
  font-size: 18px;
  font-weight: 650;
}

.login-page .red-login-form input::placeholder {
  color: #a5abb2;
  opacity: 1;
}

.login-page .red-login-form input:focus {
  border-color: #e8282c;
  box-shadow: 0 0 0 4px rgba(232, 40, 44, 0.13);
}

.login-page .red-login-form .password-field button {
  top: 10px;
  right: 10px;
  width: 49px;
  height: 49px;
  background: transparent;
  color: #5f6871;
}

.login-page .login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: -3px;
}

.login-page .remember-option {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #5e6670;
  font-size: 17px;
  font-weight: 650;
}

.login-page .remember-option input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: #e8282c;
}

.login-page .terms-option {
  display: inline-flex;
  align-items: flex-start;
  gap: 12px;
  color: #5e6670;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.45;
  text-transform: none;
}

.login-page .terms-option input {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  margin: 2px 0 0;
  accent-color: #e8282c;
}

.signup-page .login-heading {
  margin-bottom: 38px;
}

.signup-page .login-main {
  padding-block: 42px;
}

.signup-page .login-story h1 {
  max-width: 680px;
}

.login-page .login-options a,
.login-page .login-access a {
  color: #e8282c;
  font-size: 17px;
  font-weight: 820;
}

.login-page .login-submit {
  min-height: 72px;
  border: 0;
  border-radius: 17px;
  background: #e8282c;
  color: #ffffff;
  font-size: 20px;
  font-weight: 820;
  cursor: pointer;
}

.login-page .login-submit:hover {
  background: #c91e23;
}

.login-page .login-submit:focus-visible,
.login-page .back-home:focus-visible,
.login-page .login-options a:focus-visible,
.login-page .login-access a:focus-visible {
  outline: 3px solid #e8282c;
  outline-offset: 4px;
}

.login-page .login-message {
  margin: 18px 0 0;
  text-align: center;
}

.login-page .login-message[data-tone="success"] {
  background: #fff0f0;
  color: #b91d22;
}

.login-page .login-provider-note,
.login-page .login-access {
  margin: 26px auto 0;
  color: #5e6670;
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
}

.login-page .login-access {
  margin-top: 28px;
}

.login-page .login-access a {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

@media (max-width: 960px) {
  .login-page .login-shell {
    grid-template-columns: minmax(300px, 39%) minmax(0, 1fr);
  }

  .login-page .login-story {
    padding: 22px 20px 80px;
  }

  .login-page .login-story h1 {
    margin: 30px 0;
    font-size: clamp(42px, 6.4vw, 62px);
  }

  .login-page .login-story-copy > p:last-child {
    font-size: 18px;
  }

  .login-page .login-main {
    padding: 48px 30px;
  }
}

@media (max-width: 720px) {
  .login-page .login-shell {
    display: block;
  }

  .login-page .login-story {
    min-height: 360px;
    padding: 18px 20px 44px;
  }

  .login-page .login-brand {
    font-size: 20px;
  }

  .login-page .login-brand-mark {
    width: 45px;
    height: 45px;
    font-size: 24px;
  }

  .login-page .login-story h1 {
    max-width: 500px;
    margin: 50px 0 18px;
    font-size: clamp(41px, 11vw, 58px);
  }

  .login-page .login-story-copy > p:last-child {
    font-size: 17px;
    line-height: 1.55;
  }

  .login-page .login-main {
    min-height: auto;
    padding: 38px 20px 56px;
  }

  .login-page .back-home {
    margin-bottom: 46px;
    font-size: 16px;
  }

  .login-page .login-heading {
    margin-bottom: 34px;
  }

  .login-page .login-heading h2 {
    font-size: 45px;
  }

  .login-page .login-heading > p:last-child {
    font-size: 18px;
  }

  .login-page .login-divider {
    margin: 38px 0 34px;
  }

  .login-page .red-login-form {
    gap: 23px;
  }

  .login-page .terms-option {
    font-size: 15px;
  }

  .login-page .red-login-form input[type="email"],
  .login-page .red-login-form input[type="password"],
  .login-page .login-submit {
    min-height: 62px;
    border-radius: 14px;
  }
}

@media (max-width: 420px) {
  .login-page .login-options {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
}

/* Account overview */
.account-workspace {
  display: grid;
  gap: 18px;
  align-content: start;
}

.account-hero,
.account-profile-card,
.account-stat,
.account-details,
.account-preferences,
.account-security {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.account-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding: 34px;
  background:
    radial-gradient(circle at 87% 6%, rgba(216, 163, 50, 0.22), transparent 29%),
    linear-gradient(125deg, #103c32, #176c58 58%, #1f7e69);
  color: #fff;
}

.account-hero .eyebrow,
.account-hero p:not(.eyebrow) {
  color: #d7eee5;
}

.account-hero h1 {
  max-width: 670px;
  margin: 7px 0 12px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.04;
}

.account-hero p:not(.eyebrow) {
  max-width: 630px;
  margin: 0;
  font-size: 17px;
  line-height: 1.5;
}

.account-hero .secondary-action {
  flex: 0 0 auto;
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.account-profile-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px 28px;
}

.account-avatar {
  display: grid;
  width: 68px;
  height: 68px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #d8a332, #ad7523);
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.account-profile-copy h2 {
  margin: 4px 0 3px;
  font-size: 25px;
}

.account-profile-copy > p:not(.eyebrow),
.account-email {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
}

.account-email {
  display: inline-block;
  margin-top: 6px;
  color: var(--green-dark);
}

.account-profile-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 10px 13px;
  border: 1px solid #cce4da;
  border-radius: 999px;
  background: #eff8f3;
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 850;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(22, 127, 97, 0.12);
}

.account-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.account-stat {
  display: grid;
  gap: 6px;
  min-height: 156px;
  padding: 22px;
}

.account-stat > span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
}

.account-stat strong {
  color: var(--green-dark);
  font-size: 31px;
  line-height: 1.08;
}

.account-stat small {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.35;
}

.account-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
}

.account-layout .workspace-panel {
  min-height: 0;
}

.text-action {
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.account-list {
  display: grid;
  gap: 0;
  margin: 0;
}

.account-list > div {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 16px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}

.account-list dt {
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.account-list dd {
  margin: 0;
  color: #294238;
  font-size: 15px;
  font-weight: 800;
}

.role-badge,
.preference-state {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 9px;
  border-radius: 999px;
  background: #e8f5ef;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 900;
}

.preference-list {
  display: grid;
  gap: 0;
}

.preference-list > div {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 11px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.preference-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 9px;
  background: var(--surface-soft);
  color: var(--green-dark);
}

.preference-icon svg {
  width: 18px;
  height: 18px;
}

.preference-list strong,
.preference-list small {
  display: block;
}

.preference-list strong {
  color: #294238;
  font-size: 15px;
}

.preference-list small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.account-security {
  grid-column: 1 / -1;
}

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

.security-grid > div {
  display: grid;
  gap: 5px;
  padding: 15px;
  border: 1px solid #d6e6df;
  border-radius: 9px;
  background: #f5faf7;
}

.security-grid strong {
  color: #294238;
  font-size: 15px;
}

.security-grid span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.4;
}

@media (max-width: 960px) {
  .account-summary-grid,
  .security-grid {
    grid-template-columns: 1fr;
  }

  .account-layout {
    grid-template-columns: 1fr;
  }

  .account-security {
    grid-column: auto;
  }
}

@media (max-width: 720px) {
  .account-hero,
  .account-profile-card {
    align-items: flex-start;
    flex-direction: column;
    padding: 22px;
  }

  .account-profile-status {
    margin-left: 0;
  }

  .account-hero .secondary-action {
    width: 100%;
  }

  .account-list > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}

/* AI HR Dashboard */
.dashboard-workspace { max-width: 1600px; padding: 34px; }
.dashboard-topbar { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding-bottom: 26px; }
.dashboard-topbar h1 { margin: 7px 0 8px; color: #111; font-size: clamp(38px, 4vw, 58px); letter-spacing: -0.055em; line-height: 0.95; }
.dashboard-topbar > div:first-child > p:not(.eyebrow) { max-width: 670px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.6; }
.dashboard-actions { display: flex; gap: 10px; flex: 0 0 auto; }
.dashboard-button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 0 16px; border-radius: 5px; background: #d81925; color: #fff; font-size: 14px; font-weight: 850; }
.dashboard-button:hover { background: #ab111a; }
.dashboard-button-ghost { border: 1px solid #1a1a1a; background: #fff; color: #181818; }
.dashboard-button-ghost:hover { background: #181818; color: #fff; }
.dashboard-alert { display: flex; align-items: center; gap: 11px; margin-bottom: 18px; padding: 13px 16px; border: 1px solid #efc6c8; border-left: 4px solid #d81925; background: #fff; }
.dashboard-alert p { flex: 1; margin: 0; color: #393939; font-size: 14px; line-height: 1.45; }
.dashboard-alert strong { color: #191919; }
.dashboard-alert a { color: #b7101a; font-size: 13px; font-weight: 850; white-space: nowrap; }
.alert-dot { width: 9px; height: 9px; border-radius: 50%; background: #d81925; box-shadow: 0 0 0 5px #fae0e1; }
.dashboard-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.dashboard-kpis article { display: grid; gap: 8px; min-height: 142px; padding: 18px; border: 1px solid #dedede; border-top: 3px solid #191919; background: #fff; }
.dashboard-kpis article:first-child { border-top-color: #d81925; }
.dashboard-kpis span { color: #676767; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }
.dashboard-kpis strong { color: #171717; font-size: 36px; letter-spacing: -0.045em; line-height: 1; }
.dashboard-kpis small { color: #737373; font-size: 13px; font-weight: 650; }
.dashboard-kpis b { color: #b7101a; font-weight: 850; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.92fr); gap: 18px; align-items: start; }
.dashboard-panel { min-width: 0; padding: 22px; border: 1px solid #dedede; background: #fff; box-shadow: 0 12px 24px rgba(0, 0, 0, 0.035); }
.dashboard-panel-head { display: flex; align-items: start; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.dashboard-panel-head h2 { margin: 5px 0 0; color: #181818; font-size: 24px; letter-spacing: -0.035em; }
.dashboard-panel-head > a { color: #b7101a; font-size: 13px; font-weight: 850; }
.candidate-table { display: grid; border-top: 1px solid #e7e7e7; }
.candidate-table-head, .candidate-table-row { display: grid; grid-template-columns: 1.25fr 1fr 1fr auto; gap: 14px; align-items: center; }
.candidate-table-head { padding: 10px 12px; color: #7a7a7a; font-size: 11px; font-weight: 850; letter-spacing: 0.07em; text-transform: uppercase; }
.candidate-table-row { padding: 14px 12px; border-top: 1px solid #ededed; color: #4c4c4c; font-size: 13px; }
.candidate-table-row > span:first-child { display: grid; gap: 3px; }
.candidate-table-row b { color: #181818; font-size: 14px; }
.candidate-table-row small { color: #858585; font-size: 12px; }
.status-chip { display: inline-flex; justify-content: center; padding: 6px 9px; border: 1px solid #d8d8d8; border-radius: 999px; color: #3d3d3d; font-size: 11px; font-weight: 850; white-space: nowrap; }
.status-red { border-color: #f0bec1; background: #fff0f1; color: #ad1119; }
.status-dark { border-color: #242424; background: #202020; color: #fff; }
.dashboard-panel .candidate-import { margin-top: 20px; border-color: #dadada; border-left: 3px solid #d81925; border-radius: 0; background: #fafafa; }
.dashboard-panel .candidate-import h3 { color: #1b1b1b; }
.import-file-button { background: #191919; border-radius: 4px; }
.import-file-button:hover { background: #d81925; }
.import-status[data-tone="success"] { color: #a70f18 !important; }
.import-status[data-tone="error"] { color: #c30f1b !important; }
.candidate-import-preview li { border: 1px solid #e4e4e4; border-radius: 3px; }
.daily-panel { background: #161616; color: #fff; }
.daily-panel .dashboard-panel-head h2, .daily-panel .eyebrow { color: #fff; }
.daily-panel .eyebrow { opacity: 0.65; }
.live-dot { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-size: 12px; font-weight: 800; }
.live-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #df2631; }
.agenda-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.agenda-list li { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 15px 0; border-top: 1px solid rgba(255,255,255,0.15); }
.agenda-list time { color: #ef5860; font-size: 13px; font-weight: 850; }
.agenda-list div { display: grid; gap: 4px; }
.agenda-list strong { font-size: 14px; }
.agenda-list span, .agenda-list em { color: #b8b8b8; font-size: 12px; font-style: normal; }
.decision-stack { display: grid; gap: 5px; margin-top: 9px; padding: 14px; border: 1px solid rgba(255,255,255,0.16); background: #282828; }
.decision-stack strong { color: #fff; font-size: 14px; }
.decision-stack span { color: #bdbdbd; font-size: 13px; line-height: 1.45; }
.decision-stack a { color: #ff6971; font-size: 13px; font-weight: 850; }
.funnel-panel, .action-panel { min-height: 278px; }
.funnel-list { display: grid; gap: 15px; }
.funnel-list > div { display: grid; grid-template-columns: 85px 38px minmax(0,1fr); align-items: center; gap: 10px; }
.funnel-list span { color: #555; font-size: 13px; font-weight: 700; }
.funnel-list b { color: #1d1d1d; font-size: 13px; }
.funnel-list i { display: block; height: 9px; border-radius: 999px; background: #d81925; }
.period-label { color: #757575; font-size: 12px; font-weight: 750; }
.funnel-footer { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 20px; padding-top: 14px; border-top: 1px solid #e7e7e7; color: #707070; font-size: 12px; }
.funnel-footer b { color: #191919; }
.action-panel { grid-column: 1 / -1; }
.action-panel .dashboard-panel-head { margin-bottom: 6px; }
.ai-action { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 15px 0; border-top: 1px solid #e8e8e8; }
.ai-action > span { display: grid; place-items: center; width: 30px; height: 30px; background: #181818; color: #fff; font-size: 11px; font-weight: 850; }
.ai-action div { display: grid; gap: 4px; }
.ai-action strong { color: #1c1c1c; font-size: 14px; }
.ai-action p { margin: 0; color: #717171; font-size: 13px; line-height: 1.45; }
.ai-action a { color: #b7101a; font-size: 13px; font-weight: 850; }

@media (max-width: 1100px) {
  .dashboard-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dashboard-grid { grid-template-columns: 1fr; }
  .action-panel { grid-column: auto; }
}

@media (max-width: 720px) {
  .dashboard-workspace { padding: 20px; }
  .dashboard-topbar, .dashboard-actions { align-items: stretch; flex-direction: column; }
  .dashboard-actions { width: 100%; }
  .dashboard-button { width: 100%; }
  .dashboard-alert { align-items: flex-start; flex-wrap: wrap; }
  .dashboard-alert a { margin-left: 20px; }
  .dashboard-kpis { grid-template-columns: 1fr; }
  .candidate-table-head { display: none; }
  .candidate-table-row { grid-template-columns: 1fr; gap: 6px; }
  .candidate-table-row > span:nth-child(2)::before { content: "Role: "; color: #888; }
  .candidate-table-row > span:nth-child(3)::before { content: "Next: "; color: #888; }
  .status-chip { width: fit-content; }
  .ai-action { grid-template-columns: 32px minmax(0, 1fr); }
  .ai-action a { grid-column: 2; }
}
