/* ==========================================================================
   FieldLink — rangi na token za muonekano kutoka FIELDLINK COLOR
   (default_shadcn_theme.css / theme.css — si kubadilisha muundo wa HTML)
   ========================================================================== */

:root {
  /* Surfaces — chini ya nyeupe kali; kadi bado nyeupe */
  --color-bg: #f0f2f7;
  --color-bg-deep: #e2e6ef;
  --color-surface: #ffffff;
  --color-surface-elevated: #f7f8fb;
  --color-sidebar-surface: #e8ecf4;

  /* Primary — #030213 + foreground nyeupe */
  --color-primary: #030213;
  --color-primary-hover: #12122a;
  --color-on-primary: #ffffff;
  --color-primary-soft: rgba(3, 2, 19, 0.06);
  --color-primary-soft-strong: rgba(3, 2, 19, 0.1);
  --color-primary-border: rgba(3, 2, 19, 0.14);

  /* Secondary surface (oklch 0.95 ~ tint ya bluu nyeupe) — si link color */
  --color-secondary: #eef0f7;
  --color-secondary-hover: #e2e5ef;
  --color-secondary-soft: rgba(238, 240, 247, 0.95);
  --color-secondary-border: rgba(3, 2, 19, 0.12);
  --color-secondary-foreground: #030213;

  /* Accent panel — #e9ebef */
  --color-accent: #030213;
  --color-accent-hover: #12122a;
  --color-accent-soft: #e9ebef;
  --color-accent-border: rgba(0, 0, 0, 0.1);

  /* Inputs / dropzones */
  --color-navy: #f3f3f5;
  --color-navy-mid: #ececf0;
  --color-progress-track: #ececf0;

  /* Header top bar = primary */
  --color-header: #030213;
  --color-header-dark: #02020c;

  /* Typography — foreground / muted-foreground */
  --color-text: #171717;
  --color-text-secondary: #717182;
  --color-muted: #717182;
  --color-border: rgba(0, 0, 0, 0.1);
  --color-border-strong: rgba(0, 0, 0, 0.14);

  --color-success: #15803d;
  --color-success-soft: rgba(21, 128, 61, 0.1);
  --color-warning: #f57c00;
  --color-danger: #d4183d;
  --color-danger-soft: rgba(212, 24, 61, 0.1);

  --tz-green: #030213;
  --tz-gold: #030213;

  /* --radius 0.625rem from Figma theme */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 10px;
  --radius-xl: 14px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 8px 28px rgba(0, 0, 0, 0.1);
  --font-sans: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --header-height: 64px;
  --sidebar-width: 260px;
  --max-content: 1200px;
  --transition: 0.2s ease;
  --landing-nav-width: 260px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.55;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

/* Kurasa za login nje ya shell (admin / kampuni) */
body.page-login-standalone {
  min-height: 100vh;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
}

.page-login-standalone .brand {
  color: var(--color-text);
}

.page-login-standalone .brand__mark {
  background: var(--color-primary-soft);
  border: 1px solid var(--color-primary-border);
  color: var(--color-primary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-accent-hover);
}

h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0 0 0.5em;
  color: var(--color-text);
}

h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.35rem, 2.5vw, 1.75rem); }
h3 { font-size: 1.125rem; }

p { margin: 0 0 1em; color: var(--color-text-secondary); }

/* ----- Layout ----- */
.shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main-wrap {
  flex: 1;
  width: 100%;
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 1.25rem 1.5rem 3rem;
}

.main-wrap--wide {
  max-width: 1400px;
}

/* ----- Header ----- */
/* ----- Role portals & workflow (multi-role UI) ----- */
.brand-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.role-badge {
  font-size: 0.625rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  white-space: nowrap;
}

.role-badge--student {
  background: var(--color-primary-soft);
  color: var(--color-primary-hover);
  border: 1px solid var(--color-primary-border);
}

.role-badge--admin {
  background: var(--color-secondary-soft);
  color: var(--color-secondary-foreground);
  border: 1px solid var(--color-secondary-border);
}

.role-badge--company {
  background: var(--color-primary-soft);
  color: var(--color-primary);
  border: 1px solid var(--color-primary-border);
}

.portal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 2rem 0 3rem;
}

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

.portal-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-md);
  padding: 1.75rem 1.5rem;
  transition: box-shadow var(--transition), border-color var(--transition);
  text-decoration: none;
  color: inherit;
}

.portal-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent-border);
}

.portal-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.portal-card--student .portal-card__icon {
  background: var(--color-primary-soft);
}

.portal-card--admin .portal-card__icon {
  background: var(--color-secondary-soft);
}

.portal-card--company .portal-card__icon {
  background: var(--color-primary-soft);
}

.portal-card h3 {
  font-size: 1.125rem;
  margin: 0 0 1rem;
  color: var(--color-text);
}

.portal-card p {
  margin: 0 0 1.25rem;
  font-size: 0.875rem;
  flex: 1;
}

.portal-card .btn {
  align-self: flex-start;
  margin-top: auto;
}

.workflow-banner {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--color-text-secondary);
}

.workflow-banner--info {
  background: linear-gradient(90deg, var(--color-primary-soft) 0%, var(--color-surface) 100%);
  border-color: var(--color-primary-border);
}

.workflow-banner--admin {
  background: var(--color-secondary-soft);
  border-color: var(--color-secondary-border);
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.workflow-step {
  position: relative;
  padding: 0.85rem 1rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  text-align: center;
  line-height: 1.35;
}

.workflow-step strong {
  display: block;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-muted);
  margin-bottom: 0.35rem;
}

.sidebar--admin {
  background: var(--color-sidebar-surface);
}

.sidebar--company {
  background: var(--color-sidebar-surface);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: var(--color-header);
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: var(--shadow-sm);
}

.site-header__inner {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--color-on-primary);
  font-weight: 800;
  font-size: 1.125rem;
  letter-spacing: -0.03em;
}

.brand:hover {
  color: #ffffff;
  opacity: 0.95;
}

.brand__mark {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: grid;
  place-items: center;
  color: var(--color-on-primary);
  font-size: 0.7rem;
  font-weight: 800;
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-main a {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
}

.nav-main a:hover,
.nav-main a.is-active {
  color: #ffffff;
  background: rgba(0, 0, 0, 0.15);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-actions--student-profile .header-profile-photo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.35);
  flex-shrink: 0;
}

.page-head--with-photo {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.dashboard-profile-photo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--color-border);
  flex-shrink: 0;
}

.applicant-card-photo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--color-border);
  flex-shrink: 0;
}

.cart-company-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
  vertical-align: middle;
  margin-right: 0.5rem;
  border: 1px solid var(--color-border);
}

.site-header .btn--ghost {
  color: rgba(255, 255, 255, 0.92);
}

.site-header .btn--ghost:hover {
  background: rgba(0, 0, 0, 0.12);
  color: #ffffff;
}

.site-header .btn--outline {
  border-color: rgba(255, 255, 255, 0.65);
  color: #ffffff;
}

.site-header .btn--outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
  color: #ffffff;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-on-primary);
  border-radius: 1px;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .nav-main {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--color-header-dark);
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    padding: 1rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--transition), opacity var(--transition), visibility var(--transition);
  }

  .nav-main.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-main a {
    padding: 0.75rem 1rem;
  }
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition);
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-on-primary);
  font-weight: 700;
}

.btn--primary:hover {
  background: var(--color-primary-hover);
  color: var(--color-on-primary);
}

.btn--outline {
  background: transparent;
  border-color: var(--color-border-strong);
  color: var(--color-primary);
}

.btn--outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary-hover);
  background: var(--color-secondary);
}

.btn--ghost {
  background: transparent;
  color: var(--color-text-secondary);
}

.btn--ghost:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--color-primary);
}

.btn--sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.8125rem;
}

.btn--lg {
  padding: 0.85rem 1.5rem;
  font-size: 0.9375rem;
}

/* ----- Cards ----- */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.card__header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0;
}

.card__subtitle {
  font-size: 0.8125rem;
  color: var(--color-muted);
  margin: 0.25rem 0 0;
}

.card__body {
  padding: 1.5rem;
}

.card--flat {
  box-shadow: var(--shadow-sm);
}

/* ----- Forms ----- */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem 1.5rem;
}

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

.form-grid--single {
  grid-template-columns: 1fr;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

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

.field label,
.field__label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text);
}

.field .hint,
.hint {
  font-size: 0.75rem;
  color: var(--color-muted);
  margin: 0;
}

/* Bila type=..., kivinjari huchukulia "text" lakini [type="text"] haifanani — login, n.k. */
input:not([type]),
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="number"],
input[type="password"],
input[type="url"],
input[type="search"],
select,
textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font-family: inherit;
  font-size: 0.9375rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-navy);
  color: var(--color-text);
  transition: border-color var(--transition), box-shadow var(--transition);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-soft);
}

input::placeholder,
textarea::placeholder {
  color: var(--color-muted);
}

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

.field--error input,
.field--error select,
.field--error textarea {
  border-color: var(--color-danger);
}

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

/* Inline-style replacements — HESLB palette */
.alert-error {
  padding: 0.75rem;
  background: var(--color-danger-soft);
  color: #b71c1c;
  border: 1px solid rgba(211, 47, 47, 0.35);
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}

.alert-error p {
  margin: 0;
}

.stat-card__value--danger {
  color: var(--color-danger);
}

.sidebar__tagline {
  margin: 0.75rem 0 0;
  font-size: 0.75rem;
  color: var(--color-muted);
}

.nav-main a.nav-urgent,
.sidebar nav a.nav-urgent {
  color: #b45309 !important;
  font-weight: 700;
}

.nav-main a.nav-pay,
.sidebar nav a.nav-pay {
  color: #b45309 !important;
  font-weight: 700;
}

.inbox-snippet {
  background: var(--color-surface-elevated);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  font-size: 0.8125rem;
  max-height: 120px;
  overflow: auto;
}

/* Radio / checkbox groups */
.choice-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.choice {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
}

.choice input {
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--color-primary);
}

/* Premium select wrapper */
.select-wrap {
  position: relative;
}

.select-wrap select {
  appearance: none;
  padding-right: 2.5rem;
  cursor: pointer;
}

.select-wrap::after {
  content: "";
  position: absolute;
  right: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--color-muted);
  pointer-events: none;
}

/* GPA highlight strip */
.gpa-highlight {
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-surface) 100%);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.gpa-highlight__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-muted);
  margin: 0 0 0.25rem;
}

.gpa-highlight__value {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0;
  color: var(--color-primary);
}

.gpa-highlight__note {
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
  max-width: 280px;
  margin: 0;
}

/* Academic profile card */
.academic-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--color-surface-elevated) 0%, var(--color-surface) 100%);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.academic-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-accent);
  background: var(--color-accent-soft);
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

/* File upload — drop zone */
.dropzone {
  border: 2px dashed var(--color-border-strong);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.25rem;
  text-align: center;
  background: var(--color-navy);
  transition: border-color var(--transition), background var(--transition);
  cursor: pointer;
  position: relative;
}

.dropzone:hover,
.dropzone:focus-within,
.dropzone.is-dragover {
  border-color: var(--color-primary);
  background: var(--color-primary-soft);
}

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

.dropzone__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.75rem;
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
}

.dropzone__title {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--color-text);
  margin: 0 0 0.35rem;
}

.dropzone__meta {
  font-size: 0.8125rem;
  color: var(--color-muted);
  margin: 0;
}

.upload-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  background: var(--color-success-soft);
  border: 1px solid var(--color-primary-border);
  border-radius: var(--radius-sm);
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  color: var(--color-success);
  display: none;
}

.upload-status.is-visible {
  display: flex;
}

.upload-doc-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1rem;
  background: var(--color-surface);
}

.upload-doc-card + .upload-doc-card {
  margin-top: 1rem;
}

/* Skills chips */
.skills-input-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.5rem;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-md);
  min-height: 48px;
  align-items: center;
  background: var(--color-surface);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  background: var(--color-primary);
  color: var(--color-on-primary);
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.chip--outline {
  background: var(--color-navy);
  color: var(--color-text-secondary);
  border: 1px solid var(--color-border);
}

.chip--outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.chip-remove {
  opacity: 0.85;
  cursor: pointer;
  font-weight: 700;
}

.suggested-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

/* Section numbering */
.form-section {
  margin-bottom: 2.5rem;
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

.section-head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
}

.section-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--color-primary);
  color: var(--color-on-primary);
  font-weight: 800;
  font-size: 0.9375rem;
  display: grid;
  place-items: center;
}

.section-head h2 {
  margin: 0 0 0.35rem;
  font-size: 1.125rem;
}

.section-head p {
  margin: 0;
  font-size: 0.875rem;
}

/* Application layout with side nav (desktop) */
.app-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 900px) {
  .app-layout {
    grid-template-columns: 1fr;
  }
}

.app-nav {
  position: sticky;
  top: calc(var(--header-height) + 1rem);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  padding: 0.75rem;
  box-shadow: var(--shadow-sm);
}

.app-nav a {
  display: block;
  padding: 0.6rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  border-radius: var(--radius-sm);
}

.app-nav a:hover,
.app-nav a.is-active {
  color: var(--color-primary-hover);
  background: var(--color-primary-soft);
}

@media (max-width: 900px) {
  .app-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
  }

  .app-nav a {
    flex: 1 1 auto;
    text-align: center;
    min-width: calc(50% - 0.25rem);
  }
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
  padding-top: 1.5rem;
  margin-top: 1rem;
  border-top: 1px solid var(--color-border);
}

/* Trust / corporate strip */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  padding: 1rem 1.25rem;
  background: linear-gradient(90deg, var(--color-primary-soft) 0%, var(--color-surface) 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
}

.trust-strip strong {
  color: var(--color-primary);
}

/* Timeline / tracking */
.timeline {
  position: relative;
  padding-left: 0;
  list-style: none;
  margin: 0;
}

.timeline__item {
  position: relative;
  padding-left: 2.5rem;
  padding-bottom: 1.75rem;
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 28px;
  bottom: -8px;
  width: 2px;
  background: var(--color-border);
}

.timeline__item:last-child::before {
  display: none;
}

.timeline__dot {
  position: absolute;
  left: 0;
  top: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 3px solid var(--color-border);
  background: var(--color-surface);
  z-index: 1;
}

.timeline__item--done .timeline__dot {
  border-color: var(--color-success);
  background: var(--color-success);
  box-shadow: 0 0 0 4px var(--color-success-soft);
}

.timeline__item--current .timeline__dot {
  border-color: var(--color-accent);
  background: var(--color-accent);
  box-shadow: 0 0 0 4px var(--color-accent-soft);
}

.timeline__item--pending .timeline__dot {
  background: var(--color-bg);
}

.timeline__title {
  font-weight: 700;
  font-size: 0.9375rem;
  margin: 0 0 0.25rem;
}

.timeline__meta {
  font-size: 0.8125rem;
  color: var(--color-muted);
  margin: 0;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.65rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 999px;
}

.status-pill--review {
  background: var(--color-secondary-soft);
  color: var(--color-secondary-foreground);
}

.status-pill--success {
  background: var(--color-success-soft);
  color: var(--color-success);
}

.status-pill--danger {
  background: var(--color-danger-soft);
  color: var(--color-danger);
}

.status-pill--neutral {
  background: var(--color-bg);
  color: var(--color-muted);
}

.status-pill--warning {
  background: rgba(245, 124, 0, 0.12);
  color: #e65100;
}
.dashboard-layout {
  display: grid;
  grid-template-columns: var(--sidebar-width) 1fr;
  gap: 1.5rem;
  min-height: calc(100vh - var(--header-height));
}

@media (max-width: 900px) {
  .dashboard-layout {
    grid-template-columns: 1fr;
  }
}

/* Admin: viungo kwenye sidebar; simu — sidebar inafunguka (hakuna nav-main) */
@media (max-width: 900px) {
  .admin-app .dashboard-layout--admin .sidebar[data-admin-sidebar] {
    position: fixed;
    top: var(--header-height);
    left: 0;
    bottom: 0;
    width: min(var(--sidebar-width), 90vw);
    z-index: 140;
    margin: 0;
    transform: translateX(-105%);
    transition: transform 0.22s ease, visibility 0.22s ease, box-shadow 0.22s ease;
    visibility: hidden;
    box-shadow: none;
    border-radius: 0;
    overflow-y: auto;
    height: auto;
    max-height: none;
  }

  .admin-app .dashboard-layout--admin .sidebar[data-admin-sidebar].is-open {
    transform: translateX(0);
    visibility: visible;
    box-shadow: var(--shadow-lg);
  }
}

.sidebar {
  background: var(--color-sidebar-surface);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 0;
  box-shadow: var(--shadow-sm);
  height: fit-content;
  position: sticky;
  top: calc(var(--header-height) + 1rem);
}

@media (max-width: 900px) {
  .sidebar:not([data-admin-sidebar]) {
    position: static;
    border-radius: var(--radius-md);
  }
}

.sidebar__brand {
  padding: 0 1.25rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 0.75rem;
}

.sidebar__brand .brand {
  color: var(--color-text);
}

.sidebar__brand .brand__mark {
  background: var(--color-primary-soft);
  border: 1px solid var(--color-primary-border);
  color: var(--color-primary);
}

.sidebar nav a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1.25rem;
  color: var(--color-text-secondary);
  font-size: 0.875rem;
  font-weight: 600;
  border-left: 3px solid transparent;
}

.sidebar nav a:hover,
.sidebar nav a.is-active {
  color: var(--color-text);
  background: var(--color-accent-soft);
  border-left-color: var(--color-primary);
}

.sidebar__footer {
  padding: 1rem 1.25rem 0;
  margin-top: 0.75rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.75rem;
  color: var(--color-muted);
}

.sidebar__footer--stack {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  align-items: stretch;
}

.sidebar__username {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text);
  word-break: break-word;
}

.admin-app .sidebar__signout {
  width: 100%;
  justify-content: center;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 1024px) {
  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.stat-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.stat-card__label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-muted);
  margin: 0 0 0.35rem;
}

.stat-card__value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -0.02em;
  margin: 0;
}

.stat-card--accent {
  border-color: var(--color-primary-border);
  background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-primary-soft) 100%);
}

.progress-ring-wrap {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.progress-ring {
  --p: 72;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: conic-gradient(var(--color-primary) calc(var(--p) * 1%), var(--color-progress-track) 0);
  display: grid;
  place-items: center;
}

.progress-ring__inner {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--color-surface);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--color-primary);
}

/* Notifications list */
.notif-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.notif-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
}

.notif-item:last-child {
  border-bottom: none;
}

.notif-item__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--color-accent-soft);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.notif-item__title {
  font-weight: 600;
  font-size: 0.875rem;
  margin: 0 0 0.25rem;
}

.notif-item__time {
  font-size: 0.75rem;
  color: var(--color-muted);
  margin: 0;
}

/* HR table */
.data-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  /* Subtle right-edge fade ili user ajue table inascroll horizontally kwenye simu */
  background-image:
    linear-gradient(to right, var(--color-surface), var(--color-surface)),
    linear-gradient(to right, var(--color-surface), rgba(255,255,255,0)),
    linear-gradient(to right, rgba(0,0,0,0.06), rgba(255,255,255,0)),
    linear-gradient(to left, rgba(0,0,0,0.06), rgba(255,255,255,0));
  background-position: left center, right center, left center, right center;
  background-repeat: no-repeat;
  background-size: 24px 100%, 24px 100%, 12px 100%, 12px 100%;
  background-attachment: local, local, scroll, scroll;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.data-table th {
  text-align: left;
  padding: 0.85rem 1rem;
  background: var(--color-surface-elevated);
  font-weight: 700;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-muted);
  border-bottom: 1px solid var(--color-border);
  white-space: nowrap;
}

.data-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--color-border);
  vertical-align: middle;
  /* Lazimisha cells zibakie kwenye line moja ili horizontal scroll i-active
     kwenye simu — bila hii cells zinabanwa na content inakata. */
  white-space: nowrap;
}

/* Cells zinazoruhusiwa ku-wrap (mfano: notes, descriptions) — ongeza class hii. */
.data-table td.cell-wrap,
.data-table td .cell-wrap {
  white-space: normal;
}

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

.data-table tr:hover td {
  background: var(--color-primary-soft);
}

.avatar-sm {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-navy-mid), var(--color-progress-track));
  border: 1px solid var(--color-accent-border);
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.cell-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Landing hero */
.hero {
  padding: 3rem 0 4rem;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

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

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.hero h1 {
  margin-bottom: 1rem;
}

.hero__lead {
  font-size: 1.0625rem;
  color: var(--color-text-secondary);
  max-width: 520px;
  margin-bottom: 1.5rem;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.hero__stat strong {
  display: block;
  font-size: 1.5rem;
  color: var(--color-primary);
}

.hero__stat span {
  font-size: 0.8125rem;
  color: var(--color-muted);
}

.hero-visual {
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, var(--color-secondary) 0%, var(--color-surface) 55%, var(--color-bg-deep) 100%);
  padding: 2rem;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.hero-visual::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 60%;
  height: 80%;
  background: radial-gradient(circle, var(--color-primary-soft) 0%, transparent 70%);
  pointer-events: none;
}

.hero-visual__card {
  position: relative;
  z-index: 1;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.hero-visual__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  margin-bottom: 0.75rem;
  color: var(--color-text-secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  padding: 2rem 0 3rem;
}

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

.feature-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  box-shadow: var(--shadow-md);
}

.feature-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--color-accent-soft);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.feature-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.cta-band {
  background: linear-gradient(135deg, var(--color-header-dark) 0%, var(--color-header) 100%);
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  text-align: center;
  margin: 2rem 0 3rem;
  box-shadow: var(--shadow-md);
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 0.75rem;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin: 0 auto 1.5rem;
}

.site-footer {
  border-top: 1px solid var(--color-border);
  background: var(--color-surface);
  padding: 2rem 1.5rem;
  margin-top: auto;
}

.site-footer__inner {
  max-width: var(--max-content);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--color-muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a {
  color: var(--color-text-secondary);
}

.site-footer__inner--solo {
  justify-content: center;
  text-align: center;
}

/* Page title block */
.page-head {
  margin-bottom: 1.75rem;
}

.page-head h1 {
  margin-bottom: 0.35rem;
}

.page-head p {
  margin: 0;
  font-size: 0.9375rem;
}

/* Hidden utility for conditional academic uploads */
.is-hidden {
  display: none !important;
}

/* Responsive two-column sections (dashboard, HR preview) */
.grid-2-responsive {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1.5rem;
  align-items: start;
}

@media (max-width: 900px) {
  .grid-2-responsive {
    grid-template-columns: 1fr;
  }
}

.grid-2-responsive--equal {
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 900px) {
  .grid-2-responsive--equal {
    grid-template-columns: 1fr;
  }
}

/* ----- Landing page (index) — menyu ya kushoto ----- */
/* Block layout: epuka flex + sidebar fixed zinazoweza kuficha/kuvuruga eneo kuu */
.shell--landing {
  display: block;
  min-height: 100vh;
  position: relative;
  background: var(--color-bg-deep);
}

.landing-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 180;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

body.landing-nav-open .landing-backdrop {
  display: block;
}

.landing-sidebar {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--landing-nav-width);
  z-index: 200;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0;
  background: var(--color-sidebar-surface);
  border-right: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  padding: 1.25rem 0 1rem;
}

.landing-sidebar__brand {
  padding: 0 1rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
}

.landing-sidebar__brand .brand {
  color: var(--color-text);
}

.landing-sidebar__brand .brand__mark {
  background: var(--color-primary-soft);
  border: 1px solid var(--color-primary-border);
  color: var(--color-primary);
}

.landing-sidebar__nav {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  padding: 0.75rem 0.65rem 0.5rem;
  gap: 0.2rem;
}

.landing-sidebar__nav a {
  display: block;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}

.landing-sidebar__nav a:hover,
.landing-sidebar__nav a.is-active {
  color: var(--color-text);
  background: var(--color-accent-soft);
}

.landing-sidebar__foot {
  flex: 0 0 auto;
  padding: 0.75rem 1rem 0.25rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.landing-sidebar__foot .btn {
  width: 100%;
  justify-content: center;
}

.landing-sidebar__foot .btn--ghost {
  color: var(--color-text-secondary);
}

.landing-sidebar__foot .btn--ghost:hover {
  background: var(--color-accent-soft);
  color: var(--color-text);
}

.landing-sidebar__foot .btn--outline {
  border-color: var(--color-border-strong);
  color: var(--color-primary);
}

.landing-sidebar__foot .btn--outline:hover {
  background: var(--color-secondary);
  border-color: var(--color-primary);
  color: var(--color-primary-hover);
}

.landing-sidebar__foot .btn--primary {
  background: var(--color-primary);
  color: var(--color-on-primary);
  border: 1px solid var(--color-primary);
}

.landing-sidebar__foot .btn--primary:hover {
  background: var(--color-primary-hover);
  color: var(--color-on-primary);
}

.landing-content {
  margin-left: var(--landing-nav-width);
  width: calc(100% - var(--landing-nav-width));
  max-width: 100%;
  min-width: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  background: linear-gradient(180deg, #e9edf5 0%, var(--color-bg) 42%, #eef1f7 100%);
}

.landing-main {
  flex: 1;
}

.main-wrap--landing {
  max-width: 1080px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 1rem;
}

.landing-mobile-bar {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.5rem 1rem;
  background: var(--color-header);
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  position: sticky;
  top: 0;
  z-index: 190;
}

.landing-mobile-bar__title {
  font-weight: 800;
  font-size: 1.05rem;
  color: #ffffff;
  letter-spacing: -0.02em;
  text-align: center;
  padding: 0 48px;
}

.landing-mobile-bar__toggle {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  padding: 0;
}

.landing-mobile-bar__toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 1px;
}

.hero--landing {
  padding: 2rem 0 2.5rem;
}

.hero__grid--landing {
  align-items: stretch;
  grid-template-columns: 1fr;
  max-width: 28rem;
}

.landing-portals {
  margin-bottom: 2.5rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Home (index) — maudhui na kadi juu ya mandhari laini */
.hero--landing.home-hero {
  padding-top: 2.25rem;
}

.hero--landing.home-hero h1 {
  font-size: clamp(1.65rem, 3.6vw, 2.35rem);
  line-height: 1.14;
  letter-spacing: -0.03em;
  max-width: 20em;
}

.hero--landing .hero__lead.home-lead {
  max-width: 40rem;
  line-height: 1.65;
  font-size: 1.0625rem;
}

.hero__cta--landing {
  margin-bottom: 0;
}

.home-section {
  padding: 2rem 0 2.25rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.home-section__title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
  color: var(--color-text);
}

.home-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.home-step {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.35rem;
  box-shadow: var(--shadow-sm);
}

.home-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--color-primary-soft-strong);
  color: var(--color-primary);
  font-weight: 800;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.home-step__title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--color-text);
}

.home-step__text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--color-text-secondary);
}

.home-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.home-panel {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.5rem;
  box-shadow: var(--shadow-sm);
}

.home-panel__title {
  font-size: 1.0625rem;
  font-weight: 800;
  margin: 0 0 0.65rem;
  color: var(--color-text);
}

.home-panel__text {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--color-text-secondary);
  margin: 0 0 1rem;
}

.home-highlight {
  padding-bottom: 2.25rem;
}

.home-highlight__inner {
  background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-surface-elevated) 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow-md);
}

.home-highlight__lead {
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--color-text);
}

.home-highlight__list {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--color-text-secondary);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.home-highlight__list li {
  margin-bottom: 0.35rem;
}

.site-footer--landing {
  background: transparent;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding: 1rem 1.5rem 2rem;
}

.site-footer--landing .site-footer__inner {
  max-width: 1080px;
}

.site-footer__inner--landing {
  justify-content: center;
  text-align: center;
}

.site-footer__copy {
  font-size: 0.8125rem;
  color: var(--color-muted);
}

@media (max-width: 900px) {
  .home-steps {
    grid-template-columns: 1fr;
  }

  .home-panels {
    grid-template-columns: 1fr;
  }

  body.landing-nav-open {
    overflow: hidden;
  }

  body.landing-nav-open .landing-backdrop {
    display: block;
  }

  .landing-sidebar {
    transform: translateX(-100%);
    transition: transform 0.22s ease, visibility 0.22s ease;
    visibility: hidden;
  }

  .landing-sidebar.is-open {
    transform: translateX(0);
    visibility: visible;
  }

  .landing-content {
    margin-left: 0;
    width: 100%;
  }

  .landing-mobile-bar {
    display: flex;
  }

  .main-wrap--landing {
    padding-top: 0.75rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (min-width: 901px) {
  body.landing-nav-open .landing-backdrop {
    display: none !important;
  }
}

/* Print-friendly tweaks */
@media print {
  .site-header,
  .sidebar,
  .app-nav,
  .form-actions,
  .nav-toggle,
  .landing-mobile-bar,
  .landing-backdrop {
    display: none !important;
  }

  .landing-sidebar {
    position: static;
    transform: none !important;
    visibility: visible !important;
    width: auto;
    border: 1px solid #ccc;
  }

  .landing-content {
    margin-left: 0 !important;
  }

  .main-wrap {
    max-width: 100%;
    padding: 0;
  }
}
