:root {
  --bg: #f1f4ef;
  --surface: #ffffff;
  --surface-soft: #f8faf7;
  --text: #0f1720;
  --text-muted: #4b5b6b;
  --line: #d8e1d5;
  --line-strong: #c2cfbc;
  --brand: #0d5f54;
  --brand-strong: #0a4a42;
  --brand-soft: #d8efe4;
  --success: #0f7a53;
  --danger: #b13a2e;
  --shadow-sm: 0 8px 24px rgba(16, 35, 24, 0.08);
  --shadow-md: 0 14px 34px rgba(16, 35, 24, 0.12);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 9px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, rgba(147, 197, 172, 0.2), transparent 36%),
    radial-gradient(circle at 84% 14%, rgba(154, 205, 195, 0.18), transparent 32%),
    linear-gradient(180deg, #f4f8f3 0%, #ecf3e9 100%);
  line-height: 1.5;
}

.li-notifications-empty-toast {
  position: fixed;
  top: 74px;
  right: 16px;
  z-index: 1200;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid #d5dfd8;
  background: #f8fcf9;
  color: #355246;
  box-shadow: 0 10px 22px rgba(20, 46, 32, 0.16);
  font-size: 0.84rem;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.li-notifications-empty-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.li-cookie-consent-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(15, 23, 32, 0.46);
  backdrop-filter: blur(3px);
  display: grid;
  place-items: end center;
  padding: 18px;
}

.li-cookie-consent {
  width: min(820px, 100%);
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  padding: 18px 20px;
}

.li-cookie-consent h2 {
  margin-bottom: 6px;
  font-size: 1.15rem;
}

.li-cookie-consent p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.li-cookie-consent-services {
  list-style: none;
  margin: 12px 0 14px;
  display: grid;
  gap: 10px;
}

.li-cookie-consent-services label {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  font-size: 0.88rem;
  color: #243440;
}

.li-cookie-consent-services input[type="checkbox"] {
  margin-top: 2px;
}

.li-cookie-consent-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

h1,
h2,
h3,
h4,
.li-page-title,
.li-profile-name,
.landing-title,
.li-section-title,
.li-job-title {
  font-family: "Sora", "Avenir Next", sans-serif;
}

a {
  color: inherit;
}

.container {
  width: 100%;
}

.li-wrapper {
  width: 100%;
  min-height: calc(100vh - 76px);
}

/* Header */
.li-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  height: 76px;
}

.li-header-inner {
  width: min(1400px, 100%);
  height: 100%;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.li-logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.li-back-arrow {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  text-decoration: none;
  color: #2f3e4d;
  border: 1px solid transparent;
  transition: 0.18s ease;
}

.li-back-arrow:hover {
  transform: translateX(-2px);
  background: #f0f5f1;
  border-color: var(--line);
}

.li-page-title {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.li-breadcrumb {
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  color: #6b7b87;
  white-space: nowrap;
}

.li-breadcrumb-link {
  color: #4f6f62;
  text-decoration: none;
}

.li-breadcrumb-link:hover {
  text-decoration: underline;
}

.li-breadcrumb-current {
  color: #273642;
  font-weight: 600;
}

.li-breadcrumb-sep {
  color: #9caeb8;
}

.li-user {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.li-user-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.li-logout-form {
  margin: 0;
}

.li-header-logout {
  font-size: 0.78rem;
  padding: 7px 10px;
  border-radius: 999px;
}

.li-header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.li-header-search-toggle {
  display: none;
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 10px;
  border: 1px solid #c7d6cc;
  background: #fff;
  color: #355163;
  padding: 0;
}

.li-header-search input,
.li-header-search select {
  height: 34px;
  width: auto;
  min-width: 130px;
  margin-top: 0;
  padding: 6px 10px;
}

.li-header-search input {
  min-width: 220px;
}

.li-header-search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(31, 45, 56, 0.16);
  max-height: 360px;
  overflow: auto;
  display: none;
  z-index: 60;
}

.li-header-search-results.is-open {
  display: block;
}

.li-header-search-group + .li-header-search-group {
  border-top: 1px solid #e7efea;
}

.li-header-search-group-title {
  font-size: 0.76rem;
  font-weight: 700;
  color: #4a5d66;
  padding: 10px 12px 6px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.li-header-search-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 9px 12px;
  text-decoration: none;
  color: #22313b;
}

.li-header-search-item:hover {
  background: #f4faf6;
}

.li-header-search-item-title {
  font-size: 0.87rem;
  font-weight: 600;
}

.li-header-search-item-meta {
  font-size: 0.78rem;
  color: #698078;
}

.li-header-search-empty {
  padding: 12px;
  font-size: 0.84rem;
  color: #5f726b;
}

.li-header-search-see-all {
  display: block;
  padding: 10px 12px;
  border-top: 1px solid #e7efea;
  text-decoration: none;
  color: var(--brand);
  font-size: 0.83rem;
  font-weight: 600;
}

.li-header-search-see-all:hover {
  background: #f4faf6;
}

.li-header-link {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid var(--line);
  color: var(--brand);
  background: #fff;
}

.li-header-link:hover {
  border-color: var(--brand);
  background: #f5fbf8;
}

.li-header-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--line);
}

.li-user-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #304254;
  white-space: nowrap;
}

.li-user-name-link {
  text-decoration: none;
}

.li-user-name-link:hover {
  text-decoration: underline;
}

.li-user img {
  max-width: 38px;
  max-height: 38px;
}

.li-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.li-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1px solid #9fc4a2;
  background: #fff;
  color: var(--brand);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 0.84rem;
  font-weight: 600;
  transition: 0.15s ease;
}

.li-tab:hover {
  background: #f3faf6;
  transform: translateY(-1px);
}

.li-tab.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

#application-detail-panel {
  padding: 20px;
  min-height: 100%;
}

/* Landing */
.landing-wrapper {
  min-height: calc(100vh - 76px);
  padding: 64px 24px 72px;
  width: min(1200px, 100%);
  margin: 0 auto;
}

.landing-hero {
  text-align: center;
  margin-bottom: 44px;
}

.landing-title {
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.landing-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.landing-users {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.portal-stats {
  margin-top: 42px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff, #f5faf5);
  box-shadow: var(--shadow-sm);
  padding: 20px;
}

.portal-stats-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 12px;
}

.portal-stats-title {
  font-size: 1.2rem;
  font-weight: 700;
}

.portal-stats-subtitle {
  font-size: 0.84rem;
  color: var(--text-muted);
}

.portal-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.portal-kpi-card {
  border-radius: 14px;
  border: 1px solid #d5e3d3;
  background: #fbfefb;
  padding: 12px;
}

.portal-kpi-card-accent {
  border-color: #b8d9c8;
  background: linear-gradient(150deg, #f3fcf6, #eef9f3);
}

.portal-kpi-card-soft {
  background: linear-gradient(180deg, #ffffff, #f8fcf8);
}

.portal-kpi-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.portal-kpi-card-link:hover {
  transform: translateY(-1px);
  border-color: #9fc4a2;
  box-shadow: var(--shadow-sm);
}

.portal-kpi-label {
  color: #556575;
  font-size: 0.8rem;
}

.portal-kpi-value {
  font-family: "Sora", "Avenir Next", sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  margin-top: 2px;
}

.portal-kpi-meta {
  margin-top: 3px;
  font-size: 0.76rem;
  color: #647683;
}

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

.portal-graph-card {
  border-radius: 14px;
  border: 1px solid #d7e5d5;
  background: #fff;
  padding: 12px;
}

.portal-graph-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.portal-graph-card-link:hover,
.portal-graph-card-link:focus-visible {
  transform: translateY(-1px);
  border-color: #9fc4a2;
  box-shadow: var(--shadow-sm);
  outline: none;
}

.portal-graph-title {
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 10px;
}

.portal-bars {
  height: 170px;
  display: grid;
  grid-template-columns: repeat(14, minmax(0, 1fr));
  gap: 6px;
  align-items: end;
}

.portal-bar-col {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 4px;
}

.portal-bar-link {
  display: block;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.portal-bar-link:hover .portal-bar-fill {
  filter: brightness(1.08);
}

.portal-bar-value {
  font-size: 0.66rem;
  color: #546676;
}

.portal-bar-fill {
  width: 100%;
  min-height: 8px;
  border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, #2d9d87, #0d5f54);
}

.portal-bars-danger .portal-bar-fill {
  background: linear-gradient(180deg, #e06a53, #b13a2e);
}

.portal-bar-label {
  font-size: 0.62rem;
  color: #6b7c8b;
}

.portal-chart-note {
  margin-top: 8px;
  font-size: 0.75rem;
  color: #6b7c8b;
}

.portal-wordmap {
  min-height: 170px;
  max-height: 170px;
  overflow: auto;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  align-items: center;
  gap: 10px 12px;
  padding: 2px 2px 6px;
}

.portal-wordmap-item {
  font-family: "Sora", "Avenir Next", sans-serif;
  line-height: 1.05;
  color: #1f556b;
  text-transform: lowercase;
  letter-spacing: 0.01em;
}

.portal-wordmap-count {
  font-size: 0.74em;
  font-weight: 600;
  opacity: 0.95;
}

.landing-user-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(145deg, #ffffff, #f6fbf6);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: 0.2s ease;
}

.landing-user-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}

.landing-user-avatar {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(140deg, var(--brand), #1c7f70);
  color: #fff;
  font-weight: 600;
}

.landing-user-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.landing-user-name {
  font-weight: 600;
  font-size: 1.03rem;
}

.landing-user-meta {
  margin-top: 2px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Dashboard */
.li-layout {
  width: min(1500px, 100%);
  margin: 0 auto;
  padding: 24px 24px 28px;
  display: grid;
  grid-template-columns: minmax(440px, 2fr) minmax(360px, 1fr);
  gap: 18px;
  min-height: calc(100vh - 76px);
  align-items: start;
}

.li-left,
.li-right {
  min-height: 0;
  overflow: visible;
}

.li-right {
  position: sticky;
  top: 88px;
  max-height: calc(100vh - 104px);
  overflow: hidden;
}

.li-card,
.li-section,
#job-detail-panel,
#application-detail-panel,
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.li-card {
  padding: 20px;
}

.li-card-header h1,
.li-card-header h2,
h1,
h2 {
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.li-jobs-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.li-jobs-header h1,
.li-jobs-header h2 {
  margin-bottom: 0;
}

.li-jobs-bulk-actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
  width: auto;
  padding-bottom: 0;
}

.li-sort-icon-btn {
  width: 34px;
  height: 34px;
  min-width: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid #c9dacd;
  background: #f8fcf8;
  color: #1f3e31;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
}

.li-sort-icon-btn:hover {
  background: #eef8ef;
  border-color: #a8c5b0;
}

#selection-mode-actions {
  align-items: center;
}

.li-jobs-search-form {
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
  max-width: none;
}

.li-jobs-search-input {
  width: 100%;
  min-width: 220px;
  height: 38px;
}

#select-all-jobs-btn,
#delete-selected-jobs-btn {
  min-height: 38px;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .li-jobs-header {
    align-items: stretch;
  }

  .li-jobs-bulk-actions {
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    width: 100%;
  }

  .li-jobs-search-form {
    width: 100%;
  }

  #select-all-jobs-btn,
  #delete-selected-jobs-btn {
    width: 100%;
  }
}

.li-job-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.li-job-item {
  border: 1px solid #deeadf;
  background: #fff;
  border-radius: 14px;
  padding: 14px;
  transition: 0.16s ease;
  cursor: pointer;
}

.li-job-item-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: flex-start;
  column-gap: 12px;
  row-gap: 8px;
  margin-bottom: 10px;
}

.li-job-item-title-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

.li-job-text-stack {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1 1 auto;
}

.li-job-company-line {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}

.li-job-brand-stack {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
  margin-right: 14px;
}

.li-job-favorite-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 30px;
  border: 1px solid #d6e2d4;
  border-radius: 999px;
  background: #fff;
  color: #c73333;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: 0.16s ease;
}

.li-job-favorite-btn:hover {
  color: #a51f1f;
  border-color: #e9b8b8;
  background: #fff1f1;
}

.li-job-favorite-btn.is-active {
  color: #a51f1f;
  border-color: #e9b8b8;
  background: #ffe8e8;
}

.li-job-item.is-favorite {
  border-color: #d4b88b;
}

.li-job-select-control {
  display: none;
  align-items: center;
  cursor: pointer;
  flex: 0 0 auto;
}

.li-job-item-top-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex: 0 0 auto;
  min-width: max-content;
  position: relative;
  z-index: 2;
}

.li-job-item-actions {
  justify-content: flex-end;
}

.li-left.is-selection-mode .li-job-select-control {
  display: flex;
}

.li-job-select-input {
  width: auto;
  height: auto;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  accent-color: var(--brand);
  flex: 0 0 auto;
}

.li-job-select-input:focus {
  box-shadow: none;
}

.li-job-item.is-selected {
  border-color: #98c5a2;
  box-shadow: 0 0 0 2px rgba(41, 122, 69, 0.12);
}

.li-job-item:hover {
  border-color: #c4dac7;
  transform: translateY(-2px);
}

.li-job-item.is-active {
  border-color: var(--brand);
  background: linear-gradient(180deg, #f8fefb, #f3fbf5);
  box-shadow: 0 0 0 2px rgba(13, 95, 84, 0.12);
}

.li-job-title {
  font-size: 0.99rem;
  font-weight: 600;
  margin-bottom: 0;
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.3;
  flex: 1 1 auto;
}

.li-job-company-link {
  display: inline;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  font-weight: 600;
  color: #2b5d4f;
}

.li-company-job-count {
  white-space: nowrap;
  flex: 0 0 auto;
}

.li-job-company {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  margin-left: 0;
}

.li-job-company-indented {
  margin-left: 40px;
}

.li-job-preview {
  margin-top: 0;
  margin-bottom: 4px;
  margin-left: 0;
  color: #4f6370;
  font-size: 0.84rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.li-company-logo {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  object-fit: contain;
  background: #fff;
  border: 1px solid #d9e4d8;
  flex: 0 0 auto;
}

.li-company-logo-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  color: #4f6472;
  background: #edf3f6;
}

.li-inline-remove-btn {
  width: 28px;
  min-width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid #e4b8b3;
  background: #fdecea;
  color: #9f2f24;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
}

.li-inline-remove-btn:hover {
  background: #f9d8d3;
  border-color: #d99e98;
}

.li-delete-ban-menu {
  width: 280px;
  background: #ffffff;
  border: 1px solid #cfe0d2;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(16, 35, 24, 0.18);
  padding: 10px;
}

.li-delete-ban-menu-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #2a3b46;
  margin-bottom: 8px;
}

.li-delete-ban-input {
  margin-top: 0;
  margin-bottom: 8px;
}

.li-delete-ban-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.li-company-job-count {
  display: inline-block;
  margin-left: 0;
  color: #5f7380;
  font-size: 0.84rem;
  font-weight: 600;
}

.li-company-header h2 {
  margin-bottom: 2px;
}

.li-company-title-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.li-company-jobs-page .li-job-preview {
  margin-left: 0;
}

.li-company-name.is-banned {
  color: #b1302c;
  text-decoration: line-through;
  text-decoration-color: #c23f39;
  text-decoration-thickness: 2px;
}

.li-company-header-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.li-company-header-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.li-company-kpi-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.li-company-kpi-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  padding: 6px 11px;
  border: 1px solid #d3e3d5;
  background: #f5fbf6;
  color: #244536;
  font-size: 0.82rem;
  font-weight: 600;
}

.li-company-kpi-pill strong {
  font-size: 0.9rem;
  color: #123f2e;
}

.li-company-subtitle {
  color: var(--text-muted);
  font-size: 0.86rem;
  margin-top: -4px;
}

.li-company-insights {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.li-company-insight-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  border: 1px solid #d7e6d6;
  background: #f5faf5;
  color: #2e4a3c;
  padding: 5px 10px;
  font-size: 0.79rem;
}

.li-company-description {
  margin: 10px 0 0;
  color: #334755;
  font-size: 0.9rem;
  line-height: 1.45;
  max-width: 85ch;
}

.li-company-description-card {
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid #dbe6df;
  border-radius: 12px;
  background: #f8fcf9;
}

.li-company-description-card .li-company-description {
  margin: 0;
}

.li-company-description-preview {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.li-company-description-more {
  margin-top: 8px;
}

.li-company-description-more summary {
  cursor: pointer;
  color: #1f5c41;
  font-size: 0.82rem;
  font-weight: 600;
  list-style: none;
}

.li-company-description-more summary::-webkit-details-marker {
  display: none;
}

.li-company-description-more[open] summary {
  margin-bottom: 8px;
}

.li-company-controls {
  border: 1px solid #dbe6d9;
  border-radius: 14px;
  background: linear-gradient(180deg, #f8fcf8 0%, #f2f8f3 100%);
  padding: 12px;
  margin-bottom: 14px;
  display: grid;
  gap: 10px;
}

.li-company-control-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.li-company-inline-form {
  display: inline-flex;
}

.li-company-context-menu {
  position: relative;
}

.li-company-context-trigger {
  min-width: 38px;
  width: 38px;
  height: 38px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  line-height: 1;
}

.li-company-context-menu summary {
  list-style: none;
}

.li-company-context-menu summary::-webkit-details-marker {
  display: none;
}

.li-company-context-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 15;
  min-width: 220px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid #cfded2;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(24, 53, 36, 0.15);
  display: grid;
  gap: 8px;
}

.li-company-context-form {
  display: flex;
}

.li-company-context-panel > .li-btn,
.li-company-context-form .li-btn {
  width: 100%;
  justify-content: center;
}

.li-company-status-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid transparent;
}

.li-company-status-pill.is-ban {
  color: #892f26;
  background: #fde8e4;
  border-color: #ebc6be;
}

.li-company-status-pill.is-priority {
  color: #0f5c44;
  background: #e6f6ed;
  border-color: #c6e3d3;
}

.li-company-status-pill.is-neutral {
  color: #465967;
  background: #eef3f6;
  border-color: #d3e0e7;
}

.li-inline-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 22px;
  padding: 0 8px;
  margin-left: 8px;
  border-radius: 999px;
  border: 1px solid #d5e3d8;
  background: #f4faf6;
  color: #244536;
  font-size: 0.78rem;
  font-weight: 700;
}

.li-company-role-card {
  border-radius: 16px;
  border-color: #d8e4da;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdfb 100%);
  box-shadow: 0 2px 6px rgba(17, 49, 33, 0.05);
}

.li-company-role-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.li-company-role-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.li-app-preview {
  font-size: 0.84rem;
  color: #314138;
  margin-bottom: 8px;
  line-height: 1.35;
}

.app-comment-preview {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.li-job-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.li-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.li-profile-menu-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
}

.li-profile-menu-tab {
  display: grid;
  gap: 2px;
  text-decoration: none;
  border: 1px solid #bcd3c3;
  border-radius: 14px;
  padding: 10px 12px;
  background: linear-gradient(180deg, #ffffff 0%, #f6fbf7 100%);
  color: #1f3d34;
  transition: transform 0.14s ease, box-shadow 0.14s ease, border-color 0.14s ease;
}

.li-profile-menu-tab:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(20, 49, 37, 0.08);
  border-color: #9fc2ad;
}

.li-profile-menu-tab.is-active {
  border-color: #0d5f54;
  background: linear-gradient(145deg, #0d5f54 0%, #0b554b 100%);
  color: #ecf8f1;
  box-shadow: 0 10px 20px rgba(11, 57, 45, 0.2);
}

.li-profile-menu-tab-index {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  opacity: 0.78;
}

.li-profile-menu-tab-label {
  font-size: 0.92rem;
  font-weight: 700;
}

.li-lang-option-row {
  justify-content: space-between;
  gap: 12px;
}

.li-lang-segment-control {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid #c7d9cc;
  background: #eef5f0;
  gap: 4px;
}

.li-lang-segment {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 50px;
  height: 30px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  color: #345446;
  border: 1px solid transparent;
}

.li-lang-segment:hover {
  border-color: #b5cbc0;
  background: #f9fcfa;
}

.li-lang-segment.is-active {
  background: #0d5f54;
  color: #f1faf5;
  border-color: #0b5249;
}

@media (max-width: 820px) {
  .li-profile-menu-actions {
    grid-template-columns: 1fr;
  }

  .li-profile-menu-tab {
    padding: 9px 11px;
  }

  .li-lang-option-row {
    flex-wrap: wrap;
    align-items: flex-start;
  }
}

.li-badge,
.pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 4px 10px;
}

.li-badge {
  margin-right: 6px;
}

.li-fit {
  background: #dbf1e4;
  color: #0c6b47;
}

.li-attraction {
  background: #dbecee;
  color: #1c5661;
}

.pill {
  background: #e8eeeb;
  color: #2d4a39;
}

.li-load-more {
  margin-top: 14px;
}

.li-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
}

#job-detail-panel {
  padding: 20px;
  max-height: calc(100vh - 104px);
  overflow-y: auto;
  overflow-x: hidden;
}

#application-detail-panel {
  max-height: calc(100vh - 104px);
  overflow-y: auto;
  overflow-x: hidden;
}

#job-detail-panel.is-empty,
#application-detail-panel.is-empty {
  background: repeating-linear-gradient(
    -45deg,
    #f8fbf7,
    #f8fbf7 12px,
    #f2f7f1 12px,
    #f2f7f1 24px
  );
  border-style: dashed;
  border-color: #d8e4d8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #60706b;
  font-size: 0.92rem;
}

#job-detail-panel h2 {
  margin-bottom: 10px;
}

#application-detail-panel h2 {
  margin-bottom: 10px;
}

#job-detail-panel h3 {
  margin-bottom: 8px;
  font-size: 1rem;
}

#application-detail-panel h3 {
  margin-bottom: 8px;
  font-size: 1rem;
}

#job-detail-panel p {
  margin-bottom: 8px;
  color: #24313c;
}

.li-job-detail-list {
  display: grid;
  gap: 6px;
  margin-bottom: 2px;
}

.li-job-detail-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  align-items: start;
  column-gap: 6px;
  color: #24313c;
}

.li-job-detail-label {
  font-weight: 700;
}

.li-job-description {
  color: #23313c;
  line-height: 1.62;
  max-width: 62ch;
  text-wrap: pretty;
}

.li-job-desc-paragraph {
  margin: 0 0 10px;
}

.li-job-desc-paragraph:last-child {
  margin-bottom: 0;
}

.li-job-desc-paragraph.is-empty {
  color: #60706b;
  font-style: italic;
}

#application-detail-panel p {
  margin-bottom: 8px;
  color: #24313c;
}

#job-detail-panel hr {
  margin: 14px 0;
  border: 0;
  border-top: 1px solid #e4ece2;
}

#application-detail-panel hr {
  margin: 14px 0;
  border: 0;
  border-top: 1px solid #e4ece2;
}

#job-detail-panel form input,
#job-detail-panel form textarea {
  margin-top: 4px;
}

#application-detail-panel input,
#application-detail-panel textarea,
#application-detail-panel select {
  margin-top: 4px;
}

/* Profile */
.li-profile-layout {
  width: min(980px, 100%);
  margin: 0 auto;
  padding: 28px 20px 56px;
  display: grid;
  gap: 12px;
}

.li-profile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.li-cv-preview-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

.li-cv-preview-card {
  display: flex;
  justify-content: center;
}

.li-cv-preview-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  position: absolute;
  right: 6px;
  bottom: 6px;
  width: auto;
  z-index: 3;
}

.li-cv-preview-actions .li-btn {
  padding: 6px 8px;
  font-size: 0.74rem;
  border-radius: 8px;
}

.li-cv-preview-frame {
  width: min(100%, 170px);
  aspect-ratio: 210 / 297;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  background: transparent;
  margin: 0 auto;
  position: relative;
}

.li-cv-preview-frame iframe {
  width: 944px;
  height: 1336px;
  border: 0;
  transform-origin: top left;
  transform: scale(0.18);
  pointer-events: none;
  background: #fff;
}

.li-profile-top {
  display: flex;
  gap: 20px;
  align-items: center;
}

.li-profile-avatar img {
  width: 126px;
  height: 126px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 0 0 1px var(--line-strong);
}

.li-profile-name {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 700;
}

.li-profile-meta {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 560px;
}

.li-section {
  padding: 16px;
}

.li-section + .li-section {
  margin-top: 0;
}

.li-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.li-section-title {
  font-size: 1.02rem;
  font-weight: 600;
}

.li-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.li-form-group label,
label.muted,
.muted {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.li-comment-log {
  border: 1px solid #d7e3d8;
  border-radius: 10px;
  background: #f7fbf8;
  padding: 10px;
  max-height: 220px;
  overflow-y: auto;
}

.li-comment-log-list {
  display: grid;
  gap: 8px;
}

.li-comment-log-item {
  border: 1px solid #dde9df;
  border-radius: 8px;
  background: #fff;
  padding: 8px;
}

.li-comment-log-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.li-comment-log-time {
  font-size: 0.75rem;
  color: #5e7067;
}

.li-comment-log-text {
  font-size: 0.86rem;
  color: #21322b;
  white-space: pre-wrap;
}

.li-comment-delete-btn {
  border: 1px solid #e3b5b5;
  background: #fff7f7;
  color: #b35d5d;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  line-height: 0;
  text-align: center;
  padding: 0;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  flex: 0 0 18px;
  position: relative;
}

.li-comment-delete-btn::before {
  content: "×";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -52%);
  font-size: 12px;
  line-height: 1;
  font-weight: 600;
}

.li-comment-delete-btn:hover {
  background: #fdeeee;
  border-color: #d9a3a3;
  color: #a84e4e;
}

.li-interview-mode-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1400;
  background: rgba(15, 25, 20, 0.54);
  backdrop-filter: blur(2px);
  display: grid;
  place-items: center;
  padding: 16px;
}

.li-interview-mode-shell {
  width: min(980px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid #d8e4d9;
  border-radius: 14px;
  box-shadow: 0 18px 46px rgba(16, 38, 26, 0.24);
  padding: 16px;
}

.li-interview-mode-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.li-interview-mode-card {
  border: 1px solid #dce8de;
  border-radius: 12px;
  background: #f8fcf9;
  padding: 12px;
  margin-top: 10px;
}

.li-interview-mode-card h3 {
  margin-bottom: 8px;
}

.li-interview-mode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.li-interview-mode-item {
  border: 1px solid #dde8df;
  border-radius: 10px;
  background: #fff;
  padding: 8px 10px;
}

.li-interview-mode-label {
  font-size: 0.76rem;
  color: #5a6d62;
  margin-bottom: 2px;
}

.li-interview-mode-value {
  color: #1f3229;
  font-size: 0.9rem;
  word-break: break-word;
}

.li-interview-mode-text {
  color: #20312a;
  white-space: pre-wrap;
  line-height: 1.45;
}

.li-interview-qa-list {
  display: grid;
  gap: 10px;
}

.li-interview-qa-item {
  border: 1px solid #dce8de;
  border-radius: 12px;
  background: #f8fcf9;
  padding: 10px;
}

.li-interview-schedule-row {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) 120px 42px;
  gap: 8px;
  align-items: end;
}

.li-interview-round-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: end;
}

.li-status-round-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: stretch;
}

.li-status-round-row > select {
  height: 42px;
  box-sizing: border-box;
}

#application-detail-panel .li-status-round-row > select {
  margin-top: 0;
}

.li-round-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 4px;
  border: 1px solid #d6e2d8;
  border-radius: 12px;
  background: #f8fcf9;
  height: 42px;
  box-sizing: border-box;
}

.li-round-inline-label {
  font-size: 0.76rem;
  color: #4f655a;
  font-weight: 600;
  padding-left: 4px;
}

.li-round-inline input {
  width: 44px;
  height: 28px;
  padding: 6px 4px;
  text-align: center;
  border-radius: 8px;
  border-color: #cbdacc;
  font-weight: 600;
  background: #fff;
}

#application-detail-panel .li-round-inline input {
  margin-top: 0;
}

.li-round-inline .li-btn {
  min-width: 30px;
  height: 28px;
  padding: 0;
}

.li-round-plus-btn {
  border-radius: 8px;
  font-size: 0.95rem;
  line-height: 1;
  font-weight: 700;
}

.li-round-plus-btn:hover {
  transform: none;
}

.li-calendar-icon-btn {
  grid-column: 3;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 10px;
}

.li-interview-qa-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.li-interview-qa-icon-btn {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid #bfd6c3;
  background: #f5fbf6;
  color: #1f6b53;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}

.li-interview-qa-icon-btn:hover {
  background: #eaf6ed;
  border-color: #a8c9b0;
}

@media (max-width: 760px) {
  .li-interview-mode-grid {
    grid-template-columns: 1fr;
  }

  .li-interview-schedule-row {
    grid-template-columns: 1fr;
  }

  .li-calendar-icon-btn {
    grid-column: auto;
  }
}

.li-hidden {
  display: none;
}

.li-section ul {
  margin: 6px 0 0;
  padding-left: 16px;
}

.li-section ul li {
  margin-bottom: 4px;
}

.li-pref-overview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.li-pref-stat {
  border: 1px solid #dbe6dd;
  background: #f7fbf8;
  border-radius: 12px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.li-pref-stat-label {
  font-size: 0.74rem;
  color: #5d6f68;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.li-pref-stat-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a2b34;
}

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

.li-pref-card {
  border: 1px solid #dde9df;
  border-radius: 14px;
  background: #fff;
  padding: 10px 12px;
}

.li-pref-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.li-pref-card-title {
  font-size: 0.86rem;
  font-weight: 700;
  color: #2a3b46;
  margin-bottom: 0;
}

.li-pref-card-edit-btn {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 9px;
  border: 1px solid #bfd7c2;
  background: #f1fbf4;
  color: #0d5f54;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  padding: 0;
}

.li-pref-card-edit-btn:hover {
  background: #e2f5e8;
  border-color: #a2c8a8;
}

.li-pref-edit-shell {
  border: 1px solid #d7e3da;
  border-radius: 14px;
  background: linear-gradient(180deg, #fbfefc, #f5fbf7);
  padding: 14px;
}

.li-pref-edit-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.li-pref-edit-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #22343f;
}

.li-pref-edit-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.li-pref-card-wide {
  grid-column: 1 / -1;
}

.li-app-options-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.li-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 1px solid #d8e5db;
  border-radius: 12px;
  background: #f7fbf8;
  padding: 10px 12px;
}

.li-toggle-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #2a3b46;
}

.li-toggle-switch {
  position: relative;
  width: 42px;
  height: 24px;
  display: inline-flex;
  align-items: center;
}

.li-toggle-switch input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.li-toggle-slider {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 1px solid #b8cbbe;
  background: #e6efea;
  transition: 0.16s ease;
}

.li-toggle-slider::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(9, 22, 15, 0.26);
  transition: 0.16s ease;
}

.li-toggle-switch input:checked + .li-toggle-slider {
  border-color: #70b095;
  background: #0d5f54;
}

.li-toggle-switch input:checked + .li-toggle-slider::before {
  transform: translateX(18px);
}

.li-toggle-row.is-disabled {
  opacity: 0.55;
}

.li-toggle-switch input:disabled + .li-toggle-slider {
  cursor: not-allowed;
}

.li-btn.is-option-disabled {
  opacity: 0.6;
  background: #9aa5af !important;
  border-color: #88939d !important;
  color: #f3f5f7 !important;
  cursor: not-allowed;
  pointer-events: none;
}

.li-pref-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.li-pref-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid #d8e5db;
  background: #f4faf6;
  color: #244338;
  font-size: 0.8rem;
  padding: 4px 10px;
  text-decoration: none;
}

.li-pref-chip-link:hover {
  background: #eaf7ee;
  border-color: #c6dacb;
}

.li-pref-empty {
  font-size: 0.84rem;
  color: #6d7e78;
}

.li-pref-status {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 6px 12px;
  font-size: 0.82rem;
  font-weight: 700;
}

.li-pref-status.is-active {
  background: #e6f6ed;
  color: #0f5c44;
  border-color: #c7e5d3;
}

.li-pref-status.is-inactive {
  background: #eef3f6;
  color: #465967;
  border-color: #d3e0e7;
}

.li-profile-kv-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.li-profile-kv-item {
  border: 1px solid #dde9df;
  border-radius: 12px;
  background: #f9fcfa;
  padding: 10px 12px;
}

.li-profile-kv-item-wide {
  grid-column: 1 / -1;
}

.li-profile-kv-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #65766f;
  margin-bottom: 4px;
}

.li-profile-kv-value {
  font-size: 0.95rem;
  color: #1d2f39;
  font-weight: 600;
}

.li-profile-summary-box {
  border: 1px solid #dde9df;
  border-radius: 12px;
  background: #f9fcfa;
  padding: 12px;
  white-space: pre-wrap;
  line-height: 1.55;
}

.li-profile-timeline-card {
  border: 1px solid #dde9df;
  border-radius: 12px;
  background: #fff;
  padding: 10px 12px;
  margin-bottom: 10px;
}

.li-profile-timeline-card ul {
  margin-top: 8px;
}

/* Login */
.li-login-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 42px 28px 72px;
  overflow: hidden;
}

.li-login-wrapper::before,
.li-login-wrapper::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.li-login-wrapper::before {
  width: 420px;
  height: 420px;
  left: -120px;
  top: 12%;
  background: radial-gradient(circle, rgba(30, 138, 107, 0.16), transparent 68%);
}

.li-login-wrapper::after {
  width: 560px;
  height: 560px;
  right: -170px;
  bottom: -210px;
  background: radial-gradient(circle, rgba(55, 116, 160, 0.14), transparent 70%);
}

.li-login-shell {
  position: relative;
  z-index: 1;
  width: min(1240px, 100%);
  display: grid;
  grid-template-columns: minmax(340px, 440px) minmax(520px, 1fr);
  gap: 18px;
  align-items: stretch;
}

.li-login-panel {
  padding: 34px 30px;
  backdrop-filter: blur(2px);
}

.li-login-eyebrow {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 10px;
  margin-bottom: 10px;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #1f5b4c;
  background: #e6f4ec;
  border: 1px solid #c6e2d3;
  font-weight: 700;
}

.li-login-title {
  margin-bottom: 12px;
  font-size: clamp(1.9rem, 2.4vw, 2.55rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.li-login-subtitle {
  margin-bottom: 18px;
  font-size: 0.99rem;
  max-width: 34ch;
}

.li-login-error {
  margin-bottom: 14px;
  color: var(--danger);
  font-weight: 600;
  font-size: 0.92rem;
}

.li-login-button {
  width: 100%;
  justify-content: center;
  min-height: 48px;
  font-size: 0.93rem;
}

.li-login-auth-stack {
  display: grid;
  gap: 8px;
}

.li-login-button-linkedin {
  border-color: #6a88a1;
  color: #163a59;
  background: #eef6ff;
}

.li-login-button-linkedin:hover {
  background: #e2f0ff;
  border-color: #587892;
}

.li-login-footnote {
  margin-top: 14px;
  font-size: 0.82rem;
  color: #637381;
}

.li-login-trust-list {
  list-style: none;
  margin-top: 16px;
  display: grid;
  gap: 8px;
  font-size: 0.84rem;
  color: #41515e;
}

.li-login-trust-list li {
  position: relative;
  padding-left: 16px;
}

.li-login-trust-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1c7f70;
}

.li-login-ad {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid #b7d8c9;
  background:
    radial-gradient(circle at 79% 22%, rgba(225, 246, 255, 0.52), transparent 31%),
    linear-gradient(132deg, #0d6558 0%, #0e6073 48%, #1a4d7a 100%);
  color: #f3fbf8;
  box-shadow: var(--shadow-md);
  padding: 36px 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.li-login-ad::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -180px;
  top: -200px;
  border-radius: 50%;
  border: 1px solid rgba(197, 230, 255, 0.24);
}

.li-login-ad-kicker {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #bcead8;
  margin-bottom: 10px;
  font-weight: 700;
}

.li-login-ad-title {
  margin-bottom: 12px;
  font-size: clamp(2rem, 2.8vw, 3rem);
  max-width: 16ch;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.li-login-ad-copy {
  color: #d8f3ea;
  font-size: 1rem;
  margin-bottom: 16px;
  max-width: 44ch;
}

.li-login-kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.li-login-kpi-card {
  display: grid;
  gap: 2px;
  border: 1px solid rgba(230, 247, 255, 0.3);
  background: rgba(10, 42, 58, 0.24);
  border-radius: 12px;
  padding: 10px 12px;
}

.li-login-kpi-card strong {
  font-family: "Sora", "Avenir Next", sans-serif;
  font-size: 1.1rem;
}

.li-login-kpi-card span {
  font-size: 0.78rem;
  color: #d4eef8;
}

.li-login-ad-list {
  list-style: none;
  display: grid;
  gap: 9px;
  font-size: 0.95rem;
  color: #ebfffa;
  margin-bottom: 14px;
}

.li-login-ad-list li {
  position: relative;
  padding-left: 18px;
}

.li-login-ad-list li::before {
  content: "+";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
}

.li-login-quote {
  margin-top: auto;
  border-top: 1px solid rgba(201, 240, 255, 0.28);
  padding-top: 12px;
  color: #d9effd;
  font-size: 0.86rem;
}

/* Onboarding */
.li-onboarding-layout {
  width: min(1080px, 100%);
  margin: 0 auto;
  padding: 28px 20px 56px;
  display: grid;
  gap: 12px;
}

.li-onboarding-hero {
  background:
    radial-gradient(circle at 84% 18%, rgba(201, 239, 255, 0.36), transparent 34%),
    linear-gradient(135deg, #f9fefb 0%, #eef8f2 58%, #ecf4fa 100%);
}

.li-onboarding-title {
  margin: 6px 0 8px;
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.li-onboarding-subtitle {
  max-width: 60ch;
  margin-bottom: 12px;
}

.li-onboarding-hero-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.li-onboarding-form {
  display: grid;
  gap: 14px;
}

.li-onboarding-stepper {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.li-onboarding-step-indicator {
  border: 1px solid #cadbcc;
  background: #f4faf6;
  color: #4a5f57;
  border-radius: 999px;
  min-height: 36px;
  font-size: 0.78rem;
  font-weight: 700;
}

.li-onboarding-step-indicator.is-active {
  background: #0d5f54;
  color: #fff;
  border-color: #0d5f54;
}

.li-onboarding-steps {
  position: relative;
  min-height: 360px;
}

.li-onboarding-step {
  display: none;
  animation: li-slide-in 0.2s ease;
}

.li-onboarding-step.is-active {
  display: block;
}

@keyframes li-slide-in {
  from {
    opacity: 0;
    transform: translateX(10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.li-onboarding-block {
  border: 1px solid #d7e6db;
  border-radius: 14px;
  background: #f9fcfa;
  padding: 14px;
}

.li-onboarding-block h2 {
  margin-bottom: 6px;
}

.onboarding-list-row {
  align-items: center;
}

.onboarding-list-row .li-inline-remove-btn {
  align-self: center;
  margin-top: 0;
}

.li-onboarding-required {
  color: var(--danger);
  font-weight: 700;
}

.li-onboarding-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 8px;
}

.li-onboarding-form label {
  display: block;
  font-size: 0.83rem;
  color: #45615a;
  margin: 10px 0 6px;
  font-weight: 600;
}

.li-onboarding-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.li-onboarding-finish-list {
  display: grid;
  gap: 8px;
  font-size: 0.92rem;
}

.li-onboarding-target-info {
  margin-top: 10px;
  border: 1px solid #d7e5dc;
  border-radius: 10px;
  background: #f4faf6;
  color: #3e5a52;
  padding: 9px 10px;
  font-size: 0.84rem;
}

.li-onboarding-target-info.is-success {
  border-color: #bde2cf;
  background: #eaf8f1;
  color: #0f5c44;
}

.li-onboarding-target-info.is-warning {
  border-color: #ebd3ac;
  background: #fff7e8;
  color: #7d5b16;
}

/* Generic form components */
input,
select,
textarea,
button,
.li-btn {
  font-family: inherit;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #ccd8cc;
  border-radius: var(--radius-sm);
  padding: 10px 11px;
  font-size: 0.92rem;
  background: #fff;
  color: var(--text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

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

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #75aa8a;
  box-shadow: 0 0 0 3px rgba(117, 170, 138, 0.2);
}

input[type="checkbox"],
input[type="radio"] {
  width: 16px;
  height: 16px;
  padding: 0;
  margin: 0;
  border-radius: 4px;
  flex: 0 0 auto;
}

button,
.li-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  padding: 9px 13px;
  cursor: pointer;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 600;
  transition: 0.15s ease;
}

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

button:disabled,
.li-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

button,
.li-btn-primary {
  background: var(--brand);
  color: #fff;
}

button:hover,
.li-btn-primary:hover {
  background: var(--brand-strong);
}

.secondary,
.li-btn-outline {
  background: #fff;
  color: var(--brand);
  border: 1px solid #9fc4a2;
}

.secondary:hover,
.li-btn-outline:hover {
  background: #f3faf6;
}

.li-btn-success {
  background: var(--success);
  color: #fff;
}

.li-btn-success:hover {
  background: #0c6746;
}

.li-btn-danger {
  background: var(--danger);
  color: #fff;
}

.li-btn-danger:hover {
  background: #942e23;
}

.row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.li-check-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.li-check-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text);
}

.block {
  margin-bottom: 10px;
}

.card {
  padding: 12px;
}

.li-compact-pref-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.li-compact-pref-row {
  margin-bottom: 0;
  align-items: center;
  gap: 6px;
}

.li-compact-pref-row > div {
  flex: 0 0 auto;
}

.li-compact-pref-row input {
  width: min(320px, 42vw);
  margin-top: 0;
}

body.li-dark-mode {
  --bg: #0f141b;
  --surface: #161d27;
  --surface-soft: #1c2532;
  --text: #e5edf8;
  --text-muted: #aab8ca;
  --line: #2d3a4c;
  --line-strong: #3a4b62;
  --brand: #2db39a;
  --brand-strong: #23927f;
  --brand-soft: #1c3d3a;
  --success: #22a76f;
  --danger: #d36659;
  --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-md: 0 14px 34px rgba(0, 0, 0, 0.5);
  background:
    radial-gradient(circle at 12% 8%, rgba(25, 90, 77, 0.35), transparent 36%),
    radial-gradient(circle at 84% 14%, rgba(37, 88, 128, 0.3), transparent 32%),
    linear-gradient(180deg, #0f141b 0%, #111a24 100%);
  color: var(--text);
}

body.li-dark-mode .li-header {
  background: rgba(13, 18, 25, 0.88);
  border-bottom-color: var(--line);
}

body.li-dark-mode .li-back-arrow {
  color: #c7d4e4;
}

body.li-dark-mode .li-back-arrow:hover {
  background: #1a2431;
  border-color: var(--line);
}

body.li-dark-mode .li-job-item,
body.li-dark-mode .li-pref-card,
body.li-dark-mode .li-pref-edit-shell,
body.li-dark-mode .li-pref-stat,
body.li-dark-mode .li-profile-kv-item,
body.li-dark-mode .li-profile-summary-box,
body.li-dark-mode .li-profile-timeline-card,
body.li-dark-mode .li-company-description-card,
body.li-dark-mode .li-delete-ban-menu,
body.li-dark-mode .li-toggle-row {
  background: #1a2431;
  border-color: #334459;
  color: var(--text);
}

body.li-dark-mode .li-job-item:hover {
  border-color: #4a627c;
}

body.li-dark-mode .li-job-item.is-active {
  border-color: var(--brand);
  background: linear-gradient(180deg, #1f2d3b, #1a2634);
  box-shadow: 0 0 0 2px rgba(45, 179, 154, 0.25);
}

body.li-dark-mode .li-header-link,
body.li-dark-mode .li-job-company-link,
body.li-dark-mode .li-breadcrumb-link,
body.li-dark-mode .li-pref-chip-link {
  color: #9ee5d5;
}

body.li-dark-mode .li-company-logo {
  background: #111922;
  border-color: #3a4b61;
}

body.li-dark-mode .li-company-logo-fallback {
  color: #c5d1df;
  background: #1e2a38;
}

body.li-dark-mode .li-job-preview,
body.li-dark-mode .li-app-preview,
body.li-dark-mode .li-profile-kv-label,
body.li-dark-mode .li-pref-stat-label,
body.li-dark-mode .li-pref-empty,
body.li-dark-mode .li-meta,
body.li-dark-mode .muted,
body.li-dark-mode #job-detail-panel p,
body.li-dark-mode #application-detail-panel p {
  color: #aab8ca;
}

body.li-dark-mode .li-pref-stat-value,
body.li-dark-mode .li-pref-card-title,
body.li-dark-mode .li-pref-edit-title,
body.li-dark-mode .li-toggle-label,
body.li-dark-mode .li-profile-kv-value,
body.li-dark-mode .li-job-detail-row,
body.li-dark-mode .li-job-description,
body.li-dark-mode .li-section-title,
body.li-dark-mode .li-page-title,
body.li-dark-mode .li-user-name-link {
  color: #e5edf8;
}

body.li-dark-mode input,
body.li-dark-mode select,
body.li-dark-mode textarea {
  background: #0f1720;
  border-color: #3a4b60;
  color: #eaf2fc;
}

body.li-dark-mode .li-comment-log {
  background: #141f2b;
  border-color: #3a4b60;
}

body.li-dark-mode .li-comment-log-item {
  background: #0f1720;
  border-color: #33465d;
}

body.li-dark-mode .li-comment-log-time {
  color: #9fb1c7;
}

body.li-dark-mode .li-comment-log-text {
  color: #d9e4f2;
}

body.li-dark-mode .li-notifications-empty-toast {
  background: #15212d;
  border-color: #39506a;
  color: #c4d6eb;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.45);
}

body.li-dark-mode .li-interview-mode-shell {
  background: #15202c;
  border-color: #34485d;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.5);
}

body.li-dark-mode .li-interview-mode-card {
  background: #182634;
  border-color: #37506a;
}

body.li-dark-mode .li-interview-mode-item {
  background: #111b26;
  border-color: #33495e;
}

body.li-dark-mode .li-interview-mode-label {
  color: #99aec5;
}

body.li-dark-mode .li-interview-mode-value,
body.li-dark-mode .li-interview-mode-text {
  color: #d9e6f5;
}

body.li-dark-mode .li-interview-qa-item {
  background: #182634;
  border-color: #37506a;
}

body.li-dark-mode .li-interview-qa-icon-btn {
  background: #1c2e3f;
  border-color: #46627d;
  color: #9ad7bd;
}

body.li-dark-mode .li-interview-qa-icon-btn:hover {
  background: #22364a;
  border-color: #5a7895;
}

body.li-dark-mode .li-round-inline {
  background: #162532;
  border-color: #37506a;
}

body.li-dark-mode .li-round-inline-label {
  color: #9fb7cf;
}

body.li-dark-mode .li-round-inline input {
  background: #0f1720;
  border-color: #3a4b60;
  color: #e7f0fb;
}

body.li-dark-mode .li-comment-delete-btn {
  background: #2a1f24;
  border-color: #6e4b55;
  color: #d58e9a;
}

body.li-dark-mode .li-comment-delete-btn:hover {
  background: #34262d;
  border-color: #825862;
  color: #e2a1ac;
}

body.li-dark-mode input:focus,
body.li-dark-mode select:focus,
body.li-dark-mode textarea:focus {
  border-color: #4abfa6;
  box-shadow: 0 0 0 3px rgba(74, 191, 166, 0.2);
}

body.li-dark-mode .secondary,
body.li-dark-mode .li-btn-outline {
  background: #172230;
  color: #b8f3e3;
  border-color: #47627f;
}

body.li-dark-mode .secondary:hover,
body.li-dark-mode .li-btn-outline:hover {
  background: #1d2a3a;
}

body.li-dark-mode .li-sort-icon-btn,
body.li-dark-mode .li-pref-card-edit-btn,
body.li-dark-mode .li-inline-remove-btn {
  background: #1a2634;
  border-color: #435a73;
}

body.li-dark-mode .li-job-favorite-btn {
  background: #1a2634;
  border-color: #44586f;
  color: #ff7f8f;
}

body.li-dark-mode .li-job-favorite-btn:hover,
body.li-dark-mode .li-job-favorite-btn.is-active {
  background: #31222a;
  border-color: #8b5562;
  color: #ff9ca9;
}

body.li-dark-mode .li-pref-chip {
  background: #1f2b3a;
  border-color: #41566d;
  color: #d0deef;
}

body.li-dark-mode .li-fit {
  background: #1f3b30;
  color: #79d7ac;
}

body.li-dark-mode .li-attraction {
  background: #203847;
  color: #8ac7e5;
}

body.li-dark-mode .pill {
  background: #2a3442;
  color: #c4d0df;
}

body.li-dark-mode #job-detail-panel.is-empty,
body.li-dark-mode #application-detail-panel.is-empty {
  background: repeating-linear-gradient(
    -45deg,
    #1a2431,
    #1a2431 12px,
    #17202b 12px,
    #17202b 24px
  );
  border-color: #334459;
  color: #a8b8cb;
}

body.li-dark-mode #job-detail-panel hr,
body.li-dark-mode #application-detail-panel hr {
  border-top-color: #334559;
}

body.li-dark-mode .li-header-search-results {
  background: #111923;
  border-color: #33465c;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

body.li-dark-mode .li-header-link {
  background: #172230;
  color: #b8f3e3;
  border-color: #47627f;
}

body.li-dark-mode .li-header-link:hover {
  background: #1d2a3a;
  border-color: #5a7a9b;
}

body.li-dark-mode .li-header-logout {
  background: #172230;
  color: #b8f3e3;
  border-color: #47627f;
}

body.li-dark-mode .li-header-logout:hover {
  background: #1d2a3a;
  border-color: #5a7a9b;
}

body.li-dark-mode .li-header-search-item:hover,
body.li-dark-mode .li-header-search-see-all:hover {
  background: #1a2634;
}

body.li-dark-mode .li-toggle-slider {
  border-color: #496179;
  background: #233245;
}

body.li-dark-mode .li-toggle-slider::before {
  background: #dce9f7;
}

body.li-dark-mode .portal-stats {
  background: linear-gradient(180deg, #121b28, #101925);
  border-color: #2f3f53;
}

body.li-dark-mode .portal-stats-title {
  color: #e7eff9;
}

body.li-dark-mode .portal-stats-subtitle {
  color: #aebdce;
}

body.li-dark-mode .portal-kpi-card {
  background: #1a2533;
  border-color: #3b4e65;
}

body.li-dark-mode .portal-kpi-card-accent {
  background: linear-gradient(150deg, #1d3a3a, #1a3132);
  border-color: #3f6f69;
}

body.li-dark-mode .portal-kpi-card-soft {
  background: linear-gradient(180deg, #1a2533, #172130);
}

body.li-dark-mode .portal-kpi-card-link:hover {
  border-color: #5a7a9b;
}

body.li-dark-mode .portal-kpi-label {
  color: #b9c7d8;
}

body.li-dark-mode .portal-kpi-value {
  color: #e8f0fb;
}

body.li-dark-mode .portal-kpi-meta {
  color: #a8b8cb;
}

body.li-dark-mode .portal-graph-card {
  background: #1a2533;
  border-color: #3b4e65;
}

body.li-dark-mode .portal-graph-card-link:hover,
body.li-dark-mode .portal-graph-card-link:focus-visible {
  border-color: #5a7a9b;
}

body.li-dark-mode .portal-graph-title,
body.li-dark-mode .portal-bar-value,
body.li-dark-mode .portal-bar-label,
body.li-dark-mode .portal-chart-note {
  color: #b9c8da;
}

body.li-dark-mode .portal-wordmap-item {
  color: #8fd6de;
}

body.li-dark-mode .landing-user-card {
  background: linear-gradient(145deg, #1a2533, #16202c);
  border-color: #3a4d63;
}

body.li-dark-mode .landing-user-card:hover {
  border-color: #5a7a9b;
  box-shadow: var(--shadow-md);
}

body.li-dark-mode .landing-user-name {
  color: #e7eff9;
}

body.li-dark-mode .landing-user-meta {
  color: #aebdce;
}

body.li-dark-mode .li-company-kpi-pill {
  background: #1b2b3a;
  border-color: #3f556e;
  color: #c9d9ea;
}

body.li-dark-mode .li-company-kpi-pill strong {
  color: #e6f1ff;
}

body.li-dark-mode .li-inline-count {
  background: #1b2b3a;
  border-color: #3f556e;
  color: #d7e7f8;
}

body.li-dark-mode .li-company-insight-pill {
  background: #1b2b3a;
  border-color: #3f556e;
  color: #c9d9ea;
}

body.li-dark-mode .li-company-description {
  color: #aab9cb;
}

body.li-dark-mode .li-company-description-more summary {
  color: #9ee5d5;
}

body.li-dark-mode .li-company-context-panel {
  background: #151f2b;
  border-color: #33465c;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.45);
}

body.li-dark-mode .li-badge {
  background: #263445;
  color: #cddced;
}

body.li-dark-mode .li-onboarding-hero {
  background:
    radial-gradient(circle at 84% 16%, rgba(104, 178, 220, 0.22), transparent 34%),
    linear-gradient(135deg, #162331 0%, #152331 54%, #11273a 100%);
  border-color: #3a5066;
}

body.li-dark-mode .li-onboarding-title {
  color: #eaf2fd;
}

body.li-dark-mode .li-onboarding-subtitle {
  color: #b9c9dc;
}

body.li-dark-mode .li-onboarding-block {
  background: #1a2431;
  border-color: #334459;
}

body.li-dark-mode .li-onboarding-block h2 {
  color: #e5edf8;
}

body.li-dark-mode .li-onboarding-form label {
  color: #bfd0e3;
}

body.li-dark-mode #onboarding-linkedin-status {
  color: #aebfd3;
}

body.li-dark-mode .li-onboarding-target-info {
  border-color: #3d566d;
  background: #1a2a3a;
  color: #bfd0e3;
}

body.li-dark-mode .li-onboarding-target-info.is-success {
  border-color: #336a56;
  background: #173128;
  color: #bcefd9;
}

body.li-dark-mode .li-onboarding-target-info.is-warning {
  border-color: #705d33;
  background: #312816;
  color: #f2ddb1;
}

body.li-dark-mode .li-onboarding-step-indicator {
  background: #1b2a39;
  color: #b8c9dc;
  border-color: #3c5369;
}

body.li-dark-mode .li-onboarding-step-indicator.is-active {
  background: #2db39a;
  border-color: #2db39a;
  color: #10202c;
}

body.li-dark-mode .li-login-button-linkedin {
  background: #1a2f45;
  border-color: #436487;
  color: #c8ddf8;
}

body.li-dark-mode .li-login-button-linkedin:hover {
  background: #20354d;
  border-color: #5477a0;
}

/* Responsive */
@media (max-width: 1150px) {
  .li-layout {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 14px;
  }

  .li-left,
  .li-right {
    overflow: visible;
  }

  .li-right {
    position: static;
    top: auto;
    max-height: none;
    overflow: visible;
  }

  #job-detail-panel {
    min-height: 420px;
  }
}

@media (max-width: 820px) {
  .li-header {
    height: 58px;
    min-height: 58px;
  }

  .li-header-inner {
    padding: 8px 10px;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 8px;
  }

  .li-logo-wrapper > div,
  .li-user-actions,
  .li-header-avatar,
  .li-user-name,
  .li-logout-form {
    display: none;
  }

  .li-user {
    flex: 1 1 auto;
    width: auto;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 0;
  }

  .li-header-search {
    width: 100%;
    justify-content: flex-start;
    order: 0;
    flex-wrap: nowrap;
    gap: 6px;
  }

  .li-header-search-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .li-header-search input {
    display: none;
  }

  .li-header-search.is-mobile-open input {
    display: block;
  }

  .li-header-search input {
    min-width: 0;
    flex: 1 1 auto;
    max-width: none;
    width: 100%;
    height: 36px;
  }

  .li-back-arrow {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .li-wrapper {
    min-height: calc(100vh - 58px);
  }

  .li-layout,
  .li-profile-layout,
  .landing-wrapper {
    padding-left: 12px;
    padding-right: 12px;
  }

  .li-login-wrapper {
    padding: 20px 12px 28px;
  }

  .li-login-shell {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .li-login-panel {
    padding: 22px 16px;
  }

  .li-login-ad {
    padding: 20px 16px;
  }

  .li-login-title {
    font-size: clamp(1.5rem, 7.4vw, 2.05rem);
  }

  .li-login-ad-title {
    font-size: clamp(1.4rem, 7.2vw, 1.95rem);
  }

  .li-login-kpi-grid {
    grid-template-columns: 1fr;
  }

  .li-onboarding-layout {
    padding: 16px 12px 32px;
  }

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

  .li-onboarding-grid {
    grid-template-columns: 1fr;
  }

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

  .portal-graph-grid {
    grid-template-columns: 1fr;
  }

  .portal-bars {
    height: 150px;
    gap: 4px;
  }

  .li-profile-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .li-cv-preview-section .li-section-header {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .li-cv-preview-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .li-cv-preview-card {
    padding: 7px;
  }

  .li-cv-preview-frame {
    width: min(100%, 150px);
  }

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

  .li-app-options-grid {
    grid-template-columns: 1fr;
  }

  .li-pref-display-grid {
    grid-template-columns: 1fr;
  }

  .li-profile-kv-grid {
    grid-template-columns: 1fr;
  }

  .row {
    flex-direction: column;
  }

  .li-compact-pref-row {
    flex-direction: row;
  }

  .li-compact-pref-row input {
    width: min(260px, 68vw);
  }

  .li-job-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .li-job-item-top {
    grid-template-columns: 1fr;
  }

  .li-job-item-top-right {
    width: 100%;
    justify-content: flex-end;
  }

  .li-job-preview {
    margin-left: 0;
  }

  .li-job-detail-row {
    grid-template-columns: 94px minmax(0, 1fr);
  }

  .li-company-header-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .li-company-kpi-row {
    width: auto;
  }

  .li-company-header-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .li-company-context-panel {
    right: auto;
    left: 0;
  }

  .li-company-role-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .li-company-role-top .li-actions {
    width: 100%;
  }
}
