:root {
  --bg: #0b1324;
  --panel: rgba(255, 255, 255, 0.92);
  --panel-dark: linear-gradient(145deg, #0e1c33, #123253 72%, #1e4570);
  --panel-stroke: rgba(255, 255, 255, 0.08);
  --ink: #101828;
  --muted: #5d6881;
  --muted-light: rgba(235, 242, 250, 0.78);
  --light-ink: #f8fbff;
  --brand: #75b6ff;
  --brand-strong: #2f7eea;
  --accent: #f1b466;
  --surface: rgba(255, 255, 255, 0.7);
  --line: rgba(15, 23, 42, 0.08);
  --line-strong: rgba(15, 23, 42, 0.16);
  --success: #0e8767;
  --warning: #a35f12;
  --danger: #b84b42;
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --shadow: 0 22px 72px rgba(3, 10, 24, 0.18);
  --shell: min(1240px, calc(100vw - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at 15% 10%, rgba(117, 182, 255, 0.16), transparent 24%),
    radial-gradient(circle at 85% 20%, rgba(241, 180, 102, 0.14), transparent 26%),
    linear-gradient(180deg, #09111e, #0d1730 22%, #eef3f8 22%, #f6f8fb 100%);
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.page-shell {
  position: relative;
  overflow: clip;
}

.line-block {
  display: block;
}

.ambient {
  position: fixed;
  width: 38rem;
  height: 38rem;
  border-radius: 999px;
  filter: blur(100px);
  opacity: 0.18;
  pointer-events: none;
}

.ambient-a {
  top: -12rem;
  left: -14rem;
  background: #2d7ce7;
}

.ambient-b {
  right: -12rem;
  bottom: 8rem;
  background: #f1b466;
}

.shell {
  width: var(--shell);
  margin: 0 auto;
}

.main-stack {
  display: grid;
  gap: 18px;
  padding-bottom: 48px;
}

.panel {
  border-radius: var(--radius-xl);
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.panel-dark {
  background: var(--panel-dark);
  border: 1px solid var(--panel-stroke);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0 18px;
}

.topbar-premium {
  position: sticky;
  top: 0;
  z-index: 30;
  padding-top: 18px;
  padding-bottom: 18px;
  background: linear-gradient(180deg, rgba(9, 17, 30, 0.92), rgba(9, 17, 30, 0.32) 78%, transparent);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: white;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent), var(--brand-strong));
  box-shadow: 0 16px 32px rgba(22, 67, 125, 0.32);
  font-family: "Fraunces", serif;
  font-size: 1.25rem;
  font-weight: 700;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-copy strong {
  font-size: 1.08rem;
  font-weight: 800;
}

.brand-copy small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

body[data-lang="en"] .topbar-actions {
  gap: 10px;
}

body[data-lang="en"] .topbar-status-pill {
  max-width: 16rem;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar-status {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.topbar-status-pill {
  min-height: 48px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  white-space: nowrap;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  gap: 18px;
  align-items: stretch;
}

.hero-copy,
.tracker-switcher,
.controls,
.results,
.membership-cta {
  padding: 28px;
}

.membership-cta {
  background:
    radial-gradient(circle at top right, rgba(117, 182, 255, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(11, 22, 40, 0.96), rgba(18, 35, 60, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
  color: var(--light-ink);
}

.hero-showcase {
  padding: 22px;
  background:
    radial-gradient(circle at top right, rgba(117, 182, 255, 0.18), transparent 35%),
    rgba(255, 255, 255, 0.96);
}

.hero-showcase-window {
  display: grid;
  gap: 16px;
  height: 100%;
}

.hero-showcase-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

body[data-lang="en"] .hero-showcase-top {
  display: grid;
  grid-template-columns: 1fr;
}

.hero-showcase-top > div {
  min-width: 0;
  flex: 1;
}

.preview-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  color: #243447;
  font-size: 0.86rem;
  font-weight: 800;
  white-space: nowrap;
  border: 1px solid rgba(15, 23, 42, 0.05);
  flex: 0 0 auto;
  margin-left: auto;
}

body[data-lang="en"] .preview-link {
  margin-left: 0;
  justify-self: start;
}

.hero-showcase h2 {
  margin: 0;
  font-family: "Fraunces", serif;
  max-width: none;
  font-size: 1.58rem;
  line-height: 1.18;
  letter-spacing: -0.04em;
}

body[data-lang="en"] .hero-showcase h2 {
  font-size: 1.42rem;
  line-height: 1.2;
}

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

body[data-lang="en"] .hero-showcase-grid {
  gap: 8px;
}

.preview-metric,
.preview-list-item,
.showcase-line,
.alert-card {
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: rgba(248, 250, 252, 0.92);
}

.preview-metric {
  padding: 16px;
}

.preview-metric small,
.preview-list-item p {
  color: var(--muted);
}

.preview-metric strong {
  display: block;
  margin-top: 10px;
  font-size: 1.08rem;
  letter-spacing: -0.03em;
}

.showcase-summary {
  margin: 0;
  color: #334155;
  line-height: 1.72;
}

.showcase-lines,
.alert-stream {
  display: grid;
  gap: 10px;
}

.showcase-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
}

body[data-lang="en"] .showcase-line {
  align-items: start;
}

.showcase-line span,
.alert-card p,
.alert-card time {
  color: var(--muted);
}

.showcase-line span {
  font-size: 0.84rem;
  font-weight: 700;
}

.showcase-line strong,
.alert-card strong {
  font-size: 0.97rem;
  line-height: 1.5;
}

.showcase-line strong {
  text-align: right;
}

body[data-lang="en"] .showcase-line strong {
  max-width: 20ch;
  text-align: left;
}

.alert-card {
  padding: 16px;
}

.alert-card-empty p {
  margin: 10px 0 0;
}

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

.preview-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.preview-list-item {
  padding: 16px;
}

.preview-list-item p {
  margin: 10px 0 0;
  line-height: 1.6;
}

.preview-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(47, 126, 234, 0.12);
  color: var(--brand-strong);
  font-size: 0.78rem;
  font-weight: 800;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand-strong);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: rgba(255, 255, 255, 0.78);
}

.hero h1,
.section-head h2,
.membership-card h3,
.modal-panel h2,
.empty-state h3 {
  margin: 0;
  font-family: "Fraunces", serif;
  letter-spacing: -0.04em;
}

.hero h1 {
  max-width: 13ch;
  font-size: clamp(2.2rem, 3.4vw, 3.2rem);
  line-height: 1.08;
  text-wrap: balance;
}

body[data-lang="en"] .hero h1 {
  max-width: 13ch;
  font-size: clamp(1.88rem, 2.5vw, 2.56rem);
  line-height: 1.12;
}

.hero h1 .line-block,
.hero-showcase h2 .line-block,
.dashboard-hero-main h1 .line-block,
.membership-cta h2 .line-block {
  white-space: nowrap;
}

.hero-showcase h2,
.dashboard-hero-main h1,
.membership-cta h2,
.section-head h2 {
  text-wrap: balance;
}

.hero-text,
.signal-card p,
.section-note,
.field span,
.state-banner,
.job-subline,
.job-notes,
.metric-label,
.membership-card p,
.modal-copy,
.form-feedback,
.plan-points,
.empty-state p {
  color: var(--muted);
}

.hero-text {
  max-width: 29em;
  margin: 18px 0 0;
  color: var(--muted-light);
  font-size: 1rem;
  line-height: 1.72;
}

body[data-lang="en"] .hero-text {
  max-width: 30em;
}

.hero-text-light {
  color: rgba(236, 243, 251, 0.78);
}

.membership-cta .eyebrow,
.membership-cta h2 {
  color: var(--light-ink);
}

.membership-cta-copy {
  max-width: 52ch;
  margin: 12px 0 0;
  color: rgba(236, 243, 251, 0.82);
  line-height: 1.72;
}

.membership-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
  cursor: pointer;
}

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

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

.button-primary {
  background: linear-gradient(135deg, #f3be76, #f0a959);
  color: #102138;
  box-shadow: 0 18px 36px rgba(243, 184, 110, 0.28);
}

.button-secondary,
.button-ghost,
.button-ghost-light {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.button-ghost-light {
  background: rgba(255, 255, 255, 0.04);
}

.nav-pill {
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: white;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  white-space: nowrap;
  max-width: 19rem;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-pill-strong {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
}

.full-width {
  width: 100%;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0 0;
}

.hero-stats div,
.summary-card,
.tracker-card,
.job-card,
.membership-card {
  border-radius: var(--radius-lg);
}

.hero-stats div {
  padding: 15px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stats dt,
.summary-card dt {
  margin-bottom: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-stats dt {
  color: rgba(255, 255, 255, 0.64);
}

.hero-stats dd {
  margin: 0;
  color: white;
  font-size: 1rem;
  font-weight: 800;
}

.signal-kicker {
  margin: 0 0 10px;
  color: var(--brand-strong);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}

.section-head h2 {
  font-size: clamp(1.45rem, 2.8vw, 2.05rem);
}

.section-note {
  max-width: 36ch;
  margin: 0;
  text-align: left;
  line-height: 1.55;
  text-wrap: pretty;
}

.compact-head {
  flex-direction: column;
  align-items: start;
  gap: 10px;
}

.compact-head h2 {
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
}

.compact-head .section-note {
  max-width: 48ch;
}

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

.tracker-card,
.tab-chip,
.summary-card,
.membership-card {
  background: var(--surface);
  border: 1px solid var(--line);
}

.tracker-card h3 {
  line-height: 1.16;
}

.tracker-card,
.tab-chip {
  padding: 18px 18px;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
  cursor: pointer;
}

.tracker-card:hover,
.tab-chip:hover,
.job-card:hover,
.membership-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 36px rgba(10, 18, 32, 0.08);
}

.tracker-card.active,
.tab-chip.active {
  background: linear-gradient(180deg, rgba(47, 126, 234, 0.12), rgba(117, 182, 255, 0.06));
  border-color: rgba(47, 126, 234, 0.26);
}

.tracker-card h3,
.job-title,
.company-name,
.membership-card h3 {
  margin: 0;
}

.tracker-card p,
.tracker-card small {
  margin: 10px 0 0;
  color: var(--muted);
}

.tab-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tab-chip {
  border-radius: 999px;
  font-weight: 700;
  background: rgba(248, 250, 252, 0.94);
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-search {
  grid-column: span 4;
}

.field span {
  font-size: 0.84rem;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  min-height: 56px;
  width: 100%;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  outline: none;
  line-height: 1.1;
}

.field input,
.field select {
  height: 56px;
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #64748b 50%),
    linear-gradient(135deg, #64748b 50%, transparent 50%);
  background-position:
    calc(100% - 22px) calc(50% - 3px),
    calc(100% - 16px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 42px;
}

.field textarea {
  min-height: 120px;
  padding-top: 12px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(47, 126, 234, 0.34);
  box-shadow: 0 0 0 4px rgba(47, 126, 234, 0.08);
}

.controls .field:not(.field-search) {
  grid-column: span 2;
}

.checkbox-field {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.checkbox-field input {
  width: 18px;
  min-height: 18px;
  height: 18px;
  margin-top: 0;
  margin-left: 0;
  padding: 0;
}

.checkbox-field span {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.55;
}

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

.summary-card {
  padding: 18px;
}

.summary-card dt {
  color: var(--muted);
}

.summary-card dd {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.results-grid {
  display: grid;
  gap: 14px;
}

.job-card {
  padding: 22px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--line);
  box-shadow: 0 14px 40px rgba(12, 20, 33, 0.06);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.job-shell {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.job-main {
  display: flex;
  align-items: start;
  gap: 16px;
  min-width: 0;
}

.company-mark {
  position: relative;
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, #dce9fb, #f8d8b1);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.company-mark span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #133457;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.company-mark img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: white;
}

.job-copy {
  min-width: 0;
  flex: 1;
}

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

.company-name {
  font-size: 0.96rem;
  font-weight: 800;
}

.job-title {
  margin-top: 8px;
  font-size: 1.22rem;
  line-height: 1.36;
  letter-spacing: -0.02em;
}

.job-subline {
  margin: 8px 0 0;
  font-size: 0.92rem;
}

.state-pill,
.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  white-space: nowrap;
}

.state-pill.open {
  color: var(--success);
  background: rgba(14, 135, 103, 0.12);
}

.state-pill.recent {
  color: var(--brand-strong);
  background: rgba(47, 126, 234, 0.12);
}

.state-pill.upcoming {
  color: var(--warning);
  background: rgba(241, 180, 102, 0.2);
}

.state-pill.closed {
  color: var(--danger);
  background: rgba(184, 75, 66, 0.14);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.chip {
  background: rgba(15, 23, 42, 0.05);
  border: 1px solid rgba(15, 23, 42, 0.05);
  color: #334155;
}

.apply-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 122px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #11223a, #17487b);
  color: white;
  font-weight: 800;
  box-shadow: 0 16px 28px rgba(16, 33, 56, 0.16);
}

.job-actions {
  display: grid;
  gap: 10px;
  flex: 0 0 auto;
}

.job-action-row,
.job-watch-row {
  display: flex;
  gap: 10px;
}

.save-toggle {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.92);
  color: #243447;
  font-weight: 800;
  cursor: pointer;
}

.save-toggle.active {
  border-color: rgba(47, 126, 234, 0.25);
  background: rgba(47, 126, 234, 0.12);
  color: var(--brand-strong);
}

.watch-toggle {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(15, 23, 42, 0.04);
  color: #334155;
  font-weight: 800;
  cursor: pointer;
}

.watch-toggle.active {
  border-color: rgba(47, 126, 234, 0.22);
  background: rgba(47, 126, 234, 0.12);
  color: var(--brand-strong);
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.metric {
  min-height: 84px;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 16px;
}

.metric-label {
  margin: 0 0 8px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.metric-value {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.55;
  color: #223047;
}

.job-notes {
  margin: 14px 0 0;
  line-height: 1.75;
}

.job-footnote {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.state-banner {
  padding: 14px 16px;
  margin-bottom: 16px;
  border-radius: 16px;
  border: 1px dashed var(--line-strong);
  background: rgba(248, 250, 252, 0.94);
  line-height: 1.6;
}

.state-banner.error {
  color: var(--danger);
  border-color: rgba(184, 75, 66, 0.3);
  background: rgba(184, 75, 66, 0.06);
}

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

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

.membership-card {
  padding: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 247, 251, 0.96));
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 40px rgba(8, 18, 34, 0.08);
}

.membership-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(47, 126, 234, 0.12);
  color: var(--brand-strong);
  font-size: 0.86rem;
  font-weight: 800;
}

.membership-card h3 {
  margin-top: 18px;
  font-size: 1.48rem;
  line-height: 1.1;
}

.membership-card p {
  margin: 12px 0 0;
  min-height: 84px;
  line-height: 1.68;
}

.plan-card {
  display: flex;
  flex-direction: column;
  align-items: start;
}

.featured-plan {
  background:
    radial-gradient(circle at top right, rgba(117, 182, 255, 0.24), transparent 34%),
    linear-gradient(180deg, rgba(47, 126, 234, 0.12), rgba(255, 255, 255, 0.96));
  border-color: rgba(47, 126, 234, 0.22);
  box-shadow: 0 22px 44px rgba(29, 84, 160, 0.12);
}

.plan-points {
  margin: 16px 0 0;
  padding-left: 18px;
  line-height: 1.82;
}

.plan-button {
  margin-top: auto;
}

.modal-shell {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal-shell[hidden] {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 12, 23, 0.55);
  backdrop-filter: blur(8px);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(520px, calc(100vw - 24px));
  padding: 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 28px 90px rgba(6, 12, 24, 0.28);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  color: #344054;
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-copy {
  margin: 12px 0 0;
  color: #4c5a73;
  line-height: 1.75;
}

.membership-modal-panel {
  width: min(1020px, calc(100vw - 24px));
}

.membership-grid-modal {
  margin-top: 22px;
}

.membership-grid-single {
  grid-template-columns: 1fr;
  max-width: 440px;
}

.auth-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 20px 0 18px;
  padding: 6px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.05);
}

.auth-tab {
  min-height: 42px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #475467;
  font-weight: 800;
  cursor: pointer;
}

.auth-tab.active {
  background: white;
  color: #101828;
  box-shadow: 0 8px 20px rgba(10, 18, 32, 0.06);
}

.auth-form {
  display: grid;
  gap: 12px;
}

.form-feedback {
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(47, 126, 234, 0.08);
  color: var(--brand-strong);
  line-height: 1.6;
}

.form-feedback.error {
  background: rgba(184, 75, 66, 0.08);
  color: var(--danger);
}

.checkout-plan {
  margin: 18px 0;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.checkout-plan strong {
  display: block;
  font-size: 1.06rem;
}

.checkout-plan span,
.checkout-plan p,
.checkout-plan small {
  display: block;
  margin-top: 6px;
  color: #516076;
}

.dashboard-panel {
  width: min(760px, calc(100vw - 24px));
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.dashboard-card,
.dashboard-favorites,
.saved-role {
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: rgba(248, 250, 252, 0.94);
}

.dashboard-card {
  padding: 18px;
}

.dashboard-card small,
.dashboard-section-head span,
.saved-role span {
  color: var(--muted);
}

.dashboard-card strong,
.dashboard-section-head strong,
.saved-role strong {
  display: block;
}

.dashboard-card strong {
  margin-top: 12px;
  font-size: 1.15rem;
}

.dashboard-card p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.dashboard-favorites {
  margin-top: 18px;
  padding: 18px;
}

.dashboard-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.dashboard-favorites-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.saved-role {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 249, 252, 0.98));
  box-shadow: 0 10px 24px rgba(12, 20, 33, 0.05);
}

.saved-role p,
.saved-role strong,
.saved-role span {
  margin: 0;
}

.saved-role strong {
  margin-top: 4px;
  font-size: 1.08rem;
  line-height: 1.42;
}

.saved-role span {
  display: block;
  margin-top: 8px;
  font-size: 0.84rem;
  line-height: 1.5;
}

.saved-role-actions {
  display: grid;
  gap: 8px;
  justify-items: end;
}

.saved-role-actions a,
.saved-role-actions button {
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: white;
  color: #243447;
  font-weight: 800;
  cursor: pointer;
}

.dashboard-empty {
  padding: 18px;
  border-radius: 18px;
  border: 1px dashed rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.98);
}

.dashboard-empty p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.dashboard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.dashboard-actions .button:not(.button-primary) {
  border-color: rgba(15, 23, 42, 0.08);
  background: rgba(15, 23, 42, 0.04);
  color: #243447;
}

.dashboard-hero-updated .dashboard-actions .button:not(.button-primary) {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: white;
}

.dashboard-page {
  min-height: 100vh;
  padding-bottom: 48px;
}

.dashboard-shell {
  display: grid;
  gap: 18px;
}

.dashboard-section {
  padding: 24px;
}

.dashboard-section-main {
  min-height: 100%;
}

.dashboard-hero-updated {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 18px;
  padding: 24px 26px;
  align-items: start;
}

.dashboard-hero-main h1,
.dashboard-section h2 {
  margin: 0;
  font-family: "Fraunces", serif;
  letter-spacing: -0.04em;
}

.dashboard-hero-main h1 {
  max-width: 13ch;
  margin-top: 10px;
  font-size: clamp(1.9rem, 2.5vw, 2.45rem);
  line-height: 1.12;
  color: var(--light-ink);
}

body[data-lang="en"] .dashboard-hero-main h1 {
  max-width: 15ch;
  font-size: clamp(1.64rem, 1.9vw, 2rem);
  line-height: 1.16;
}

.dashboard-hero-main,
.dashboard-hero-side {
  min-width: 0;
}

.dashboard-hero-main p,
.dashboard-kpi p,
.dashboard-section p {
  color: var(--muted);
  line-height: 1.75;
}

.dashboard-hero-main .hero-text {
  max-width: 42em;
  color: rgba(236, 243, 251, 0.82);
}

body[data-lang="en"] .dashboard-hero-main .hero-text {
  max-width: 36em;
}

.dashboard-hero-side {
  display: grid;
}

.dashboard-kpi-grid,
.dashboard-quick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.dashboard-kpi-grid-compact {
  grid-template-columns: 1fr;
}

.dashboard-kpi,
.dashboard-quick-card {
  padding: 20px;
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: rgba(248, 250, 252, 0.92);
}

.dashboard-kpi strong,
.dashboard-quick-card strong {
  display: block;
  margin-top: 10px;
  font-size: 1.24rem;
}

.dashboard-kpi-dark {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.08);
}

.dashboard-kpi-dark strong,
.dashboard-kpi-dark p {
  color: white;
}

.dashboard-kpi-dark p {
  color: rgba(236, 243, 251, 0.82);
}

.dashboard-kpi-dark .eyebrow {
  color: rgba(236, 243, 251, 0.68);
}

.dashboard-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.favorites-page-list {
  display: grid;
  gap: 12px;
}

.subscriptions-list,
.dashboard-alert-list {
  display: grid;
  gap: 12px;
}

.dashboard-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.88fr);
  gap: 18px;
  align-items: start;
}

.dashboard-sidebar {
  display: grid;
  gap: 18px;
}

.dashboard-sidebar-panel {
  height: fit-content;
}

.dashboard-quick-grid-stack {
  grid-template-columns: 1fr;
}

.dashboard-soft-button {
  border-color: rgba(15, 23, 42, 0.08);
  background: rgba(15, 23, 42, 0.05);
  color: #223047;
}

.dashboard-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.dashboard-inline-actions-left {
  justify-content: flex-start;
}

.notification-form {
  display: grid;
  gap: 12px;
}

.dashboard-form-note {
  margin: 0;
  color: #526179;
  line-height: 1.72;
}

.subscription-item,
.alert-item {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: rgba(248, 250, 252, 0.94);
}

.subscription-item {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}

.subscription-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(47, 126, 234, 0.12);
  color: var(--brand-strong);
  font-size: 0.76rem;
  font-weight: 800;
}

.subscription-item strong,
.alert-item strong {
  display: block;
  margin-top: 10px;
  font-size: 1.06rem;
  line-height: 1.45;
}

.subscription-item p,
.alert-item p,
.subscription-meta small,
.alert-item time {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.62;
}

.subscription-meta {
  display: grid;
  gap: 10px;
  justify-items: end;
}

.subscription-meta button {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: white;
  color: #243447;
  font-weight: 800;
  cursor: pointer;
}

.alert-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.empty-state {
  padding: 30px 22px;
  text-align: center;
  border-radius: var(--radius-lg);
  border: 1px dashed var(--line-strong);
  background: rgba(248, 250, 252, 0.86);
}

.empty-state p {
  margin: 10px 0 0;
  line-height: 1.7;
}

.skeleton-card {
  pointer-events: none;
}

.skeleton {
  position: relative;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
}

.skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
  animation: shimmer 1.5s infinite;
}

.line {
  height: 14px;
}

.line.short {
  width: 34%;
}

.line.medium {
  width: 70%;
}

.avatar {
  width: 64px;
  height: 64px;
  border-radius: 20px;
}

.action {
  width: 122px;
  height: 46px;
}

.metric-box {
  height: 84px;
  border-radius: 16px;
}

@keyframes shimmer {
  100% {
    transform: translateX(100%);
  }
}

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

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

  .controls .control-grid,
  .summary-grid,
  .membership-grid,
  .dashboard-grid,
  .dashboard-kpi-grid,
  .dashboard-quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .dashboard-content-grid {
    grid-template-columns: 1fr;
  }

  .field-search {
    grid-column: span 6;
  }

  .controls .field:not(.field-search) {
    grid-column: span 3;
  }

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

@media (max-width: 760px) {
  .topbar,
  .topbar-actions,
  .section-head,
  .job-shell,
  .job-headline,
  .dashboard-section-head,
  .saved-role,
  .hero-showcase-top,
  .membership-cta,
  .showcase-line,
  .subscription-item {
    flex-direction: column;
    align-items: start;
  }

  .hero-copy,
  .tracker-switcher,
  .controls,
  .results,
  .membership-cta,
  .modal-panel,
  .dashboard-hero-updated,
  .dashboard-section {
    padding: 22px;
  }

  .hero-stats,
  .controls .control-grid,
  .summary-grid,
  .membership-grid,
  .metric-strip,
  .dashboard-grid,
  .dashboard-kpi-grid,
  .dashboard-quick-grid,
  .hero-showcase-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 .line-block,
  .hero-showcase h2 .line-block,
  .dashboard-hero-main h1 .line-block,
  .membership-cta h2 .line-block {
    white-space: normal;
  }

  .field-search,
  .controls .field:not(.field-search) {
    grid-column: span 12;
  }

  .section-note {
    text-align: left;
  }

  .job-main {
    width: 100%;
  }

  .apply-link,
  .plan-button,
  .save-toggle,
  .watch-toggle,
  .dashboard-actions .button {
    width: 100%;
  }

  .job-action-row,
  .job-watch-row,
  .dashboard-inline-actions,
  .membership-cta-actions,
  .saved-role-actions {
    width: 100%;
    justify-items: start;
  }

  .subscription-meta {
    width: 100%;
    justify-items: start;
  }

  .showcase-line strong {
    text-align: left;
  }

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