/* Remove bottom margin from archive date in archive browser box */
.trs-recruiter-app .text-sm.font-semibold.text-slate-900 {
  margin-bottom: 0 !important;
}
.tsr-admin-page {
  max-width: none;
}

.tsr-portal-auth-shell {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: clamp(0.75rem, 2vw, 1.5rem);
  background: radial-gradient(circle at 0% 0%, rgba(15, 118, 110, 0.08), transparent 46%), radial-gradient(circle at 100% 100%, rgba(185, 107, 42, 0.1), transparent 45%), #f8f4ed;
}

.tsr-portal-auth-layout {
  width: min(1200px, 100%);
  min-height: min(760px, calc(100vh - 3rem));
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(1rem, 2vw, 1.5rem);
  padding: clamp(0.75rem, 1.2vw, 1rem);
}

.tsr-portal-auth-story {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(21, 29, 31, 0.08);
  border-radius: 30px;
  padding: clamp(2rem, 4vw, 3rem);
  background: linear-gradient(142deg, rgba(248, 244, 237, 0.94), rgba(236, 227, 215, 0.92));
}

.tsr-portal-auth-story-mark {
  position: absolute;
  top: clamp(2rem, 4vw, 3.5rem);
  left: clamp(2rem, 4vw, 4rem);
  display: grid;
  gap: 0.55rem;
}

.tsr-portal-auth-story-copyblock {
  display: grid;
  gap: 1rem;
  max-width: min(32rem, 62%);
  margin-top: clamp(3.5rem, 7vh, 5.5rem);
}

.tsr-portal-auth-story-eyebrow {
  margin: 0 !important;
  margin-bottom: 0 !important;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #0f766e;
}

.tsr-portal-auth-story-kicker,
.tsr-portal-auth-kicker {
  margin: 0 !important;
  margin-bottom: 0 !important;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.tsr-portal-auth-story-kicker {
  color: rgba(21, 29, 31, 0.72);
}

.tsr-portal-auth-story h1 {
  margin: 0;
  max-width: 11ch;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.55rem, 4.8vw, 4.3rem);
  line-height: 0.94;
  letter-spacing: -0.065em;
  color: #151d1f;
}

.tsr-portal-auth-story-copy {
  margin: 0;
  max-width: 31rem;
  font-size: 1rem;
  line-height: 1.72;
  color: rgba(21, 29, 31, 0.68);
}

.tsr-portal-auth-story-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 0.3rem;
}

.tsr-portal-auth-story-points > div {
  border: 1px solid rgba(21, 29, 31, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.42);
  padding: 0.95rem 1rem;
  backdrop-filter: blur(8px);
}

.tsr-portal-auth-story-points span {
  display: inline-block;
  margin-bottom: 0.45rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #151d1f;
}

.tsr-portal-auth-story-points p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(21, 29, 31, 0.62);
}

.tsr-portal-auth-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: clamp(2rem, 4vw, 3rem);
  border: 1px solid rgba(21, 29, 31, 0.08);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.9), rgba(255, 252, 246, 0.98));
  box-shadow: 0 18px 36px rgba(21, 29, 31, 0.08);
  font-family: "Manrope", sans-serif;
  color: #151d1f;
}

.tsr-portal-auth-kicker {
  color: #64748b;
}

.tsr-portal-auth-card h2 {
  margin: 0 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 3.2vw, 2.85rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  color: #151d1f;
}

.tsr-portal-auth-story-eyebrow + h1,
.tsr-portal-auth-kicker + h2 {
  margin-top: 0;
}

.tsr-portal-auth-copy {
  margin: 0.9rem 0 0;
  max-width: 26rem;
  font-size: 0.96rem;
  line-height: 1.65;
  color: #475569;
}

.tsr-portal-auth-switch {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
  width: 100%;
  margin-top: 1.25rem;
}

.tsr-portal-auth-switch-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  border: 1px solid rgba(148, 163, 184, 0.26);
  border-radius: 14px;
  background: rgba(248, 250, 252, 0.9);
  color: #334155;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
}

.tsr-portal-auth-switch-link.is-active {
  border-color: rgba(15, 118, 110, 0.3);
  background: rgba(15, 118, 110, 0.08);
  color: #0f766e;
}

.tsr-portal-auth-alert {
  margin-top: 1rem;
  border-radius: 16px;
  padding: 0.9rem 1rem;
  font-size: 0.92rem;
  line-height: 1.55;
}

.tsr-portal-auth-alert-error {
  border: 1px solid rgba(220, 38, 38, 0.18);
  background: rgba(254, 242, 242, 0.95);
  color: #991b1b;
}

.tsr-portal-auth-alert-success {
  border: 1px solid rgba(5, 150, 105, 0.18);
  background: rgba(236, 253, 245, 0.95);
  color: #065f46;
}

.tsr-portal-auth-form {
  margin-top: 1.5rem;
}

.tsr-portal-auth-form p {
  margin: 0;
}

.tsr-portal-auth-form p + p {
  margin-top: 0.95rem;
}

.tsr-portal-auth-form label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #64748b;
}

.tsr-portal-auth-form input[type="text"],
.tsr-portal-auth-form input[type="email"],
.tsr-portal-auth-form input[type="password"] {
  width: 100%;
  min-height: 3.45rem;
  border: 1px solid rgba(148, 163, 184, 0.26);
  border-radius: 16px;
  background: rgba(248, 250, 252, 0.9);
  padding: 0.95rem 1rem;
  font-size: 0.98rem;
  line-height: 1.4;
  color: #151d1f;
  box-sizing: border-box;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.tsr-portal-auth-form input[type="text"]:focus,
.tsr-portal-auth-form input[type="email"]:focus,
.tsr-portal-auth-form input[type="password"]:focus {
  outline: none;
  border-color: rgba(15, 118, 110, 0.45);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.1);
}

.tsr-portal-auth-form .login-remember {
  margin: 1rem 0 0;
}

.tsr-portal-auth-form .login-remember.login-remember-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.tsr-portal-auth-form .login-remember label {
  display: inline-flex;
  gap: 0.55rem;
  align-items: center;
  margin-bottom: 0;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: normal;
  text-transform: none;
  color: #334155;
}

.tsr-portal-auth-form .login-remember input {
  width: 1rem;
  height: 1rem;
  accent-color: #0f766e;
}

.tsr-portal-auth-inline-link {
  flex-shrink: 0;
  white-space: nowrap;
}

.tsr-portal-auth-form .button,
.tsr-portal-auth-form input[type="submit"] {
  width: 100%;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(145deg, #151d1f 0%, #20302d 100%);
  color: #ffffff;
  padding: 0.98rem 1.15rem;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: 0 12px 22px rgba(21, 29, 31, 0.14);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.tsr-portal-auth-form .button:hover,
.tsr-portal-auth-form input[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 24px rgba(21, 29, 31, 0.18);
}

.tsr-portal-auth-form .button:focus-visible,
.tsr-portal-auth-form input[type="submit"]:focus-visible {
  outline: 3px solid rgba(15, 118, 110, 0.22);
  outline-offset: 3px;
}

.tsr-portal-auth-form .login-submit {
  margin: 1.2rem 0 0;
}

.tsr-portal-auth-note {
  margin: 1rem 0 0;
  font-size: 0.83rem;
  line-height: 1.5;
  color: #64748b;
}

.tsr-portal-auth-actions {
  margin-top: 1rem;
  min-height: 1.2rem;
}

.tsr-portal-auth-link-button,
.tsr-portal-auth-actions a {
  border: 0;
  background: transparent;
  padding: 0;
  color: #0f766e;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
}

.tsr-portal-auth-link-button:hover,
.tsr-portal-auth-link-button:focus-visible,
.tsr-portal-auth-actions a:hover,
.tsr-portal-auth-actions a:focus-visible {
  text-decoration: underline;
}

.tsr-portal-auth-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.tsr-portal-auth-modal[hidden] {
  display: none;
}

.tsr-portal-auth-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(6px);
}

.tsr-portal-auth-modal-card {
  position: relative;
  z-index: 1;
  width: min(100%, 32rem);
  padding: 2rem;
  border-radius: 26px;
  border: 1px solid rgba(21, 29, 31, 0.08);
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(255, 252, 246, 1));
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.18);
}

.tsr-portal-auth-modal-card h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #151d1f;
}

.tsr-portal-auth-modal-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.95);
  color: #334155;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.tsr-portal-auth-reset-form {
  margin-top: 1.2rem;
}

body.tsr-portal-modal-open {
  overflow: hidden;
}

body.admin-bar .tsr-portal-auth-shell,
body.admin-bar .trs-recruiter-app-host.is-portal-view {
  margin-top: 0 !important;
  top: 0 !important;
}

body.admin-bar #wpadminbar {
  display: none !important;
}

@media (max-width: 960px) {
  .tsr-portal-auth-layout {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
  }

  .tsr-portal-auth-story {
    display: none;
  }

  .tsr-portal-auth-card {
    border-radius: 0;
    box-shadow: none;
    border: 0;
  }
}

@media (max-width: 640px) {
  .tsr-portal-auth-shell {
    height: 100svh;
    min-height: 100svh;
  }

  .tsr-portal-auth-card {
    padding: 1.4rem 1.1rem;
  }

  .tsr-portal-auth-card h2 {
    font-size: 1.9rem;
  }

  .tsr-portal-auth-copy {
    font-size: 0.92rem;
    line-height: 1.58;
  }

  .tsr-portal-auth-note {
    font-size: 0.78rem;
  }
}

@media (max-height: 760px) {
  .tsr-portal-auth-layout {
    gap: 1rem;
    padding: 0.85rem;
  }

  .tsr-portal-auth-story {
    padding: 1.75rem 2rem;
  }

  .tsr-portal-auth-story-mark {
    top: 1.75rem;
    left: 2rem;
  }

  .tsr-portal-auth-story-copyblock {
    max-width: min(28rem, 68%);
    gap: 0.8rem;
    margin-top: 4.5rem;
  }

  .tsr-portal-auth-story h1 {
    font-size: 2.8rem;
  }

  .tsr-portal-auth-story-copy {
    font-size: 0.92rem;
    line-height: 1.58;
  }

  .tsr-portal-auth-story-points {
    gap: 0.7rem;
  }

  .tsr-portal-auth-story-points > div {
    padding: 0.8rem 0.9rem;
  }

  .tsr-portal-auth-card {
    padding: 1.5rem 1.75rem;
  }

  .tsr-portal-auth-card h2 {
    font-size: 1.9rem;
  }

  .tsr-portal-auth-copy {
    margin-top: 0.7rem;
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .tsr-portal-auth-form {
    margin-top: 1.15rem;
  }

  .tsr-portal-auth-form p + p {
    margin-top: 0.75rem;
  }

  .tsr-portal-auth-form input[type="text"],
  .tsr-portal-auth-form input[type="password"] {
    min-height: 3.1rem;
  }

  .tsr-portal-auth-form .login-remember {
    margin-top: 0.8rem;
  }

  .tsr-portal-auth-form .login-submit {
    margin-top: 1rem;
  }

  .tsr-portal-auth-note {
    display: none;
  }
}

  .trs-recruiter-app-host {
    position: relative;
    display: block;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

  .trs-guide-tour {
    position: fixed;
    inset: 0;
    z-index: 140;
  }
  .trs-guide-tour[hidden] {
    display: none;
  }
  .trs-guide-tour-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(15, 23, 42, 0.06);
  }
  .trs-guide-tour-card {
    position: relative;
    z-index: 2;
    width: min(420px, calc(100vw - 1.25rem));
    margin: 1rem 1rem 0 auto;
    border: 1px solid rgba(226, 232, 240, 0.92);
    border-radius: 24px;
    background: rgba(255, 252, 247, 0.98);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
    padding: 1rem;
  }
  .trs-guide-tour-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
  }
  .trs-guide-tour-eyebrow {
    margin: 0;
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #64748b;
  }
  .trs-guide-tour-title {
    margin: 0.12rem 0 0;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(1.32rem, 2.4vw, 1.72rem);
    line-height: 1.04;
    letter-spacing: -0.04em;
    color: #0f172a;
  }
  .trs-guide-tour-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 9999px;
    background: #fff;
    color: #475569;
  }
  .trs-guide-tour-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.8rem;
  }
  .trs-guide-tour-step,
  .trs-guide-tour-page {
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    padding: 0.38rem 0.8rem;
    font-size: 0.76rem;
    font-weight: 700;
  }
  .trs-guide-tour-step {
    background: #0f172a;
    color: #fff;
  }
  .trs-guide-tour-page {
    background: #e2e8f0;
    color: #334155;
  }
  .trs-guide-tour-copy {
    margin: 0.75rem 0 0;
    font-size: 0.94rem;
    line-height: 1.62;
    color: #475569;
  }
  .trs-guide-tour-target {
    margin: 0.75rem 0 0;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #0f172a;
  }
  .trs-guide-tour-note {
    margin: 0.55rem 0 0;
    font-size: 0.84rem;
    line-height: 1.55;
    color: #64748b;
  }
  .trs-guide-tour-progress {
    width: 100%;
    height: 0.45rem;
    margin-top: 1rem;
    overflow: hidden;
    border-radius: 9999px;
    background: rgba(226, 232, 240, 0.9);
  }
  .trs-guide-tour-progress-bar {
    display: block;
    width: 25%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #0f766e, #0f172a);
    transition: width 180ms ease;
  }
  .trs-guide-tour-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
  }
  .trs-guide-tour-skip {
    font-size: 0.88rem;
    font-weight: 700;
    color: #475569;
    text-decoration: underline;
    text-underline-offset: 0.18rem;
  }
  .trs-guide-tour-buttons {
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }
  .trs-guide-tour-secondary,
  .trs-guide-tour-primary {
    min-height: 2.9rem;
    border-radius: 16px;
    padding: 0.8rem 1.1rem;
    font-size: 0.92rem;
    font-weight: 700;
  }
  .trs-guide-tour-secondary {
    border: 1px solid rgba(203, 213, 225, 0.9);
    background: #fff;
    color: #334155;
  }
  .trs-guide-tour-secondary:disabled {
    opacity: 0.45;
    cursor: not-allowed;
  }
  .trs-guide-tour-primary {
    border: 0;
    background: linear-gradient(135deg, #0f172a, #0f766e);
    color: #fff;
  }
  body.trs-guide-tour-open {
    overflow: hidden;
  }
  .trs-guide-tour-focus-target {
    position: relative;
    z-index: 145;
    outline: 3px solid rgba(15, 118, 110, 0.95);
    outline-offset: 4px;
    box-shadow: 0 0 0 8px rgba(255, 252, 247, 0.92), 0 16px 40px rgba(15, 23, 42, 0.16);
  }
  .trs-sidebar-tour-card {
    justify-content: flex-end;
    margin-top: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    padding-top: 0.32rem !important;
    padding-bottom: 0.32rem !important;
    padding-left: 0.55rem !important;
    padding-right: 0.55rem !important;
    position: relative;
    z-index: 2;
  }
  .trs-sidebar-tour-card a {
    display: inline-flex;
    margin: 0 !important;
  }
  @media (max-width: 640px) {
    .trs-guide-tour-card {
      width: calc(100vw - 0.75rem);
      margin: 0.375rem auto 0;
      padding: 1rem;
    }
    .trs-guide-tour-actions {
      flex-direction: column;
      align-items: stretch;
    }
    .trs-guide-tour-buttons {
      width: 100%;
    }
    .trs-guide-tour-secondary,
    .trs-guide-tour-primary {
      flex: 1 1 0;
    }
  }
  .trs-recruiter-app {
    font-family: "Manrope", sans-serif;
    font-size: 15px;
    line-height: 1.36;
    --trs-leading-display: 1.04;
    --trs-leading-heading: 1.1;
    --trs-leading-body: 1.52;
    --trs-leading-copy: 1.64;
    --trs-leading-label: 1.18;
    --trs-leading-button: 1.24;
    color: #151d1f;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
  text-size-adjust: 100%;
}

.trs-recruiter-app .bg-background {
  background-color: #f5f4ef !important;
}

.trs-recruiter-app .bg-surface {
  background-color: #fffdf8 !important;
  padding-bottom: 0 !important;
}

.trs-recruiter-app .bg-panel {
  background-color: #efe7dc !important;
}

.trs-recruiter-app .bg-primary {
  background-color: #151d1f !important;
}

.trs-recruiter-app .text-primary {
  color: #151d1f !important;
}

.trs-recruiter-app .text-secondary {
  color: #0f766e !important;
}

.trs-recruiter-app .border-secondary {
  border-color: #0f766e !important;
}

.trs-recruiter-app .shadow-ambient {
  box-shadow: 0 10px 24px rgba(21, 29, 31, 0.06), 0 18px 36px rgba(21, 29, 31, 0.05) !important;
}

.trs-recruiter-app .font-headline {
  font-family: "Space Grotesk", sans-serif !important;
}

.trs-recruiter-app .font-body {
  font-family: "Manrope", sans-serif !important;
}

.trs-recruiter-app .font-mono {
  font-family: "JetBrains Mono", monospace !important;
}

.trs-recruiter-app .trs-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.trs-recruiter-app .dashboard-noise {
  min-height: 100vh;
  background-color: #f5f4ef;
  background-image: radial-gradient(circle at top left, rgba(15, 118, 110, 0.08), transparent 30%), radial-gradient(circle at bottom right, rgba(180, 83, 9, 0.08), transparent 26%);
}

.trs-recruiter-app .material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 24;
}

.trs-recruiter-app .primary-gradient-cta {
  background: linear-gradient(145deg, #151d1f 0%, #1f2f2d 100%);
}

.trs-recruiter-app .accent-gradient {
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.14), rgba(180, 83, 9, 0.12));
}

.trs-recruiter-app .floating-shell {
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.92), rgba(255, 253, 248, 0.98));
  backdrop-filter: blur(18px);
}

.trs-recruiter-app .candidate-card,
.trs-recruiter-app .candidate-row {
  cursor: pointer;
}

.trs-recruiter-app .trs-candidate-action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.72rem;
  align-items: stretch;
}

.trs-recruiter-app .trs-candidate-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  min-height: 5rem;
  text-align: left;
  white-space: normal;
  word-break: normal;
  overflow-wrap: anywhere;
  background: rgba(255, 255, 255, 0.9);
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.trs-recruiter-app .trs-candidate-action:hover:not(:disabled) {
  border-color: rgba(15, 23, 42, 0.18);
  background: #ffffff;
  box-shadow: 0 10px 18px rgba(21, 29, 31, 0.06);
}

.trs-recruiter-app .trs-candidate-action-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.25;
  color: #0f172a;
}

.trs-recruiter-app .trs-candidate-action-copy {
  display: block;
  margin-top: 0.32rem;
  font-size: 0.76rem;
  font-weight: 500;
  line-height: 1.45;
  color: #64748b;
}

.trs-recruiter-app .trs-candidate-action:disabled .trs-candidate-action-label,
.trs-recruiter-app .trs-candidate-action:disabled .trs-candidate-action-copy {
  color: #94a3b8;
}

.trs-recruiter-app :where(h1, h2, h3, h4, .font-headline) {
  line-height: var(--trs-leading-heading) !important;
}

.trs-recruiter-app .text-\[11px\],
.trs-recruiter-app .text-\[10px\] {
  margin-bottom: 0 !important;
  margin-block-end: 0 !important;
}

.trs-recruiter-app :where(p, li, label, textarea, table, .text-sm, .text-base, .text-xs) {
  line-height: var(--trs-leading-body) !important;
}

.trs-recruiter-app :where(.text-4xl, .text-3xl, .text-2xl, .text-\[2rem\], .text-\[1\.7rem\]) {
  line-height: var(--trs-leading-display) !important;
}

.trs-recruiter-app :where(.text-\[11px\], .text-\[10px\], .text-xs).uppercase,
.trs-recruiter-app :where(.uppercase.text-\[11px\], .uppercase.text-\[10px\], .uppercase.text-xs) {
  line-height: var(--trs-leading-label) !important;
}

.trs-recruiter-app :where(.text-sm.leading-5, .text-xs.leading-5) {
  line-height: var(--trs-leading-body) !important;
}

.trs-recruiter-app :where(.text-sm.leading-6, .text-xs.leading-6, .text-sm.leading-7) {
  line-height: var(--trs-leading-copy) !important;
}

.trs-recruiter-app button {
  min-height: 42px;
  line-height: var(--trs-leading-button) !important;
}

.trs-recruiter-app button > .block {
  line-height: inherit;
}

.trs-recruiter-app :where(p, span)[class*="uppercase"] + :where(h1, h2, h3, h4) {
  margin-top: 0.3rem !important;
}

.trs-recruiter-app :where(h1, h2, h3, h4) + p {
  margin-top: 0.35rem !important;
}

.trs-recruiter-app .trs-form-grid {
  align-items: start;
}

.trs-recruiter-app .trs-form-grid > label {
  min-width: 0;
}

.trs-recruiter-app label.block > span:first-child {
  display: block;
  line-height: 1.2;
  letter-spacing: 0.12em !important;
  word-break: normal;
  overflow-wrap: normal;
}

.trs-recruiter-app :where(.rounded-\[28px\], .rounded-\[26px\], .rounded-\[24px\]) {
  border-radius: 10px !important;
}

.trs-recruiter-app :where(.rounded-3xl) {
  border-radius: 10px !important;
}

.trs-recruiter-app :where(.rounded-2xl) {
  border-radius: 8px !important;
}

.trs-recruiter-app :where(.space-y-6 > :not([hidden]) ~ :not([hidden])) {
  margin-top: 0.72rem !important;
}

.trs-recruiter-app :where(.space-y-5 > :not([hidden]) ~ :not([hidden])) {
  margin-top: 0.58rem !important;
}

.trs-recruiter-app :where(.space-y-4 > :not([hidden]) ~ :not([hidden])) {
  margin-top: 0.48rem !important;
}

.trs-recruiter-app :where(.space-y-3 > :not([hidden]) ~ :not([hidden])) {
  margin-top: 0.08rem !important;
}

.trs-recruiter-app :where(.space-y-2 > :not([hidden]) ~ :not([hidden])) {
  margin-top: 0.4rem !important;
}

.trs-recruiter-app .grid.gap-6 {
  gap: 0.72rem !important;
}

.trs-recruiter-app .grid.gap-5 {
  gap: 0.58rem !important;
}

.trs-recruiter-app .grid.gap-4 {
  gap: 0.42rem !important;
}

.trs-recruiter-app :where(.gap-6) {
  gap: 0.72rem !important;
}

.trs-recruiter-app :where(.gap-5) {
  gap: 0.58rem !important;
}

.trs-recruiter-app :where(.gap-4) {
  gap: 0.42rem !important;
}

.trs-recruiter-app :where(.gap-3) {
  gap: 0.3rem !important;
}

.trs-recruiter-app :where(.mt-6) {
  margin-top: 0.72rem !important;
}

.trs-recruiter-app :where(.mt-5) {
  margin-top: 0.56rem !important;
}

.trs-recruiter-app :where(.mt-4) {
  margin-top: 0.42rem !important;
}

.trs-recruiter-app :where(.mt-3) {
  margin-top: 0.28rem !important;
}

.trs-recruiter-app :where(.mt-2) {
  margin-top: 0.18rem !important;
}

.trs-recruiter-app :where(.p-10) {
  padding: 1.6rem !important;
}

.trs-recruiter-app :where(.p-7) {
  padding: 1rem !important;
}

.trs-recruiter-app :where(.p-6) {
  padding: 0.84rem !important;
}

.trs-recruiter-app :where(.p-5) {
  padding: 0.72rem !important;
}

.trs-recruiter-app :where(.p-4) {
  padding: 0.58rem !important;
}

.trs-recruiter-app :where(.px-5) {
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}

.trs-recruiter-app :where(.px-4) {
  padding-left: 0.9rem !important;
  padding-right: 0.9rem !important;
}

.trs-recruiter-app :where(.py-4) {
  padding-top: 0.82rem !important;
  padding-bottom: 0.82rem !important;
}

.trs-recruiter-app :where(.py-3) {
  padding-top: 0.68rem !important;
  padding-bottom: 0.68rem !important;
}

.trs-recruiter-app :where(.leading-7) {
  line-height: var(--trs-leading-copy) !important;
}

.trs-recruiter-app :where(.leading-6) {
  line-height: var(--trs-leading-copy) !important;
}

.trs-recruiter-app :where(.leading-5) {
  line-height: var(--trs-leading-body) !important;
}

.trs-recruiter-app :where(.text-4xl) {
  font-size: 2.2rem !important;
  line-height: var(--trs-leading-display) !important;
}

.trs-recruiter-app :where(.text-3xl) {
  font-size: 1.8rem !important;
  line-height: var(--trs-leading-display) !important;
}

.trs-recruiter-app :where(.text-2xl) {
  font-size: 1.38rem !important;
  line-height: var(--trs-leading-heading) !important;
}

.trs-recruiter-app :where(input, textarea, select) {
  font-size: 14px !important;
}

.trs-recruiter-app textarea {
  min-height: 72px;
}

.trs-recruiter-app #extension-connection-code {
  overflow-x: hidden;
  overflow-wrap: anywhere;
  word-break: break-all;
  white-space: pre-wrap;
  resize: vertical;
}

.trs-recruiter-app #action-status,
.trs-recruiter-app #health-summary {
  max-width: 42rem;
}

.trs-recruiter-app .trs-status-card {
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(255, 255, 255, 0.84);
  padding: 0.85rem 0.95rem;
}

.trs-recruiter-app .trs-status-card strong {
  display: block;
  margin-bottom: 0.2rem;
  color: #0f172a;
  font-size: 0.84rem;
}

.trs-recruiter-app .trs-status-card span {
  display: block;
  color: #475569;
  font-size: 0.78rem;
  line-height: 1.45;
}

.trs-recruiter-app .trs-summary-pill {
  min-width: 0;
  flex-shrink: 0;
  text-align: left;
}

.trs-recruiter-app .trs-summary-pill p {
  word-break: keep-all;
  overflow-wrap: normal;
}

.trs-recruiter-app .trs-summary-pill .font-mono,
.trs-recruiter-app .trs-summary-pill .font-semibold,
.trs-recruiter-app .trs-summary-pill p {
  text-align: left !important;
}

.trs-recruiter-app #sidebar-recruiter-name {
  line-height: 1.4 !important;
  margin: 0 !important;
}

.trs-recruiter-app #sidebar-recruiter-team {
  line-height: 1.4 !important;
  margin: 0 !important;
}

.trs-recruiter-app .trs-sidebar-identity-card {
  margin-top: auto;
  padding-top: 0.95rem !important;
  padding-bottom: 0.9rem !important;
}

.trs-recruiter-app .trs-sidebar-identity-card .workspace-status-row {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(226, 232, 240, 0.9);
}

.trs-recruiter-app .trs-sidebar-identity-card .workspace-status-row #setup-status-text {
  display: inline-block;
  margin-top: 0.32rem;
  line-height: 1.45;
}

.trs-recruiter-app .trs-sidebar-scroll {
  min-height: 0;
}

.trs-recruiter-app #workspace-saved-chip {
  height: 3rem !important;
  min-height: 3rem !important;
  width: 12.5rem !important;
  max-width: 100%;
  padding-top: 0.42rem !important;
  padding-bottom: 0.42rem !important;
}

.trs-recruiter-app #workspace-saved-chip #workspace-saved-at {
  margin-top: 0.18rem !important;
  line-height: 1.15 !important;
}

.trs-recruiter-app #recruiter-initials {
  line-height: 1 !important;
  white-space: nowrap;
  writing-mode: horizontal-tb !important;
  text-orientation: mixed;
  letter-spacing: 0 !important;
  font-size: 0.95rem !important;
}

.trs-recruiter-app #integration-workflow-badge,
.trs-recruiter-app #hunt-launch-badge {
  min-width: 88px;
  text-align: center;
}

.trs-recruiter-app #action-rail {
  max-height: 260px;
  overflow: hidden;
  transform-origin: bottom;
  transition: max-height 180ms ease, opacity 180ms ease, box-shadow 180ms ease, padding 180ms ease, border-width 180ms ease;
}

.trs-recruiter-app .action-rail-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: 100%;
  max-width: none;
  margin-left: 0;
  padding-top: 0;
}

.trs-recruiter-app #action-rail-toggle {
  position: relative;
  right: auto;
  top: auto;
  z-index: 3;
  width: 44px;
  min-height: 32px;
  height: 32px;
  padding: 0;
  border-radius: 14px 14px 0 0;
  margin: 0 1rem 0 0;
  border-color: rgba(100, 116, 139, 0.32);
  background: rgba(255, 255, 255, 0.98);
  color: #334155;
  box-shadow: 0 10px 24px rgba(21, 29, 31, 0.12);
}

.trs-recruiter-app .action-rail-shell.is-collapsed #action-rail {
  display: none;
  max-height: 0;
  height: 0;
  min-height: 0;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
  margin: 0;
  border-width: 0;
  pointer-events: none;
}

.trs-recruiter-app .action-rail-shell:not(.is-collapsed) #action-rail {
  display: block;
}

.trs-recruiter-app .action-rail-shell.is-collapsed #action-rail-toggle {
  margin-bottom: 0;
  box-shadow: 0 10px 24px rgba(21, 29, 31, 0.12);
}

.trs-recruiter-app .action-rail-wrap::before {
  display: none;
}

.trs-guide-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
}

.trs-guide-modal[hidden] {
  display: none;
}

.trs-guide-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(6px);
}

.trs-guide-modal-card {
  position: relative;
  width: min(760px, calc(100vw - 2rem));
  margin: 8vh auto 0;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 28px;
  background: rgba(255, 252, 247, 0.98);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.22);
  padding: 1.5rem;
}

.trs-guide-modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 9999px;
  background: #fff;
  color: #475569;
}

body.trs-guide-open {
  overflow: hidden;
}

.trs-recruiter-app .action-rail-shell.is-collapsed .action-rail-wrap {
  padding-bottom: 0 !important;
}

.trs-recruiter-app .trs-horizontal-card-strip {
  grid-auto-columns: minmax(220px, 1fr);
  gap: 0.85rem;
}

.trs-recruiter-app #imported-candidate-preview table th,
.trs-recruiter-app #imported-candidate-preview table td {
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
}

.trs-recruiter-app .trs-horizontal-card-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 1fr);
  gap: 0.85rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  scrollbar-width: thin;
}

.trs-recruiter-app .trs-horizontal-card-strip > * {
  min-width: 220px;
}

.trs-recruiter-app .trs-horizontal-card-strip::-webkit-scrollbar {
  height: 8px;
}

.trs-recruiter-app .trs-horizontal-card-strip::-webkit-scrollbar-thumb {
  background: rgba(21, 29, 31, 0.18);
  border-radius: 999px;
}

.trs-recruiter-app :where(button, input, textarea, select, .candidate-card):focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.trs-recruiter-app-host.is-portal-view {
  --trs-admin-bar-height: 0px;
  --trs-portal-gap: 0.8rem;
  --trs-sidebar-width: 19rem;
  --trs-action-rail-space: 5.25rem;
  --trs-main-inline-padding: 0.35rem;
  --trs-rail-left: 0px;
  --trs-rail-right: 0px;
  --trs-rail-bottom: 10px;
  width: min(calc(100vw - 0.5rem), 1760px);
  max-width: 1760px;
  margin: 0.25rem auto;
}

.trs-recruiter-app-host.is-portal-view:not(.tsr-ui-ready) {
  opacity: 0;
  visibility: hidden;
}

.trs-recruiter-app-host.is-portal-view.tsr-ui-ready {
  opacity: 1;
  visibility: visible;
  transition: opacity 120ms ease;
}

body.admin-bar .trs-recruiter-app-host.is-portal-view {
  --trs-admin-bar-height: 32px;
}

.trs-recruiter-app-host.is-portal-view .trs-recruiter-app {
  font-size: 15px;
  --trs-leading-heading: 1.12;
  --trs-leading-body: 1.55;
  --trs-leading-copy: 1.62;
  --trs-leading-label: 1.16;
  --trs-leading-button: 1.18;
  height: 100%;
}

.trs-recruiter-app-host.is-portal-view .dashboard-noise {
  background-color: #f4efe5;
  background-image: radial-gradient(circle at top left, rgba(15, 118, 110, 0.08), transparent 26%), radial-gradient(circle at right 20%, rgba(191, 114, 31, 0.07), transparent 22%), linear-gradient(180deg, rgba(255, 252, 246, 0.98), rgba(245, 239, 229, 0.94));
  border: none;
  border-radius: 10px;
  box-shadow: none;
  padding: var(--trs-portal-gap);
  min-height: 0 !important;
  overflow: hidden !important;
}

.trs-recruiter-app-host.is-portal-view .trs-recruiter-app :where(h1, h2, h3, h4, .font-headline) {
  line-height: var(--trs-leading-heading) !important;
}

.trs-recruiter-app-host.is-portal-view .trs-recruiter-app .text-\[11px\],
.trs-recruiter-app-host.is-portal-view .trs-recruiter-app .text-\[10px\] {
  margin-bottom: 0 !important;
  margin-block-end: 0 !important;
}

.trs-recruiter-app-host.is-portal-view .trs-recruiter-app :where(.text-\[11px\], .text-\[10px\], .text-xs).font-semibold.uppercase {
  line-height: 1.05 !important;
}

.trs-recruiter-app-host.is-portal-view .trs-recruiter-app :where(.text-\[11px\], .text-\[10px\], .text-xs).uppercase,
.trs-recruiter-app-host.is-portal-view .trs-recruiter-app :where(.uppercase.text-\[11px\], .uppercase.text-\[10px\], .uppercase.text-xs) {
  letter-spacing: 0.14em !important;
}

.trs-recruiter-app-host.is-portal-view .trs-recruiter-app :where(p, li, label, textarea, table, .text-sm, .text-base, .text-xs) {
  letter-spacing: 0 !important;
}

.trs-recruiter-app-host.is-portal-view .trs-recruiter-app :where(h1, h2, h3, h4) + p {
  margin-top: 0.24rem !important;
}

.trs-recruiter-app-host.is-portal-view .trs-recruiter-app :where(.text-\[11px\], .text-\[10px\], .text-xs).font-semibold.uppercase + :where(h1, h2, h3, h4, .font-headline) {
  margin-top: 0.18rem !important;
}

.trs-recruiter-app-host.is-portal-view .trs-recruiter-app :where(.text-\[11px\], .text-\[10px\], .text-xs).font-semibold.uppercase + p {
  margin-top: 0.2rem !important;
}

.trs-recruiter-app-host.is-portal-view .trs-recruiter-app :where(.space-y-6 > :not([hidden]) ~ :not([hidden])) {
  margin-top: 0.82rem !important;
}

.trs-recruiter-app-host.is-portal-view .trs-recruiter-app :where(.space-y-5 > :not([hidden]) ~ :not([hidden])) {
  margin-top: 0.72rem !important;
}

.trs-recruiter-app-host.is-portal-view .trs-recruiter-app :where(.space-y-4 > :not([hidden]) ~ :not([hidden])) {
  margin-top: 0.6rem !important;
}

.trs-recruiter-app-host.is-portal-view .trs-recruiter-app :where(.space-y-3 > :not([hidden]) ~ :not([hidden])) {
  margin-top: 0.44rem !important;
}

.trs-recruiter-app-host.is-portal-view .trs-recruiter-app :where(.gap-6) {
  gap: 0.82rem !important;
}

.trs-recruiter-app-host.is-portal-view .trs-recruiter-app :where(.gap-5) {
  gap: 0.72rem !important;
}

.trs-recruiter-app-host.is-portal-view .trs-recruiter-app :where(.gap-4) {
  gap: 0.58rem !important;
}

.trs-recruiter-app-host.is-portal-view .trs-recruiter-app :where(.gap-3) {
  gap: 0.42rem !important;
}

.trs-recruiter-app-host.is-portal-view .trs-recruiter-app :where(.mt-6) {
  margin-top: 0.82rem !important;
}

.trs-recruiter-app-host.is-portal-view .trs-recruiter-app :where(.mt-5) {
  margin-top: 0.64rem !important;
}

.trs-recruiter-app-host.is-portal-view .trs-recruiter-app :where(.mt-4) {
  margin-top: 0.5rem !important;
}

.trs-recruiter-app-host.is-portal-view .trs-recruiter-app :where(.mt-3) {
  margin-top: 0.18rem !important;
}

.trs-recruiter-app-host.is-portal-view .trs-recruiter-app :where(.mt-2) {
  margin-top: 0.08rem !important;
}

.trs-recruiter-app-host.is-portal-view .trs-recruiter-app :where(.p-7) {
  padding: 1.1rem !important;
}

.trs-recruiter-app-host.is-portal-view .trs-recruiter-app :where(.p-6) {
  padding: 0.98rem !important;
}

.trs-recruiter-app-host.is-portal-view .trs-recruiter-app :where(.p-5) {
  padding: 0.84rem !important;
}

.trs-recruiter-app-host.is-portal-view .trs-recruiter-app :where(.p-4) {
  padding: 0.78rem !important;
}

.trs-recruiter-app-host.is-portal-view .trs-recruiter-app :where(.px-4) {
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}

.trs-recruiter-app-host.is-portal-view .trs-recruiter-app :where(.py-4) {
  padding-top: 0.92rem !important;
  padding-bottom: 0.92rem !important;
}

.trs-recruiter-app-host.is-portal-view .trs-recruiter-app :where(.py-3) {
  padding-top: 0.8rem !important;
  padding-bottom: 0.8rem !important;
}

.trs-recruiter-app-host.is-portal-view .trs-recruiter-app :where(.rounded-\[28px\], .rounded-\[26px\], .rounded-\[24px\]) {
  border-radius: 10px !important;
}

.trs-recruiter-app-host.is-portal-view .trs-recruiter-app :where(.rounded-3xl) {
  border-radius: 10px !important;
}

.trs-recruiter-app-host.is-portal-view .trs-recruiter-app :where(.rounded-2xl) {
  border-radius: 8px !important;
}

.trs-recruiter-app-host.is-portal-view .trs-recruiter-app :where(.border-slate-200\/70, .border-slate-200) {
  border-color: rgba(148, 163, 184, 0.08) !important;
}

.trs-recruiter-app-host.is-portal-view .trs-recruiter-app :where(.bg-white) {
  background-color: rgba(255, 252, 247, 0.94) !important;
}

.trs-recruiter-app-host.is-portal-view .trs-recruiter-app :where(.bg-slate-50) {
  background-color: rgba(248, 244, 237, 0.9) !important;
}

.trs-recruiter-app-host.is-portal-view .trs-recruiter-app .bg-panel {
  background-color: #ece3d7 !important;
}

.trs-recruiter-app-host.is-portal-view .trs-recruiter-app .accent-gradient {
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.12), rgba(191, 114, 31, 0.1)) !important;
}

.trs-recruiter-app-host.is-portal-view .trs-recruiter-app .shadow-ambient {
  box-shadow: 0 10px 24px rgba(21, 29, 31, 0.05), 0 4px 10px rgba(21, 29, 31, 0.03) !important;
  border-color: transparent !important;
}

.trs-recruiter-app-host.is-portal-view .trs-portal-logout {
  background: rgba(255, 252, 247, 0.96) !important;
}

.trs-recruiter-app-host.is-portal-view #app-main-shell {
  margin-left: 0 !important;
  min-width: 0;
  min-height: 0;
  position: relative;
}

.trs-recruiter-app-host.is-portal-view #app-main-shell > header {
  top: 0;
  border: none;
  border-radius: 10px;
  background: rgba(255, 252, 247, 0.82) !important;
  box-shadow: 0 8px 20px rgba(21, 29, 31, 0.04);
  backdrop-filter: blur(14px);
  margin-left: var(--trs-main-inline-padding);
  margin-right: var(--trs-main-inline-padding);
}

.trs-recruiter-app-host.is-portal-view #app-main-shell > header > div {
  padding-top: 0.72rem !important;
  padding-bottom: 0.72rem !important;
}

.trs-recruiter-app-host.is-portal-view #app-main-shell > div:not(.action-rail-shell) {
  padding-left: var(--trs-main-inline-padding) !important;
  padding-right: var(--trs-main-inline-padding) !important;
  padding-top: 0.55rem !important;
  padding-bottom: calc(var(--trs-action-rail-space) + 0.5rem) !important;
}

.trs-recruiter-app-host.is-portal-view .trs-recruiter-app [data-view-panel] > :where(.rounded-\[28px\], .rounded-\[26px\]),
.trs-recruiter-app-host.is-portal-view .trs-recruiter-app [data-view-panel] :where(.space-y-5, .space-y-6) > :where(.rounded-\[28px\], .rounded-\[26px\]) {
  padding-top: 0.9rem !important;
  padding-bottom: 0.92rem !important;
}

.trs-recruiter-app-host.is-portal-view .trs-recruiter-app [data-view-panel] :where(.rounded-\[28px\], .rounded-\[26px\]) > :first-child {
  margin-top: 0 !important;
}

.trs-recruiter-app-host.is-portal-view .action-rail-shell {
  position: fixed;
  left: var(--trs-rail-left);
  right: var(--trs-rail-right);
  bottom: 0 !important;
}

.trs-recruiter-app-host.is-portal-view .action-rail-wrap {
  padding-left: var(--trs-main-inline-padding) !important;
  padding-right: var(--trs-main-inline-padding) !important;
  padding-bottom: 0 !important;
}

.trs-recruiter-app-host.is-portal-view #action-rail {
  border-radius: 16px !important;
  max-height: 92px;
  padding-top: 0.42rem !important;
  padding-bottom: 0.38rem !important;
}

.trs-recruiter-app-host.is-portal-view #action-rail > div {
  gap: 0.8rem !important;
  align-items: stretch !important;
}

.trs-recruiter-app-host.is-portal-view #action-rail > div > :first-child {
  align-self: stretch;
  min-height: 60px;
  position: relative;
  display: block;
  gap: 0;
}

.trs-recruiter-app-host.is-portal-view #action-rail > div > :last-child {
  align-self: center;
}

.trs-recruiter-app-host.is-portal-view #action-status {
  max-width: none !important;
  margin-top: 0 !important;
  font-size: 0.9rem !important;
  line-height: 1.12 !important;
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  width: 100%;
  padding-top: 0;
  transform: translateY(-42%);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  white-space: normal;
  overflow: hidden;
}

.trs-recruiter-app-host.is-portal-view #action-rail > div > :first-child > p:first-child {
  line-height: 0.95 !important;
  margin: 0 !important;
  white-space: normal;
  padding-top: 0;
  position: absolute;
  top: 0;
  left: 0;
}

.trs-recruiter-app-host.is-portal-view #health-summary {
  display: none !important;
}

.trs-recruiter-app-host.is-portal-view #save-draft-btn,
.trs-recruiter-app-host.is-portal-view #publish-btn {
  min-height: 2.25rem;
  padding-top: 0.4rem !important;
  padding-bottom: 0.4rem !important;
}

.trs-recruiter-app-host.is-portal-view #save-draft-btn:hover,
.trs-recruiter-app-host.is-portal-view #save-draft-btn:focus-visible {
  background: rgba(248, 244, 237, 0.98) !important;
  color: #334155 !important;
  border-color: rgba(148, 163, 184, 0.24) !important;
}

.trs-recruiter-app-host.is-portal-view #action-rail .text-\[11px\] {
  line-height: 1 !important;
}

.trs-recruiter-app-host.is-portal-view #action-rail > div > :first-child > p:first-child {
  display: block;
}

.trs-recruiter-app-host.is-portal-view #action-rail-toggle {
  margin-right: 0.7rem;
  margin-bottom: 0 !important;
  border-color: rgba(100, 116, 139, 0.4) !important;
  background: rgba(255, 255, 255, 0.98) !important;
  color: #334155 !important;
}

.trs-recruiter-app-host.is-portal-view #parse-jd-btn {
  border: 1px solid transparent !important;
  background: linear-gradient(135deg, #153f3e, #b96b2a) !important;
  box-shadow: 0 10px 22px rgba(21, 29, 31, 0.12) !important;
}

.trs-recruiter-app-host.is-portal-view #load-job-url-btn {
  border: 1px solid rgba(148, 163, 184, 0.18) !important;
  background: rgba(255, 252, 247, 0.98) !important;
  box-shadow: 0 6px 16px rgba(21, 29, 31, 0.08) !important;
}

.trs-recruiter-app-host.is-portal-view #parse-jd-btn:hover,
.trs-recruiter-app-host.is-portal-view #load-job-url-btn:hover {
  transform: translateY(-1px);
}

.trs-recruiter-app-host.is-portal-view #parse-jd-btn:focus-visible,
.trs-recruiter-app-host.is-portal-view #load-job-url-btn:focus-visible {
  outline: 2px solid rgba(15, 118, 110, 0.28);
  outline-offset: 2px;
}

.trs-recruiter-app-host.is-portal-view .trs-recruiter-app button[class*="bg-white"]:hover,
.trs-recruiter-app-host.is-portal-view .trs-recruiter-app a[class*="bg-white"]:hover {
  color: #1f2937 !important;
}

.trs-recruiter-app-host.is-portal-view .trs-recruiter-app [data-nav-view] {
  gap: 0.75rem !important;
  padding: 0.9rem 0.95rem !important;
}

.trs-recruiter-app-host.is-portal-view .trs-recruiter-app [data-nav-view]:not(.bg-primary) {
  background: rgba(255, 252, 247, 0.48) !important;
}

.trs-recruiter-app-host.is-portal-view [data-view-panel="setup"] .rounded-\[28px\] > .flex.items-center.gap-2 > h3 {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.trs-recruiter-app-host.is-portal-view .trs-recruiter-app .trs-status-card {
  border: 0 !important;
  border-radius: 0 !important;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14) !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0.8rem 0 !important;
}

.trs-recruiter-app-host.is-portal-view #integration-workflow-checks {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 0 !important;
}

.trs-recruiter-app-host.is-portal-view #integration-workflow-checks > *,
.trs-recruiter-app-host.is-portal-view #source-readiness > *,
.trs-recruiter-app-host.is-portal-view .trs-horizontal-card-strip > * {
  border: none !important;
  box-shadow: none !important;
}

.trs-recruiter-app-host.is-portal-view #source-readiness > * {
  background: rgba(236, 227, 215, 0.72) !important;
}

.trs-recruiter-app-host.is-portal-view .trs-horizontal-card-strip > * {
  background: rgba(248, 244, 237, 0.9) !important;
}

.trs-recruiter-app-host.is-portal-view aside .pr-1 {
  padding-right: 0 !important;
}

.trs-recruiter-app-host.is-portal-view aside .rounded-3xl,
.trs-recruiter-app-host.is-portal-view aside .rounded-2xl,
.trs-recruiter-app-host.is-portal-view aside .accent-gradient {
  padding-left: 1.2rem !important;
  padding-right: 1.2rem !important;
}

.trs-recruiter-app-host.is-portal-view aside .trs-sidebar-identity-card {
  position: relative;
  bottom: auto;
  margin-top: auto !important;
  flex-shrink: 0;
  padding-left: 0.9rem !important;
  padding-right: 0.9rem !important;
}

.trs-recruiter-app-host.is-portal-view aside .trs-sidebar-identity-card .space-y-0\.5 > * + * {
  margin-top: 0.1rem !important;
}

.trs-recruiter-app-host.is-portal-view aside .trs-sidebar-identity-head {
  align-items: center !important;
  padding-bottom: 0.1rem;
}

.trs-recruiter-app-host.is-portal-view aside .workspace-status-row {
  align-items: flex-start !important;
}

.trs-integrations-panel {
  padding-top: 1.7rem !important;
  padding-bottom: 1.7rem !important;
}

.trs-integrations-panel-head {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap;
  gap: 0.7rem !important;
}

.trs-integrations-panel-head .material-symbols-outlined {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 0 !important;
}

.trs-integrations-panel-head h3 {
  margin: 0 !important;
  line-height: 1.05;
}

.trs-integrations-panel-copy {
  max-width: 42rem;
}

.trs-recruiter-profile-grid {
  align-items: start;
}

.trs-operating-notes-field textarea {
  min-height: 8.75rem;
}

.trs-recruiter-app-host.is-portal-view .trs-recruiter-profile-grid {
  column-gap: 1rem !important;
  row-gap: 1rem !important;
}

.trs-recruiter-app-host.is-portal-view .trs-operating-notes-field {
  align-self: stretch;
}

.trs-recruiter-app-host.is-portal-view .trs-operating-notes-field textarea {
  min-height: 8.75rem;
}

.trs-integrations-status-card {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

.trs-integrations-panel label + .rounded-2xl,
.trs-integrations-panel .rounded-2xl + .rounded-2xl {
  margin-top: 1rem;
}

.trs-advanced-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-color: rgba(15, 23, 42, 0.1);
  background: linear-gradient(135deg, rgba(255, 252, 247, 0.98), rgba(239, 247, 244, 0.95));
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.trs-advanced-toggle.is-open {
  border-color: rgba(15, 118, 110, 0.22);
  box-shadow: 0 18px 34px rgba(15, 118, 110, 0.08);
}

.trs-advanced-toggle-copy {
  display: grid;
  gap: 0.32rem;
}

.trs-advanced-toggle-kicker {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #64748b;
}

.trs-advanced-toggle-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.08;
  color: #0f172a;
}

.trs-advanced-toggle-body {
  font-size: 0.92rem;
  line-height: 1.55;
  color: #475569;
}

.trs-advanced-toggle-meta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.trs-advanced-toggle .material-symbols-outlined {
  transition: transform 180ms ease;
}

.trs-advanced-toggle.is-open .material-symbols-outlined {
  transform: rotate(180deg);
}

.trs-advanced-toggle-state {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  min-height: 2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  padding: 0.25rem 0.8rem;
  font-size: 0.76rem;
  font-weight: 700;
  color: #334155;
}

.trs-extension-quickstart {
  border-color: rgba(148, 163, 184, 0.18);
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.94), rgba(255, 253, 248, 0.98));
}

.trs-extension-quickstart-grid > div {
  min-height: 100%;
  box-shadow: inset 0 0 0 1px rgba(226, 232, 240, 0.75);
}

.trs-advanced-sourcing-workspace {
  position: relative;
}

.trs-advanced-sourcing-workspace > .rounded-\[28px\] {
  scroll-margin-top: 5rem;
}

@media (max-width: 900px) {
  .trs-advanced-toggle {
    align-items: flex-start;
  }

  .trs-advanced-toggle-meta {
    margin-top: 0.2rem;
  }
}

@media (max-width: 640px) {
  .tsr-portal-auth-form .login-remember.login-remember-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 1279px) {
  .trs-operating-notes-field textarea {
    min-height: 7.5rem;
  }
}

.trs-recruiter-app-host.is-portal-view aside #sidebar-recruiter-name,
.trs-recruiter-app-host.is-portal-view aside #sidebar-recruiter-team,
.trs-recruiter-app-host.is-portal-view aside #sidebar-role-copy,
.trs-recruiter-app-host.is-portal-view aside #sidebar-workflow-list {
  max-width: none;
}

.trs-recruiter-app-host.is-portal-view aside #sidebar-recruiter-name {
  font-size: 0.95rem !important;
}

.trs-recruiter-app-host.is-portal-view aside #sidebar-recruiter-team {
  font-size: 0.78rem !important;
  color: #64748b !important;
}

@media (min-width: 1024px) {
  .trs-recruiter-app-host.is-portal-view {
    height: calc(100vh - var(--trs-admin-bar-height) - 0.5rem);
    max-height: calc(100vh - var(--trs-admin-bar-height) - 0.5rem);
  }

  .trs-recruiter-app-host.is-portal-view .dashboard-noise {
    display: grid;
    grid-template-columns: var(--trs-sidebar-width) minmax(0, 1fr);
    gap: var(--trs-portal-gap);
    align-items: stretch;
    height: 100%;
    min-height: 0;
  }

  .trs-recruiter-app-host.is-portal-view .dashboard-noise > aside {
    position: relative !important;
    inset: auto !important;
    top: auto !important;
    left: auto !important;
    height: 100%;
    max-height: 100%;
    width: var(--trs-sidebar-width) !important;
    border: none;
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(255, 252, 247, 0.98), rgba(248, 244, 237, 0.98)) !important;
    box-shadow: 0 10px 24px rgba(21, 29, 31, 0.04);
    padding: 1.35rem 1.2rem 1px !important;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .trs-recruiter-app-host.is-portal-view .dashboard-noise > aside .trs-sidebar-scroll {
    flex: 1 1 auto;
    overflow-y: auto;
    padding-bottom: 0.6rem;
    scrollbar-width: thin;
  }

  .trs-recruiter-app-host.is-portal-view .action-rail-shell {
    bottom: var(--trs-rail-bottom) !important;
  }

  .trs-recruiter-app-host.is-portal-view #action-rail {
    width: 100%;
    max-width: none;
    padding: 0.72rem 0.9rem !important;
  }

  .trs-recruiter-app-host.is-portal-view #app-main-shell > header {
    top: 0;
  }

   .trs-recruiter-app-host.is-portal-view #app-main-shell {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
  }

  .trs-recruiter-app-host.is-portal-view [data-view-panel="setup"] > .grid,
  .trs-recruiter-app-host.is-portal-view [data-view-panel="job"] > .grid,
  .trs-recruiter-app-host.is-portal-view [data-view-panel="pipeline"] > .grid {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr) !important;
    gap: 0.9rem !important;
  }

  .trs-recruiter-app-host.is-portal-view [data-view-panel="setup"] > .grid > .min-w-0.space-y-5:last-child {
    width: 100%;
    max-width: none;
  }

  .trs-recruiter-app-host.is-portal-view [data-view-panel="analytics"] > .grid {
    gap: 0.85rem !important;
  }
}

@media (max-width: 1023px) {
  .trs-recruiter-app-host.is-portal-view .dashboard-noise {
    position: relative;
  }

  .trs-recruiter-app-host.is-portal-view .trs-portal-sidebar {
    display: flex !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    width: min(86vw, 20rem) !important;
    max-width: 20rem;
    border: none !important;
    border-radius: 0 16px 16px 0;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.18);
    transform: translateX(-110%);
    transition: transform 0.24s ease;
    z-index: 80;
    overflow: hidden;
    padding: 1.35rem 1.2rem 1px !important;
  }

  .trs-recruiter-app-host.is-portal-view .trs-portal-sidebar.is-open {
    transform: translateX(0);
  }

  .trs-recruiter-app-host.is-portal-view .trs-portal-sidebar-backdrop {
    position: fixed;
    inset: 0;
    z-index: 70;
    border: 0;
    background: rgba(15, 23, 42, 0.34);
    backdrop-filter: blur(2px);
  }

  body.trs-portal-sidebar-open {
    overflow: hidden;
  }
}

@media (max-width: 1023px) {
  body.admin-bar .trs-recruiter-app-host.is-portal-view {
    --trs-admin-bar-height: 46px;
  }

  .trs-recruiter-app-host.is-portal-view {
    width: min(calc(100vw - 0.35rem), 100%);
    margin: 0.2rem auto;
  }

  .trs-recruiter-app-host.is-portal-view .dashboard-noise {
    border-radius: 10px;
    padding: 0.4rem;
  }

  .trs-recruiter-app-host.is-portal-view #app-main-shell > header {
    border-radius: 10px;
  }

  .trs-recruiter-app-host.is-portal-view #app-main-shell > div:not(.action-rail-shell) {
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-bottom: calc(var(--trs-action-rail-space) + 0.65rem) !important;
  }

  .trs-recruiter-app-host.is-portal-view .action-rail-shell {
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
  }

  .trs-recruiter-app-host.is-portal-view #action-rail {
    max-height: 156px;
    padding: 0.72rem 0.85rem !important;
  }
}

body.wp-admin .trs-recruiter-app-host {
  width: calc(100vw - 128px);
  max-width: calc(100vw - 128px);
  margin-left: 0;
  margin-right: 0;
}

@media (max-width: 1024px) {
  .trs-recruiter-app-host {
    width: auto;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }

  .trs-recruiter-app .action-rail-wrap {
    max-width: none;
  }

  .trs-recruiter-app .trs-horizontal-card-strip {
    grid-auto-columns: minmax(220px, 82vw);
  }
}

@media (max-width: 960px) {
  body.wp-admin .trs-recruiter-app-host {
    width: calc(100vw - 36px);
    max-width: calc(100vw - 36px);
  }
}

@media (min-width: 1100px) {
  .trs-recruiter-app .trs-candidate-action-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .trs-recruiter-app-host.is-portal-view #app-main-shell > header > div {
    gap: 0.55rem !important;
    align-items: center !important;
    padding-top: 0.55rem !important;
    padding-bottom: 0.55rem !important;
    padding-left: 0.6rem !important;
    padding-right: 0.6rem !important;
  }

  .trs-recruiter-app-host.is-portal-view #app-main-shell > header > div > button#portal-sidebar-toggle {
    flex: 0 0 2.35rem;
    width: 2.35rem;
    height: 2.35rem;
  }

  .trs-recruiter-app-host.is-portal-view #app-main-shell > header > div > div.min-w-0 {
    flex: 1 1 auto;
    min-width: 0;
  }

  .trs-recruiter-app-host.is-portal-view #app-main-shell > header > div > div.ml-auto {
    flex: 0 0 auto !important;
    margin-left: auto !important;
    gap: 0 !important;
  }

  .trs-recruiter-app-host.is-portal-view #app-main-shell > header > div > div.ml-auto > div {
    text-align: right !important;
    min-width: 5.2rem;
  }

  .trs-recruiter-app-host.is-portal-view #app-main-shell > header #header-title {
    font-size: 1.2rem !important;
    line-height: 1.06 !important;
  }

  .trs-recruiter-app-host.is-portal-view #app-main-shell > header #header-kicker {
    font-size: 0.56rem !important;
    letter-spacing: 0.14em !important;
  }

  .trs-recruiter-app-host.is-portal-view #last-generated {
    font-size: 0.67rem !important;
    line-height: 1.05 !important;
  }

  .trs-recruiter-app .trs-candidate-action-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}