:root {
  --page: #fbfcff;
  --page-2: #f1f5ff;
  --surface: #ffffff;
  --surface-2: #f6f8ff;
  --surface-3: #ecf4ff;
  --ink: #07111f;
  --ink-2: #243246;
  --muted: #647187;
  --muted-2: #91a0b4;
  --line: #d8e2f0;
  --line-strong: #b7c5d9;
  --navy: #07111f;
  --teal: #04b8a5;
  --teal-dark: #007b74;
  --blue: #225cff;
  --violet: #7b3ff3;
  --coral: #ff5b4a;
  --sun: #ffc83d;
  --lime: #d8ff4f;
  --amber: #a76500;
  --amber-bg: #fff6d8;
  --red: #c73935;
  --red-bg: #fff0ef;
  --green-bg: #e9fff8;
  --shadow: 0 24px 60px rgba(7, 17, 31, 0.13);
  --shadow-tight: 0 12px 28px rgba(7, 17, 31, 0.09);
  --mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  --sans: "Plus Jakarta Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: var(--sans);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(132deg, rgba(255, 200, 61, 0.18) 0 16%, transparent 16% 100%),
    linear-gradient(312deg, rgba(34, 92, 255, 0.13) 0 20%, transparent 20% 100%),
    linear-gradient(180deg, #ffffff 0%, #f7f9ff 52%, #eef6ff 100%);
  color: var(--ink);
  font-family: var(--sans);
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7, 17, 31, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(7, 17, 31, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 72%);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(216, 226, 240, 0.82);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(20px) saturate(1.35);
}

.nav {
  max-width: 1320px;
  min-height: 70px;
  margin: 0 auto;
  padding: 0 26px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-right: auto;
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(7, 17, 31, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, var(--lime) 0 45%, transparent 45% 100%),
    linear-gradient(145deg, var(--ink), #263449);
  color: #fff;
  box-shadow: 0 10px 26px rgba(7, 17, 31, 0.2);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.nav-links a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 7px 10px;
  color: #536276;
  text-decoration: none;
  font-weight: 800;
  white-space: nowrap;
}

.nav-links a:hover {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
}

.button,
button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #07111f;
  border-radius: 8px;
  padding: 11px 16px;
  background:
    linear-gradient(135deg, #07111f 0 62%, #1b2940 62% 100%);
  color: #fff;
  box-shadow: 0 14px 30px rgba(7, 17, 31, 0.2);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

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

.button.secondary {
  border-color: var(--line-strong);
  background:
    linear-gradient(135deg, #fff 0 70%, rgba(216, 255, 79, 0.42) 70% 100%);
  color: var(--ink);
  box-shadow: var(--shadow-tight);
}

.button.ghost {
  border-color: rgba(34, 92, 255, 0.24);
  background: rgba(34, 92, 255, 0.08);
  color: var(--blue);
  box-shadow: none;
}

.button.tiny {
  min-height: 32px;
  padding: 7px 10px;
  font-size: 11px;
  border-radius: 6px;
}

button:disabled,
.button.disabled {
  opacity: 0.62;
  cursor: not-allowed;
  transform: none;
}

.main {
  overflow: hidden;
}

.section {
  max-width: 1320px;
  margin: 0 auto;
  padding: 82px 26px;
}

.hero {
  min-height: calc(100vh - 70px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 550px;
  gap: 44px;
  align-items: center;
  padding-top: 54px;
  padding-bottom: 58px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 3px;
  background: linear-gradient(90deg, var(--coral), var(--sun), var(--teal));
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
}

h1 {
  max-width: 860px;
  font-family: var(--sans);
  font-size: clamp(46px, 6.4vw, 86px);
  line-height: 0.96;
  font-weight: 950;
}

h2 {
  max-width: 780px;
  font-family: var(--sans);
  font-size: clamp(31px, 4.2vw, 56px);
  line-height: 1.02;
  font-weight: 950;
}

h3 {
  font-size: 18px;
  line-height: 1.25;
  font-weight: 900;
}

.lead {
  max-width: 710px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.62;
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.proof-strip {
  max-width: 720px;
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-tight);
}

.proof-strip div {
  padding: 18px;
  border-right: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 200, 61, 0.16), transparent 42%),
    #fff;
}

.proof-strip div:nth-child(2) {
  background:
    linear-gradient(135deg, rgba(4, 184, 165, 0.14), transparent 42%),
    #fff;
}

.proof-strip div:nth-child(3) {
  background:
    linear-gradient(135deg, rgba(255, 91, 74, 0.12), transparent 42%),
    #fff;
}

.proof-strip div:last-child {
  border-right: 0;
}

.proof-strip b {
  display: block;
  color: var(--ink);
  font-size: 28px;
  font-weight: 950;
}

.proof-strip span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.interface-card,
.panel,
.auth-card,
.price-card,
.feature-card,
.timeline-item,
.metric,
.page-head,
.table-wrap,
.audit-item,
.upload-box,
.safety-banner {
  border-radius: 8px;
}

.interface-card {
  position: relative;
  border: 1px solid rgba(183, 197, 217, 0.84);
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.interface-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(34, 92, 255, 0.13), transparent 32%),
    linear-gradient(315deg, rgba(255, 91, 74, 0.11), transparent 30%);
}

.panel,
.auth-card,
.price-card {
  border: 1px solid rgba(183, 197, 217, 0.9);
  background:
    linear-gradient(135deg, rgba(4, 184, 165, 0.11), transparent 30%),
    #fff;
  padding: 24px;
  box-shadow: var(--shadow-tight);
}

.panel p,
.auth-card p,
.price-card p {
  line-height: 1.58;
}

.browser-bar {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid var(--line);
  padding: 0 15px;
  background: linear-gradient(90deg, #f7f9ff, #fff);
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--line-strong);
}

.dot:nth-child(1) {
  background: var(--coral);
}

.dot:nth-child(2) {
  background: var(--sun);
}

.dot:nth-child(3) {
  background: var(--teal);
}

.screen {
  position: relative;
  padding: 20px;
}

.ledger-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}

.ledger-top strong {
  display: block;
  font-size: 22px;
  font-weight: 950;
}

.ledger-top p,
.page-head p,
.feature-card p,
.metric span,
.muted {
  color: var(--muted);
}

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

.screen .metrics {
  margin-top: 16px;
}

.metric {
  position: relative;
  min-height: 112px;
  border: 1px solid rgba(216, 226, 240, 0.96);
  background:
    linear-gradient(180deg, #fff, #f8fbff);
  padding: 18px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.metric::after {
  content: "";
  position: absolute;
  top: 14px;
  right: 14px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(4, 184, 165, 0.13);
}

.metric:nth-child(2)::after {
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(34, 92, 255, 0.12);
}

.metric:nth-child(3)::after {
  background: var(--coral);
  box-shadow: 0 0 0 4px rgba(255, 91, 74, 0.12);
}

.metric:nth-child(4)::after {
  background: var(--sun);
  box-shadow: 0 0 0 4px rgba(255, 200, 61, 0.18);
}

.metric b {
  display: block;
  color: var(--ink);
  font-size: 34px;
  line-height: 1;
  font-weight: 950;
}

.metric span {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 800;
}

.status {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  max-width: 100%;
  border: 1px solid rgba(4, 184, 165, 0.28);
  border-radius: 999px;
  background: var(--green-bg);
  color: #00766d;
  padding: 5px 9px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 900;
  white-space: normal;
}

.status.warn {
  border-color: rgba(167, 101, 0, 0.28);
  background: var(--amber-bg);
  color: var(--amber);
}

.status.success {
  border-color: rgba(4, 184, 165, 0.32);
  background: var(--green-bg);
  color: #00665f;
}

.status.block {
  border-color: rgba(199, 57, 53, 0.28);
  background: var(--red-bg);
  color: var(--red);
}

.feedback-control {
  display: grid;
  gap: 8px;
  min-width: 245px;
}

.feedback-current {
  font-size: 12px;
  line-height: 1.4;
}

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

.feedback-button {
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
}

.feedback-button:hover,
.feedback-button.active {
  border-color: rgba(4, 184, 165, 0.45);
  background: var(--green-bg);
  color: #00665f;
}

.feedback-button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.feedback-note {
  display: grid;
  gap: 5px;
}

.feedback-note span,
.feedback-message {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
  color: var(--muted);
}

.feedback-note input {
  width: 100%;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 7px 9px;
  font: 600 12px/1.35 var(--sans);
}

.feedback-message {
  min-height: 14px;
  margin: 0;
}

.feedback-message.success {
  color: #00766d;
}

.feedback-message.error {
  color: var(--red);
}

.table-wrap {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-tight);
}

.table-caption {
  margin: 0;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  font-weight: 900;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

th {
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, #f3f7ff, #ffffff);
  color: #415065;
  padding: 12px 14px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 900;
  text-align: left;
  text-transform: uppercase;
}

td {
  border-bottom: 1px solid #edf2f9;
  padding: 14px;
  color: var(--ink-2);
  vertical-align: top;
  line-height: 1.45;
}

tr:last-child td {
  border-bottom: 0;
}

tbody tr:hover td {
  background: #fbfdff;
}

td strong {
  color: var(--ink);
  font-weight: 900;
}

.job-posting-link {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid rgba(79, 25, 235, 0.24);
  border-radius: 999px;
  background: rgba(79, 25, 235, 0.08);
  color: var(--blue);
  padding: 5px 9px;
  margin-top: 7px;
  font-size: 12px;
  font-weight: 950;
  text-decoration: none;
}

.job-posting-link:hover {
  background: var(--blue);
  color: #fff;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: start;
}

.feature-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature-card {
  min-height: 190px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 200, 61, 0.14), transparent 34%),
    rgba(255, 255, 255, 0.94);
  padding: 22px;
  box-shadow: var(--shadow-tight);
}

.feature-card:nth-child(2n) {
  background:
    linear-gradient(135deg, rgba(34, 92, 255, 0.1), transparent 34%),
    rgba(255, 255, 255, 0.94);
}

.feature-card:nth-child(3n) {
  background:
    linear-gradient(135deg, rgba(255, 91, 74, 0.1), transparent 34%),
    rgba(255, 255, 255, 0.94);
}

.feature-card .num {
  display: inline-flex;
  margin-bottom: 20px;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 900;
}

.feature-card p {
  margin: 12px 0 0;
  line-height: 1.55;
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  padding: 16px;
  box-shadow: var(--shadow-tight);
}

.timeline-item b {
  color: var(--blue);
  font-family: var(--mono);
  font-size: 12px;
}

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

label {
  display: grid;
  gap: 8px;
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 900;
}

input,
textarea,
select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  padding: 10px 12px;
  font: inherit;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

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

input:focus,
textarea:focus,
select:focus {
  outline: 3px solid rgba(34, 92, 255, 0.14);
  border-color: var(--blue);
}

.upload-box {
  position: relative;
  min-height: 128px;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  align-items: center;
  border: 1px dashed var(--blue);
  background:
    linear-gradient(135deg, rgba(34, 92, 255, 0.1), transparent 34%),
    linear-gradient(315deg, rgba(4, 184, 165, 0.1), transparent 34%),
    #fff;
  padding: 18px;
  margin-top: 14px;
}

.upload-box input[type="file"] {
  min-height: 0;
  border: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.upload-box strong {
  display: block;
  font-size: 18px;
  font-weight: 950;
}

.upload-box p {
  margin: 6px 0 8px;
  color: var(--muted);
  line-height: 1.45;
}

.consent-row {
  display: flex;
  grid-template-columns: none;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  color: var(--ink-2);
  line-height: 1.45;
}

.consent-row input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 2px;
  accent-color: var(--blue);
}

.connection-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink-2);
  line-height: 1.45;
}

.connection-row input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 4px;
  accent-color: var(--blue);
}

.connection-row small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

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

.cv-compare-grid article,
.cv-enrichment-notes article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 14px;
}

.cv-compare-grid h4 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 950;
}

.cv-compare-grid pre {
  max-height: 520px;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.5;
}

.cv-enrichment-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.cv-enrichment-notes strong {
  display: block;
  margin-bottom: 8px;
}

.cv-enrichment-notes ul {
  margin: 0;
  padding-left: 18px;
}

.dashboard {
  max-width: 100%;
  min-width: 0;
  min-height: calc(100vh - 70px);
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  padding: 0;
}

.sidebar {
  position: sticky;
  top: 70px;
  align-self: start;
  min-height: calc(100vh - 70px);
  border-right: 1px solid rgba(216, 226, 240, 0.86);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
  padding: 24px 14px;
}

.sidebar a {
  min-height: 38px;
  display: flex;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 9px 12px;
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
}

.sidebar a:hover {
  color: var(--ink);
}

.sidebar a.active {
  border-color: rgba(34, 92, 255, 0.22);
  background: rgba(34, 92, 255, 0.09);
  color: var(--ink);
}

.workbench {
  width: 100%;
  max-width: 1280px;
  min-width: 0;
  margin: 0 auto;
  padding: 32px;
}

.page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(216, 255, 79, 0.38), transparent 30%),
    linear-gradient(315deg, rgba(34, 92, 255, 0.12), transparent 28%),
    #fff;
  padding: 24px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-tight);
}

.page-head .button {
  justify-self: start;
  white-space: nowrap;
}

.page-head p {
  max-width: 720px;
  line-height: 1.55;
}

.dashboard .metrics {
  margin: 18px 0;
}

.capacity-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.2fr);
  gap: 24px;
  align-items: start;
  border: 1px solid rgba(183, 197, 217, 0.9);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(34, 92, 255, 0.12), transparent 30%),
    linear-gradient(315deg, rgba(255, 196, 53, 0.22), transparent 28%),
    #fff;
  padding: 24px;
  margin: 18px 0;
  box-shadow: var(--shadow-tight);
}

.capacity-panel h3 {
  margin: 6px 0 10px;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 0.98;
}

.capacity-panel p {
  color: var(--ink-2);
  line-height: 1.58;
}

.commerce-panel {
  display: grid;
  gap: 18px;
  min-width: 0;
}

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

.commerce-grid article,
.commerce-panel > .table-wrap {
  min-width: 0;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-tight);
  padding: 18px;
}

.commerce-metrics .metric:first-child::after {
  background: var(--lime);
}

.commerce-health {
  margin: 0;
}

.admin-panel {
  min-width: 0;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-tight);
  padding: 20px;
  margin: 18px 0;
}

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

.panel-head h3 {
  margin: 0;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.05;
}

.panel-head .button {
  white-space: nowrap;
}

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

.capacity-form .wide,
.capacity-form button,
.capacity-form .setup-message {
  grid-column: 1 / -1;
}

.intake-section {
  display: grid;
  gap: 4px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 8px;
}

.intake-section:first-child {
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}

.intake-section strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 950;
}

.intake-section span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.assignment-form {
  border: 2px solid #07111f;
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(132, 246, 73, 0.28), transparent 34%),
    linear-gradient(315deg, rgba(79, 25, 235, 0.12), transparent 30%),
    #fff;
  padding: 18px;
  box-shadow: 0 12px 0 #07111f, var(--shadow-tight);
}

.assignment-head {
  display: grid;
  gap: 5px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.assignment-head strong {
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1;
  font-weight: 950;
  text-transform: uppercase;
}

.assignment-head span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.referral-kpis .metric:first-child {
  background:
    linear-gradient(135deg, rgba(132, 246, 73, 0.3), transparent 42%),
    #fff;
}

.referral-analytics-grid article:first-child {
  border: 2px solid rgba(79, 25, 235, 0.28);
}

.capacity-form textarea {
  min-height: 92px;
}

.safety-banner {
  position: relative;
  border: 1px solid rgba(255, 91, 74, 0.28);
  background:
    linear-gradient(135deg, rgba(255, 91, 74, 0.11), transparent 30%),
    #fff;
  padding: 16px 18px 16px 48px;
  margin: 18px 0;
  box-shadow: var(--shadow-tight);
}

.safety-banner::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 18px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--coral);
  box-shadow: 0 0 0 5px rgba(255, 91, 74, 0.13);
}

.safety-banner.payout-banner {
  border-color: rgba(4, 184, 165, 0.28);
  background:
    linear-gradient(135deg, rgba(4, 184, 165, 0.12), transparent 30%),
    #fff;
}

.safety-banner.payout-banner::before {
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(4, 184, 165, 0.13);
}

.safety-banner b {
  display: block;
  color: var(--red);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.safety-banner.payout-banner b {
  color: var(--teal-dark);
}

.safety-banner p {
  margin: 7px 0 0;
  color: var(--ink-2);
}

.campaign-status-banner {
  position: relative;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  border: 3px solid #07111f;
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(132, 246, 73, 0.44), transparent 34%),
    linear-gradient(315deg, rgba(79, 25, 235, 0.14), transparent 30%),
    #ffffff;
  color: #07111f;
  padding: 20px;
  margin: 0 0 18px;
  box-shadow: 0 18px 0 #07111f, 0 26px 60px rgba(7, 17, 31, 0.18);
}

.campaign-status-banner strong {
  display: block;
  color: #07111f;
  font-size: clamp(25px, 3.2vw, 42px);
  line-height: 0.96;
  font-weight: 950;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.campaign-status-banner p {
  max-width: 980px;
  margin: 9px 0 0;
  color: #172033;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 900;
}

.campaign-status-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.campaign-status-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid rgba(7, 17, 31, 0.18);
  border-radius: 999px;
  background: #fff;
  color: #07111f;
  padding: 6px 10px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 900;
}

.campaign-pulse {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #3aa800;
  box-shadow: 0 0 0 0 rgba(58, 168, 0, 0.48);
  animation: lokka-live-pulse 1.25s ease-out infinite;
}

.campaign-status-banner.pending {
  background:
    linear-gradient(135deg, rgba(255, 200, 61, 0.34), transparent 34%),
    #fff;
}

.campaign-status-banner.pending .campaign-pulse,
.campaign-status-banner.paused .campaign-pulse {
  background: var(--amber);
  animation: none;
}

.campaign-status-banner.paused {
  background:
    linear-gradient(135deg, rgba(255, 91, 74, 0.18), transparent 34%),
    #fff;
}

@keyframes lokka-live-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(58, 168, 0, 0.48);
  }
  100% {
    box-shadow: 0 0 0 14px rgba(58, 168, 0, 0);
  }
}

.safety-banner.compact {
  margin-bottom: 0;
  padding-top: 14px;
  padding-bottom: 14px;
}

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

.audit-item {
  display: grid;
  grid-template-columns: 156px 1fr auto;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  padding: 14px;
  box-shadow: var(--shadow-tight);
}

.audit-item time {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
}

.auth-shell {
  min-height: calc(100vh - 70px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 440px;
  gap: 44px;
  align-items: center;
  padding-top: 58px;
}

.auth-card h2,
.price-card h2 {
  font-size: 34px;
  line-height: 1.05;
}

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

.auth-mode-choice {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  padding: 6px;
}

.auth-mode-choice label {
  position: relative;
  display: block;
  min-height: 42px;
  border-radius: 6px;
  cursor: pointer;
}

.auth-mode-choice input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.auth-mode-choice span {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 950;
}

.auth-mode-choice input:checked + span {
  border-color: rgba(4, 184, 165, 0.45);
  background: var(--green-bg);
  color: var(--ink);
  box-shadow: 0 8px 22px rgba(4, 184, 165, 0.1);
}

.password-login-form {
  margin-top: 18px;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0 4px;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

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

.admin-login-details {
  border-top: 1px solid var(--line);
  margin-top: 22px;
  padding-top: 16px;
}

.admin-login-details summary {
  cursor: pointer;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.admin-login-details[open] summary {
  color: var(--ink);
}

.role-choice {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.role-choice label {
  position: relative;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  min-height: 92px;
  padding: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  cursor: pointer;
}

.role-choice label:has(input:checked) {
  border-color: rgba(4, 184, 165, 0.72);
  background:
    linear-gradient(135deg, rgba(4, 184, 165, 0.13), transparent 48%),
    #fff;
  box-shadow: 0 10px 30px rgba(4, 184, 165, 0.12);
}

.role-choice input {
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  accent-color: var(--teal);
}

.role-choice b,
.role-choice small {
  display: block;
}

.role-choice b {
  font-size: 14px;
  color: var(--ink);
}

.role-choice small {
  margin-top: 5px;
  color: var(--ink-3);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.google-button-host {
  min-height: 44px;
  margin-top: 22px;
}

.google-fallback {
  width: 100%;
  margin-top: 22px;
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line-strong);
}

.setup-message {
  min-height: 42px;
  border: 1px solid rgba(4, 184, 165, 0.25);
  border-radius: 8px;
  background: var(--green-bg);
  color: var(--teal-dark);
  padding: 12px 14px;
  margin: 16px 0 0;
  font-size: 13px;
  font-weight: 900;
}

.setup-message.error {
  border-color: rgba(199, 57, 53, 0.28);
  background: var(--red-bg);
  color: var(--red);
}

.setup-message.success {
  border-color: rgba(4, 184, 165, 0.25);
  background: var(--green-bg);
  color: var(--teal-dark);
}

.auth-small-link {
  margin: 12px 0 0;
  font-size: 13px;
  font-weight: 800;
}

.auth-small-link a {
  color: var(--blue);
}

.reset-shell {
  min-height: calc(100vh - 70px);
  align-items: center;
}

.pricing-hero {
  padding-bottom: 34px;
}

.pricing-section {
  padding-top: 0;
}

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

.pricing-grid.two-up {
  max-width: 1040px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.price-card {
  min-height: 600px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.price-card.featured {
  background:
    linear-gradient(135deg, rgba(216, 255, 79, 0.22), transparent 28%),
    linear-gradient(315deg, rgba(34, 92, 255, 0.2), transparent 32%),
    #07111f;
  color: #fff;
  box-shadow: 0 26px 80px rgba(7, 17, 31, 0.24);
}

.price-card.featured h2,
.price-card.featured .price {
  color: #fff;
}

.price-card.featured .muted,
.price-card.featured .check-list {
  color: rgba(255, 255, 255, 0.76);
}

.price {
  margin: 18px 0 0;
  color: var(--ink);
  font-size: 38px;
  line-height: 1;
  font-weight: 950;
}

.quote-price {
  font-size: 34px;
}

.price span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.3;
  font-weight: 900;
}

.price-addon {
  margin: 12px 0 0;
  color: var(--blue);
  font-size: 22px;
  line-height: 1.2;
  font-weight: 950;
}

.price-card.featured .price span {
  color: rgba(255, 255, 255, 0.68);
}

.check-list {
  margin: 22px 0 26px;
  padding: 0;
  list-style: none;
  color: var(--ink-2);
}

.check-list li {
  position: relative;
  padding-left: 24px;
  margin-top: 12px;
  line-height: 1.48;
  font-size: 14px;
  font-weight: 800;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(4, 184, 165, 0.12);
}

.quantity-field {
  width: 100%;
  margin: auto 0 14px;
}

.quantity-field input {
  max-width: 140px;
}

.price-card button,
.price-card .button {
  width: 100%;
}

.footer {
  border-top: 1px solid #172033;
  background:
    linear-gradient(135deg, rgba(34, 92, 255, 0.18), transparent 34%),
    #07111f;
  color: #fff;
}

.footer .section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  padding-top: 36px;
  padding-bottom: 36px;
}

.footer p {
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 1060px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .nav {
    align-items: flex-start;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 6px;
    justify-content: center;
  }

  .hero,
  .split,
  .auth-shell {
    grid-template-columns: 1fr;
  }

  .auth-shell .auth-card {
    order: -1;
  }

  .dashboard {
    display: block;
    width: 100%;
    max-width: 100vw;
    min-width: 0;
    overflow-x: hidden;
  }

  .hero {
    min-height: auto;
  }

  .feature-grid,
  .pricing-grid,
  .proof-strip,
  .form-grid,
  .cv-compare-grid,
  .cv-enrichment-notes,
  .capacity-panel,
  .capacity-form,
  .upload-box {
    grid-template-columns: 1fr;
  }

  .role-choice {
    grid-template-columns: 1fr;
  }

  .auth-mode-choice {
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }

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

  .proof-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-strip div:last-child {
    border-bottom: 0;
  }

  .sidebar {
    position: static;
    width: 100%;
    max-width: 100vw;
    min-width: 0;
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    display: flex;
    justify-content: center;
    gap: 8px;
    overflow-x: auto;
    text-align: center;
  }

  .sidebar a {
    white-space: nowrap;
  }

  .audit-item,
  .page-head {
    grid-template-columns: 1fr;
    display: grid;
    justify-items: center;
    text-align: center;
  }

  .workbench {
    width: 100%;
    max-width: 100vw;
    min-width: 0;
    margin: 0 auto;
    padding: 22px 16px;
    overflow-x: hidden;
  }

  .page-head,
  .admin-panel,
  .commerce-panel,
  .commerce-grid,
  .commerce-grid article,
  .commerce-panel > .table-wrap,
  .capacity-panel {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .page-head > div,
  .panel-head,
  .capacity-panel,
  .commerce-panel,
  .admin-panel,
  .auth-shell > div {
    text-align: center;
  }

  .page-head p,
  .capacity-panel p,
  .auth-shell p,
  .auth-proof,
  .setup-message,
  .campaign-status-banner {
    margin-left: auto;
    margin-right: auto;
  }

  .client-dashboard-page .workbench {
    padding-left: 14px;
    padding-right: 14px;
  }

  .client-dashboard-page .page-head,
  .client-dashboard-page .capacity-panel {
    justify-items: stretch;
    text-align: left;
  }

  .client-dashboard-page .page-head {
    display: flex;
    align-items: flex-start;
    padding: 18px;
  }

  .client-dashboard-page .page-head p,
  .client-dashboard-page .capacity-panel p,
  .client-dashboard-page .setup-message,
  .client-dashboard-page .campaign-status-banner {
    margin-left: 0;
    margin-right: 0;
  }

  .client-dashboard-page .page-head .status {
    align-self: flex-start;
  }

  .client-dashboard-page .capacity-panel,
  .client-dashboard-page .client-intake-panel {
    gap: 18px;
    padding: 18px;
  }

  .panel-head {
    align-items: center;
    flex-direction: column;
  }

  .commerce-grid article,
  .commerce-panel > .table-wrap {
    text-align: center;
  }

  .table-wrap {
    display: block;
    width: 100%;
    max-width: calc(100vw - 32px);
    min-width: 0;
    overflow-x: auto;
    text-align: left;
    -webkit-overflow-scrolling: touch;
  }

  table {
    min-width: 700px;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 50px 16px;
  }

  .nav {
    padding-left: 16px;
    padding-right: 16px;
  }

  .brand,
  .nav-links {
    width: 100%;
  }

  .nav-links a {
    justify-content: center;
  }

  h1 {
    font-size: 42px;
    text-align: center;
  }

  .lead {
    font-size: 17px;
    text-align: center;
  }

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

  .page-head .button {
    width: 100%;
  }

  .client-dashboard-page .workbench {
    padding-left: 12px;
    padding-right: 12px;
  }

  .client-dashboard-page .page-head,
  .client-dashboard-page .capacity-panel,
  .client-dashboard-page .safety-banner,
  .client-dashboard-page .campaign-status-banner {
    margin-left: 0;
    margin-right: 0;
  }

  .campaign-status-banner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 18px;
    box-shadow: 0 10px 0 #07111f, 0 18px 40px rgba(7, 17, 31, 0.14);
  }

  .campaign-status-meta {
    justify-content: center;
  }

  .client-dashboard-page .page-head {
    flex-direction: column;
    gap: 12px;
  }

  .client-dashboard-page .page-head h2 {
    font-size: 34px;
    line-height: 1;
  }

  .client-dashboard-page .capacity-panel h3 {
    font-size: 30px;
    line-height: 1.05;
  }

  .client-dashboard-page .capacity-form {
    gap: 12px;
  }

  .client-dashboard-page .client-status-panel,
  .client-dashboard-page .client-applications-panel {
    grid-template-columns: 1fr;
  }

  .client-dashboard-page .client-intake-panel {
    border-color: rgba(132, 246, 73, 0.9);
    background:
      linear-gradient(135deg, rgba(132, 246, 73, 0.24), transparent 32%),
      linear-gradient(315deg, rgba(79, 25, 235, 0.1), transparent 28%),
      #fff;
  }

  .client-dashboard-page .client-intake-panel .button {
    min-height: 52px;
    font-size: 15px;
  }

  .client-dashboard-page .client-optional-field textarea {
    min-height: 84px;
  }

  .client-dashboard-page input[readonly] {
    background: #f3f6fb;
    color: var(--muted);
  }

  .admin-panel,
  .auth-card,
  .price-card,
  .commerce-grid article,
  .commerce-panel > .table-wrap {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .role-choice label,
  .capacity-form label,
  .referral-form label,
  .auth-card {
    text-align: left;
  }

  .interface-card {
    margin-left: -8px;
    margin-right: -8px;
  }

  table {
    min-width: 620px;
  }
}

/* Lokka workspace overrides */
:root {
  --page: #f6f7fb;
  --page-2: #eef3f8;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --surface-3: #edf7f3;
  --ink: #111827;
  --ink-2: #334155;
  --muted: #64748b;
  --muted-2: #94a3b8;
  --line: #d9e2ec;
  --line-strong: #b8c7d8;
  --blue: #2563eb;
  --violet: #6d5bd0;
  --lime: #d7f99d;
  --coral: #e6784f;
  --teal: #168766;
  --teal-dark: #116b52;
  --shadow: 0 22px 50px rgba(15, 23, 42, 0.08);
  --shadow-tight: 0 10px 28px rgba(15, 23, 42, 0.06);
}

body {
  background: linear-gradient(180deg, #fbfcfe 0%, #f2f5f9 100%);
}

body::before {
  display: none;
}

.site-header {
  border-bottom: 1px solid rgba(217, 226, 236, 0.95);
  background: rgba(255, 255, 255, 0.94);
}

.nav {
  max-width: none;
  min-height: 64px;
}

.brand,
.nav-links a {
  color: var(--ink);
}

.brand-mark {
  border: 0;
  border-radius: 8px;
  background: #111827;
  color: #fff;
  box-shadow: none;
}

.nav-links {
  gap: 4px;
}

.nav-links a {
  min-height: 36px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.nav-links a:hover,
.nav-links a.active {
  border-color: #dbeafe;
  background: #eff6ff;
  color: #1d4ed8;
}

.button,
button {
  border: 0;
  border-radius: 8px;
  background: #111827;
  box-shadow: 0 12px 22px rgba(17, 24, 39, 0.14);
  text-transform: none;
}

.button:hover,
button:hover {
  transform: none;
  filter: brightness(1.02);
}

.button.secondary,
.button.ghost {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  box-shadow: none;
}

.button.ghost {
  background: #f8fafc;
}

.dashboard {
  grid-template-columns: 220px minmax(0, 1fr);
  min-height: calc(100vh - 64px);
}

.sidebar {
  top: 64px;
  min-height: calc(100vh - 64px);
  background: rgba(248, 250, 252, 0.9);
  padding: 22px 12px;
}

.sidebar a {
  min-height: 42px;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 800;
}

.sidebar a:hover,
.sidebar a.active {
  border-color: #dbeafe;
  background: #eff6ff;
  color: #1d4ed8;
}

.workbench {
  max-width: 1180px;
  padding: 28px;
}

.page-head,
.admin-panel,
.capacity-panel,
.commerce-grid article,
.commerce-panel > .table-wrap,
.table-wrap,
.metric,
.safety-banner,
.audit-item,
.setup-message {
  border-radius: 8px;
}

.page-head {
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-tight);
  padding: 22px;
}

.page-head.simple-hero {
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.08), transparent 38%),
    linear-gradient(315deg, rgba(22, 135, 102, 0.1), transparent 32%),
    #fff;
}

.page-head h2 {
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.08;
}

.page-head p {
  margin: 10px 0 0;
  font-size: 15px;
}

.eyebrow {
  margin-bottom: 10px;
  color: var(--teal-dark);
  font-size: 11px;
  letter-spacing: 0;
}

.eyebrow::before {
  width: 18px;
  height: 2px;
  background: var(--teal);
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 18px;
}

.quick-actions a {
  min-height: 118px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: inherit;
  padding: 16px;
  text-decoration: none;
  box-shadow: var(--shadow-tight);
}

.quick-actions a:hover {
  border-color: #bfdbfe;
  background: #f8fbff;
}

.quick-actions strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
}

.quick-actions span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 700;
}

.quick-actions.compact-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

.quick-actions.compact-actions a {
  min-height: 94px;
}

.admin-panel,
.capacity-panel,
.commerce-grid article,
.commerce-panel > .table-wrap {
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-tight);
}

.panel-head h3 {
  font-size: clamp(22px, 2.5vw, 30px);
  line-height: 1.12;
}

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

.compact-metrics {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.metric {
  min-height: 104px;
  border-color: var(--line);
  background: #fff;
  padding: 16px;
}

.metric::after {
  top: 16px;
  right: 16px;
  width: 8px;
  height: 8px;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(22, 135, 102, 0.1);
}

.metric b {
  max-width: calc(100% - 22px);
  font-size: clamp(24px, 2.5vw, 32px);
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.metric span {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 750;
}

.status {
  border-radius: 999px;
  border-color: rgba(22, 135, 102, 0.2);
  background: #ecfdf5;
  color: var(--teal-dark);
  font-family: var(--sans);
  font-size: 12px;
  text-transform: none;
}

.status.warn {
  background: #fff7ed;
  color: #9a4f13;
}

.status.block {
  background: #fff1f2;
  color: #be123c;
}

.table-wrap {
  border-color: var(--line);
  box-shadow: none;
}

th {
  background: #f8fafc;
  color: #475569;
  font-family: var(--sans);
  font-size: 12px;
  text-transform: none;
}

td {
  color: var(--ink-2);
}

.table-caption {
  color: var(--ink-2);
  font-weight: 800;
}

.safety-banner {
  border-color: #fed7aa;
  background: #fffaf3;
  box-shadow: none;
}

.safety-banner::before {
  background: #f59e0b;
  box-shadow: 0 0 0 5px rgba(245, 158, 11, 0.12);
}

.safety-banner.payout-banner {
  border-color: #bbf7d0;
  background: #f0fdf4;
}

.safety-banner.commerce-health {
  border-color: #bbf7d0;
  background: #f0fdf4;
}

.safety-banner.commerce-health::before {
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(22, 135, 102, 0.12);
}

.safety-banner b,
.safety-banner.payout-banner b,
.safety-banner.commerce-health b {
  color: var(--ink);
  font-family: var(--sans);
  font-size: 13px;
  text-transform: none;
}

.referral-analytics-grid article:first-child {
  border-color: #bbf7d0;
}

.referrer-list-card {
  grid-column: 1 / -1;
}

.campaign-status-banner {
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  background: #f0fdf4;
  box-shadow: none;
}

.campaign-status-banner strong {
  color: var(--ink);
  font-size: clamp(22px, 2.6vw, 32px);
  letter-spacing: 0;
  text-transform: none;
}

.campaign-status-banner p {
  color: var(--ink-2);
  font-weight: 750;
}

.campaign-status-meta span {
  border-color: var(--line);
  border-radius: 8px;
  color: var(--ink-2);
  font-family: var(--sans);
  text-transform: none;
}

.campaign-status-banner.pending,
.campaign-status-banner.paused {
  border-color: #fed7aa;
  background: #fff7ed;
}

.assignment-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-tight);
}

.assignment-head {
  border-bottom-color: var(--line);
}

.assignment-head strong {
  font-size: 24px;
  text-transform: none;
}

.advanced-settings {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  padding: 12px;
}

.advanced-settings summary {
  cursor: pointer;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

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

.advanced-settings-grid label:first-child,
.advanced-settings-grid label:nth-child(3),
.advanced-settings-grid .consent-row {
  grid-column: auto;
}

.setup-message {
  border-color: #bbf7d0;
  background: #f0fdf4;
  color: var(--teal-dark);
  font-weight: 800;
}

.setup-message.error {
  background: #fff1f2;
}

@media (max-width: 640px) {
  .nav { justify-content: center; text-align: center; flex-wrap: wrap; }
  .brand { width: 100%; justify-content: center; margin-right: 0; }
  .nav-links { justify-content: center; flex-wrap: wrap; overflow-x: visible; }
  .footer .section { justify-content: center; text-align: center; }
}

@media (max-width: 1060px) {
  .dashboard {
    min-height: 0;
  }

  .sidebar {
    top: auto;
  }

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

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

  .quick-actions,
  .quick-actions.compact-actions,
  .advanced-settings-grid {
    grid-template-columns: 1fr;
  }

  .quick-actions a {
    min-height: 96px;
  }

  .page-head {
    text-align: left;
    justify-items: start;
  }
}

/* Lokka simple mode: flatter, calmer dashboards for non-technical users. */
:root {
  --page: #f7f8f5;
  --page-2: #eef4ec;
  --surface: #ffffff;
  --surface-2: #f5f7f2;
  --surface-3: #eef6f0;
  --ink: #111713;
  --ink-2: #2d3a31;
  --muted: #677166;
  --muted-2: #8d978c;
  --line: #dce3da;
  --line-strong: #becabb;
  --teal: #168766;
  --teal-dark: #0d6f52;
  --blue: #1d5fd1;
  --coral: #c95539;
  --sun: #f0bd45;
  --lime: #cfec62;
  --shadow: 0 10px 24px rgba(17, 23, 19, 0.08);
  --shadow-tight: 0 6px 16px rgba(17, 23, 19, 0.07);
}

body {
  background: linear-gradient(180deg, #fafbf8 0%, #f2f6ef 100%);
}

body::before {
  display: none;
}

.site-header {
  border-bottom-color: var(--line);
  background: rgba(250, 251, 248, 0.94);
  backdrop-filter: blur(12px);
}

.nav {
  min-height: 64px;
  max-width: 1180px;
  padding: 0 22px;
}

.brand-mark {
  border: 0;
  border-radius: 6px;
  background: var(--ink);
  box-shadow: none;
}

.nav-links {
  gap: 4px;
}

.nav-links a,
.sidebar a {
  border-radius: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.nav-links a:hover,
.nav-links a.active,
.sidebar a:hover,
.sidebar a.active {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

.button,
button {
  min-height: 40px;
  border: 0;
  border-radius: 6px;
  background: var(--ink);
  box-shadow: none;
  color: #fff;
  font-size: 13px;
}

.button.secondary,
.button.ghost {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.dashboard {
  grid-template-columns: 188px minmax(0, 1fr);
  min-height: calc(100vh - 64px);
}

.sidebar {
  top: 64px;
  min-height: calc(100vh - 64px);
  border-right-color: var(--line);
  background: rgba(247, 248, 245, 0.96);
  padding: 20px 10px;
}

.workbench {
  max-width: 1040px;
  padding: 26px;
}

.page-head,
.admin-panel,
.capacity-panel,
.commerce-grid article,
.commerce-panel > .table-wrap,
.table-wrap,
.metric,
.safety-banner,
.audit-item,
.setup-message,
.quick-actions a,
.campaign-status-banner {
  border-radius: 6px;
}

.page-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-tight);
  padding: 20px;
  margin-bottom: 16px;
}

.page-head.simple-hero {
  background: #fff;
}

.page-head h2 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.08;
}

.page-head p {
  max-width: 560px;
  margin-top: 8px;
  color: var(--muted);
}

.eyebrow {
  margin-bottom: 8px;
  color: var(--teal-dark);
  font-family: var(--sans);
  font-size: 12px;
  text-transform: none;
}

.eyebrow::before {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
}

.quick-actions {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.quick-actions a {
  min-height: 90px;
  border-color: var(--line);
  box-shadow: var(--shadow-tight);
  padding: 14px;
}

.quick-actions strong {
  font-size: 16px;
}

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

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

.compact-metrics,
.commerce-metrics {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.metric {
  min-height: 86px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: none;
  padding: 14px;
}

.metric::after {
  top: 14px;
  right: 14px;
  width: 7px;
  height: 7px;
  background: var(--teal);
  box-shadow: none;
}

.metric:nth-child(2)::after {
  background: var(--blue);
}

.metric:nth-child(3)::after {
  background: var(--sun);
}

.metric:nth-child(4)::after {
  background: var(--coral);
}

.metric b {
  font-size: clamp(24px, 2.2vw, 30px);
  line-height: 1.05;
}

.metric span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.28;
}

.capacity-panel {
  grid-template-columns: minmax(180px, 0.45fr) minmax(0, 1fr);
  gap: 18px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-tight);
  padding: 20px;
}

.capacity-panel h3,
.panel-head h3 {
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.1;
}

.capacity-panel p {
  color: var(--muted);
}

.admin-panel,
.commerce-grid article,
.commerce-panel > .table-wrap {
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-tight);
  padding: 18px;
}

.panel-head {
  margin-bottom: 12px;
}

.campaign-status-banner {
  grid-template-columns: 12px minmax(0, 1fr);
  gap: 14px;
  border: 1px solid #cce6d6;
  background: #f1fbf4;
  box-shadow: none;
  padding: 16px;
}

.campaign-status-banner strong {
  font-size: clamp(20px, 2.1vw, 28px);
  letter-spacing: 0;
  text-transform: none;
}

.campaign-status-banner p {
  margin-top: 6px;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 700;
}

.campaign-status-meta {
  gap: 6px;
  margin-top: 10px;
}

.campaign-status-meta span {
  min-height: 26px;
  border-radius: 6px;
  background: #fff;
  font-family: var(--sans);
  font-size: 11px;
  text-transform: none;
}

.campaign-pulse {
  width: 10px;
  height: 10px;
  box-shadow: none;
  animation: none;
}

.safety-banner {
  border-color: #ead7a8;
  background: #fff9ea;
  box-shadow: none;
  padding: 14px 16px 14px 42px;
}

.safety-banner::before {
  top: 17px;
  left: 17px;
  width: 10px;
  height: 10px;
  box-shadow: none;
}

.safety-banner.payout-banner,
.safety-banner.commerce-health {
  border-color: #cce6d6;
  background: #f1fbf4;
}

.safety-banner b,
.safety-banner.payout-banner b,
.safety-banner.commerce-health b {
  color: var(--ink);
  font-family: var(--sans);
  font-size: 13px;
  text-transform: none;
}

.table-wrap {
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: none;
  overflow-x: auto;
}

th {
  background: #f5f7f2;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 12px;
  text-transform: none;
}

td {
  color: var(--ink-2);
  font-size: 13px;
}

.simple-details {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  padding: 12px;
}

.simple-details summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 900;
}

.simple-details .table-wrap {
  margin-top: 12px;
}

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

.client-job-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  padding: 14px;
}

.client-job-card strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
}

.client-job-card .muted {
  color: var(--muted);
}

.client-job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.client-job-meta span,
.client-job-meta a {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f8faf6;
  color: var(--ink-2);
  padding: 5px 8px;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.feedback-control {
  display: grid;
  gap: 8px;
}

.feedback-buttons {
  gap: 6px;
}

.feedback-button {
  min-height: 32px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  padding: 7px 9px;
}

.feedback-button.active {
  background: var(--ink);
  color: #fff;
}

.campaign-control-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.feedback-button.danger {
  border-color: rgba(185, 28, 28, 0.45);
  color: #b91c1c;
}

.feedback-button.danger:hover {
  background: rgba(185, 28, 28, 0.08);
}

@media (max-width: 1060px) {
  .dashboard {
    display: block;
  }

  .sidebar {
    position: static;
    min-height: 0;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 10px 14px;
  }

  .sidebar a {
    white-space: nowrap;
  }

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

  .capacity-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav {
    padding: 10px 14px;
  }

  .workbench {
    padding: 16px 12px;
  }

  .page-head {
    grid-template-columns: 1fr;
  }

  .quick-actions,
  .metrics,
  .compact-metrics,
  .commerce-metrics,
  .cv-compare-grid,
  .cv-enrichment-notes,
  .capacity-form,
  .client-job-card {
    grid-template-columns: 1fr;
  }
}

/* Stitch dashboard system v2: complete backend shell refresh. */
:root {
  --lokka-purple: #5b19e6;
  --lokka-lime: #83f341;
  --lokka-ink: #17151f;
  --lokka-text: #2d2937;
  --lokka-muted: #6d6878;
  --lokka-page: #f6f5f1;
  --lokka-panel: #ffffff;
  --lokka-panel-soft: #fbfaf6;
  --lokka-line: #e4e0d7;
  --lokka-success: #168766;
  --lokka-success-bg: #eaf8ef;
  --lokka-warn: #b66b00;
  --lokka-warn-bg: #fff4dc;
  --lokka-danger: #bf3d2f;
  --lokka-danger-bg: #fff0ee;
  --sans: Inter, "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", Consolas, monospace;
  --shadow: 0 12px 30px rgba(23, 21, 31, 0.08);
  --shadow-tight: 0 8px 18px rgba(23, 21, 31, 0.06);
}

html {
  background: var(--lokka-page);
}

body {
  background:
    linear-gradient(180deg, #fbfaf7 0%, var(--lokka-page) 100%);
  color: var(--lokka-ink);
  font-family: var(--sans);
}

.site-header {
  border-bottom: 1px solid rgba(228, 224, 215, 0.9);
  background: rgba(251, 250, 246, 0.95);
}

.nav {
  min-height: 60px;
  max-width: 1220px;
  padding: 0 20px;
  gap: 14px;
}

.brand {
  gap: 10px;
  font-size: 15px;
  letter-spacing: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--lokka-purple);
  color: var(--lokka-lime);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.nav-links {
  gap: 6px;
}

body:has(.dashboard) .site-header .nav-links {
  display: none;
}

.nav-links a,
.sidebar a {
  min-height: 36px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--lokka-muted);
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 800;
}

.nav-links a:hover,
.nav-links a.active,
.sidebar a:hover,
.sidebar a.active {
  border-color: rgba(91, 25, 230, 0.14);
  background: #fff;
  color: var(--lokka-purple);
}

.button,
button,
.button.wide {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  background: var(--lokka-purple);
  color: #fff;
  box-shadow: none;
  font-weight: 900;
}

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

.button.secondary,
.button.ghost,
.google-fallback {
  border: 1px solid var(--lokka-line);
  background: #fff;
  color: var(--lokka-ink);
}

.button.ghost {
  color: var(--lokka-purple);
}

.main {
  min-height: calc(100vh - 60px);
}

.dashboard {
  grid-template-columns: 186px minmax(0, 1fr);
  min-height: calc(100vh - 60px);
}

.sidebar {
  top: 60px;
  min-height: calc(100vh - 60px);
  border-right: 1px solid var(--lokka-line);
  background: rgba(251, 250, 246, 0.94);
  padding: 18px 10px;
}

.workbench {
  max-width: 1120px;
  padding: 24px;
}

.page-head,
.admin-panel,
.capacity-panel,
.commerce-grid article,
.commerce-panel > .table-wrap,
.table-wrap,
.metric,
.safety-banner,
.audit-item,
.setup-message,
.quick-actions a,
.auth-card,
.simple-details,
.client-job-card {
  border: 1px solid var(--lokka-line);
  border-radius: 8px;
  background: var(--lokka-panel);
  box-shadow: var(--shadow-tight);
}

.page-head {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(131, 243, 65, 0.22), transparent 48%),
    #fff;
  padding: 22px;
}

.page-head.simple-hero {
  background:
    linear-gradient(90deg, rgba(91, 25, 230, 0.09), transparent 42%),
    #fff;
}

.page-head h2,
.auth-shell h1 {
  color: var(--lokka-ink);
  font-family: var(--sans);
  font-weight: 900;
  letter-spacing: 0;
}

.page-head h2 {
  font-size: clamp(30px, 3.2vw, 44px);
}

.page-head p,
.lead,
.muted,
.capacity-panel p,
.safety-banner p {
  color: var(--lokka-muted);
}

.eyebrow {
  margin-bottom: 8px;
  color: var(--lokka-purple);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: none;
}

.eyebrow::before {
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: var(--lokka-lime);
}

.status {
  min-height: 28px;
  border: 1px solid rgba(22, 135, 102, 0.18);
  border-radius: 999px;
  background: var(--lokka-success-bg);
  color: var(--lokka-success);
  padding: 6px 10px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 900;
  text-transform: none;
}

.status.warn {
  border-color: rgba(182, 107, 0, 0.2);
  background: var(--lokka-warn-bg);
  color: var(--lokka-warn);
}

.status.block,
.setup-message.error {
  border-color: rgba(191, 61, 47, 0.2);
  background: var(--lokka-danger-bg);
  color: var(--lokka-danger);
}

.quick-actions {
  gap: 12px;
}

.quick-actions a {
  min-height: 92px;
  box-shadow: none;
}

.quick-actions strong {
  color: var(--lokka-ink);
  font-size: 18px;
}

.quick-actions span {
  color: var(--lokka-muted);
}

.metrics {
  gap: 12px;
}

.metric {
  min-height: 98px;
  box-shadow: none;
  padding: 16px;
}

.metric::after {
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: var(--lokka-purple);
}

.metric:nth-child(2)::after {
  background: var(--lokka-lime);
}

.metric:nth-child(3)::after {
  background: var(--lokka-success);
}

.metric:nth-child(4)::after {
  background: var(--lokka-warn);
}

.metric b {
  color: var(--lokka-ink);
  font-size: clamp(28px, 2.5vw, 38px);
  letter-spacing: 0;
}

.metric span {
  color: var(--lokka-muted);
  font-size: 13px;
  font-weight: 800;
}

.capacity-panel {
  grid-template-columns: minmax(180px, 0.45fr) minmax(0, 1fr);
  gap: 18px;
  background: var(--lokka-panel);
  box-shadow: var(--shadow-tight);
}

.capacity-panel h3,
.panel-head h3,
.auth-card h2 {
  color: var(--lokka-ink);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 900;
  letter-spacing: 0;
}

.commerce-panel {
  gap: 14px;
}

.commerce-grid {
  gap: 14px;
}

.admin-panel,
.commerce-grid article,
.commerce-panel > .table-wrap {
  box-shadow: var(--shadow-tight);
}

.campaign-status-banner {
  border-color: rgba(22, 135, 102, 0.18);
  background: var(--lokka-success-bg);
  box-shadow: none;
}

.campaign-status-banner.pending,
.campaign-status-banner.paused {
  border-color: rgba(182, 107, 0, 0.2);
  background: var(--lokka-warn-bg);
}

.campaign-status-banner strong {
  color: var(--lokka-ink);
  font-size: clamp(22px, 2.4vw, 32px);
  letter-spacing: 0;
}

.campaign-status-meta span,
.client-job-meta span,
.client-job-meta a {
  border-color: var(--lokka-line);
  border-radius: 8px;
  background: var(--lokka-panel-soft);
  color: var(--lokka-text);
}

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

.client-job-card {
  box-shadow: none;
  border-left: 6px solid var(--lokka-lime);
}

.client-job-card strong {
  color: var(--lokka-ink);
  font-size: 16px;
}

.simple-details {
  padding: 14px;
  box-shadow: none;
}

.simple-details summary {
  color: var(--lokka-purple);
  font-size: 14px;
}

.table-wrap {
  box-shadow: none;
}

th {
  background: var(--lokka-panel-soft);
  color: var(--lokka-muted);
}

td {
  color: var(--lokka-text);
}

.setup-message {
  border-color: rgba(91, 25, 230, 0.14);
  background: #f5f0ff;
  color: var(--lokka-purple);
  box-shadow: none;
}

.setup-message.success {
  border-color: rgba(22, 135, 102, 0.18);
  background: var(--lokka-success-bg);
  color: var(--lokka-success);
}

.safety-banner {
  border-color: rgba(182, 107, 0, 0.2);
  background: var(--lokka-warn-bg);
}

.safety-banner::before {
  border-radius: 4px;
  background: var(--lokka-warn);
}

.safety-banner.payout-banner,
.safety-banner.commerce-health {
  border-color: rgba(22, 135, 102, 0.18);
  background: var(--lokka-success-bg);
}

.safety-banner.payout-banner::before,
.safety-banner.commerce-health::before {
  background: var(--lokka-success);
}

.auth-shell {
  min-height: calc(100vh - 60px);
  max-width: 1120px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.8fr);
  gap: 24px;
  align-items: center;
  padding-top: 48px;
  padding-bottom: 48px;
}

.auth-shell h1 {
  max-width: 560px;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1;
}

.auth-shell .lead {
  max-width: 540px;
  font-size: 18px;
  line-height: 1.55;
}

.auth-card {
  padding: 22px;
}

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

.proof-strip div {
  border: 1px solid var(--lokka-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
}

.proof-strip b {
  color: var(--lokka-ink);
}

.role-choice label,
.auth-mode-choice label,
.capacity-form label,
.feedback-note {
  border-color: var(--lokka-line);
  border-radius: 8px;
  background: var(--lokka-panel-soft);
}

.upload-box {
  min-height: 116px;
  grid-template-columns: 1fr;
  border: 1px dashed rgba(91, 25, 230, 0.32);
  background:
    linear-gradient(90deg, rgba(131, 243, 65, 0.18), transparent 42%),
    var(--lokka-panel-soft);
  cursor: pointer;
}

.upload-box input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.upload-box span {
  display: grid;
  gap: 6px;
  color: var(--lokka-muted);
}

.upload-box b {
  color: var(--lokka-ink);
  font-size: 18px;
}

.upload-box small {
  color: var(--lokka-muted);
  font-size: 13px;
  font-weight: 800;
}

input,
select,
textarea {
  border-radius: 8px;
  border-color: var(--lokka-line);
  background: #fff;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--lokka-purple);
  box-shadow: 0 0 0 3px rgba(91, 25, 230, 0.1);
  outline: none;
}

.feedback-button {
  border-radius: 8px;
}

.feedback-button.active {
  background: var(--lokka-purple);
}

@media (max-width: 1060px) {
  .dashboard {
    display: block;
  }

  .sidebar {
    position: static;
    min-height: 0;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--lokka-line);
    padding: 10px 14px;
  }

  .auth-shell,
  .capacity-panel {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  body:has(.dashboard) .site-header .nav-links {
    display: flex;
  }

  .dashboard .sidebar {
    display: none;
  }

  .nav {
    align-items: flex-start;
    justify-content: flex-start;
  }

  .brand {
    width: auto;
    margin-right: 0;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .workbench,
  .auth-shell {
    padding: 16px 12px;
  }

  .page-head,
  .client-job-card {
    grid-template-columns: 1fr;
  }

  .quick-actions,
  .metrics,
  .compact-metrics,
  .commerce-metrics,
  .cv-compare-grid,
  .cv-enrichment-notes,
  .capacity-form,
  .proof-strip {
    grid-template-columns: 1fr;
  }
}

