:root {
  --page-1: #f5e3e1;
  --page-2: #d88f98;
  --page-3: #a6192e;
  --shell: #150f10;
  --shell-2: #1d1415;
  --panel: #27191b;
  --panel-2: #332123;
  --panel-3: #432b2e;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(216, 90, 111, 0.28);
  --text: #fff8f6;
  --muted: #d0bfbb;
  --muted-2: #ac928f;
  --accent: #a6192e;
  --accent-2: #d85a6f;
  --accent-3: #8ef0ca;
  --danger: #ffb2bf;
  --shadow: 0 45px 120px rgba(42, 8, 14, 0.28);
  --radius-shell: 36px;
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Plus Jakarta Sans", sans-serif;
  background:
    radial-gradient(circle at 14% 12%, rgba(255, 255, 255, 0.44), transparent 18%),
    radial-gradient(circle at 84% 10%, rgba(255, 240, 243, 0.22), transparent 16%),
    linear-gradient(135deg, var(--page-1) 0%, var(--page-2) 42%, var(--page-3) 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0%, transparent 27%, rgba(255, 255, 255, 0.1) 28%, transparent 29%),
    linear-gradient(118deg, transparent 0%, transparent 67%, rgba(255, 255, 255, 0.08) 68%, transparent 69%),
    linear-gradient(113deg, transparent 0%, transparent 83%, rgba(255, 255, 255, 0.07) 84%, transparent 85%);
  opacity: 0.6;
  pointer-events: none;
}

.scene-glow,
.scene-lines {
  position: fixed;
  pointer-events: none;
}

.scene-glow {
  width: 460px;
  height: 460px;
  border-radius: 999px;
  filter: blur(120px);
  opacity: 0.34;
}

.scene-glow--one {
  top: -150px;
  right: -70px;
  background: rgba(255, 255, 255, 0.44);
}

.scene-glow--two {
  left: -170px;
  bottom: -150px;
  background: rgba(166, 25, 46, 0.46);
}

.scene-lines {
  inset: 0;
  background:
    linear-gradient(117deg, transparent 0%, transparent 19%, rgba(255, 255, 255, 0.1) 20%, transparent 21%),
    linear-gradient(113deg, transparent 0%, transparent 60%, rgba(255, 255, 255, 0.08) 61%, transparent 62%);
  opacity: 0.45;
}

.app-shell {
  position: relative;
  z-index: 1;
  width: min(1480px, calc(100% - 56px));
  min-height: calc(100vh - 56px);
  margin: 28px auto;
  display: grid;
  grid-template-columns: 272px minmax(0, 1fr);
  border-radius: var(--radius-shell);
  background: linear-gradient(180deg, rgba(22, 15, 16, 0.98), rgba(16, 11, 12, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.app-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 28px 24px;
  background:
    linear-gradient(180deg, rgba(39, 25, 27, 0.98), rgba(23, 16, 18, 0.98)),
    radial-gradient(circle at top, rgba(166, 25, 46, 0.2), transparent 36%);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  margin-bottom: 18px;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 110px;
  padding: 18px 20px;
  border-radius: 24px;
  border: 1px solid rgba(216, 90, 111, 0.28);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.09), transparent 26%),
    linear-gradient(135deg, rgba(166, 25, 46, 0.4), rgba(255, 255, 255, 0.03));
  text-decoration: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 36px rgba(20, 8, 10, 0.24);
}

.brand-logo {
  width: min(100%, 182px);
  height: auto;
  display: block;
}

.brand-copy {
  display: grid;
  gap: 4px;
}

.brand-name,
.hero-title,
.panel-title,
.plan-card__title,
.export-card__title,
.mini-plan-card__title,
.metric-card__value,
.flow-orb__core strong,
.signal-chip__value {
  font-family: "Cormorant Garamond", serif;
}

.brand-name {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 248, 246, 0.82);
}

.brand-subtitle,
.sidebar-version,
.topbar-subtitle,
.hero-body,
.panel-copy,
.plan-card__summary,
.choice-card__body,
.flow-card span,
.signal-chip__label,
.metric-card__label,
.empty-state {
  color: var(--muted);
}

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

.sidebar-version {
  margin-bottom: 28px;
  font-size: 0.8rem;
}

.sidebar-section + .sidebar-section {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-title,
.metric-card__eyebrow,
.plan-card__code,
.mini-plan-card__code,
.export-card__eyebrow,
.credential-card__label,
.info-card strong,
.export-card__meta strong,
th {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.sidebar-nav,
.metric-stack,
.hero-visual,
.flow-grid,
.form-grid,
.stack-panel,
.choice-grid,
.card-grid,
.file-card-grid,
.step-list,
.info-grid {
  display: grid;
  gap: 14px;
}

.sidebar-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  border-radius: 16px;
  border: 1px solid transparent;
  color: var(--text);
  text-decoration: none;
  transition: 0.2s ease;
}

.sidebar-link:hover,
.sidebar-link.is-active {
  transform: translateX(2px);
  border-color: rgba(216, 90, 111, 0.18);
  background: linear-gradient(90deg, rgba(166, 25, 46, 0.28), rgba(216, 90, 111, 0.08));
}

.sidebar-link-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: linear-gradient(145deg, var(--accent-2), #f2d0d5);
  box-shadow: 0 0 0 6px rgba(166, 25, 46, 0.1);
}

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

.sidebar-note strong {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
}

.sidebar-note span,
.sidebar-insight__body {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.sidebar-note--card,
.sidebar-insight {
  padding: 16px 18px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025));
}

.sidebar-insight {
  margin-top: auto;
  background:
    linear-gradient(180deg, rgba(166, 25, 46, 0.18), rgba(255, 255, 255, 0.035)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.02));
  border-color: var(--line-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.sidebar-insight__label {
  color: var(--accent-2);
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.sidebar-insight__value {
  margin-top: 10px;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.12rem;
  line-height: 1.3;
}

.sidebar-insight__body {
  margin: 10px 0 0;
}

.workspace {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  background:
    radial-gradient(circle at top right, rgba(166, 25, 46, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(29, 20, 21, 0.92), rgba(16, 11, 12, 0.96));
}

.topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  padding: 28px 32px 18px;
}

.topbar-copy {
  min-width: 0;
}

.topbar-breadcrumb {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.topbar-subtitle {
  margin-top: 8px;
  max-width: 54ch;
  font-size: 0.92rem;
  line-height: 1.6;
}

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

.topbar-actions form,
.action-row form {
  margin: 0;
}

.search-shell,
.user-chip,
.topbar-pill {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.search-shell {
  min-width: 320px;
  gap: 10px;
  padding: 0 16px;
}

.search-shell input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
}

.search-shell__submit {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  padding: 0 10px;
  min-height: 32px;
  border-radius: 999px;
  background: rgba(166, 25, 46, 0.22);
  color: var(--text);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.search-shell__icon {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(248, 244, 255, 0.74);
  border-radius: 999px;
  position: relative;
  flex: 0 0 auto;
}

.search-shell__icon::after {
  content: "";
  position: absolute;
  right: -5px;
  bottom: -5px;
  width: 7px;
  height: 2px;
  border-radius: 999px;
  background: rgba(248, 244, 255, 0.74);
  transform: rotate(45deg);
}

.topbar-pill {
  padding: 0 16px;
  background: rgba(166, 25, 46, 0.18);
  border-color: rgba(216, 90, 111, 0.26);
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.user-chip {
  gap: 10px;
  padding: 6px 12px 6px 6px;
}

.user-chip__avatar {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #d85a6f, #a6192e);
  color: #fff7f5;
  font-weight: 800;
}

.user-chip__name {
  font-size: 0.92rem;
  font-weight: 600;
}

.workspace-content {
  display: grid;
  gap: 22px;
  padding: 0 32px 32px;
}

.hero-panel,
.content-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(180deg, rgba(39, 25, 27, 0.96), rgba(23, 16, 18, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.hero-panel::before,
.content-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(216, 90, 111, 0.18), transparent 30%),
    radial-gradient(circle at bottom left, rgba(166, 25, 46, 0.12), transparent 26%);
  pointer-events: none;
}

.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(320px, 0.86fr);
  gap: 24px;
  min-height: 340px;
  padding: 32px;
}

.dashboard-hero {
  align-items: stretch;
}

.hero-copy {
  display: grid;
  align-content: start;
  gap: 20px;
}

.section-kicker {
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-title {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(2.8rem, 4.6vw, 4.4rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
}

.hero-body {
  margin: 0;
  max-width: 58ch;
  font-size: 0.98rem;
  line-height: 1.8;
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
}

.signal-chip,
.metric-card,
.plan-card,
.mini-plan-card,
.choice-card,
.info-card,
.export-card,
.credential-card,
.table-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.signal-chip,
.metric-card {
  padding: 16px 18px;
}

.signal-chip__value,
.metric-card__value {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
}

.signal-chip__label,
.metric-card__label {
  margin-top: 8px;
  font-size: 0.84rem;
  line-height: 1.5;
}

.metric-card__value--small {
  font-size: 1.28rem;
}

.hero-visual {
  align-content: stretch;
  grid-auto-rows: minmax(0, auto);
}

.hero-visual--stacked {
  align-content: start;
}

.flow-orb {
  position: relative;
  min-height: 210px;
  padding: 22px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.12), transparent 18%),
    radial-gradient(circle at 78% 20%, rgba(216, 90, 111, 0.18), transparent 22%),
    linear-gradient(180deg, rgba(68, 36, 40, 0.96), rgba(38, 22, 24, 0.96));
  display: grid;
  place-items: center;
  overflow: hidden;
}

.flow-orb::before,
.flow-orb::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.flow-orb::before {
  width: 230px;
  height: 230px;
}

.flow-orb::after {
  width: 280px;
  height: 280px;
  opacity: 0.5;
}

.flow-orb__ring {
  position: absolute;
  inset: 16px;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.flow-orb__core {
  position: relative;
  z-index: 1;
  width: 176px;
  height: 176px;
  padding: 26px 18px;
  border-radius: 999px;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  gap: 7px;
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.3), transparent 22%),
    linear-gradient(180deg, rgba(255, 227, 230, 0.32), rgba(166, 25, 46, 0.42));
  box-shadow:
    0 18px 38px rgba(20, 8, 10, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.flow-orb__eyebrow {
  color: rgba(248, 244, 255, 0.8);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.flow-orb__core strong {
  font-size: 1.35rem;
  letter-spacing: -0.05em;
}

.flow-orb__core span:last-child {
  font-size: 0.8rem;
  line-height: 1.45;
  color: rgba(248, 244, 255, 0.76);
}

.hero-visual--dashboard .flow-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hero-visual--home .flow-grid,
.hero-visual--stacked .flow-grid {
  grid-template-columns: 1fr;
}

.flow-card {
  display: grid;
  gap: 8px;
  align-content: start;
  min-height: 116px;
  padding: 18px;
}

.flow-card strong {
  font-size: 0.98rem;
  font-weight: 700;
}

.flow-card span {
  font-size: 0.89rem;
  line-height: 1.6;
}

.content-panel {
  padding: 28px;
}

.search-results {
  display: grid;
  gap: 24px;
}

.search-section__header {
  margin-bottom: 16px;
}

.search-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.search-card {
  display: grid;
  gap: 10px;
  min-height: 196px;
  padding: 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  color: var(--text);
  text-decoration: none;
  transition: transform 0.16s ease, border-color 0.16s ease;
}

.search-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
}

.search-card__eyebrow {
  color: var(--accent-2);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.search-card__title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.45rem;
  line-height: 1.1;
}

.search-card__summary {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.search-card__footer {
  margin-top: auto;
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 700;
}

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

.panel-title {
  margin: 4px 0 0;
  font-size: 1.95rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.panel-copy {
  margin: 10px 0 0;
  font-size: 0.92rem;
  line-height: 1.7;
}

.dashboard-grid,
.split-layout,
.auth-grid {
  display: grid;
  gap: 22px;
}

.dashboard-grid {
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  align-items: start;
}

.split-layout,
.auth-grid {
  grid-template-columns: minmax(0, 0.96fr) minmax(420px, 1.04fr);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  padding: 15px 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.field input[type="file"] {
  padding: 12px;
}

.field input[type="file"]::file-selector-button {
  margin-right: 12px;
  border: 0;
  border-radius: 12px;
  padding: 10px 14px;
  background: linear-gradient(135deg, #d85a6f, #a6192e);
  color: #fff8f6;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.field textarea {
  min-height: 116px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  border-color: rgba(216, 90, 111, 0.55);
  box-shadow: 0 0 0 4px rgba(166, 25, 46, 0.12);
}

.field-error {
  margin: 0;
  color: var(--danger);
  font-size: 0.85rem;
}

.choice-grid,
.card-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.choice-card,
.mini-plan-card,
.plan-card,
.credential-card,
.info-card,
.export-card {
  padding: 18px;
  display: grid;
  gap: 10px;
}

.choice-card {
  position: relative;
  cursor: pointer;
}

.choice-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-card.is-selected,
.mini-plan-card.is-selected {
  border-color: rgba(216, 90, 111, 0.38);
  background:
    linear-gradient(180deg, rgba(166, 25, 46, 0.16), rgba(255, 255, 255, 0.03)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
}

.choice-card__title,
.mini-plan-card__title {
  font-size: 1rem;
  font-weight: 700;
}

.choice-card__meta {
  color: var(--accent-2);
  font-weight: 700;
}

.choice-card__body {
  font-size: 0.9rem;
  line-height: 1.6;
}

.mini-plan-card__price,
.plan-card__price {
  font-size: 1.38rem;
  font-weight: 800;
}

.step-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.step-list--compact {
  margin-bottom: 18px;
}

.step-card__index {
  min-width: 48px;
  min-height: 48px;
  padding: 0 10px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #d85a6f, #a6192e);
  color: #fff8f6;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
}

.step-card strong {
  display: block;
  font-size: 0.96rem;
  margin-bottom: 5px;
}

.step-card span:last-child {
  color: var(--muted);
  font-size: 0.89rem;
  line-height: 1.58;
}

.info-grid {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.info-card span,
.export-card__meta span {
  line-height: 1.55;
}

.file-card-grid {
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
}

.export-card {
  gap: 16px;
}

.export-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.export-card__title {
  font-size: 1.08rem;
  line-height: 1.35;
  word-break: break-word;
}

.export-card__meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
}

.export-card__actions {
  justify-content: space-between;
}

.plan-card {
  gap: 14px;
}

.plan-card__summary {
  margin: 0;
  line-height: 1.65;
}

.feature-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: var(--muted);
  line-height: 1.5;
}

.credential-card__value {
  font-size: 1.06rem;
  font-weight: 800;
}

.credential-card__subvalue {
  color: var(--accent-2);
  font-weight: 700;
}

.notice {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.notice__marker {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: currentColor;
}

.notice--success {
  color: var(--accent-3);
  border-color: rgba(142, 240, 202, 0.28);
  background: rgba(142, 240, 202, 0.1);
}

.notice--danger {
  color: #ffd7de;
  border-color: rgba(255, 159, 176, 0.28);
  background: rgba(255, 159, 176, 0.1);
}

.button {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, #d85a6f, #a6192e);
  color: #fff8f6;
  font: inherit;
  font-size: 0.93rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 18px 34px rgba(35, 7, 12, 0.26);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 38px rgba(35, 7, 12, 0.3);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-strong);
  color: var(--text);
  box-shadow: none;
}

.button-danger {
  background: rgba(255, 159, 176, 0.12);
  border-color: rgba(255, 159, 176, 0.22);
  color: #ffe0e6;
  box-shadow: none;
}

.button-small {
  min-height: 40px;
  padding: 0 15px;
  font-size: 0.86rem;
}

.button-pill {
  border-radius: 999px;
}

.action-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.status-slot {
  margin-top: 2px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.78rem;
  font-weight: 700;
}

.status-badge--success {
  color: var(--accent-3);
  border-color: rgba(142, 240, 202, 0.22);
  background: rgba(142, 240, 202, 0.08);
}

.status-badge--warning {
  color: #f4de9d;
  border-color: rgba(244, 222, 157, 0.22);
  background: rgba(244, 222, 157, 0.08);
}

.status-badge--danger {
  color: #ffd7de;
  border-color: rgba(255, 159, 176, 0.22);
  background: rgba(255, 159, 176, 0.08);
}

.status-badge--default {
  color: var(--text);
}

.empty-state {
  padding: 20px 22px;
  border-radius: 20px;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.025);
  line-height: 1.7;
}

.table-card {
  padding: 8px;
  overflow: hidden;
}

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

th,
td {
  padding: 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

td {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.55;
}

tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

code {
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--accent-2);
  font-size: 0.92em;
}

@media (max-width: 1250px) {
  .hero-panel,
  .dashboard-grid,
  .split-layout,
  .auth-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    max-width: none;
  }

  .hero-visual--dashboard .flow-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 980px) {
  .app-shell {
    width: min(100%, calc(100% - 24px));
    margin: 12px auto;
    grid-template-columns: 1fr;
    min-height: calc(100vh - 24px);
  }

  .sidebar {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .topbar,
  .workspace-content {
    padding-left: 20px;
    padding-right: 20px;
  }

  .topbar {
    padding-top: 22px;
    flex-direction: column;
  }

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

  .search-shell {
    min-width: 0;
    width: 100%;
  }

  .hero-panel,
  .content-panel {
    padding: 22px;
  }
}

@media (max-width: 720px) {
  .workspace-content {
    padding-bottom: 20px;
  }

  .hero-panel,
  .content-panel {
    border-radius: 24px;
  }

  .signal-strip,
  .hero-visual--dashboard .flow-grid,
  .field-grid,
  .choice-grid,
  .card-grid,
  .search-grid,
  .file-card-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .topbar-pill {
    display: none;
  }

  .button,
  .button-small {
    width: 100%;
  }

  .action-row {
    align-items: stretch;
  }
}
