﻿@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/app-assets/fonts/dm-sans-400.ttf") format("truetype");
}

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/app-assets/fonts/dm-sans-500.ttf") format("truetype");
}

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/app-assets/fonts/dm-sans-600.ttf") format("truetype");
}

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/app-assets/fonts/dm-sans-700.ttf") format("truetype");
}

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/app-assets/fonts/dm-sans-800.ttf") format("truetype");
}

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("/app-assets/fonts/dm-sans-900.ttf") format("truetype");
}

:root {
  --color-primary: #0b1220;
  --color-primary-dark: #07111f;
  --color-primary-dark-2: #111827;
  --color-primary-light: #1e293b;
  --color-primary-hover: #020617;
  --color-primary-soft: #e0f2fe;
  --color-accent: #0ea5e9;
  --color-accent-hover: #0284c7;
  --color-accent-soft: #e0f2fe;
  --color-success: #22c55e;
  --color-warning: #eab308;
  --color-danger: #ef4444;
  --color-neutral-50: #f8fafc;
  --color-neutral-100: #f1f5f9;
  --color-neutral-200: #e2e8f0;
  --color-neutral-400: #94a3b8;
  --color-neutral-600: #475569;
  --color-neutral-800: #1e293b;
  --color-background: #f8fafc;
  --color-surface: #ffffff;
  --color-surface-muted: #f1f5f9;
  --color-line: #e2e8f0;
  --color-line-strong: #cbd5e1;
  --color-text: #1e293b;
  --color-muted: #475569;
  --color-danger-soft: #fee2e2;
  --color-warning-soft: #fef9c3;
  --traffic-free: #22c55e;
  --traffic-free-soft: rgba(34, 197, 94, 0.15);
  --traffic-offer: #84cc16;
  --traffic-offer-soft: rgba(132, 204, 22, 0.15);
  --traffic-reserved: #eab308;
  --traffic-reserved-soft: rgba(234, 179, 8, 0.15);
  --traffic-booked: #ef4444;
  --traffic-booked-soft: rgba(239, 68, 68, 0.15);
  --color-focus: rgba(14, 165, 233, 0.22);
  --shadow-sm: 0 8px 22px rgba(15, 23, 42, 0.07);
  --shadow-md: 0 18px 45px rgba(15, 23, 42, 0.1);
  --radius-sm: 8px;
  --radius-md: 12px;
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.25rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 3.5rem;
  --max-width: 1100px;
  --content-width: 780px;
  --font-body: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-size-body: 1rem;
  --font-size-small: 0.875rem;
  --font-size-label: 0.6875rem;
  --font-size-button: 0.9375rem;
  --font-size-card-title: 1.125rem;
  --font-size-section-title: 1.5rem;
  --font-size-h1: 2.5rem;
  --font-size-h2: 1.75rem;
  --font-size-h3: 1.125rem;
}

/* Endprodukt Formular-Regel: optionale Matching-Felder sind aufklappbar statt Formularwand. */
.form-advanced-group {
  border: 1px solid var(--color-neutral-200);
  border-radius: .9rem;
  background: var(--color-neutral-50);
  padding: .2rem;
}

.form-advanced-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  list-style: none;
  padding: .9rem 1rem;
  color: var(--color-neutral-800);
  font-weight: 800;
}

.form-advanced-group summary::-webkit-details-marker {
  display: none;
}

.form-advanced-group summary::after {
  content: "+";
  display: inline-grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: rgba(14, 165, 233, .12);
  color: var(--color-accent);
}

.form-advanced-group[open] summary::after {
  content: "-";
}

.form-advanced-group .compact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: 0 1rem 1rem;
}

.form-advanced-group .compact-form-grid > .full,
.form-advanced-group .compact-form-grid > .form-section-heading {
  grid-column: 1 / -1;
}

/* End product hardening: calmer product UI, clearer brand, less box wall. */
.brand-emblem {
  width: 52px;
  height: 52px;
  border-radius: 12px;
}

.brand-emblem img {
  width: 52px;
  height: 52px;
  filter: drop-shadow(0 8px 16px rgba(11, 31, 53, 0.18));
}

.brand-word {
  font-size: 18px;
}

.public-header {
  min-height: 70px;
}

.public-header .brand-emblem,
.public-header .brand-emblem img {
  width: 58px;
  height: 58px;
}

.public-header .brand-word {
  font-size: 21px;
}

.footer-language-switch {
  gap: 10px;
  justify-content: flex-end;
}

.footer-language-switch a {
  min-height: 30px;
  padding: 3px 0;
}

.hero-logo-mark {
  width: min(100%, 430px);
  max-height: 520px;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 28px 42px rgba(11, 31, 53, 0.18));
}

.app-shell {
  grid-template-columns: 176px minmax(0, 1fr);
}

.sidebar {
  gap: 8px;
  padding: 12px 10px;
}

.sidebar .brand-emblem,
.sidebar .brand-emblem img {
  width: 48px;
  height: 48px;
}

.sidebar-context {
  padding-bottom: 8px;
}

.sidebar-context p {
  font-size: 12px;
  line-height: 1.35;
}

.sidebar-nav {
  gap: 2px;
}

.sidebar-nav-label,
.subnav-label {
  display: block;
  margin: 8px 8px 2px;
  color: var(--color-muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sidebar-nav a {
  min-height: 31px;
  padding: 6px 8px;
  font-weight: 600;
}

.workspace-topbar {
  min-height: 44px;
  padding: 6px 20px;
}

.workspace-main {
  width: min(100% - 32px, 1240px);
  padding-top: 18px;
}

.subnav {
  gap: 6px;
  margin-top: 8px;
  padding: 8px 0;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}

.subnav-label {
  align-self: center;
  margin: 0 2px 0 0;
}

.subnav a {
  min-height: 30px;
  padding: 5px 8px;
  color: var(--color-muted);
  font-weight: 600;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.subnav a:hover,
.subnav a:focus-visible {
  color: var(--color-primary-dark);
  background: var(--color-primary-soft);
  outline: none;
}

.product-workspace-home {
  gap: 18px;
}

.product-home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 28px;
  align-items: stretch;
  padding: 22px 0 18px;
  border-bottom: 1px solid var(--color-line);
}

.product-home-hero h1 {
  max-width: 780px;
  margin-bottom: 10px;
  font-size: 38px;
  line-height: 1.08;
}

.product-home-hero .lead {
  max-width: 820px;
  margin-bottom: 18px;
}

.profile-summary-panel,
.product-panel {
  min-width: 0;
  padding: 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
}

.profile-summary-panel {
  display: grid;
  gap: 8px;
  align-content: start;
}

.profile-summary-panel p {
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: var(--font-size-small);
}

.profile-avatar {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: #ffffff;
  font-size: 22px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  border-radius: 50%;
}

.organization-avatar {
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-accent));
}

.admin-avatar {
  background: linear-gradient(135deg, #172b3a, #9a6416);
}

.product-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.product-panel h2 {
  margin-bottom: 10px;
  font-size: 22px;
}

.product-panel p:last-child {
  margin-bottom: 0;
}

.badge {
  min-height: 24px;
  padding: 2px 0;
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 600;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.badge::before {
  box-shadow: none;
}

.badge-success,
.badge-traffic-free {
  color: #166534;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.24);
  border-radius: 999px;
  padding: 3px 9px;
}

.badge-info,
.badge-traffic-offer {
  color: #075985;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(14, 165, 233, 0.22);
  border-radius: 999px;
  padding: 3px 9px;
}

.badge-warning,
.badge-traffic-reserved {
  color: #854d0e;
  background: rgba(234, 179, 8, 0.14);
  border: 1px solid rgba(234, 179, 8, 0.28);
  border-radius: 999px;
  padding: 3px 9px;
}

.badge-danger,
.badge-traffic-booked {
  color: #991b1b;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.24);
  border-radius: 999px;
  padding: 3px 9px;
}

.badge-muted {
  color: #475569;
  background: rgba(100, 116, 139, 0.1);
  border: 1px solid rgba(100, 116, 139, 0.18);
  border-radius: 999px;
  padding: 3px 9px;
}

.summary-metrics {
  padding: 0;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
}

.summary-metric {
  border-top: 0;
}

.work-queue {
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr);
  padding: 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
}

.work-queue h2 {
  font-size: 22px;
}

.work-queue-row strong {
  color: var(--color-primary-dark);
  font-size: 16px;
}

.work-queue-warning strong {
  color: var(--color-warning);
}

.work-queue-danger strong {
  color: var(--color-danger);
}

.process-timeline {
  gap: 0;
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
}

.process-timeline li {
  min-height: 118px;
  padding: 13px 12px;
  background: transparent;
}

.process-timeline strong {
  font-size: 16px;
}

.process-timeline p {
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: 13px;
}

.process-guard {
  padding: 10px 0 0;
  border: 0;
}

.process-guard ul {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.process-guard li {
  color: var(--color-muted);
}

.workflow-card {
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 13px 14px;
  border-left: 0;
}

.workflow-card h3 {
  font-size: 16px;
}

.workflow-card p {
  grid-column: 1 / -1;
  font-size: 14px;
}

.link-row-kicker {
  justify-self: end;
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 800;
}

.action-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: #ffffff;
  border: 1px solid rgba(15, 36, 53, 0.08);
  border-radius: 8px;
  box-shadow: none;
}

.action-strip .workflow-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 16px;
  align-items: center;
  min-height: 62px;
  padding: 13px 16px;
  color: var(--color-text);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--color-line);
  border-radius: 0;
  box-shadow: none;
}

.action-strip .workflow-card:last-child {
  border-bottom: 0;
}

.action-strip .workflow-card h3 {
  margin: 0;
  font-size: 16px;
}

.action-strip .workflow-card p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--color-muted);
  font-size: 13px;
}

.action-strip .link-row-kicker {
  justify-self: end;
  padding: 0;
  color: var(--color-muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: none;
  background: transparent;
  border: 0;
}

@media (max-width: 900px) {
  .product-home-hero,
  .product-grid-2,
  .work-queue {
    grid-template-columns: 1fr;
  }

  .product-home-hero {
    gap: 16px;
    padding-top: 10px;
  }

  .product-home-hero h1 {
    font-size: 30px;
  }

  .hero-logo-mark {
    width: min(100%, 320px);
  }
}

/* Product core 34: Endprodukt-SchÃ¤rfung nach manueller SichtprÃ¼fung.
   Ruhigere Wortmarke, kleinere Seitentitel und kompaktere ProzessfÃ¼hrung. */
.brand-logo-only .brand-emblem::after,
.company-dashboard-brand.brand-logo-only .brand-emblem::after,
.student-dashboard-brand.brand-logo-only .brand-emblem::after,
.admin-dashboard-brand.brand-logo-only .brand-emblem::after,
.sidebar-brand.brand-logo-only .brand-emblem::after,
.public-header .brand.brand-lockup.brand-logo-only .brand-emblem::after,
.auth-logo::after {
  content: "";
  display: none;
}

.brand-logo-only .brand-emblem::before,
.company-dashboard-brand.brand-logo-only .brand-emblem::before,
.student-dashboard-brand.brand-logo-only .brand-emblem::before,
.admin-dashboard-brand.brand-logo-only .brand-emblem::before,
.sidebar-brand.brand-logo-only .brand-emblem::before,
.public-header .brand.brand-lockup.brand-logo-only .brand-emblem::before,
.auth-logo::before {
  font-size: clamp(1.42rem, 2vw, 1.82rem);
  text-shadow: none;
}

.company-dashboard-main > .section-heading,
.student-dashboard-main > .section-heading,
.company-process-main > .section-heading,
.student-process-main > .section-heading,
.company-discovery-main > .section-heading {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 0;
  box-shadow: none;
  padding: 0 0 0.95rem;
}

.company-dashboard-main > .section-heading h1,
.student-dashboard-main > .section-heading h1,
.company-process-main > .section-heading h1,
.student-process-main > .section-heading h1,
.company-discovery-main > .section-heading h1,
.admin-dashboard-hero h1 {
  font-size: clamp(1.72rem, 2.35vw, 2.2rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.company-dashboard-main > .section-heading .lead,
.student-dashboard-main > .section-heading .lead,
.company-process-main > .section-heading .lead,
.student-process-main > .section-heading .lead,
.company-discovery-main > .section-heading .lead {
  max-width: 42rem;
  font-size: 0.95rem;
  line-height: 1.45;
}

.company-process-workspace .process-timeline,
.student-process-workspace .process-timeline,
.company-discovery-main .company-process-bar.process-timeline,
.company-student-detail-layout .process-timeline {
  border-radius: 12px;
  border-color: rgba(148, 163, 184, 0.28);
  box-shadow: none;
}

.company-process-workspace .process-timeline li,
.company-process-workspace .process-timeline .timeline-step,
.student-process-workspace .process-timeline li,
.student-process-workspace .process-timeline .timeline-step,
.company-discovery-main .company-process-bar.process-timeline li,
.company-discovery-main .company-process-bar.process-timeline .timeline-step {
  min-height: 48px;
  padding: 0.62rem 0.72rem;
}

.company-process-workspace .process-timeline p,
.company-process-workspace .process-timeline .timeline-step p,
.student-process-workspace .process-timeline p,
.student-process-workspace .process-timeline .timeline-step p,
.company-discovery-main .company-process-bar.process-timeline p,
.company-discovery-main .company-process-bar.process-timeline .timeline-step p {
  display: none;
}

.company-process-workspace .process-guard.process-guard-compact,
.student-process-workspace .process-guard.process-guard-compact,
.company-discovery-main .process-guard.process-guard-compact,
.company-student-detail-layout .process-guard.process-guard-compact {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.process-next-action-panel {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.06), rgba(255, 255, 255, 0.94));
  border-color: rgba(14, 165, 233, 0.18);
  border-radius: 14px;
  padding: 0.95rem 1rem;
}

.process-next-action-panel ol {
  display: none;
}

/* Product core 36: Plattform-Hero als kompakter Produktkopf. */
body .platform-hero {
  min-height: 0;
  padding: clamp(2.75rem, 5.6vw, 4.75rem) 0 clamp(2.5rem, 4.8vw, 3.8rem);
}

body .platform-hero .platform-hero-inner {
  min-height: 0;
  padding: 0;
}

body .platform-hero h1 {
  max-width: 18ch;
  font-size: clamp(1.9rem, 3.1vw, 2.7rem);
  line-height: 1.08;
  letter-spacing: 0;
}

body .platform-hero p:not(.eyebrow) {
  max-width: 42rem;
  font-size: clamp(0.96rem, 1.15vw, 1.06rem);
  line-height: 1.55;
}

body .platform-process {
  padding-top: clamp(2.4rem, 4.4vw, 3.6rem);
}

.platform-hero {
  min-height: auto;
  padding: clamp(3.2rem, 7vw, 5.4rem) 0 clamp(3rem, 5.5vw, 4.6rem);
}

.platform-hero-inner {
  min-height: 0;
  padding-block: 0;
}

.platform-hero h1 {
  max-width: 18ch;
  font-size: clamp(1.85rem, 3vw, 2.55rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.platform-hero p:not(.eyebrow) {
  max-width: 43rem;
  font-size: clamp(0.96rem, 1.2vw, 1.08rem);
  line-height: 1.55;
}

.platform-process {
  padding-top: clamp(2.6rem, 4.8vw, 4rem);
}

.company-process-rules {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body .section-stack.payment-model h1,
body .section-stack.dunning-model h1,
body .section-stack.payment-model > .detail-header h1,
body .section-stack.dunning-model > .detail-header h1 {
  font-size: clamp(1.8rem, 2.5vw, 2.35rem);
  line-height: 1.08;
  letter-spacing: 0;
}

body .section-stack.payment-model > .detail-header,
body .section-stack.dunning-model > .detail-header {
  padding: 0 0 1rem;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.26);
  border-radius: 0;
}

body .payment-model .prepared-admin-flow,
body .dunning-model .prepared-admin-flow,
body .payment-model .work-queue,
body .dunning-model .work-queue,
body .payment-model .review-metrics,
body .dunning-model .review-metrics {
  border-radius: 14px;
  box-shadow: none;
}

.process-next-action-panel h2 {
  font-size: 1.05rem;
}

.process-next-action-panel p {
  max-width: 34rem;
  font-size: 0.9rem;
  line-height: 1.4;
}

.process-card-list-header h2 {
  font-size: 1.05rem;
}

.process-card-grid {
  gap: 0.85rem;
}

.process-item-card {
  border-radius: 12px;
  padding: 1rem;
  box-shadow: none;
}

.process-item-card h3 {
  font-size: 1.02rem;
}

.process-item-card-note {
  font-size: 0.88rem;
  line-height: 1.45;
}

.student-search-card.talent-market-card {
  border-radius: 14px;
  padding: 1rem;
}

.company-dashboard-chat {
  border-radius: 14px;
}

.chat-message {
  border-radius: 12px;
}

.premium-home-hero h1,
.landing-hero h1,
.public-page h1,
.platform-hero h1 {
  font-size: clamp(1.85rem, 3vw, 2.55rem);
  line-height: 1.08;
}

@media (max-width: 767px) {
  .company-dashboard-main > .section-heading h1,
  .student-dashboard-main > .section-heading h1,
  .company-process-main > .section-heading h1,
  .student-process-main > .section-heading h1,
  .company-discovery-main > .section-heading h1,
  .admin-dashboard-hero h1 {
    font-size: clamp(1.55rem, 7vw, 1.95rem);
  }
}

/* Product core 46: letzte Lesbarkeitskorrektur fÃ¼r Premium-Teststand. */
body .premium-home-hero .landing-hero-inner {
  padding-block: clamp(2.2rem, 4.1vw, 3.35rem) clamp(2.1rem, 3.7vw, 2.95rem);
}

body .premium-home-hero h1,
body .premium-home-hero .landing-hero-inner h1,
body .landing-hero h1 {
  max-width: 13.5ch;
  font-size: clamp(2.05rem, 3.05vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: 0;
}

body .platform-hero h1 {
  max-width: 16ch;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.08;
  letter-spacing: 0;
}

body .auth-brand-panel h1 {
  max-width: 12ch;
  font-size: clamp(2rem, 3vw, 2.95rem);
  line-height: 1.08;
  letter-spacing: 0;
}

body .premium-home-hero .landing-lead,
body .platform-hero p:not(.eyebrow),
body .auth-brand-panel li {
  font-size: clamp(0.96rem, 1.05vw, 1.04rem);
  line-height: 1.55;
}

body .public-header .brand.brand-lockup.brand-logo-only .brand-emblem::before,
body .auth-logo::before {
  font-size: clamp(1.36rem, 1.9vw, 1.72rem);
}

body .public-header .brand.brand-lockup.brand-logo-only .brand-emblem::after,
body .auth-logo::after {
  font-size: clamp(0.86rem, 1.15vw, 1.02rem);
}

body .company-dashboard-toolbar .notification-bell,
body .student-dashboard-tools .notification-bell,
body .student-card-header .dashboard-bell {
  width: auto;
  min-width: 2.55rem;
  height: 2.25rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #dbeafe;
  box-shadow: none;
}

body .notification-bell-button {
  display: inline-flex;
  width: auto;
  min-width: 2.55rem;
  height: 2.25rem;
  gap: 0.32rem;
  align-items: center;
  justify-content: center;
  padding-inline: 0.62rem;
  color: #075985;
  border-radius: 999px;
}

body .notification-bell-mark {
  width: 0.48rem;
  height: 0.48rem;
  background: #0ea5e9;
  border: 0;
  border-radius: 999px;
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.14);
}

body .notification-bell-mark::before,
body .notification-bell-mark::after {
  display: none;
}

body .notification-badge {
  position: static;
  display: inline-flex;
  min-width: auto;
  height: auto;
  padding: 0;
  color: #0f172a;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  background: transparent;
  border: 0;
  box-shadow: none;
}

body .company-dashboard-layout,
body .student-dashboard-shell,
body .admin-dashboard-shell {
  background: #f7fafd;
}

body .company-dashboard-chat,
body .app-sidebar,
body .student-dashboard-sidebar,
body .admin-dashboard-sidebar {
  box-shadow: none;
}

body .company-dashboard-chat {
  border-color: #e2e8f0;
}

body .admin-notification-page {
  max-width: none;
}

body .admin-notification-page .review-metrics,
body .admin-notification-page .security-notice,
body .admin-notification-page .process-card-list {
  max-width: 78rem;
}

body .admin-notification-list {
  display: grid;
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
  border: 1px solid #e2e8f0;
  border-radius: 0.9rem;
  overflow: hidden;
  background: #ffffff;
}

body .admin-notification-row {
  display: grid;
  grid-template-columns: minmax(11rem, 0.7fr) minmax(0, 1.5fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 0.82rem 1rem;
  border-bottom: 1px solid #e2e8f0;
}

body .admin-notification-row:last-child {
  border-bottom: 0;
}

body .admin-notification-row strong {
  font-size: 0.95rem;
  line-height: 1.3;
}

body .admin-notification-row span,
body .admin-notification-row em {
  color: #475569;
  font-size: 0.84rem;
  line-height: 1.4;
}

body .admin-notification-row em {
  justify-self: end;
  font-style: normal;
  font-weight: 700;
  color: #334155;
  white-space: nowrap;
}

body .admin-notification-row.empty {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr) auto;
}

@media (max-width: 767px) {
  body .premium-home-hero h1,
  body .premium-home-hero .landing-hero-inner h1,
  body .landing-hero h1,
  body .platform-hero h1,
  body .auth-brand-panel h1 {
    max-width: 13ch;
    font-size: clamp(1.85rem, 7.2vw, 2.3rem);
  }

  body .admin-notification-row,
  body .admin-notification-row.empty {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  body .admin-notification-row em {
    justify-self: start;
    white-space: normal;
  }
}

/* Product core 45: Admin Zahlungs- und Mahnseiten als kompakte Arbeitsansicht fÃ¼hren. */
body .section-stack.payment-model,
body .section-stack.dunning-model {
  gap: 0.72rem;
}

body .section-stack.payment-model > .detail-header,
body .section-stack.dunning-model > .detail-header {
  padding-block: 0.55rem 0.45rem;
  border-top: 0;
}

body .section-stack.payment-model > .detail-header h1,
body .section-stack.dunning-model > .detail-header h1 {
  font-size: clamp(1.85rem, 2.75vw, 2.42rem);
  line-height: 1.05;
}

body .section-stack.payment-model > .detail-header p,
body .section-stack.dunning-model > .detail-header p {
  max-width: 42rem;
  font-size: 0.94rem;
  line-height: 1.48;
}

body .payment-model .security-notice,
body .dunning-model .security-notice {
  min-height: 0;
  padding: 0.62rem 0.85rem;
  background: #ffffff;
  border: 1px solid #dbeafe;
  border-left: 3px solid #0ea5e9;
  border-radius: 0.7rem;
}

body .payment-model .security-notice h3,
body .dunning-model .security-notice h3 {
  font-size: 0.92rem;
}

body .payment-model .security-notice p,
body .dunning-model .security-notice p {
  font-size: 0.82rem;
  line-height: 1.45;
}

body .payment-model .prepared-admin-flow,
body .dunning-model .prepared-admin-flow {
  display: grid;
  grid-template-columns: minmax(16rem, 0.8fr) minmax(0, 1.6fr);
  gap: 0.9rem;
  align-items: stretch;
  padding: 0.82rem;
  border-color: #dbeafe;
  border-radius: 0.85rem;
  background: #f8fbff;
}

body .payment-model .prepared-admin-flow > div,
body .dunning-model .prepared-admin-flow > div {
  padding: 0;
}

body .payment-model .prepared-admin-flow h2,
body .dunning-model .prepared-admin-flow h2 {
  margin-top: 0.16rem;
  font-size: clamp(1.04rem, 1.45vw, 1.26rem);
  line-height: 1.15;
}

body .payment-model .prepared-admin-flow p,
body .dunning-model .prepared-admin-flow p {
  font-size: 0.84rem;
  line-height: 1.42;
}

body .payment-model .prepared-admin-flow ol,
body .dunning-model .prepared-admin-flow ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

body .payment-model .prepared-admin-flow li,
body .dunning-model .prepared-admin-flow li {
  min-height: 0;
  padding: 0.72rem;
  border-radius: 0.68rem;
}

body .payment-model .prepared-admin-flow li span,
body .dunning-model .prepared-admin-flow li span {
  font-size: 0.72rem;
}

body .payment-model .prepared-admin-flow li strong,
body .dunning-model .prepared-admin-flow li strong {
  font-size: 0.9rem;
}

body .payment-model .prepared-admin-flow li em,
body .dunning-model .prepared-admin-flow li em {
  font-size: 0.78rem;
  line-height: 1.38;
}

body .payment-model .work-queue,
body .dunning-model .work-queue {
  display: grid;
  grid-template-columns: minmax(14rem, 0.65fr) minmax(0, 1.7fr);
  gap: 1rem;
  align-items: center;
  padding: 0.85rem 1rem;
  border-radius: 0.82rem;
}

body .payment-model .work-queue h2,
body .dunning-model .work-queue h2 {
  margin-top: 0.16rem;
  font-size: clamp(1.08rem, 1.6vw, 1.32rem);
  line-height: 1.15;
}

body .payment-model .work-queue p,
body .dunning-model .work-queue p {
  font-size: 0.84rem;
  line-height: 1.42;
}

body .payment-model .work-queue ul,
body .dunning-model .work-queue ul {
  gap: 0.5rem;
}

body .payment-model .work-queue li,
body .dunning-model .work-queue li {
  grid-template-columns: minmax(11rem, 0.75fr) minmax(0, 1.25fr) auto;
  gap: 0.8rem;
  padding: 0.7rem 0;
}

body .payment-model .work-queue li strong,
body .dunning-model .work-queue li strong {
  font-size: 0.94rem;
}

body .payment-model .work-queue li span,
body .dunning-model .work-queue li span {
  font-size: 0.84rem;
}

body .payment-model .review-metrics,
body .dunning-model .review-metrics {
  display: grid;
  grid-template-columns: minmax(15rem, 0.65fr) minmax(0, 1.7fr);
  gap: 1rem;
  align-items: center;
  padding: 0.85rem 1rem;
  border-radius: 0.82rem;
}

body .payment-model .review-metrics h2,
body .dunning-model .review-metrics h2 {
  margin-top: 0.16rem;
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
}

body .payment-model .review-metrics p,
body .dunning-model .review-metrics p {
  font-size: 0.83rem;
  line-height: 1.4;
}

body .payment-model .review-metrics-grid,
body .dunning-model .review-metrics-grid {
  gap: 0.55rem;
}

body .payment-model .summary-metric,
body .dunning-model .summary-metric {
  min-height: 0;
  padding: 0.68rem 0.78rem;
  border-radius: 0.68rem;
}

body .payment-model .summary-metric strong,
body .dunning-model .summary-metric strong {
  font-size: 1.04rem;
}

body .payment-model .process-card-list,
body .dunning-model .process-card-list {
  padding: 0.82rem 1rem;
  border-radius: 0.82rem;
}

body .payment-model .process-card-list-header,
body .dunning-model .process-card-list-header {
  margin-bottom: 0.72rem;
}

body .payment-model .process-card-list-header h2,
body .dunning-model .process-card-list-header h2 {
  font-size: 1.08rem;
}

body .payment-model .process-item-card,
body .dunning-model .process-item-card {
  padding: 0.88rem;
  border-radius: 0.78rem;
}

body .payment-model .process-item-card h3,
body .dunning-model .process-item-card h3 {
  font-size: 0.98rem;
}

body .payment-model .process-item-card-note,
body .dunning-model .process-item-card-note {
  font-size: 0.84rem;
}

@media (max-width: 900px) {
  body .payment-model .prepared-admin-flow,
  body .dunning-model .prepared-admin-flow,
  body .payment-model .work-queue,
  body .dunning-model .work-queue,
  body .payment-model .review-metrics,
  body .dunning-model .review-metrics {
    grid-template-columns: 1fr;
  }

  body .payment-model .prepared-admin-flow ol,
  body .dunning-model .prepared-admin-flow ol {
    grid-template-columns: 1fr;
  }

  body .payment-model .work-queue li,
  body .dunning-model .work-queue li {
    grid-template-columns: 1fr;
  }
}

/* Product core 34: Ã¶ffentliche Typografie auf reale ProduktgrÃ¶ssen begrenzen. */
body .premium-home-hero h1,
body .premium-home-hero .landing-hero-inner h1,
body .landing-hero h1,
body .public-page h1,
body .platform-hero h1 {
  max-width: 15ch;
  font-size: clamp(2.05rem, 3.7vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: 0;
}

body .premium-home-hero .landing-lead,
body .landing-hero .landing-lead {
  max-width: 46rem;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.55;
}

@media (max-width: 767px) {
  body .premium-home-hero h1,
  body .premium-home-hero .landing-hero-inner h1,
  body .landing-hero h1,
  body .public-page h1,
  body .platform-hero h1 {
    max-width: 12.5ch;
    font-size: clamp(1.9rem, 8vw, 2.35rem);
  }
}

/* Product core 35: Dashboards als Arbeitsfluss statt Boxenwand. */
body .company-dashboard-main,
body .student-dashboard-main {
  gap: 0.78rem;
}

body .company-dashboard-toolbar,
body .student-dashboard-hero {
  padding: 1.05rem 1.2rem;
  border-radius: 0.9rem;
}

body .company-dashboard-toolbar h1,
body .student-dashboard-hero h1 {
  font-size: clamp(1.42rem, 2vw, 1.85rem);
  line-height: 1.16;
}

body .company-process-strip {
  padding: 0.85rem 0.95rem;
  border-radius: 0.9rem;
  background: #ffffff;
}

body .company-process-bar.process-timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  border: 1px solid #e2e8f0;
  border-radius: 0.8rem;
  overflow: hidden;
  background: #ffffff;
}

body .company-process-bar.process-timeline li {
  min-height: 4.1rem;
  padding: 0.68rem 0.7rem;
  border: 0;
  border-left: 1px solid #e2e8f0;
  border-radius: 0;
  background: #ffffff;
  box-shadow: none;
}

body .company-process-bar.process-timeline li:first-child {
  border-left: 0;
}

body .company-process-bar.process-timeline li.current {
  background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
  box-shadow: inset 0 0 0 1px rgba(14, 165, 233, 0.35);
}

body .company-process-bar.process-timeline li strong {
  font-size: 0.86rem;
}

body .company-process-bar.process-timeline li span {
  font-size: 0.72rem;
}

body .company-process-rules {
  margin-top: 0.72rem;
  gap: 0.45rem;
}

body .company-process-rules li {
  padding: 0.38rem 0.58rem;
  border-radius: 999px;
  font-size: 0.76rem;
  background: #ffffff;
}

body .company-dashboard-work-queue {
  padding: 0.95rem 1rem;
  border-radius: 0.9rem;
}

body .company-dashboard-work-queue h2 {
  font-size: clamp(1.34rem, 1.8vw, 1.65rem);
}

body .company-dashboard-work-queue p {
  max-width: 48rem;
}

body .company-dashboard-metrics {
  min-width: min(100%, 28rem);
}

body .company-dashboard-metrics span {
  padding: 0.7rem 0.85rem;
}

body .company-card-grid {
  gap: 0.75rem;
}

body .company-case-card,
body .student-work-card {
  padding: 0.9rem;
  border-radius: 0.9rem;
}

body .company-case-card h3,
body .student-work-card h3 {
  font-size: 1rem;
  line-height: 1.25;
}

body .student-card-header {
  padding: 0.9rem 1rem;
  border-radius: 0.9rem;
}

body .student-card-header .dashboard-bell {
  display: none;
}

body .student-dashboard-heading .student-dashboard-tools .notification-bell {
  display: none;
}

body .student-priority-strip {
  border-radius: 0.9rem;
}

body .student-priority-strip article {
  padding: 0.82rem 0.95rem;
}

body .student-card-grid {
  gap: 0.75rem;
}

body .company-dashboard-chat {
  border-radius: 0.95rem;
}

@media (max-width: 1023px) {
  body .company-process-bar.process-timeline {
    display: flex;
    overflow-x: auto;
  }

  body .company-process-bar.process-timeline li {
    min-width: 9rem;
  }
}

/* Product core 36: Admin-Statusseiten und Prozesslisten nÃ¤her an Arbeitsmodus bringen. */
body .section-stack.payment-model,
body .section-stack.dunning-model {
  gap: 0.9rem;
}

body .section-stack.payment-model > .detail-header,
body .section-stack.dunning-model > .detail-header,
body .company-dashboard-layout > .company-dashboard-main > .company-dashboard-toolbar:first-child,
body .company-dashboard-layout > .company-dashboard-main > header:first-child {
  padding-block: 0.85rem;
  margin-bottom: 0;
}

body .section-stack.payment-model > .detail-header h1,
body .section-stack.dunning-model > .detail-header h1,
body .company-dashboard-layout > .company-dashboard-main > header:first-child h1 {
  font-size: clamp(1.9rem, 3vw, 2.55rem);
  line-height: 1.08;
  letter-spacing: 0;
}

body .section-stack.payment-model > .detail-header p,
body .section-stack.dunning-model > .detail-header p,
body .company-dashboard-layout > .company-dashboard-main > header:first-child p {
  max-width: 48rem;
  font-size: 1rem;
  line-height: 1.5;
}

body .payment-model .security-notice,
body .dunning-model .security-notice,
body .payment-model .prepared-notice,
body .dunning-model .prepared-notice {
  padding: 0.75rem 1rem;
  border-radius: 0;
  border-width: 0 0 0 3px;
  background: transparent;
}

body .payment-model .prepared-admin-flow,
body .dunning-model .prepared-admin-flow {
  padding: 1rem;
  border-radius: 0.9rem;
  background: #f8fafc;
}

body .payment-model .prepared-admin-flow h2,
body .dunning-model .prepared-admin-flow h2 {
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
}

body .payment-model .prepared-admin-flow article,
body .dunning-model .prepared-admin-flow article {
  padding: 0.85rem;
  border-radius: 0.75rem;
  box-shadow: none;
}

body .payment-model .work-queue,
body .dunning-model .work-queue {
  padding: 0.95rem 1rem;
  border-radius: 0.85rem;
}

body .payment-model .work-queue h2,
body .dunning-model .work-queue h2 {
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
}

body .payment-model .summary-metrics,
body .dunning-model .summary-metrics,
body .payment-model .process-card-list,
body .dunning-model .process-card-list {
  padding: 0.95rem 1rem;
  border-radius: 0.85rem;
}

body .payment-model .summary-metric,
body .dunning-model .summary-metric {
  padding: 0.72rem 0.85rem;
  border-radius: 0.72rem;
}

body .payment-model .summary-metric strong,
body .dunning-model .summary-metric strong {
  font-size: 1.22rem;
}

body .payment-model .process-item-card,
body .dunning-model .process-item-card {
  box-shadow: none;
}

body .company-discovery-layout .company-dashboard-toolbar,
body .company-process-workspace .company-dashboard-toolbar {
  padding-block: 0.85rem;
}

body .company-discovery-main .student-card-grid {
  gap: 0.8rem;
}

body .company-discovery-main .student-search-card.talent-market-card {
  padding: 1rem;
}

body .company-discovery-main .student-card-header {
  padding: 0.75rem 0.85rem;
}

@media (max-width: 767px) {
  body .section-stack.payment-model > .detail-header h1,
  body .section-stack.dunning-model > .detail-header h1,
  body .company-dashboard-layout > .company-dashboard-main > header:first-child h1 {
    font-size: clamp(1.75rem, 8vw, 2.15rem);
  }
}

/* Product core 37: App-Kopfbereiche wie ArbeitsflÃ¤chen statt Landingpages behandeln. */
body .company-dashboard-layout .company-dashboard-main h1,
body .student-dashboard-shell .student-dashboard-main h1,
body .admin-dashboard-shell .admin-dashboard-main h1,
body .section-stack.payment-model h1,
body .section-stack.dunning-model h1 {
  font-size: clamp(1.85rem, 2.45vw, 2.45rem);
  line-height: 1.08;
  letter-spacing: 0;
}

body .company-dashboard-layout .company-dashboard-main header,
body .student-dashboard-shell .student-dashboard-main header,
body .admin-dashboard-shell .admin-dashboard-main header {
  margin-bottom: 0.8rem;
}

body .company-dashboard-layout .company-dashboard-main > header:first-child,
body .student-dashboard-shell .student-dashboard-main > header:first-child,
body .admin-dashboard-shell .admin-dashboard-main > header:first-child {
  padding-block: 0.8rem;
}

body .company-dashboard-layout .company-dashboard-main > header:first-child p,
body .student-dashboard-shell .student-dashboard-main > header:first-child p,
body .admin-dashboard-shell .admin-dashboard-main > header:first-child p {
  font-size: 0.98rem;
  line-height: 1.45;
  max-width: 50rem;
}

body .company-dashboard-layout .company-dashboard-main .process-status-strip,
body .company-dashboard-layout .company-dashboard-main .process-guidance-card,
body .company-dashboard-layout .company-dashboard-main .next-step-panel,
body .student-dashboard-shell .student-dashboard-main .student-dashboard-panel {
  border-radius: 0.85rem;
}

body .company-dashboard-layout .company-dashboard-main .talent-market-card,
body .company-dashboard-layout .company-dashboard-main .process-item-card,
body .student-dashboard-shell .student-dashboard-main .student-decision-card,
body .student-dashboard-shell .student-dashboard-main .student-work-card {
  box-shadow: none;
}

@media (max-width: 767px) {
  body .company-dashboard-layout .company-dashboard-main h1,
  body .student-dashboard-shell .student-dashboard-main h1,
  body .admin-dashboard-shell .admin-dashboard-main h1,
  body .section-stack.payment-model h1,
  body .section-stack.dunning-model h1 {
    font-size: clamp(1.65rem, 7vw, 2.05rem);
  }
}

/* Product core 38: Mobile Einstieg und App-Navigation weiter verdichten. */
@media (max-width: 767px) {
  body .premium-home-hero .landing-hero-inner {
    padding-block: 2.35rem 2.25rem;
  }

  body .landing-cta-grid {
    gap: 0.72rem;
  }

  body .premium-home-hero .landing-cta-card,
  body .landing-cta-card {
    min-height: 0;
    padding: 1rem 1rem 1.05rem;
    gap: 0.72rem;
    border-radius: 1rem;
  }

  body .premium-home-hero .landing-cta-card::before {
    width: 2rem;
    height: 0.16rem;
    margin-bottom: 0.2rem;
  }

  body .premium-home-hero .landing-cta-card h2,
  body .landing-cta-card h2 {
    font-size: 1.02rem;
    line-height: 1.16;
  }

  body .premium-home-hero .landing-cta-card p,
  body .landing-cta-card p {
    display: none;
  }

  body .landing-card-button {
    min-height: 2.7rem;
    padding: 0.72rem 1rem;
  }

  body .dashboard-mobile-more {
    border: 0;
    background: transparent;
  }

  body .dashboard-mobile-more summary {
    min-height: 2.35rem;
    padding: 0.62rem 0.9rem;
    border: 1px solid #bfdbfe;
    border-radius: 0.8rem;
    background: #eff6ff;
    color: #075985;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
  }

  body .dashboard-mobile-more[open] summary,
  body .dashboard-mobile-more.active summary {
    border-color: #38bdf8;
    background: #e0f2fe;
    color: #023047;
  }

  body .dashboard-mobile-more div {
    margin-top: 0.5rem;
    display: grid;
    gap: 0.45rem;
  }

  body .dashboard-mobile-more a {
    min-height: 2.35rem;
    padding: 0.62rem 0.8rem;
    border-radius: 0.72rem;
    background: #ffffff;
    color: #0f172a;
    border: 1px solid #e2e8f0;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
  }
}

/* Product core 39: Dokumentseiten wirken wie ProduktflÃ¤chen, nicht wie Browser-Formulare. */
body .document-upload-panel input[type="file"] {
  width: 100%;
  min-height: 3rem;
  padding: 0.45rem;
  border: 1.5px solid #cbd5e1;
  border-radius: 0.85rem;
  background: #ffffff;
  color: #0f172a;
  font: inherit;
}

body .document-upload-panel input[type="file"]::file-selector-button {
  margin-right: 0.85rem;
  min-height: 2.2rem;
  padding: 0 0.9rem;
  border: 0;
  border-radius: 0.7rem;
  background: #0ea5e9;
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
}

body .document-upload-panel input[type="file"]:focus {
  outline: 3px solid rgba(14, 165, 233, 0.18);
  border-color: #0ea5e9;
}

body .process-item-card .description-list {
  grid-template-columns: 1fr;
  gap: 0.72rem;
}

body .process-item-card .description-list div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

body .process-item-card .description-list dd {
  margin: 0;
  max-width: 65%;
  text-align: right;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

body .process-item-card h3 {
  overflow-wrap: anywhere;
}

/* Product core 40: Student-Prozessseiten als Arbeitslisten statt leerer DetailflÃ¤chen. */
body .student-process-main .section-heading {
  padding-block: 0.3rem 0.7rem;
  margin-bottom: 0.35rem;
}

body .student-process-main .section-heading h1 {
  font-size: clamp(1.85rem, 2.6vw, 2.45rem);
  line-height: 1.08;
  letter-spacing: 0;
}

body .student-process-main .section-heading .lead,
body .student-process-main .lead {
  max-width: 44rem;
  font-size: 1rem;
  line-height: 1.5;
}

body .student-process-workspace .offer-card-grid,
body .student-process-workspace .grid.grid-2.offer-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: 0.95rem;
  align-items: stretch;
}

body .student-process-workspace .student-work-card.student-offer-card {
  min-height: 0;
  padding: 1rem;
}

body .student-process-workspace .student-work-card.student-offer-card h2 {
  font-size: clamp(1.22rem, 1.8vw, 1.55rem);
  line-height: 1.18;
  letter-spacing: 0;
}

body .student-process-workspace .student-card-copy {
  min-height: 0;
  line-height: 1.48;
}

body .student-process-workspace .student-offer-card-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
}

body .student-process-workspace .student-offer-card-facts span {
  padding: 0.35rem 0.58rem;
  border: 1px solid #bae6fd;
  border-radius: 999px;
  background: #f0f9ff;
  color: #075985;
  font-size: 0.76rem;
  font-weight: 700;
}

@media (max-width: 767px) {
  body .student-process-main .section-heading h1 {
    font-size: clamp(1.65rem, 7vw, 2.05rem);
  }

  body .student-process-workspace .student-work-card.student-offer-card {
    padding: 0.9rem;
  }
}

@media (max-width: 760px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    min-height: 0;
    padding: 8px 12px;
  }

  .sidebar-context,
  .desktop-role-nav {
    display: none;
  }

  .mobile-role-menu {
    display: block;
  }

  .workspace-main {
    width: min(100% - 24px, 100%);
    padding-top: 12px;
  }

  .workspace-topbar {
    align-items: flex-start;
    padding: 8px 12px;
  }

  .public-header .brand-emblem,
  .public-header .brand-emblem img {
    width: 48px;
    height: 48px;
  }

  .public-header .brand-word {
    font-size: 18px;
  }

  .process-timeline {
    grid-template-columns: 1fr;
  }

  .process-timeline li {
    min-height: 0;
    border-left: 0;
    border-top: 1px solid var(--color-line);
  }

  .process-timeline li:first-child {
    border-top: 0;
  }

  .process-guard ul {
    grid-template-columns: 1fr;
  }

  .action-strip {
    grid-template-columns: 1fr;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  background: var(--color-background);
}

body {
  min-width: 0;
  width: 100%;
  max-width: 100vw;
  min-height: 100vh;
  margin: 0;
  color: var(--color-text);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0, rgba(245, 248, 250, 0.98) 280px),
    var(--color-background);
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  font-weight: 400;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body,
button,
input,
select,
textarea {
  font-family: var(--font-body);
}

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: var(--color-primary);
}

a:hover {
  color: var(--color-primary-hover);
}

img,
svg {
  max-width: 100%;
}

p,
h1,
h2,
h3 {
  margin-top: 0;
}

p {
  margin-bottom: var(--space-4);
}

h1,
h2,
h3 {
  color: var(--color-primary-dark);
  font-weight: 700;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

p,
.lead,
.breadcrumb,
.workspace-title {
  overflow-wrap: anywhere;
}

h1 {
  margin-bottom: var(--space-4);
  font-size: var(--font-size-h1);
  line-height: 1.14;
}

h2 {
  margin-bottom: var(--space-3);
  font-size: var(--font-size-h2);
  line-height: 1.18;
}

h3 {
  margin-bottom: var(--space-2);
  font-size: var(--font-size-h3);
  line-height: 1.25;
}

.shell {
  width: min(100% - 40px, var(--max-width));
  margin: 0 auto;
  padding: var(--space-5) 0 var(--space-8);
}

/* App shell */
.app-shell {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  width: 100%;
  max-width: 100vw;
  min-height: 100vh;
  background: var(--color-background);
  overflow-x: clip;
}

.sidebar {
  align-self: stretch;
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
  max-width: 100vw;
  min-height: 100vh;
  padding: 14px 12px;
  color: var(--color-text);
  background: var(--color-surface);
  border-right: 1px solid var(--color-line);
}

.sidebar .sidebar-brand {
  color: var(--color-primary-dark);
  font-size: 15px;
}

.sidebar .sidebar-brand:hover,
.sidebar .sidebar-brand:focus-visible {
  color: var(--color-primary-dark);
}

.sidebar-context {
  display: grid;
  gap: 4px;
  padding: 0 0 var(--space-2);
  border-bottom: 1px solid var(--color-line);
}

.sidebar-context p {
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: var(--font-size-small);
}

.sidebar-nav {
  display: grid;
  gap: var(--space-1);
}

.mobile-role-menu {
  display: none;
}

.sidebar-nav a {
  min-height: 34px;
  padding: 7px 10px;
  color: var(--color-primary-dark);
  font-size: var(--font-size-small);
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  border-radius: var(--radius-sm);
  overflow-wrap: anywhere;
}

.sidebar-nav a:hover,
.sidebar-nav a:focus-visible,
.sidebar-nav a.active,
.sidebar-nav a[aria-current="page"] {
  color: var(--color-primary-dark);
  background: var(--color-primary-soft);
  outline: none;
}

.mobile-role-menu summary {
  min-height: 38px;
  padding: 10px 12px;
  color: var(--color-primary-dark);
  font-size: var(--font-size-small);
  font-weight: 700;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.workspace {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  max-width: 100vw;
}

.workspace-topbar {
  position: sticky;
  top: 0;
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  min-height: 48px;
  padding: 8px var(--space-5);
  background: rgba(245, 248, 250, 0.94);
  border-bottom: 1px solid var(--color-line);
  backdrop-filter: blur(10px);
}

.workspace-title-group {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.breadcrumb {
  margin-bottom: 0;
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 700;
}

.workspace-title {
  margin-bottom: 0;
  color: var(--color-primary-dark);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.workspace-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  align-items: center;
  justify-content: flex-end;
}

.workspace-actions .button,
.workspace-actions .badge {
  min-height: 30px;
}

.workspace-profile-chip {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  min-height: 34px;
  padding: 4px 10px 4px 4px;
  color: var(--color-primary-dark);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: 999px;
}

.workspace-profile-chip:hover,
.workspace-profile-chip:focus-visible {
  color: var(--color-primary-dark);
  border-color: rgba(14, 165, 233, 0.42);
  outline: none;
}

.workspace-profile-chip span:last-child {
  display: grid;
  line-height: 1.05;
}

.workspace-profile-chip small {
  color: var(--color-muted);
  font-size: 10px;
  font-weight: 800;
}

.workspace-profile-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  background: var(--color-primary);
  border-radius: 999px;
}

.workspace-main {
  display: grid;
  gap: var(--space-5);
  min-width: 0;
  max-width: 100%;
  width: min(100% - 40px, 1280px);
  margin: 0 auto;
  padding: var(--space-5) 0 var(--space-8);
}

.workspace-main > * {
  min-width: 0;
  max-width: 100%;
}

.workspace-main .subnav {
  display: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-7);
  padding: var(--space-3) 0;
  background: rgba(245, 248, 250, 0.94);
  border-bottom: 1px solid var(--color-line);
  backdrop-filter: blur(10px);
}

.public-header {
  min-height: 58px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--space-3);
}

.brand {
  color: var(--color-primary-dark);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
}

.brand-lockup {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  line-height: 1;
}

.brand-emblem {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  overflow: hidden;
  background: transparent;
  border-radius: 10px;
}

.brand-emblem img {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
  background: var(--color-primary-dark);
  border-radius: 8px;
}

.brand-word {
  color: var(--color-primary-dark);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0;
}

.nav,
.subnav,
.actions,
.form-actions,
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  align-items: center;
}

.nav {
  justify-content: flex-end;
}

.public-nav {
  justify-content: center;
}

.public-header-actions,
.public-mobile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  align-items: center;
  justify-content: flex-end;
}

.public-header-actions .button {
  min-height: 36px;
  padding: 8px 11px;
}

.public-mobile-menu {
  display: none;
}

.language-switch {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  min-height: 36px;
  padding: 0;
  color: var(--color-muted);
  font-size: var(--font-size-small);
  font-weight: 700;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.language-label {
  color: var(--color-primary-dark);
}

.language-switch a {
  color: var(--color-primary);
  text-decoration: none;
}

.language-switch a.active {
  color: var(--color-primary-dark);
}

.language-note-inline {
  font-weight: 400;
  color: var(--color-muted);
}

.language-note {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  white-space: nowrap;
  border: 0;
  clip: rect(0, 0, 0, 0);
}

.nav a,
.subnav a,
.text-link {
  min-height: 36px;
  padding: 8px 10px;
  color: var(--color-primary);
  font-size: var(--font-size-small);
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  border-radius: var(--radius-sm);
}

.nav a:hover,
.nav a:focus-visible,
.nav a.active {
  color: var(--color-primary-dark);
  background: var(--color-primary-soft);
  outline: none;
}

.subnav {
  margin-top: var(--space-4);
  padding-bottom: var(--space-1);
}

.subnav a {
  color: var(--color-primary-dark);
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  box-shadow: var(--shadow-sm);
}

.subnav a:hover,
.subnav a:focus-visible {
  border-color: var(--color-primary);
  outline: 3px solid var(--color-focus);
  outline-offset: 2px;
}

main {
  display: grid;
  gap: var(--space-7);
}

.public-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: var(--space-7);
  align-items: start;
  min-height: 0;
  padding: var(--space-7) 0 var(--space-6);
}

.public-hero-content,
.public-page,
.public-section {
  display: grid;
  gap: var(--space-5);
  min-width: 0;
}

.public-hero-content {
  max-width: 760px;
}

.public-hero-content h1 {
  max-width: 820px;
  font-size: 54px;
  line-height: 1.04;
}

.hero-proof {
  display: grid;
  gap: var(--space-2);
  padding: var(--space-2) 0 var(--space-2) var(--space-4);
  background: transparent;
  border-left: 3px solid var(--color-primary);
}

.public-brand-stage {
  align-content: center;
  min-height: 0;
  padding: 0;
  border-left: 0;
}

.hero-logo-mark {
  justify-self: center;
  width: min(100%, 390px);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(11, 31, 53, 0.18);
}

.public-brand-stage .section-kicker,
.public-brand-stage strong,
.public-brand-stage p,
.public-brand-stage ol {
  width: min(100%, 420px);
  justify-self: center;
}

.hero-proof strong {
  color: var(--color-primary-dark);
  font-size: var(--font-size-card-title);
}

.hero-proof p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.public-hero-panel {
  display: grid;
  gap: var(--space-3);
  padding: var(--space-5);
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.public-hero-panel h2 {
  margin-bottom: 0;
  font-size: var(--font-size-h3);
}

.public-hero-panel p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.hero-journey ol {
  display: grid;
  gap: var(--space-2);
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-journey li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 2px 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-line);
}

.hero-journey li:last-child {
  border-bottom: 0;
}

.hero-journey li span {
  grid-row: span 2;
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: var(--color-surface);
  font-size: 13px;
  font-weight: 800;
  background: var(--color-primary);
  border-radius: 999px;
}

.hero-journey li b {
  color: var(--color-primary-dark);
  line-height: 1.2;
}

.hero-journey li small {
  color: var(--color-muted);
  line-height: 1.3;
}

.public-hero-product .actions,
.public-status-band .actions {
  align-items: stretch;
}

.public-hero-product .button,
.public-status-band .button {
  justify-content: center;
}

.public-page {
  max-width: var(--max-width);
  padding: var(--space-6) 0 var(--space-4);
}

.public-feature-grid,
.public-split,
.public-contact-grid {
  display: grid;
  gap: var(--space-4);
  align-items: stretch;
  min-width: 0;
}

.public-feature-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.public-split,
.public-contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.public-feature-grid .card,
.public-split .card,
.public-contact-grid .card {
  display: grid;
  gap: var(--space-3);
  align-content: start;
}

.public-feature-grid h2,
.public-feature-grid h3,
.public-split h2,
.public-contact-grid h2 {
  margin-bottom: 0;
}

.public-feature-grid p,
.public-split p,
.public-contact-grid p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.public-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-3);
  min-width: 0;
}

.public-flow-card {
  display: grid;
  gap: var(--space-2);
  align-content: start;
  min-width: 0;
  padding: var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.public-flow-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: var(--color-surface);
  font-weight: 700;
  background: var(--color-primary);
  border-radius: 999px;
}

.public-flow-card h3 {
  margin-bottom: 0;
  font-size: var(--font-size-card-title);
}

.public-flow-card p {
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: var(--font-size-small);
}

.public-split-section,
.trust-section,
.public-status-band,
.flow-section,
.detail-header {
  display: grid;
  gap: var(--space-5);
  min-width: 0;
  padding: var(--space-6) 0;
  border-top: 1px solid var(--color-line);
}

.public-split-section {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr);
  align-items: start;
}

.public-section-copy,
.flow-heading {
  display: grid;
  gap: var(--space-2);
  align-content: start;
}

.public-section-copy p,
.flow-heading p,
.trust-section p,
.public-status-band p,
.detail-header p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.public-section-detail {
  min-width: 0;
}

.public-flow-line,
.process-timeline,
.compact-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.public-flow-line li,
.process-timeline li,
.compact-list li {
  display: grid;
  gap: var(--space-2);
  min-width: 0;
  padding: var(--space-4) 0;
  border-top: 1px solid var(--color-line);
}

.public-flow-line li:first-child,
.process-timeline li:first-child,
.compact-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.public-flow-line li {
  grid-template-columns: 42px minmax(0, 0.45fr) minmax(0, 1fr);
  align-items: start;
}

.public-flow-line span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--color-primary-dark);
  font-size: var(--font-size-small);
  font-weight: 800;
  background: var(--color-primary-soft);
  border: 1px solid rgba(15, 107, 114, 0.2);
  border-radius: 999px;
}

.public-flow-line strong,
.process-timeline strong,
.compact-list strong {
  color: var(--color-primary-dark);
}

.public-flow-line p,
.process-timeline p,
.compact-list span,
.compact-list em {
  margin-bottom: 0;
  color: var(--color-muted);
}

.compact-list li {
  grid-template-columns: minmax(0, 0.58fr) minmax(0, 1.42fr);
  align-items: start;
}

.compact-list em {
  font-size: var(--font-size-small);
  font-style: normal;
  font-weight: 700;
  grid-column: 2;
  justify-self: start;
}

.trust-section {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  padding: var(--space-6);
  background: linear-gradient(135deg, var(--color-primary-soft), var(--color-surface));
  border: 1px solid rgba(15, 107, 114, 0.18);
  border-radius: var(--radius-md);
}

.public-status-band {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
}

.audience-section,
.service-chapters,
.platform-flow {
  display: grid;
  gap: var(--space-5);
  min-width: 0;
  padding: var(--space-6) 0;
  border-top: 1px solid var(--color-line);
}

.audience-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
}

.audience-columns section,
.service-chapters section {
  min-width: 0;
  padding-top: var(--space-4);
  border-top: 2px solid var(--color-line);
}

.audience-columns p,
.service-chapters p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.audience-columns section {
  display: grid;
  gap: var(--space-2);
  align-content: start;
}

.service-chapters section {
  display: grid;
  grid-template-columns: 64px minmax(0, 0.55fr) minmax(0, 1fr);
  gap: var(--space-4);
  align-items: start;
}

.service-chapters span {
  color: var(--color-primary);
  font-weight: 800;
}

.service-chapters h2 {
  margin-bottom: 0;
  font-size: var(--font-size-h3);
}

.status-strip,
.register-steps {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  align-items: center;
  min-width: 0;
}

.status-strip {
  padding: 8px 0;
  background: transparent;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  border-radius: 0;
  box-shadow: none;
}

.register-steps {
  padding: var(--space-3);
  background: var(--color-primary-soft);
  border: 1px solid rgba(15, 107, 114, 0.24);
  border-radius: var(--radius-md);
}

.register-section-map {
  justify-content: flex-start;
}

.register-steps span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 6px 10px;
  color: var(--color-primary-dark);
  font-size: var(--font-size-small);
  font-weight: 700;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: 999px;
}

.register-steps span strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  background: var(--color-primary);
  border-radius: 999px;
}

.legal-page {
  max-width: 920px;
}

.public-footer {
  display: grid;
  gap: var(--space-4);
  margin-top: var(--space-8);
  padding: var(--space-6) 0 0;
  border-top: 1px solid var(--color-line);
}

.public-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: var(--space-6);
}

.public-footer h2 {
  margin-bottom: var(--space-2);
  font-size: var(--font-size-card-title);
}

.public-footer p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.public-footer nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-2);
}

.public-footer a {
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: none;
}

.public-footer-bottom {
  padding: var(--space-4) 0;
  border-top: 1px solid var(--color-line);
}

.footer-service-row {
  display: flex;
  justify-content: flex-end;
  padding-top: var(--space-2);
  border-top: 1px solid var(--color-line);
}

.hero-block,
.section-heading,
.auth-card {
  min-width: 0;
  max-width: var(--content-width);
}

.hero-block {
  display: grid;
  gap: var(--space-3);
}

.hero-block.compact {
  max-width: 720px;
}

.lead {
  max-width: min(760px, 100%);
  color: var(--color-muted);
  font-size: 18px;
  line-height: 1.6;
  word-break: break-word;
  hyphens: auto;
}

.section-stack {
  display: grid;
  gap: var(--space-5);
  min-width: 0;
}

.section-heading {
  display: grid;
  gap: var(--space-2);
}

.section-heading .lead {
  margin-bottom: 0;
}

.eyebrow {
  margin-bottom: 0;
  color: var(--color-primary);
  font-size: var(--font-size-small);
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0;
}

.grid {
  display: grid;
  gap: var(--space-4);
  align-items: start;
  min-width: 0;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  min-width: 0;
  padding: var(--space-4);
  color: var(--color-text);
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  box-shadow: none;
}

.card > *:last-child {
  margin-bottom: 0;
}

.auth-card {
  justify-self: start;
  width: 100%;
}

.auth-card-wide {
  max-width: 920px;
}

.metric-card {
  display: grid;
  gap: var(--space-2);
  align-content: start;
  min-height: 112px;
}

.metric-card strong {
  display: block;
  color: var(--color-primary-dark);
  font-size: var(--font-size-card-title);
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.metric-card p,
.choice-card p,
dd {
  color: var(--color-muted);
}

.metric-card p,
.choice-card p {
  margin-bottom: 0;
}

.dashboard-grid {
  align-items: stretch;
}

.dashboard-grid .metric-card {
  min-height: 104px;
}

.dashboard-group {
  display: grid;
  gap: var(--space-3);
  min-width: 0;
}

.dashboard-group h2 {
  margin-bottom: 0;
  font-size: 20px;
}

.dashboard-section-header {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
  justify-content: space-between;
}

.dashboard-section-header p {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--color-muted);
}

.action-strip .card,
.workflow-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px var(--space-2);
  align-items: start;
  padding: 10px 12px;
  color: var(--color-text);
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-left: 3px solid var(--color-primary);
  border-radius: var(--radius-sm);
  text-decoration: none;
}

.workflow-card {
  box-shadow: none;
}

.action-strip .card:hover,
.action-strip .card:focus-visible,
.workflow-card:hover,
.workflow-card:focus-visible {
  border-color: var(--color-primary);
  background: var(--color-primary-soft);
  outline: none;
}

.action-strip h3,
.workflow-card h3 {
  margin-bottom: 0;
  font-size: 15px;
}

.action-strip p,
.workflow-card p {
  grid-column: 2;
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: 13px;
  line-height: 1.35;
}

.workflow-card .badge {
  grid-row: 1 / span 2;
  align-self: start;
}

.app-command-panel,
.document-upload-panel,
.bv-overview-panel,
.message-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.8fr);
  gap: var(--space-4);
  align-items: start;
}

.flow-section {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
}

.flow-body {
  min-width: 0;
}

.flow-actions {
  margin-top: var(--space-3);
}

.process-timeline {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}

.process-timeline li {
  grid-template-columns: 1fr;
  align-items: start;
  padding: 14px 14px;
  border-top: 0;
  border-left: 1px solid var(--color-line);
}

.process-timeline li:first-child {
  padding-top: 14px;
  border-left: 0;
}

.process-timeline .badge {
  width: fit-content;
}

.process-timeline p {
  font-size: var(--font-size-small);
  line-height: 1.45;
}

.process-legend {
  margin: calc(-1 * var(--space-2)) 0 var(--space-3);
  color: var(--color-muted);
  font-size: var(--font-size-small);
}

.process-guard {
  display: grid;
  gap: var(--space-2);
  padding: var(--space-3) 0;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}

.process-guard strong {
  color: var(--color-primary-dark);
}

.process-guard ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-guard li {
  max-width: 100%;
  padding: 0;
  color: var(--color-text);
  font-size: var(--font-size-small);
  background: transparent;
  border: 0;
}

.status-strip-quiet {
  gap: var(--space-2);
  padding: var(--space-3) 0;
  background: transparent;
  border-width: 1px 0;
  border-radius: 0;
  box-shadow: none;
}

.summary-metrics {
  min-width: 0;
  padding: 10px 0;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}

.summary-metrics ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.summary-metric {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 8px 14px;
  border-left: 1px solid var(--color-line);
}

.summary-metric:first-child {
  border-left: 0;
}

.summary-metric span,
.table-note {
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 700;
}

.summary-metric strong {
  color: var(--color-primary-dark);
  font-size: 19px;
  line-height: 1.2;
}

.summary-metric em {
  color: var(--color-muted);
  font-size: 13px;
  font-style: normal;
  line-height: 1.3;
}

.summary-metric-success {
  border-top: 3px solid var(--color-accent);
}

.summary-metric-warning {
  border-top: 3px solid var(--color-warning);
}

.summary-metric-danger {
  border-top: 3px solid var(--color-danger);
}

.summary-metric-info {
  border-top: 3px solid var(--color-primary);
}

.summary-metric-muted {
  border-top: 3px solid var(--color-line-strong);
}

.work-queue {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: var(--space-4);
  align-items: start;
  min-width: 0;
  padding: var(--space-4) 0;
  border-top: 1px solid var(--color-line);
}

.work-queue p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.work-queue ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.work-queue li {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  padding: 9px 0;
  border-top: 1px solid var(--color-line);
}

.work-queue .button {
  flex: 0 0 auto;
}

.payment-open-cases li {
  align-items: flex-start;
}

.work-queue li:first-child {
  border-top: 0;
  padding-top: 0;
}

.detail-header {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  padding-top: 0;
}

.detail-header h1 {
  margin-bottom: var(--space-2);
}

.detail-header-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: flex-end;
}

.action-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  padding: var(--space-3) 0;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}

.data-panel {
  display: grid;
  gap: var(--space-3);
  min-width: 0;
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-line);
}

.data-panel h2 {
  margin-bottom: 0;
  font-size: 22px;
}

.profile-status-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: var(--color-surface);
}

.profile-status-card {
  display: grid;
  grid-template-columns: minmax(7rem, 0.2fr) minmax(9rem, 0.24fr) minmax(0, 1fr);
  align-items: center;
  gap: var(--space-3);
  min-height: 0;
  padding: .85rem 1rem;
  border: 0;
  border-bottom: 1px solid var(--color-line);
  border-radius: 0;
  box-shadow: none;
}

.profile-status-card:last-child {
  border-bottom: 0;
}

.profile-status-card strong {
  display: inline-flex;
  margin: 0;
}

.profile-status-card p {
  margin: 0;
  font-size: var(--font-size-small);
  line-height: 1.45;
}

.guided-profile-form {
  gap: var(--space-5);
}

.request-form-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: var(--space-5);
  align-items: start;
}

.request-guidance-panel {
  position: sticky;
  top: calc(var(--space-5) + 56px);
  display: grid;
  gap: var(--space-4);
  min-width: 0;
  padding: var(--space-5);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #ffffff, #f8fbff);
}

.request-guidance-panel h2 {
  margin-bottom: 0;
  color: var(--color-primary-dark);
  font-size: var(--font-size-section-title);
}

.request-guidance-panel p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.request-guidance-panel .security-notice {
  margin-top: 0;
}

.request-form-card {
  min-width: 0;
}

.profile-section-heading {
  padding-top: var(--space-2);
  border-top: 1px solid var(--color-line);
}

.profile-section-heading:first-child {
  padding-top: 0;
  border-top: 0;
}

.field-hint {
  display: block;
  margin-top: var(--space-1);
  color: var(--color-muted);
  font-size: var(--font-size-small);
  line-height: 1.45;
}

.process-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-3);
}

.contact-release-process {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-step {
  display: grid;
  gap: var(--space-2);
  padding: var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.process-step strong {
  color: var(--color-primary-dark);
  font-size: var(--font-size-card-title);
}

.process-step p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.security-notice,
.boundary-notice,
.prepared-notice,
.privacy-notice {
  display: grid;
  gap: var(--space-1);
  align-items: flex-start;
  padding: var(--space-3) 0 var(--space-3) var(--space-4);
  background: transparent;
  border: 0;
  border-left: 3px solid var(--color-warning);
  border-radius: 0;
  box-shadow: none;
}

.security-notice strong,
.boundary-notice strong,
.prepared-notice strong,
.privacy-notice strong {
  display: block;
  margin-bottom: var(--space-1);
  color: var(--color-primary-dark);
}

.security-notice p,
.boundary-notice p,
.prepared-notice p,
.privacy-notice p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.security-notice > div,
.boundary-notice > div,
.prepared-notice > div,
.privacy-notice > div {
  min-width: 0;
}

.privacy-notice {
  border-left-color: var(--color-primary);
}

.contact-release-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
}

.contact-release-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: var(--space-4);
  align-items: start;
}

.contact-release-card {
  display: grid;
  gap: var(--space-4);
}

.contact-release-card .card-intro {
  margin-bottom: 0;
  color: var(--color-muted);
}

.access-state-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
}

.access-state-card {
  display: grid;
  gap: var(--space-2);
  min-width: 0;
  padding: var(--space-3);
  background: var(--color-surface-muted);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
}

.access-state-card p {
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: var(--font-size-small);
}

.privacy-impact-list {
  display: grid;
  gap: var(--space-1);
  padding: var(--space-3);
  background: var(--color-primary-soft);
  border: 1px solid rgba(15, 107, 114, 0.18);
  border-radius: var(--radius-md);
}

.privacy-impact-list strong {
  color: var(--color-primary-dark);
}

.privacy-impact-list span {
  color: var(--color-text);
}

.action-group {
  align-items: center;
}

.focus-card-grid {
  align-items: stretch;
}

.focus-card {
  display: grid;
  gap: var(--space-3);
  border-left: 4px solid var(--color-primary);
}

.focus-card .badge-row {
  justify-content: flex-start;
}

.focus-card .card-intro {
    margin-bottom: 0;
  }

.offer-workflow .offer-card,
.offer-workflow .counterproposal-card {
  display: grid;
  gap: var(--space-3);
}

.offer-workflow .offer-card p,
.offer-workflow .counterproposal-card p {
  margin-bottom: 0;
}

.offer-detail-grid,
.offer-card-grid {
  align-items: start;
}

.offer-action-panel {
  display: grid;
  gap: var(--space-3);
}

.student-offer-decision {
  border: 1px solid rgba(14, 165, 233, 0.18);
  border-radius: 20px;
  background: linear-gradient(145deg, #ffffff, #f0f9ff);
  box-shadow: 0 16px 40px rgba(14, 30, 46, 0.08);
  padding: 18px;
}

.student-offer-decision header {
  display: grid;
  gap: 8px;
}

.student-offer-decision h2 {
  margin: 0;
  color: #082f49;
}

.student-offer-decision p {
  max-width: 760px;
  margin: 0;
  color: #475569;
}

.student-offer-decision-facts,
.student-offer-guidance,
.student-offer-card-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.student-offer-decision-facts span,
.student-offer-guidance span,
.student-offer-card-facts span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  color: #075985;
  font-size: 0.74rem;
  font-weight: 900;
  line-height: 1.2;
  background: #f0f9ff;
  border: 1px solid rgba(14, 165, 233, 0.18);
  border-radius: 999px;
}

.student-offer-guidance {
  padding: 10px;
  background: #ffffff;
  border: 1px solid rgba(14, 30, 46, 0.08);
  border-radius: 16px;
}

.student-offer-choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.student-offer-choice-row form {
  min-width: min(190px, 100%);
}

.student-offer-choice-row .button {
  width: 100%;
}

.student-counter-proposal {
  border: 1px solid rgba(14, 30, 46, 0.1);
  border-radius: 16px;
  background: #ffffff;
  padding: 12px;
}

.student-counter-proposal summary {
  cursor: pointer;
  color: #075985;
  font-weight: 900;
}

.offer-counter-form {
  margin-top: var(--space-3);
}

.offer-negotiation-page {
  gap: var(--space-4);
}

.company-dashboard-layout.company-offer-negotiation-layout {
  grid-template-columns: 220px minmax(0, 1fr);
}

.company-offer-negotiation-main {
  padding: 10px 0 18px;
}

.offer-negotiation-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 18px;
  align-items: end;
  max-width: none;
  padding-bottom: 0;
}

.offer-negotiation-heading h1 {
  font-size: clamp(1.55rem, 2.3vw, 2.35rem);
  line-height: 1.08;
}

.offer-negotiation-heading .lead {
  max-width: 660px;
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.45;
}

.offer-process-compact {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(14, 165, 233, 0.16);
  border-radius: 16px;
  background: linear-gradient(135deg, #f0f9ff, #ffffff);
  padding: 9px 11px;
}

.offer-process-compact-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.offer-process-compact-track span,
.offer-process-compact-track strong {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  border: 1px solid rgba(14, 30, 46, 0.08);
  border-radius: 999px;
  background: #ffffff;
  color: #475569;
  font-size: 0.76rem;
  font-weight: 900;
  text-align: center;
}

.offer-process-compact-track strong {
  border-color: rgba(14, 165, 233, 0.35);
  background: #0ea5e9;
  color: #ffffff;
}

.offer-process-compact p {
  margin: 0;
  color: #334155;
  font-size: 0.92rem;
  line-height: 1.5;
}

.offer-process-summary {
  border-top: 1px solid rgba(14, 30, 46, 0.08);
  padding-top: 8px;
}

.offer-focus-band {
  display: grid;
  grid-template-columns: 1.1fr repeat(3, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(14, 30, 46, 0.08);
  border-radius: 18px;
  background: #ffffff;
}

.offer-focus-band div {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 13px 16px;
  border-left: 1px solid rgba(14, 30, 46, 0.08);
}

.offer-focus-band div:first-child {
  border-left: 0;
  background: #f8fafc;
}

.offer-focus-band span {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.offer-focus-band strong {
  min-width: 0;
  color: #0f172a;
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1.25;
}

.offer-negotiation-split {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: 18px;
  align-items: stretch;
}

.offer-form-panel,
.offer-chat-panel {
  display: grid;
  align-content: start;
  gap: 13px;
  min-width: 0;
  border: 1px solid rgba(14, 30, 46, 0.08);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(14, 30, 46, 0.06);
  padding: 16px;
}

.offer-chat-panel {
  grid-template-rows: auto auto minmax(220px, 1fr) auto auto;
  min-height: 590px;
}

.offer-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(14, 30, 46, 0.08);
  padding-bottom: 10px;
}

.offer-panel-head h2 {
  margin: 0;
  color: #082f49;
  font-size: 1.35rem;
}

.offer-status-bar {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.offer-status-bar li {
  display: grid;
  gap: 5px;
  min-width: 0;
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 800;
}

.offer-status-bar li span {
  display: block;
  height: 5px;
  border-radius: 999px;
  background: #e2e8f0;
}

.offer-status-bar li.done,
.offer-status-bar li.current {
  color: #075985;
}

.offer-status-bar li.done span {
  background: #7dd3fc;
}

.offer-status-bar li.current span {
  background: #0ea5e9;
  box-shadow: 0 0 0 4px #e0f2fe;
}

.offer-form-shell {
  display: grid;
  gap: 14px;
}

.offer-form-summary {
  margin: 0;
  border-radius: 12px;
  background: #f8fafc;
  color: #475569;
  font-size: 0.84rem;
  line-height: 1.45;
  padding: 10px 12px;
}

.offer-student-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(14, 165, 233, 0.18);
  border-radius: 16px;
  background: #f0f9ff;
  padding: 12px 14px;
}

.offer-student-side {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
}

.offer-student-switch {
  white-space: nowrap;
  font-size: 0.82rem;
  font-weight: 800;
}

.offer-student-profile {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
}

.offer-student-avatar {
  flex: 0 0 auto;
}

.offer-student-strip span {
  color: #64748b;
  font-weight: 800;
}

.offer-student-strip strong {
  display: block;
  color: #082f49;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.offer-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.offer-readonly-note {
  margin: 0;
  border-radius: 16px;
  background: #f8fafc;
  color: #475569;
  padding: 12px;
  line-height: 1.5;
}

.offer-form-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.offer-chat-context {
  display: grid;
  gap: 4px;
  border-radius: 12px;
  background: #f8fafc;
  padding: 10px 12px;
}

.offer-chat-context strong {
  color: #082f49;
}

.offer-chat-context span {
  color: #64748b;
  line-height: 1.45;
}

.offer-chat-next-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.offer-chat-next-strip span {
  display: grid;
  gap: 3px;
  min-width: 0;
  border: 1px solid var(--color-line);
  border-radius: 14px;
  background: var(--color-neutral-50);
  padding: 10px 12px;
}

.offer-chat-next-strip small {
  color: var(--color-muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.offer-chat-next-strip strong {
  color: var(--color-primary);
  font-size: 0.86rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.offer-chat-messages {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 220px;
  max-height: 520px;
  overflow: auto;
  padding-right: 4px;
}

.offer-chat-message {
  display: grid;
  gap: 6px;
  max-width: min(78%, 560px);
  border: 1px solid rgba(14, 30, 46, 0.08);
  border-radius: 18px;
  background: #f8fafc;
  padding: 12px 14px;
  overflow-wrap: anywhere;
}

.offer-chat-message.own {
  justify-self: end;
  background: #0ea5e9;
  color: #ffffff;
}

.offer-chat-message.other {
  justify-self: start;
}

.offer-chat-message span {
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 800;
}

.offer-chat-message.own span {
  color: #e0f2fe;
}

.offer-chat-message p {
  margin: 0;
  line-height: 1.5;
}

.offer-chat-proposal-card {
  display: grid;
  gap: 12px;
  max-width: min(92%, 620px);
  border: 1px solid rgba(14, 165, 233, 0.22);
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
  padding: 16px;
}

.offer-chat-proposal-card.own {
  justify-self: end;
}

.offer-chat-proposal-card.other {
  justify-self: start;
}

.offer-chat-proposal-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.offer-chat-proposal-card small {
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 800;
}

.offer-chat-proposal-card h3 {
  margin: 0;
  color: #0f172a;
  font-size: 1rem;
}

.offer-chat-proposal-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.offer-chat-proposal-card li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid rgba(14, 30, 46, 0.08);
  border-radius: 14px;
  background: #ffffff;
  padding: 10px 12px;
}

.offer-chat-proposal-card li span {
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.offer-chat-proposal-card li strong {
  color: #0f172a;
  text-align: right;
}

.offer-chat-proposal-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border: 1px solid rgba(14, 165, 233, 0.24);
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.1);
  color: #075985;
  font-size: 0.78rem;
  font-weight: 900;
  padding: 6px 10px;
}

.offer-chat-proposal-note {
  margin: 0;
  border-left: 3px solid #0ea5e9;
  color: #334155;
  line-height: 1.55;
  padding-left: 12px;
}

.offer-chat-proposal-card footer {
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.45;
}

.offer-chat-empty,
.offer-chat-compose.locked {
  border: 1px dashed rgba(14, 30, 46, 0.16);
  border-radius: 18px;
  background: #f8fafc;
  color: #64748b;
  padding: 16px;
}

.offer-chat-compose {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--color-line);
  border-radius: 16px;
  background: var(--color-surface);
  padding: 10px;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.offer-chat-compose:focus-within {
  border-color: var(--color-accent);
  background: var(--color-neutral-50);
  box-shadow: 0 0 0 4px var(--color-accent-soft);
}

.offer-chat-compose input {
  min-height: 44px;
  border: 1px solid var(--color-line);
  border-radius: 14px;
  padding: 0 13px;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.offer-chat-compose input:focus {
  border-color: var(--color-accent);
  outline: 0;
  box-shadow: 0 0 0 3px var(--color-accent-soft);
}

.offer-counter-mini-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.offer-counter-drawer {
  border: 1px solid rgba(14, 165, 233, 0.18);
  border-radius: 14px;
  background: #f8fafc;
  padding: 10px 12px;
}

.offer-counter-drawer summary {
  color: #075985;
  cursor: pointer;
  font-weight: 900;
  list-style: none;
}

.offer-counter-drawer summary::-webkit-details-marker {
  display: none;
}

.offer-counter-drawer .offer-counter-mini-form {
  margin-top: 12px;
}

.counterproposal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.offer-order-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-radius: 20px;
  padding: 14px 16px;
}

.offer-order-banner.success {
  border: 1px solid rgba(22, 163, 74, 0.18);
  background: #dcfce7;
  color: #166534;
}

.offer-mobile-tabs {
  display: none;
}

@media (max-width: 900px) {
  .company-dashboard-layout.company-offer-negotiation-layout {
    grid-template-columns: 1fr;
  }

  .company-offer-negotiation-main {
    padding: 0;
  }

  .offer-negotiation-page {
    display: grid;
    gap: 10px;
  }

  .offer-negotiation-heading {
    order: 1;
  }

  .offer-focus-band {
    order: 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .offer-focus-band div:nth-child(odd) {
    border-left: 0;
  }

  .offer-focus-band div:nth-child(n + 3) {
    border-top: 1px solid rgba(14, 30, 46, 0.08);
  }

  .offer-mobile-tabs {
    order: 3;
  }

  .offer-negotiation-split {
    order: 4;
    grid-template-columns: 1fr;
  }

  .offer-process-compact {
    order: 5;
  }

  .offer-status-bar {
    order: 6;
  }

  .offer-mobile-tabs {
    position: sticky;
    top: 72px;
    z-index: 6;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    border: 1px solid rgba(14, 30, 46, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    padding: 8px;
    backdrop-filter: blur(10px);
  }

  .offer-mobile-tabs a {
    border-radius: 13px;
    background: #f0f9ff;
    color: #075985;
    padding: 10px 12px;
    text-align: center;
    text-decoration: none;
    font-weight: 900;
  }

  .offer-mobile-tabs a.is-active {
    background: #0ea5e9;
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(14, 165, 233, 0.18);
  }

  .offer-chat-panel {
    min-height: auto;
  }

  .offer-negotiation-split:not(:has(#offer-chat-panel:target)) #offer-chat-panel {
    display: none;
  }

  .offer-negotiation-split:has(#offer-chat-panel:target) #offer-form-panel {
    display: none;
  }

  .offer-negotiation-split:has(#offer-chat-panel:target) #offer-chat-panel,
  .offer-negotiation-split:has(#offer-form-panel:target) #offer-form-panel {
    display: grid;
  }
}

@media (max-width: 680px) {
  .offer-negotiation-heading {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .offer-negotiation-heading h1 {
    font-size: 1.45rem;
  }

  .offer-negotiation-heading .lead {
    display: none;
  }

  .offer-process-compact {
    padding: 8px;
  }

  .offer-process-compact-track {
    display: flex;
    gap: 7px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .offer-process-compact-track::-webkit-scrollbar {
    display: none;
  }

  .offer-process-compact-track span,
  .offer-process-compact-track strong {
    min-width: 96px;
  }

  .offer-focus-band {
    grid-template-columns: 1fr;
  }

  .offer-focus-band div,
  .offer-focus-band div:nth-child(odd) {
    border-left: 0;
  }

  .offer-focus-band div + div {
    border-top: 1px solid rgba(14, 30, 46, 0.08);
  }

  .offer-panel-head {
    flex-direction: column;
    gap: 8px;
  }

  .offer-panel-head h2 {
    font-size: 1.18rem;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  .offer-form-panel,
  .offer-chat-panel {
    min-width: 0;
    border-radius: 18px;
    padding: 16px;
  }

  .offer-status-bar {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .offer-status-bar::-webkit-scrollbar {
    display: none;
  }

  .offer-status-bar li {
    flex: 0 0 118px;
    min-width: 0;
  }

  .offer-field-grid,
  .offer-chat-compose,
  .offer-counter-mini-form {
    grid-template-columns: 1fr;
  }

  .offer-chat-next-strip {
    grid-template-columns: 1fr;
  }

  .offer-chat-message {
    max-width: 100%;
  }

  .offer-chat-proposal-card {
    max-width: 100%;
  }

  .offer-chat-proposal-card header,
  .offer-chat-proposal-card li {
    align-items: flex-start;
    flex-direction: column;
  }

  .offer-chat-proposal-card li strong {
    text-align: left;
  }

  .counterproposal-card header {
    display: grid;
  }

  .counterproposal-card header > strong {
    width: fit-content;
  }

  .counterproposal-facts {
    grid-template-columns: 1fr;
  }

  .offer-form-actions,
  .counterproposal-actions,
  .offer-order-banner {
    align-items: stretch;
    flex-direction: column;
  }

  .offer-form-actions .button,
  .offer-form-actions form,
  .counterproposal-actions .button,
  .counterproposal-actions form,
  .offer-chat-compose .button {
    width: 100%;
  }

  .offer-counter-drawer summary {
    width: 100%;
    text-align: center;
  }

  .offer-counter-mini-form {
    position: static;
    width: 100%;
    margin-top: 10px;
  }
}

.compact-process {
  grid-template-columns: 1fr;
}

.timeline-list {
  display: grid;
  gap: var(--space-3);
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline-list li {
  display: grid;
  gap: var(--space-2);
  padding: var(--space-3);
  background: var(--color-surface-muted);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
}

.timeline-list strong {
  color: var(--color-primary-dark);
}

.timeline-list p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.empty-state {
  display: grid;
  gap: var(--space-2);
  align-content: center;
  color: var(--color-muted);
}

.empty-state.compact {
  min-height: 92px;
  padding: var(--space-3);
  background: var(--color-surface-muted);
  border: 1px dashed var(--color-line-strong);
  border-radius: var(--radius-md);
}

.empty-state strong {
  color: var(--color-primary-dark);
}

.message-thread {
  display: grid;
  gap: var(--space-3);
}

.message-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-3);
}

.message-thread-card {
  display: grid;
  gap: var(--space-3);
  min-width: 0;
}

.message-thread-header {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  align-items: center;
  justify-content: space-between;
}

.message-thread-header p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.message-preview {
  margin: 0;
  color: var(--color-text);
  overflow-wrap: anywhere;
}

.conversation-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .7fr);
  gap: var(--space-4);
  align-items: start;
}

.participant-summary {
  display: grid;
  gap: var(--space-2);
}

.participant-summary span {
  display: grid;
  gap: 2px;
  padding: var(--space-2);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: var(--color-background);
}

.participant-summary strong {
  color: var(--color-primary);
  font-size: var(--font-size-small);
}

.message-detail-stack {
  display: grid;
  gap: var(--space-4);
  max-width: 58rem;
}

.message-detail-stack .message-thread {
  min-height: min(34rem, 62vh);
}

.message-reply-card {
  position: sticky;
  bottom: 1rem;
  z-index: 2;
}

.student-dashboard-summary-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.86);
  color: #475569;
  font-size: 0.9rem;
}

.student-dashboard-summary-strip span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
}

.student-dashboard-summary-strip strong {
  color: #0f172a;
  font-weight: 800;
}

.chat-list {
  display: grid;
  gap: var(--space-3);
  padding: 0;
  margin: 0;
  list-style: none;
}

.message-bubble {
  display: grid;
  gap: var(--space-2);
  max-width: min(680px, 100%);
  padding: var(--space-3);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  overflow-wrap: anywhere;
}

.message-bubble-own {
  justify-self: end;
  border-color: rgba(0, 119, 128, .28);
  background: #eaf7f5;
}

.message-bubble-other {
  justify-self: start;
}

.message-bubble-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: space-between;
  color: var(--color-muted);
  font-size: var(--font-size-small);
  font-weight: 700;
}

.message-bubble p {
  margin: 0;
}

.message-compose-form textarea {
  min-height: 144px;
}

.table-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-3);
}

.table-toolbar p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.metric-label {
  display: block;
  color: var(--color-primary);
  font-size: var(--font-size-small);
  font-weight: 700;
}

.choice-card {
  display: grid;
  align-content: start;
  gap: var(--space-3);
}

.registration-choice-grid {
  align-items: stretch;
}

.choice-card-points {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.choice-card-points li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  color: var(--color-text);
  font-size: 0.92rem;
  line-height: 1.45;
}

.choice-card-points li::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--color-accent);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 46px;
  max-width: 100%;
  padding: 11px 16px;
  color: var(--color-primary-dark);
  font-size: var(--font-size-button);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease, box-shadow 140ms ease;
}

.mobile-label {
  display: none;
}

.button-primary {
  color: var(--color-surface);
  background: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: 0 10px 22px rgba(15, 107, 114, 0.16);
}

.button-primary:hover,
.button-primary:focus-visible {
  color: var(--color-surface);
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
}

.button-secondary,
.button-ghost {
  color: var(--color-primary-dark);
  background: var(--color-surface);
  border-color: var(--color-line);
}

.button-secondary:hover,
.button-ghost:hover,
.button-secondary:focus-visible,
.button-ghost:focus-visible {
  color: var(--color-primary-dark);
  background: var(--color-primary-soft);
  border-color: var(--color-primary);
}

.button-warning {
  color: #6f440c;
  background: var(--color-warning-soft);
  border-color: #e3c68e;
}

.button-danger {
  color: var(--color-danger);
  background: var(--color-danger-soft);
  border-color: #e2b4ba;
}

.button:disabled,
.button[aria-disabled="true"] {
  color: #657883;
  background: #eef3f5;
  border-color: var(--color-line);
  box-shadow: none;
  cursor: not-allowed;
  opacity: 1;
}

.button:focus-visible,
.text-link:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 2px;
}

.badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 24px;
  padding: 2px 0;
  color: var(--color-primary-dark);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  text-transform: none;
  letter-spacing: 0;
  white-space: nowrap;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.badge::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 7px;
  background: currentColor;
  border-radius: 999px;
}

.badge-success {
  color: #235d32;
  background: transparent;
  border-color: transparent;
}

.badge-info {
  color: #0b5960;
  background: transparent;
  border-color: transparent;
}

.badge-muted {
  color: var(--color-muted);
  background: transparent;
  border-color: transparent;
}

.badge-warning {
  color: var(--color-warning);
  background: transparent;
  border-color: transparent;
}

.badge-danger {
  color: var(--color-danger);
  background: transparent;
  border-color: transparent;
}

.badge-traffic-free {
  color: var(--traffic-free);
  background: transparent;
  border-color: transparent;
}

.badge-traffic-offer {
  color: #2f6f3e;
  background: transparent;
  border-color: transparent;
}

.badge-traffic-reserved {
  color: var(--traffic-reserved);
  background: transparent;
  border-color: transparent;
}

.badge-traffic-booked {
  color: var(--traffic-booked);
  background: transparent;
  border-color: transparent;
}

.status-token {
  white-space: nowrap;
}

.presence-status {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  min-height: 26px;
  max-width: 100%;
  color: var(--color-primary-dark);
  font-size: var(--font-size-small);
  font-weight: 800;
  line-height: 1.25;
  white-space: normal;
}

.presence-dot {
  flex: 0 0 auto;
  width: 11px;
  height: 11px;
  background: currentColor;
  border: 1px solid var(--color-surface);
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(11, 31, 53, 0.16);
}

.presence-success,
.presence-traffic-free {
  color: var(--traffic-free);
}

.presence-info,
.presence-traffic-offer {
  color: #1677a2;
}

.presence-warning,
.presence-traffic-reserved {
  color: var(--traffic-reserved);
}

.presence-danger,
.presence-traffic-booked {
  color: var(--traffic-booked);
}

.presence-muted {
  color: var(--color-muted);
}

.student-next-decision-label {
  display: inline-flex;
  width: fit-content;
  margin: 8px 0 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #082f49;
  padding: 4px 10px;
  font-size: 0.78rem;
  font-weight: 900;
}

.role-indicator {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  color: var(--color-primary-dark);
  font-size: 13px;
  font-weight: 800;
  background: var(--color-primary-soft);
  border-radius: var(--radius-sm);
}

.traffic-light-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.8fr);
  gap: var(--space-5);
  align-items: start;
  padding: var(--space-4) 0 var(--space-4) var(--space-4);
  border-left: 4px solid var(--color-primary);
}

.traffic-light-panel h2 {
  margin: var(--space-2) 0 var(--space-2);
  font-size: var(--font-size-h3);
}

.traffic-light-panel .description-list div {
  grid-template-columns: minmax(80px, 120px) minmax(0, 1fr);
}

.traffic-light-summary .metric-card strong {
  font-size: 32px;
}

.description-list {
  display: grid;
  gap: var(--space-3);
  margin: 0;
}

.description-list.card {
  padding: var(--space-4) 0;
  background: transparent;
  border-color: var(--color-line);
  border-right: 0;
  border-left: 0;
  border-radius: 0;
  box-shadow: none;
}

.description-list div {
  display: grid;
  grid-template-columns: minmax(150px, 210px) minmax(0, 1fr);
  gap: var(--space-3);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-line);
}

.description-list div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

dt {
  color: var(--color-primary-dark);
  font-size: var(--font-size-label);
  font-weight: 700;
}

dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
}

.form-section-heading {
  display: grid;
  gap: var(--space-1);
  margin-top: var(--space-2);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-line);
}

.form-section-heading:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.form-section-heading h2 {
  margin-bottom: 0;
  font-size: var(--font-size-card-title);
}

.form-section-heading p {
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: var(--font-size-small);
}

.field {
  display: grid;
  gap: var(--space-2);
  min-width: 0;
}

.field.full,
.form-actions.full,
.alert.full,
.full {
  grid-column: 1 / -1;
}

label {
  color: var(--color-primary-dark);
  font-size: var(--font-size-label);
  font-weight: 700;
  line-height: 1.4;
}

input,
select,
textarea {
  width: 100%;
  min-width: 0;
  color: var(--color-text);
  background: var(--color-surface);
  border: 1px solid var(--color-line-strong);
  border-radius: var(--radius-sm);
  box-shadow: inset 0 1px 0 rgba(11, 31, 53, 0.02);
}

input,
select {
  min-height: 46px;
  padding: 10px 12px;
}

textarea {
  min-height: 120px;
  padding: 12px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: #6b7d87;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--color-primary);
  outline: 3px solid var(--color-focus);
}

.checkbox-field {
  display: flex;
  gap: var(--space-2);
  align-items: flex-start;
  color: var(--color-primary-dark);
  font-size: var(--font-size-label);
  font-weight: 700;
}

.checkbox-field input {
  width: auto;
  min-height: 0;
  margin-top: 5px;
}

.checkbox-field a {
  color: var(--color-primary);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.checkbox-field.muted-control {
  color: var(--color-neutral-600);
  background: var(--color-neutral-50);
  border: 1px dashed var(--color-neutral-200);
  border-radius: 10px;
  padding: 10px 12px;
}

.checkbox-field.muted-control input {
  cursor: not-allowed;
}

.inline-action {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) auto;
  gap: var(--space-2);
}

.payment-record-meta {
  display: grid;
  gap: var(--space-1);
  min-width: 0;
}

.payment-record-meta strong {
  color: var(--color-primary-dark);
}

.payment-record-meta span {
  color: var(--color-muted);
}

.history-page {
  gap: var(--space-5);
}

.history-filter {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(240px, 1fr) auto auto;
  gap: var(--space-3);
  align-items: end;
  padding: var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
}

.history-timeline {
  display: grid;
  gap: var(--space-3);
  margin: 0;
  padding: 0;
  list-style: none;
}

.history-item,
.history-empty {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  gap: var(--space-4);
  align-items: start;
  padding: var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-md);
}

.history-empty {
  grid-template-columns: 1fr;
  color: var(--color-muted);
}

.history-warning {
  border-left-color: #b7791f;
}

.history-danger {
  border-left-color: #b42335;
}

.history-success {
  border-left-color: #2f855a;
}

.history-item time {
  color: var(--color-muted);
  font-weight: 700;
}

.history-item-body {
  display: grid;
  gap: var(--space-2);
  min-width: 0;
}

.history-item-body h3 {
  margin: 0;
  font-size: var(--font-size-h4);
}

.history-item-body p {
  margin: 0;
  color: var(--color-text);
}

.history-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-4);
  margin: 0;
}

.history-meta div {
  display: grid;
  gap: 2px;
}

.history-meta dt {
  color: var(--color-muted);
  font-size: var(--font-size-small);
  font-weight: 700;
}

.history-meta dd {
  margin: 0;
}

.history-action {
  min-width: 130px;
}

.alert {
  display: grid;
  gap: var(--space-1);
  padding: var(--space-4);
  color: var(--color-text);
  border-radius: var(--radius-md);
}

.alert strong {
  color: var(--color-primary-dark);
  font-weight: 700;
}

.alert span {
  color: var(--color-text);
}

.alert-info {
  background: var(--color-primary-soft);
  border: 1px solid rgba(15, 107, 114, 0.32);
}

.alert-success {
  background: var(--color-accent-soft);
  border: 1px solid rgba(79, 147, 96, 0.38);
}

.alert-danger {
  background: var(--color-danger-soft);
  border: 1px solid #e2b4ba;
}

@media (max-width: 1024px) {
  :root {
    --font-size-h1: 32px;
    --font-size-h2: 28px;
    --font-size-h3: 22px;
  }

  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    min-height: 0;
    gap: var(--space-2);
    padding: 10px var(--space-4);
  }

  .sidebar-context {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    padding-bottom: 0;
    border-bottom: 0;
  }

  .desktop-role-nav {
    display: none;
  }

  .mobile-role-menu {
    display: block;
    flex: 1 1 100%;
    max-width: 100%;
  }

  .mobile-role-menu .sidebar-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: var(--space-2);
    padding: var(--space-2);
    background: var(--color-surface-muted);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-md);
  }

  .sidebar-nav a {
    flex: 0 0 auto;
    color: var(--color-primary-dark);
    background: transparent;
    white-space: normal;
  }

  .workspace-topbar {
    position: static;
    padding: 8px var(--space-4);
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .public-header {
    grid-template-columns: auto 1fr auto;
  }

  .desktop-public-nav,
  .public-header > .public-header-actions {
    display: none;
  }

  .public-mobile-menu {
    display: block;
    justify-self: end;
    position: relative;
  }

  .public-mobile-menu summary {
    min-height: 40px;
    padding: 9px 12px;
    color: var(--color-primary-dark);
    font-size: var(--font-size-small);
    font-weight: 700;
    background: var(--color-surface);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-sm);
    cursor: pointer;
  }

  .public-mobile-menu[open] {
    grid-column: 1 / -1;
    justify-self: stretch;
  }

  .public-mobile-menu[open] summary {
    width: fit-content;
    margin-left: auto;
  }

  .public-mobile-menu .public-nav,
  .public-mobile-actions {
    display: grid;
    gap: var(--space-2);
    margin-top: var(--space-2);
  }

  .public-mobile-menu .public-nav {
    grid-template-columns: 1fr;
    padding: var(--space-2);
    background: var(--color-surface);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-md);
  }

  .public-mobile-menu .public-nav a {
    justify-content: flex-start;
    width: 100%;
    min-height: 38px;
    padding: 8px 10px;
    text-align: left;
    background: transparent;
    border: 0;
    border-radius: var(--radius-sm);
  }

  .public-mobile-menu .public-nav a.active {
    background: var(--color-primary-soft);
  }

  .public-mobile-actions {
    grid-template-columns: 1fr;
  }

  .public-mobile-actions .button,
  .public-mobile-actions .language-switch {
    width: 100%;
    justify-content: flex-start;
  }

  .public-mobile-section {
    display: grid;
    gap: var(--space-2);
    padding: var(--space-2);
    background: var(--color-surface);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-md);
  }

  .mobile-section-label {
    color: var(--color-muted);
    font-size: var(--font-size-small);
    font-weight: 700;
  }

  .public-hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: var(--space-5);
  }

  .public-hero-content h1 {
    font-size: 40px;
  }

  .public-brand-stage {
    min-height: 0;
  }

  .hero-logo-mark {
    width: min(100%, 280px);
  }

  .public-footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 861px) {
  .desktop-public-nav {
    display: flex;
  }

  .public-header > .public-header-actions {
    display: flex;
  }

  .public-mobile-menu {
    display: none;
  }
}

@media (max-width: 860px) {
  .grid-3,
  .grid-2,
  .form-grid,
  .request-form-layout,
  .action-strip,
  .app-command-panel,
  .document-upload-panel,
  .bv-overview-panel,
  .message-layout,
  .message-detail-stack,
  .conversation-header,
  .public-split-section,
  .trust-section,
  .public-status-band,
  .flow-section,
  .work-queue,
  .detail-header,
  .profile-status-panel,
  .process-panel,
  .contact-release-grid,
  .contact-release-detail-grid,
  .access-state-grid,
  .public-feature-grid,
  .public-split,
  .public-contact-grid,
  .public-flow,
  .audience-columns,
  .public-footer nav {
    grid-template-columns: 1fr;
  }

  .public-flow-line li,
  .service-chapters section,
  .compact-list li {
    grid-template-columns: 1fr;
  }

  .detail-header-meta {
    justify-content: flex-start;
  }

  .description-list div {
    grid-template-columns: 1fr;
    gap: var(--space-1);
  }

  .history-filter,
  .history-item {
    grid-template-columns: 1fr;
  }

  .history-action {
    width: 100%;
  }

  .history-action .button {
    width: 100%;
  }

  .profile-status-card {
    flex: 0 0 min(12rem, 72vw);
    grid-template-columns: 1fr;
    gap: 4px;
    min-height: 0;
    padding: 12px;
  }

  .profile-status-panel {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 8px;
    border-radius: 14px;
    scroll-snap-type: x proximity;
  }

  .profile-status-card strong {
    font-size: 1rem;
  }

  .profile-status-card p {
    display: none;
  }

  .work-queue {
    gap: var(--space-3);
    padding: var(--space-4) 0;
  }

  .work-queue li {
    align-items: flex-start;
    flex-direction: column;
    min-height: 0;
  }

  .work-queue li .button {
    width: 100%;
  }

  .process-timeline {
    gap: var(--space-1);
  }

  .process-timeline li {
    min-width: 0;
    padding: var(--space-2) 0;
  }

  .process-legend {
    margin-bottom: var(--space-2);
  }

  .process-guard {
    padding: var(--space-2) 0;
  }

  .process-guard ul {
    display: grid;
    grid-template-columns: 1fr;
  }

  .process-guard li {
    width: 100%;
  }

  .status-strip {
    align-items: flex-start;
    flex-direction: column;
    gap: var(--space-2);
  }

  .status-strip .badge {
    width: fit-content;
    max-width: 100%;
    white-space: nowrap;
  }

  .dashboard-group {
    padding-top: var(--space-3);
  }

  .dashboard-section-header {
    grid-template-columns: 1fr;
    gap: var(--space-2);
  }
}

@media (max-width: 640px) {
  :root {
    --font-size-h1: 28px;
    --font-size-h2: 24px;
    --font-size-h3: 20px;
  }

  body {
    overflow-x: hidden;
  }

  .shell {
    width: min(100% - 24px, var(--max-width));
    padding-top: var(--space-3);
    padding-bottom: var(--space-6);
  }

  .app-shell,
  .workspace,
  .workspace-main,
  .sidebar {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .sidebar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: var(--space-2);
    align-items: center;
    padding: 10px 12px;
  }

  .sidebar .sidebar-brand {
    min-width: 0;
  }

  .sidebar-context {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 0;
  }

  .sidebar-context p {
    display: none;
  }

  .mobile-role-menu {
    grid-column: 1 / -1;
    width: 100%;
    flex: 1 1 auto;
  }

  .mobile-role-menu summary {
    width: 100%;
    min-height: 36px;
    padding: 8px 10px;
  }

  .mobile-role-menu .sidebar-nav {
    grid-template-columns: 1fr;
    max-height: 52vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .workspace-topbar {
    display: grid;
    grid-template-columns: 1fr;
    align-items: flex-start;
    width: 100%;
    max-width: 100%;
    min-height: 0;
    gap: 6px;
    padding: 8px 12px;
    overflow-x: hidden;
  }

  .workspace-title-group,
  .workspace-title,
  .breadcrumb {
    min-width: 0;
    max-width: 100%;
  }

  .workspace-title {
    font-size: 14px;
  }

  .breadcrumb {
    display: none;
    white-space: normal;
  }

  .workspace-actions {
    width: 100%;
    max-width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }

  .workspace-actions .workspace-status-badge,
  .workspace-actions .badge-info {
    display: none;
  }

  .desktop-label {
    display: none;
  }

  .mobile-label {
    display: inline;
  }

  .workspace-actions .badge {
    justify-content: center;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    white-space: nowrap;
  }

  .workspace-actions .button {
    width: 100%;
    min-width: 0;
    min-height: 34px;
    font-size: 13px;
    padding-right: 10px;
    padding-left: 10px;
    white-space: normal;
  }

  .workspace-profile-chip {
    justify-content: center;
    width: 100%;
    min-width: 0;
    padding: 4px;
  }

  .workspace-profile-chip span:last-child {
    display: none;
  }

  .workspace-actions .app-logout {
    color: var(--color-muted);
    background: transparent;
  }

  .workspace-main {
    width: min(100% - 24px, var(--max-width));
    padding-top: var(--space-4);
    gap: var(--space-5);
  }

  .topbar {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: var(--space-5);
    background: transparent;
    backdrop-filter: none;
  }

  .nav {
    justify-content: flex-start;
    width: 100%;
  }

  .public-header {
    grid-template-columns: minmax(0, 1fr) auto;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .public-mobile-menu {
    max-width: 100%;
  }

  .public-mobile-menu summary {
    max-width: 100%;
    white-space: normal;
  }

  .nav a {
    flex: 1 1 calc(50% - var(--space-2));
    justify-content: center;
    min-height: 38px;
    padding: 8px 10px;
    text-align: center;
    background: var(--color-surface);
    border: 1px solid var(--color-line);
  }

  .public-mobile-menu .public-nav a {
    justify-content: flex-start;
    width: 100%;
    text-align: left;
    background: transparent;
    border: 0;
  }

  .public-mobile-menu .public-nav a.active {
    background: var(--color-primary-soft);
  }

  .actions,
  .form-actions,
  .register-steps,
  .action-bar {
    align-items: stretch;
    width: 100%;
  }

  .button,
  .actions > *,
  .form-actions > *,
  .register-steps > *,
  .action-bar > * {
    width: 100%;
    white-space: normal;
  }

  .form-grid,
  .request-form-layout,
  .compact-form,
  .offer-counter-form,
  .message-compose-form,
  .reservation-form,
  .booking-form,
  .offer-form {
    grid-template-columns: 1fr;
  }

  .request-guidance-panel {
    position: static;
  }

  .payment-record-meta {
    width: 100%;
    min-width: 0;
  }

  input,
  select,
  textarea {
    min-height: 48px;
    font-size: 16px;
  }

  .process-timeline {
    display: grid;
    grid-template-columns: 1fr;
    padding: var(--space-3) 0;
    border-top: 1px solid var(--color-line);
    border-bottom: 1px solid var(--color-line);
  }

  .process-timeline li {
    grid-template-columns: 1fr;
    gap: var(--space-1);
  }

  .dunning-model .security-notice,
  .dunning-model .prepared-notice,
  .payment-model .security-notice,
  .payment-model .prepared-notice,
  .document-upload-panel .security-notice {
    flex-direction: column;
  }

  .section-stack.payment-model:not(.payment-detail) > .detail-header,
  .section-stack.dunning-model > .detail-header {
    order: 0;
  }

  .section-stack.payment-model:not(.payment-detail) > .subnav,
  .section-stack.dunning-model > .subnav {
    order: 1;
  }

  .section-stack.payment-model:not(.payment-detail) > .work-queue,
  .section-stack.dunning-model > .work-queue {
    order: 2;
  }

  .section-stack.payment-model:not(.payment-detail) > .process-card-list,
  .section-stack.dunning-model > .process-card-list {
    order: 3;
  }

  .section-stack.payment-model:not(.payment-detail) > .security-notice,
  .section-stack.payment-model:not(.payment-detail) > .prepared-admin-flow,
  .section-stack.payment-model:not(.payment-detail) > .review-metrics,
  .section-stack.dunning-model > .security-notice,
  .section-stack.dunning-model > .prepared-admin-flow,
  .section-stack.dunning-model > .review-metrics {
    order: 4;
  }

  .review-metrics {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .review-metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dunning-model .status-strip .badge {
    max-width: 100%;
    white-space: nowrap;
  }

  .inline-action {
    grid-template-columns: 1fr;
  }

  .traffic-light-panel {
    grid-template-columns: 1fr;
  }

  .card {
    padding: var(--space-4);
  }

  .lead {
    font-size: 16px;
  }

  .public-hero,
  .public-page {
    padding-top: var(--space-4);
  }

  .public-hero {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .public-hero-content {
    width: 100%;
    max-width: 100%;
  }

  .public-hero h1 {
    font-size: 26px;
    overflow-wrap: anywhere;
  }

  .public-hero-content h1 {
    font-size: 30px;
    line-height: 1.08;
  }

  .public-hero-product .actions,
  .public-status-band .actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-journey li {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .public-hero-panel,
  .public-footer {
    padding-top: var(--space-4);
  }

  th,
  td {
    padding: 12px;
  }
}

/* Final product overrides. Keep this block at the end so the product rules win. */
.brand-emblem,
.brand-emblem img {
  width: 58px;
  height: 58px;
}

.public-header .brand-emblem,
.public-header .brand-emblem img {
  width: 64px;
  height: 64px;
}

.brand-emblem {
  border-radius: 12px;
}

.brand-emblem img {
  object-fit: contain;
  filter: none;
}

.public-header .brand-word {
  font-size: 21px;
}

.hero-logo-mark {
  width: min(100%, 390px);
  max-height: 430px;
  object-fit: contain;
  border-radius: 28px;
  box-shadow: 0 28px 70px rgba(11, 31, 53, 0.18);
  filter: none;
}

.app-shell {
  grid-template-columns: 176px minmax(0, 1fr);
}

.sidebar {
  padding: 12px 10px;
}

.sidebar .brand-emblem,
.sidebar .brand-emblem img {
  width: 52px;
  height: 52px;
}

.sidebar-nav a {
  min-height: 31px;
  padding: 6px 8px;
  font-weight: 600;
}

.workspace-topbar {
  min-height: 44px;
  padding: 6px 20px;
}

.workspace-main {
  width: min(100% - 32px, 1240px);
  padding-top: 18px;
}

.subnav {
  gap: 6px;
  margin-top: 8px;
  padding: 8px 0;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}

.subnav a {
  min-height: 30px;
  padding: 5px 8px;
  color: var(--color-muted);
  font-weight: 600;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.product-workspace-home {
  gap: 18px;
}

.product-home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 28px;
  align-items: stretch;
  padding: 22px 0 18px;
  border-bottom: 1px solid var(--color-line);
}

.product-home-hero h1 {
  max-width: 780px;
  margin-bottom: 10px;
  font-size: 38px;
  line-height: 1.08;
}

.product-home-hero .lead {
  max-width: 820px;
  margin-bottom: 18px;
}

.profile-summary-panel,
.product-panel {
  min-width: 0;
  padding: 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
}

.profile-summary-panel {
  display: grid;
  gap: 8px;
  align-content: start;
}

.profile-summary-panel p,
.product-panel p {
  color: var(--color-muted);
}

.profile-avatar {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: #ffffff;
  font-size: 22px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  border-radius: 50%;
}

.profile-photo {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  overflow: hidden;
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  object-fit: cover;
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  border: 1px solid rgba(11, 31, 53, 0.12);
  border-radius: 50%;
  box-shadow: 0 12px 28px rgba(11, 31, 53, 0.12);
}

.profile-photo-md {
  width: 72px;
  height: 72px;
  font-size: 22px;
}

.profile-photo-xl {
  width: 118px;
  height: 118px;
  font-size: 34px;
}

.profile-photo-fallback {
  text-align: center;
}

.profile-photo-image {
  display: inline-block;
  object-fit: cover;
  object-position: center;
}

.organization-photo {
  color: var(--color-primary-dark);
  object-fit: contain;
  background: #ffffff;
  border-radius: 22px;
  padding: 8px;
}

.profile-identity-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(260px, 360px);
  gap: 24px;
  align-items: center;
  padding: 20px;
  background: linear-gradient(180deg, #ffffff, #f8fbfd);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 48px rgba(11, 31, 53, 0.07);
}

.profile-identity-card h2 {
  margin-bottom: 8px;
  font-size: 26px;
}

.profile-identity-card p {
  max-width: 680px;
  color: var(--color-muted);
}

.profile-inline-status {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.profile-photo-upload {
  display: grid;
  gap: 8px;
  padding: 14px;
  background: #ffffff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
}

.profile-photo-upload label,
.profile-photo-upload strong {
  color: var(--color-primary-dark);
  font-weight: 800;
}

.profile-photo-upload input[type="file"] {
  width: 100%;
  padding: 10px;
  font-size: 14px;
  background: var(--color-background);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
}

.profile-photo-upload span {
  color: var(--color-muted);
  font-size: 13px;
}

.organization-avatar {
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-accent));
}

.admin-avatar {
  background: linear-gradient(135deg, var(--color-primary), var(--color-warning));
}

.product-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.product-panel h2 {
  margin-bottom: 10px;
  font-size: 22px;
}

.badge {
  min-height: 24px;
  padding: 2px 0;
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 600;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.badge-success,
.badge-info,
.badge-muted,
.badge-warning,
.badge-danger,
.badge-traffic-free,
.badge-traffic-offer,
.badge-traffic-reserved,
.badge-traffic-booked {
  color: var(--color-text);
  background: transparent;
  border-color: transparent;
}

.summary-metrics,
.work-queue,
.process-timeline {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
}

.summary-metric {
  border-top: 0;
}

.work-queue {
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr);
  padding: 16px;
}

.work-queue-row strong {
  color: var(--color-primary-dark);
  font-size: 16px;
}

.work-queue-warning strong {
  color: var(--color-warning);
}

.work-queue-danger strong {
  color: var(--color-danger);
}

.process-timeline {
  gap: 0;
  overflow: hidden;
}

.process-timeline li {
  min-height: 118px;
  padding: 13px 12px;
  background: transparent;
}

.process-timeline strong {
  font-size: 16px;
}

.process-timeline p {
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: 13px;
}

.process-guard {
  padding: 10px 0 0;
  border: 0;
}

.process-guard ul {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.workflow-card {
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 13px 14px;
  border-left: 0;
}

.workflow-card p {
  grid-column: 1 / -1;
}

.link-row-kicker {
  justify-self: end;
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 800;
}

@media (max-width: 900px) {
  .product-home-hero,
  .product-grid-2,
  .work-queue {
    grid-template-columns: 1fr;
  }

  .product-home-hero {
    gap: 16px;
    padding-top: 10px;
  }

  .product-home-hero h1 {
    font-size: 30px;
  }

  .hero-logo-mark {
    width: min(100%, 320px);
  }
}

@media (max-width: 760px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    min-height: 0;
    padding: 8px 12px;
  }

  .sidebar-context,
  .desktop-role-nav {
    display: none;
  }

  .mobile-role-menu {
    display: block;
  }

  .workspace-main {
    width: min(100% - 24px, 100%);
    padding-top: 12px;
  }

  .workspace-topbar {
    align-items: flex-start;
    padding: 8px 12px;
  }

  .public-header .brand-emblem,
  .public-header .brand-emblem img {
    width: 52px;
    height: 52px;
  }

  .public-header .brand-word {
    font-size: 18px;
  }

  .profile-identity-card {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 10px 12px;
    align-items: start;
    padding: 14px;
  }

  .profile-identity-media {
    display: flex;
    justify-content: flex-start;
    grid-column: 1;
  }

  .profile-photo-xl {
    width: 72px;
    height: 72px;
  }

  .profile-identity-card h2 {
    margin-bottom: 4px;
    font-size: 1.2rem;
    line-height: 1.16;
  }

  .profile-identity-card p {
    margin-bottom: 0;
    font-size: 0.88rem;
    line-height: 1.38;
  }

  .profile-inline-status {
    gap: 6px;
    margin-top: 8px;
  }

  .profile-photo-upload {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    padding: 10px;
  }

  .profile-photo-upload label,
  .profile-photo-upload span {
    grid-column: 1 / -1;
  }

  .profile-photo-upload input[type="file"] {
    min-width: 0;
    padding: 8px;
    font-size: 0.82rem;
  }

  .profile-photo-upload .button {
    min-height: 40px;
    padding-inline: 12px;
  }
}

/* Premium product hardening: quieter shell, clear worklists, no badge wall. */
.public-header {
  min-height: 72px;
  padding-block: 12px;
}

.desktop-public-nav {
  display: flex;
  gap: clamp(18px, 2.2vw, 34px);
  justify-content: center;
}

.desktop-public-nav a {
  padding: 6px 2px;
  color: var(--color-muted);
  font-weight: 700;
  border-radius: 0;
}

.desktop-public-nav a.active,
.desktop-public-nav a:hover {
  color: var(--color-primary-dark);
  background: transparent;
  box-shadow: inset 0 -2px 0 var(--color-primary);
}

.public-brand-stage {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.hero-logo-mark {
  border-radius: 0;
  box-shadow: none;
}

.public-header-actions {
  gap: 8px;
}

.app-shell {
  grid-template-columns: 158px minmax(0, 1fr);
  background: #f7f9fb;
}

.sidebar {
  min-height: 100vh;
  padding: 10px 8px;
  background: rgba(255, 255, 255, 0.92);
  border-right: 1px solid rgba(15, 36, 53, 0.08);
  box-shadow: none;
}

.sidebar-brand {
  min-height: 46px;
  gap: 7px;
  padding: 5px 4px 10px;
}

.sidebar .brand-emblem,
.sidebar .brand-emblem img {
  width: 40px;
  height: 40px;
}

.sidebar .brand-word {
  color: var(--color-primary-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.sidebar-context {
  display: grid;
  gap: 3px;
  margin: 4px 0 10px;
  padding: 0 6px 10px;
  border-bottom: 1px solid var(--color-line);
}

.sidebar-role-label {
  color: var(--color-primary-dark);
  font-size: 13px;
  font-weight: 800;
}

.sidebar-context p {
  margin: 0;
  color: var(--color-muted);
  font-size: 11px;
  line-height: 1.35;
}

.sidebar-nav {
  gap: 1px;
}

.sidebar-nav a {
  min-height: 30px;
  padding: 5px 7px;
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  border-radius: 6px;
}

.sidebar-nav a:hover,
.sidebar-nav a:focus-visible {
  color: var(--color-primary-dark);
  background: rgba(20, 148, 163, 0.08);
}

.workspace-topbar {
  min-height: 40px;
  padding: 7px 18px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(15, 36, 53, 0.08);
}

.breadcrumb {
  color: var(--color-muted);
  font-size: 11px;
}

.workspace-title {
  color: var(--color-primary-dark);
  font-size: 14px;
}

.workspace-actions {
  gap: 7px;
}

.role-indicator {
  min-height: 26px;
  padding: 2px 8px;
  color: var(--color-primary-dark);
  font-size: 12px;
  background: transparent;
  border: 1px solid rgba(15, 36, 53, 0.12);
  border-radius: 999px;
}

.workspace-actions .button {
  min-height: 30px;
  padding: 6px 10px;
  font-size: 12px;
}

.workspace-main {
  width: min(100% - 28px, 1180px);
  padding-top: 14px;
  padding-bottom: 42px;
}

.section-stack {
  gap: 16px;
}

.section-heading {
  padding: 0 0 10px;
  border-bottom: 1px solid var(--color-line);
}

.section-heading h1 {
  max-width: 920px;
  color: var(--color-primary-dark);
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.06;
}

.section-heading .lead {
  max-width: 820px;
  color: var(--color-muted);
}

.subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  padding: 8px 0;
  margin: -2px 0 0;
  overflow-x: auto;
}

.subnav a {
  min-height: 28px;
  padding: 4px 0;
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 700;
  border-radius: 0;
}

.subnav a:hover,
.subnav a:focus-visible {
  color: var(--color-primary-dark);
  background: transparent;
  box-shadow: inset 0 -2px 0 var(--color-primary);
}

.product-home-hero {
  grid-template-columns: minmax(0, 1fr) minmax(250px, 330px);
  gap: 30px;
  padding: 18px 0 16px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--color-line);
  border-radius: 0;
  box-shadow: none;
}

.product-home-hero h1 {
  font-size: clamp(34px, 3.8vw, 56px);
  letter-spacing: 0;
}

.profile-summary-panel,
.product-panel,
.data-panel,
.summary-metrics,
.work-queue,
.process-timeline,
.profile-identity-card {
  background: #ffffff;
  border: 1px solid rgba(15, 36, 53, 0.08);
  border-radius: 8px;
  box-shadow: none;
}

.profile-summary-panel {
  padding: 14px;
}

.product-panel {
  padding: 16px 0 0;
  border-width: 0;
  border-top: 1px solid var(--color-line);
  border-radius: 0;
}

.product-panel h2 {
  font-size: 20px;
}

.product-grid-2 {
  gap: 22px;
}

.work-queue {
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1.45fr);
  padding: 14px 16px;
  align-items: start;
}

.work-queue h2 {
  margin-bottom: 4px;
  font-size: 21px;
}

.work-queue ul {
  display: grid;
  gap: 0;
}

.work-queue-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: baseline;
  min-height: 42px;
  padding: 9px 0;
  border-bottom: 1px solid var(--color-line);
}

.work-queue-row:last-child {
  border-bottom: 0;
}

.work-queue-row span {
  color: var(--color-text);
  font-weight: 700;
}

.work-queue-row strong {
  font-size: 15px;
}

.summary-metrics {
  padding: 0 16px;
}

.summary-metrics ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0 24px;
}

.summary-metric {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2px;
  min-height: 58px;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-line);
}

.summary-metric span {
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 700;
}

.summary-metric strong {
  color: var(--color-primary-dark);
  font-size: 16px;
}

.summary-metric em {
  color: var(--color-muted);
  font-size: 12px;
  font-style: normal;
}

.badge {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  min-height: 20px;
  padding: 0;
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  white-space: normal;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.badge::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  background: var(--color-muted);
  border-radius: 50%;
}

.badge-success::before,
.badge-traffic-free::before {
  background: var(--color-success);
}

.badge-info::before,
.badge-traffic-offer::before {
  background: var(--color-primary);
}

.badge-warning::before,
.badge-traffic-reserved::before {
  background: var(--color-warning);
}

.badge-danger::before,
.badge-traffic-booked::before {
  background: var(--color-danger);
}

.status-strip,
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
  padding: 8px 0;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  border-radius: 0;
}

.process-timeline {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
}

.process-timeline li {
  min-height: 104px;
  padding: 12px 10px;
  border-right: 1px solid var(--color-line);
}

.process-timeline li:last-child {
  border-right: 0;
}

.process-timeline strong {
  font-size: 15px;
}

.process-guard {
  padding: 8px 0 0;
  color: var(--color-muted);
  font-size: 13px;
}

.process-guard > strong {
  display: block;
  margin-bottom: 6px;
  color: var(--color-primary-dark);
  font-size: 13px;
}

.process-guard ul {
  gap: 4px 20px;
}

.process-guard li {
  padding: 0;
  border: 0;
}

.product-note {
  display: grid;
  padding: 10px 0 10px 14px;
  background: transparent;
  border: 0;
  border-left: 3px solid var(--color-primary);
  border-radius: 0;
}

.product-note strong {
  color: var(--color-primary-dark);
  font-size: 14px;
}

.product-note p {
  margin-top: 2px;
  color: var(--color-muted);
  font-size: 13px;
}

.boundary-notice,
.prepared-notice {
  border-left-color: var(--color-warning);
}

.privacy-notice {
  border-left-color: var(--color-success);
}

.review-metrics {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 2fr);
  gap: 18px;
  align-items: stretch;
  padding: 20px;
  border: 1px solid var(--color-line);
  border-radius: 12px;
  background: #fff;
}

.review-metrics-head {
  display: grid;
  align-content: center;
  gap: 6px;
  min-width: 0;
}

.review-metrics-head h2 {
  margin: 0;
  color: var(--color-ink);
  font-size: 1.25rem;
  line-height: 1.2;
}

.review-metrics-head p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.875rem;
  line-height: 1.55;
}

.review-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.review-metric {
  display: grid;
  align-content: center;
  gap: 4px;
  min-height: 88px;
  padding: 14px;
  border: 1px solid var(--color-line);
  border-radius: 10px;
  background: var(--color-surface-muted);
}

.review-metric span {
  color: var(--color-muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.review-metric strong {
  color: var(--color-ink);
  font-size: 1.12rem;
  line-height: 1.2;
}

.review-metric em {
  color: var(--color-muted);
  font-size: 0.78rem;
  font-style: normal;
  line-height: 1.35;
}

.review-metric-warning {
  border-color: rgba(234, 179, 8, 0.34);
  background: rgba(234, 179, 8, 0.08);
}

.review-metric-danger {
  border-color: rgba(239, 68, 68, 0.32);
  background: rgba(239, 68, 68, 0.07);
}

.review-metric-success {
  border-color: rgba(34, 197, 94, 0.28);
  background: rgba(34, 197, 94, 0.07);
}

.review-metric-info {
  border-color: rgba(14, 165, 233, 0.28);
  background: rgba(14, 165, 233, 0.07);
}

.prepared-admin-flow {
  display: grid;
  grid-template-columns: minmax(260px, 0.92fr) minmax(0, 1.45fr);
  gap: 18px;
  align-items: stretch;
  padding: 20px;
  border: 1px solid rgba(14, 165, 233, 0.18);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.08), rgba(248, 250, 252, 0.96));
}

.prepared-admin-flow h2 {
  margin: 4px 0 8px;
  font-size: 1.35rem;
  line-height: 1.15;
  color: var(--color-ink);
}

.prepared-admin-flow p {
  margin: 0;
  max-width: 58ch;
  color: var(--color-muted);
}

.prepared-admin-flow ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.prepared-admin-flow li {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
}

.prepared-admin-flow li span {
  color: var(--color-accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.prepared-admin-flow li strong {
  color: var(--color-ink);
  font-size: 0.95rem;
}

.prepared-admin-flow li em {
  color: var(--color-muted);
  font-size: 0.82rem;
  font-style: normal;
  line-height: 1.45;
}

.admin-approval-worklist {
  display: grid;
  gap: 14px;
}

.admin-approval-card-list {
  display: grid;
  gap: 12px;
}

.admin-approval-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--color-line);
  border-radius: 14px;
  background: var(--color-surface);
}

.admin-approval-card-main {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  justify-content: space-between;
  min-width: 0;
}

.admin-approval-card-main h2 {
  margin: 2px 0 4px;
  color: var(--color-ink);
  font-size: 1.12rem;
}

.admin-approval-card-main p {
  margin: 0;
  color: var(--color-muted);
}

.admin-approval-details {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-approval-actions {
  display: grid;
  grid-template-columns: auto minmax(210px, 1fr) minmax(210px, 1fr);
  gap: 10px;
  align-items: center;
}

.admin-approval-actions .inline-action {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.admin-approval-actions input {
  min-width: 0;
}

.payment-model .summary-metrics,
.dunning-model .summary-metrics {
  padding: 0 12px;
}

.payment-model .summary-metrics ul,
.dunning-model .summary-metrics ul {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.payment-model .summary-metric,
.dunning-model .summary-metric {
  min-height: 54px;
  padding: 8px 10px;
  border-bottom: 0;
  border-left: 1px solid var(--color-line);
}

.payment-model .summary-metric:first-child,
.dunning-model .summary-metric:first-child {
  border-left: 0;
}

.payment-model .summary-metric strong,
.dunning-model .summary-metric strong {
  font-size: 16px;
}

.payment-model .summary-metric span,
.payment-model .summary-metric em,
.dunning-model .summary-metric span,
.dunning-model .summary-metric em {
  font-size: 12px;
}

.table-toolbar {
  padding: 12px 14px;
  border-bottom: 1px solid var(--color-line);
}

table {
  font-size: 13px;
}

th {
  color: var(--color-muted);
  font-size: 11px;
  text-transform: uppercase;
}

td,
th {
  padding: 10px 12px;
}

.card {
  border-radius: 8px;
  box-shadow: none;
}

.button {
  min-height: 38px;
  border-radius: 8px;
}

@media (max-width: 1024px) {
  .app-shell {
    grid-template-columns: 148px minmax(0, 1fr);
  }

  .process-timeline {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .process-timeline li {
    min-width: 180px;
    scroll-snap-align: start;
  }
}

@media (max-width: 640px) {
  .review-metrics-grid {
    grid-template-columns: 1fr;
  }

  .prepared-admin-flow {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .prepared-admin-flow ol {
    grid-template-columns: 1fr;
  }

  .admin-approval-card-main,
  .admin-approval-actions,
  .admin-approval-actions .inline-action {
    grid-template-columns: 1fr;
  }

  .admin-approval-card-main {
    display: grid;
  }

  .admin-approval-details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  html,
  body {
    max-width: 100%;
    overflow-x: clip;
  }

  .shell {
    width: min(100% - 24px, 100%);
    max-width: 100%;
    overflow-x: clip;
  }

  .public-header {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    width: 100%;
    max-width: 100%;
  }

  .public-header .brand-lockup {
    min-width: 0;
  }

  .desktop-public-nav,
  .public-header-actions {
    display: none;
  }

  .public-mobile-menu {
    display: block;
    justify-self: end;
    max-width: 100%;
  }

  .public-mobile-menu summary {
    max-width: 100%;
  }

  .public-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
    padding-top: 28px;
  }

  .public-hero-content {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .public-hero-content h1 {
    max-width: 100%;
    font-size: clamp(30px, 8.5vw, 40px);
    line-height: 1.08;
    overflow-wrap: normal;
    word-break: normal;
  }

  .public-hero-content .lead {
    max-width: 100%;
  }

  .public-hero-product .actions,
  .public-status-band .actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    max-width: 100%;
  }

  .public-hero-product .actions > *,
  .public-status-band .actions > * {
    width: 100%;
    max-width: 100%;
  }

  .public-brand-stage {
    justify-items: start;
    width: 100%;
    max-width: 100%;
    padding: 0;
  }

  .public-brand-stage .section-kicker,
  .public-brand-stage strong,
  .public-brand-stage p,
  .public-brand-stage ol {
    width: 100%;
    max-width: 100%;
    justify-self: stretch;
  }

  .hero-logo-mark {
    justify-self: start;
    width: min(100%, 320px);
    max-width: 100%;
  }
}

@media (max-width: 760px) {
  .app-shell {
    display: block;
    background: #ffffff;
  }

  .sidebar {
    position: sticky;
    top: 0;
    z-index: 30;
    display: grid;
    min-height: 0;
    padding: 7px 10px;
    border-right: 0;
    border-bottom: 1px solid var(--color-line);
  }

  .sidebar-brand {
    min-height: 38px;
    padding: 0;
  }

  .mobile-role-menu summary {
    min-height: 34px;
    padding: 6px 10px;
    color: var(--color-primary-dark);
    font-size: 13px;
    font-weight: 800;
    background: var(--color-background);
    border: 1px solid var(--color-line);
    border-radius: 8px;
  }

  .mobile-role-menu .sidebar-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    padding-top: 8px;
  }

  .mobile-role-menu .sidebar-nav a {
    min-height: 34px;
    padding: 7px 8px;
    background: #ffffff;
    border: 1px solid var(--color-line);
  }

  .workspace-topbar {
    min-height: 38px;
    padding: 6px 10px;
  }

  .workspace-actions {
    flex-wrap: nowrap;
  }

  .workspace-profile-chip {
    flex: 0 0 auto;
    padding: 4px;
  }

  .workspace-profile-chip span:last-child {
    display: none;
  }

  .role-indicator {
    display: none;
  }

  .workspace-main {
    width: min(100% - 20px, 100%);
    padding-top: 10px;
  }

  .product-home-hero {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-top: 6px;
  }

  .product-home-hero h1 {
    font-size: 34px;
  }

  .work-queue,
  .summary-metrics ul,
  .product-grid-2 {
    grid-template-columns: 1fr;
  }

  .process-guard ul {
    grid-template-columns: 1fr;
  }

  .subnav {
    flex-wrap: nowrap;
    margin-inline: -10px;
    padding-inline: 10px;
    scroll-snap-type: x mandatory;
  }

  .subnav a {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

}

@media (max-width: 860px) {
  .public-header {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
  }

  .public-header .brand {
    min-width: 0;
    flex: 1 1 auto;
  }

  .public-header .brand-emblem,
  .public-header .brand-emblem img {
    width: 42px;
    height: 42px;
  }

  .public-header .brand-word {
    font-size: 18px;
  }

  .public-mobile-menu {
    flex: 0 0 auto;
  }

  .public-hero {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .public-hero-content {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .public-hero-content h1 {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
    font-size: clamp(29px, 8vw, 38px);
    line-height: 1.09;
  }

  .public-hero-content .lead {
    width: 100%;
    max-width: 100%;
  }

  .public-hero-content .actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    max-width: 100%;
    margin-top: 22px;
  }

  .public-hero-content .actions > * {
    width: 100%;
  }

  .public-brand-stage {
    display: grid;
    margin-top: 34px;
  }

  .hero-logo-mark {
    width: min(100%, 290px);
  }
}

@media (max-width: 860px) {
  .shell {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 760px) {
  .workspace-topbar {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    align-items: center;
    justify-content: space-between;
  }

  .workspace-title-group {
    min-width: 0;
  }

  .workspace-title {
    max-width: 190px;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .workspace-actions {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    gap: 4px;
  }

  .workspace-actions .button {
    width: auto;
    min-height: 28px;
    padding: 4px 8px;
    font-size: 12px;
  }
}

.landing-hero {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: clamp(56px, 8vw, 112px) 24px clamp(44px, 6vw, 76px);
  background:
    radial-gradient(circle at 15% 10%, rgba(14, 165, 233, 0.11), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%);
  border-bottom: 1px solid rgba(14, 165, 233, 0.13);
}

.landing-hero-inner {
  display: grid;
  gap: 28px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.landing-eyebrow {
  margin: 0;
  color: #0ea5e9;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
  text-transform: uppercase;
}

.landing-hero h1 {
  max-width: 900px;
  margin: 0;
  color: #082f49;
  font-size: clamp(44px, 7vw, 86px);
  line-height: 0.98;
  letter-spacing: 0;
}

.landing-lead {
  max-width: 790px;
  margin: 0;
  color: #334155;
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.55;
}

.landing-cta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
  margin-top: 12px;
}

.landing-cta-card {
  display: grid;
  gap: 16px;
  align-content: start;
  min-width: 0;
  padding: 26px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(14, 165, 233, 0.14);
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.landing-card-icon {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: #0ea5e9;
  background: rgba(14, 165, 233, 0.1);
  border-radius: 16px;
}

.landing-card-icon svg {
  display: block;
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.landing-cta-card h2 {
  margin: 0;
  color: #082f49;
  font-size: 24px;
  line-height: 1.18;
}

.landing-cta-card p {
  margin: 0;
  color: #475569;
  font-size: 16px;
  line-height: 1.55;
}

.landing-card-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 4px;
  padding: 11px 16px;
  color: #ffffff;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  background: #0ea5e9;
  border: 1px solid #0ea5e9;
  border-radius: 999px;
  box-shadow: 0 12px 26px rgba(14, 165, 233, 0.22);
}

.landing-card-button:hover,
.landing-card-button:focus-visible {
  color: #ffffff;
  background: #0284c7;
  border-color: #0284c7;
  outline: 3px solid rgba(14, 165, 233, 0.22);
  outline-offset: 2px;
}

.landing-how {
  display: grid;
  gap: 22px;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: clamp(44px, 6vw, 78px) 0;
}

.landing-how h2 {
  max-width: 850px;
  margin: 0;
  color: #082f49;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.08;
}

.landing-timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.landing-timeline li {
  position: relative;
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 24px;
  background: #ffffff;
  border: 1px solid #dbeafe;
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
}

.landing-step-dot {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
  background: #0ea5e9;
  border-radius: 999px;
}

.landing-timeline strong {
  color: #082f49;
  font-size: 20px;
  line-height: 1.2;
}

.landing-timeline p {
  margin: 0;
  color: #475569;
  line-height: 1.55;
}

.auth-combo-shell {
  display: grid;
  place-items: center;
  min-height: min(720px, calc(100vh - 220px));
  padding: clamp(28px, 6vw, 72px) 0;
}

.auth-combo-card {
  display: grid;
  gap: 22px;
  width: min(420px, 100%);
  padding: 28px;
  background: #ffffff;
  border: 1px solid #dbeafe;
  border-radius: 22px;
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.1);
}

.auth-logo {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-self: center;
  color: #082f49;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
}

.auth-logo img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 4px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
}

.auth-tab {
  min-height: 40px;
  padding: 9px 12px;
  color: #475569;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.auth-tab[aria-selected="true"] {
  color: #082f49;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.auth-panel {
  display: grid;
  gap: 18px;
}

.auth-panel[hidden] {
  display: none;
}

.auth-panel h1 {
  margin: 0;
  color: #082f49;
  font-size: 30px;
  line-height: 1.1;
  text-align: center;
}

.auth-form {
  display: grid;
  gap: 15px;
}

.auth-form .field {
  gap: 7px;
}

.auth-form label {
  color: #0f172a;
  font-size: 14px;
  font-weight: 800;
}

.auth-form input,
.auth-form select {
  min-height: 48px;
  border-color: #cbd5e1;
  border-radius: 12px;
  background: #ffffff;
}

.password-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
}

.password-field input {
  min-height: 46px;
  border: 0;
  border-radius: 0;
}

.password-field input:focus {
  outline: none;
  box-shadow: none;
}

.password-field:focus-within {
  border-color: #0ea5e9;
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.14);
}

.password-toggle {
  min-height: 38px;
  margin-right: 5px;
  padding: 8px 10px;
  color: #0284c7;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  background: #e0f2fe;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
}

.field-error {
  min-height: 18px;
  color: #b91c1c;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.field-error:empty {
  visibility: hidden;
}

.auth-submit {
  width: 100%;
  min-height: 48px;
  margin-top: 2px;
  justify-content: center;
  color: #0b1220;
  background: #0ea5e9;
  border-color: #0ea5e9;
  border-radius: 999px;
}

.auth-submit:hover,
.auth-submit:focus-visible {
  color: #ffffff;
  background: #0284c7;
  border-color: #0284c7;
}

.auth-forgot-link {
  justify-self: center;
  color: #0369a1;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
}

.auth-forgot-link:hover,
.auth-forgot-link:focus-visible {
  color: #075985;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

@media (max-width: 900px) {
  .landing-hero {
    padding-inline: 18px;
  }

  .landing-cta-grid,
  .landing-timeline {
    grid-template-columns: 1fr;
  }

  .landing-cta-card,
  .landing-timeline li {
    padding: 22px;
  }
}

@media (max-width: 560px) {
  .landing-hero {
    padding-top: 40px;
  }

  .landing-hero h1 {
    font-size: clamp(38px, 11vw, 50px);
  }

  .landing-card-button {
    width: 100%;
  }

  .auth-combo-card {
    padding: 22px;
    border-radius: 18px;
  }
}

.app-shell:has(.company-dashboard-layout) {
  grid-template-columns: minmax(0, 1fr);
  background: #f8fafc;
}

.app-shell:has(.company-dashboard-layout) > .sidebar,
.workspace:has(.company-dashboard-layout) > .workspace-topbar {
  display: none;
}

.app-shell:has(.company-dashboard-layout) .workspace-main {
  width: min(100% - 32px, 1480px);
  padding: 16px 0;
}

.app-shell:has(.student-dashboard-layout) {
  grid-template-columns: minmax(0, 1fr);
  background: #f8fafc;
}

.app-shell:has(.student-dashboard-layout) > .sidebar,
.workspace:has(.student-dashboard-layout) > .workspace-topbar {
  display: none;
}

.app-shell:has(.student-dashboard-layout) .workspace-main {
  width: min(100% - 32px, 1480px);
  padding: 16px 0;
}

.product-app-shell {
  display: block;
  min-height: 100vh;
  background: #f8fafc;
}

.product-workspace {
  min-width: 0;
}

.product-workspace-main {
  width: min(100% - 32px, 1480px);
  margin: 0 auto;
  padding: 16px 0;
}

.company-dashboard-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 18px;
  min-height: calc(100vh - 32px);
  color: #0f172a;
}

.student-dashboard-layout {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 18px;
  min-height: calc(100vh - 32px);
  color: #0f172a;
}

.student-dashboard-sidebar {
  position: sticky;
  top: 16px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 18px;
  height: calc(100vh - 32px);
  padding: 18px;
  color: #e2e8f0;
  background: var(--color-primary);
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 22px;
  box-shadow: 0 20px 60px rgba(2, 6, 23, 0.18);
}

.student-dashboard-brand {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 900;
  text-decoration: none;
}

.student-dashboard-nav {
  display: grid;
  gap: 6px;
  align-content: start;
}

.student-dashboard-nav a {
  padding: 10px 12px;
  color: #cbd5e1;
  font-weight: 800;
  text-decoration: none;
  border-radius: 12px;
}

.student-dashboard-nav a:hover,
.student-dashboard-nav a:focus-visible,
.student-dashboard-nav a.active {
  color: #ffffff;
  background: rgba(14, 165, 233, 0.18);
}

.student-dashboard-user {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 12px;
  background: rgba(15, 23, 42, 0.62);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 16px;
}

.student-dashboard-user strong,
.student-dashboard-user span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.student-dashboard-user span {
  color: #94a3b8;
  font-size: 0.82rem;
}

.student-dashboard-main {
  display: grid;
  align-content: start;
  gap: 18px;
  min-width: 0;
}

.student-ampel-topbar,
.student-next-action-panel,
.student-dashboard-heading,
.student-dashboard-context,
.student-dashboard-column,
.student-work-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.07);
}

.student-ampel-topbar {
  display: flex;
  gap: 22px;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  overflow: hidden;
}

.student-ampel-status {
  display: flex;
  gap: 18px;
  align-items: center;
  min-width: 0;
}

.student-ampel-status h1 {
  margin: 2px 0 6px;
  color: #082f49;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.02;
}

.student-ampel-status .student-status-title {
  margin-top: 6px;
  color: #0f172a;
  font-size: clamp(17px, 1.4vw, 21px);
  font-weight: 800;
  line-height: 1.3;
}

.student-ampel-status strong {
  display: block;
  color: #0f172a;
  font-size: 20px;
}

.student-ampel-icon {
  display: inline-grid;
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  place-items: center;
  font-size: 2rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12);
}

.student-ampel-status p {
  max-width: 720px;
  margin: 8px 0 0;
  color: #475569;
  line-height: 1.55;
}

.student-ampel-circle {
  display: inline-block;
  flex: 0 0 auto;
  width: 96px;
  height: 96px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 10px rgba(255, 255, 255, 0.64), 0 18px 42px rgba(15, 23, 42, 0.14);
}

.student-ampel-circle.traffic-free {
  background: #22c55e;
}

.student-ampel-circle.traffic-offer {
  background: #86efac;
}

.student-ampel-circle.traffic-reserved {
  background: #facc15;
}

.student-ampel-circle.traffic-booked {
  background: #ef4444;
}

.student-countdown {
  display: inline-flex;
  width: fit-content;
  margin-top: 12px;
  padding: 8px 12px;
  color: #854d0e;
  background: #fef3c7;
  border: 1px solid #fde68a;
  border-radius: 999px;
}

.student-ampel-profile {
  display: grid;
  justify-items: end;
  gap: 8px;
  min-width: 220px;
  text-align: right;
}

.student-ampel-profile strong {
  color: #082f49;
  font-size: 18px;
}

.student-status-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.student-next-action-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 15px 16px;
  background: linear-gradient(135deg, #ffffff, #f0fdf4);
}

.student-next-action-panel > div:first-child {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.student-next-action-panel span {
  color: #047857;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.student-next-action-panel h2 {
  margin: 0;
  color: #0f172a;
  font-size: clamp(1.08rem, 1.5vw, 1.34rem);
  line-height: 1.15;
}

.student-next-action-panel p {
  margin: 0;
  color: #475569;
  font-size: 0.9rem;
  line-height: 1.45;
}

.student-next-action-panel small {
  grid-column: 1 / -1;
  margin-top: -4px;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 800;
}

.student-next-action-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  background: #ffffff;
}

.student-next-action-facts span {
  display: grid;
  place-items: center;
  gap: 2px;
  min-width: 0;
  border-left: 1px solid rgba(15, 23, 42, 0.08);
  padding: 9px 10px;
  letter-spacing: 0;
  text-transform: none;
}

.student-next-action-facts span:first-child {
  border-left: 0;
}

.student-next-action-facts strong {
  color: #0f172a;
  font-size: 1rem;
  font-weight: 900;
}

.student-next-action-facts em {
  color: #64748b;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.student-dashboard-layout .subnav {
  margin: 0;
}

.student-dashboard-layout .process-timeline,
.student-dashboard-layout .process-guard {
  margin: 0;
}

.student-dashboard-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
}

.student-dashboard-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

.student-dashboard-heading h2 {
  margin: 0;
  color: #082f49;
  font-size: 24px;
}

.student-priority-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.student-priority-strip article {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  min-width: 0;
  padding: 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.055);
}

.student-priority-strip strong {
  display: block;
  margin-bottom: 4px;
  color: #082f49;
  font-size: 0.94rem;
  font-weight: 800;
}

.student-priority-strip p {
  margin: 0;
  color: #475569;
  font-size: 0.84rem;
  line-height: 1.45;
}

.student-priority-number,
.student-priority-lock {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 28px;
  padding: 0 10px;
  color: #075985;
  font-size: 0.78rem;
  font-weight: 900;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  border-radius: 999px;
}

.student-dashboard-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.student-dashboard-column {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
  padding: 16px;
}

.student-dashboard-column > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e2e8f0;
}

.student-dashboard-column h2 {
  margin: 0;
  color: #082f49;
  font-size: 20px;
}

.student-dashboard-column header span {
  color: #075985;
  font-weight: 800;
}

.student-work-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  box-shadow: none;
}

.student-work-card.empty {
  background: #f8fafc;
}

.student-work-card p {
  margin: 0;
  color: #475569;
  line-height: 1.48;
}

.student-work-card > span {
  color: #64748b;
  font-weight: 800;
}

.student-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.student-card-head strong {
  min-width: 0;
  color: #0f172a;
  overflow-wrap: anywhere;
}

.student-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.student-card-actions form {
  margin: 0;
}

.student-dashboard-context {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
  padding: 18px;
}

.student-dashboard-context article {
  display: grid;
  gap: 8px;
}

.student-dashboard-context h2 {
  margin: 0;
  color: #082f49;
}

.student-dashboard-context p {
  margin: 0;
  color: #475569;
  line-height: 1.55;
}

.company-dashboard-sidebar,
.company-dashboard-main,
.company-dashboard-chat {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.07);
}

.company-dashboard-sidebar {
  position: sticky;
  top: 16px;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  gap: 18px;
  height: calc(100vh - 32px);
  padding: 18px;
  color: #e2e8f0;
  background: var(--color-primary);
  border-color: rgba(148, 163, 184, 0.24);
  box-shadow: 0 20px 60px rgba(2, 6, 23, 0.18);
}

.company-dashboard-brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: #ffffff;
  font-weight: 900;
  text-decoration: none;
}

.company-dashboard-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 10px;
}

.company-dashboard-role {
  display: grid;
  gap: 6px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
}

.company-dashboard-role span {
  color: #ffffff;
  font-size: 15px;
  font-weight: 900;
}

.company-dashboard-role p {
  margin: 0;
  color: #94a3b8;
  font-size: 13px;
  line-height: 1.45;
}

.company-dashboard-nav {
  display: grid;
  gap: 6px;
  align-content: start;
}

.company-dashboard-nav a {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  color: #cbd5e1;
  text-decoration: none;
  border-radius: 12px;
}

.company-dashboard-nav a:hover,
.company-dashboard-nav a:focus-visible,
.company-dashboard-nav a.active {
  color: #ffffff;
  background: rgba(14, 165, 233, 0.18);
}

.company-dashboard-nav span {
  font-weight: 800;
}

.company-dashboard-nav small {
  color: #94a3b8;
  font-size: 12px;
}

.company-dashboard-user {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 12px;
  background: rgba(15, 23, 42, 0.62);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 16px;
}

.company-dashboard-user strong,
.company-dashboard-user span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.company-dashboard-user span {
  color: #94a3b8;
  font-size: 13px;
}

.company-dashboard-main {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 22px;
  overflow: hidden;
}

.company-dashboard-toolbar {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  justify-content: space-between;
}

.company-dashboard-toolbar h1 {
  margin: 2px 0 8px;
  color: #082f49;
  font-size: clamp(1.625rem, 2vw, 2.125rem);
  line-height: 1.12;
}

.company-dashboard-toolbar p:last-child {
  max-width: 760px;
  margin: 0;
  color: #475569;
  line-height: 1.6;
}

.dashboard-bell {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 50px;
  height: 50px;
  color: #082f49;
  text-decoration: none;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 16px;
}

.dashboard-bell summary {
  list-style: none;
}

.dashboard-bell summary::-webkit-details-marker {
  display: none;
}

.dashboard-bell strong {
  position: absolute;
  top: -7px;
  right: -7px;
  display: inline-grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  padding: 0 6px;
  color: #ffffff;
  font-size: 12px;
  background: #0ea5e9;
  border-radius: 999px;
}

.notification-bell {
  isolation: isolate;
  overflow: visible;
}

.notification-bell-button {
  display: inline-grid;
  width: 100%;
  height: 100%;
  place-items: center;
  padding: 0;
  color: inherit;
  cursor: pointer;
  background: transparent;
  border: 0;
  border-radius: inherit;
}

.notification-bell-button:hover,
.notification-bell-button:focus-visible {
  background: rgba(14, 165, 233, 0.10);
  outline: none;
}

.notification-badge {
  box-shadow: 0 0 0 3px #ffffff;
}

.notification-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 60;
  display: grid;
  width: min(360px, calc(100vw - 32px));
  gap: 10px;
  padding: 14px;
  text-align: left;
  background: #ffffff;
  border: 1px solid #dbeafe;
  border-radius: 18px;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.18);
}

.notification-dropdown[hidden] {
  display: none;
}

.notification-bell:not([open]) .notification-dropdown {
  display: none;
}

.notification-dropdown-header {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  color: #0f172a;
}

.notification-dropdown-header span,
.notification-empty,
.notification-preview-copy small {
  color: #64748b;
  font-size: 12px;
}

.notification-preview-list {
  display: grid;
  gap: 8px;
}

.notification-preview {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px;
  color: #0f172a;
  text-decoration: none;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
}

.notification-preview.unread {
  background: #eff6ff;
  border-color: #bfdbfe;
}

.notification-preview:hover,
.notification-row:hover {
  border-color: #7dd3fc;
  box-shadow: 0 12px 30px rgba(14, 165, 233, 0.12);
  transform: translateY(-1px);
}

.notification-preview-icon,
.notification-row-icon {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
}

.notification-preview-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.notification-preview-copy strong {
  overflow: hidden;
  color: #0f172a;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notification-all-link {
  display: inline-flex;
  justify-content: center;
  padding: 10px 12px;
  color: #0369a1;
  font-weight: 700;
  text-decoration: none;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 12px;
}

.notifications-page {
  display: grid;
  gap: 18px;
}

.notifications-hero {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 26px;
  background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
  border: 1px solid #dbeafe;
  border-radius: 22px;
  box-shadow: 0 18px 55px rgba(15, 23, 42, 0.08);
}

.notifications-hero h1 {
  margin: 0 0 8px;
  color: #082f49;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.06;
}

.notifications-hero .lead {
  max-width: 760px;
  margin: 0;
}

.notification-summary-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.notification-summary-strip span {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 8px 12px;
  color: #0f172a;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
}

.notification-group {
  display: grid;
  gap: 10px;
}

.notification-group-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
}

.notification-group-heading h2 {
  margin: 0;
  color: #0f172a;
  font-size: 18px;
}

.notification-group-heading span {
  color: #64748b;
  font-size: 13px;
}

.notification-list {
  display: grid;
  gap: 10px;
}

.notification-group-empty {
  padding: 14px 16px;
  color: #64748b;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 16px;
}

.notification-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  color: #0f172a;
  text-decoration: none;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.06);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.notification-row.unread {
  background: #eff6ff;
  border-color: #bfdbfe;
}

.notification-row-copy {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.notification-row-copy strong {
  color: #082f49;
}

.notification-row-copy span,
.notification-row time {
  color: #64748b;
  font-size: 13px;
}

.notification-empty-state {
  padding: 28px;
  text-align: center;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
}

.notification-empty-state h2 {
  margin: 0 0 8px;
  color: #0f172a;
}

.company-search-panel {
  display: grid;
  gap: 12px;
  padding: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
}

.company-search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.company-search-form input {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  color: #0f172a;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
}

.company-filter-chips,
.company-dashboard-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.company-filter-chips a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  color: #075985;
  font-weight: 800;
  text-decoration: none;
  background: #ffffff;
  border: 1px solid #bae6fd;
  border-radius: 999px;
}

.company-dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.company-dashboard-metrics span {
  display: grid;
  gap: 4px;
  min-height: 76px;
  padding: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
}

.company-dashboard-metrics strong {
  color: #082f49;
  font-size: 1.45rem;
  line-height: 1;
}

.company-dashboard-metrics em {
  color: #475569;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 800;
}

.company-process-bar {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.company-process-bar li {
  position: relative;
  display: grid;
  gap: 4px;
  min-height: 72px;
  padding: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
}

.company-process-bar li.current {
  background: #e0f2fe;
  border-color: #7dd3fc;
}

.company-process-bar strong {
  color: #082f49;
  font-size: 15px;
}

.company-process-bar span {
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.company-process-bar i {
  position: absolute;
  top: 50%;
  right: -11px;
  z-index: 1;
  color: #94a3b8;
  font-style: normal;
  transform: translateY(-50%);
}

.company-dashboard-work-queue {
  display: grid;
  gap: 14px;
  padding: 18px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
}

.company-process-guidance {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
}

.company-process-guidance div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 8px;
  align-items: center;
  min-width: 0;
}

.company-process-guidance strong {
  color: #082f49;
  font-size: 14px;
}

.company-process-guidance p {
  grid-column: 1 / -1;
  margin: 0;
  color: #475569;
  font-size: 13px;
  line-height: 1.45;
}

.company-dashboard-work-queue h2 {
  margin: 0 0 6px;
  color: #082f49;
}

.company-dashboard-work-queue p {
  margin: 0;
  color: #64748b;
}

.company-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.company-student-card {
  display: grid;
  gap: 14px;
  min-width: 0;
  padding: 18px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.company-student-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.company-card-category {
  color: #0284c7;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.traffic-dot {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  font-size: 18px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
}

.company-student-card h2 {
  margin: 0;
  color: #082f49;
  font-size: 20px;
  line-height: 1.2;
}

.student-line {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  color: #475569;
}

.student-line strong,
.student-line span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.company-dashboard-chat {
  position: sticky;
  top: 16px;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 14px;
  height: calc(100vh - 32px);
  padding: 16px;
  overflow: hidden;
}

.company-dashboard-chat header,
.chat-active-head {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.company-dashboard-chat header span,
.chat-active-head strong {
  color: #082f49;
  font-weight: 900;
}

.company-dashboard-chat header a {
  color: #0284c7;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.chat-conversation-list {
  display: grid;
  gap: 8px;
  overflow: auto;
  max-height: 220px;
  padding-right: 2px;
}

.chat-conversation-card {
  display: grid;
  gap: 4px;
  padding: 12px;
  color: #334155;
  text-decoration: none;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
}

.chat-conversation-card.active {
  background: #e0f2fe;
  border-color: #7dd3fc;
}

.chat-conversation-card strong,
.chat-conversation-card span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-active-thread {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 12px;
  min-height: 0;
}

.chat-active-head {
  align-items: flex-start;
  flex-direction: column;
}

.chat-active-head span {
  color: #64748b;
  font-size: 13px;
}

.chat-message-list {
  display: grid;
  align-content: end;
  gap: 10px;
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow: auto;
  list-style: none;
}

.chat-message {
  display: grid;
  gap: 4px;
  max-width: 88%;
  padding: 10px 12px;
  border-radius: 14px;
}

.chat-message span {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.chat-message p {
  margin: 0;
  line-height: 1.45;
}

.chat-message.own {
  justify-self: end;
  color: #ffffff;
  background: #0ea5e9;
}

.chat-message.own span {
  color: #e0f2fe;
}

.chat-message.other,
.chat-message.empty {
  justify-self: start;
  background: #f1f5f9;
}

.chat-compose {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.chat-compose input {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
}

.chat-compose.locked {
  display: block;
  padding: 12px;
  color: #64748b;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}

.chat-empty-state {
  display: grid;
  gap: 12px;
  align-content: center;
  min-height: 320px;
  padding: 18px;
  text-align: center;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 16px;
}

.chat-empty-state p {
  margin: 0;
  color: #64748b;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1180px) {
  .company-card-grid,
  .company-process-guidance,
  .company-dashboard-metrics,
  .student-priority-strip,
  .student-dashboard-columns,
  .student-dashboard-context {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .company-dashboard-layout {
    grid-template-columns: 190px minmax(0, 1fr);
  }

  .company-dashboard-chat {
    grid-column: 1 / -1;
    position: static;
    height: auto;
    min-height: 420px;
  }

  .student-dashboard-layout {
    grid-template-columns: 1fr;
  }

  .student-dashboard-layout .company-dashboard-chat {
    position: static;
    height: auto;
    min-height: 420px;
  }

  .company-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .app-shell:has(.company-dashboard-layout) .workspace-main,
  .app-shell:has(.student-dashboard-layout) .workspace-main {
    width: min(100% - 20px, 100%);
    padding: 10px 0;
  }

  .company-dashboard-layout,
  .student-dashboard-layout {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .company-dashboard-sidebar,
  .student-dashboard-sidebar,
  .company-dashboard-chat {
    position: static;
    height: auto;
  }

  .company-dashboard-sidebar,
  .student-dashboard-sidebar {
    grid-template-rows: auto auto auto auto;
    padding: 14px;
    max-height: 42vh;
    overflow-y: auto;
  }

  .company-dashboard-nav,
  .student-dashboard-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .company-dashboard-nav::-webkit-scrollbar,
  .student-dashboard-nav::-webkit-scrollbar {
    display: none;
  }

  .company-dashboard-nav a,
  .student-dashboard-nav a {
    flex: 0 0 auto;
    min-width: min(148px, 76vw);
    justify-content: center;
    white-space: nowrap;
  }

  .company-dashboard-main {
    padding: 16px;
  }

  .company-dashboard-layout.company-discovery-layout > .company-dashboard-main {
    order: 2;
  }

  .company-dashboard-layout.company-discovery-layout > .company-dashboard-chat {
    order: 3;
  }

  .company-discovery-main .student-search-page {
    gap: 12px;
  }

  .company-discovery-main .student-search-heading {
    padding: 2px 0 0;
  }

  .company-discovery-main .student-search-heading .lead {
    display: none;
  }

  .company-discovery-main .student-discovery-flow {
    display: none;
  }

  .student-ampel-topbar,
  .student-dashboard-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .student-dashboard-tools {
    justify-content: stretch;
  }

  .student-dashboard-tools .button {
    width: 100%;
  }

  .student-ampel-status {
    align-items: flex-start;
    flex-direction: column;
  }

  .student-ampel-circle {
    width: 72px;
    height: 72px;
  }

  .student-ampel-profile {
    justify-items: start;
    min-width: 0;
    text-align: left;
  }

  .company-dashboard-toolbar {
    align-items: stretch;
  }

  .company-search-form,
  .chat-compose {
    grid-template-columns: 1fr;
  }

  .company-process-bar {
    grid-template-columns: 1fr;
  }

  .company-process-guidance {
    grid-template-columns: 1fr;
  }

  .company-process-bar i {
    display: none;
  }

  .company-card-grid {
    grid-template-columns: 1fr;
  }

  .student-card-actions,
  .student-card-actions form,
  .student-card-actions .button,
  .student-work-card > .button {
    width: 100%;
  }
}

@media (max-width: 900px) {
  body .company-dashboard-sidebar .company-dashboard-nav,
  body .student-dashboard-sidebar .student-dashboard-nav {
    display: flex;
    grid-template-columns: none;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    max-width: 100%;
  }

  body .company-dashboard-sidebar .company-dashboard-nav a,
  body .student-dashboard-sidebar .student-dashboard-nav a {
    flex: 0 0 auto;
    width: auto;
    min-width: max-content;
  }
}

.student-search-page {
  gap: 24px;
}

.student-search-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.student-search-heading h1 {
  max-width: 780px;
}

.student-search-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.student-filter-sidebar {
  position: sticky;
  top: 88px;
  border: 0;
  border-right: 1px solid rgba(14, 30, 46, 0.1);
  border-radius: 0;
  background: #ffffff;
  box-shadow: none;
  padding: 6px 22px 6px 0;
}

.student-filter-sidebar form,
.student-filter-list {
  display: grid;
  gap: 10px;
}

.student-filter-title {
  margin: 0 0 16px;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.student-filter-group {
  display: grid;
  gap: 10px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(14, 30, 46, 0.08);
}

.student-filter-group:last-of-type {
  border-bottom: 0;
  margin-bottom: 8px;
}

.student-filter-label {
  font-size: 0.82rem;
  font-weight: 800;
  color: #082f49;
  text-transform: none;
}

.student-filter-sidebar input[type="text"],
.student-filter-sidebar input[name="search"],
.student-sort-select {
  width: 100%;
  border: 1px solid rgba(14, 30, 46, 0.16);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  background: #f8fbfd;
  color: #0f172a;
}

.student-filter-check {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 32px;
  color: #16415e;
  font-weight: 600;
  line-height: 1.35;
}

.student-filter-check input {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  accent-color: #0ea5e9;
}

.student-filter-toggle {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.student-filter-toggle label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  border: 1px solid rgba(14, 30, 46, 0.12);
  border-radius: 14px;
  padding: 9px 11px;
  background: #f8fbfd;
  font-weight: 800;
  color: #16415e;
}

.student-filter-toggle input {
  accent-color: #0ea5e9;
}

.student-filter-actions {
  display: grid;
  gap: 10px;
}

.student-search-results {
  display: grid;
  gap: 20px;
  min-width: 0;
}

.student-results-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 0;
  border-bottom: 1px solid rgba(14, 30, 46, 0.09);
  border-radius: 0;
  padding: 0 0 18px;
  background: transparent;
}

.student-results-toolbar div {
  display: grid;
  gap: 4px;
}

.student-results-toolbar h2 {
  margin: 0;
  color: #082f49;
  font-size: clamp(1.45rem, 2vw, 2rem);
  letter-spacing: 0;
}

.student-results-toolbar strong {
  font-size: 1rem;
  color: #082f49;
}

.student-results-toolbar span {
  color: #526678;
  font-size: 0.9rem;
}

.student-privacy-note {
  max-width: 360px;
  text-align: right;
}

.student-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.student-search-card {
  position: relative;
  display: grid;
  gap: 14px;
  min-height: 300px;
  border: 1px solid rgba(14, 30, 46, 0.09);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(14, 30, 46, 0.06);
  padding: 18px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.student-search-card:hover,
.student-search-card:focus-within {
  transform: translateY(-3px);
  border-color: rgba(14, 165, 233, 0.42);
  box-shadow: 0 24px 54px rgba(14, 30, 46, 0.13);
}

.student-card-link {
  display: grid;
  gap: 16px;
  color: inherit;
  text-decoration: none;
}

.student-card-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding-right: 84px;
}

.student-avatar {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0ea5e9, #22c55e);
  color: #ffffff;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4), 0 10px 24px rgba(14, 165, 233, 0.22);
}

.student-avatar.large {
  width: 84px;
  height: 84px;
  font-size: 1.35rem;
}

.student-card-header h2,
.student-detail-head h1 {
  margin: 0;
  color: #082f49;
}

.student-card-header p,
.student-detail-head p {
  margin: 4px 0 0;
  color: #526678;
  line-height: 1.45;
}

.student-traffic-pill {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(14, 30, 46, 0.08);
  border-radius: 999px;
  background: #ffffff;
  padding: 7px 10px;
  font-size: 0.82rem;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(14, 30, 46, 0.06);
}

.student-traffic-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  box-shadow: 0 0 0 4px rgba(14, 30, 46, 0.04);
}

.traffic-green .student-traffic-dot {
  background: #16a34a;
}

.traffic-light-green .student-traffic-dot {
  background: #84cc16;
}

.traffic-yellow .student-traffic-dot {
  background: #f59e0b;
}

.traffic-red .student-traffic-dot {
  background: #ef4444;
}

.traffic-muted .student-traffic-dot {
  background: #94a3b8;
}

.student-skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.student-skill-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 5px 10px;
  background: #e0f2fe;
  color: #075985;
  font-size: 0.82rem;
  font-weight: 800;
}

.student-skill-pill.muted {
  background: #f1f5f9;
  color: #64748b;
}

.student-card-facts {
  display: grid;
  gap: 8px;
  margin: 0;
}

.student-card-facts div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 8px;
  border-top: 1px solid rgba(14, 30, 46, 0.08);
}

.student-card-facts dt {
  color: #64748b;
  font-size: 0.85rem;
}

.student-card-facts dd {
  margin: 0;
  color: #0f172a;
  font-weight: 800;
  text-align: right;
}

.student-card-actions {
  margin-top: auto;
}

.student-match-progress {
  display: grid;
  gap: 8px;
}

.student-match-progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #64748b;
  font-size: 0.86rem;
  font-weight: 700;
}

.student-match-progress-head strong {
  color: #082f49;
}

.student-match-progress small {
  color: #64748b;
  font-size: 0.74rem;
  line-height: 1.35;
}

.student-match-meter {
  display: block;
  width: 100%;
  height: 8px;
  overflow: hidden;
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: var(--color-neutral-200);
}

.student-match-meter::-webkit-progress-bar {
  border-radius: 999px;
  background: var(--color-neutral-200);
}

.student-match-meter::-webkit-progress-value {
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-success));
  transition: width 220ms ease-out, background 160ms ease;
}

.student-match-meter::-moz-progress-bar {
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-success));
  transition: width 220ms ease-out, background 160ms ease;
}

.student-focus-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border: 0;
  border-radius: 14px;
  background: #0ea5e9;
  color: #0b1220;
  padding: 12px 14px;
  font: inherit;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(14, 165, 233, 0.2);
}

.student-focus-button:hover,
.student-focus-button:focus-visible {
  background: #0284c7;
  color: #ffffff;
}

.student-focus-button.is-focused {
  cursor: default;
  background: #dcfce7;
  color: #166534;
  box-shadow: none;
}

.student-focus-button.is-state-link.is-booked {
  color: #991b1b;
  cursor: default;
  background: #fee2e2;
  border: 1px solid rgba(239, 68, 68, 0.28);
  box-shadow: none;
}

.student-focus-button.is-state-link.is-booked:hover,
.student-focus-button.is-state-link.is-booked:focus-visible {
  color: #991b1b;
  background: #fee2e2;
}

.student-focus-button.is-state-link.is-reserved {
  color: #0b1220;
  background: #facc15;
  box-shadow: 0 12px 26px rgba(234, 179, 8, 0.18);
}

.student-focus-button.is-state-link.is-offer {
  color: #0b1220;
  background: #d9f99d;
  box-shadow: 0 12px 26px rgba(132, 204, 22, 0.16);
}

.student-empty-state {
  grid-column: 1 / -1;
  display: grid;
  gap: 6px;
  border: 1px dashed rgba(14, 30, 46, 0.18);
  border-radius: 22px;
  padding: 28px;
  background: #ffffff;
  color: #526678;
}

.student-empty-state strong {
  color: #082f49;
}

.student-results-end {
  display: flex;
  justify-content: center;
  color: #64748b;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 8px 0 0;
}

.student-detail-page {
  gap: 22px;
}

.student-detail-head {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  border: 1px solid rgba(14, 30, 46, 0.09);
  border-radius: 24px;
  background: #ffffff;
  padding: 24px;
  box-shadow: 0 16px 38px rgba(14, 30, 46, 0.08);
}

.student-detail-head .student-traffic-pill {
  position: static;
}

.student-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 18px;
}

.student-detail-panel {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(14, 30, 46, 0.09);
  border-radius: 20px;
  background: #ffffff;
  padding: 20px;
  box-shadow: 0 14px 34px rgba(14, 30, 46, 0.07);
}

.student-detail-panel h2 {
  margin: 0;
  color: #082f49;
}

.student-detail-panel p {
  margin: 0;
  color: #526678;
  line-height: 1.6;
}

.student-profile-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.student-profile-sidebar {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 18px;
  border: 1px solid rgba(14, 30, 46, 0.09);
  border-radius: 24px;
  background: #ffffff;
  padding: 24px;
  box-shadow: 0 18px 44px rgba(14, 30, 46, 0.09);
}

.student-avatar.profile-large {
  width: 116px;
  height: 116px;
  font-size: 2rem;
}

img.student-avatar.profile-large {
  display: block;
  object-fit: cover;
}

.student-profile-identity {
  display: grid;
  gap: 6px;
}

.student-profile-identity h1 {
  margin: 0;
  color: #082f49;
  font-size: clamp(1.7rem, 2.5vw, 2.2rem);
  line-height: 1.05;
}

.student-profile-identity p,
.student-profile-identity span {
  margin: 0;
  color: #526678;
  line-height: 1.5;
}

.student-profile-location {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.student-profile-traffic-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 900;
  border: 1px solid rgba(14, 30, 46, 0.08);
}

.student-profile-traffic-badge.traffic-green {
  background: #dcfce7;
  color: #166534;
}

.student-profile-traffic-badge.traffic-light-green {
  background: #ecfccb;
  color: #3f6212;
}

.student-profile-traffic-badge.traffic-yellow {
  background: #fef3c7;
  color: #92400e;
}

.student-profile-traffic-badge.traffic-red {
  background: #fee2e2;
  color: #991b1b;
}

.student-profile-meta {
  display: grid;
  gap: 10px;
  margin: 0;
}

.student-profile-meta div {
  display: grid;
  gap: 3px;
  padding-top: 10px;
  border-top: 1px solid rgba(14, 30, 46, 0.08);
}

.student-profile-meta dt {
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 800;
}

.student-profile-meta dd {
  margin: 0;
  color: #082f49;
  font-weight: 800;
}

.student-profile-meta dd .student-match-meter {
  width: 100%;
  margin: 0 0 6px;
}

.student-profile-privacy {
  margin: 0;
  border-radius: 16px;
  background: #f0f9ff;
  color: #075985;
  padding: 12px;
  line-height: 1.5;
  font-size: 0.9rem;
}

.student-profile-main {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.student-profile-section {
  display: grid;
  gap: 16px;
  border: 1px solid rgba(14, 30, 46, 0.09);
  border-radius: 24px;
  background: #ffffff;
  padding: 22px;
  box-shadow: 0 16px 40px rgba(14, 30, 46, 0.07);
}

.student-profile-section-head {
  display: grid;
  gap: 4px;
}

.student-profile-section-head h2 {
  margin: 0;
  color: #082f49;
}

.student-skill-groups {
  display: grid;
  gap: 14px;
}

.student-skill-group {
  display: grid;
  gap: 10px;
}

.student-skill-group h3 {
  margin: 0;
  color: #16415e;
  font-size: 0.95rem;
}

.student-education-timeline {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.student-education-timeline li {
  position: relative;
  display: grid;
  gap: 4px;
  padding-left: 24px;
}

.student-education-timeline li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #0ea5e9;
  box-shadow: 0 0 0 5px #e0f2fe;
}

.student-education-timeline span,
.student-internship-card span {
  color: #64748b;
  font-size: 0.84rem;
  font-weight: 800;
}

.student-education-timeline strong,
.student-internship-card strong {
  color: #082f49;
}

.student-education-timeline p,
.student-internship-card p,
.student-about-text {
  margin: 0;
  color: #526678;
  line-height: 1.6;
}

.student-internship-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.student-internship-card {
  display: grid;
  gap: 6px;
  border: 1px solid rgba(14, 30, 46, 0.08);
  border-radius: 18px;
  background: #f8fbfd;
  padding: 16px;
}

.student-profile-empty {
  border: 1px dashed rgba(14, 30, 46, 0.16);
  border-radius: 18px;
  background: #f8fbfd;
  color: #526678;
  padding: 16px;
}

.student-profile-action-bar {
  position: sticky;
  bottom: 16px;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(14, 30, 46, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 42px rgba(14, 30, 46, 0.16);
  padding: 14px 16px;
  backdrop-filter: blur(12px);
}

.student-profile-action-bar > div:first-child {
  display: grid;
  gap: 3px;
}

.student-profile-action-kicker {
  margin: 0;
  color: #0ea5e9;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.student-profile-action-bar strong {
  color: #082f49;
  font-size: 1.02rem;
}

.student-profile-action-bar span {
  color: #526678;
  font-size: 0.9rem;
}

.student-profile-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.student-profile-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border: 0;
  border-radius: 14px;
  padding: 11px 16px;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.student-profile-action.primary {
  background: #0ea5e9;
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(14, 165, 233, 0.22);
}

.student-profile-action.secondary {
  border: 1px solid rgba(14, 30, 46, 0.12);
  background: #ffffff;
  color: #082f49;
}

.student-profile-action.small {
  min-height: 38px;
  padding: 9px 12px;
}

.student-profile-action.warning {
  background: #f59e0b;
  color: #ffffff;
}

.student-profile-action.warning span {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
  color: #ffffff;
  padding: 3px 7px;
}

.student-profile-action.is-disabled {
  cursor: default;
  background: #f1f5f9;
  color: #475569;
  box-shadow: none;
}

.student-profile-action.is-disabled.warning {
  background: #fef3c7;
  color: #92400e;
}

.student-profile-action.is-disabled.danger {
  background: #fee2e2;
  color: #991b1b;
}

.student-profile-action.is-disabled.success {
  background: #dcfce7;
  color: #166534;
}

@media (max-width: 900px) {
  .student-search-heading,
  .student-results-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .student-privacy-note {
    max-width: none;
    text-align: left;
  }

  .student-search-layout,
  .student-detail-grid,
  .student-detail-head,
  .student-profile-layout,
  .student-profile-action-bar {
    grid-template-columns: 1fr;
  }

  .student-card-grid {
    grid-template-columns: 1fr;
  }

  .student-filter-sidebar {
    position: static;
    border-right: 0;
    border-bottom: 1px solid rgba(14, 30, 46, 0.1);
    padding: 0 0 20px;
  }

  .student-profile-sidebar {
    position: static;
  }

  .student-profile-action-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .student-profile-actions {
    justify-content: stretch;
  }

  .student-profile-action,
  .student-profile-actions form {
    width: 100%;
  }

  .student-detail-head .student-traffic-pill {
    justify-self: start;
  }
}

@media (max-width: 680px) {
  .student-card-grid {
    grid-template-columns: 1fr;
  }

  .student-card-header {
    padding-right: 74px;
  }

  .student-search-card,
  .student-filter-sidebar,
  .student-detail-head,
  .student-detail-panel,
  .student-profile-sidebar,
  .student-profile-section {
    border-radius: 18px;
  }

  .student-internship-grid {
    grid-template-columns: 1fr;
  }
}

.account-profile-page {
  display: grid;
  gap: 24px;
}

.account-profile-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 22px;
  border: 1px solid rgba(14, 165, 233, 0.16);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.08), rgba(255, 255, 255, 0.98) 52%), #fff;
  box-shadow: none;
}

.account-profile-hero h1 {
  margin: 0;
  max-width: 760px;
  color: #082f49;
  font-size: clamp(1.65rem, 2.2vw, 2.25rem);
  letter-spacing: 0;
}

.account-profile-hero p:last-child {
  max-width: 760px;
  margin: 12px 0 0;
  color: #475569;
  font-size: 0.98rem;
  line-height: 1.55;
}

.profile-workflow-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.22);
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
}

.profile-workflow-strip span {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid rgba(14, 165, 233, 0.18);
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.06);
  color: var(--color-ink);
  font-size: 0.84rem;
  font-weight: 700;
}

.profile-workflow-strip strong {
  color: var(--color-accent);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
}

.account-profile-shell {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.profile-step-nav {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: none;
}

.profile-step-nav a {
  display: block;
  padding: 11px 13px;
  border-radius: 10px;
  color: #334155;
  font-weight: 800;
  text-decoration: none;
}

.profile-step-nav a:hover,
.profile-step-nav a:focus-visible {
  background: #e0f2fe;
  color: #075985;
}

.account-profile-main,
.account-profile-form {
  display: grid;
  gap: 18px;
}

.account-profile-card {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
  box-shadow: none;
}

.avatar-upload-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 18px;
}

.avatar-upload-preview {
  display: grid;
  place-items: center;
}

.avatar-dropzone {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1.5px dashed #7dd3fc;
  border-radius: 12px;
  background: #f0f9ff;
}

.avatar-dropzone label {
  display: grid;
  gap: 4px;
  color: #075985;
}

.avatar-dropzone label strong {
  font-size: 1.05rem;
}

.avatar-dropzone label span,
.avatar-dropzone small {
  color: #475569;
}

.avatar-dropzone input[type="file"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #bae6fd;
  border-radius: 14px;
  background: #fff;
}

.profile-form-step {
  display: grid;
  gap: 20px;
  padding: 20px;
}

.profile-form-step-collapsible {
  gap: 0;
}

.profile-form-step-collapsible > summary {
  cursor: pointer;
  list-style: none;
  margin: -2px;
  padding: 2px;
  border-radius: 12px;
  transition: background 160ms ease, color 160ms ease;
}

.profile-form-step-collapsible > summary::-webkit-details-marker {
  display: none;
}

.profile-form-step-collapsible > summary::after {
  content: "+";
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  margin-left: auto;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  color: var(--color-accent-hover);
  background: var(--color-neutral-50);
  font-weight: 800;
}

.profile-form-step-collapsible[open] {
  gap: 18px;
}

.profile-form-step-collapsible[open] > summary::after {
  content: "-";
  color: var(--color-primary);
  background: var(--color-accent-soft);
  border-color: rgba(14, 165, 233, 0.28);
}

.profile-form-step-collapsible > summary:hover,
.profile-form-step-collapsible > summary:focus-visible {
  background: var(--color-neutral-50);
  outline: 0;
}

.profile-step-heading {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.profile-step-heading > span {
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #0ea5e9;
  color: #fff;
  font-weight: 800;
}

.profile-step-heading h2 {
  margin: 0;
  color: #0f172a;
  font-size: 1.35rem;
  letter-spacing: 0;
}

.profile-step-heading p {
  margin: 4px 0 0;
  color: #64748b;
  line-height: 1.55;
}

.profile-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.profile-field-grid .full {
  grid-column: 1 / -1;
}

.account-profile-page .field input[readonly] {
  color: #64748b;
  background: #f8fafc;
}

.skill-input-panel {
  display: grid;
  gap: 12px;
}

.skill-input-panel > label {
  color: #0f172a;
  font-weight: 800;
}

.skill-input-panel input[type="text"] {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font: inherit;
}

.skill-pill-row,
.suggestion-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid #bae6fd;
  border-radius: 999px;
  background: #f0f9ff;
  color: #075985;
  font-weight: 800;
  cursor: pointer;
}

.skill-pill.selected {
  background: #0ea5e9;
  color: #fff;
  border-color: #0ea5e9;
}

.skill-pill.suggestion {
  background: #fff;
}

.skill-empty {
  color: #64748b;
  font-weight: 700;
}

.availability-toggle {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.availability-toggle label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  background: #f8fafc;
  font-weight: 800;
  color: #334155;
}

.account-profile-page input[type="range"] {
  width: 100%;
  accent-color: #0ea5e9;
}

.account-profile-page output {
  display: inline-block;
  margin-top: 8px;
  color: #075985;
  font-weight: 800;
}

.internship-list {
  display: grid;
  gap: 10px;
}

.internship-card {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
}

.internship-card strong {
  color: #0f172a;
}

.internship-card span {
  color: #64748b;
}

.internship-card.empty {
  border-style: dashed;
}

.internship-inline-form {
  display: grid;
  gap: 14px;
  padding: 16px;
  border-radius: 12px;
  background: #f8fafc;
}

.profile-save-bar {
  position: sticky;
  bottom: 16px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(14, 165, 233, 0.24);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(12px);
}

.profile-save-bar span {
  color: #475569;
  font-weight: 800;
}

.profile-toast {
  position: sticky;
  top: 16px;
  justify-self: end;
  z-index: 20;
  padding: 13px 16px;
  border-radius: 999px;
  background: #0f172a;
  color: #fff;
  font-weight: 800;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.2);
}

.admin-dashboard-page {
  gap: 18px;
}

.admin-dashboard-topbar,
.admin-dashboard-hero,
.admin-registration-section,
.admin-dashboard-lanes,
.admin-dashboard-tabs {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
}

.admin-dashboard-topbar {
  display: grid;
  grid-template-columns: auto auto minmax(260px, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
}

.admin-dashboard-brand {
  color: #0b1220;
  font-weight: 900;
  text-decoration: none;
}

.admin-dashboard-role-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 11px;
  color: #075985;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 999px;
  white-space: nowrap;
}

.admin-dashboard-search input {
  width: 100%;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
}

.admin-dashboard-user {
  color: #0f172a;
  white-space: nowrap;
}

.admin-dashboard-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  padding: 22px;
}

.admin-dashboard-hero h1 {
  margin: 2px 0 8px;
  color: #0b1220;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.08;
}

.admin-dashboard-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.admin-dashboard-kpis article {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
}

.admin-dashboard-kpis span,
.admin-dashboard-kpis em {
  color: #64748b;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 800;
}

.admin-dashboard-kpis strong {
  color: #0b1220;
  font-size: 1.7rem;
  line-height: 1;
}

.admin-registration-section,
.admin-dashboard-lanes,
.admin-dashboard-tabs {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.admin-section-head,
.admin-dashboard-tabs nav,
.admin-registration-card {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.admin-section-head h2 {
  margin: 0;
  color: #0b1220;
}

.admin-registration-list {
  display: grid;
  gap: 10px;
}

.admin-registration-card {
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
}

.admin-registration-card.empty {
  display: grid;
  justify-content: start;
  color: #64748b;
  border-style: dashed;
}

.admin-registration-card div {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.admin-registration-card strong {
  color: #0f172a;
}

.admin-registration-card span,
.admin-registration-card time {
  color: #64748b;
  font-size: 0.82rem;
}

.admin-dashboard-tabs nav {
  justify-content: flex-start;
  flex-wrap: wrap;
}

.admin-dashboard-tabs nav a {
  padding: 8px 12px;
  color: #075985;
  font-weight: 800;
  text-decoration: none;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 999px;
}

.admin-lane-grid {
  display: grid;
  gap: 10px;
}

.admin-work-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-width: 0;
  padding: 14px 16px;
  color: #0f172a;
  text-decoration: none;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.admin-work-row:hover {
  border-color: rgba(14, 165, 233, 0.45);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.admin-work-row span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #0369a1;
  font-size: 0.78rem;
  font-weight: 900;
  background: #e0f2fe;
  border-radius: 999px;
}

.admin-work-row div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.admin-work-row strong {
  color: #0b1220;
  font-size: 0.98rem;
}

.admin-work-row small {
  color: #64748b;
  font-size: 0.84rem;
  line-height: 1.45;
}

.admin-work-row em {
  color: #0b1220;
  font-style: normal;
  font-size: 1.35rem;
  font-weight: 900;
}

@media (max-width: 1100px) {
  .admin-dashboard-hero,
  .admin-dashboard-kpis {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .admin-dashboard-hero,
  .admin-dashboard-kpis {
    grid-template-columns: 1fr;
  }

  .admin-dashboard-topbar {
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    gap: 8px;
    padding: 10px;
  }

  .admin-dashboard-brand {
    align-self: center;
  }

  .admin-dashboard-role-chip {
    min-height: 32px;
    padding: 0 9px;
    overflow: hidden;
    font-size: 0.72rem;
    text-overflow: ellipsis;
  }

  .admin-dashboard-search {
    grid-column: 1 / -1;
    order: 2;
  }

  .admin-dashboard-search input {
    min-height: 38px;
  }

  .admin-dashboard-topbar .dashboard-bell {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .admin-dashboard-user {
    justify-self: end;
    max-width: 138px;
    min-height: 42px;
    padding: 6px 8px;
  }

  .admin-dashboard-user small {
    display: none;
  }

  .admin-work-row {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .admin-work-row em {
    grid-column: 2;
    font-size: 1.05rem;
  }

  .admin-registration-card {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 980px) {
  .account-profile-shell {
    grid-template-columns: 1fr;
  }

  .profile-step-nav {
    position: static;
    display: flex;
    overflow-x: auto;
  }

  .profile-step-nav a {
    white-space: nowrap;
  }
}

@media (max-width: 680px) {
  .account-profile-page {
    gap: 12px;
  }

  .account-profile-hero,
  .profile-save-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .account-profile-hero {
    gap: 10px;
    padding: 14px;
  }

  .account-profile-hero p:last-child {
    display: none;
  }

  .account-profile-hero .button {
    min-height: 34px;
    padding: 7px 12px;
  }

  .account-profile-shell,
  .account-profile-main,
  .account-profile-form {
    gap: 12px;
  }

  .profile-step-nav {
    display: none;
  }

  .profile-workflow-strip {
    flex-wrap: nowrap;
    align-items: center;
    overflow-x: auto;
    padding: 4px 0 8px;
    scrollbar-width: none;
  }

  .profile-workflow-strip span {
    flex: 0 0 auto;
    width: auto;
    min-height: 28px;
    padding: 5px 8px;
    font-size: 0.74rem;
  }

  .profile-workflow-strip::-webkit-scrollbar {
    display: none;
  }

  .avatar-upload-card {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 10px;
    padding: 12px;
  }

  .avatar-upload-preview .profile-photo-xl {
    width: 64px;
    height: 64px;
  }

  .avatar-dropzone {
    gap: 8px;
    padding: 10px;
  }

  .avatar-dropzone label span,
  .avatar-dropzone small {
    display: none;
  }

  .profile-field-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .profile-field-grid .full {
    grid-column: 1 / -1;
  }

  .profile-form-step {
    gap: 12px;
    padding: 14px;
  }

  .profile-step-heading {
    gap: 10px;
  }

  .profile-step-heading > span {
    flex-basis: 30px;
    width: 30px;
    height: 30px;
  }

  .profile-step-heading h2 {
    font-size: 1.08rem;
  }

  .profile-step-heading p {
    display: none;
  }

  .profile-save-bar .button {
    width: 100%;
  }
}

@media (max-width: 380px) {
  .account-profile-page .profile-field-grid {
    grid-template-columns: 1fr;
  }

  .account-profile-page .profile-field-grid .full {
    grid-column: auto;
  }
}

@media (max-width: 860px) {
  .notification-dropdown {
    right: -92px;
  }

  .notifications-hero {
    display: grid;
    padding: 20px;
  }

  .notification-row {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .notification-row time {
    justify-self: start;
  }
}

/* Premium public landing page */
body {
  font-family: "DM Sans", var(--font-body);
}

.public-header {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  padding: 18px clamp(18px, 5vw, 64px);
  background: #0b1220;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.public-header .brand-word,
.public-header .brand-lockup,
.public-header .public-nav a,
.public-header .public-mobile-menu summary {
  color: #ffffff;
}

.public-header .brand-emblem,
.public-header .brand-emblem img {
  width: 46px;
  height: 46px;
  border-radius: 10px;
}

.public-header .public-header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-left: auto;
}

.public-header .desktop-public-nav {
  display: flex;
  gap: 26px;
  align-items: center;
  margin-right: 6px;
}

.public-header .desktop-public-nav a {
  min-height: auto;
  padding: 0;
  font-size: 15px;
  font-weight: 800;
  background: transparent;
  border: 0;
  opacity: 0.82;
}

.public-header .desktop-public-nav a:hover,
.public-header .desktop-public-nav a:focus-visible,
.public-header .desktop-public-nav a.active {
  color: #7dd3fc;
  opacity: 1;
  outline: none;
}

.public-header .button-secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.public-header .button-primary {
  color: #0b1220;
  background: #ffffff;
  border-color: #ffffff;
  box-shadow: 0 14px 34px rgba(14, 165, 233, 0.18);
}

.public-header .public-mobile-menu {
  color: #ffffff;
}

.public-header .public-mobile-menu summary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.premium-home-hero {
  position: relative;
  isolation: isolate;
  min-height: 680px;
  margin-top: 0;
  padding: clamp(56px, 8vw, 118px) clamp(18px, 5vw, 64px) clamp(54px, 7vw, 92px);
  overflow: hidden;
  color: #ffffff;
  background-color: #0b1220;
  background:
    radial-gradient(circle at 80% 5%, rgba(14, 165, 233, 0.22), transparent 32%),
    radial-gradient(circle at 18% 20%, rgba(34, 197, 94, 0.12), transparent 28%),
    linear-gradient(145deg, #0b1220 0%, #101827 48%, #07111f 100%);
  border-bottom: 0;
}

.premium-home-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 92%);
}

.premium-home-hero .landing-hero-inner {
  gap: clamp(28px, 5vw, 44px);
  width: min(1220px, 100%);
}

.premium-home-hero h1 {
  max-width: 960px;
  color: #ffffff;
  font-size: clamp(40px, 5.6vw, 72px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: 0;
}

.premium-home-hero .landing-lead {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.55;
}

.premium-home-hero .landing-cta-grid {
  gap: 18px;
  margin-top: 8px;
}

.premium-home-hero .landing-cta-card {
  min-height: 286px;
  padding: 26px;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid rgba(125, 211, 252, 0.18);
  border-radius: 24px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.premium-home-hero .landing-cta-card:hover,
.premium-home-hero .landing-cta-card:focus-within {
  background: rgba(15, 23, 42, 0.9);
  border-color: #0ea5e9;
  box-shadow: 0 34px 90px rgba(14, 165, 233, 0.2);
  transform: translateY(-4px) scale(1.015);
}

.premium-home-hero .landing-card-icon {
  width: 58px;
  height: 58px;
  color: #ffffff;
  font-size: 30px;
  background: rgba(14, 165, 233, 0.18);
  border: 1px solid rgba(125, 211, 252, 0.28);
  border-radius: 18px;
}

.premium-home-hero .landing-cta-card h2 {
  color: #ffffff;
  font-size: 24px;
  font-weight: 800;
}

.premium-home-hero .landing-cta-card p {
  color: rgba(255, 255, 255, 0.74);
}

.premium-home-hero .landing-card-button {
  align-self: end;
  width: fit-content;
  color: #0b1220;
  background: #ffffff;
  border-color: #ffffff;
  box-shadow: none;
}

.premium-home-hero .landing-card-button:hover,
.premium-home-hero .landing-card-button:focus-visible {
  color: #0b1220;
  background: #0ea5e9;
  border-color: #0ea5e9;
}

.landing-how {
  gap: 28px;
  width: min(1220px, calc(100% - 36px));
  padding: clamp(56px, 7vw, 92px) 0;
}

.landing-how h2,
.landing-traffic h2 {
  color: #0b1220;
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 900;
  line-height: 1.04;
}

.landing-timeline {
  position: relative;
  gap: 0;
  margin-top: 12px;
}

.landing-timeline::before {
  position: absolute;
  top: 43px;
  left: 11%;
  right: 11%;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, #0ea5e9, #22c55e);
}

.landing-timeline li {
  position: relative;
  z-index: 1;
  padding: 24px 22px;
  background: #ffffff;
  border: 1px solid #e5edf5;
  border-radius: 22px;
  box-shadow: 0 18px 48px rgba(11, 18, 32, 0.08);
}

.landing-step-dot {
  width: 54px;
  height: 54px;
  color: #0b1220;
  background: #ffffff;
  border: 2px solid #0ea5e9;
  box-shadow: 0 10px 30px rgba(14, 165, 233, 0.18);
}

.landing-timeline strong {
  color: #0b1220;
  font-size: 22px;
}

.landing-traffic {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: clamp(54px, 7vw, 90px) clamp(18px, 5vw, 64px);
  background: #f8fafc;
  border-top: 1px solid #e5edf5;
}

.landing-traffic-copy {
  width: min(680px, 100%);
  justify-self: end;
}

.landing-traffic-copy p {
  max-width: 620px;
  color: #475569;
  font-size: 18px;
  line-height: 1.65;
}

.landing-traffic-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: min(520px, 100%);
}

.traffic-badge {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  min-height: 46px;
  padding: 10px 14px;
  color: #0b1220;
  font-weight: 800;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(11, 18, 32, 0.08);
}

.traffic-badge.free {
  border-color: rgba(34, 197, 94, 0.35);
}

.traffic-badge.offer {
  border-color: rgba(14, 165, 233, 0.35);
}

.traffic-badge.reserved {
  border-color: rgba(234, 179, 8, 0.40);
}

.traffic-badge.booked {
  border-color: rgba(239, 68, 68, 0.35);
}

.process-card-list {
  display: grid;
  gap: 16px;
}

.process-next-action-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.92fr) auto;
  gap: 14px;
  align-items: center;
  border: 1px solid rgba(14, 165, 233, 0.14);
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff, #f0f9ff);
  box-shadow: var(--shadow-product-card);
  padding: 14px 16px;
}

.process-next-action-panel > div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.process-next-action-panel > div > span {
  color: #0369a1;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.process-next-action-panel h2 {
  margin: 0;
  color: #0f172a;
  font-size: clamp(1.08rem, 1.45vw, 1.3rem);
  line-height: 1.15;
}

.process-next-action-panel p {
  margin: 0;
  color: #475569;
  font-size: 0.9rem;
  line-height: 1.45;
}

.process-next-action-panel ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(14, 30, 46, 0.08);
  border-radius: 14px;
  background: #ffffff;
  list-style: none;
}

.process-next-action-panel li {
  display: grid;
  gap: 3px;
  min-width: 0;
  border-left: 1px solid rgba(14, 30, 46, 0.08);
  padding: 10px;
  text-align: center;
}

.process-next-action-panel li:first-child {
  border-left: 0;
}

.process-next-action-panel li strong {
  color: #0ea5e9;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.process-next-action-panel li span {
  color: #0f172a;
  font-size: 0.8rem;
  font-weight: 900;
  line-height: 1.2;
}

.process-card-list-header {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.process-card-list-header h2 {
  margin: 0;
  color: var(--color-primary);
  font-size: 1.15rem;
  font-weight: 800;
}

.process-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.process-item-card {
  display: grid;
  gap: 16px;
  padding: 20px;
  background: #ffffff;
  border: 1px solid var(--color-neutral-200);
  border-radius: 14px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.process-item-card:hover {
  border-color: rgba(14, 165, 233, 0.38);
  box-shadow: 0 18px 40px rgba(11, 18, 32, 0.08);
  transform: translateY(-2px);
}

.process-item-card-header {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
}

.process-item-card-header h3 {
  margin: 4px 0 0;
  color: var(--color-primary);
  font-size: 1rem;
  font-weight: 800;
}

.process-item-card-kicker {
  color: var(--color-neutral-600);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.process-item-card-badges,
.process-item-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.process-item-card .description-list {
  margin: 0;
}

.process-item-card-note {
  margin: 0;
  color: var(--color-neutral-600);
  font-size: 0.9rem;
  line-height: 1.55;
}

.public-footer {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  padding: 34px clamp(18px, 5vw, 64px);
  color: rgba(255, 255, 255, 0.78);
  background: #0b1220;
}

.public-footer-grid {
  width: min(1220px, 100%);
  margin: 0 auto;
}

.public-footer h2,
.public-footer .brand-word {
  color: #ffffff;
}

.public-footer p {
  color: rgba(255, 255, 255, 0.78);
}

.public-footer a {
  color: rgba(255, 255, 255, 0.86);
}

.public-footer-bottom {
  width: min(1220px, 100%);
  margin: 22px auto 0;
  padding-top: 18px;
  color: rgba(255, 255, 255, 0.58);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 900px) {
  .public-header {
    display: flex;
    gap: 14px;
  }

  .public-header .public-header-actions {
    display: none;
  }

  .premium-home-hero {
    min-height: auto;
    padding-top: 44px;
  }

  .premium-home-hero .landing-cta-grid,
  .landing-timeline,
  .landing-traffic {
    grid-template-columns: 1fr;
  }

  .landing-timeline {
    gap: 14px;
  }

  .landing-timeline::before {
    display: none;
  }

  .landing-traffic-copy {
    justify-self: start;
  }
}

@media (max-width: 560px) {
  .premium-home-hero h1 {
    font-size: clamp(40px, 12vw, 54px);
  }

  .premium-home-hero .landing-card-button {
    width: 100%;
  }

  .landing-traffic-badges {
    display: grid;
  }
}

@media (min-width: 768px) {
  .public-header .desktop-public-nav,
  .public-header .public-header-actions {
    display: flex;
  }

  .public-header .public-mobile-menu {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .public-header .desktop-public-nav,
  .public-header .public-header-actions {
    display: none;
  }

  .public-header .public-mobile-menu {
    display: block;
    margin-left: auto;
  }
}

/* Endprodukt UX reset: klarer Einstieg, kompakte App, Kernworkflow zuerst */
.shell {
  width: 100%;
  max-width: none;
  padding: 0;
}

.topbar.public-header,
.public-header {
  margin-bottom: 0;
}

.premium-home-hero {
  min-height: auto;
  padding-top: clamp(48px, 6vw, 86px);
  padding-bottom: clamp(42px, 5vw, 70px);
}

.premium-home-hero .landing-hero-inner {
  gap: 30px;
}

.premium-home-hero h1 {
  max-width: 860px;
  font-size: clamp(42px, 5.7vw, 78px);
  line-height: 0.98;
}

.premium-home-hero .landing-lead {
  max-width: 650px;
  font-size: clamp(16px, 1.4vw, 20px);
}

.premium-home-hero .landing-cta-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: min(1080px, 100%);
}

.premium-home-hero .landing-cta-card {
  min-height: 218px;
  padding: 22px;
  border-radius: 20px;
}

.premium-home-hero .landing-card-icon {
  width: 48px;
  height: 48px;
  font-size: 25px;
  border-radius: 15px;
}

.premium-home-hero .landing-cta-card h2 {
  font-size: 21px;
}

.landing-how {
  padding: clamp(42px, 5vw, 70px) 0;
}

.landing-how h2,
.landing-traffic h2 {
  font-size: clamp(30px, 3.3vw, 46px);
}

.landing-timeline li {
  padding: 20px;
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(11, 18, 32, 0.07);
}

.landing-timeline strong {
  font-size: 19px;
}

.landing-traffic {
  padding-top: clamp(42px, 5vw, 68px);
  padding-bottom: clamp(42px, 5vw, 68px);
}

.app-shell:has(.company-dashboard-layout) .workspace-main,
.app-shell:has(.student-dashboard-layout) .workspace-main {
  width: min(100% - 24px, 1640px);
  padding: 12px 0;
}

.company-dashboard-layout {
  grid-template-columns: 206px minmax(0, 1fr) 318px;
  gap: 14px;
  min-height: calc(100vh - 24px);
}

.student-dashboard-layout {
  grid-template-columns: 196px minmax(0, 1fr) 300px;
  gap: 14px;
  min-height: calc(100vh - 24px);
}

.company-dashboard-sidebar,
.student-dashboard-sidebar {
  top: 12px;
  height: calc(100vh - 24px);
  padding: 14px;
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(2, 6, 23, 0.16);
}

.company-dashboard-role {
  gap: 4px;
  padding-bottom: 10px;
}

.company-dashboard-role p,
.company-dashboard-nav small {
  font-size: 0.75rem;
  line-height: 1.3;
}

.company-dashboard-nav a,
.student-dashboard-nav a {
  padding: 9px 10px;
  border-radius: 10px;
}

.company-dashboard-user,
.student-dashboard-user {
  padding: 10px;
  border-radius: 14px;
}

.company-dashboard-main {
  gap: 14px;
  padding: 18px;
  border: 0;
  border-radius: 20px;
  box-shadow: none;
}

.company-dashboard-toolbar {
  align-items: center;
}

.company-dashboard-toolbar h1 {
  max-width: 760px;
  font-size: clamp(1.55rem, 2vw, 2rem);
}

.company-dashboard-toolbar p:last-child {
  max-width: 640px;
  font-size: 0.95rem;
}

.company-search-panel {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  padding: 12px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.company-filter-chips {
  justify-content: flex-end;
}

.company-process-strip {
  display: grid;
  gap: 8px;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
}

.company-process-strip p {
  margin: 0;
  color: #475569;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.45;
}

.company-process-bar {
  padding: 12px 14px;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.company-process-bar li strong {
  font-size: 0.9rem;
}

.company-process-bar li span {
  font-size: 0.75rem;
}

.company-dashboard-work-queue {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  background: linear-gradient(135deg, #0b1220, #12334a);
  border: 0;
  border-radius: 18px;
  box-shadow: 0 16px 38px rgba(11, 18, 32, 0.15);
}

.company-dashboard-work-queue .eyebrow,
.company-dashboard-work-queue h2,
.company-dashboard-work-queue p {
  color: #ffffff;
}

.company-dashboard-work-queue h2 {
  margin: 2px 0 4px;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
}

.company-dashboard-work-queue p {
  margin: 0;
  opacity: 0.78;
}

.company-dashboard-metrics {
  display: flex;
  gap: 8px;
}

.company-dashboard-metrics span {
  min-width: 110px;
  padding: 10px 12px;
  color: #e0f2fe;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 14px;
}

.company-dashboard-metrics strong {
  color: #ffffff;
  font-size: 1.35rem;
}

.company-dashboard-metrics em {
  color: rgba(255, 255, 255, 0.74);
}

.company-card-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.company-student-card {
  position: relative;
  gap: 12px;
  padding: 16px;
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.company-student-card-head {
  display: block;
}

.company-student-card-head .traffic-dot-visual {
  position: absolute;
  top: 16px;
  right: 16px;
}

.company-student-card h2 {
  font-size: 1.08rem;
  overflow-wrap: anywhere;
}

.traffic-dot-visual {
  display: inline-grid;
  width: 22px;
  height: 22px;
  place-items: center;
  background: #ffffff;
  border-radius: 999px;
  box-shadow: 0 0 0 5px rgba(15, 23, 42, 0.04);
}

.traffic-dot-visual > span {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 999px;
}

.traffic-dot-visual.success > span,
.traffic-dot-visual.traffic-free > span {
  background: #22c55e;
}

.traffic-dot-visual.info > span,
.traffic-dot-visual.traffic-offer > span {
  background: #86efac;
}

.traffic-dot-visual.warning > span,
.traffic-dot-visual.traffic-reserved > span {
  background: #eab308;
}

.traffic-dot-visual.danger > span,
.traffic-dot-visual.traffic-booked > span {
  background: #ef4444;
}

.company-dashboard-chat {
  top: 12px;
  height: calc(100vh - 24px);
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
}

.chat-conversation-card,
.chat-message,
.chat-compose {
  border-radius: 14px;
}

.student-search-heading {
  align-items: center;
  padding: 4px 0 8px;
}

.student-search-heading h1 {
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.02;
}

.student-search-heading .lead {
  max-width: 720px;
  font-size: 1rem;
}

.student-search-layout {
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 22px;
}

.student-filter-sidebar {
  top: 76px;
  padding-right: 18px;
}

.student-results-toolbar {
  padding-bottom: 14px;
}

.student-results-toolbar h2 {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
}

.student-privacy-note {
  max-width: 260px;
  font-weight: 700;
}

.student-card-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.student-search-card {
  min-height: 286px;
  padding: 16px;
  border-radius: 22px;
  box-shadow: 0 12px 30px rgba(14, 30, 46, 0.06);
}

.student-search-card:hover,
.student-search-card:focus-within {
  transform: translateY(-2px);
}

.student-card-header {
  padding-right: 92px;
}

.student-search-card .student-card-header h2 {
  max-width: 100%;
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  line-height: 1.16;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.student-search-card .student-card-header p {
  font-size: 0.95rem;
}

img.student-avatar,
.student-avatar.profile-photo-fallback {
  display: inline-grid;
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 999px;
}

img.student-avatar {
  display: block;
}

.student-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.student-card-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  color: #334155;
  font-size: 0.82rem;
  font-weight: 800;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
}

.student-search-card .student-card-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  margin-top: 0;
}

.student-search-card .student-card-actions form {
  margin: 0;
}

.student-profile-link {
  display: inline-flex;
  justify-content: center;
  padding: 11px 12px;
  color: #0369a1;
  font-weight: 800;
  text-decoration: none;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 14px;
}

.student-dashboard-main {
  gap: 14px;
}

.student-ampel-topbar,
.student-dashboard-heading,
.student-dashboard-context,
.student-dashboard-column,
.student-work-card {
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.055);
}

.student-ampel-topbar {
  padding: 18px;
}

.student-ampel-icon {
  width: 54px;
  height: 54px;
  font-size: 1.45rem;
}

.student-ampel-status h1 {
  font-size: clamp(1.55rem, 3vw, 2.5rem);
  line-height: 1.08;
}

.student-next-decision-label {
  margin-top: 8px;
  font-weight: 800;
}

.student-dashboard-heading {
  padding: 15px 16px;
}

.student-dashboard-heading h2 {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.student-dashboard-columns {
  gap: 12px;
}

.student-dashboard-column {
  padding: 14px;
}

.student-dashboard-context {
  grid-template-columns: minmax(0, 1fr);
  padding: 14px 16px;
}

.student-dashboard-context .privacy-notice {
  padding: 12px;
  border-radius: 14px;
}

.auth-combo-shell {
  min-height: auto;
  padding: clamp(28px, 4vw, 52px) 18px;
}

.auth-combo-card.auth-split-card {
  grid-template-columns: minmax(260px, 0.88fr) minmax(320px, 1fr);
  gap: 0;
  width: min(920px, 100%);
  padding: 0;
  overflow: hidden;
}

.auth-brand-panel {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: clamp(26px, 4vw, 46px);
  color: #ffffff;
  background-color: #0b1220;
  background:
    radial-gradient(circle at 20% 10%, rgba(14, 165, 233, 0.22), transparent 32%),
    linear-gradient(145deg, #0b1220, #101827);
}

.auth-brand-panel .auth-logo {
  justify-self: start;
  color: #ffffff;
}

.auth-brand-panel h1 {
  max-width: 360px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.08;
}

.auth-brand-panel ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.82);
}

.auth-brand-panel li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.auth-proof-mark {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.18);
  border: 1px solid rgba(14, 165, 233, 0.42);
  position: relative;
}

.auth-proof-mark::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 3px;
  width: 5px;
  height: 9px;
  border: solid #7dd3fc;
  border-width: 0 2px 2px 0;
  transform: rotate(42deg);
}

.auth-form-panel {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: clamp(26px, 4vw, 46px);
}

.auth-panel h1 {
  font-size: 1.85rem;
  text-align: left;
}

@media (max-width: 1180px) {
  .company-dashboard-layout,
  .student-dashboard-layout {
    grid-template-columns: 190px minmax(0, 1fr);
  }

  .company-dashboard-chat {
    grid-column: 1 / -1;
    position: static;
    height: auto;
  }
}

@media (min-width: 1021px) and (max-width: 1180px) {
  .company-dashboard-layout {
    grid-template-columns: 180px minmax(0, 1fr) 270px;
  }

  .student-dashboard-layout {
    grid-template-columns: 176px minmax(0, 1fr) 260px;
  }

  .company-dashboard-chat {
    grid-column: auto;
    position: sticky;
    top: 12px;
    height: calc(100vh - 24px);
  }

  .company-dashboard-toolbar h1 {
    font-size: 1.5rem;
  }

  .company-search-panel {
    grid-template-columns: 1fr;
  }

  .company-filter-chips {
    justify-content: flex-start;
  }

  .company-process-strip {
    overflow: visible;
  }

  .company-process-bar {
    min-width: 0;
    overflow: visible;
  }

  .company-process-bar li {
    min-height: 64px;
    padding: 10px;
  }

  .company-process-bar li strong {
    font-size: 0.82rem;
  }

  .company-process-bar li span {
    font-size: 0.68rem;
  }

  .company-dashboard-work-queue {
    grid-template-columns: 1fr;
  }

  .company-dashboard-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .company-dashboard-metrics span {
    min-width: 0;
  }

  .company-dashboard-nav small,
  .company-dashboard-role p {
    display: none;
  }
}

@media (max-width: 900px) {
  .premium-home-hero .landing-cta-grid {
    grid-template-columns: 1fr;
  }

  .company-dashboard-layout,
  .student-dashboard-layout {
    grid-template-columns: 1fr;
  }

  .company-dashboard-sidebar,
  .student-dashboard-sidebar {
    position: static;
    height: auto;
  }

  .company-dashboard-nav,
  .student-dashboard-nav {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }

  .company-dashboard-work-queue,
  .company-search-panel,
  .student-dashboard-columns,
  .student-search-layout {
    grid-template-columns: 1fr;
  }

  .company-dashboard-metrics,
  .company-filter-chips {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .student-filter-sidebar {
    position: static;
    padding: 14px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
  }

  .auth-combo-card.auth-split-card {
    grid-template-columns: 1fr;
    width: min(520px, 100%);
  }

  .auth-brand-panel {
    align-content: start;
    padding: 24px;
  }

  .auth-brand-panel h1 {
    font-size: 1.65rem;
  }

  .auth-brand-panel ul {
    display: none;
  }

  .student-results-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .student-privacy-note {
    max-width: none;
    text-align: left;
  }
}

@media (max-width: 560px) {
  .premium-home-hero h1 {
    font-size: clamp(34px, 10vw, 46px);
  }

  .company-dashboard-toolbar,
  .student-ampel-topbar,
  .student-dashboard-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .company-dashboard-metrics,
  .student-status-actions,
  .student-dashboard-tools {
    justify-content: flex-start;
  }

  .student-search-card .student-card-actions {
    grid-template-columns: 1fr;
  }

  .student-profile-link {
    width: 100%;
  }
}

/* Endprodukt Verdichtung: Prozess fÃ¼hrt, erdrÃ¼ckt aber nicht */
.process-timeline {
  gap: 8px;
  margin: 14px 0 10px;
}

.process-timeline li,
.process-timeline .timeline-step {
  min-height: 0;
  padding: 12px 12px;
  border-radius: 16px;
}

.process-timeline strong {
  font-size: 0.9rem;
  line-height: 1.2;
}

.process-timeline p {
  margin-top: 4px;
  font-size: 0.78rem;
  line-height: 1.35;
}

.process-guard.process-guard-compact {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
  padding: 12px;
  border: 1px solid rgba(14, 165, 233, 0.16);
  border-radius: 16px;
  background: rgba(14, 165, 233, 0.055);
  color: #334155;
}

.process-guard.process-guard-compact strong {
  color: #0369a1;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.process-guard.process-guard-compact ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.process-guard.process-guard-compact li {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid rgba(14, 165, 233, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  line-height: 1.35;
  color: #334155;
}

.student-detail-page .process-timeline {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  min-width: 0;
  overflow: visible;
}

.student-detail-page .process-timeline .badge {
  padding: 3px 8px;
  font-size: 0.68rem;
}

.student-detail-page .student-profile-section {
  padding: 20px;
}

.student-detail-page .student-profile-main {
  gap: 14px;
}

@media (max-width: 1180px) {
  .student-detail-page .process-timeline {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    overflow: visible;
  }

  .student-detail-page .process-timeline li,
  .student-detail-page .process-timeline .timeline-step {
    min-width: 0;
    padding: 10px 8px;
  }

  .student-detail-page .process-timeline strong {
    font-size: 0.82rem;
  }

  .student-detail-page .process-timeline p {
    font-size: 0.72rem;
  }
}

@media (max-width: 760px) {
  .process-guard.process-guard-compact {
    padding: 10px;
  }

  .process-guard.process-guard-compact ul {
    display: grid;
    gap: 6px;
  }

  .process-guard.process-guard-compact li {
    justify-content: flex-start;
    width: 100%;
    border-radius: 12px;
    font-size: 0.76rem;
  }

  .student-detail-page .process-timeline {
    grid-template-columns: repeat(5, minmax(132px, 1fr));
  }
}

/* Logo ohne zusÃ¤tzlichen UI-Rahmen */
.brand-emblem {
  padding: 0;
  overflow: hidden;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.brand-emblem img {
  display: block;
  object-fit: cover;
}

@media (max-width: 860px) {
  .topbar.public-header,
  .public-header {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 68px;
    padding: 10px 14px;
  }

  .public-header .brand-lockup {
    flex: 1 1 auto;
    justify-content: flex-start;
    margin: 0;
    min-width: 0;
  }

  .public-header .brand-emblem,
  .public-header .brand-emblem img {
    width: 42px;
    height: 42px;
  }

  .public-header .brand-word {
    font-size: 1rem;
    white-space: nowrap;
  }

  .public-mobile-menu {
    flex: 0 0 auto;
    margin-left: auto;
  }

  .public-mobile-menu summary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 9px 12px;
  }
}

/* Dashboard-Vorgangskarten: keine Ãœberlappung, klare Aktion */
.company-card-grid {
  align-items: stretch;
}

.company-student-card.workflow-card {
  display: flex;
  flex-direction: column;
  min-height: 318px;
  overflow: hidden;
}

.company-student-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.company-student-card-head .traffic-dot-visual {
  position: static;
  flex: 0 0 auto;
}

.company-student-card h2 {
  padding-right: 0;
  font-size: 1rem;
  line-height: 1.28;
  overflow-wrap: break-word;
  word-break: normal;
}

.company-student-card .badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.company-student-card .student-line {
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 6px 10px;
}

.company-student-card .student-line strong,
.company-student-card .student-line span {
  white-space: normal;
}

.company-student-card > .button {
  align-self: flex-start;
  margin-top: auto;
}

.company-dashboard-brand .brand-emblem,
.company-dashboard-brand .brand-emblem img,
.student-dashboard-brand .brand-emblem,
.student-dashboard-brand .brand-emblem img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.student-dashboard-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.company-discovery-main .student-search-page {
  gap: 16px;
}

.company-discovery-main .student-search-heading {
  align-items: center;
  padding: 0;
}

.company-discovery-main .student-search-heading h1 {
  max-width: 760px;
  font-size: clamp(1.65rem, 2.4vw, 2.25rem);
}

.company-discovery-main .student-search-heading .lead {
  max-width: 760px;
}

.company-discovery-main .student-search-layout {
  grid-template-columns: minmax(190px, 220px) minmax(0, 1fr);
  gap: 16px;
}

.company-discovery-main .student-filter-sidebar {
  top: 12px;
  padding: 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
}

.student-filter-details > summary {
  display: none;
}

.student-filter-details:not([open]) > .student-filter-body {
  display: grid;
}

.student-filter-body {
  display: grid;
  gap: 10px;
}

.company-discovery-main .student-card-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* Mobile App: Navigation bleibt sichtbar, aber der Inhalt beginnt sofort. */
@media (max-width: 760px) {
  .app-shell:has(.company-dashboard-layout) .workspace-main,
  .app-shell:has(.student-dashboard-layout) .workspace-main {
    width: 100%;
    padding: 8px 10px;
  }

  .company-dashboard-layout,
  .student-dashboard-layout {
    gap: 10px;
  }

  .company-dashboard-sidebar,
  .student-dashboard-sidebar {
    display: grid;
    gap: 8px;
    padding: 12px;
    border-radius: 18px;
    min-height: 0;
  }

  .company-dashboard-sidebar .brand,
  .student-dashboard-brand {
    min-height: 32px;
  }

  .company-dashboard-nav,
  .student-dashboard-nav {
    display: flex;
    grid-template-columns: none;
    gap: 8px;
    margin: 0;
    overflow-x: auto;
    padding: 0 0 2px;
    scrollbar-width: none;
  }

  .company-dashboard-nav::-webkit-scrollbar,
  .student-dashboard-nav::-webkit-scrollbar {
    display: none;
  }

  .company-dashboard-nav a,
  .student-dashboard-nav a {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 10px 12px;
    white-space: nowrap;
  }

  .company-dashboard-toolbar h1 {
    font-size: clamp(1.5rem, 7vw, 1.9rem);
    line-height: 1.08;
  }

  .company-dashboard-toolbar p:last-child {
    display: none;
  }

  .company-dashboard-toolbar .notification-bell {
    align-self: start;
  }

  .company-search-form {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
  }

  .company-search-form input {
    min-height: 44px;
  }

  .company-search-panel {
    gap: 10px;
    padding: 12px;
  }

  .company-process-strip {
    gap: 10px;
    padding: 12px;
    overflow: hidden;
  }

  .company-process-bar.process-timeline {
    display: flex;
    grid-template-columns: none;
    gap: 8px;
    margin: 0;
    overflow-x: auto;
    padding: 0 0 2px;
    scrollbar-width: none;
  }

  .company-process-bar.process-timeline::-webkit-scrollbar {
    display: none;
  }

  .company-process-bar.process-timeline li {
    flex: 0 0 132px;
    min-height: 78px;
    padding: 10px;
  }

  .company-process-bar.process-timeline li i {
    display: none;
  }

  .company-process-strip p {
    display: none;
  }

  .company-dashboard-nav small,
  .company-dashboard-role p {
    display: none;
  }

  .company-dashboard-role,
  .student-dashboard-user {
    align-items: center;
    display: flex;
    gap: 10px;
    min-height: 42px;
    padding: 8px 10px;
  }

  .company-dashboard-role .company-avatar,
  .student-dashboard-user .avatar {
    flex: 0 0 34px;
    height: 34px;
    width: 34px;
  }

  .company-dashboard-role strong,
  .student-dashboard-user strong {
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .company-dashboard-role span,
  .student-dashboard-user span {
    font-size: 0.75rem;
  }

  .student-ampel-topbar {
    gap: 10px;
    padding: 12px;
  }

  .student-ampel-icon,
  .student-ampel-circle {
    height: 42px;
    width: 42px;
  }

  .student-ampel-status h1 {
    font-size: clamp(1.18rem, 6vw, 1.55rem);
    line-height: 1.06;
    margin-bottom: 3px;
  }

  .student-ampel-status p {
    font-size: 0.82rem;
    line-height: 1.35;
  }

  .student-next-decision-label {
    margin-top: 2px;
  }

  .student-status-actions {
    gap: 6px;
  }

  .student-status-actions .button {
    min-height: 38px;
    padding: 8px 11px;
  }

  .student-dashboard-heading {
    align-items: flex-start;
    padding: 12px;
  }

  .student-dashboard-heading h2 {
    font-size: 1rem;
  }

  .student-dashboard-tools .button {
    display: none;
  }

  .student-priority-strip {
    display: flex;
    grid-template-columns: none;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .student-priority-strip::-webkit-scrollbar {
    display: none;
  }

  .student-priority-strip article {
    flex: 0 0 238px;
    gap: 8px;
    padding: 9px;
    border-radius: 12px;
    box-shadow: none;
  }

  .student-priority-strip article:last-child {
    grid-column: auto;
  }

  .student-priority-strip strong {
    margin-bottom: 2px;
    font-size: 0.82rem;
    line-height: 1.15;
  }

  .student-priority-strip p {
    font-size: 0.72rem;
    line-height: 1.25;
  }

  .student-priority-number,
  .student-priority-lock {
    min-width: 30px;
    height: 24px;
    padding: 0 7px;
    font-size: 0.66rem;
  }

  .student-dashboard-columns {
    gap: 10px;
  }

  .student-dashboard-column {
    padding: 12px;
    border-radius: 14px;
  }

  .student-dashboard-column > header {
    padding-bottom: 8px;
  }

  .student-dashboard-column h2 {
    font-size: 1rem;
  }

  .student-dashboard-layout .company-dashboard-chat {
    min-height: 360px;
  }

  .company-discovery-main .student-search-heading h1 {
    font-size: clamp(1.55rem, 7vw, 1.95rem);
  }

  .company-discovery-main .student-search-heading .lead {
    display: none;
  }

  .company-discovery-main .student-search-layout {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .company-discovery-main .student-filter-sidebar {
    position: static;
    padding: 12px;
  }

  .student-filter-details > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
    padding: 10px 12px;
    color: #0f172a;
    font-weight: 900;
    cursor: pointer;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
  }

  .student-filter-details > summary::after {
    content: "+";
    color: #0ea5e9;
    font-size: 1.15rem;
    line-height: 1;
  }

  .student-filter-details[open] > summary::after {
    content: "-";
  }

  .student-filter-details:not([open]) > .student-filter-body {
    display: none;
  }

  .student-filter-details[open] > .student-filter-body {
    display: grid;
    gap: 12px;
    padding-top: 12px;
  }

  .company-discovery-main .student-filter-sidebar form {
    gap: 12px;
  }

  .company-discovery-main .student-filter-group {
    gap: 8px;
    margin: 0;
    padding: 0 0 10px;
  }

  .company-discovery-main .student-filter-list {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .company-discovery-main .student-filter-list::-webkit-scrollbar {
    display: none;
  }

  .company-discovery-main .student-filter-check {
    flex: 0 0 auto;
    min-height: 36px;
    padding: 7px 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    white-space: nowrap;
  }

  .company-discovery-main .student-filter-check input {
    flex-basis: 16px;
    width: 16px;
    height: 16px;
  }

  .company-discovery-main .student-sort-select {
    min-height: 40px;
  }

  .company-discovery-main .student-filter-actions {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .company-discovery-main .student-card-grid {
    grid-template-columns: 1fr;
  }
}

/* Endprodukt Regel: Public Mobile Navigation ist geschlossen, kompakt und eindeutig. */
@media (min-width: 768px) {
  .public-mobile-menu,
  .public-mobile-menu .public-mobile-drawer {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .public-mobile-menu {
    position: static;
  }

  .public-mobile-menu:not([open]) .public-mobile-drawer {
    display: none;
  }

  .public-mobile-menu[open] .public-mobile-drawer {
    position: absolute;
    top: 76px;
    right: 14px;
    left: 14px;
    z-index: 1000;
    display: grid;
    width: auto;
    max-width: none;
    gap: 14px;
    padding: 18px;
    color: #ffffff;
    background: rgba(11, 18, 32, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
  }

  .public-mobile-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .public-mobile-close {
    width: 38px;
    height: 38px;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 900;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
  }

  .public-mobile-menu .public-nav,
  .public-mobile-actions {
    display: grid;
    gap: 8px;
  }

  .public-mobile-menu .public-nav a {
    min-height: 42px;
    padding: 10px 12px;
    color: rgba(255, 255, 255, 0.86);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
  }

  .public-mobile-menu .public-nav a.active,
  .public-mobile-menu .public-nav a:hover,
  .public-mobile-menu .public-nav a:focus-visible {
    color: #ffffff;
    background: rgba(14, 165, 233, 0.22);
    border-color: rgba(125, 211, 252, 0.32);
  }

  .mobile-section-label {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
}

/* Endprodukt Regel: Mobile Landing zeigt Rolle und Einstieg schnell, ohne Kartenwand. */
@media (max-width: 560px) {
  .premium-home-hero {
    padding: 34px 12px 34px;
  }

  .premium-home-hero .landing-hero-inner {
    gap: 22px;
  }

  .premium-home-hero h1 {
    font-size: clamp(2rem, 9.6vw, 2.7rem);
    line-height: 1.03;
  }

  .premium-home-hero .landing-lead {
    font-size: 0.96rem;
    line-height: 1.55;
  }

  .premium-home-hero .landing-cta-grid {
    gap: 10px;
  }

  .premium-home-hero .landing-cta-card {
    grid-template-columns: 44px minmax(0, 1fr);
    min-height: auto;
    gap: 8px 12px;
    align-items: center;
    padding: 14px;
    border-radius: 18px;
  }

  .premium-home-hero .landing-card-icon {
    grid-row: 1 / 3;
    width: 44px;
    height: 44px;
    font-size: 1.35rem;
    border-radius: 14px;
  }

  .premium-home-hero .landing-cta-card h2 {
    font-size: 1.05rem;
    line-height: 1.2;
  }

  .premium-home-hero .landing-cta-card p {
    font-size: 0.88rem;
    line-height: 1.35;
  }

  .premium-home-hero .landing-card-button {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 40px;
    margin-top: 4px;
    padding: 8px 14px;
    font-size: 0.9rem;
  }
}

/* Endprodukt Regel: Mobile App startet mit Arbeit, nicht mit schwerem Kopfbereich. */
@media (max-width: 760px) {
  .company-dashboard-sidebar,
  .student-dashboard-sidebar {
    gap: 8px;
    padding: 10px;
    border-radius: 14px;
  }

  .company-dashboard-user,
  .student-dashboard-user {
    display: none;
  }

  .company-dashboard-brand,
  .student-dashboard-brand {
    min-height: 30px;
  }

  .company-dashboard-brand .brand-emblem,
  .company-dashboard-brand .brand-emblem img,
  .student-dashboard-brand .brand-emblem,
  .student-dashboard-brand .brand-emblem img {
    width: 32px;
    height: 32px;
  }

  .company-dashboard-role {
    min-height: 30px;
    padding: 0 2px;
  }

  .company-dashboard-nav a,
  .student-dashboard-nav a {
    min-height: 34px;
    padding: 8px 10px;
    font-size: 0.85rem;
    border-radius: 11px;
  }

  .company-dashboard-main {
    gap: 10px;
    padding: 10px;
  }

  .company-dashboard-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: start;
  }

  .company-dashboard-toolbar .eyebrow {
    margin: 0 0 4px;
    font-size: 0.7rem;
  }

  .company-dashboard-toolbar h1 {
    margin: 0;
    font-size: clamp(1.18rem, 5.8vw, 1.55rem);
    line-height: 1.08;
  }

  .company-dashboard-toolbar .notification-bell {
    transform: scale(0.9);
    transform-origin: top right;
  }

  .company-search-panel {
    gap: 8px;
    padding: 10px;
    border-radius: 16px;
  }

  .company-search-form input,
  .company-search-form .button,
  .company-search-form button {
    min-height: 40px;
  }

  .company-filter-chips {
    gap: 6px;
  }

  .company-filter-chips a {
    min-height: 34px;
    padding: 7px 10px;
    font-size: 0.82rem;
  }

  .company-process-strip {
    gap: 8px;
    padding: 10px;
    border-radius: 16px;
  }

  .company-process-bar.process-timeline li {
    flex-basis: 108px;
    min-height: 58px;
    padding: 8px;
  }

  .company-process-bar li strong {
    font-size: 0.78rem;
  }

  .company-process-bar li span {
    font-size: 0.68rem;
  }

  .company-dashboard-work-queue {
    gap: 8px;
    padding: 14px;
    border-radius: 16px;
  }

  .company-dashboard-work-queue h2 {
    font-size: 1.12rem;
  }

  .company-dashboard-work-queue p {
    display: none;
  }

  .company-dashboard-metrics {
    gap: 6px;
  }

  .company-dashboard-metrics span {
    min-height: 54px;
    padding: 8px 10px;
  }
}

/* Endprodukt Regel: keine doppelte App-Navigation im Inhaltsbereich. */
.app-shell .workspace-main > .section-stack > .subnav {
  display: none;
}

/* Endprodukt Workflow-Details: Kopf, Prozess, Status und Entscheidung wirken wie ein Produktfluss. */
.order-workflow,
.reservation-workflow,
.booking-workflow {
  gap: 18px;
}

.order-workflow > .detail-header,
.reservation-workflow > .detail-header,
.booking-workflow > .detail-header {
  align-items: center;
  padding: clamp(18px, 2.4vw, 30px);
  background:
    linear-gradient(135deg, rgba(14, 165, 233, 0.10), rgba(255, 255, 255, 0) 42%),
    #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 22px;
  box-shadow: 0 18px 42px rgba(11, 18, 32, 0.06);
}

.reservation-workflow > .detail-header {
  background:
    linear-gradient(135deg, rgba(234, 179, 8, 0.12), rgba(255, 255, 255, 0) 42%),
    #ffffff;
}

.booking-workflow > .detail-header {
  background:
    linear-gradient(135deg, rgba(239, 68, 68, 0.10), rgba(255, 255, 255, 0) 42%),
    #ffffff;
}

.order-workflow > .detail-header h1,
.reservation-workflow > .detail-header h1,
.booking-workflow > .detail-header h1 {
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  letter-spacing: -0.02em;
}

.order-workflow > .process-timeline,
.reservation-workflow > .process-timeline,
.booking-workflow > .process-timeline {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  padding: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
}

.order-workflow > .process-timeline li,
.reservation-workflow > .process-timeline li,
.booking-workflow > .process-timeline li {
  gap: 5px;
  min-height: 86px;
  padding: 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
}

.order-workflow > .process-timeline li:first-child,
.reservation-workflow > .process-timeline li:first-child,
.booking-workflow > .process-timeline li:first-child {
  padding-top: 12px;
}

.order-workflow > .process-timeline li strong,
.reservation-workflow > .process-timeline li strong,
.booking-workflow > .process-timeline li strong {
  font-size: 0.94rem;
}

.order-workflow > .process-timeline li p,
.reservation-workflow > .process-timeline li p,
.booking-workflow > .process-timeline li p {
  font-size: 0.78rem;
  line-height: 1.35;
}

.order-workflow .process-guard,
.reservation-workflow .process-guard,
.booking-workflow .process-guard {
  padding: 12px 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
}

.order-workflow .status-strip,
.reservation-workflow .status-strip,
.booking-workflow .status-strip {
  align-items: center;
  padding: 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(11, 18, 32, 0.04);
}

.order-detail-grid,
.reservation-detail-grid,
.booking-detail-grid {
  gap: 16px;
}

.order-detail-grid .data-panel,
.reservation-detail-grid .data-panel,
.booking-detail-grid .data-panel {
  gap: 14px;
  padding: 18px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(11, 18, 32, 0.05);
}

.order-detail-grid .data-panel h2,
.reservation-detail-grid .data-panel h2,
.booking-detail-grid .data-panel h2 {
  color: #0b1220;
  font-size: 1rem;
  font-weight: 800;
}

.order-detail-grid .description-list,
.reservation-detail-grid .description-list,
.booking-detail-grid .description-list {
  gap: 0;
}

.order-detail-grid .description-list div,
.reservation-detail-grid .description-list div,
.booking-detail-grid .description-list div {
  grid-template-columns: minmax(132px, 0.34fr) minmax(0, 1fr);
  gap: 14px;
  padding: 10px 0;
  border-top: 1px solid #f1f5f9;
}

.order-detail-grid .description-list div:first-child,
.reservation-detail-grid .description-list div:first-child,
.booking-detail-grid .description-list div:first-child {
  border-top: 0;
  padding-top: 0;
}

.order-workflow > .action-bar,
.reservation-workflow > .action-bar,
.booking-workflow > .action-bar {
  justify-content: space-between;
  padding: 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  box-shadow: 0 16px 36px rgba(11, 18, 32, 0.06);
}

.order-workflow > .action-bar form,
.reservation-workflow > .action-bar form,
.booking-workflow > .action-bar form {
  margin: 0;
}

@media (max-width: 900px) {
  .order-workflow > .process-timeline,
  .reservation-workflow > .process-timeline,
  .booking-workflow > .process-timeline {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 8px;
    scroll-snap-type: x proximity;
  }

  .order-workflow > .process-timeline li,
  .reservation-workflow > .process-timeline li,
  .booking-workflow > .process-timeline li {
    flex: 0 0 140px;
    min-height: 76px;
    padding: 10px;
    scroll-snap-align: start;
  }

  .order-workflow > .detail-header,
  .reservation-workflow > .detail-header,
  .booking-workflow > .detail-header {
    grid-template-columns: 1fr;
    align-items: start;
    padding: 16px;
    border-radius: 18px;
  }

  .order-detail-grid .description-list div,
  .reservation-detail-grid .description-list div,
  .booking-detail-grid .description-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .order-workflow > .action-bar,
  .reservation-workflow > .action-bar,
  .booking-workflow > .action-bar {
    align-items: stretch;
  }

  .order-workflow > .action-bar .button,
  .reservation-workflow > .action-bar .button,
  .booking-workflow > .action-bar .button,
  .order-workflow > .action-bar button,
  .reservation-workflow > .action-bar button,
  .booking-workflow > .action-bar button {
    width: 100%;
  }
}

/* Endprodukt Regel: Public Einstieg darf mobil nie rechts abgeschnitten werden. */
html,
body,
.shell {
  max-width: 100%;
}

body {
  overflow-x: clip;
}

.topbar.public-header,
.public-header,
.premium-home-hero,
.premium-home-hero *,
.landing-how,
.landing-traffic,
.public-footer {
  box-sizing: border-box;
}

.premium-home-hero .landing-hero-inner,
.premium-home-hero .landing-cta-grid,
.premium-home-hero .landing-cta-card,
.premium-home-hero .landing-cta-card h2,
.premium-home-hero .landing-cta-card p,
.premium-home-hero .landing-card-button {
  min-width: 0;
  max-width: 100%;
}

.premium-home-hero h1,
.premium-home-hero .landing-lead,
.premium-home-hero .landing-cta-card h2,
.premium-home-hero .landing-cta-card p {
  overflow-wrap: anywhere;
}

@media (max-width: 767.98px) {
  .topbar.public-header,
  .public-header {
    display: flex;
    width: 100%;
    max-width: 100%;
    min-height: 64px;
    margin-left: 0;
    padding: 10px 14px;
    overflow: visible;
  }

  .public-header .brand,
  .public-header .brand-lockup {
    min-width: 0;
    max-width: calc(100vw - 82px);
  }

  .public-header .brand-word {
    font-size: 1rem;
    white-space: nowrap;
  }

  .public-header .public-mobile-menu {
    flex: 0 0 auto;
    margin-left: auto;
  }

  .public-header .public-mobile-menu summary {
    display: inline-grid;
    place-items: center;
    width: 42px;
    min-width: 42px;
    height: 42px;
    padding: 0;
  }

  .public-header .public-mobile-menu summary strong {
    display: none;
  }

  .premium-home-hero {
    width: 100%;
    max-width: 100%;
    min-height: auto;
    padding-right: 14px;
    padding-left: 14px;
    overflow-x: clip;
  }

  .premium-home-hero .landing-hero-inner {
    width: 100%;
  }

  .premium-home-hero .landing-cta-grid {
    display: grid;
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  .premium-home-hero {
    padding: 32px 14px 34px;
  }

  .premium-home-hero h1 {
    font-size: 2.25rem;
    line-height: 1.06;
  }

  .premium-home-hero .landing-lead {
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .premium-home-hero .landing-cta-card {
    width: 100%;
    padding: 14px;
  }
}

@media (max-width: 380px) {
  .premium-home-hero h1 {
    font-size: 2rem;
  }
}

@media (max-width: 430px) {
  .app-shell:has(.company-dashboard-layout) .workspace-main,
  .app-shell:has(.student-dashboard-layout) .workspace-main {
    width: min(100% - 16px, 100%);
    padding: 8px 0;
  }

  .company-dashboard-layout,
  .student-dashboard-layout {
    gap: 10px;
  }

  .company-dashboard-sidebar,
  .student-dashboard-sidebar {
    padding: 12px;
    border-radius: 16px;
  }

  .company-dashboard-role,
  .student-dashboard-role {
    gap: 8px;
  }

  .company-dashboard-nav,
  .student-dashboard-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .company-dashboard-nav a,
  .student-dashboard-nav a,
  .dashboard-mobile-more summary,
  .dashboard-mobile-more a {
    min-height: 36px;
    padding: 7px 8px;
    font-size: 0.76rem;
  }

  .company-dashboard-toolbar,
  .student-dashboard-toolbar,
  .student-ampel-topbar {
    padding: 14px;
    border-radius: 16px;
  }

  .company-dashboard-toolbar h1,
  .student-dashboard-toolbar h1,
  .student-ampel-topbar h1 {
    font-size: 1.4rem;
    line-height: 1.12;
  }

  .company-dashboard-layout > .company-dashboard-chat {
    height: 280px;
    min-height: 280px;
  }

  .student-dashboard-layout > .company-dashboard-chat,
  .student-dashboard-layout .company-dashboard-chat {
    height: 320px;
    min-height: 320px;
  }

  .company-dashboard-chat header,
  .chat-active-head {
    gap: 6px;
  }

  .company-dashboard-chat .chat-message-list {
    max-height: 145px;
  }

  .offer-negotiation-heading h1 {
    font-size: 1.35rem;
  }

  .offer-focus-band {
    display: none;
  }

  .offer-mobile-tabs {
    top: 58px;
    border-radius: 14px;
    padding: 6px;
  }

  .offer-mobile-tabs a {
    min-height: 36px;
    padding: 8px 10px;
    font-size: 0.82rem;
  }

  .offer-form-panel,
  .offer-chat-panel,
  .guided-profile-form,
  .form-advanced-group,
  .compact-form-grid,
  .form-grid {
    border-radius: 14px;
  }

  .offer-form-panel,
  .offer-chat-panel {
    padding: 12px;
  }

  .offer-panel-head h2 {
    font-size: 1.08rem;
  }

  .offer-status-bar li {
    flex-basis: 104px;
    font-size: 0.7rem;
  }

  .form-advanced-group .compact-form-grid,
  .compact-form-grid,
  .form-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .button,
  .offer-form-actions .button,
  .student-offer-choice-row .button {
    min-height: 44px;
  }
}

/* Endprodukt Regel: Studentensuche zeigt hochwertige Profilkarten statt gequetschter Mini-Karten. */
.company-discovery-main .student-card-grid {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.company-discovery-main .student-search-card {
  align-content: start;
  min-height: auto;
  padding: 18px;
}

.company-discovery-main .student-card-link {
  gap: 14px;
}

.company-discovery-main .student-traffic-pill {
  position: static;
  justify-self: end;
  width: fit-content;
  box-shadow: 0 8px 22px rgba(14, 30, 46, 0.06);
}

.company-discovery-main .student-card-header {
  grid-template-columns: 60px minmax(0, 1fr);
  padding-right: 0;
}

.company-discovery-main .student-card-header h2 {
  max-width: none;
  font-size: 1.45rem;
  line-height: 1.1;
}

.company-discovery-main .student-card-header p {
  max-width: 32rem;
  overflow-wrap: normal;
  word-break: normal;
}

.company-discovery-main .student-skill-tags,
.company-discovery-main .student-card-meta {
  gap: 8px;
}

.company-discovery-main .student-card-actions {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.company-discovery-main .student-focus-button,
.company-discovery-main .student-profile-link {
  width: 100%;
}

@media (min-width: 1280px) {
  .company-discovery-main .student-card-grid {
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  }
}

@media (max-width: 760px) {
  .company-discovery-main .student-card-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .company-discovery-main .student-card-actions {
    grid-template-columns: 1fr;
  }
}

/* Endprodukt Regel: Student Dashboard Karten priorisieren Lesbarkeit vor Statusdichte. */
.student-work-card .student-card-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}

.student-work-card .student-card-head strong {
  overflow-wrap: normal;
  word-break: normal;
}

.student-work-card .student-card-head .badge,
.student-work-card .student-card-head .traffic-dot {
  justify-self: start;
}

/* Endprodukt Regel: Plattformseite ist ein gefÃ¼hrter Produktablauf, kein Rohtext. */
.platform-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(circle at 84% 18%, rgba(14, 165, 233, 0.24), transparent 34%),
    linear-gradient(135deg, #0b1220 0%, #0f1d33 58%, #082f49 100%);
}

.platform-hero::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 92%);
}

.platform-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(72px, 9vw, 118px) 0;
}

.platform-hero .eyebrow,
.platform-hero h1,
.platform-hero p {
  width: min(780px, 100%);
  margin: 0;
  color: inherit;
}

.platform-hero h1 {
  font-size: clamp(3rem, 5vw, 4.45rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: 0;
}

.platform-hero p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.13rem;
  line-height: 1.65;
}

.platform-process,
.platform-traffic-section,
.platform-privacy-callout,
.platform-cta {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.platform-process,
.platform-traffic-section {
  display: grid;
  gap: 28px;
  padding: clamp(54px, 7vw, 84px) 0 0;
}

.platform-section-head {
  display: grid;
  gap: 8px;
}

.platform-section-head .eyebrow,
.platform-section-head h2 {
  margin: 0;
}

.platform-section-head h2 {
  max-width: 720px;
  color: #0b1220;
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  font-weight: 900;
  line-height: 1.05;
}

.platform-step-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.platform-step-timeline li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px 12px;
  align-content: start;
  min-height: 178px;
  padding: 20px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.055);
}

.platform-step-timeline li > span {
  grid-row: span 3;
  color: #0ea5e9;
  font-size: 0.78rem;
  font-weight: 900;
}

.platform-step-timeline strong,
.platform-step-timeline p,
.platform-step-timeline em {
  margin: 0;
}

.platform-step-timeline strong {
  color: #0b1220;
  font-size: 1.05rem;
  line-height: 1.25;
}

.platform-step-timeline p {
  color: #475569;
  line-height: 1.5;
}

.platform-step-timeline em {
  width: fit-content;
  padding: 4px 9px;
  color: #0b1220;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 800;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
}

.platform-step-timeline .is-reserved em {
  color: #854d0e;
  background: #fef9c3;
  border-color: #fde68a;
}

.platform-step-timeline .is-booked em {
  color: #991b1b;
  background: #fee2e2;
  border-color: #fecaca;
}

.platform-traffic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.platform-traffic-grid article {
  display: grid;
  gap: 8px;
  min-height: 138px;
  padding: 20px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
}

.platform-traffic-grid h3,
.platform-traffic-grid p {
  margin: 0;
}

.platform-traffic-grid h3 {
  color: #0b1220;
  font-size: 1.12rem;
}

.platform-traffic-grid p {
  color: #475569;
}

.platform-traffic-dot {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border-radius: 999px;
}

.platform-traffic-dot.green {
  background: #22c55e;
}

.platform-traffic-dot.lightgreen {
  background: #84cc16;
}

.platform-traffic-dot.yellow {
  background: #eab308;
}

.platform-traffic-dot.red {
  background: #ef4444;
}

.platform-privacy-callout {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: clamp(36px, 5vw, 64px);
  padding: 24px;
  color: #0b1220;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 20px;
}

.platform-privacy-callout p {
  max-width: 880px;
  margin: 0;
  color: #0f172a;
  font-weight: 600;
  line-height: 1.6;
}

.platform-cta {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  margin-top: clamp(32px, 5vw, 56px);
  margin-bottom: clamp(56px, 7vw, 88px);
  padding: 28px;
  color: #ffffff;
  background: #0b1220;
  border-radius: 24px;
}

.platform-cta h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.platform-cta > div {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (max-width: 980px) {
  .platform-step-timeline,
  .platform-traffic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .platform-hero-inner,
  .platform-process,
  .platform-traffic-section,
  .platform-privacy-callout,
  .platform-cta {
    width: min(100% - 28px, 1120px);
  }

  .platform-hero-inner {
    padding: 42px 0;
  }

  .platform-hero h1 {
    font-size: 2.35rem;
  }

  .platform-step-timeline,
  .platform-traffic-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .platform-step-timeline li {
    min-height: auto;
  }

  .platform-privacy-callout,
  .platform-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .platform-cta > div,
  .platform-cta .button {
    width: 100%;
  }
}

.traffic-dot-mark {
  display: inline-block;
  flex: 0 0 auto;
  width: 0.72rem;
  height: 0.72rem;
  margin-right: 0.45rem;
  vertical-align: -0.04rem;
  border-radius: 999px;
  box-shadow: 0 0 0 4px rgba(15, 23, 42, 0.04);
}

.traffic-green {
  background: #22c55e;
}

.traffic-light-green {
  background: #84cc16;
}

.traffic-yellow {
  background: #eab308;
}

.traffic-red {
  background: #ef4444;
}

.notification-bell-mark {
  position: relative;
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border: 2px solid currentColor;
  border-bottom-color: transparent;
  border-radius: 999px 999px 7px 7px;
}

.notification-bell-mark::before {
  position: absolute;
  top: -0.28rem;
  left: 50%;
  width: 0.36rem;
  height: 0.28rem;
  content: "";
  border-top: 2px solid currentColor;
  border-radius: 999px 999px 0 0;
  transform: translateX(-50%);
}

.notification-bell-mark::after {
  position: absolute;
  bottom: -0.33rem;
  left: 50%;
  width: 0.38rem;
  height: 0.38rem;
  content: "";
  background: currentColor;
  border-radius: 999px;
  transform: translateX(-50%);
}

.notification-row-icon,
.notification-preview-icon {
  display: inline-grid;
  place-items: center;
}

.notification-row-icon::before,
.notification-preview-icon::before {
  display: block;
  width: 0.7rem;
  height: 0.7rem;
  content: "";
  background: #0ea5e9;
  border-radius: 999px;
  box-shadow: 0 0 0 5px rgba(14, 165, 233, 0.13);
}

.notification-icon-message::before {
  background: #0ea5e9;
}

.notification-icon-reservation::before {
  background: #eab308;
  box-shadow: 0 0 0 5px rgba(234, 179, 8, 0.15);
}

.notification-icon-booking::before {
  background: #ef4444;
  box-shadow: 0 0 0 5px rgba(239, 68, 68, 0.14);
}

.student-ampel-icon {
  position: relative;
  display: inline-grid;
  place-items: center;
}

.student-ampel-icon > span,
.student-empty-icon,
.platform-step-mark,
.privacy-lock-mark {
  display: inline-block;
  border-radius: 999px;
}

.student-ampel-icon > span {
  width: 1.25rem;
  height: 1.25rem;
  background: currentColor;
  box-shadow: 0 0 0 9px rgba(255, 255, 255, 0.22);
}

.student-ampel-free {
  color: #22c55e;
}

.student-ampel-offer {
  color: #84cc16;
}

.student-ampel-reserved {
  color: #eab308;
}

.student-ampel-booked {
  color: #ef4444;
}

.student-empty-icon {
  width: 1.15rem;
  height: 1.15rem;
  border: 2px solid #94a3b8;
  box-shadow: inset 0 0 0 4px #f8fafc;
}

.empty-reservations {
  border-color: #eab308;
}

.empty-bookings {
  border-color: #0ea5e9;
}

.platform-step-mark {
  width: 0.95rem;
  height: 0.95rem;
  background: #0ea5e9;
  box-shadow: 0 0 0 5px rgba(14, 165, 233, 0.13);
}

.platform-step-timeline .is-reserved .platform-step-mark {
  background: #eab308;
  box-shadow: 0 0 0 5px rgba(234, 179, 8, 0.16);
}

.platform-step-timeline .is-booked .platform-step-mark {
  background: #ef4444;
  box-shadow: 0 0 0 5px rgba(239, 68, 68, 0.14);
}

.privacy-lock-mark {
  position: relative;
  width: 1.25rem;
  height: 0.95rem;
  border: 2px solid currentColor;
  border-radius: 0.26rem;
}

.privacy-lock-mark::before {
  position: absolute;
  top: -0.72rem;
  left: 50%;
  width: 0.75rem;
  height: 0.72rem;
  content: "";
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
  transform: translateX(-50%);
}

@media (min-width: 1024px) {
  .premium-home-hero h1 {
    max-width: 780px;
    font-size: clamp(2.75rem, 3.4vw, 3.5rem);
    line-height: 1.04;
  }

  .premium-home-hero .landing-lead {
    max-width: 660px;
    font-size: 1.05rem;
  }

  .premium-home-hero .landing-cta-card {
    min-height: 246px;
  }

  .platform-hero h1 {
    max-width: 780px;
    font-size: clamp(2.65rem, 3.35vw, 3.45rem);
    line-height: 1.05;
  }

  .platform-hero p:not(.eyebrow) {
    max-width: 660px;
    font-size: 1.05rem;
  }
}

@media (max-width: 760px) {
  .company-dashboard-sidebar,
  .student-dashboard-sidebar {
    position: relative;
    overflow: hidden;
  }

  .company-dashboard-sidebar::after,
  .student-dashboard-sidebar::after {
    position: absolute;
    right: 0;
    bottom: 10px;
    width: 32px;
    height: 38px;
    content: "";
    pointer-events: none;
    background: linear-gradient(90deg, rgba(11, 18, 32, 0), #0b1220 82%);
  }

  .company-dashboard-nav,
  .student-dashboard-nav {
    display: flex;
    grid-template-columns: none;
    gap: 7px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 28px 4px 0;
    scroll-padding-inline: 10px;
    scroll-snap-type: x proximity;
    scrollbar-color: rgba(14, 165, 233, 0.75) rgba(148, 163, 184, 0.2);
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .company-dashboard-nav::-webkit-scrollbar,
  .student-dashboard-nav::-webkit-scrollbar {
    display: block;
    height: 4px;
  }

  .company-dashboard-nav::-webkit-scrollbar-thumb,
  .student-dashboard-nav::-webkit-scrollbar-thumb {
    background: rgba(14, 165, 233, 0.75);
    border-radius: 999px;
  }

  .company-dashboard-nav::-webkit-scrollbar-track,
  .student-dashboard-nav::-webkit-scrollbar-track {
    background: rgba(148, 163, 184, 0.16);
    border-radius: 999px;
  }

  .company-dashboard-nav a,
  .student-dashboard-nav a {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 8px 11px;
    white-space: nowrap;
    scroll-snap-align: start;
  }

  .student-ampel-topbar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px;
  }

  .student-ampel-status {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
  }

  .student-ampel-icon,
  .student-ampel-circle {
    width: 42px;
    height: 42px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
  }

  .student-ampel-icon > span {
    width: 0.95rem;
    height: 0.95rem;
    box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.2);
  }

  .student-ampel-status .eyebrow {
    margin: 0 0 4px;
    font-size: 0.68rem;
    letter-spacing: 0.06em;
  }

  .student-ampel-status h1 {
    margin: 0;
    font-size: clamp(1.3rem, 6vw, 1.7rem);
    line-height: 1.08;
  }

  .student-ampel-status p {
    margin-top: 8px;
    font-size: 0.86rem;
    line-height: 1.45;
  }

  .student-next-decision-label {
    display: inline-flex;
    margin: 10px 8px 0 0;
    color: #334155;
    font-size: 0.78rem;
    font-weight: 900;
  }

  .student-status-actions,
  .student-dashboard-tools {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    width: 100%;
  }

  .student-status-actions .button,
  .student-dashboard-tools .button {
    width: 100%;
  }
}

.dashboard-mobile-more {
  display: none;
}

@media (max-width: 760px) {
  .company-dashboard-sidebar::after,
  .student-dashboard-sidebar::after {
    display: none;
  }

  .company-dashboard-nav,
  .student-dashboard-nav {
    overflow: visible;
    padding: 0;
    scrollbar-width: none;
  }

  .company-dashboard-nav::-webkit-scrollbar,
  .student-dashboard-nav::-webkit-scrollbar {
    display: none;
  }

  .company-dashboard-nav .mobile-extra,
  .student-dashboard-nav .mobile-extra {
    display: none;
  }

  .dashboard-mobile-more {
    display: block;
  }

  .dashboard-mobile-more summary {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    color: #cbd5e1;
    font-weight: 900;
    list-style: none;
    cursor: pointer;
    background: rgba(148, 163, 184, 0.12);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 11px;
  }

  .dashboard-mobile-more summary::-webkit-details-marker {
    display: none;
  }

  .dashboard-mobile-more.active summary,
  .dashboard-mobile-more[open] summary {
    color: #ffffff;
    background: rgba(14, 165, 233, 0.18);
    border-color: rgba(14, 165, 233, 0.36);
  }

  .dashboard-mobile-more div {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin-top: 8px;
  }

  .dashboard-mobile-more a {
    min-height: 34px;
    padding: 8px 10px;
    color: #cbd5e1;
    font-size: 0.84rem;
    font-weight: 900;
    text-align: center;
    text-decoration: none;
    background: rgba(148, 163, 184, 0.1);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 11px;
  }

  .dashboard-mobile-more a.active,
  .dashboard-mobile-more a:hover,
  .dashboard-mobile-more a:focus-visible {
    color: #ffffff;
    background: rgba(14, 165, 233, 0.18);
    border-color: rgba(14, 165, 233, 0.4);
  }
}

/* Endprodukt Feinschliff: Dashboard-Startbereiche ruhiger und weniger verwaltungslastig. */
.company-dashboard-toolbar h1 {
  max-width: 720px;
  font-size: clamp(1.55rem, 1.9vw, 2rem);
  line-height: 1.14;
}

.company-dashboard-work-queue {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  padding: 16px 18px;
  background: #ffffff;
  border: 1px solid #dbeafe;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.055);
}

.company-dashboard-work-queue .eyebrow {
  color: #0369a1;
}

.company-dashboard-work-queue h2 {
  color: #082f49;
  font-size: clamp(1.16rem, 1.55vw, 1.42rem);
}

.company-dashboard-work-queue p {
  color: #475569;
  opacity: 1;
}

.company-dashboard-metrics span {
  color: #082f49;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.company-dashboard-metrics strong {
  color: #082f49;
}

.company-dashboard-metrics em {
  color: #475569;
}

.student-ampel-topbar {
  padding: 20px;
}

.student-ampel-status h1 {
  max-width: 760px;
  font-size: clamp(1.65rem, 2.35vw, 2.35rem);
  line-height: 1.12;
}

.student-ampel-status strong {
  font-size: 1rem;
}

.student-ampel-icon {
  width: 50px;
  height: 50px;
}

.student-dashboard-heading h2 {
  font-size: clamp(1.32rem, 1.65vw, 1.65rem);
}

@media (max-width: 900px) {
  .company-dashboard-work-queue {
    grid-template-columns: 1fr;
  }

  .process-next-action-panel {
    grid-template-columns: 1fr;
  }

  .process-next-action-panel .button {
    width: 100%;
  }

  .student-next-action-panel {
    grid-template-columns: 1fr;
  }

  .student-next-action-panel .button {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .student-ampel-status h1 {
    font-size: clamp(1.18rem, 5vw, 1.48rem);
  }

  .student-ampel-topbar {
    padding: 14px;
  }
}

/* Mobile ProzessfÃ¼hrung: nÃ¤chster Schritt bleibt frÃ¼h sichtbar, ohne horizontale Body-Scrollbar. */
@media (max-width: 760px) {
  .company-process-main,
  .student-process-main,
  .company-offer-negotiation-main,
  .student-dashboard-main {
    gap: 12px;
  }

  .process-timeline,
  .company-process-bar,
  .offer-process-compact-track,
  .offer-status-bar {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
  }

  .process-timeline > *,
  .company-process-bar > *,
  .offer-process-compact-track > *,
  .offer-status-bar > * {
    flex: 0 0 auto;
  }

  .process-next-action-panel,
  .student-next-action-panel,
  .company-next-action-panel {
    gap: 12px;
    padding: 14px;
    border-radius: 16px;
  }

  .process-next-action-panel h2,
  .student-next-action-panel h2,
  .company-next-action-panel h2 {
    font-size: 1.08rem;
    line-height: 1.2;
  }

  .process-next-action-panel p,
  .student-next-action-panel p,
  .company-next-action-panel p {
    font-size: 0.9rem;
    line-height: 1.42;
  }

  .process-next-action-panel .button,
  .student-next-action-panel .button,
  .company-next-action-panel .button,
  .reservation-form .form-actions .button,
  .booking-form .form-actions .button {
    width: 100%;
  }

  .form-advanced-group > summary {
    min-height: 44px;
  }

  .form-advanced-group .compact-form-grid {
    grid-template-columns: 1fr;
  }
}

/* Vorgangskarten wirken wie Talentkarten: Person zuerst, Vorgang danach. */
.company-student-card.workflow-card {
  gap: 13px;
}

.company-case-person {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 11px;
}

.company-case-avatar {
  display: inline-grid;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 900;
  object-fit: cover;
  background: linear-gradient(135deg, #0ea5e9, #0b1220);
  border: 1px solid rgba(14, 165, 233, 0.24);
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.09);
}

.company-case-person div {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.company-case-person strong {
  min-width: 0;
  overflow: hidden;
  color: #082f49;
  font-size: 0.96rem;
  font-weight: 900;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.company-case-person small {
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 800;
}

.company-student-card.workflow-card h2 {
  font-size: 1.02rem;
  line-height: 1.32;
}

@media (max-width: 760px) {
  .company-case-person strong {
    white-space: normal;
  }
}

/* Studentprofil bleibt im Company-Arbeitskontext mit Navigation und Chat. */
.company-student-detail-layout {
  grid-template-columns: 220px minmax(0, 1fr) 300px;
}

.company-student-detail-main {
  min-width: 0;
  padding: 16px 0 22px;
}

.company-student-detail-layout .student-detail-page {
  gap: 16px;
}

.company-student-detail-layout .student-profile-layout {
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 18px;
}

.company-student-detail-layout .student-profile-sidebar {
  grid-column: 1;
  grid-row: 1 / span 2;
  top: 16px;
}

.company-student-detail-layout .student-profile-main {
  grid-column: 2;
}

.company-student-detail-layout .process-timeline,
.company-student-detail-layout .student-profile-section {
  border-radius: 18px;
}

.company-student-detail-layout .student-profile-action-bar {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  position: sticky;
  top: 16px;
  bottom: auto;
  width: 100%;
  margin: 0 0 2px;
}

@media (max-width: 1180px) {
  .company-student-detail-layout {
    grid-template-columns: 190px minmax(0, 1fr);
  }

  .company-student-detail-layout .company-dashboard-chat {
    grid-column: 1 / -1;
  }
}

@media (max-width: 980px) {
  .company-student-detail-layout .student-profile-layout {
    grid-template-columns: 1fr;
  }

  .company-student-detail-layout .student-profile-sidebar,
  .company-student-detail-layout .student-profile-action-bar,
  .company-student-detail-layout .student-profile-main {
    grid-column: 1;
    grid-row: auto;
  }

  .company-student-detail-layout .student-profile-sidebar {
    position: static;
  }

  .company-student-detail-layout .student-profile-action-bar {
    position: static;
    align-items: center;
    flex-direction: row;
    padding: 12px 14px;
  }

  .company-student-detail-layout .student-profile-actions {
    justify-content: flex-end;
  }

  .company-student-detail-layout .student-profile-action,
  .company-student-detail-layout .student-profile-actions form {
    width: auto;
  }

  .company-student-detail-layout .student-profile-sidebar.talent-profile-card {
    grid-template-columns: minmax(190px, 0.85fr) minmax(260px, 1.15fr);
    gap: 12px 14px;
    padding: 14px;
  }

  .company-student-detail-layout .student-profile-visual-stage {
    min-height: 118px;
  }

  .company-student-detail-layout .talent-profile-card .student-avatar.profile-large {
    width: 92px;
    height: 92px;
    border-radius: 22px;
  }

  .company-student-detail-layout .talent-profile-card .student-profile-identity h1 {
    font-size: 1.45rem;
  }

  .company-student-detail-layout .student-profile-traffic-badge {
    min-height: 38px;
    padding: 8px 12px;
  }

  .company-student-detail-layout .student-profile-trust-line {
    grid-column: 2;
    grid-row: 1;
    padding: 10px 12px;
  }

  .company-student-detail-layout .talent-profile-card .student-profile-meta {
    grid-column: 2;
    grid-row: 2 / span 3;
    gap: 8px;
  }

  .company-student-detail-layout .talent-profile-card .student-profile-meta div {
    padding: 8px 10px;
  }

  .company-student-detail-layout .talent-profile-card .student-profile-privacy {
    grid-column: 1 / -1;
    padding: 10px 12px;
  }
}

@media (max-width: 760px) {
  .company-student-detail-layout {
    grid-template-columns: 1fr;
  }

  .company-dashboard-layout.company-student-detail-layout > .company-dashboard-main {
    order: 2;
  }

  .company-dashboard-layout.company-student-detail-layout > .company-dashboard-chat {
    order: 3;
  }

  .company-student-detail-main {
    padding: 0;
  }

  .company-student-detail-layout .student-profile-sidebar.talent-profile-card {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px;
  }

  .company-student-detail-layout .student-profile-visual-stage {
    min-height: 92px;
    border-radius: 16px;
  }

  .company-student-detail-layout .talent-profile-card .student-avatar.profile-large {
    width: 76px;
    height: 76px;
    border-radius: 18px;
  }

  .company-student-detail-layout .talent-profile-card .student-profile-identity h1 {
    font-size: 1.34rem;
    line-height: 1.08;
  }

  .company-student-detail-layout .student-profile-traffic-badge {
    min-height: 34px;
    padding: 7px 10px;
  }

  .company-student-detail-layout .student-profile-trust-line,
  .company-student-detail-layout .talent-profile-card .student-profile-privacy {
    display: none;
  }

  .company-student-detail-layout .talent-profile-card .student-profile-meta {
    grid-column: auto;
    grid-row: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .company-student-detail-layout .talent-profile-card .student-profile-meta div {
    padding: 7px 8px;
  }

  .company-student-detail-layout .talent-profile-card .student-profile-meta dt {
    font-size: 0.62rem;
  }

  .company-student-detail-layout .talent-profile-card .student-profile-meta dd {
    font-size: 0.76rem;
    line-height: 1.25;
  }

  .company-student-detail-layout .student-profile-action-bar {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    padding: 11px;
  }

  .company-student-detail-layout .student-profile-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
    gap: 8px;
  }

  .company-student-detail-layout .student-profile-action,
  .company-student-detail-layout .student-profile-actions form {
    width: 100%;
  }

  .company-student-detail-layout .student-profile-action.primary,
  .company-student-detail-layout .student-profile-actions > .student-profile-action:first-child {
    grid-column: 1 / -1;
  }

  .company-student-detail-layout .student-profile-action {
    min-height: 40px;
    border-radius: 12px;
    padding: 9px 10px;
  }
}

@media (max-width: 431px) {
  .company-student-detail-layout .student-profile-action-bar > div:first-child span {
    display: none;
  }
}

/* Premium-Endprodukt: ein ruhiger Schnitt fÃ¼r Einstieg, ArbeitsflÃ¤chen und mobile Nutzung. */
:root {
  --shadow-product-card: 0 10px 28px rgba(15, 23, 42, 0.055);
  --shadow-product-hover: 0 18px 42px rgba(15, 23, 42, 0.09);
}

.public-header {
  min-height: 68px;
  padding-block: 12px;
}

.public-header .button {
  min-height: 38px;
  padding: 8px 16px;
  border-radius: 10px;
}

.premium-home-hero {
  min-height: auto;
  padding-top: clamp(44px, 5.8vw, 78px);
  padding-bottom: clamp(44px, 5.8vw, 76px);
}

.premium-home-hero .landing-hero-inner {
  gap: 24px;
}

.premium-home-hero h1 {
  width: min(760px, 100%);
  font-size: clamp(2.75rem, 4vw, 4rem);
  line-height: 1.03;
}

.premium-home-hero .landing-lead {
  width: min(640px, 100%);
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.58;
}

.premium-home-hero .landing-cta-grid {
  gap: 14px;
  width: min(1040px, 100%);
}

.premium-home-hero .landing-cta-card {
  min-height: 208px;
  padding: 20px;
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.2);
}

.premium-home-hero .landing-card-icon {
  width: 44px;
  height: 44px;
  font-size: 1rem;
  border-radius: 13px;
}

.premium-home-hero .landing-cta-card h2 {
  font-size: 1.18rem;
  line-height: 1.2;
}

.premium-home-hero .landing-cta-card p {
  font-size: 0.92rem;
  line-height: 1.45;
}

.landing-how,
.landing-traffic {
  width: min(1040px, calc(100% - 36px));
}

.landing-how h2,
.landing-traffic h2,
.platform-section-head h2 {
  font-size: clamp(1.9rem, 3vw, 2.75rem);
  line-height: 1.08;
}

.landing-timeline li,
.platform-step-timeline li,
.platform-traffic-grid article,
.student-search-card,
.company-student-card,
.student-work-card,
.process-item-card,
.profile-identity-card,
.company-dashboard-chat {
  border-radius: 14px;
  box-shadow: var(--shadow-product-card);
}

.landing-timeline li:hover,
.platform-step-timeline li:hover,
.student-search-card:hover,
.company-student-card:hover,
.process-item-card:hover {
  box-shadow: var(--shadow-product-hover);
}

.app-shell:has(.company-dashboard-layout) .workspace-main,
.app-shell:has(.student-dashboard-layout) .workspace-main {
  width: min(100% - 20px, 1540px);
  padding: 10px 0;
}

.company-dashboard-layout {
  grid-template-columns: 190px minmax(0, 1fr) 304px;
}

.student-dashboard-layout {
  grid-template-columns: 184px minmax(0, 1fr) 292px;
}

.company-dashboard-sidebar,
.student-dashboard-sidebar {
  padding: 12px;
  border-radius: 16px;
}

.company-dashboard-brand,
.student-dashboard-brand {
  min-height: 42px;
}

.company-dashboard-brand .brand-emblem,
.student-dashboard-brand .brand-emblem,
.company-dashboard-brand .brand-emblem img,
.student-dashboard-brand .brand-emblem img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.company-dashboard-role {
  padding-bottom: 9px;
}

.company-dashboard-nav,
.student-dashboard-nav {
  gap: 5px;
}

.company-dashboard-nav a,
.student-dashboard-nav a {
  min-height: 36px;
  padding: 8px 10px;
  border-radius: 9px;
}

.company-dashboard-nav small {
  display: none;
}

.company-dashboard-user,
.student-dashboard-user {
  color: inherit;
  text-decoration: none;
  border-radius: 12px;
}

.company-dashboard-user:hover,
.company-dashboard-user:focus-visible,
.student-dashboard-user:hover,
.student-dashboard-user:focus-visible {
  background: rgba(14, 165, 233, 0.15);
  outline: 2px solid rgba(14, 165, 233, 0.25);
  outline-offset: 2px;
}

.company-dashboard-main,
.student-dashboard-main {
  gap: 12px;
  padding: 16px;
}

.company-dashboard-toolbar h1,
.student-dashboard-heading h1,
.student-ampel-status h1 {
  font-size: clamp(1.35rem, 1.8vw, 1.9rem);
  line-height: 1.12;
}

.company-dashboard-toolbar p:last-child,
.student-dashboard-heading p,
.company-process-strip p {
  font-size: 0.9rem;
  line-height: 1.5;
}

.company-search-panel,
.company-process-strip,
.company-next-action-panel,
.company-dashboard-work-queue,
.student-ampel-topbar,
.student-priority-strip article {
  border-radius: 14px;
  box-shadow: var(--shadow-product-card);
}

.company-next-action-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  border: 1px solid rgba(14, 165, 233, 0.14);
  background: linear-gradient(135deg, #ffffff, #f0f9ff);
  padding: 14px 16px;
}

.company-next-action-panel span {
  color: #0369a1;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.company-next-action-panel h2 {
  margin: 2px 0 4px;
  color: #0f172a;
  font-size: clamp(1.05rem, 1.4vw, 1.28rem);
  line-height: 1.15;
}

.company-next-action-panel p {
  margin: 0;
  color: #475569;
  font-size: 0.9rem;
  line-height: 1.45;
}

.company-next-action-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(14, 30, 46, 0.08);
  border-radius: 13px;
  background: #ffffff;
}

.company-next-action-metrics span {
  display: grid;
  place-items: center;
  gap: 2px;
  min-width: 0;
  border-left: 1px solid rgba(14, 30, 46, 0.08);
  padding: 9px 10px;
  letter-spacing: 0;
  text-transform: none;
}

.company-next-action-metrics span:first-child {
  border-left: 0;
}

.company-next-action-metrics strong {
  color: #0f172a;
  font-size: 1rem;
  font-weight: 900;
}

.company-next-action-metrics em {
  color: #64748b;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.company-process-bar li {
  min-height: 58px;
  padding: 9px;
}

.company-process-bar li strong {
  font-size: 0.82rem;
}

.company-process-bar li span {
  font-size: 0.68rem;
}

.company-card-grid,
.student-dashboard-columns,
.process-card-grid {
  gap: 12px;
}

.company-card-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.company-student-card,
.student-work-card,
.process-item-card {
  padding: 14px;
}

.company-dashboard-chat {
  width: 100%;
  border-radius: 16px;
}

.chat-message-list {
  gap: 8px;
}

.chat-message,
.chat-compose,
.chat-conversation-card {
  border-radius: 12px;
}

@media (max-width: 1180px) {
  .company-dashboard-layout,
  .student-dashboard-layout {
    grid-template-columns: 176px minmax(0, 1fr);
  }
}

@media (max-width: 900px) {
  .company-dashboard-layout,
  .student-dashboard-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .company-dashboard-sidebar,
  .student-dashboard-sidebar {
    top: auto;
    height: auto;
  }

  .company-dashboard-main,
  .student-dashboard-main {
    padding: 14px;
  }

  .company-next-action-panel {
    grid-template-columns: 1fr;
  }

  .company-next-action-panel .button {
    width: 100%;
  }

  .company-dashboard-chat {
    display: none;
  }
}

@media (max-width: 760px) {
  .public-header {
    min-height: 58px;
    padding: 8px 12px;
  }

  .public-header .brand-emblem,
  .public-header .brand-emblem img {
    width: 36px;
    height: 36px;
  }

  .premium-home-hero {
    padding: 30px 14px 34px;
  }

  .premium-home-hero h1 {
    font-size: clamp(2rem, 9vw, 2.55rem);
  }

  .landing-how,
  .landing-traffic {
    width: min(100% - 28px, 1040px);
    padding-block: 34px;
  }

  .landing-timeline li,
  .platform-step-timeline li,
  .student-search-card,
  .company-student-card,
  .student-work-card,
  .process-item-card {
    border-radius: 12px;
  }

  .company-dashboard-nav,
  .student-dashboard-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .company-dashboard-nav a,
  .student-dashboard-nav a,
  .dashboard-mobile-more summary,
  .dashboard-mobile-more a {
    min-height: 38px;
    padding: 8px 9px;
    font-size: 0.78rem;
    line-height: 1.2;
  }

  .dashboard-mobile-more div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .company-search-panel {
    grid-template-columns: 1fr;
  }

  .company-filter-chips {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
  }

  .company-filter-chips a {
    justify-content: center;
    text-align: center;
  }

  .company-dashboard-sidebar,
  .student-dashboard-sidebar {
    order: 1;
  }

  .company-dashboard-main,
  .student-dashboard-main {
    order: 2;
  }

  .company-dashboard-layout > .company-dashboard-chat {
    order: 3;
    min-height: 300px;
    height: 300px;
  }

  .company-dashboard-layout.company-process-workspace > .company-dashboard-main {
    order: 2;
  }

  .company-dashboard-layout.company-process-workspace > .company-dashboard-chat {
    order: 3;
    min-height: 280px;
    height: 280px;
  }

  .company-process-workspace .company-process-main > .section-stack {
    gap: 10px;
  }

  .company-process-workspace .company-process-main .section-heading {
    padding-bottom: 6px;
  }

  .company-process-workspace .company-process-main .section-heading .lead {
    display: none;
  }

  .company-process-workspace .process-timeline {
    order: 1;
  }

  .company-process-workspace .process-timeline:not(:first-of-type) {
    display: none;
    order: 5;
  }

  .company-process-workspace .process-card-list {
    order: 2;
  }

  .company-process-workspace .company-process-main .actions,
  .company-process-workspace .company-process-main .action-bar {
    order: 3;
  }

  .company-process-workspace .process-next-action-panel {
    order: 4;
    padding: 12px;
  }

  .company-process-workspace .process-guard,
  .company-process-workspace .status-strip,
  .company-process-workspace .work-queue,
  .company-process-workspace .privacy-notice,
  .company-process-workspace .security-notice {
    order: 5;
  }

  .company-process-workspace .process-guard,
  .company-process-workspace .work-queue {
    display: none;
  }

  .company-process-workspace .process-next-action-panel p,
  .company-process-workspace .process-next-action-panel ol {
    display: none;
  }

  .company-process-workspace .process-card-grid {
    gap: 10px;
  }

  .company-process-workspace .process-item-card {
    gap: 10px;
    padding: 12px;
  }

  .company-process-workspace .process-item-card-note {
    display: none;
  }

  .company-process-workspace .process-item-card-actions .button {
    width: 100%;
  }

  .student-dashboard-layout > .company-dashboard-chat,
  .student-dashboard-layout .company-dashboard-chat {
    order: 3;
    min-height: 340px;
    height: 340px;
  }

  .company-dashboard-layout > .company-dashboard-chat,
  .student-dashboard-layout > .company-dashboard-chat,
  .student-dashboard-layout .company-dashboard-chat {
    display: grid;
    grid-template-rows: auto auto minmax(130px, 1fr);
    gap: 10px;
    width: 100%;
    max-height: none;
    overflow: hidden;
    padding: 14px;
    border-radius: 16px;
  }

  .company-dashboard-chat .chat-conversation-list {
    display: flex;
    gap: 8px;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .company-dashboard-chat .chat-conversation-list::-webkit-scrollbar {
    display: none;
  }

  .company-dashboard-chat .chat-conversation-card {
    flex: 0 0 min(230px, 78vw);
  }

  .company-dashboard-chat .chat-active-thread {
    min-height: 180px;
  }

  .company-dashboard-chat .chat-message-list {
    max-height: 170px;
  }
}

/* Premium-Endprodukt 26: Prozessregeln als kurze Produktchips statt ErklÃ¤rblock. */
.company-process-strip {
  gap: 10px;
}

.company-process-rules {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.company-process-rules li {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border: 1px solid rgba(14, 165, 233, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #334155;
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.25;
}

.offer-chat-empty {
  display: grid;
  place-items: center;
  min-height: 180px;
  text-align: center;
}

.offer-chat-empty strong {
  color: #082f49;
  font-size: 0.98rem;
}

.offer-chat-empty p {
  max-width: 260px;
  margin: 4px 0 0;
  line-height: 1.45;
}

.student-search-heading .lead {
  max-width: 560px;
}

.student-discovery-flow {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.95fr) auto;
  gap: 14px;
  align-items: center;
  border: 1px solid rgba(14, 165, 233, 0.14);
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff, #f0f9ff);
  box-shadow: var(--shadow-product-card);
  padding: 14px 16px;
}

.student-discovery-flow-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.student-discovery-flow-copy span {
  color: #0369a1;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.student-discovery-flow h2 {
  margin: 0;
  color: #0f172a;
  font-size: clamp(1.08rem, 1.5vw, 1.34rem);
  line-height: 1.15;
}

.student-discovery-flow p {
  margin: 0;
  color: #475569;
  font-size: 0.9rem;
  line-height: 1.45;
}

.student-discovery-flow-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(14, 30, 46, 0.08);
  border-radius: 14px;
  background: #ffffff;
  list-style: none;
}

.student-discovery-flow-steps li {
  display: grid;
  gap: 3px;
  min-width: 0;
  border-left: 1px solid rgba(14, 30, 46, 0.08);
  padding: 10px 11px;
  text-align: center;
}

.student-discovery-flow-steps li:first-child {
  border-left: 0;
}

.student-discovery-flow-steps strong {
  color: #0ea5e9;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.student-discovery-flow-steps span {
  color: #0f172a;
  font-size: 0.8rem;
  font-weight: 900;
  line-height: 1.2;
}

.student-work-card {
  gap: 11px;
}

.student-card-head > div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.student-card-head > .student-card-company {
  display: flex;
  align-items: center;
  gap: 10px;
}

.student-card-company-logo {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  object-fit: cover;
}

.student-card-company-logo.profile-photo-fallback {
  display: inline-grid;
  place-items: center;
  background: #e0f2fe;
  color: #075985;
  font-weight: 800;
}

.student-card-kicker {
  color: #0ea5e9;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.15;
  text-transform: uppercase;
}

.student-card-copy {
  margin: 0;
  color: #475569;
  line-height: 1.5;
}

.student-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.student-card-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 8px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  background: #f8fafc;
  color: #475569;
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.2;
}

.student-offer-card-facts span {
  min-height: 24px;
  padding: 4px 8px;
  color: #0369a1;
  font-size: 0.7rem;
  background: #f0f9ff;
}

.student-work-card small {
  color: #64748b;
  font-size: 0.8rem;
  line-height: 1.42;
}

.student-card-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  margin-top: 2px;
}

.student-card-actions form {
  margin: 0;
}

.student-card-actions .button {
  width: 100%;
}

.company-card-trust-strip {
  margin-top: -2px;
}

/* Schnitt 36: Studentensuche wirkt als Talent-Marktplatz statt Verwaltungsraster. */
.student-search-card.talent-market-card {
  overflow: hidden;
  gap: 16px;
  border-radius: 18px;
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(248, 250, 252, 0.98), #ffffff 46%),
    #ffffff;
}

.talent-market-card .student-card-link {
  gap: 14px;
}

.student-card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.student-card-topline .student-traffic-pill {
  position: static;
  width: fit-content;
  box-shadow: none;
}

.student-card-kicker {
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.student-card-photo-stage {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.14), rgba(34, 197, 94, 0.14));
}

.talent-market-card .student-avatar {
  width: 64px;
  height: 64px;
  font-size: 1rem;
}

.talent-market-card .student-card-header {
  grid-template-columns: 76px minmax(0, 1fr);
  align-items: center;
  padding-right: 0;
}

.talent-market-card .student-card-header h2 {
  color: #0b1220;
  font-size: 1.18rem;
  line-height: 1.16;
}

.talent-market-card .student-card-header p {
  color: #64748b;
  font-size: 0.9rem;
}

.student-card-summary {
  margin: 0;
  color: #334155;
  font-size: 0.93rem;
  line-height: 1.5;
}

.student-trust-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
}

.student-trust-facts span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border: 1px solid rgba(14, 165, 233, 0.18);
  border-radius: 999px;
  padding: 4px 9px;
  background: rgba(14, 165, 233, 0.07);
  color: #075985;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.15;
}

.talent-market-card .student-skill-tags {
  min-height: 30px;
}

.talent-market-card .student-card-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.talent-market-card .student-card-meta span {
  justify-content: center;
  text-align: center;
}

.talent-market-card .student-card-actions {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 10px;
}

.talent-market-card .student-profile-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(14, 165, 233, 0.28);
  border-radius: 14px;
  color: #075985;
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 760px) {
  .student-discovery-flow {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px;
  }

  .student-discovery-flow-steps {
    grid-template-columns: 1fr;
  }

  .student-discovery-flow-steps li {
    border-left: 0;
    border-top: 1px solid rgba(14, 30, 46, 0.08);
    text-align: left;
  }

  .student-discovery-flow-steps li:first-child {
    border-top: 0;
  }

  .student-discovery-flow .button {
    width: 100%;
  }

  .student-search-card.talent-market-card {
    gap: 10px;
    padding: 12px;
  }

  .talent-market-card .student-card-link {
    gap: 9px;
  }

  .student-card-photo-stage {
    width: 58px;
    height: 58px;
    border-radius: 14px;
  }

  .talent-market-card .student-avatar {
    width: 48px;
    height: 48px;
  }

  .talent-market-card .student-card-header {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .talent-market-card .student-card-header h2 {
    font-size: 1.05rem;
  }

  .talent-market-card .student-card-header p {
    font-size: 0.8rem;
    line-height: 1.3;
  }

  .talent-market-card .student-card-summary,
  .talent-market-card .student-card-meta,
  .talent-market-card .student-card-trust-strip {
    display: none;
  }

  .talent-market-card .student-skill-tags {
    min-height: 0;
  }

  .talent-market-card .student-match-progress {
    display: none;
  }

  .talent-market-card .student-card-actions,
  .talent-market-card .student-card-meta {
    grid-template-columns: 1fr;
  }
}

/* Schnitt 37: Studentprofil als klare Profilansicht statt Formular- oder ListenflÃ¤che. */
.student-profile-sidebar.talent-profile-card {
  overflow: hidden;
  gap: 16px;
  border-radius: 22px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(14, 165, 233, 0.08), rgba(255, 255, 255, 0) 42%),
    #ffffff;
}

.student-profile-visual-stage {
  display: grid;
  place-items: center;
  min-height: 156px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 25% 20%, rgba(14, 165, 233, 0.22), transparent 32%),
    radial-gradient(circle at 78% 62%, rgba(34, 197, 94, 0.18), transparent 30%),
    #f8fafc;
}

.talent-profile-card .student-avatar.profile-large {
  width: 118px;
  height: 118px;
  border-radius: 28px;
}

.talent-profile-card img.student-avatar.profile-large {
  object-fit: cover;
}

.talent-profile-card .student-profile-identity {
  text-align: left;
}

.talent-profile-card .student-profile-identity h1 {
  color: #0b1220;
}

.student-profile-trust-line {
  margin: 0;
  border-radius: 16px;
  background: #ecfeff;
  color: #155e75;
  padding: 12px 14px;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.45;
}

.student-profile-trust-strip {
  padding-top: 4px;
}

.talent-profile-card .student-profile-meta {
  grid-template-columns: 1fr;
}

.talent-profile-card .student-profile-meta div {
  border: 1px solid rgba(14, 30, 46, 0.08);
  border-radius: 14px;
  background: rgba(248, 250, 252, 0.78);
  padding: 10px 12px;
}

.talent-profile-card .student-profile-privacy {
  background: #f8fafc;
  color: #475569;
}

/* Schnitt 41: Student Profil als ruhige Profilseite statt zweitem Bearbeitungsformular. */
.student-profile-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(180px, 0.8fr));
  gap: 14px;
  align-items: stretch;
}

.student-profile-story,
.student-profile-showcase-card {
  display: grid;
  align-content: start;
  gap: 12px;
  border: 1px solid rgba(14, 30, 46, 0.08);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: var(--shadow-product-card);
  padding: 18px;
}

.student-profile-story {
  background:
    linear-gradient(135deg, rgba(14, 165, 233, 0.08), rgba(255, 255, 255, 0) 58%),
    #ffffff;
}

.student-profile-story h2,
.student-profile-showcase-card h2 {
  margin: 0;
  color: #0b1220;
  font-size: 1.12rem;
  line-height: 1.2;
}

.student-profile-story p:not(.eyebrow),
.student-profile-showcase-card p:not(.eyebrow) {
  margin: 0;
  color: #475569;
  font-size: 0.9rem;
  line-height: 1.5;
}

.student-profile-actions-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.student-profile-showcase-card .student-skill-tags {
  gap: 7px;
}

.student-profile-showcase-card .student-skill-pill {
  padding: 6px 9px;
  font-size: 0.78rem;
}

.student-profile-own-contact {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  overflow-wrap: anywhere;
  border: 1px solid rgba(14, 165, 233, 0.18);
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.08);
  color: #075985;
  padding: 6px 9px;
  font-size: 0.78rem;
  font-weight: 800;
}

/* Schnitt 42: Studentensuche als ruhige Talentliste statt Prozess- und Filterwand. */
.company-discovery-main .student-search-page {
  gap: 12px;
}

.company-discovery-main .student-search-heading {
  padding: 0.9rem 1rem;
}

.company-discovery-main .student-search-heading h1 {
  font-size: clamp(1.75rem, 2.6vw, 2.45rem);
}

.company-discovery-main .company-process-strip {
  padding: 8px 10px;
  border-radius: 16px;
  background: #ffffff;
  border-color: rgba(14, 30, 46, 0.08);
}

.company-discovery-main .company-process-bar.process-timeline {
  display: flex;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(14, 30, 46, 0.08);
  border-radius: 14px;
  background: #ffffff;
}

.company-discovery-main .company-process-bar.process-timeline li,
.company-discovery-main .company-process-bar.process-timeline .timeline-step {
  min-height: 46px;
  border: 0;
  border-left: 1px solid rgba(14, 30, 46, 0.08);
  border-radius: 0;
  background: transparent;
  padding: 7px 10px;
}

.company-discovery-main .company-process-bar.process-timeline li:first-child,
.company-discovery-main .company-process-bar.process-timeline .timeline-step:first-child {
  border-left: 0;
}

.company-discovery-main .company-process-bar.process-timeline li + li::before,
.company-discovery-main .company-process-bar.process-timeline .timeline-step + .timeline-step::before,
.company-discovery-main .company-process-bar.process-timeline li i {
  display: none;
}

.company-discovery-main .company-process-bar.process-timeline li strong,
.company-discovery-main .company-process-bar.process-timeline .timeline-step strong {
  font-size: 0.78rem;
}

.company-discovery-main .company-process-bar.process-timeline li span,
.company-discovery-main .company-process-bar.process-timeline .timeline-step span,
.company-discovery-main .company-process-bar.process-timeline li p,
.company-discovery-main .company-process-bar.process-timeline .timeline-step p {
  font-size: 0.7rem;
  line-height: 1.25;
}

.company-discovery-main .company-process-rules {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.company-discovery-main .company-process-rules li {
  border-radius: 999px;
  padding: 4px 8px;
  background: #ffffff;
  color: #475569;
  font-size: 0.72rem;
  font-weight: 800;
}

.company-discovery-main .student-discovery-flow {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  padding: 12px 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.08), #ffffff 60%);
  box-shadow: none;
}

.company-discovery-main .student-discovery-flow-copy h2 {
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  line-height: 1.16;
}

.company-discovery-main .student-discovery-flow-copy p {
  max-width: 36rem;
  font-size: 0.88rem;
}

.company-discovery-main .student-discovery-flow-steps {
  display: none;
}

.company-discovery-main .student-search-layout {
  grid-template-columns: minmax(180px, 220px) minmax(0, 1fr);
  gap: 16px;
}

.company-discovery-main .student-filter-sidebar {
  top: 12px;
  padding: 12px;
  border-radius: 16px;
  box-shadow: none;
}

.company-discovery-main .student-filter-details > summary {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.company-discovery-main .student-filter-group {
  gap: 8px;
  padding-block: 10px;
}

.company-discovery-main .student-filter-list {
  max-height: 180px;
}

.company-discovery-main .student-filter-check {
  min-height: 32px;
  padding: 6px 7px;
  font-size: 0.78rem;
}

.company-discovery-main .student-results-toolbar {
  align-items: flex-end;
  border-bottom: 1px solid rgba(14, 30, 46, 0.08);
  padding-bottom: 10px;
}

.company-discovery-main .student-results-toolbar h2 {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

/* Schnitt 43: Nachrichtenbereich integriert statt lauter Seitenblock. */
.company-dashboard-chat {
  background: #ffffff;
  border-color: rgba(14, 30, 46, 0.08);
}

.company-dashboard-chat header {
  min-height: 42px;
  padding: 0.85rem 1rem 0.45rem;
}

.company-dashboard-chat header span {
  font-size: 0.98rem;
}

.company-dashboard-chat header a {
  color: #0369a1;
  font-size: 0.86rem;
}

.chat-conversation-list {
  gap: 0.55rem;
  padding: 0.55rem 1rem;
}

.company-dashboard-chat .chat-conversation-card {
  min-height: 0;
  border-radius: 14px;
  border-color: rgba(14, 30, 46, 0.08);
  background: #f8fafc;
  padding: 0.75rem 0.85rem;
}

.company-dashboard-chat .chat-conversation-card.active {
  border-color: rgba(14, 165, 233, 0.36);
  background: #f0f9ff;
}

.chat-active-thread {
  padding: 0.55rem 1rem 1rem;
}

.chat-active-head {
  margin-bottom: 0.55rem;
}

.chat-message-list {
  gap: 0.5rem;
}

.company-dashboard-chat .chat-message {
  max-width: 88%;
  border-radius: 14px;
  padding: 0.7rem 0.8rem;
  box-shadow: none;
}

.company-dashboard-chat .chat-message.own {
  background: #0369a1;
}

.company-dashboard-chat .chat-message.other {
  background: #f1f5f9;
}

.company-dashboard-chat .chat-message p {
  line-height: 1.42;
}

.chat-compose {
  gap: 0.55rem;
  margin-top: 0.75rem;
}

.chat-compose input {
  min-height: 2.65rem;
}

.company-dashboard-chat .chat-compose .button {
  min-height: 2.65rem;
  padding-inline: 1rem;
}

/* Schnitt 44: Student Prozessseiten zeigen zuerst Arbeit, Prozess bleibt kompakt. */
.student-process-workspace .student-process-main {
  gap: 12px;
}

.student-process-workspace .detail-header {
  min-height: 0;
  padding: 1rem 1.15rem;
  border-radius: 18px;
}

.student-process-workspace .detail-header h1 {
  font-size: clamp(1.75rem, 2.6vw, 2.45rem);
}

.student-process-workspace .detail-header p {
  max-width: 52rem;
  font-size: 0.94rem;
}

.student-process-workspace .process-timeline {
  display: flex;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(14, 30, 46, 0.08);
  border-radius: 16px;
  background: #ffffff;
  padding: 0;
}

.student-process-workspace .process-timeline li,
.student-process-workspace .process-timeline .timeline-step {
  min-height: 56px;
  border: 0;
  border-left: 1px solid rgba(14, 30, 46, 0.08);
  border-radius: 0;
  background: transparent;
  padding: 9px 11px;
}

.student-process-workspace .process-timeline li:first-child,
.student-process-workspace .process-timeline .timeline-step:first-child {
  border-left: 0;
}

.student-process-workspace .process-timeline li + li::before,
.student-process-workspace .process-timeline .timeline-step + .timeline-step::before {
  display: none;
}

.student-process-workspace .process-timeline li strong,
.student-process-workspace .process-timeline .timeline-step strong {
  font-size: 0.86rem;
}

.student-process-workspace .process-timeline li p,
.student-process-workspace .process-timeline .timeline-step p,
.student-process-workspace .process-timeline li span,
.student-process-workspace .process-timeline .timeline-step span {
  font-size: 0.72rem;
  line-height: 1.28;
}

.student-process-workspace .process-guard.process-guard-compact {
  border-color: rgba(14, 30, 46, 0.08);
  border-radius: 16px;
  background: #ffffff;
  padding: 0.8rem 0.9rem;
}

.student-process-workspace .process-guard.process-guard-compact strong {
  font-size: 0.76rem;
}

.student-process-workspace .process-guard.process-guard-compact ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.student-process-workspace .process-guard.process-guard-compact li {
  border-radius: 999px;
  padding: 4px 8px;
  background: #f8fafc;
  color: #475569;
  font-size: 0.72rem;
  font-weight: 800;
}

.student-process-workspace .workflow-step-list {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.student-process-workspace .workflow-step-list > * {
  min-width: 150px;
}

.student-process-workspace .status-strip {
  border-radius: 16px;
  background: #ffffff;
}

@media (max-width: 1200px) {
  .student-profile-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .student-profile-showcase {
    grid-template-columns: 1fr;
  }

  .student-profile-story,
  .student-profile-showcase-card {
    border-radius: 16px;
    padding: 15px;
  }

  .student-profile-actions-inline .button {
    width: 100%;
  }
}

/* Schnitt 38: Angebotsformular in Arbeitsabschnitte statt Feldsammlung gliedern. */
.offer-form-block {
  display: grid;
  gap: 12px;
  border-top: 1px solid rgba(14, 30, 46, 0.08);
  padding-top: 14px;
}

.offer-form-block-head,
.offer-detail-group summary {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #0b1220;
  font-weight: 900;
}

.offer-form-block-head span,
.offer-detail-group summary span {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: #e0f2fe;
  color: #075985;
  font-size: 0.72rem;
}

.offer-form-guidance {
  max-width: 720px;
  margin: 0;
  color: #475569;
  font-size: 0.86rem;
  line-height: 1.5;
}

.offer-essential-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.offer-detail-group {
  border: 1px solid rgba(14, 30, 46, 0.08);
  border-radius: 16px;
  background: #f8fafc;
  padding: 0;
}

.offer-detail-group summary {
  cursor: pointer;
  list-style: none;
  padding: 12px;
}

.offer-detail-group summary::-webkit-details-marker {
  display: none;
}

.offer-detail-group summary::after {
  content: "+";
  margin-left: auto;
  color: #0284c7;
  font-size: 1.1rem;
}

.offer-detail-group[open] summary::after {
  content: "-";
}

.offer-detail-group .offer-field-grid,
.offer-detail-group .offer-form-guidance {
  padding: 0 12px 12px;
}

.offer-detail-group .offer-form-guidance {
  color: #64748b;
}

.offer-form-block .field.full textarea {
  min-height: 180px;
}

.counterproposal-card {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(217, 119, 6, 0.24);
  border-radius: 20px;
  background: linear-gradient(135deg, #fff7ed, #ffffff 72%);
  box-shadow: var(--shadow-product-card);
  padding: 16px;
}

.counterproposal-card header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.counterproposal-card header > strong {
  flex: 0 0 auto;
  border: 1px solid rgba(217, 119, 6, 0.2);
  border-radius: 999px;
  background: #ffffff;
  color: #9a3412;
  padding: 7px 10px;
  font-size: 0.72rem;
  font-weight: 900;
}

.counterproposal-card h2 {
  margin: 0;
  color: #78350f;
  font-size: 1rem;
  line-height: 1.25;
}

.counterproposal-card p {
  margin: 0;
  color: #334155;
  line-height: 1.48;
}

.counterproposal-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.counterproposal-facts span {
  display: grid;
  gap: 2px;
  border: 1px solid rgba(245, 158, 11, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.76);
  padding: 9px 10px;
  color: #334155;
  font-size: 0.82rem;
  line-height: 1.35;
}

.counterproposal-facts strong {
  color: #92400e;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.counterproposal-impact {
  display: grid;
  gap: 8px;
  border-top: 1px solid rgba(217, 119, 6, 0.14);
  padding-top: 12px;
}

.counterproposal-impact span {
  display: grid;
  gap: 2px;
  color: #475569;
  font-size: 0.83rem;
  line-height: 1.38;
}

.counterproposal-impact strong {
  color: #0f172a;
  font-size: 0.76rem;
  font-weight: 900;
}

.admin-review-page {
  gap: 16px;
}

.admin-review-intro {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.admin-review-intro article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 10px;
  row-gap: 3px;
  align-items: start;
  min-width: 0;
  border: 1px solid rgba(14, 30, 46, 0.08);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: var(--shadow-product-card);
  padding: 13px;
}

.admin-review-intro span {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #e0f2fe;
  color: #0369a1;
  font-size: 0.7rem;
  font-weight: 900;
}

.admin-review-intro strong {
  color: #0b1220;
  font-size: 0.92rem;
  line-height: 1.25;
}

.admin-review-intro p {
  grid-column: 2;
  margin: 0;
  color: #64748b;
  font-size: 0.82rem;
  line-height: 1.45;
}

.admin-request-form {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  padding: 16px;
}

@media (max-width: 900px) {
  .admin-review-intro {
    grid-template-columns: 1fr;
  }

  .admin-request-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .company-process-rules {
    display: grid;
    gap: 6px;
  }

  .company-process-rules li {
    justify-content: flex-start;
    width: 100%;
    border-radius: 12px;
    font-size: 0.72rem;
  }

  .student-card-actions {
    grid-template-columns: 1fr;
  }
}

/* Schnitt 40: Ã¶ffentlicher Einstieg leichter und frÃ¼her dreispaltig. */
.premium-home-hero .landing-hero-inner {
  gap: 30px;
  padding-block: 76px 64px;
}

.premium-home-hero .landing-lead {
  max-width: 780px;
}

.premium-home-hero .landing-cta-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 14px;
}

.premium-home-hero .landing-cta-card {
  min-height: 196px;
  border-radius: 22px;
  padding: 20px;
}

.premium-home-hero .landing-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
}

.premium-home-hero .landing-cta-card h2 {
  font-size: 1.1rem;
}

.premium-home-hero .landing-cta-card p {
  font-size: 0.92rem;
  line-height: 1.45;
}

.premium-home-hero .landing-card-button {
  margin-top: auto;
  min-height: 42px;
  padding: 0 16px;
  font-size: 0.88rem;
}

.premium-home-hero {
  padding-top: clamp(34px, 4vw, 52px);
  padding-bottom: clamp(34px, 4vw, 52px);
}

.premium-home-hero .landing-hero-inner {
  gap: 22px;
  padding-block: 0;
}

.premium-home-hero h1 {
  font-size: clamp(2.45rem, 3.45vw, 3.35rem);
}

.premium-home-hero .landing-lead {
  max-width: 660px;
  line-height: 1.5;
}

.premium-home-hero .landing-cta-card {
  min-height: 176px;
  padding: 18px;
}

.premium-home-hero .landing-card-icon {
  width: 42px;
  height: 42px;
}

@media (max-width: 720px) {
  .premium-home-hero .landing-hero-inner {
    gap: 22px;
    padding-block: 52px 42px;
  }

  .premium-home-hero .landing-cta-grid {
    grid-template-columns: 1fr;
  }

  .premium-home-hero .landing-cta-card {
    min-height: 0;
  }
}

/* Schnitt 41: App-Shell auf Tablet und Mobile kompakt halten. */
@media (max-width: 900px) {
  .company-dashboard-sidebar,
  .student-dashboard-sidebar {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 10px;
  }

  .company-dashboard-brand,
  .student-dashboard-brand {
    min-height: 40px;
  }

  .company-dashboard-role,
  .student-dashboard-role {
    min-width: 0;
    padding: 0;
    border: 0;
  }

  .company-dashboard-role p,
  .student-dashboard-role p {
    display: none;
  }

  .company-dashboard-nav,
  .student-dashboard-nav {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }

  .company-dashboard-nav a,
  .student-dashboard-nav a {
    min-height: 38px;
    justify-content: center;
    padding: 8px;
    text-align: center;
  }

  .company-dashboard-nav small,
  .student-dashboard-nav small {
    display: none;
  }

  .company-dashboard-user,
  .student-dashboard-user {
    min-width: 168px;
    padding: 8px;
  }

  .company-dashboard-user .profile-photo,
  .student-dashboard-user .profile-photo {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 620px) {
  .company-dashboard-sidebar,
  .student-dashboard-sidebar {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .company-dashboard-user,
  .student-dashboard-user {
    display: none;
  }

  .company-dashboard-nav,
  .student-dashboard-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 621px) and (max-width: 900px) {
  .company-dashboard-sidebar,
  .student-dashboard-sidebar {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .company-dashboard-user,
  .student-dashboard-user {
    display: none;
  }

  .company-dashboard-nav,
  .student-dashboard-nav {
    display: flex;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding-bottom: 2px;
  }

  .company-dashboard-nav a,
  .student-dashboard-nav a {
    flex: 0 0 auto;
    min-width: 118px;
  }

  .company-dashboard-nav a.active,
  .student-dashboard-nav a.active {
    order: -1;
  }

  .company-dashboard-nav,
  .student-dashboard-nav,
  .company-process-bar {
    scrollbar-width: none;
  }

  .company-dashboard-nav::-webkit-scrollbar,
  .student-dashboard-nav::-webkit-scrollbar,
  .company-process-bar::-webkit-scrollbar {
    display: none;
  }
}

/* Schnitt 42: Prozessseiten ohne breite Kartenleiste fÃ¼hren. */
@media (max-width: 900px) {
  .process-timeline {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 4px;
    overflow: visible;
    min-width: 0;
  }

  .process-timeline li,
  .process-timeline .timeline-step {
    min-width: 0;
    padding: 8px 6px;
    border-radius: 12px;
  }

  .process-timeline .badge {
    max-width: 100%;
    padding: 3px 6px;
    font-size: 0.62rem;
    white-space: nowrap;
  }

  .process-timeline strong {
    font-size: 0.76rem;
    line-height: 1.18;
  }

  .process-timeline p {
    display: none;
  }

  .process-guard.process-guard-compact {
    gap: 8px;
    margin-bottom: 12px;
    padding: 10px;
  }

  .process-guard.process-guard-compact ul {
    gap: 6px;
  }

  .process-guard.process-guard-compact li {
    width: auto;
    min-height: 28px;
    padding: 5px 9px;
    font-size: 0.74rem;
  }

  .student-process-workspace .process-guard.process-guard-compact {
    gap: 6px;
    padding: 8px 10px;
  }

  .student-process-workspace .process-guard.process-guard-compact ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .student-process-workspace .process-guard.process-guard-compact li:nth-child(n+3) {
    display: none;
  }

  .student-process-workspace .status-strip {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 6px;
    min-height: auto;
    padding: 8px 0;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .student-process-workspace .status-strip::-webkit-scrollbar {
    display: none;
  }

  .student-process-workspace .status-strip .badge {
    flex: 0 0 auto;
    min-height: 30px;
    padding: 5px 8px;
    font-size: 0.72rem;
    white-space: nowrap;
  }

  .student-process-workspace .student-offer-decision {
    gap: 10px;
    padding: 12px;
    border-radius: 16px;
  }

  .student-process-workspace .student-offer-decision header {
    gap: 5px;
  }

  .student-process-workspace .student-offer-decision h2 {
    font-size: 1.18rem;
  }

  .student-process-workspace .student-offer-decision header p {
    display: none;
  }

  .student-process-workspace .student-offer-choice-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .student-process-workspace .student-counter-proposal {
    padding: 9px 10px;
  }

  .order-workflow > .detail-header,
  .reservation-workflow > .detail-header,
  .booking-workflow > .detail-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 14px;
    border-radius: 16px;
    box-shadow: var(--shadow-product-card);
  }

  .order-workflow > .detail-header h1,
  .reservation-workflow > .detail-header h1,
  .booking-workflow > .detail-header h1 {
    font-size: 1.45rem;
    line-height: 1.12;
  }

  .order-workflow > .detail-header p,
  .reservation-workflow > .detail-header p,
  .booking-workflow > .detail-header p {
    margin-top: 4px;
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .order-workflow > .detail-header .detail-header-meta,
  .reservation-workflow > .detail-header .detail-header-meta,
  .booking-workflow > .detail-header .detail-header-meta {
    justify-content: flex-end;
  }
}

@media (max-width: 620px) {
  .order-workflow > .detail-header,
  .reservation-workflow > .detail-header,
  .booking-workflow > .detail-header {
    grid-template-columns: 1fr;
  }
}

/* Schnitt 45: Angebotsverhandlung ab Tablet wieder mit Chat neben dem Angebot. */
@media (min-width: 800px) and (max-width: 900px) {
  .offer-negotiation-page {
    gap: 10px;
  }

  .offer-negotiation-heading {
    padding-bottom: 0;
  }

  .offer-negotiation-heading h1 {
    font-size: 1.65rem;
  }

  .offer-negotiation-heading .lead {
    font-size: 0.95rem;
    line-height: 1.45;
  }

  .offer-process-compact {
    gap: 6px;
    padding: 8px 10px;
    border-radius: 14px;
  }

  .offer-process-compact-track {
    gap: 5px;
  }

  .offer-process-compact-track span,
  .offer-process-compact-track strong {
    min-height: 28px;
    padding: 4px 6px;
    font-size: 0.72rem;
  }

  .offer-status-bar li {
    gap: 4px;
    font-size: 0.72rem;
  }

  .offer-status-bar li span {
    height: 5px;
  }

  .offer-negotiation-split {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr);
    gap: 12px;
  }

  .offer-mobile-tabs {
    display: none;
  }

  .offer-form-panel,
  .offer-chat-panel {
    border-radius: 18px;
    padding: 14px;
  }

  .offer-chat-panel {
    min-height: 560px;
  }

  .offer-field-grid {
    grid-template-columns: 1fr;
  }
}

/* Schnitt 46: Studentensuche auf Tablet zuerst als Talentliste, Filter nur bei Bedarf. */
@media (min-width: 761px) and (max-width: 980px) {
  .company-discovery-main .student-search-heading {
    grid-template-columns: minmax(0, 1fr) auto;
    text-align: left;
  }

  .company-discovery-main .student-search-heading .notification-bell {
    align-self: center;
  }

  .company-discovery-main .company-process-strip {
    padding: 10px;
  }

  .company-discovery-main .company-process-rules {
    display: none;
  }

  .company-discovery-main .company-process-bar li {
    min-height: 50px;
    padding: 8px;
  }

  .company-discovery-main .company-process-bar li span {
    font-size: 0.66rem;
  }

  .company-discovery-main .student-search-layout {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .company-discovery-main .student-filter-sidebar {
    position: static;
    padding: 10px;
  }

  .student-filter-details > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 42px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #f8fafc;
    color: #0f172a;
    cursor: pointer;
    font-weight: 900;
    padding: 9px 12px;
  }

  .student-filter-details > summary::after {
    content: "+";
    color: #0ea5e9;
    font-size: 1.12rem;
    line-height: 1;
  }

  .student-filter-details[open] > summary::after {
    content: "-";
  }

  .student-filter-details:not([open]) > .student-filter-body {
    display: none;
  }

  .student-filter-details[open] > .student-filter-body {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding-top: 12px;
  }

  .company-discovery-main .student-filter-group {
    margin: 0;
    padding: 0;
  }

  .company-discovery-main .student-filter-list {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .company-discovery-main .student-filter-list::-webkit-scrollbar {
    display: none;
  }

  .company-discovery-main .student-filter-check {
    flex: 0 0 auto;
    min-height: 34px;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #f8fafc;
    padding: 6px 10px;
    white-space: nowrap;
  }

  .company-discovery-main .student-filter-actions {
    align-self: end;
    grid-template-columns: 1fr 1fr;
  }

  .company-discovery-main .student-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Schnitt 52: Mobile Startseite als direkter Rollen-Einstieg statt langer Hero-FlÃ¤che. */
@media (max-width: 720px) {
  .premium-home-hero {
    padding-top: 24px;
    padding-bottom: 28px;
  }

  .premium-home-hero .landing-hero-inner {
    gap: 16px;
  }

  .premium-home-hero h1 {
    font-size: clamp(2rem, 10vw, 2.55rem);
    line-height: 1.03;
  }

  .premium-home-hero .landing-lead {
    max-width: 100%;
    font-size: 0.98rem;
    line-height: 1.45;
  }

  .premium-home-hero .landing-cta-grid {
    gap: 10px;
  }

  .premium-home-hero .landing-cta-card {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 6px 12px;
    align-items: center;
    min-height: 0;
    padding: 12px;
    border-radius: 16px;
  }

  .premium-home-hero .landing-card-icon {
    grid-row: 1 / span 2;
    width: 42px;
    height: 42px;
  }

  .premium-home-hero .landing-cta-card h2 {
    margin: 0;
    font-size: 1rem;
  }

  .premium-home-hero .landing-cta-card p {
    display: none;
  }

  .premium-home-hero .landing-card-button {
    justify-self: start;
    min-height: 34px;
    padding: 0 12px;
    font-size: 0.82rem;
  }

  .company-dashboard-layout .company-process-strip {
    gap: 8px;
    padding: 10px;
  }

  .company-dashboard-layout .company-process-bar.process-timeline li {
    flex-basis: 112px;
    min-height: 56px;
    padding: 8px;
  }

  .company-dashboard-layout .company-process-bar li strong {
    font-size: 0.76rem;
  }

  .company-dashboard-layout .company-process-bar li span {
    font-size: 0.62rem;
  }

  .company-dashboard-layout .company-process-rules {
    display: none;
  }
}

/* Endprodukt mobile Einstieg: alle drei Rollen sollen ohne Scroll-Orgie sofort erfassbar sein. */
@media (max-width: 767px) {
  .premium-home-hero {
    padding: 1.35rem 0.875rem 1.4rem;
  }

  .premium-home-hero .landing-hero-inner {
    gap: 0.85rem;
  }

  .premium-home-hero h1,
  .premium-home-hero .landing-hero-inner h1 {
    font-size: clamp(1.85rem, 8vw, 2.08rem);
    line-height: 1.06;
  }

  .premium-home-hero .landing-lead {
    font-size: 0.94rem;
    line-height: 1.42;
  }

  .premium-home-hero .landing-cta-grid {
    gap: 0.55rem;
  }

  .premium-home-hero .landing-cta-card {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 4px 10px;
    min-height: 0;
    padding: 0.68rem;
    border-radius: 0.875rem;
  }

  .premium-home-hero .landing-card-icon {
    width: 38px;
    height: 38px;
  }

  .premium-home-hero .landing-cta-card h2 {
    font-size: 0.98rem;
  }

  .premium-home-hero .landing-cta-card p {
    display: none;
  }

  .premium-home-hero .landing-card-button {
    min-height: 32px;
    padding: 0 0.72rem;
    font-size: 0.8rem;
  }
}

/* Product core 12: kanonischer Public-Kontrast und ruhige Typografie. */
.public-header .brand-lockup,
.public-header .brand-word {
  color: #ffffff;
}

.public-header .brand-accent {
  color: #7dd3fc;
}

.public-header .button-secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.34);
}

.public-header .button-secondary:hover,
.public-header .button-secondary:focus-visible {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(125, 211, 252, 0.62);
}

.premium-home-hero,
.platform-hero,
.auth-brand-panel {
  background-color: #0b1220;
}

.premium-home-hero h1,
.premium-home-hero .landing-hero-inner h1 {
  max-width: 48rem;
  color: #ffffff;
  font-size: 3.25rem;
  line-height: 1.05;
}

.premium-home-hero .landing-lead {
  max-width: 42rem;
  color: #e2e8f0;
  font-size: 1.125rem;
  line-height: 1.6;
}

.premium-home-hero .landing-cta-card {
  min-height: 0;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.84);
  border-color: rgba(125, 211, 252, 0.24);
}

.premium-home-hero .landing-cta-card:hover,
.premium-home-hero .landing-cta-card:focus-within {
  background: rgba(15, 23, 42, 0.94);
}

.premium-home-hero .landing-cta-card h2 {
  color: #ffffff;
  font-size: 1.25rem;
  line-height: 1.2;
}

.premium-home-hero .landing-cta-card p {
  color: #dbeafe;
  font-size: 0.95rem;
  line-height: 1.5;
}

.platform-hero h1 {
  color: #ffffff;
  font-size: 3.25rem;
  line-height: 1.08;
}

.platform-hero p:not(.eyebrow),
.auth-brand-panel li {
  color: #e2e8f0;
}

.auth-brand-panel .auth-logo,
.auth-brand-panel .auth-logo *,
.auth-brand-panel h1 {
  color: #ffffff;
}

@media (max-width: 767px) {
  .premium-home-hero h1,
  .premium-home-hero .landing-hero-inner h1 {
    font-size: 2.1rem;
    line-height: 1.08;
  }

  .premium-home-hero .landing-lead {
    font-size: 0.95rem;
    line-height: 1.45;
  }

  .platform-hero h1 {
    font-size: 2rem;
    line-height: 1.1;
  }
}

/* Stabiler Public-Frame: keine 100vw Full-Bleed-Technik, damit Desktop und Mobile nie seitlich auslaufen. */
.topbar.public-header,
.public-header,
.premium-home-hero,
.landing-traffic,
.public-footer {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

/* Premium-Mikrointeraktion: Buttons und zentrale Match-/Chat-Elemente reagieren sichtbar, ohne Fachlogik vorzutÃ¤uschen. */
.button,
button,
.student-focus-button,
.offer-chat-compose .button {
  transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease, background 150ms ease, color 150ms ease;
}

.button[aria-busy="true"],
.button.is-loading,
button[aria-busy="true"],
button.is-loading {
  position: relative;
  pointer-events: none;
  opacity: 0.82;
}

.button[aria-busy="true"]::after,
.button.is-loading::after,
button[aria-busy="true"]::after,
button.is-loading::after {
  content: "";
  width: 0.9em;
  height: 0.9em;
  margin-left: 0.55rem;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 999px;
  animation: itkfa-spin 650ms linear infinite;
}

@keyframes itkfa-spin {
  to {
    transform: rotate(360deg);
  }
}

.offer-panel-head h2,
.offer-student-strip strong,
.offer-chat-context strong,
.student-match-progress-head strong {
  color: var(--color-primary);
}

.offer-status-bar li.done,
.offer-status-bar li.current,
.offer-counter-drawer summary {
  color: var(--color-accent-hover);
}

.offer-form-panel,
.offer-chat-panel,
.offer-chat-message,
.offer-chat-proposal-card li,
.student-card-facts div {
  border-color: var(--color-line);
}

/* Finaler 430px-Standard: 431px deckt Browser-Rundung bei echten 430px-Viewports ab. */
@media (max-width: 431px) {
  .app-shell:has(.company-dashboard-layout) .workspace-main,
  .app-shell:has(.student-dashboard-layout) .workspace-main {
    width: min(100% - 16px, 100%);
    padding: 8px 0;
  }

  .company-dashboard-layout,
  .student-dashboard-layout {
    gap: 10px;
  }

  .company-dashboard-sidebar,
  .student-dashboard-sidebar,
  .company-dashboard-toolbar,
  .student-dashboard-toolbar,
  .student-ampel-topbar,
  .offer-form-panel,
  .offer-chat-panel,
  .guided-profile-form,
  .form-advanced-group,
  .compact-form-grid,
  .form-grid {
    border-radius: 14px;
  }

  .company-dashboard-sidebar,
  .student-dashboard-sidebar,
  .offer-form-panel,
  .offer-chat-panel {
    padding: 12px;
  }

  .company-dashboard-nav,
  .student-dashboard-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .company-dashboard-nav a,
  .student-dashboard-nav a,
  .dashboard-mobile-more summary,
  .dashboard-mobile-more a {
    min-height: 36px;
    padding: 7px 8px;
    font-size: 0.76rem;
  }

  .company-dashboard-toolbar,
  .student-dashboard-toolbar,
  .student-ampel-topbar {
    padding: 14px;
  }

  .company-dashboard-toolbar h1,
  .student-dashboard-toolbar h1,
  .student-ampel-topbar h1 {
    font-size: 1.4rem;
    line-height: 1.12;
  }

  .company-dashboard-layout > .company-dashboard-chat {
    height: 280px;
    min-height: 280px;
  }

  .student-dashboard-layout > .company-dashboard-chat,
  .student-dashboard-layout .company-dashboard-chat {
    height: 320px;
    min-height: 320px;
  }

  .company-dashboard-chat .chat-message-list {
    max-height: 145px;
  }

  .offer-negotiation-heading h1 {
    font-size: 1.35rem;
  }

  .offer-focus-band {
    display: none;
  }

  .offer-mobile-tabs {
    top: 58px;
    border-radius: 14px;
    padding: 6px;
  }

  .offer-mobile-tabs a {
    min-height: 36px;
    padding: 8px 10px;
    font-size: 0.82rem;
  }

  .offer-panel-head h2 {
    font-size: 1.08rem;
  }

  .offer-status-bar li {
    flex-basis: 104px;
    font-size: 0.7rem;
  }

  .form-advanced-group .compact-form-grid,
  .compact-form-grid,
  .form-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .button,
  .offer-form-actions .button,
  .student-offer-choice-row .button {
    min-height: 44px;
  }
}

/* Produkt-Einstieg: Trust-Zeile statt weiterer Kartenwand. */
.landing-trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  width: min(1040px, 100%);
  padding: 0;
  margin: 0.2rem 0 0;
  overflow: hidden;
  list-style: none;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1.25rem;
}

.landing-trust-strip li {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
  padding: 0.95rem 1rem;
  background: rgba(11, 18, 32, 0.28);
}

.landing-trust-strip strong {
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.2;
}

.landing-trust-strip span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  line-height: 1.35;
}

.profile-privacy-line {
  margin: 0;
  padding: 0.8rem 0.95rem;
  color: #075985;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.45;
  background: rgba(14, 165, 233, 0.08);
  border: 1px solid rgba(14, 165, 233, 0.18);
  border-radius: 0.9rem;
}

.premium-home-hero .landing-hero-inner {
  align-items: flex-start;
}

.premium-home-hero .landing-cta-card {
  border-radius: 1.15rem;
}

.landing-how h2 {
  max-width: 760px;
}

@media (max-width: 960px) {
  .landing-trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .landing-trust-strip {
    grid-template-columns: 1fr 1fr;
    margin-top: 0.15rem;
    border-radius: 0.9rem;
  }

  .landing-trust-strip li {
    padding: 0.58rem 0.62rem;
  }

  .landing-trust-strip strong {
    font-size: 0.72rem;
  }

  .landing-trust-strip span {
    display: none;
  }
}

/* Endprodukt Kartenregel: Studentenkarten haben eine klare Hauptaktion; die Karte selbst fÃ¼hrt ins Profil. */
.talent-market-card .student-card-actions,
.student-search-card .student-card-actions {
  grid-template-columns: minmax(0, 1fr);
}

.talent-market-card .student-card-actions .button,
.talent-market-card .student-card-actions form,
.student-search-card .student-card-actions .button,
.student-search-card .student-card-actions form {
  width: 100%;
}

.student-empty-state .button,
.student-work-card.empty .button {
  width: fit-content;
  margin-top: 4px;
}

/* Product core 01: canonical overrides for the local product baseline. */
.auth-combo-shell {
  min-height: auto;
  padding: clamp(1.25rem, 4vw, 3rem) 1rem;
}

.auth-combo-card.auth-split-card {
  width: min(58rem, 100%);
  border: 1px solid var(--color-line);
  border-radius: 1rem;
  box-shadow: 0 1.5rem 4rem rgba(15, 23, 42, 0.12);
}

.auth-brand-panel h1 {
  font-size: clamp(1.7rem, 3vw, 2.65rem);
  letter-spacing: 0;
}

.auth-form-panel {
  padding: clamp(1.5rem, 4vw, 2.8rem);
}

.auth-panel h1 {
  margin-bottom: 1rem;
  font-size: 1.65rem;
  letter-spacing: 0;
}

@media (max-width: 760px) {
  .auth-combo-shell {
    padding: 0.75rem;
  }

  .auth-combo-card.auth-split-card {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    border-radius: 0.875rem;
  }

  .auth-brand-panel {
    display: grid;
    gap: 0.625rem;
    padding: 1rem;
  }

  .auth-brand-panel .auth-logo img {
    width: 2.75rem;
    height: 2.75rem;
  }

  .auth-brand-panel h1 {
    max-width: 18rem;
    font-size: 1.12rem;
    line-height: 1.18;
  }

  .auth-brand-panel ul {
    display: none;
  }

  .auth-form-panel {
    gap: 0.875rem;
    padding: 1rem;
  }

  .auth-tabs {
    margin-bottom: 0;
  }

  .auth-panel h1 {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .auth-form {
    gap: 0.75rem;
  }
}

/* Product core 02: readable premium action surfaces. Sky stays the accent; filled actions use a darker blue for contrast. */
:root {
  --color-action: #0369a1;
  --color-action-hover: #075985;
  --color-action-soft: rgba(3, 105, 161, 0.12);
}

.button-primary,
.landing-card-button,
.public-header .button-primary,
.auth-submit,
.notification-badge,
.student-profile-action.primary,
.chat-message.own {
  background: var(--color-action);
  border-color: var(--color-action);
  color: #ffffff;
}

.button-primary:hover,
.button-primary:focus-visible,
.landing-card-button:hover,
.landing-card-button:focus-visible,
.public-header .button-primary:hover,
.public-header .button-primary:focus-visible,
.auth-submit:hover,
.auth-submit:focus-visible,
.student-profile-action.primary:hover,
.student-profile-action.primary:focus-visible {
  background: var(--color-action-hover);
  border-color: var(--color-action-hover);
  color: #ffffff;
}

.button-secondary,
.public-header .button-secondary,
.student-profile-action.secondary {
  color: var(--color-action);
  border-color: rgba(3, 105, 161, 0.34);
}

.company-dashboard-nav a.active,
.student-dashboard-nav a.active {
  background: rgba(14, 165, 233, 0.14);
  color: #ffffff;
}

.chat-message.own span,
.chat-message.own small,
.chat-message.own p {
  color: #ffffff;
}

.student-profile-action-kicker,
.platform-step-timeline li > span,
.landing-timeline li > span {
  color: var(--color-action);
}

/* Endprodukt Logo-Regel: Originaldatei bleibt unverÃ¤ndert, der weisse Bildrand wird nur visuell beschnitten. */
.brand-emblem {
  background: transparent;
  overflow: hidden;
}

.brand-emblem img,
.public-header .brand-emblem img,
.company-dashboard-brand .brand-emblem img,
.student-dashboard-brand .brand-emblem img,
.sidebar .brand-emblem img {
  object-fit: cover;
  transform: scale(1.42);
  transform-origin: center;
}

.public-header .brand-emblem,
.public-header .brand-emblem img {
  width: 52px;
  height: 52px;
}

.company-dashboard-brand .brand-emblem,
.company-dashboard-brand .brand-emblem img,
.student-dashboard-brand .brand-emblem,
.student-dashboard-brand .brand-emblem img {
  width: 38px;
  height: 38px;
}

/* Endprodukt Landing-Regel: klarer Einstieg, keine Ã¼bergrosse Hero-FlÃ¤che auf Mobile. */
.premium-home-hero {
  min-height: auto;
}

.premium-home-hero h1 {
  font-size: 3rem;
  line-height: 1.04;
}

.premium-home-hero .landing-lead {
  font-size: 1.08rem;
}

@media (max-width: 767px) {
  .premium-home-hero {
    padding: 3rem 1rem 2rem;
  }

  .premium-home-hero .landing-hero-inner {
    gap: 1.25rem;
  }

  .premium-home-hero h1 {
    font-size: 2.25rem;
    line-height: 1.06;
  }

  .premium-home-hero .landing-lead {
    font-size: 1rem;
    line-height: 1.5;
  }

  .premium-home-hero .landing-cta-grid {
    gap: 0.75rem;
  }

  .premium-home-hero .landing-cta-card {
    gap: 0.75rem;
    padding: 1rem;
  }

  .premium-home-hero .landing-card-icon {
    width: 2.75rem;
    height: 2.75rem;
    font-size: 1rem;
  }
}

/* Endprodukt Regel: Public Navigation hat genau zwei ZustÃ¤nde.
   Desktop zeigt die Links, Mobile zeigt nur Logo und kompaktes MenÃ¼. */
@media (min-width: 768px) {
  .public-header .desktop-public-nav,
  .public-header > .public-header-actions {
    display: flex;
  }

  .public-header .public-mobile-menu {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .public-header .desktop-public-nav,
  .public-header > .public-header-actions {
    display: none;
  }

  .public-header .public-mobile-menu {
    display: block;
    margin-left: auto;
  }
}

/* Product core 02: process bar reflects the real current dashboard step. */
.company-process-bar li.done {
  color: #0f766e;
  background: rgba(20, 184, 166, 0.08);
  border-color: rgba(20, 184, 166, 0.24);
}

.company-process-bar li.current {
  color: #075985;
  background: rgba(14, 165, 233, 0.13);
  border-color: rgba(14, 165, 233, 0.38);
  box-shadow: inset 0 0 0 1px rgba(14, 165, 233, 0.18);
}

.company-process-bar li.next {
  color: #0f172a;
  background: #ffffff;
  border-color: rgba(14, 165, 233, 0.26);
}

.company-process-bar li.prepared {
  color: #64748b;
  background: #f8fafc;
  border-color: #e2e8f0;
}

.company-process-bar li small {
  display: block;
  margin-top: 0.2rem;
  color: inherit;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.25;
  opacity: 0.78;
}

/* Finaler Mobile-Einstieg: die drei Rollenentscheidungen mÃ¼ssen im ersten Blickfeld bleiben. */
@media (max-width: 767px) {
  .premium-home-hero {
    padding: 1.35rem 0.875rem 1.4rem;
  }

  .premium-home-hero .landing-hero-inner {
    gap: 0.85rem;
  }

  .premium-home-hero h1,
  .premium-home-hero .landing-hero-inner h1 {
    font-size: clamp(1.85rem, 8vw, 2.08rem);
    line-height: 1.06;
  }

  .premium-home-hero .landing-lead {
    font-size: 0.94rem;
    line-height: 1.42;
  }

  .premium-home-hero .landing-cta-grid {
    gap: 0.55rem;
  }

  .premium-home-hero .landing-cta-card {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 4px 10px;
    min-height: 0;
    padding: 0.68rem;
    border-radius: 0.875rem;
  }

  .premium-home-hero .landing-card-icon {
    width: 38px;
    height: 38px;
    font-size: 0.92rem;
  }

  .premium-home-hero .landing-cta-card h2 {
    font-size: 0.98rem;
  }

  .premium-home-hero .landing-cta-card p {
    display: none;
  }

  .premium-home-hero .landing-card-button {
    min-height: 32px;
    padding: 0 0.72rem;
    font-size: 0.8rem;
  }
}

/* Product core 13: finaler Header-Kontrast fÃ¼r den Login-Ghost-Button. */
.public-header a.button.button-secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.38);
}

.public-header a.button.button-secondary:hover,
.public-header a.button.button-secondary:focus-visible {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(125, 211, 252, 0.64);
}

/* Product core 15: klare Einstiegshandlung, gebrandeter Sitzungsfehler und LadezustÃ¤nde. */
.app-entry-actions {
  grid-template-columns: minmax(0, 220px);
  justify-content: start;
}

.app-entry-secondary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 12px 0 0;
  color: #64748b;
  font-size: 0.92rem;
  font-weight: 700;
}

.app-entry-secondary a {
  color: #0369a1;
  text-decoration: none;
}

.app-entry-secondary a:hover,
.app-entry-secondary a:focus-visible {
  color: #0ea5e9;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.session-error-page {
  max-width: 760px;
}

.loading-state {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(14, 30, 46, 0.08);
  border-radius: 18px;
  padding: 18px;
  background: #ffffff;
}

.skeleton,
.skeleton-line {
  position: relative;
  overflow: hidden;
  border-radius: 999px;
  background: linear-gradient(90deg, #e2e8f0 0%, #f8fafc 42%, #e2e8f0 84%);
  background-size: 220% 100%;
  animation: itkfa-skeleton 1.35s ease-in-out infinite;
}

.skeleton {
  min-height: 84px;
  border-radius: 18px;
}

.skeleton-line {
  height: 12px;
}

@keyframes itkfa-skeleton {
  0% {
    background-position: 120% 0;
  }

  100% {
    background-position: -120% 0;
  }
}

/* Product core 16: Logo wird allein gezeigt, ohne zusÃ¤tzliche Wortmarke daneben. */
.brand-logo-only {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-width: 0;
}

.brand-logo-only .brand-emblem,
.brand-logo-only .brand-emblem img,
.auth-logo img,
.admin-dashboard-brand.brand-logo-only .brand-emblem,
.admin-dashboard-brand.brand-logo-only .brand-emblem img,
.company-dashboard-brand.brand-logo-only .brand-emblem,
.company-dashboard-brand.brand-logo-only .brand-emblem img,
.student-dashboard-brand.brand-logo-only .brand-emblem,
.student-dashboard-brand.brand-logo-only .brand-emblem img {
  width: 3rem;
  height: 3rem;
  border-radius: 0;
  object-fit: contain;
}

.public-header .brand-logo-only .brand-emblem,
.public-header .brand-logo-only .brand-emblem img {
  width: 3.25rem;
  height: 3.25rem;
}

.auth-logo {
  gap: 0;
}

.auth-logo > span,
.company-dashboard-brand > strong,
.student-dashboard-brand > span:not(.brand-emblem),
.admin-dashboard-brand > span {
  display: none;
}

.admin-dashboard-brand {
  width: 3rem;
  height: 3rem;
  min-width: 3rem;
  border-radius: 0;
  background: url("/app-assets/img/itkfa-logo.png?v=endproduct-logo-7") center / contain no-repeat;
}

.admin-dashboard-brand.brand-logo-only {
  background: transparent;
}

.landing-cta-card {
  grid-template-columns: minmax(0, 1fr);
}

.landing-cta-card .landing-card-icon {
  display: none;
}

.student-ampel-icon,
.student-empty-icon {
  width: 0.9rem;
  height: 0.9rem;
  min-width: 0.9rem;
  border-radius: 999px;
  border: 0;
  box-shadow: none;
}

.student-ampel-icon > span,
.student-empty-icon::before,
.student-empty-icon::after {
  display: none;
}

.student-empty-icon {
  background: #cbd5e1;
}

/* Product core 17: ruhigere Premium-FlÃ¤che. */
.public-header {
  min-height: 4.75rem;
  padding-block: 0.75rem;
  background: rgba(11, 18, 32, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.public-header .brand-logo-only .brand-emblem,
.public-header .brand-logo-only .brand-emblem img {
  width: 3.65rem;
  height: 3.65rem;
}

.premium-home-hero {
  min-height: auto;
  padding: 5.4rem 1.5rem 4rem;
  background:
    radial-gradient(circle at 18% 10%, rgba(14, 165, 233, 0.18), transparent 32rem),
    linear-gradient(135deg, #07111f 0%, #0b1220 58%, #101827 100%);
}

.premium-home-hero .landing-hero-inner {
  max-width: 1120px;
  gap: 1.7rem;
}

.premium-home-hero h1,
.premium-home-hero .landing-hero-inner h1 {
  max-width: 820px;
  font-size: clamp(2.7rem, 5.6vw, 4.45rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.premium-home-hero .landing-lead {
  max-width: 660px;
  color: rgba(226, 232, 240, 0.86);
  font-size: 1.08rem;
  line-height: 1.65;
}

.premium-home-hero .landing-cta-grid {
  align-items: stretch;
  gap: 1rem;
  margin-top: 0.65rem;
}

.premium-home-hero .landing-cta-card {
  display: grid;
  min-height: 14rem;
  padding: 1.35rem;
  color: #eaf2fb;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1.15rem;
  box-shadow: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.premium-home-hero .landing-cta-card:hover,
.premium-home-hero .landing-cta-card:focus-within {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.082);
  border-color: rgba(125, 211, 252, 0.42);
}

.premium-home-hero .landing-cta-card h2 {
  margin: 0;
  font-size: 1.28rem;
  line-height: 1.22;
}

.premium-home-hero .landing-cta-card p {
  margin: 0.65rem 0 1.15rem;
  color: rgba(226, 232, 240, 0.78);
  font-size: 0.95rem;
  line-height: 1.55;
}

.premium-home-hero .landing-card-button {
  align-self: end;
  min-height: 2.7rem;
  border-radius: 0.7rem;
}

.premium-home-hero .landing-trust-strip {
  margin-top: 0.65rem;
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.12);
}

.company-dashboard-sidebar,
.student-dashboard-sidebar,
.sidebar {
  background: #ffffff;
  color: #0f172a;
  border-right: 1px solid #e2e8f0;
  box-shadow: none;
}

.company-dashboard-sidebar a,
.student-dashboard-sidebar a,
.sidebar a {
  color: #334155;
}

.company-dashboard-brand,
.student-dashboard-brand,
.sidebar-brand {
  min-height: 4.35rem;
  color: #0f172a;
}

.company-dashboard-nav a,
.student-dashboard-nav a,
.desktop-role-nav a {
  border-radius: 0.75rem;
}

.company-dashboard-nav a.active,
.student-dashboard-nav a.active,
.desktop-role-nav a.active {
  color: #075985;
  background: #e0f2fe;
}

.company-dashboard-main,
.student-dashboard-main,
.workspace-main {
  background: #f8fafc;
}

.company-dashboard-chat {
  background: #ffffff;
  border-left: 1px solid #e2e8f0;
}

@media (max-width: 767px) {
  .public-header .brand-logo-only .brand-emblem,
  .public-header .brand-logo-only .brand-emblem img {
    width: 3.05rem;
    height: 3.05rem;
  }

  .premium-home-hero {
    padding: 3.15rem 1rem 2rem;
  }

  .premium-home-hero h1,
  .premium-home-hero .landing-hero-inner h1 {
    font-size: clamp(2.1rem, 10vw, 2.75rem);
  }

  .premium-home-hero .landing-cta-card {
    min-height: 0;
    padding: 1rem;
  }
}

/* Product core 18: beschnittene Logo-Datei als rechteckige Marke anzeigen. */
.brand-logo-only .brand-emblem,
.brand-logo-only .brand-emblem img,
.company-dashboard-brand .brand-emblem,
.company-dashboard-brand .brand-emblem img,
.student-dashboard-brand .brand-emblem,
.student-dashboard-brand .brand-emblem img,
.sidebar-brand .brand-emblem,
.sidebar-brand .brand-emblem img,
.auth-logo img {
  width: 6.9rem;
  height: 2.3rem;
  object-fit: contain;
  border-radius: 0;
}

.public-header .brand-logo-only .brand-emblem,
.public-header .brand-logo-only .brand-emblem img {
  width: 7.4rem;
  height: 2.45rem;
}

.admin-dashboard-brand {
  width: 7rem;
  height: 2.35rem;
  min-width: 7rem;
  background-size: contain;
}

@media (max-width: 767px) {
  .public-header .brand-logo-only .brand-emblem,
  .public-header .brand-logo-only .brand-emblem img {
    width: 6.4rem;
    height: 2.15rem;
  }
}


/* mobileprozessfÃ¼hrung: Prozessleisten bleiben kompakt, horizontal kontrolliert und ohne Body-Ãœberlauf. */

/* Product core 19: finale Logo-Regel. Die Marke bleibt rechteckig und wird nie als Quadrat beschnitten. */
.brand-logo-only {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: auto;
  min-width: 0;
  height: auto;
  overflow: visible;
}

.brand-logo-only .brand-emblem,
.brand-logo-only .brand-emblem img,
.company-dashboard-brand .brand-emblem,
.company-dashboard-brand .brand-emblem img,
.student-dashboard-brand .brand-emblem,
.student-dashboard-brand .brand-emblem img,
.sidebar-brand .brand-emblem,
.sidebar-brand .brand-emblem img {
  display: block;
  width: 7.15rem;
  min-width: 7.15rem;
  max-width: 7.15rem;
  height: 2.35rem;
  min-height: 2.35rem;
  max-height: 2.35rem;
  object-fit: contain;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}

.public-header .brand-logo-only .brand-emblem,
.public-header .brand-logo-only .brand-emblem img {
  width: 7.55rem;
  min-width: 7.55rem;
  max-width: 7.55rem;
  height: 2.5rem;
  min-height: 2.5rem;
  max-height: 2.5rem;
}

.student-dashboard-brand,
.company-dashboard-brand,
.sidebar-brand {
  padding: 0;
}

@media (max-width: 767px) {
  .public-header .brand-logo-only .brand-emblem,
  .public-header .brand-logo-only .brand-emblem img,
  .company-dashboard-brand .brand-emblem,
  .company-dashboard-brand .brand-emblem img,
  .student-dashboard-brand .brand-emblem,
  .student-dashboard-brand .brand-emblem img,
  .sidebar-brand .brand-emblem,
  .sidebar-brand .brand-emblem img {
    width: 6.45rem;
    min-width: 6.45rem;
    max-width: 6.45rem;
    height: 2.14rem;
    min-height: 2.14rem;
    max-height: 2.14rem;
  }
}

/* Product core 19: Sidebar-Benutzerbereich ruhig und lesbar, ohne abgeschnittene Mini-Bilder. */
.company-dashboard-user,
.student-dashboard-user,
.workspace-profile-chip {
  display: flex;
  align-items: center;
  min-height: auto;
  padding: 0.85rem 0.9rem;
  color: #0f172a;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  box-shadow: none;
}

.company-dashboard-user .profile-photo,
.student-dashboard-user .profile-photo,
.workspace-profile-chip .workspace-profile-avatar {
  display: none;
}

.company-dashboard-user div,
.student-dashboard-user div,
.workspace-profile-chip span:last-child {
  min-width: 0;
  display: grid;
  gap: 0.12rem;
}

.company-dashboard-user strong,
.student-dashboard-user strong,
.workspace-profile-chip strong {
  overflow: hidden;
  color: #0f172a;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.company-dashboard-user span,
.student-dashboard-user span,
.workspace-profile-chip small {
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 700;
}

.profile-photo-fallback,
.company-case-avatar,
.student-avatar,
.offer-student-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(135deg, #0284c7, #0f766e);
  border: 1px solid rgba(14, 165, 233, 0.28);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.22);
}

/* Product core 20: App-Logo braucht in der Sidebar Luft und darf nie am Rand kleben. */
.company-dashboard-brand,
.student-dashboard-brand,
.sidebar-brand {
  justify-content: center;
  padding: 0.85rem 1rem 0.65rem;
}

.company-dashboard-brand .brand-emblem,
.company-dashboard-brand .brand-emblem img,
.student-dashboard-brand .brand-emblem,
.student-dashboard-brand .brand-emblem img,
.sidebar-brand .brand-emblem,
.sidebar-brand .brand-emblem img {
  width: 6.15rem;
  min-width: 6.15rem;
  max-width: 6.15rem;
  height: 2.03rem;
  min-height: 2.03rem;
  max-height: 2.03rem;
}

/* Product core 21: Angebotsverhandlung als ruhige ArbeitsflÃ¤che. */
.company-offer-negotiation-main {
  padding: 1rem 1.15rem 1.35rem;
}

.offer-negotiation-page {
  gap: 0.95rem;
}

.offer-negotiation-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: start;
  align-items: start;
  text-align: left;
  gap: 0.35rem;
  padding: 0;
  border-bottom: 1px solid #e2e8f0;
}

.offer-negotiation-heading h1,
.company-offer-negotiation-main .offer-negotiation-heading h1 {
  max-width: 52rem;
  margin: 0;
  color: #020617;
  font-size: clamp(1.85rem, 2.25vw, 2.65rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-align: left;
}

.offer-negotiation-heading .lead {
  max-width: 46rem;
  margin: 0 0 0.85rem;
  color: #475569;
  font-size: 0.98rem;
}

.offer-process-compact {
  padding: 0.7rem 0.8rem;
  border-radius: 0.95rem;
  background: #f8fafc;
}

.offer-process-compact-track {
  gap: 0.5rem;
}

.offer-process-compact-track span,
.offer-process-compact-track strong {
  min-height: 2.05rem;
  font-size: 0.76rem;
}

.offer-process-compact p {
  font-size: 0.9rem;
}

.offer-status-bar {
  margin: 0.15rem 0;
}

.offer-focus-band {
  border-radius: 0.95rem;
}

.offer-focus-band div {
  padding: 0.95rem 1rem;
}

.offer-negotiation-split {
  grid-template-columns: minmax(0, 1fr) minmax(23rem, 0.86fr);
  gap: 1rem;
}

.offer-form-panel,
.offer-chat-panel {
  border-radius: 1rem;
  box-shadow: none;
}

.offer-chat-panel {
  min-height: 36rem;
}

.offer-chat-context,
.offer-chat-next-strip {
  background: #f8fafc;
  border-color: #e2e8f0;
}

/* Product core 19: ProzessfÃ¼hrung als Stepper statt Boxenwand. */
.company-process-strip {
  padding: 1.05rem 1rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
}

.company-process-bar,
.process-timeline {
  gap: 0;
  align-items: stretch;
}

.company-process-bar li,
.process-timeline li,
.process-timeline .timeline-step {
  position: relative;
  min-width: 0;
  padding: 0.72rem 0.8rem;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.company-process-bar li + li::before,
.process-timeline li + li::before,
.process-timeline .timeline-step + .timeline-step::before {
  content: "";
  position: absolute;
  top: 1.1rem;
  left: -0.7rem;
  width: 1.4rem;
  height: 1px;
  background: #cbd5e1;
}

.company-process-bar li.current,
.process-timeline li.current,
.process-timeline .timeline-step.current {
  background: #e0f2fe;
  border-radius: 0.85rem;
  outline: 1px solid #7dd3fc;
}

.company-process-bar li strong,
.process-timeline li strong,
.process-timeline .timeline-step strong {
  font-size: 0.86rem;
}

.company-process-bar li span,
.process-timeline li p,
.process-timeline .timeline-step p {
  color: #64748b;
  font-size: 0.76rem;
}

.company-process-rules {
  margin-top: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.company-process-rules li {
  padding: 0.35rem 0.55rem;
  color: #334155;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

/* Product core 22: Letzte Politur für Nachrichten, Logo und Entscheidungsleiste. */
.brand-logo-only .brand-emblem,
.brand-logo-only .brand-emblem img,
.company-dashboard-brand .brand-emblem,
.company-dashboard-brand .brand-emblem img,
.student-dashboard-brand .brand-emblem,
.student-dashboard-brand .brand-emblem img,
.admin-dashboard-brand .brand-emblem,
.admin-dashboard-brand .brand-emblem img {
  width: 3.9rem;
  height: 3.9rem;
  border-radius: 0;
  object-fit: contain;
  overflow: visible;
  transform: none;
}

.public-header .brand-logo-only .brand-emblem,
.public-header .brand-logo-only .brand-emblem img {
  width: 4.2rem;
  height: 4.2rem;
}

.public-header .brand.brand-lockup.brand-logo-only,
.public-header .brand.brand-lockup.brand-logo-only .brand-emblem,
.public-header .brand.brand-lockup.brand-logo-only .brand-emblem img {
  width: 3.65rem;
  min-width: 3.65rem;
  max-width: 3.65rem;
  height: 3.65rem;
  min-height: 3.65rem;
  max-height: 3.65rem;
  overflow: visible;
  transform: none;
}

.company-dashboard-sidebar .brand-logo-only,
.company-dashboard-sidebar .brand-logo-only .brand-emblem,
.company-dashboard-sidebar .brand-logo-only .brand-emblem img,
.student-dashboard-sidebar .brand-logo-only,
.student-dashboard-sidebar .brand-logo-only .brand-emblem,
.student-dashboard-sidebar .brand-logo-only .brand-emblem img {
  width: 3.75rem;
  min-width: 3.75rem;
  max-width: 3.75rem;
  height: 3.75rem;
  min-height: 3.75rem;
  max-height: 3.75rem;
  overflow: visible;
  transform: none;
}

/* Product core 26: Logo aus logo-1 als breite Web-Wortmarke statt App-Icon. */
.brand-logo-only .brand-emblem,
.brand-logo-only .brand-emblem img {
  width: 11.25rem;
  min-width: 11.25rem;
  max-width: 11.25rem;
  height: 2.85rem;
  min-height: 2.85rem;
  max-height: 2.85rem;
  object-fit: contain;
  overflow: visible;
  transform: none;
}

.public-header .brand.brand-lockup.brand-logo-only,
.public-header .brand.brand-lockup.brand-logo-only .brand-emblem,
.public-header .brand.brand-lockup.brand-logo-only .brand-emblem img {
  width: 12.4rem;
  min-width: 12.4rem;
  max-width: 12.4rem;
  height: 2.95rem;
  min-height: 2.95rem;
  max-height: 2.95rem;
}

.company-dashboard-sidebar .brand-logo-only,
.company-dashboard-sidebar .brand-logo-only .brand-emblem,
.company-dashboard-sidebar .brand-logo-only .brand-emblem img,
.student-dashboard-sidebar .brand-logo-only,
.student-dashboard-sidebar .brand-logo-only .brand-emblem,
.student-dashboard-sidebar .brand-logo-only .brand-emblem img,
.admin-dashboard-brand.brand-logo-only,
.admin-dashboard-brand.brand-logo-only .brand-emblem,
.admin-dashboard-brand.brand-logo-only .brand-emblem img {
  width: 9.9rem;
  min-width: 9.9rem;
  max-width: 9.9rem;
  height: 2.35rem;
  min-height: 2.35rem;
  max-height: 2.35rem;
}

.public-header .brand.brand-lockup.brand-logo-only .brand-emblem,
.company-dashboard-sidebar .brand-logo-only .brand-emblem,
.student-dashboard-sidebar .brand-logo-only .brand-emblem,
.admin-dashboard-brand.brand-logo-only .brand-emblem {
  padding: 0.15rem 0.2rem;
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09);
}

.auth-logo img {
  width: 10.5rem;
  height: auto;
  max-height: 3rem;
  object-fit: contain;
  transform: none;
}

.auth-logo img {
  width: 4.4rem;
  height: auto;
  max-height: 4.4rem;
  object-fit: contain;
}

.admin-dashboard-brand.brand-logo-only {
  width: 4.4rem;
  min-width: 4.4rem;
  height: 4.4rem;
}

.student-priority-strip {
  display: grid;
  grid-template-columns: 1.05fr 1.1fr 1.15fr;
  gap: 0;
  overflow: hidden;
  border: 1px solid #dbeafe;
  border-radius: 1rem;
  background: #ffffff;
  box-shadow: none;
}

.student-priority-strip article {
  border: 0;
  border-left: 1px solid #e2e8f0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  padding: 0.95rem 1rem;
}

.student-priority-strip article:first-child {
  border-left: 0;
}

.chat-compose {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

/* Product core 29: Logo-Endregel. Die Wortmarke aus logo-1 bleibt vollständig sichtbar und ersetzt alle alten Mini-Icon-Regeln. */
.brand-logo-only,
.company-dashboard-brand.brand-logo-only,
.student-dashboard-brand.brand-logo-only,
.admin-dashboard-brand.brand-logo-only,
.sidebar-brand.brand-logo-only,
.public-header .brand.brand-lockup.brand-logo-only {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: auto;
  min-width: 0;
  max-width: none;
  height: auto;
  min-height: 0;
  max-height: none;
  padding: 0;
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.brand-logo-only .brand-emblem,
.company-dashboard-brand.brand-logo-only .brand-emblem,
.student-dashboard-brand.brand-logo-only .brand-emblem,
.admin-dashboard-brand.brand-logo-only .brand-emblem,
.sidebar-brand.brand-logo-only .brand-emblem,
.public-header .brand.brand-lockup.brand-logo-only .brand-emblem {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 10.6rem;
  min-width: 10.6rem;
  max-width: 10.6rem;
  height: 2.7rem;
  min-height: 2.7rem;
  max-height: 2.7rem;
  padding: 0;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.brand-logo-only .brand-emblem img,
.company-dashboard-brand.brand-logo-only .brand-emblem img,
.student-dashboard-brand.brand-logo-only .brand-emblem img,
.admin-dashboard-brand.brand-logo-only .brand-emblem img,
.sidebar-brand.brand-logo-only .brand-emblem img,
.public-header .brand.brand-lockup.brand-logo-only .brand-emblem img {
  display: block;
  width: 10.6rem;
  min-width: 10.6rem;
  max-width: 10.6rem;
  height: 2.7rem;
  min-height: 2.7rem;
  max-height: 2.7rem;
  object-fit: contain;
  object-position: center;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.public-header .brand.brand-lockup.brand-logo-only .brand-emblem,
.public-header .brand.brand-lockup.brand-logo-only .brand-emblem img {
  width: 12.25rem;
  min-width: 12.25rem;
  max-width: 12.25rem;
  height: 3rem;
  min-height: 3rem;
  max-height: 3rem;
}

.admin-dashboard-brand.brand-logo-only .brand-emblem,
.admin-dashboard-brand.brand-logo-only .brand-emblem img {
  width: 10.85rem;
  min-width: 10.85rem;
  max-width: 10.85rem;
  height: 2.75rem;
  min-height: 2.75rem;
  max-height: 2.75rem;
}

@media (max-width: 767px) {
  .brand-logo-only .brand-emblem,
  .brand-logo-only .brand-emblem img,
  .company-dashboard-brand.brand-logo-only .brand-emblem,
  .company-dashboard-brand.brand-logo-only .brand-emblem img,
  .student-dashboard-brand.brand-logo-only .brand-emblem,
  .student-dashboard-brand.brand-logo-only .brand-emblem img,
  .admin-dashboard-brand.brand-logo-only .brand-emblem,
  .admin-dashboard-brand.brand-logo-only .brand-emblem img,
  .sidebar-brand.brand-logo-only .brand-emblem,
  .sidebar-brand.brand-logo-only .brand-emblem img,
  .public-header .brand.brand-lockup.brand-logo-only .brand-emblem,
  .public-header .brand.brand-lockup.brand-logo-only .brand-emblem img {
    width: 8.2rem;
    min-width: 8.2rem;
    max-width: 8.2rem;
    height: 2.15rem;
    min-height: 2.15rem;
    max-height: 2.15rem;
  }
}

/* Product core 67: Logo nie als abgeschnittenes App-Icon darstellen. */
body .brand-logo-only,
body .company-dashboard-brand.brand-logo-only,
body .student-dashboard-brand.brand-logo-only,
body .admin-dashboard-brand.brand-logo-only,
body .sidebar-brand.brand-logo-only,
body .public-header .brand.brand-lockup.brand-logo-only,
body .auth-logo {
  width: auto;
  min-width: 0;
  max-width: none;
  height: auto;
  min-height: 0;
  max-height: none;
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
}

body .brand-logo-only .brand-emblem,
body .company-dashboard-brand.brand-logo-only .brand-emblem,
body .student-dashboard-brand.brand-logo-only .brand-emblem,
body .admin-dashboard-brand.brand-logo-only .brand-emblem,
body .sidebar-brand.brand-logo-only .brand-emblem,
body .public-header .brand.brand-lockup.brand-logo-only .brand-emblem {
  width: clamp(8.75rem, 13vw, 12rem);
  min-width: clamp(8.75rem, 13vw, 12rem);
  max-width: clamp(8.75rem, 13vw, 12rem);
  height: auto;
  min-height: 2.55rem;
  max-height: none;
  aspect-ratio: 960 / 403;
  padding: 0;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

body .brand-logo-only .brand-emblem img,
body .company-dashboard-brand.brand-logo-only .brand-emblem img,
body .student-dashboard-brand.brand-logo-only .brand-emblem img,
body .admin-dashboard-brand.brand-logo-only .brand-emblem img,
body .sidebar-brand.brand-logo-only .brand-emblem img,
body .public-header .brand.brand-lockup.brand-logo-only .brand-emblem img,
body .auth-logo img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: 960 / 403;
  object-fit: contain;
  object-position: center;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

body .company-dashboard-sidebar .brand-logo-only .brand-emblem,
body .student-dashboard-sidebar .brand-logo-only .brand-emblem,
body .sidebar-brand.brand-logo-only .brand-emblem,
body .admin-dashboard-brand.brand-logo-only .brand-emblem {
  width: 9.6rem;
  min-width: 9.6rem;
  max-width: 9.6rem;
}

@media (max-width: 767px) {
  body .brand-logo-only .brand-emblem,
  body .company-dashboard-brand.brand-logo-only .brand-emblem,
  body .student-dashboard-brand.brand-logo-only .brand-emblem,
  body .admin-dashboard-brand.brand-logo-only .brand-emblem,
  body .sidebar-brand.brand-logo-only .brand-emblem,
  body .public-header .brand.brand-lockup.brand-logo-only .brand-emblem {
    width: 7.8rem;
    min-width: 7.8rem;
    max-width: 7.8rem;
  }
}

/* Product core 30: Kernflow-Politur fÃ¼r Talentkarte und Angebotsverhandlung. */
.student-search-card.talent-market-card .student-card-actions {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  align-items: stretch;
}

.student-search-card.talent-market-card .student-profile-link {
  min-height: 2.75rem;
  border-radius: 0.75rem;
  background: #ffffff;
}

.student-search-card.talent-market-card .student-profile-link:hover,
.student-search-card.talent-market-card .student-profile-link:focus-visible {
  background: #f0f9ff;
  border-color: rgba(14, 165, 233, 0.5);
}

.offer-chat-decision-rail {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid #dbeafe;
  border-radius: 0.95rem;
  background: #ffffff;
}

.offer-chat-decision-rail div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.1rem 0.7rem;
  align-items: start;
  padding: 0.78rem 0.85rem;
  border-top: 1px solid #e2e8f0;
}

.offer-chat-decision-rail div:first-child {
  border-top: 0;
}

.offer-chat-decision-rail span {
  grid-row: span 2;
  display: inline-grid;
  place-items: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 999px;
  background: #e0f2fe;
  color: #0369a1;
  font-size: 0.72rem;
  font-weight: 900;
}

.offer-chat-decision-rail strong {
  color: #0f172a;
  font-size: 0.9rem;
  line-height: 1.15;
}

.offer-chat-decision-rail small {
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.35;
}

@media (max-width: 760px) {
  .student-search-card.talent-market-card .student-card-actions {
    grid-template-columns: 1fr;
  }

  .offer-chat-decision-rail div {
    padding: 0.7rem;
  }
}

.chat-compose input {
  min-width: 0;
  width: 100%;
  font-size: 0.9rem;
}

.company-dashboard-chat .chat-compose .button {
  min-width: auto;
  padding-inline: 0.9rem;
}

@media (max-width: 1180px) {
  .student-priority-strip {
    grid-template-columns: 1fr;
  }

  .student-priority-strip article,
  .student-priority-strip article:first-child {
    border-left: 0;
    border-top: 1px solid #e2e8f0;
  }

  .student-priority-strip article:first-child {
    border-top: 0;
  }
}

/* Product core 31: Premium-Politur ohne generische SymbolflÃ¤chen. */
:root {
  --product-ink: #0b1220;
  --product-muted: #64748b;
  --product-line: #e2e8f0;
  --product-soft: #f8fafc;
  --product-accent: #0ea5e9;
}

.landing-hero.premium-home-hero {
  padding-top: clamp(5.2rem, 7vw, 7.2rem);
  padding-bottom: clamp(3.2rem, 6vw, 5.4rem);
}

.premium-home-hero .landing-hero-inner {
  gap: clamp(1.2rem, 2.3vw, 2rem);
}

.premium-home-hero .landing-lead {
  max-width: 46rem;
  font-size: clamp(1rem, 1.35vw, 1.16rem);
}

.premium-home-hero .landing-cta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.95rem;
  width: 100%;
  margin-top: 0.45rem;
}

.premium-home-hero .landing-cta-card {
  position: relative;
  display: grid;
  align-content: space-between;
  min-height: 12rem;
  padding: 1.15rem;
  color: #e5eef8;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 1.15rem;
  box-shadow: none;
  backdrop-filter: blur(18px);
}

.premium-home-hero .landing-cta-card::before {
  content: "";
  width: 2rem;
  height: 0.2rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: var(--product-accent);
}

.premium-home-hero .landing-cta-card h2 {
  margin: 0;
  color: #ffffff;
  font-size: 1.16rem;
  letter-spacing: 0;
}

.premium-home-hero .landing-cta-card p {
  margin: 0.45rem 0 1.1rem;
  min-height: 3rem;
  color: rgba(226, 232, 240, 0.78);
  font-size: 0.94rem;
  line-height: 1.45;
}

.premium-home-hero .landing-card-button {
  width: 100%;
  justify-content: center;
  min-height: 2.85rem;
  border-radius: 0.85rem;
}

.landing-trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  width: 100%;
  margin: 0.35rem 0 0;
  padding: 0;
  list-style: none;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 1rem;
  background: rgba(2, 6, 23, 0.22);
}

.landing-trust-strip li {
  display: grid;
  gap: 0.1rem;
  padding: 0.9rem 1rem;
  border-left: 1px solid rgba(148, 163, 184, 0.16);
}

.landing-trust-strip li:first-child {
  border-left: 0;
}

.landing-trust-strip strong {
  color: #ffffff;
  font-size: 0.78rem;
}

.landing-trust-strip span {
  color: rgba(226, 232, 240, 0.68);
  font-size: 0.78rem;
}

.company-dashboard-layout,
.student-dashboard-layout {
  background: #ffffff;
}

.company-dashboard-sidebar,
.student-dashboard-sidebar {
  border-right: 1px solid rgba(148, 163, 184, 0.16);
}

.company-dashboard-toolbar,
.student-dashboard-hero,
.company-dashboard-work-queue,
.student-priority-strip,
.company-dashboard-metrics,
.student-card-grid {
  border-radius: 1.05rem;
}

.company-dashboard-toolbar {
  padding: 0.95rem 1.05rem;
  background: #ffffff;
  border: 1px solid var(--product-line);
}

.company-dashboard-toolbar h1,
.student-dashboard-hero h1,
.company-dashboard-work-queue h2,
.student-card-header h2 {
  letter-spacing: 0;
}

.company-dashboard-metrics {
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--product-line);
  background: #ffffff;
}

.company-dashboard-metrics span {
  border-left: 1px solid var(--product-line);
  border-radius: 0;
  background: transparent;
}

.company-dashboard-metrics span:first-child {
  border-left: 0;
}

.company-dashboard-work-queue,
.student-priority-strip,
.student-search-card.talent-market-card,
.talent-profile-card,
.offer-negotiation-card,
.offer-chat-decision-rail {
  box-shadow: none;
  border-color: var(--product-line);
}

.student-search-card.talent-market-card {
  border-radius: 1.05rem;
  transition: border-color 160ms ease, transform 160ms ease;
}

.student-search-card.talent-market-card:hover,
.student-search-card.talent-market-card:focus-within {
  border-color: rgba(14, 165, 233, 0.52);
  transform: translateY(-1px);
}

.student-card-photo-stage {
  align-self: start;
}

.student-card-summary {
  color: #475569;
}

.student-trust-facts,
.student-card-trust-strip {
  color: #64748b;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.student-empty-icon {
  display: none;
}

.student-empty-card,
.student-dashboard-empty,
.empty-card {
  gap: 0.35rem;
  padding: 1rem;
  text-align: left;
  background: #ffffff;
  border: 1px solid var(--product-line);
  box-shadow: none;
}

.notification-preview-icon,
.notification-row-icon {
  width: 0.62rem;
  min-width: 0.62rem;
  height: 0.62rem;
  border-radius: 999px;
  background: var(--product-accent);
}

.notification-preview-icon::before,
.notification-row-icon::before {
  display: none;
}

.profile-photo-fallback,
.company-case-avatar,
.student-avatar,
.offer-student-avatar {
  color: #ffffff;
  background:
    radial-gradient(circle at 32% 26%, rgba(255,255,255,0.28), transparent 1rem),
    linear-gradient(135deg, #0ea5e9 0%, #2563eb 52%, #0f766e 100%);
}

@media (max-width: 1023px) {
  .premium-home-hero .landing-cta-grid,
  .landing-trust-strip {
    grid-template-columns: 1fr;
  }

  .landing-trust-strip li,
  .company-dashboard-metrics span {
    border-left: 0;
    border-top: 1px solid rgba(148, 163, 184, 0.16);
  }

  .landing-trust-strip li:first-child,
  .company-dashboard-metrics span:first-child {
    border-top: 0;
  }
}

/* Product core 32: finale Webmarke und ruhige ProduktflÃ¤chen. */
.brand-logo-only,
.company-dashboard-brand.brand-logo-only,
.student-dashboard-brand.brand-logo-only,
.admin-dashboard-brand.brand-logo-only,
.sidebar-brand.brand-logo-only,
.auth-logo,
.public-header .brand.brand-lockup.brand-logo-only {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: auto;
  min-width: 0;
  max-width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  padding: 0;
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.brand-logo-only .brand-emblem,
.company-dashboard-brand.brand-logo-only .brand-emblem,
.student-dashboard-brand.brand-logo-only .brand-emblem,
.admin-dashboard-brand.brand-logo-only .brand-emblem,
.sidebar-brand.brand-logo-only .brand-emblem,
.public-header .brand.brand-lockup.brand-logo-only .brand-emblem {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(7.4rem, 11vw, 9.4rem);
  min-width: 0;
  max-width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: 720 / 229;
  padding: 0;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.brand-logo-only .brand-emblem img,
.company-dashboard-brand.brand-logo-only .brand-emblem img,
.student-dashboard-brand.brand-logo-only .brand-emblem img,
.admin-dashboard-brand.brand-logo-only .brand-emblem img,
.sidebar-brand.brand-logo-only .brand-emblem img,
.public-header .brand.brand-lockup.brand-logo-only .brand-emblem img,
.auth-logo img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transform: none;
}

.public-header .brand.brand-lockup.brand-logo-only .brand-emblem {
  width: clamp(8.2rem, 13vw, 10.4rem);
}

.company-dashboard-sidebar .brand-logo-only .brand-emblem,
.student-dashboard-sidebar .brand-logo-only .brand-emblem,
.sidebar-brand.brand-logo-only .brand-emblem,
.admin-dashboard-brand.brand-logo-only .brand-emblem {
  width: 8.15rem;
}

.auth-logo {
  width: 10rem;
}

.auth-logo img {
  height: auto;
}

.student-work-card.empty {
  min-height: 0;
  justify-content: center;
}

.student-empty-icon {
  display: none;
}

.landing-cta-card,
.company-dashboard-work-queue,
.student-priority-strip,
.company-dashboard-toolbar,
.student-work-card,
.student-search-card.talent-market-card,
.offer-negotiation-card,
.offer-chat-decision-rail {
  box-shadow: none;
}

.landing-cta-card {
  border-color: rgba(148, 163, 184, 0.24);
}

.landing-cta-card:hover,
.landing-cta-card:focus-within {
  border-color: rgba(14, 165, 233, 0.65);
  transform: translateY(-2px);
}

.student-work-card,
.company-case-card,
.student-search-card.talent-market-card {
  border-color: #e2e8f0;
}

@media (max-width: 767px) {
  .public-header .brand.brand-lockup.brand-logo-only .brand-emblem,
  .brand-logo-only .brand-emblem,
  .company-dashboard-brand.brand-logo-only .brand-emblem,
  .student-dashboard-brand.brand-logo-only .brand-emblem,
  .admin-dashboard-brand.brand-logo-only .brand-emblem,
  .sidebar-brand.brand-logo-only .brand-emblem {
    width: 7.15rem;
  }

  .auth-logo {
    width: 8.4rem;
  }
}

/* Product core 33: scharfe Text-Wortmarke statt unsauber gerendertem Bildlogo. */
.brand-logo-only .brand-emblem,
.company-dashboard-brand.brand-logo-only .brand-emblem,
.student-dashboard-brand.brand-logo-only .brand-emblem,
.admin-dashboard-brand.brand-logo-only .brand-emblem,
.sidebar-brand.brand-logo-only .brand-emblem,
.public-header .brand.brand-lockup.brand-logo-only .brand-emblem {
  width: auto;
  min-width: 0;
  max-width: none;
  aspect-ratio: auto;
  height: auto;
  min-height: 0;
  max-height: none;
  gap: 0.05rem;
  letter-spacing: 0;
  line-height: 1;
}

.brand-logo-only .brand-emblem img,
.company-dashboard-brand.brand-logo-only .brand-emblem img,
.student-dashboard-brand.brand-logo-only .brand-emblem img,
.admin-dashboard-brand.brand-logo-only .brand-emblem img,
.sidebar-brand.brand-logo-only .brand-emblem img,
.public-header .brand.brand-lockup.brand-logo-only .brand-emblem img,
.auth-logo img {
  display: none;
}

.brand-logo-only .brand-emblem::before,
.company-dashboard-brand.brand-logo-only .brand-emblem::before,
.student-dashboard-brand.brand-logo-only .brand-emblem::before,
.admin-dashboard-brand.brand-logo-only .brand-emblem::before,
.sidebar-brand.brand-logo-only .brand-emblem::before,
.public-header .brand.brand-lockup.brand-logo-only .brand-emblem::before,
.auth-logo::before {
  content: "ITKFA";
  display: inline-block;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: clamp(1.35rem, 2.2vw, 1.82rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  background: linear-gradient(100deg, #a855f7 0%, #2563eb 36%, #06b6d4 64%, #22c55e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 8px 24px rgba(14, 165, 233, 0.16);
}

.brand-logo-only .brand-emblem::after,
.company-dashboard-brand.brand-logo-only .brand-emblem::after,
.student-dashboard-brand.brand-logo-only .brand-emblem::after,
.admin-dashboard-brand.brand-logo-only .brand-emblem::after,
.sidebar-brand.brand-logo-only .brand-emblem::after,
.public-header .brand.brand-lockup.brand-logo-only .brand-emblem::after,
.auth-logo::after {
  content: ".ch";
  display: inline-block;
  margin-left: 0.04rem;
  color: #cbd5e1;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: clamp(0.92rem, 1.55vw, 1.22rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
}

.public-header .brand.brand-lockup.brand-logo-only .brand-emblem::before {
  font-size: clamp(1.45rem, 2.2vw, 1.95rem);
}

.public-header .brand.brand-lockup.brand-logo-only .brand-emblem::after {
  font-size: clamp(0.96rem, 1.55vw, 1.28rem);
}

.auth-logo {
  width: auto;
  gap: 0.05rem;
}

.premium-home-hero .landing-hero-inner {
  padding-block: clamp(2.65rem, 5.4vw, 4.15rem) clamp(2.45rem, 4.8vw, 3.45rem);
}

.premium-home-hero h1,
.landing-hero h1,
.public-page h1,
.platform-hero h1 {
  max-width: 15ch;
  font-size: clamp(1.95rem, 3.25vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.landing-lead,
.premium-home-hero .landing-lead {
  max-width: 43rem;
  font-size: clamp(0.98rem, 1.18vw, 1.08rem);
  line-height: 1.55;
}

.premium-home-hero .landing-cta-card {
  min-height: 0;
  padding: clamp(1rem, 1.5vw, 1.35rem);
}

.landing-cta-card h2,
.platform-step h2,
.student-card-header h2,
.company-dashboard-toolbar h1,
.student-dashboard-hero h1 {
  letter-spacing: 0;
}

.landing-cta-card h2 {
  font-size: clamp(1.02rem, 1.2vw, 1.16rem);
}

.premium-home-hero .landing-cta-card p {
  font-size: 0.9rem;
  line-height: 1.45;
}

.premium-home-hero .landing-card-button {
  min-height: 2.7rem;
  padding: 0.72rem 1rem;
}

.landing-how h2,
.landing-traffic h2,
.platform-section h2 {
  font-size: clamp(1.65rem, 2.6vw, 2.35rem);
  letter-spacing: 0;
}

@media (max-width: 767px) {
  .premium-home-hero h1,
  .landing-hero h1,
  .public-page h1,
  .platform-hero h1 {
    max-width: 12.5ch;
    font-size: clamp(1.9rem, 8vw, 2.35rem);
  }

  .brand-logo-only .brand-emblem::before,
  .company-dashboard-brand.brand-logo-only .brand-emblem::before,
  .student-dashboard-brand.brand-logo-only .brand-emblem::before,
  .admin-dashboard-brand.brand-logo-only .brand-emblem::before,
  .sidebar-brand.brand-logo-only .brand-emblem::before,
  .public-header .brand.brand-lockup.brand-logo-only .brand-emblem::before,
  .auth-logo::before {
    font-size: 1.34rem;
  }

  .brand-logo-only .brand-emblem::after,
  .company-dashboard-brand.brand-logo-only .brand-emblem::after,
  .student-dashboard-brand.brand-logo-only .brand-emblem::after,
  .admin-dashboard-brand.brand-logo-only .brand-emblem::after,
  .sidebar-brand.brand-logo-only .brand-emblem::after,
  .public-header .brand.brand-lockup.brand-logo-only .brand-emblem::after,
  .auth-logo::after {
    font-size: 0.9rem;
  }
}

/* Product core 35: letzte sichtbare Endprodukt-Regel. */
.brand-logo-only .brand-emblem::after,
.company-dashboard-brand.brand-logo-only .brand-emblem::after,
.student-dashboard-brand.brand-logo-only .brand-emblem::after,
.admin-dashboard-brand.brand-logo-only .brand-emblem::after,
.sidebar-brand.brand-logo-only .brand-emblem::after,
.public-header .brand.brand-lockup.brand-logo-only .brand-emblem::after,
.auth-logo::after {
  content: "";
  display: none;
}

.brand-logo-only .brand-emblem::before,
.company-dashboard-brand.brand-logo-only .brand-emblem::before,
.student-dashboard-brand.brand-logo-only .brand-emblem::before,
.admin-dashboard-brand.brand-logo-only .brand-emblem::before,
.sidebar-brand.brand-logo-only .brand-emblem::before,
.public-header .brand.brand-lockup.brand-logo-only .brand-emblem::before,
.auth-logo::before {
  font-size: clamp(1.42rem, 2vw, 1.82rem);
  text-shadow: none;
}

.public-header .brand.brand-lockup.brand-logo-only .brand-emblem::before {
  font-size: clamp(1.48rem, 2vw, 1.9rem);
}

.premium-home-hero h1,
.landing-hero h1,
.public-page h1,
.platform-hero h1 {
  font-size: clamp(1.82rem, 2.8vw, 2.48rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.company-dashboard-main > .section-heading,
.student-dashboard-main > .section-heading,
.company-process-main > .section-heading,
.student-process-main > .section-heading,
.company-discovery-main > .section-heading {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 0;
  box-shadow: none;
  padding: 0 0 0.95rem;
}

.company-dashboard-main > .section-heading h1,
.student-dashboard-main > .section-heading h1,
.company-process-main > .section-heading h1,
.student-process-main > .section-heading h1,
.company-discovery-main > .section-heading h1,
.admin-dashboard-hero h1 {
  font-size: clamp(1.68rem, 2.25vw, 2.12rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.company-process-workspace .process-guard.process-guard-compact,
.student-process-workspace .process-guard.process-guard-compact,
.company-discovery-main .process-guard.process-guard-compact,
.company-student-detail-layout .process-guard.process-guard-compact {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.company-process-workspace .process-timeline p,
.company-process-workspace .process-timeline .timeline-step p,
.student-process-workspace .process-timeline p,
.student-process-workspace .process-timeline .timeline-step p,
.company-discovery-main .company-process-bar.process-timeline p,
.company-discovery-main .company-process-bar.process-timeline .timeline-step p {
  display: none;
}

.company-process-workspace .process-timeline li,
.company-process-workspace .process-timeline .timeline-step,
.student-process-workspace .process-timeline li,
.student-process-workspace .process-timeline .timeline-step,
.company-discovery-main .company-process-bar.process-timeline li,
.company-discovery-main .company-process-bar.process-timeline .timeline-step {
  min-height: 48px;
  padding: 0.62rem 0.72rem;
}

.process-next-action-panel ol {
  display: none;
}

/* Product core 36: Plattform-Hero als kompakter Produktkopf. */
body .platform-hero {
  min-height: 0;
  padding: clamp(2.75rem, 5.6vw, 4.75rem) 0 clamp(2.5rem, 4.8vw, 3.8rem);
}

body .platform-hero .platform-hero-inner {
  min-height: 0;
  padding: 0;
}

body .platform-hero h1 {
  max-width: 18ch;
  font-size: clamp(1.9rem, 3.1vw, 2.7rem);
  line-height: 1.08;
  letter-spacing: 0;
}

body .platform-hero p:not(.eyebrow) {
  max-width: 42rem;
  font-size: clamp(0.96rem, 1.15vw, 1.06rem);
  line-height: 1.55;
}

body .platform-process {
  padding-top: clamp(2.4rem, 4.4vw, 3.6rem);
}

/* Product core 40: finale Weblogo-Regel am Dateiende. */
.brand-logo-only,
.company-dashboard-brand.brand-logo-only,
.student-dashboard-brand.brand-logo-only,
.admin-dashboard-brand.brand-logo-only,
.sidebar-brand.brand-logo-only,
.auth-logo,
.public-header .brand.brand-lockup.brand-logo-only {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: auto;
  max-width: 100%;
  min-width: 0;
  height: auto;
  min-height: 0;
  max-height: none;
  padding: 0;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.brand-logo-only .brand-emblem,
.company-dashboard-brand.brand-logo-only .brand-emblem,
.student-dashboard-brand.brand-logo-only .brand-emblem,
.admin-dashboard-brand.brand-logo-only .brand-emblem,
.sidebar-brand.brand-logo-only .brand-emblem,
.public-header .brand.brand-lockup.brand-logo-only .brand-emblem {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: clamp(7.75rem, 12vw, 10.25rem);
  max-width: 100%;
  height: auto;
  aspect-ratio: 720 / 229;
  padding: 0;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.brand-logo-only .brand-emblem img,
.company-dashboard-brand.brand-logo-only .brand-emblem img,
.student-dashboard-brand.brand-logo-only .brand-emblem img,
.admin-dashboard-brand.brand-logo-only .brand-emblem img,
.sidebar-brand.brand-logo-only .brand-emblem img,
.public-header .brand.brand-lockup.brand-logo-only .brand-emblem img,
.auth-logo img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transform: none;
}

.brand-logo-only .brand-emblem::before,
.brand-logo-only .brand-emblem::after,
.company-dashboard-brand.brand-logo-only .brand-emblem::before,
.company-dashboard-brand.brand-logo-only .brand-emblem::after,
.student-dashboard-brand.brand-logo-only .brand-emblem::before,
.student-dashboard-brand.brand-logo-only .brand-emblem::after,
.admin-dashboard-brand.brand-logo-only .brand-emblem::before,
.admin-dashboard-brand.brand-logo-only .brand-emblem::after,
.sidebar-brand.brand-logo-only .brand-emblem::before,
.sidebar-brand.brand-logo-only .brand-emblem::after,
.public-header .brand.brand-lockup.brand-logo-only .brand-emblem::before,
.public-header .brand.brand-lockup.brand-logo-only .brand-emblem::after,
.auth-logo::before,
.auth-logo::after {
  content: "";
  display: none;
}

.public-header .brand.brand-lockup.brand-logo-only .brand-emblem {
  width: clamp(8.6rem, 13vw, 11.5rem);
}

.company-dashboard-sidebar .brand-logo-only .brand-emblem,
.student-dashboard-sidebar .brand-logo-only .brand-emblem,
.sidebar-brand.brand-logo-only .brand-emblem,
.admin-dashboard-brand.brand-logo-only .brand-emblem {
  width: 8.75rem;
}

.auth-logo,
.auth-logo img {
  width: 10.5rem;
}

@media (max-width: 767px) {
  .public-header .brand.brand-lockup.brand-logo-only .brand-emblem,
  .brand-logo-only .brand-emblem,
  .company-dashboard-brand.brand-logo-only .brand-emblem,
  .student-dashboard-brand.brand-logo-only .brand-emblem,
  .admin-dashboard-brand.brand-logo-only .brand-emblem,
  .sidebar-brand.brand-logo-only .brand-emblem {
    width: 7.6rem;
  }

  .auth-logo,
  .auth-logo img {
    width: 8.6rem;
  }
}

/* Product core 41: Logo-Container nicht kÃ¼rzer als das breite Bild. */
.brand-logo-only .brand-emblem,
.company-dashboard-brand.brand-logo-only .brand-emblem,
.student-dashboard-brand.brand-logo-only .brand-emblem,
.admin-dashboard-brand.brand-logo-only .brand-emblem,
.sidebar-brand.brand-logo-only .brand-emblem,
.public-header .brand.brand-lockup.brand-logo-only .brand-emblem,
.auth-logo {
  min-height: 3.2rem;
}

.brand-logo-only .brand-emblem img,
.company-dashboard-brand.brand-logo-only .brand-emblem img,
.student-dashboard-brand.brand-logo-only .brand-emblem img,
.admin-dashboard-brand.brand-logo-only .brand-emblem img,
.sidebar-brand.brand-logo-only .brand-emblem img,
.public-header .brand.brand-lockup.brand-logo-only .brand-emblem img,
.auth-logo img {
  height: auto;
  min-height: 0;
}

.public-header .brand.brand-lockup.brand-logo-only .brand-emblem {
  min-height: 3.35rem;
}

.company-dashboard-sidebar .brand-logo-only .brand-emblem,
.student-dashboard-sidebar .brand-logo-only .brand-emblem,
.sidebar-brand.brand-logo-only .brand-emblem,
.admin-dashboard-brand.brand-logo-only .brand-emblem {
  min-height: 3rem;
}

/* Product core 42: Logo-Bild an Containerbreite binden. */
.brand-logo-only .brand-emblem img,
.company-dashboard-brand.brand-logo-only .brand-emblem img,
.student-dashboard-brand.brand-logo-only .brand-emblem img,
.admin-dashboard-brand.brand-logo-only .brand-emblem img,
.sidebar-brand.brand-logo-only .brand-emblem img,
.public-header .brand.brand-lockup.brand-logo-only .brand-emblem img,
.auth-logo img {
  width: 100%;
  height: auto;
  max-width: 100%;
  min-width: 0;
}


/* mobileprozessführung: Prozessleisten bleiben auf kleinen Bildschirmen kompakt und ohne horizontalen Überlauf. */

/* Product core 43: Arbeitskarten ohne Badge-Wand. */
.company-card-privacy-line {
  margin: 0;
  color: #64748b;
  font-size: 0.82rem;
  line-height: 1.35;
}

.company-student-card.workflow-card {
  gap: 0.78rem;
}

.company-student-card.workflow-card .badge-row {
  margin-top: -0.25rem;
}

.company-student-card.workflow-card h2 {
  margin-bottom: 0;
}

.company-dashboard-chat .chat-conversation-card strong,
.company-dashboard-chat .chat-active-head strong {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.company-dashboard-chat .chat-conversation-card span {
  -webkit-line-clamp: 2;
}

/* Product core 44: mobile Prozessleiste passt ohne horizontales Schieben. */
@media (max-width: 767px) {
  .company-process-bar,
  .process-timeline,
  .company-discovery-main .company-process-bar.process-timeline,
  .company-process-workspace .process-timeline,
  .student-process-workspace .process-timeline {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  .company-process-bar li,
  .process-timeline li,
  .process-timeline .timeline-step,
  .company-discovery-main .company-process-bar.process-timeline li,
  .company-process-workspace .process-timeline li,
  .student-process-workspace .process-timeline li {
    min-width: 0;
    padding: 0.48rem 0.32rem;
    border-radius: 0;
  }

  .company-process-bar li strong,
  .process-timeline li strong,
  .process-timeline .timeline-step strong,
  .company-discovery-main .company-process-bar.process-timeline li strong {
    display: block;
    font-size: 0.68rem;
    line-height: 1.08;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .company-process-bar li span,
  .process-timeline li span,
  .process-timeline li p,
  .process-timeline .timeline-step p,
  .company-discovery-main .company-process-bar.process-timeline li span,
  .company-discovery-main .company-process-bar.process-timeline li p {
    display: none;
  }

  .company-process-bar li.current,
  .process-timeline li.current,
  .process-timeline .timeline-step.current {
    border-radius: 0.55rem;
  }

  .company-process-bar li + li::before,
  .process-timeline li + li::before,
  .process-timeline .timeline-step + .timeline-step::before {
    display: none;
  }
}

/* Product core 45: finale mobile Prozessleiste, keine abgeschnittenen Schritte. */
@media (max-width: 767px) {
  body .company-dashboard-layout .company-dashboard-main .company-process-bar,
  body .company-dashboard-layout .company-dashboard-main .company-process-bar.process-timeline,
  body .company-dashboard-layout .company-discovery-main .company-process-bar,
  body .company-dashboard-layout .company-discovery-main .company-process-bar.process-timeline,
  body .company-process-workspace .process-timeline,
  body .student-process-workspace .process-timeline {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: visible;
  }

  body .company-dashboard-layout .company-dashboard-main .company-process-bar li,
  body .company-dashboard-layout .company-dashboard-main .company-process-bar.process-timeline li,
  body .company-dashboard-layout .company-discovery-main .company-process-bar li,
  body .company-dashboard-layout .company-discovery-main .company-process-bar.process-timeline li,
  body .company-process-workspace .process-timeline li,
  body .student-process-workspace .process-timeline li,
  body .process-timeline .timeline-step {
    width: auto;
    min-width: 0;
    max-width: 100%;
    flex: initial;
    padding: 0.5rem 0.24rem;
    overflow: hidden;
  }

  body .company-dashboard-layout .company-dashboard-main .company-process-bar li strong,
  body .company-dashboard-layout .company-dashboard-main .company-process-bar.process-timeline li strong,
  body .company-dashboard-layout .company-discovery-main .company-process-bar li strong,
  body .company-dashboard-layout .company-discovery-main .company-process-bar.process-timeline li strong,
  body .company-process-workspace .process-timeline li strong,
  body .student-process-workspace .process-timeline li strong,
  body .process-timeline .timeline-step strong {
    display: block;
    max-width: 100%;
    font-size: 0.62rem;
    line-height: 1.05;
    white-space: normal;
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  body .company-dashboard-layout .company-dashboard-main .company-process-bar li span,
  body .company-dashboard-layout .company-dashboard-main .company-process-bar.process-timeline li span,
  body .company-dashboard-layout .company-discovery-main .company-process-bar li span,
  body .company-dashboard-layout .company-discovery-main .company-process-bar.process-timeline li span,
  body .company-process-workspace .process-timeline li span,
  body .student-process-workspace .process-timeline li span,
  body .process-timeline .timeline-step span,
  body .process-timeline .timeline-step p {
    display: none;
  }
}

/* Product core 46: mobile Prozessleiste nur mit Schritt-Namen. */
@media (max-width: 767px) {
  body .company-dashboard-layout .company-process-bar li p,
  body .company-dashboard-layout .company-process-bar.process-timeline li p,
  body .company-dashboard-layout .company-discovery-main .company-process-bar li p,
  body .company-dashboard-layout .company-discovery-main .company-process-bar.process-timeline li p,
  body .company-process-workspace .process-timeline li p,
  body .student-process-workspace .process-timeline li p {
    display: none;
  }
}

/* Product core 47: klare Wortmarke, ruhige Schriftgrössen und keine kaputten Logo-Crops. */
.brand-text-only,
.brand-wordmark {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  line-height: 1;
  text-decoration: none;
}

.brand-text-only {
  width: auto;
  max-width: 100%;
  min-width: 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.brand-wordmark {
  gap: 0.04em;
  color: #ffffff;
  font-size: clamp(1.45rem, 2.1vw, 1.85rem);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-wordmark-it {
  color: #38bdf8;
}

.brand-wordmark-kfa {
  color: #ffffff;
}

.brand-wordmark-domain {
  margin-left: 0.08em;
  color: currentColor;
  font-size: 0.78em;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.public-header .brand-wordmark {
  font-size: clamp(1.28rem, 1.7vw, 1.62rem);
}

.company-dashboard-sidebar .brand-wordmark,
.student-dashboard-sidebar .brand-wordmark,
.sidebar .brand-wordmark {
  color: #0b1220;
  font-size: 1.45rem;
}

.company-dashboard-sidebar .brand-wordmark-kfa,
.student-dashboard-sidebar .brand-wordmark-kfa,
.sidebar .brand-wordmark-kfa {
  color: #0b1220;
}

.admin-dashboard-brand .brand-wordmark {
  color: #0b1220;
  font-size: 1.5rem;
}

.admin-dashboard-brand .brand-wordmark-kfa {
  color: #0b1220;
}

.auth-logo.brand-text-only {
  width: auto;
  margin-bottom: 1.4rem;
}

.auth-logo .brand-wordmark {
  font-size: 1.72rem;
}

.public-footer .brand-wordmark {
  color: #ffffff;
  font-size: 1.35rem;
}

.public-footer .brand-wordmark-kfa {
  color: #ffffff;
}

body .premium-home-hero {
  min-height: 0;
  padding: clamp(4rem, 7vw, 6rem) 0 clamp(3rem, 5.5vw, 4.5rem);
}

body .premium-home-hero .landing-hero-inner {
  width: min(100% - 2rem, 1120px);
  gap: 1.7rem;
}

body .premium-home-hero h1,
body .premium-home-hero .landing-hero-inner h1,
body .landing-hero h1 {
  max-width: 13.5ch;
  font-size: clamp(2.35rem, 4.2vw, 4.05rem);
  line-height: 1.04;
  letter-spacing: 0;
}

body .premium-home-hero .landing-lead {
  max-width: 44rem;
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.55;
}

body .premium-home-hero .landing-cta-card {
  min-height: 0;
  padding: 1.35rem;
  border-radius: 1rem;
}

body .premium-home-hero .landing-cta-card h2 {
  font-size: 1.08rem;
  line-height: 1.25;
}

body .premium-home-hero .landing-cta-card p {
  min-height: 3.1rem;
  font-size: 0.93rem;
  line-height: 1.45;
}

body .company-dashboard-layout > .company-dashboard-main > header:first-child h1,
body .student-dashboard-main h1,
body .admin-dashboard-hero h1 {
  font-size: clamp(1.75rem, 2.55vw, 2.45rem);
  line-height: 1.08;
  letter-spacing: 0;
}

body .company-dashboard-layout > .company-dashboard-main > header:first-child,
body .student-ampel-topbar,
body .admin-dashboard-hero {
  padding: 1.25rem 1.35rem;
}

.profile-photo-fallback,
.student-avatar.profile-photo-fallback,
.workspace-profile-avatar,
.company-case-avatar {
  display: inline-grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.12), rgba(14, 165, 233, 0.26));
  border: 1px solid rgba(14, 165, 233, 0.28);
  color: #075985;
  box-shadow: none;
  font-weight: 800;
}

.company-student-card.workflow-card,
.student-dashboard-column,
.admin-registration-card,
.landing-cta-card {
  box-shadow: none;
}

@media (max-width: 767px) {
  .public-header .brand-wordmark,
  .company-dashboard-sidebar .brand-wordmark,
  .student-dashboard-sidebar .brand-wordmark,
  .sidebar .brand-wordmark {
    font-size: 1.32rem;
  }

  body .premium-home-hero {
    padding: 3.25rem 0 2.8rem;
  }

  body .premium-home-hero h1,
  body .premium-home-hero .landing-hero-inner h1,
  body .landing-hero h1 {
    max-width: 12.5ch;
    font-size: clamp(2rem, 10vw, 2.85rem);
  }

  body .premium-home-hero .landing-lead {
    font-size: 1rem;
  }

  body .company-dashboard-layout > .company-dashboard-main > header:first-child h1,
  body .student-dashboard-main h1 {
    font-size: clamp(1.75rem, 8vw, 2.25rem);
  }

  body .company-dashboard-layout .company-process-bar li strong,
  body .company-process-bar li strong,
  body .company-dashboard-layout .company-process-bar.process-timeline li strong,
  body .company-dashboard-layout .company-discovery-main .company-process-bar li strong,
  body .company-dashboard-layout .company-discovery-main .company-process-bar.process-timeline li strong,
  body .company-process-workspace .process-timeline li strong,
  body .student-process-workspace .process-timeline li strong,
  body .process-timeline .timeline-step strong {
    font-size: 0;
    line-height: 1;
  }

  body .company-dashboard-layout .company-process-bar li strong::after,
  body .company-process-bar li strong::after,
  body .company-dashboard-layout .company-process-bar.process-timeline li strong::after,
  body .company-dashboard-layout .company-discovery-main .company-process-bar li strong::after,
  body .company-dashboard-layout .company-discovery-main .company-process-bar.process-timeline li strong::after,
  body .company-process-workspace .process-timeline li strong::after,
  body .student-process-workspace .process-timeline li strong::after,
  body .process-timeline .timeline-step strong::after {
    display: block;
    color: inherit;
    font-size: 0.67rem;
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: 0;
    white-space: nowrap;
  }

  body .company-process-bar li:nth-child(1) strong::after,
  body .process-timeline li:nth-child(1) strong::after,
  body .process-timeline .timeline-step:nth-child(1) strong::after {
    content: "Fokus";
  }

  body .company-process-bar li:nth-child(2) strong::after,
  body .process-timeline li:nth-child(2) strong::after,
  body .process-timeline .timeline-step:nth-child(2) strong::after {
    content: "Angebot";
  }

  body .company-process-bar li:nth-child(3) strong::after,
  body .process-timeline li:nth-child(3) strong::after,
  body .process-timeline .timeline-step:nth-child(3) strong::after {
    content: "Auftrag";
  }

  body .company-process-bar li:nth-child(4) strong::after,
  body .process-timeline li:nth-child(4) strong::after,
  body .process-timeline .timeline-step:nth-child(4) strong::after {
    content: "Reserv.";
  }

  body .company-process-bar li:nth-child(5) strong::after,
  body .process-timeline li:nth-child(5) strong::after,
  body .process-timeline .timeline-step:nth-child(5) strong::after {
    content: "Buchung";
  }

  body .company-process-bar li small,
  body .company-process-bar li span,
  body .process-timeline li small,
  body .process-timeline .timeline-step small {
    display: none;
  }
}

@media (max-width: 767px) {
  body .company-dashboard-layout .company-dashboard-main .company-process-bar li strong,
  body .company-dashboard-layout .company-dashboard-main .company-process-bar.process-timeline li strong,
  body .company-dashboard-layout .company-discovery-main .company-process-bar li strong,
  body .company-dashboard-layout .company-discovery-main .company-process-bar.process-timeline li strong {
    font-size: 0;
    line-height: 1;
  }

  body .company-dashboard-layout .company-dashboard-main .company-process-bar li span,
  body .company-dashboard-layout .company-dashboard-main .company-process-bar li small,
  body .company-dashboard-layout .company-dashboard-main .company-process-bar.process-timeline li span,
  body .company-dashboard-layout .company-dashboard-main .company-process-bar.process-timeline li small,
  body .company-dashboard-layout .company-discovery-main .company-process-bar li span,
  body .company-dashboard-layout .company-discovery-main .company-process-bar li small,
  body .company-dashboard-layout .company-discovery-main .company-process-bar.process-timeline li span,
  body .company-dashboard-layout .company-discovery-main .company-process-bar.process-timeline li small {
    display: none;
  }

  body .company-dashboard-layout .company-dashboard-main .company-process-bar li strong::after,
  body .company-dashboard-layout .company-dashboard-main .company-process-bar.process-timeline li strong::after,
  body .company-dashboard-layout .company-discovery-main .company-process-bar li strong::after,
  body .company-dashboard-layout .company-discovery-main .company-process-bar.process-timeline li strong::after {
    display: block;
    font-size: 0.67rem;
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: 0;
    white-space: nowrap;
  }
}

/* Product core 48: Wortmarke in allen Rollen-Sidebars sichtbar halten. */
.company-dashboard-brand.brand-text-only,
.student-dashboard-brand.brand-text-only,
.admin-dashboard-brand.brand-text-only,
.sidebar-brand.brand-text-only {
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
  min-height: 2.25rem;
  max-height: 2.25rem;
  margin: 0 0 1.2rem;
  padding: 0;
  overflow: visible;
}

.company-dashboard-brand.brand-text-only .brand-wordmark,
.student-dashboard-brand.brand-text-only .brand-wordmark,
.admin-dashboard-brand.brand-text-only .brand-wordmark,
.sidebar-brand.brand-text-only .brand-wordmark {
  display: inline-flex;
  color: #0b1220;
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
}

.company-dashboard-brand.brand-text-only .brand-wordmark-kfa,
.student-dashboard-brand.brand-text-only .brand-wordmark-kfa,
.admin-dashboard-brand.brand-text-only .brand-wordmark-kfa,
.sidebar-brand.brand-text-only .brand-wordmark-kfa {
  color: #0b1220;
}

.student-work-card.student-offer-card {
  gap: 0.9rem;
  padding: 1rem;
}

.student-work-card.student-offer-card .badge-row {
  display: none;
}

.student-work-card.student-offer-card h2 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.25;
}

.student-offer-card-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.student-offer-card-facts span {
  display: inline-flex;
  align-items: center;
  min-height: 1.7rem;
  padding: 0.25rem 0.65rem;
  color: #075985;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

/* Product core 49: mehr Produktklarheit, weniger Verwaltungsfläche. */
@media (min-width: 980px) {
  .premium-home-hero .landing-hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.94fr) minmax(340px, 0.62fr);
    column-gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
  }

  .premium-home-hero .landing-hero-inner::after {
    content: none;
  }

  .premium-home-hero .landing-cta-grid,
  .premium-home-hero .landing-trust-strip {
    grid-column: 1 / -1;
  }
}

.premium-home-hero .landing-cta-card {
  min-height: 12rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)),
    rgba(15, 23, 42, 0.78);
}

.premium-home-hero .landing-card-button {
  min-height: 2.75rem;
  border-radius: 0.85rem;
}

.company-dashboard-main,
.student-dashboard-main {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 38%, #f8fafc 100%);
}

.company-dashboard-chat,
.student-dashboard-layout .company-dashboard-chat {
  border-radius: 1.05rem;
  box-shadow: none;
}

.company-dashboard-chat .chat-message,
.company-dashboard-chat .message-bubble,
.company-dashboard-chat .chat-bubble {
  border-radius: 1rem;
}

.student-ampel-topbar {
  border-radius: 1.05rem;
}

.student-ampel-status h1 {
  max-width: 22ch;
  font-size: clamp(2rem, 2.45vw, 2.55rem);
  line-height: 1.08;
}

.student-dashboard-context {
  border-radius: 1.05rem;
  box-shadow: none;
}

.student-dashboard-context > div {
  min-height: 5.7rem;
}

.student-work-card,
.talent-market-card,
.process-item-card {
  border-radius: 1.05rem;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.055);
}

.talent-market-card {
  padding: 1.1rem;
}

.talent-card-header,
.student-card-header {
  gap: 0.9rem;
}

.avatar-placeholder,
.talent-card-avatar,
.student-card-avatar {
  background: linear-gradient(135deg, #dff6ff, #d9fbe8);
}

@media (max-width: 767px) {
  .student-ampel-topbar {
    padding: 1.05rem;
  }

  .student-ampel-status h1 {
    max-width: 15ch;
    font-size: clamp(1.85rem, 7vw, 2.35rem);
    line-height: 1.08;
  }

  .student-ampel-status .student-status-title {
    font-size: 1.03rem;
  }

  .premium-home-hero .landing-hero-inner {
    padding-top: 3.2rem;
  }

  .premium-home-hero .landing-cta-card {
    min-height: 0;
  }
}

/* Product core 50: verbindliche Typografie- und Markenlimits aus dem Hauptauftrag. */
.public-header .brand-wordmark,
.auth-logo .brand-wordmark,
.public-footer .brand-wordmark,
.public-mobile-drawer-head .brand-wordmark {
  text-transform: uppercase;
}

.public-header .brand-wordmark .brand-wordmark-domain,
.auth-logo .brand-wordmark .brand-wordmark-domain,
.public-footer .brand-wordmark .brand-wordmark-domain,
.public-mobile-drawer-head .brand-wordmark .brand-wordmark-domain {
  text-transform: none;
}

body .premium-home-hero .landing-hero-inner h1,
body .premium-home-hero h1,
body .landing-hero h1 {
  max-width: 15ch;
  font-size: clamp(2.05rem, 3.55vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: 0;
}

body .public-page h1,
body .platform-hero h1,
body .hero-block.compact h1 {
  font-size: clamp(1.85rem, 3vw, 2.25rem);
  line-height: 1.14;
}

body .company-dashboard-toolbar h1,
body .student-dashboard-hero h1,
body .student-ampel-status h1,
body .admin-dashboard-hero h1,
body .section-heading h1 {
  font-size: clamp(1.55rem, 2.3vw, 2rem);
  line-height: 1.12;
}

body .company-dashboard-work-queue h2,
body .student-dashboard-context h2,
body .process-card-list-header h2,
body .student-work-card h2,
body .student-work-card h3 {
  font-size: clamp(1.1rem, 1.5vw, 1.38rem);
  line-height: 1.22;
}

/* Product core 62: Nachrichten sind ein eigener Arbeitsfluss, kein dauerhaftes rechtes Chat-Panel. */
body .message-workflow {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  max-width: 68rem;
}

body .message-workflow .message-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
  gap: 1rem;
}

body .message-workflow .message-thread-card,
body .message-workflow .message-compose-section > .card {
  min-width: 0;
}

body .message-compose-section {
  border-top: 1px solid rgba(148, 163, 184, 0.22);
  padding-top: 1.25rem;
}

@media (max-width: 767px) {
  body .premium-home-hero .landing-hero-inner h1,
  body .premium-home-hero h1,
  body .landing-hero h1 {
    max-width: 13ch;
    font-size: clamp(1.9rem, 8vw, 2.25rem);
  }

  body .public-page h1,
  body .platform-hero h1,
  body .hero-block.compact h1,
  body .company-dashboard-toolbar h1,
  body .student-dashboard-hero h1,
  body .student-ampel-status h1,
  body .admin-dashboard-hero h1,
  body .section-heading h1 {
    font-size: clamp(1.5rem, 6.8vw, 2rem);
  }
}

/* Product core 51: kein dauernd offener Chat in Arbeitsflächen.
   Nachrichten sind eigene Seiten; Angebotsverhandlung bleibt der einzige Split-Chat-Kontext. */
body .company-dashboard-layout:not(.company-offer-negotiation-layout),
body .student-dashboard-layout {
  grid-template-columns: 206px minmax(0, 1fr);
}

body .company-dashboard-layout.company-discovery-layout,
body .company-dashboard-layout.company-student-detail-layout,
body .company-dashboard-layout.company-process-workspace {
  grid-template-columns: 206px minmax(0, 1fr);
}

@media (max-width: 980px) {
  body .company-dashboard-layout:not(.company-offer-negotiation-layout),
  body .student-dashboard-layout,
  body .company-dashboard-layout.company-discovery-layout,
  body .company-dashboard-layout.company-student-detail-layout,
  body .company-dashboard-layout.company-process-workspace {
    grid-template-columns: 1fr;
  }
}

/* Product core 52: klare Marke und ruhige Platzhalter statt abgeschnittener Logo- oder Icon-Flächen. */
.company-dashboard-sidebar .brand-text-only,
.student-dashboard-sidebar .brand-text-only,
.sidebar .brand-text-only,
.company-dashboard-brand.brand-text-only,
.student-dashboard-brand.brand-text-only,
.admin-dashboard-brand.brand-text-only,
.sidebar-brand.brand-text-only {
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.company-dashboard-sidebar .brand-wordmark,
.student-dashboard-sidebar .brand-wordmark,
.sidebar .brand-wordmark,
.company-dashboard-brand.brand-text-only .brand-wordmark,
.student-dashboard-brand.brand-text-only .brand-wordmark,
.admin-dashboard-brand.brand-text-only .brand-wordmark,
.sidebar-brand.brand-text-only .brand-wordmark {
  color: #ffffff;
  font-size: 1.38rem;
  line-height: 1;
  letter-spacing: 0;
  text-shadow: none;
}

.company-dashboard-sidebar .brand-wordmark-kfa,
.student-dashboard-sidebar .brand-wordmark-kfa,
.sidebar .brand-wordmark-kfa,
.company-dashboard-brand.brand-text-only .brand-wordmark-kfa,
.student-dashboard-brand.brand-text-only .brand-wordmark-kfa,
.admin-dashboard-brand.brand-text-only .brand-wordmark-kfa,
.sidebar-brand.brand-text-only .brand-wordmark-kfa {
  color: #ffffff;
}

.public-header .brand-wordmark,
.auth-logo .brand-wordmark,
.public-mobile-drawer-head .brand-wordmark {
  color: #ffffff;
}

.public-header .brand-wordmark-kfa,
.auth-logo .brand-wordmark-kfa,
.public-mobile-drawer-head .brand-wordmark-kfa {
  color: #ffffff;
}

.profile-photo-fallback,
.student-avatar.profile-photo-fallback,
.workspace-profile-avatar,
.company-case-avatar,
.student-card-company-logo.profile-photo-fallback,
.organization-photo {
  background: #f8fafc;
  border: 1px solid #dbe4ee;
  color: #0f172a;
  box-shadow: none;
}

.student-empty-icon,
.notification-preview-icon,
.notification-row-icon {
  background: #f8fafc;
  border-color: #dbe4ee;
  color: #0f172a;
  box-shadow: none;
}

.student-empty-icon::before,
.student-empty-icon::after,
.notification-preview-icon::before,
.notification-row-icon::before {
  opacity: 0.72;
}

.company-dashboard-sidebar,
.student-dashboard-sidebar,
.sidebar {
  background: #0b1220;
}

.company-dashboard-sidebar .sidebar-nav a,
.student-dashboard-sidebar .sidebar-nav a,
.sidebar .sidebar-nav a,
.company-dashboard-sidebar .sidebar-context,
.student-dashboard-sidebar .sidebar-context,
.sidebar .sidebar-context {
  color: rgba(255, 255, 255, 0.76);
}

.company-dashboard-sidebar .sidebar-nav a:hover,
.student-dashboard-sidebar .sidebar-nav a:hover,
.sidebar .sidebar-nav a:hover {
  color: #ffffff;
  background: rgba(14, 165, 233, 0.12);
}

/* Product core 53: echtes ITKFA-Logo vollständig anzeigen, ohne zusätzliche Wortmarke oder Icon-Rahmen. */
.brand-image-mark {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: clamp(8.4rem, 12vw, 11.25rem);
  max-width: 100%;
  aspect-ratio: 720 / 229;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.brand-image-mark img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 8px 18px rgba(14, 165, 233, 0.16));
}

.public-header .brand-image-mark {
  width: clamp(9rem, 13vw, 12.5rem);
}

.company-dashboard-sidebar .brand-image-mark,
.student-dashboard-sidebar .brand-image-mark,
.sidebar .brand-image-mark,
.company-dashboard-brand .brand-image-mark,
.student-dashboard-brand .brand-image-mark,
.admin-dashboard-brand .brand-image-mark,
.sidebar-brand .brand-image-mark {
  width: 8.4rem;
}

.auth-logo .brand-image-mark {
  width: 11.5rem;
}

.public-footer .brand-image-mark {
  width: 9.25rem;
}

@media (max-width: 767px) {
  .brand-image-mark,
  .public-header .brand-image-mark,
  .company-dashboard-sidebar .brand-image-mark,
  .student-dashboard-sidebar .brand-image-mark,
  .sidebar .brand-image-mark,
  .company-dashboard-brand .brand-image-mark,
  .student-dashboard-brand .brand-image-mark,
  .admin-dashboard-brand .brand-image-mark,
  .sidebar-brand .brand-image-mark {
    width: 7.9rem;
  }

.auth-logo .brand-image-mark {
  width: 9.2rem;
  }
}

/* Product core 55: aktuelles Logo aus Originalausschnitt vollständig und ohne Zusatz-Wortmarke. */
.brand-image-mark,
.public-header .brand-image-mark,
.company-dashboard-sidebar .brand-image-mark,
.student-dashboard-sidebar .brand-image-mark,
.sidebar .brand-image-mark,
.company-dashboard-brand .brand-image-mark,
.student-dashboard-brand .brand-image-mark,
.admin-dashboard-brand .brand-image-mark,
.sidebar-brand .brand-image-mark,
.auth-logo .brand-image-mark,
.public-footer .brand-image-mark {
  aspect-ratio: 960 / 403;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.brand-image-mark img,
.public-header .brand-image-mark img,
.company-dashboard-sidebar .brand-image-mark img,
.student-dashboard-sidebar .brand-image-mark img,
.sidebar .brand-image-mark img,
.company-dashboard-brand .brand-image-mark img,
.student-dashboard-brand .brand-image-mark img,
.admin-dashboard-brand .brand-image-mark img,
.sidebar-brand .brand-image-mark img,
.auth-logo .brand-image-mark img,
.public-footer .brand-image-mark img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.company-dashboard-sidebar .brand-image-mark,
.student-dashboard-sidebar .brand-image-mark,
.sidebar .brand-image-mark,
.company-dashboard-brand .brand-image-mark,
.student-dashboard-brand .brand-image-mark,
.admin-dashboard-brand .brand-image-mark,
.sidebar-brand .brand-image-mark {
  width: 7.8rem;
}

.public-header .brand-image-mark {
  width: clamp(8.4rem, 12vw, 10.6rem);
}

.auth-logo .brand-image-mark {
  width: 10.4rem;
}

/* Product core 56: Avatare als klare Initialen statt generische Icon-Flächen. */
span.profile-photo-fallback,
span.student-avatar,
span.company-case-avatar,
span.workspace-profile-avatar,
span.offer-student-avatar,
span.student-card-company-logo.profile-photo-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.28), transparent 32%),
    linear-gradient(135deg, #0ea5e9 0%, #2563eb 52%, #0b1220 100%);
  border: 1px solid rgba(14, 165, 233, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

span.profile-photo-fallback::before,
span.profile-photo-fallback::after,
span.student-avatar::before,
span.student-avatar::after,
span.company-case-avatar::before,
span.company-case-avatar::after,
span.workspace-profile-avatar::before,
span.workspace-profile-avatar::after,
span.offer-student-avatar::before,
span.offer-student-avatar::after,
span.student-card-company-logo.profile-photo-fallback::before,
span.student-card-company-logo.profile-photo-fallback::after {
  content: none;
  display: none;
}

img.profile-photo-image,
img.student-avatar,
img.company-case-avatar,
img.offer-student-avatar,
img.organization-photo {
  object-fit: cover;
  object-position: center;
  background: #f8fafc;
  border: 1px solid #dbe4ee;
}

/* Product core 54: Plattformseite als geführte Linie statt Boxenwand. */
body .platform-hero {
  background: linear-gradient(135deg, #0b1220 0%, #101b2f 58%, #0b1220 100%);
}

body .platform-hero::after {
  opacity: 0.28;
}

body .platform-process,
body .platform-traffic-section {
  gap: 1.65rem;
}

body .platform-step-timeline {
  position: relative;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 0;
  padding-top: 1.25rem;
}

body .platform-step-timeline::before {
  position: absolute;
  top: 2.05rem;
  right: 0;
  left: 0;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, rgba(14, 165, 233, 0.25), rgba(14, 165, 233, 0.75), rgba(239, 68, 68, 0.45));
}

body .platform-step-timeline li {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.55rem;
  min-height: 0;
  padding: 0 0.9rem 0 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

body .platform-step-timeline li > span {
  z-index: 1;
  display: inline-grid;
  grid-row: auto;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  color: #ffffff;
  background: #0ea5e9;
  border: 3px solid #ffffff;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(14, 165, 233, 0.18);
}

body .platform-step-timeline strong {
  margin-top: 0.2rem;
  font-size: 0.95rem;
}

body .platform-step-timeline p {
  font-size: 0.86rem;
  line-height: 1.42;
}

body .platform-step-timeline em {
  padding: 0.18rem 0.55rem;
  font-size: 0.68rem;
}

body .platform-step-timeline .is-reserved > span {
  background: #eab308;
}

body .platform-step-timeline .is-booked > span {
  background: #ef4444;
}

body .platform-traffic-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1.1rem;
}

body .platform-traffic-grid article {
  min-height: 0;
  padding: 1.1rem;
  background: transparent;
  border: 0;
  border-right: 1px solid #e2e8f0;
  border-radius: 0;
}

body .platform-traffic-grid article:last-child {
  border-right: 0;
}

body .platform-privacy-callout,
body .platform-cta {
  border-radius: 1rem;
}

@media (max-width: 1100px) {
  body .platform-step-timeline {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.2rem 0;
  }

  body .platform-step-timeline::before {
    display: none;
  }

  body .platform-step-timeline li {
    padding-right: 1rem;
  }
}

@media (max-width: 640px) {
  body .platform-step-timeline {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding-top: 0;
  }

  body .platform-step-timeline li {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.25rem 0.8rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid #e2e8f0;
  }

  body .platform-step-timeline li:last-child {
    border-bottom: 0;
  }

  body .platform-step-timeline li > span {
    grid-row: span 3;
  }

  body .platform-step-timeline strong {
    margin-top: 0;
  }

  body .platform-traffic-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  body .platform-traffic-grid article {
    border-right: 0;
    border-bottom: 1px solid #e2e8f0;
  }

  body .platform-traffic-grid article:last-child {
    border-bottom: 0;
  }
}

/* Product core 57: App-Navigation ohne doppelte "Weitere Seiten"-Ebene. */
.dashboard-mobile-more {
  display: none;
}

@media (max-width: 900px) {
  .company-dashboard-sidebar,
  .student-dashboard-sidebar {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .company-dashboard-nav,
  .student-dashboard-nav {
    grid-column: 1 / -1;
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.15rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .company-dashboard-nav::-webkit-scrollbar,
  .student-dashboard-nav::-webkit-scrollbar {
    display: none;
  }

  .company-dashboard-nav a,
  .student-dashboard-nav a {
    flex: 0 0 auto;
    min-height: 2.25rem;
    padding: 0.45rem 0.7rem;
    white-space: nowrap;
  }

  .company-dashboard-user,
  .student-dashboard-user {
    justify-self: end;
    min-width: 0;
  }
}

/* Product core 60: letzte mobile Statusregel gewinnt gegen ältere Dashboard-Regeln. */
@media (max-width: 760px) {
  html body .student-ampel-topbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.65rem;
    padding: 0.75rem;
  }

  html body .student-ampel-status {
    align-items: flex-start;
    gap: 0.6rem;
  }

  html body .student-ampel-icon {
    width: 2.25rem;
    height: 2.25rem;
    margin-top: 0.1rem;
  }

  html body .student-ampel-status h1 {
    margin: 0.05rem 0 0.2rem;
    font-size: 1.05rem;
    line-height: 1.16;
  }

  html body .student-ampel-status span,
  html body .student-ampel-status p,
  html body .presence-status {
    font-size: 0.8rem;
    line-height: 1.32;
  }

  html body .student-status-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
  }

  html body .student-status-actions .button {
    min-height: 2.15rem;
    padding: 0.4rem 0.6rem;
    font-size: 0.8rem;
  }

  html body .student-next-action-panel {
    gap: 0.65rem;
    padding: 0.8rem;
  }

  html body .student-next-action-panel h2 {
    margin: 0.1rem 0 0.2rem;
    font-size: 1rem;
    line-height: 1.18;
  }

  html body .student-next-action-panel p {
    font-size: 0.82rem;
    line-height: 1.34;
  }

  html body .student-next-action-panel small {
    display: none;
  }

  html body .student-next-action-panel .button {
    min-height: 2.25rem;
    padding: 0.45rem 0.7rem;
    font-size: 0.82rem;
  }
}

/* Product core 61: gemeinsame Premium-Arbeitskarten für Dashboards. */
.product-work-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  min-width: 0;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1rem;
  box-shadow: none;
}

.product-work-card:hover,
.product-work-card:focus-within {
  border-color: rgba(14, 165, 233, 0.34);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.07);
}

.product-work-card h2,
.product-work-card h3,
.product-work-card p,
.product-work-card small {
  letter-spacing: 0;
}

.product-work-card h2,
.product-work-card h3 {
  margin: 0;
  color: #0f172a;
  font-size: 1.05rem;
  line-height: 1.22;
}

.product-work-card p {
  margin: 0;
  color: #334155;
  font-size: 0.92rem;
  line-height: 1.45;
}

.product-card-meta,
.student-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.product-card-meta span,
.student-card-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 1.75rem;
  padding: 0.28rem 0.65rem;
  color: #334155;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
}

.company-card-privacy-line {
  margin: 0;
  color: #64748b;
  font-size: 0.84rem;
  line-height: 1.4;
}

.product-card-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-top: auto;
}

.product-card-footer .button,
.product-card-footer form {
  flex: 1 1 8.5rem;
}

.product-card-footer form {
  display: flex;
  margin: 0;
}

.product-card-footer form .button {
  width: 100%;
}

@media (max-width: 760px) {
  .product-work-card {
    gap: 0.75rem;
    padding: 0.9rem;
  }

  .product-card-meta span,
  .student-card-meta span {
    font-size: 0.76rem;
  }
}

/* Product core 63: öffentliche Startseite als kompakter Premium-Einstieg. */
body .public-header {
  min-height: 4.25rem;
  padding: 0 1.6rem;
  background: rgba(11, 18, 32, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

body .public-header .brand,
body .public-header .brand-image-mark {
  width: 8.2rem;
  height: 3.35rem;
  overflow: visible;
}

body .public-header .brand-image-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

body .public-header .public-header-actions {
  gap: 0.8rem;
}

body .public-header .desktop-public-nav {
  gap: 1.2rem;
}

body .public-header .desktop-public-nav a {
  color: rgba(226, 232, 240, 0.82);
  font-size: 0.92rem;
  font-weight: 700;
}

body .premium-home-hero {
  min-height: auto;
  padding: clamp(3.2rem, 6vw, 5.2rem) 0 clamp(2.8rem, 5vw, 4.2rem);
  background:
    radial-gradient(circle at 16% 12%, rgba(14, 165, 233, 0.22), transparent 30rem),
    linear-gradient(135deg, #0b1220 0%, #111827 48%, #0f172a 100%);
}

body .premium-home-hero .landing-hero-inner {
  display: grid;
  gap: clamp(1.1rem, 2.4vw, 1.7rem);
  align-items: start;
  padding-top: 0;
  padding-bottom: 0;
}

body .premium-home-hero h1,
body .premium-home-hero .landing-hero-inner h1 {
  max-width: 17ch;
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.15rem, 4.1vw, 3.85rem);
  line-height: 1.02;
  letter-spacing: 0;
}

body .premium-home-hero .landing-lead {
  max-width: 38rem;
  margin: 0;
  color: rgba(226, 232, 240, 0.86);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.55;
}

body .premium-home-hero .landing-cta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  width: 100%;
  margin-top: clamp(0.8rem, 2vw, 1.4rem);
}

body .premium-home-hero .landing-cta-card {
  min-height: 9.8rem;
  padding: 1.15rem;
  color: #e5eef8;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 1.1rem;
  box-shadow: none;
}

body .premium-home-hero .landing-cta-card h2 {
  margin: 0;
  color: #ffffff;
  font-size: 1.08rem;
  line-height: 1.2;
}

body .premium-home-hero .landing-cta-card p {
  margin: 0;
  color: rgba(226, 232, 240, 0.76);
  font-size: 0.9rem;
  line-height: 1.42;
}

body .premium-home-hero .landing-card-button {
  min-height: 2.55rem;
  padding: 0.6rem 0.9rem;
  border-radius: 0.8rem;
  font-size: 0.9rem;
}

body .premium-home-hero .landing-trust-strip {
  max-width: 60rem;
  margin-top: 0.9rem;
}

@media (min-width: 980px) {
  body .premium-home-hero .landing-hero-inner {
    grid-template-columns: minmax(0, 0.95fr) minmax(22rem, 0.72fr);
  }

  body .premium-home-hero .landing-cta-grid,
  body .premium-home-hero .landing-trust-strip {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  body .public-header {
    min-height: 4rem;
    padding: 0 0.9rem;
  }

  body .public-header .brand,
  body .public-header .brand-image-mark {
    width: 6.8rem;
    height: 2.85rem;
  }

  body .public-header .public-mobile-menu {
    width: 2.55rem;
    height: 2.55rem;
  }

  body .premium-home-hero {
    padding: 2.2rem 0 2.4rem;
  }

  body .premium-home-hero .landing-hero-inner {
    padding-inline: 1rem;
    gap: 1rem;
  }

  body .premium-home-hero h1,
  body .premium-home-hero .landing-hero-inner h1,
  body .landing-hero h1 {
    max-width: 16ch;
    font-size: clamp(2rem, 9vw, 2.65rem);
    line-height: 1.04;
  }

  body .premium-home-hero .landing-lead {
    max-width: 100%;
    font-size: 0.96rem;
    line-height: 1.45;
  }

  body .premium-home-hero .landing-cta-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.7rem;
    margin-top: 0.2rem;
  }

  body .premium-home-hero .landing-cta-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    min-height: 4.85rem;
    padding: 0.8rem;
    gap: 0.65rem 0.85rem;
  }

  body .premium-home-hero .landing-cta-card p {
    display: none;
  }

  body .premium-home-hero .landing-card-button {
    grid-column: 2;
    width: max-content;
    min-height: 2.2rem;
    padding: 0.48rem 0.75rem;
    font-size: 0.82rem;
  }

  body .premium-home-hero .landing-trust-strip {
    display: none;
  }
}

/* Product core 64: App-Sidebar zeigt nur das echte Logo, nicht eine versteckte Wortmarke. */
body .company-dashboard-brand.brand-text-only,
body .student-dashboard-brand.brand-text-only,
body .admin-dashboard-brand.brand-text-only,
body .sidebar-brand.brand-text-only {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 3.1rem;
  max-height: none;
  margin: 0 0 1.1rem;
  overflow: visible;
}

body .company-dashboard-brand.brand-text-only .brand-image-mark,
body .student-dashboard-brand.brand-text-only .brand-image-mark,
body .admin-dashboard-brand.brand-text-only .brand-image-mark,
body .sidebar-brand.brand-text-only .brand-image-mark,
body .company-dashboard-sidebar .brand-image-mark,
body .student-dashboard-sidebar .brand-image-mark {
  display: inline-flex;
  width: 7.4rem;
  height: 3.1rem;
  aspect-ratio: auto;
  overflow: visible;
}

body .company-dashboard-brand.brand-text-only .brand-image-mark img,
body .student-dashboard-brand.brand-text-only .brand-image-mark img,
body .admin-dashboard-brand.brand-text-only .brand-image-mark img,
body .sidebar-brand.brand-text-only .brand-image-mark img,
body .company-dashboard-sidebar .brand-image-mark img,
body .student-dashboard-sidebar .brand-image-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

/* Product core 65: Studentensuche ohne Inline-Skript, Filter desktop sichtbar und mobil kompakt. */
body .student-filter-details:not([open]) > .student-filter-body {
  display: block;
}

/* Product core 66: Benachrichtigungen wirken als klare Aktion, nicht als rohe Zahl. */
body .notification-bell.notification-bell-compact .notification-bell-button {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.35rem;
  padding: 0.45rem 0.72rem;
  border: 1px solid rgba(14, 165, 233, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--color-neutral-800);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

body .notification-bell.notification-bell-compact .notification-bell-mark {
  display: none;
}

body .notification-bell.notification-bell-compact .notification-bell-copy {
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  color: var(--color-neutral-600);
}

body .notification-bell.notification-bell-compact .notification-badge {
  min-width: 1.35rem;
  height: 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.38rem;
  border-radius: 999px;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
}

body .notification-bell.notification-bell-compact .notification-badge.is-empty {
  background: var(--color-neutral-200);
  color: var(--color-neutral-600);
}

@media (max-width: 980px) {
  body .student-filter-details:not([open]) > .student-filter-body {
    display: none;
  }
}

@media (max-width: 980px) {
  body .company-dashboard-brand.brand-text-only,
  body .student-dashboard-brand.brand-text-only,
  body .admin-dashboard-brand.brand-text-only,
  body .sidebar-brand.brand-text-only {
    min-height: 2.65rem;
    margin-bottom: 0.75rem;
  }

  body .company-dashboard-brand.brand-text-only .brand-image-mark,
  body .student-dashboard-brand.brand-text-only .brand-image-mark,
  body .admin-dashboard-brand.brand-text-only .brand-image-mark,
  body .sidebar-brand.brand-text-only .brand-image-mark,
  body .company-dashboard-sidebar .brand-image-mark,
  body .student-dashboard-sidebar .brand-image-mark {
    width: 6.6rem;
    height: 2.65rem;
  }
}

/* Product core 68: Kein global dauerhaft offener rechter Chat.
   Chat ist ein eigener Nachrichtenfluss oder Teil der Angebotsverhandlung, aber kein permanenter Dashboard-Rand. */
body .company-dashboard-layout:not(.company-offer-negotiation-layout),
body .student-dashboard-layout {
  grid-template-columns: 206px minmax(0, 1fr);
}

body .company-dashboard-layout:not(.company-offer-negotiation-layout) > .company-dashboard-chat,
body .student-dashboard-layout > .company-dashboard-chat,
body .student-dashboard-layout .company-dashboard-chat {
  display: none;
}

@media (max-width: 980px) {
  body .company-dashboard-layout:not(.company-offer-negotiation-layout),
  body .student-dashboard-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Product core 69: Dashboard oben als klare Arbeitsleiste statt losem Kartenstapel. */
body .dashboard-command-strip,
body .student-decision-rail {
  display: grid;
  align-items: center;
  gap: 0.85rem;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 1.05rem;
  background: rgba(255, 255, 255, 0.92);
  padding: 0.9rem;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.05);
}

body .dashboard-command-strip {
  grid-template-columns: minmax(12rem, 0.55fr) minmax(0, 1fr);
}

body .dashboard-command-strip > div,
body .student-decision-rail article {
  min-width: 0;
}

body .dashboard-command-strip span,
body .student-decision-rail span {
  display: block;
  color: var(--color-neutral-500);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body .dashboard-command-strip strong,
body .student-decision-rail strong {
  display: block;
  color: var(--color-neutral-900);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.15;
}

body .dashboard-command-strip nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
}

body .dashboard-command-strip .button,
body .student-decision-rail .button {
  min-height: 2.35rem;
}

body .student-decision-rail {
  grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(8rem, 0.62fr)) auto;
}

body .student-decision-rail article {
  border-right: 1px solid rgba(148, 163, 184, 0.18);
  padding-right: 0.75rem;
}

body .student-decision-rail article:last-of-type {
  border-right: 0;
}

body .student-decision-rail small {
  display: block;
  margin-top: 0.18rem;
  color: var(--color-neutral-600);
  font-size: 0.82rem;
  line-height: 1.3;
}

@media (max-width: 1120px) {
  body .student-decision-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body .student-decision-rail .button {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (max-width: 820px) {
  body .dashboard-command-strip {
    grid-template-columns: minmax(0, 1fr);
  }

  body .dashboard-command-strip nav {
    justify-content: stretch;
  }

  body .dashboard-command-strip .button {
    flex: 1 1 10rem;
  }
}

@media (max-width: 620px) {
  body .student-decision-rail {
    grid-template-columns: minmax(0, 1fr);
  }

  body .student-decision-rail article {
    border-right: 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    padding: 0 0 0.7rem;
  }
}

/* Product core 70: Talentkarten zeigen Entscheidungskriterien sofort, ohne lange Verwaltungstexte. */
body .student-search-card .student-card-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
  margin-top: 0.85rem;
}

body .student-search-card .student-card-summary span {
  min-width: 0;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 0.75rem;
  background: rgba(248, 250, 252, 0.9);
  padding: 0.58rem 0.62rem;
  color: var(--color-neutral-700);
  font-size: 0.78rem;
  line-height: 1.25;
}

body .student-search-card .student-card-summary strong {
  display: block;
  margin-bottom: 0.14rem;
  color: var(--color-neutral-900);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

@media (max-width: 520px) {
  body .student-search-card .student-card-summary {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Product core 71: Public Einstieg als Produktvorschau, nicht als Textwand. */
body .premium-home-hero .landing-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(20rem, 0.72fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

body .landing-hero-copy {
  min-width: 0;
}

body .landing-product-pill {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  margin-bottom: 1rem;
  padding: 0.32rem 0.78rem;
  border: 1px solid rgba(14, 165, 233, 0.32);
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.14);
  color: #bae6fd;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

body .landing-product-preview {
  display: grid;
  gap: 0.8rem;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 1.35rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(15, 23, 42, 0.28));
  padding: 1rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

body .landing-preview-card {
  display: grid;
  gap: 0.95rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.95);
  padding: 1rem;
  color: var(--color-neutral-900);
}

body .landing-preview-person {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
}

body .landing-preview-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #0ea5e9, #22c55e);
  color: #fff;
  font-weight: 900;
}

body .landing-preview-person strong,
body .landing-preview-person span {
  display: block;
}

body .landing-preview-person strong {
  font-size: 1rem;
  line-height: 1.1;
}

body .landing-preview-person span {
  color: var(--color-neutral-600);
  font-size: 0.86rem;
}

body .landing-preview-person em {
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  padding: 0.35rem 0.55rem;
  color: #15803d;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

body .landing-preview-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
}

body .landing-preview-skills span {
  border-radius: 999px;
  background: #f1f5f9;
  padding: 0.34rem 0.58rem;
  color: var(--color-neutral-700);
  font-size: 0.78rem;
  font-weight: 800;
}

body .landing-preview-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-radius: 0.85rem;
  background: #0f172a;
  padding: 0.75rem 0.85rem;
  color: #fff;
}

body .landing-preview-action strong,
body .landing-preview-action span {
  display: block;
}

body .landing-preview-action strong {
  color: #bae6fd;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body .landing-preview-action span {
  font-weight: 800;
}

body .landing-preview-process {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

body .landing-preview-process li {
  border: 1px solid rgba(186, 230, 253, 0.22);
  border-radius: 0.85rem;
  background: rgba(15, 23, 42, 0.5);
  padding: 0.58rem;
  color: #e0f2fe;
  font-size: 0.78rem;
  font-weight: 800;
  text-align: center;
}

body .premium-home-hero .landing-cta-grid,
body .premium-home-hero .landing-trust-strip {
  grid-column: 1 / -1;
}

body .premium-home-hero .landing-cta-card {
  text-decoration: none;
}

body .premium-home-hero .landing-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.16);
  color: #38bdf8;
  font-size: 0.78rem;
  font-weight: 900;
}

body .platform-hero-flow,
body .platform-role-strip {
  display: grid;
  gap: 0.65rem;
}

body .platform-hero-flow {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 1.35rem;
}

body .platform-hero-flow span,
body .platform-role-strip article {
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.72rem 0.78rem;
  color: #e0f2fe;
  font-weight: 800;
  text-align: center;
}

body .platform-role-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(100% - 2rem, 1100px);
  margin: -2rem auto 2.5rem;
  position: relative;
  z-index: 2;
}

body .platform-role-strip article {
  background: #fff;
  color: var(--color-neutral-900);
  text-align: left;
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.08);
}

body .platform-role-strip span,
body .platform-role-strip strong,
body .platform-role-strip p {
  display: block;
}

body .platform-role-strip span {
  color: var(--color-accent);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body .platform-role-strip strong {
  margin-top: 0.25rem;
  font-size: 1rem;
}

body .platform-role-strip p {
  margin: 0.38rem 0 0;
  color: var(--color-neutral-600);
  font-size: 0.9rem;
  line-height: 1.45;
}

@media (max-width: 980px) {
  body .premium-home-hero .landing-hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  body .platform-hero-flow,
  body .platform-role-strip {
    grid-template-columns: minmax(0, 1fr);
  }

  body .platform-role-strip {
    margin-top: 1rem;
  }
}

@media (max-width: 560px) {
  body .landing-preview-person {
    grid-template-columns: auto minmax(0, 1fr);
  }

  body .landing-preview-person em {
    grid-column: 1 / -1;
    justify-content: center;
  }

  body .landing-preview-process {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Product core 72: Breites Original-Logo ohne Zuschnitt und ohne Zusatzwortmarke. */
body .brand-image-mark,
body .public-header .brand-image-mark,
body .public-footer .brand-image-mark,
body .auth-logo .brand-image-mark,
body .company-dashboard-brand.brand-text-only .brand-image-mark,
body .student-dashboard-brand.brand-text-only .brand-image-mark,
body .admin-dashboard-brand.brand-text-only .brand-image-mark,
body .sidebar-brand.brand-text-only .brand-image-mark,
body .company-dashboard-sidebar .brand-image-mark,
body .student-dashboard-sidebar .brand-image-mark {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: clamp(9.5rem, 15vw, 13.5rem);
  height: auto;
  min-height: 3rem;
  max-width: 100%;
  aspect-ratio: 1120 / 360;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body .brand-image-mark img,
body .public-header .brand-image-mark img,
body .public-footer .brand-image-mark img,
body .auth-logo .brand-image-mark img,
body .company-dashboard-brand.brand-text-only .brand-image-mark img,
body .student-dashboard-brand.brand-text-only .brand-image-mark img,
body .admin-dashboard-brand.brand-text-only .brand-image-mark img,
body .sidebar-brand.brand-text-only .brand-image-mark img,
body .company-dashboard-sidebar .brand-image-mark img,
body .student-dashboard-sidebar .brand-image-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

body .company-dashboard-brand.brand-text-only,
body .student-dashboard-brand.brand-text-only,
body .admin-dashboard-brand.brand-text-only,
body .sidebar-brand.brand-text-only {
  min-height: 4rem;
  margin-bottom: 1rem;
}

body .company-dashboard-brand.brand-text-only .brand-image-mark,
body .student-dashboard-brand.brand-text-only .brand-image-mark,
body .admin-dashboard-brand.brand-text-only .brand-image-mark,
body .sidebar-brand.brand-text-only .brand-image-mark,
body .company-dashboard-sidebar .brand-image-mark,
body .student-dashboard-sidebar .brand-image-mark {
  width: min(10.8rem, 100%);
  min-height: 3.35rem;
}

body .public-header .brand-image-mark {
  width: clamp(10rem, 14vw, 12.5rem);
  min-height: 3.15rem;
}

body .auth-logo .brand-image-mark {
  width: 12.5rem;
  min-height: 3.8rem;
}

@media (max-width: 980px) {
  body .company-dashboard-brand.brand-text-only .brand-image-mark,
  body .student-dashboard-brand.brand-text-only .brand-image-mark,
  body .admin-dashboard-brand.brand-text-only .brand-image-mark,
  body .sidebar-brand.brand-text-only .brand-image-mark,
  body .company-dashboard-sidebar .brand-image-mark,
  body .student-dashboard-sidebar .brand-image-mark,
  body .public-header .brand-image-mark {
    width: 9rem;
    min-height: 2.85rem;
  }
}

/* Product core 73: Tablet und Mobile als eigene Arbeitsstruktur, nicht als gestapelter Desktop. */
@media (max-width: 1024px) {
  html,
  body {
    max-width: 100vw;
    overflow-x: hidden;
  }

  body .app-shell,
  body .workspace,
  body .workspace-main,
  body .company-dashboard-layout,
  body .student-dashboard-layout,
  body .company-dashboard-main,
  body .student-dashboard-main {
    max-width: 100vw;
    min-width: 0;
    overflow-x: clip;
  }

  body .company-dashboard-layout:not(.company-offer-negotiation-layout),
  body .student-dashboard-layout,
  body .company-dashboard-layout.company-discovery-layout,
  body .company-dashboard-layout.company-student-detail-layout,
  body .company-dashboard-layout.company-process-workspace {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  body .company-dashboard-sidebar,
  body .student-dashboard-sidebar {
    position: sticky;
    top: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0.65rem;
    width: 100%;
    max-width: 100vw;
    min-height: 4rem;
    padding: 0.65rem 0.8rem;
    border-right: 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  }

  body .company-dashboard-sidebar .company-dashboard-role,
  body .student-dashboard-sidebar .student-dashboard-user,
  body .company-dashboard-sidebar .company-dashboard-user {
    display: none;
  }

  body .company-dashboard-nav,
  body .student-dashboard-nav {
    grid-column: 1 / -1;
    display: flex;
    gap: 0.5rem;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  body .company-dashboard-nav::-webkit-scrollbar,
  body .student-dashboard-nav::-webkit-scrollbar {
    display: none;
  }

  body .company-dashboard-nav a,
  body .student-dashboard-nav a {
    flex: 0 0 auto;
    min-height: 2.35rem;
    white-space: nowrap;
    scroll-snap-align: start;
  }

  body .company-dashboard-toolbar,
  body .student-dashboard-heading,
  body .company-dashboard-main > header:first-child,
  body .student-dashboard-main > header:first-child {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.8rem;
    padding: 1rem;
  }

  body .company-dashboard-main > header:first-child h1,
  body .student-dashboard-main > header:first-child h1,
  body .company-process-main > .section-heading h1 {
    font-size: clamp(1.55rem, 5.8vw, 2rem);
    line-height: 1.1;
  }

  body .dashboard-command-strip,
  body .student-decision-rail,
  body .student-dashboard-columns,
  body .company-dashboard-card-grid,
  body .company-card-grid,
  body .student-card-grid,
  body .process-card-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  body .dashboard-command-strip nav,
  body .company-dashboard-metrics,
  body .student-dashboard-tools,
  body .process-item-card-actions,
  body .form-actions {
    justify-content: stretch;
  }

  body .dashboard-command-strip .button,
  body .process-item-card-actions .button,
  body .student-work-card .button,
  body .company-next-action-panel .button,
  body .form-actions .button {
    width: 100%;
  }
}

@media (max-width: 767px) {
  body .process-timeline,
  body .company-process-bar,
  body .company-process-bar.process-timeline,
  body .company-discovery-main .company-process-bar.process-timeline,
  body .company-process-workspace .process-timeline,
  body .student-process-workspace .process-timeline {
    display: flex;
    gap: 0.5rem;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  body .process-timeline::-webkit-scrollbar,
  body .company-process-bar::-webkit-scrollbar {
    display: none;
  }

  body .process-timeline li,
  body .process-timeline .timeline-step,
  body .company-process-bar li,
  body .company-discovery-main .company-process-bar.process-timeline li,
  body .company-process-workspace .process-timeline li,
  body .student-process-workspace .process-timeline li {
    flex: 0 0 7.75rem;
    min-width: 7.75rem;
    max-width: 7.75rem;
    border-radius: 0.8rem;
    scroll-snap-align: start;
  }

  body .process-timeline li strong,
  body .process-timeline .timeline-step strong,
  body .company-process-bar li strong,
  body .company-discovery-main .company-process-bar.process-timeline li strong {
    font-size: 0.78rem;
    line-height: 1.15;
    white-space: normal;
    overflow-wrap: normal;
    word-break: keep-all;
    hyphens: manual;
  }

  body .process-timeline li span,
  body .process-timeline .timeline-step span,
  body .company-process-bar li span {
    display: block;
    margin-top: 0.18rem;
    font-size: 0.68rem;
    line-height: 1.1;
  }

  body .process-timeline li p,
  body .process-timeline .timeline-step p,
  body .company-process-bar li p {
    display: none;
  }
}

@media (max-width: 430px) {
  body .company-dashboard-sidebar,
  body .student-dashboard-sidebar {
    padding-inline: 0.65rem;
  }

  body .company-dashboard-main,
  body .student-dashboard-main,
  body .company-process-main {
    padding-inline: 0.75rem;
  }

  body .company-dashboard-brand.brand-text-only .brand-image-mark,
  body .student-dashboard-brand.brand-text-only .brand-image-mark,
  body .company-dashboard-sidebar .brand-image-mark,
  body .student-dashboard-sidebar .brand-image-mark {
    width: 8rem;
    min-height: 2.55rem;
  }
}

/* Product core 74: Marke als klare Wortmarke statt abgeschnittenes Mini-Bild. */
body .brand-wordmark,
body .public-header .brand-wordmark,
body .public-footer .brand-wordmark,
body .auth-logo .brand-wordmark,
body .public-mobile-drawer-head .brand-wordmark,
body .company-dashboard-brand.brand-text-only .brand-wordmark,
body .student-dashboard-brand.brand-text-only .brand-wordmark,
body .admin-dashboard-brand.brand-text-only .brand-wordmark,
body .sidebar-brand.brand-text-only .brand-wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.02em;
  width: auto;
  min-width: 0;
  min-height: 0;
  color: #ffffff;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

body .brand-wordmark-it {
  color: #38bdf8;
}

body .brand-wordmark-core {
  background: linear-gradient(90deg, #a855f7 0%, #38bdf8 50%, #22c55e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body .workspace-profile-avatar[data-initial]::before {
  content: attr(data-initial);
  display: inline;
}

body .brand-wordmark-kfa {
  color: currentColor;
}

body .brand-wordmark-domain {
  margin-left: 0.06em;
  color: rgba(226, 232, 240, 0.9);
  font-size: 0.72em;
  font-weight: 800;
  text-transform: none;
}

body .public-header .brand-wordmark,
body .auth-logo .brand-wordmark,
body .public-footer .brand-wordmark,
body .public-mobile-drawer-head .brand-wordmark {
  color: #ffffff;
}

body .company-dashboard-brand.brand-text-only,
body .student-dashboard-brand.brand-text-only,
body .admin-dashboard-brand.brand-text-only,
body .sidebar-brand.brand-text-only {
  min-height: 0;
  margin-bottom: 1rem;
}

body .company-dashboard-brand.brand-text-only .brand-wordmark,
body .student-dashboard-brand.brand-text-only .brand-wordmark,
body .admin-dashboard-brand.brand-text-only .brand-wordmark,
body .sidebar-brand.brand-text-only .brand-wordmark {
  color: #ffffff;
  font-size: 1.42rem;
}

body .company-dashboard-brand.brand-text-only .brand-wordmark-domain,
body .student-dashboard-brand.brand-text-only .brand-wordmark-domain,
body .admin-dashboard-brand.brand-text-only .brand-wordmark-domain,
body .sidebar-brand.brand-text-only .brand-wordmark-domain {
  display: none;
}

body .brand-image-mark {
  display: none;
}

@media (max-width: 767px) {
  body .public-header .brand-wordmark,
  body .public-mobile-drawer-head .brand-wordmark,
  body .auth-logo .brand-wordmark {
    font-size: 1.34rem;
  }
}

/* Product core 75: verbindliche Endprodukt-Typografie ohne Demo-Übergrossen. */
body {
  --product-title-public: clamp(2.625rem, 3.35vw, 3.25rem);
  --product-title-public-mobile: clamp(1.875rem, 8vw, 2.25rem);
  --product-title-page: clamp(1.65rem, 2.1vw, 2rem);
  --product-title-page-mobile: clamp(1.5rem, 7vw, 2rem);
  --product-title-panel: clamp(1.125rem, 1.45vw, 1.375rem);
  --product-text-body: clamp(0.9375rem, 1.05vw, 1.0625rem);
  --product-text-nav: clamp(0.875rem, 1vw, 1rem);
  --product-text-badge: 0.8125rem;
}

body .premium-home-hero h1,
body .premium-home-hero .landing-hero-inner h1,
body .landing-hero h1 {
  max-width: 48rem;
  font-size: var(--product-title-public);
  line-height: 1.06;
  letter-spacing: 0;
}

body .public-page h1,
body .platform-hero h1,
body .auth-brand-panel h1 {
  font-size: var(--product-title-page);
  line-height: 1.08;
  letter-spacing: 0;
}

body .landing-how h2,
body .landing-traffic h2,
body .platform-section-head h2,
body .company-dashboard-main > .section-heading h1,
body .student-dashboard-main > .section-heading h1,
body .company-process-main > .section-heading h1,
body .student-process-main > .section-heading h1,
body .company-discovery-main > .section-heading h1,
body .admin-dashboard-hero h1,
body .section-stack.payment-model > .detail-header h1,
body .section-stack.dunning-model > .detail-header h1,
body .company-dashboard-layout > .company-dashboard-main > header:first-child h1,
body .student-ampel-topbar h1 {
  font-size: var(--product-title-page);
  line-height: 1.12;
  letter-spacing: 0;
}

body .landing-lead,
body .platform-hero p:not(.eyebrow),
body .section-heading .lead,
body .public-section-copy p,
body .student-ampel-topbar span,
body .company-dashboard-toolbar p {
  font-size: var(--product-text-body);
  line-height: 1.6;
}

body .landing-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1rem;
}

body .landing-hero-actions .button {
  min-height: 2.65rem;
  padding-inline: 1rem;
}

body .public-nav a,
body .public-header .button,
body .company-dashboard-nav a,
body .student-dashboard-nav a,
body .admin-dashboard-nav a,
body .button {
  font-size: var(--product-text-nav);
}

body .badge,
body .traffic-badge,
body .landing-product-pill,
body .company-card-category,
body .process-item-card-kicker,
body .eyebrow {
  font-size: var(--product-text-badge);
}

body .landing-cta-card h2,
body .platform-traffic-grid h3,
body .product-panel h2,
body .work-queue h2,
body .process-card-list-header h2,
body .student-dashboard-column h2,
body .student-work-card h2,
body .company-student-card h2,
body .message-thread-header h2 {
  font-size: var(--product-title-panel);
  line-height: 1.22;
}

@media (max-width: 767px) {
  body .premium-home-hero h1,
  body .premium-home-hero .landing-hero-inner h1,
  body .landing-hero h1 {
    font-size: var(--product-title-public-mobile);
    line-height: 1.08;
  }

  body .public-page h1,
  body .platform-hero h1,
  body .auth-brand-panel h1,
  body .landing-how h2,
  body .landing-traffic h2,
  body .platform-section-head h2,
  body .company-dashboard-main > .section-heading h1,
  body .student-dashboard-main > .section-heading h1,
  body .company-process-main > .section-heading h1,
  body .student-process-main > .section-heading h1,
  body .company-discovery-main > .section-heading h1,
  body .admin-dashboard-hero h1,
  body .section-stack.payment-model > .detail-header h1,
  body .section-stack.dunning-model > .detail-header h1,
  body .company-dashboard-layout > .company-dashboard-main > header:first-child h1,
  body .student-ampel-topbar h1 {
    font-size: var(--product-title-page-mobile);
    line-height: 1.12;
  }

  body .landing-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.55rem;
    width: min(100%, 21rem);
  }

  body .landing-hero-actions .button {
    width: 100%;
    justify-content: center;
  }

  body .auth-combo-shell {
    min-height: auto;
    padding: 0.5rem;
  }

  body .auth-combo-card.auth-split-card {
    border-radius: 0.875rem;
  }

  body .auth-brand-panel {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.625rem;
    align-items: center;
    min-height: 0;
    padding: 0.85rem;
  }

  body .auth-brand-panel .auth-logo {
    margin: 0;
  }

  body .auth-brand-panel h1 {
    max-width: none;
    margin: 0;
    font-size: 1rem;
    line-height: 1.22;
  }

  body .auth-brand-panel ul {
    display: none;
  }

  body .auth-form-panel {
    gap: 0.7rem;
    padding: 0.85rem;
  }

  body .auth-tabs {
    min-height: 2.5rem;
  }

  body .auth-form {
    gap: 0.65rem;
  }

body .auth-form .field-hint {
    font-size: 0.75rem;
    line-height: 1.25;
  }
}

/* Product core 76: leere Zustände ohne generische Symbol-Icons. */
body .student-empty-icon,
body .notification-preview-icon,
body .notification-row-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.65rem;
  height: 0.65rem;
  min-width: 0.65rem;
  min-height: 0.65rem;
  color: transparent;
  background: #0ea5e9;
  border: 0;
  border-radius: 999px;
  box-shadow: none;
}

body .student-empty-icon::before,
body .student-empty-icon::after,
body .notification-preview-icon::before,
body .notification-preview-icon::after,
body .notification-row-icon::before,
body .notification-row-icon::after {
  content: none;
  display: none;
}

/* Product core 77: öffentliche Startseite wieder dunkel, ruhig und hochwertig. */
body .landing-hero.premium-home-hero {
  color: #ffffff;
  background:
    radial-gradient(circle at 18% 12%, rgba(14, 165, 233, 0.24), transparent 32%),
    radial-gradient(circle at 86% 4%, rgba(34, 197, 94, 0.13), transparent 28%),
    linear-gradient(135deg, #0b1220 0%, #101a2d 54%, #0b1220 100%);
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

body .landing-hero.premium-home-hero::before {
  opacity: 0.18;
}

body .landing-hero.premium-home-hero h1,
body .landing-hero.premium-home-hero .landing-lead {
  color: #ffffff;
}

body .landing-hero.premium-home-hero .landing-lead {
  color: rgba(226, 232, 240, 0.86);
}

body .landing-hero.premium-home-hero .landing-product-pill {
  color: #bae6fd;
  background: rgba(14, 165, 233, 0.13);
  border-color: rgba(125, 211, 252, 0.26);
}

body .landing-hero.premium-home-hero .landing-cta-card,
body .landing-hero.premium-home-hero .landing-product-preview {
  color: #e2e8f0;
  background: rgba(15, 23, 42, 0.72);
  border-color: rgba(148, 163, 184, 0.22);
  box-shadow: none;
  backdrop-filter: blur(16px);
}

body .landing-hero.premium-home-hero .landing-cta-card h2,
body .landing-hero.premium-home-hero .landing-preview-person strong,
body .landing-hero.premium-home-hero .landing-preview-action strong {
  color: #ffffff;
}

body .landing-hero.premium-home-hero .landing-cta-card p,
body .landing-hero.premium-home-hero .landing-preview-person span,
body .landing-hero.premium-home-hero .landing-preview-action span {
  color: rgba(226, 232, 240, 0.78);
}

body .landing-hero.premium-home-hero .landing-card-button {
  color: #ffffff;
  background: #0ea5e9;
}

body .landing-hero.premium-home-hero .landing-card-icon,
body .landing-hero.premium-home-hero .landing-preview-avatar {
  color: #ffffff;
  background: rgba(14, 165, 233, 0.2);
  border-color: rgba(125, 211, 252, 0.26);
}

body .landing-hero.premium-home-hero .landing-preview-skills span,
body .landing-hero.premium-home-hero .landing-preview-process li {
  color: #bae6fd;
  background: rgba(14, 165, 233, 0.12);
  border-color: rgba(125, 211, 252, 0.2);
}

/* Codex integration overrides retained after frontend merge. */
/* endproduktkartenregel productcore70 keindauerndoffenerchat */
body.company-dashboard-layout:not(.company-offer-negotiation-layout),body.student-dashboard-layout{grid-template-columns:206px minmax(0,1fr)}
body.company-dashboard-layout:not(.company-offer-negotiation-layout),body.student-dashboard-layout,body.company-dashboard-layout.company-discovery-layout,body.company-dashboard-layout.company-student-detail-layout,body.company-dashboard-layout.company-process-workspace{max-width:100vw}
body.company-dashboard-sidebar,body.student-dashboard-sidebar{position:sticky}
body.company-dashboard-nav,body.student-dashboard-nav{scroll-snap-type:x proximity}
body.process-timeline,body.company-process-bar,body.company-process-bar.process-timeline{word-break:keep-all}
.process-timelineli{flex:0 0 7.75rem}
.company-dashboard-layout.company-process-workspace>.company-dashboard-main{min-height:0}
.company-process-workspace.process-timeline:not(:first-of-type){display:none}
.company-process-workspace.process-card-list,.company-process-workspace.process-next-action-panel{display:grid}
.section-stack.payment-model:not(.payment-detail)>.work-queue,.section-stack.dunning-model>.work-queue{display:grid}
.section-stack.payment-model:not(.payment-detail)>.process-card-list,.section-stack.dunning-model>.process-card-list{display:grid}
.section-stack.payment-model:not(.payment-detail)>.security-notice{display:grid}
.section-stack.payment-model:not(.payment-detail)>.security-notice,.section-stack.payment-model:not(.payment-detail)>.prepared-admin-flow,.section-stack.payment-model:not(.payment-detail)>.review-metrics,.section-stack.dunning-model>.security-notice,.section-stack.dunning-model>.prepared-admin-flow,.section-stack.dunning-model>.review-metrics{display:grid}
.topbar.public-header,.public-header,.premium-home-hero,.landing-traffic,.public-footer{width:100%;margin-left:0}
/* productcore12:kanonischerpublic-kontrastundruhigetypografie */
.premium-home-hero h1,.premium-home-hero.landing-hero-inner h1{font-size:3.25rem}
.public-header{background:rgba(15,23,42,0.84)}
.public-header .button-secondary,.public-header a.button.button-secondary{border-color:rgba(255,255,255,0.34)}
.public-header a.button.button-secondary{border-color:rgba(255,255,255,0.38)}
.offer-chat-compose:focus-within,.offer-chat-next-strip,.offer-chat-next-strip strong,.button[aria-busy="true"],.student-match-meter::-webkit-progress-value{transition:width 220ms ease-out}
@keyframes itkfa-spin{to{transform:rotate(360deg)}}
.company-process-workspace .company-process-main.actions,.company-process-workspace .company-process-main.action-bar{display:flex}
.company-process-workspace .process-guard,.company-process-workspace .status-strip,.company-process-workspace .work-queue,.company-process-workspace .privacy-notice,.company-process-workspace .security-notice{order:2}
.company-process-workspace .process-guard,.company-process-workspace .work-queue{order:3}
.offer-form-panel{height:280px}.offer-chat-panel{height:320px}.offer-form-block{height:300px}.offer-counter-drawer{height:340px}
@media(max-width:860px){.form-grid{grid-template-columns:1fr}.offer-negotiation-split{grid-template-columns:1fr}.company-card-grid,.student-dashboard-columns{grid-template-columns:1fr}}
@media(max-width:860px){.company-dashboard-main,.student-dashboard-main{flex-direction:column}}
@media(max-width:1024px){/* productcore73:tabletundmobilealseigenearbeitsstruktur */.company-dashboard-main,.student-dashboard-main{min-height:0}}
@media(max-width:430px){.company-dashboard-main,.student-dashboard-main{font-size:16px}}
@media(min-width:861px){.public-mobile-menu,.public-mobile-drawer{display:none}.public-nav{display:flex}}
.mobile-role-menu.sidebar-nav{display:flex;flex-direction: column;gap:.5rem}
.work-queue,.process-card-list,.admin-approval-worklist{display:flex;flex-direction: column;gap:.75rem}
.admin-dashboard-role-chip{display:inline-flex;align-items:center;min-height:32px}
.notification-bell-compact{display:inline-flex;align-items:center;justify-content:center}
.company-offer-negotiation-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(20rem,.8fr);gap:1rem}
.process-guard-compact{display:flex;align-items:center;gap:.75rem}
/* Productcore75:verbindlicheEndprodukt-TypografieohneDemo-Ãœbergrossen */
:root{--product-title-public:clamp(2.625rem,3.35vw,3.25rem);--product-title-public-mobile:clamp(1.875rem,8vw,2.25rem);--product-title-page:clamp(1.65rem,2.1vw,2rem);--product-title-panel:clamp(1.125rem,1.45vw,1.375rem);--product-text-nav:clamp(0.875rem,1vw,1rem);--product-text-badge:0.8125rem}
.mobile-role-menu.sidebar-nav>*{flex:1 1 100%}
.dashboard-shell{grid-template-columns:auto auto minmax(260px,1fr)}
.company-dashboard-main,.student-dashboard-main{overflow-x: hidden;max-width:calc(100vw - 82px)}
@media(max-width:1024px){.mobile-work-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-mobile-more{display:none}.company-dashboard-nav,.student-dashboard-nav{grid-column:1/-1;display:flex;gap:0.5rem;overflow-x:auto;scrollbar-width:none}.company-dashboard-nav a,.student-dashboard-nav a{flex:0 0 auto}.offer-status-bar{display:flex;gap:8px;overflow-x:auto}.offer-status-bar li{flex:0 0 118px}.offer-panel-head{flex-direction:column;gap:8px}.offer-panel-head h2{font-size:1.18rem}.public-header .public-mobile-menu summary{width:42px}.public-header .public-mobile-menu summary strong{display:none}.premium-home-hero h1{font-size:2.25rem;line-height:1.06}.premium-home-hero .landing-cta-grid{display:grid;width:100%;grid-template-columns:minmax(0,1fr)}}
body.auth-brand-panel{display:grid;grid-template-columns:auto minmax(0,1fr)}
body.auth-form-panel{gap:0.7rem;padding:0.85rem}
/* Productcore76:leereZustÃ¤ndeohnegenerischeSymbol-Icons */
body.student-empty-icon::before,body.student-empty-icon::after{content:""}
/* Productcore73:TabletundMobilealseigeneArbeitsstruktur */
.description-list.card{box-shadow:none;display:grid;gap:.5rem}
.app-shell-grid{grid-template-columns:auto auto minmax(260px,1fr)}
.admin-dashboard-topbar{grid-template-columns:auto auto minmax(260px,1fr) auto auto;min-height:40px;background:var(--color-surface)}
.workspace-top-grid{grid-template-columns:auto minmax(0,1fr) auto auto}
/* Productcore77:Ã¶ffentlicheStartseitewiederdunkel,ruhigundhochwertig */
body.landing-hero.premium-home-hero{color:#ffffff;background:radial-gradient(circle at 70% 20%,#1d4ed8 0,#0b1220 55%)}
body.company-dashboard-nav,body.student-dashboard-nav{scroll-snap-type:x proximity}
body.process-timeline,body.company-process-bar{display:flex}
body.process-timeline li,body.company-process-bar li{flex:0 0 7.75rem;word-break:keep-all}
.description-list.card{box-shadow: none}
[hidden]{display:none}
.public-header[hidden],
.public-footer[hidden],
.public-mobile-menu[hidden],
.public-mobile-drawer[hidden],
.auth-combo-card[hidden],
.app-shell[hidden],
.student-dashboard-sidebar[hidden] {
    display: none;
}

body .app-shell[hidden],
body .product-app-shell[hidden],
body .app-shell[hidden].company-dashboard-layout,
body .app-shell[hidden].student-dashboard-layout,
body .app-shell[hidden].admin-dashboard-layout {
    display: none;
}

.ui-ico{vertical-align:-.18em}
.legacy-grid{display:flex;flex-direction:column;width:100%;margin:8px 0}
.legacy-row{display:flex;flex-wrap:wrap;gap:6px 20px;align-items:center;padding:11px 4px;border-bottom:1px solid var(--color-line)}
.legacy-head .legacy-row{border-bottom:1px solid var(--color-line-strong)}
.legacy-cell{flex:1 1 0;min-width:80px;font-size:.92rem;color:var(--color-text);overflow-wrap:anywhere;word-break:break-word}
.legacy-cell-head{font-weight:700;font-size:.74rem;letter-spacing:.04em;text-transform:uppercase;color:var(--color-muted)}

/* === Off-canvas fix for the .app flex shell sidebar (out of flow) ===
   styles.css turns the sidebar off-canvas across the whole <=1080px range
   (position:fixed + translateX(-100%) + hamburger). But app.css rules re-set
   `.sidebar{position:sticky/static}` at <=1024px and <=760px, leaving the
   sidebar IN the flex flow: at 761-1080px it left a ~270px empty gap, and at
   <=760px it collapsed .main to 0px (blank page). Re-assert position:fixed
   (out of flow) scoped to .app > .sidebar across the full off-canvas range so
   .main always gets full width. Higher specificity than `.sidebar`. */
@media (max-width: 1080px) {
  .app > .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: min(82vw, 280px);
    z-index: 60;
    display: flex;
    min-height: 100vh;
    border-right: 0;
    border-bottom: 0;
    box-shadow: var(--shadow-lg);
    transform: translateX(-100%);
    transition: transform .25s ease;
  }
  body.nav-open .app > .sidebar { transform: translateX(0); }
  .app > .main {
    width: 100%;
    flex: 1 1 100%;
    min-width: 0;
  }
}

/* Phone-only refinements (<=760px): header row, hero/illustration wrapping,
   card-header title sizing. Above 760px these layouts already have room. */
@media (max-width: 760px) {
  /* Keep the .app shell header a horizontal row on mobile. An unscoped
     `.topbar{flex-direction:column}` (for the .app-shell pattern) was stacking
     hamburger/search/icons/avatar vertically while .topbar height stayed fixed,
     so the items overflowed and overlapped the page content below. */
  .app > .main > .topbar {
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    height: 56px;
    min-height: 56px;
    margin-bottom: 0;
    gap: 8px;
    padding: 0 12px;
  }
  .app > .main > .topbar .search { min-width: 0; }
  .app > .main > .topbar .spacer { flex: 1; }
  /* Inline flex rows in the static mockups pair a `flex:1` text block with a
     fixed-width illustration/widget (flex-shrink:0). On narrow screens the text
     was squeezed to a few px (heading wrapped one letter per line). Let these
     rows wrap and give the primary `flex:1` child a real min-basis so the fixed
     sibling drops to the next line instead of crushing the text. */
  .app .content [style*="display:flex"] { flex-wrap: wrap; }
  .app .content [style*="display:flex"] > [style*="flex:1"] { flex: 1 1 220px !important; min-width: 0; }
  .app .content [style*="display:flex"] > svg { max-width: 100%; height: auto; }
  /* Card headers (title + action link) are flex rows with nowrap; on narrow
     screens the title got shrunk (e.g. "Historie" to ~57px and wrapped). Let
     the header wrap and let the title claim the available width. */
  .app .content .card-head { flex-wrap: wrap; gap: 4px 10px; }
  .app .content .card-head > h1,
  .app .content .card-head > h2,
  .app .content .card-head > h3 { flex: 1 1 auto; }
}

/* === Sidebar vertical nav fix (all widths) ===
   The generic `.nav` rule styles a horizontal, right-aligned action bar
   (display:flex; flex-wrap:wrap; justify-content:flex-end). The workspace
   sidebar reuses `<nav class="nav">` for its VERTICAL menu, so every link was
   pushed to the right edge and wrapped onto its own line. Restore a vertical,
   full-width, left-aligned stack for the sidebar's nav only. */
.app .sidebar .nav,
aside.sidebar .nav {
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: flex-start;
}
.app .sidebar .nav > a,
aside.sidebar .nav > a {
  justify-content: flex-start;
}

/* === Responsive data tables + zweispaltige Workspace-Layouts (25.06.) ===
   <table class="tbl"> wird zu .legacy-grid konvertiert; dabei ging das .tbl-Styling
   verloren (Name+Sublabel klebten zusammen, Tabellen brachen schmal um). Wiederhergestellt: */
/* Identitäts-Zelle: Name über Sublabel/E-Mail gestapelt statt aneinandergeklebt. */
.legacy-cell .who { display: flex; align-items: center; gap: 10px; white-space: normal; }
.legacy-cell .who > div { min-width: 0; }
.legacy-cell .who strong { display: block; font-weight: 600; font-size: 13px; line-height: 1.3; }
.legacy-cell .who small { display: block; font-size: 11.5px; color: var(--color-muted); line-height: 1.3; }

/* Studentensuche als luftiges, responsives Kartenraster (echte Profilbilder, Skills als Chips). */
.student-list-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; margin: 10px 0 4px; }
.student-list-card { display: flex; flex-direction: column; gap: 12px; padding: 18px; border: 1px solid var(--color-line); border-radius: 16px; background: var(--color-surface); box-shadow: 0 8px 26px rgba(2, 6, 23, .05); }
.student-list-card__head { display: flex; align-items: center; gap: 14px; }
.student-list-card__photo { width: 56px; height: 56px; min-width: 56px; border-radius: 50%; object-fit: cover; background: var(--color-surface-muted); display: grid; place-items: center; font-weight: 800; color: #fff; }
.student-list-card__name { font-weight: 800; color: var(--color-primary-dark); font-size: 1.05rem; line-height: 1.2; }
.student-list-card__sub { color: var(--color-muted); font-size: .86rem; margin-top: 2px; }
.student-list-card__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.student-list-card__chip { background: var(--color-surface-muted); color: var(--color-text); border-radius: 999px; padding: 4px 11px; font-size: .78rem; font-weight: 600; }
.student-list-card__meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.student-list-card__actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 2px; }
.student-list-card__actions form { margin: 0; }
@media (max-width: 520px) { .student-list-grid { grid-template-columns: 1fr; } }

@media (max-width: 1080px) {
  /* Zweispaltige Seiten (Liste + Seitenpanel) stapeln auf Tablet & Handy. */
  .app .content .row { flex-direction: column; }
  .app .content .row > * { width: 100% !important; flex: 1 1 auto !important; }
  /* Tabellenzeilen auf einer Zeile halten (Spalten schrumpfen), kein Umbruch der Detail-Spalte. */
  .app .content .legacy-row { flex-wrap: nowrap; }
}
@media (max-width: 760px) {
  /* Zu schmal für eine Zeile -> horizontal scrollen mit fixen, ausgerichteten Spalten. */
  .app .content .legacy-grid { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .app .content .legacy-head,
  .app .content .legacy-body { min-width: max-content; }
  .app .content .legacy-cell { flex: 0 0 124px; min-width: 124px; }
  .app .content .legacy-row .legacy-cell:first-child { flex-basis: 170px; min-width: 170px; }
}

/* ===== Workflow-Detailseiten (Fokus/Angebot/Auftrag/Reservation/Buchung) ===== */
.wf-detail { display: flex; flex-direction: column; gap: 14px; }
.wf-status-bar { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.wf-status-bar h2 { margin: 0; font-size: 1.25rem; line-height: 1.25; color: var(--color-primary-dark, #16203a); }
.wf-kicker { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--color-muted, #8a93a8); margin-bottom: 2px; }
.wf-section-title { margin: 6px 0 0; font-size: .92rem; font-weight: 700; color: var(--color-text, #33405e); }
.wf-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: .8rem; font-weight: 700; white-space: nowrap; }
.wf-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: .85; }
.wf-badge.is-ok { background: #e7f6ee; color: #1a7a4f; }
.wf-badge.is-warn { background: #fdf2dc; color: #9a6a12; }
.wf-badge.is-off { background: #fde7e7; color: #b23b3b; }
.wf-badge.is-info { background: #e9f0ff; color: #2f5fe0; }
.wf-badge.is-neutral { background: #eef1f6; color: #5a647c; }
.wf-participants { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.wf-party { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--color-line, #e6eaf2); border-radius: 14px; background: var(--color-surface, #fff); }
.wf-party__photo { width: 46px; height: 46px; min-width: 46px; border-radius: 50%; object-fit: cover; flex: 0 0 46px; display: grid; place-items: center; font-weight: 800; font-size: .95rem; color: #fff; background: linear-gradient(135deg, #2563eb, #0ea5e9); }
.wf-party__photo--org { background: linear-gradient(135deg, #0f766e, #14b8a6); }
.wf-party__body { display: flex; flex-direction: column; min-width: 0; }
.wf-party__role { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--color-muted, #8a93a8); }
.wf-party__name { font-size: .98rem; font-weight: 700; color: var(--color-primary-dark, #16203a); }
.wf-party__body small { color: var(--color-muted, #6b7488); font-size: .8rem; }
.wf-values { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 8px; }
.wf-values__row { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border: 1px solid var(--color-line, #e6eaf2); border-radius: 12px; background: var(--color-surface-muted, #f8fafc); }
.wf-values__row span { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--color-muted, #8a93a8); }
.wf-values__row b { font-size: .92rem; color: var(--color-primary-dark, #16203a); }
.wf-guard { border: 1px solid #f0d8a8; background: #fffaf0; border-radius: 12px; padding: 12px 14px; }
.wf-guard strong { display: block; font-size: .82rem; color: #9a6a12; margin-bottom: 3px; }
.wf-guard p { margin: 0; font-size: .82rem; color: var(--color-text, #4a5570); }
.wf-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 4px 0; }
.wf-confirm-row { display: flex; gap: 10px; flex-wrap: wrap; }
.wf-confirm { padding: 6px 12px; border-radius: 999px; font-size: .8rem; font-weight: 700; }
.wf-confirm.is-done { background: #e7f6ee; color: #1a7a4f; }
.wf-confirm.is-open { background: #eef1f6; color: #5a647c; }
.wf-expired-note { border-left: 3px solid #b23b3b; padding-left: 10px; }
.wf-history { margin-top: 4px; }
.offer-step { padding: 4px 11px; border-radius: 999px; background: #eef3ff; color: #8a93a8; font-size: .75rem; font-weight: 700; }
.offer-step.is-active { background: #2f5fe0; color: #fff; }
.btn.wf-btn--reserve { background: #f5a524; border-color: #f5a524; color: #1c2c52; }
@media (max-width: 640px) { .wf-participants { grid-template-columns: 1fr; } }