@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2");
}
:root {
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.025em;
  color: #181925;
  background: #ffffff;
  font-size: 13px;
  font-synthesis: none;
  --ink: #181925;
  --muted: #666666;
  --line: #e8e8e8;
  --surface: #fff;
  --accent: #918df6;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: var(--ink);
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid #7060c9;
  outline-offset: 3px;
}
button:disabled {
  cursor: wait;
  opacity: 0.6;
}
svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  stroke: none;
  flex: none;
}
#app {
  height: 100dvh;
  display: flex;
  flex-direction: column;
  max-width: 1920px;
  margin: auto;
  padding: 0 30px;
}
.topbar {
  height: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 750;
  font-size: 23px;
  letter-spacing: -1px;
}
.brand-mark {
  display: inline-grid;
  place-content: center;
  background: var(--ink);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  font-weight: 700;
  font-size: 23px;
  letter-spacing: -2px;
  padding: 0;
  object-fit: contain;
}
.brand-divider {
  width: 1px;
  height: 21px;
  background: #e8e8e8;
  margin: 0 10px;
}
.section-name {
  font-weight: 500;
  letter-spacing: 0;
  font-size: 13px;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 5px;
}
.private-label {
  color: var(--muted);
  font-size: 11px;
  margin-right: 20px;
}
.status-dot {
  display: inline-block;
  background: #918df6;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 6px;
}
.icon-action {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  min-width: 32px;
  height: 32px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #666666;
  padding: 6px;
}
.icon-action:hover,
.icon-action:focus-visible {
  background: #f5f5f5;
  color: var(--ink);
}
.icon-action > span[data-icon] {
  height: 18px;
}
.tip {
  position: absolute;
  top: calc(100% + 7px);
  right: 0;
  width: max-content;
  max-width: 180px;
  background: #181925;
  color: white;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  padding: 7px 9px;
  border-radius: 8px;
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition:
    opacity 0.16s,
    transform 0.16s;
  z-index: 20;
  box-shadow: 0 4px 16px #18192518;
}
.icon-action:hover .tip,
.icon-action:focus-visible .tip {
  opacity: 1;
  transform: translateY(0);
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 1.7px;
  font-weight: 700;
  color: #666666;
}
.profile-status {
  font-size: 11px;
  color: #666666;
  max-width: 240px;
  text-align: right;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.filterbar {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 8px 0;
  flex-shrink: 0;
}
.search-box,
.compact-filter {
  height: 32px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #e8e8e8;
  background: #fff;
  border-radius: 8px;
  padding: 0 10px;
  color: #999999;
}
.search-box {
  flex: 1;
  min-width: 180px;
}
.search-box input,
.compact-filter input,
.compact-filter select {
  border: 0;
  outline: 0;
  background: transparent;
  color: #666666;
  min-width: 0;
  width: 100%;
  height: 100%;
  font-size: 12px;
  padding: 0;
}
.compact-filter input {
  width: 118px;
}
.compact-filter select {
  max-width: 150px;
}
input::placeholder,
textarea::placeholder {
  color: #999999;
}
.workspace {
  display: grid;
  grid-template-columns: minmax(400px, 1.35fr) minmax(340px, 1fr);
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  flex: 1;
  min-height: 0;
}
.list-pane {
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
}
.list-summary {
  height: 30px;
  padding: 0 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  font-size: 11px;
  color: #666666;
}
.list-summary strong {
  color: #181925;
  font-size: 13px;
  margin-left: 6px;
}
.list-columns {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) 125px 60px;
  gap: 10px;
  font-size: 10px;
  letter-spacing: 0.9px;
  color: #666666;
  font-weight: 600;
  padding: 6px 14px;
  border-block: 1px solid #e8e8e8;
  background: #fafafa;
}
.job-list {
  overflow-y: auto;
  flex: 1;
  scrollbar-width: thin;
  scrollbar-color: #e8e8e8 transparent;
  min-height: 0;
}
.job-row {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #e8e8e8;
  background: white;
  text-align: left;
  display: grid;
  grid-template-columns: minmax(190px, 1fr) 125px 60px;
  gap: 10px;
  padding: 5px 14px;
  color: inherit;
  align-items: center;
  height: 44px;
  min-height: 44px;
  position: relative;
  transition:
    background 180ms var(--ease),
    box-shadow 180ms var(--ease);
}
.job-row:hover {
  background: #fafafa;
}
.job-row[aria-pressed="true"] {
  background: #eeedff;
  box-shadow: inset 3px 0 0 #918df6;
}
.job-identity {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}
.company-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-content: center;
  font-size: 12px;
  flex: none;
  background: #f5f5f5;
  color: #666666;
  font-weight: 700;
}
.role-text {
  min-width: 0;
}
.role-text strong {
  font-size: 13px;
  line-height: 15px;
  display: block;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.role-text small {
  display: block;
  color: #666666;
  font-size: 11px;
  line-height: 13px;
  margin-top: 1px;
}
.location-text {
  font-size: 11px;
  color: #666666;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.location-text small {
  display: block;
  font-size: 11px;
  line-height: 13px;
  color: #666666;
  margin-top: 1px;
}
.posted-text {
  font-size: 11px;
  color: #666666;
  text-align: right;
}
.details {
  padding: 25px;
  overflow: auto;
  min-width: 0;
  background: #ffffff;
  border-left: 1px solid var(--line);
  scrollbar-width: thin;
}
.detail-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.detail-top .company-mark {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  font-size: 17px;
}
.detail-label {
  font-size: 10px;
  color: #999999;
  letter-spacing: 1px;
}
.details h2 {
  font-size: 23px;
  font-weight: 550;
  letter-spacing: -0.65px;
  line-height: 1.3;
  margin: 18px 0 8px;
}
.company-line {
  color: #666666;
  font-size: 12px;
}
.company-line strong {
  font-weight: 600;
  color: #181925;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 17px 0;
}
.tag {
  border: 1px solid #e8e8e8;
  background: #fafafa;
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 10px;
  color: #666666;
}
.detail-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  margin: 16px 0 23px;
  color: #666666;
}
.source-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: #181925;
  font-weight: 600;
}
.source-link svg {
  width: 13px;
  height: 13px;
}
.match-card {
  background: #fafafa;
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  padding: 16px;
  margin: 10px 0 25px;
}
.match-card .eyebrow {
  color: #666666;
  letter-spacing: 1px;
}
.match-card p {
  font-size: 12px;
  line-height: 1.75;
  color: #666666;
  margin: 9px 0 0;
}
.evidence {
  border-top: 1px solid #e8e8e8;
  margin-top: 12px;
  padding-top: 11px;
  color: #666666;
  font-size: 11px;
  line-height: 1.6;
}
.detail-section h3 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: #666666;
  margin: 22px 0 10px;
}
.prose {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 12px;
  color: #666666;
  line-height: 1.85;
}
.empty-detail,
.empty-list {
  height: 100%;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #666666;
  padding: 30px;
}
.empty-detail > svg,
.empty-list > svg {
  width: 32px;
  height: 32px;
  color: #999999;
}
.empty-detail h2,
.empty-list h2 {
  font-size: 18px;
  font-weight: 500;
  color: #181925;
}
.empty-detail p,
.empty-list p {
  font-size: 12px;
  line-height: 1.7;
  max-width: 290px;
}
.empty-list .primary {
  margin-top: 8px;
}
.statusbar {
  display: flex;
  justify-content: space-between;
  padding: 7px 1px;
  color: #666666;
  font-size: 10px;
  gap: 20px;
  flex-shrink: 0;
}
.tiny-dot {
  padding: 0 5px;
}
.primary {
  border: 0;
  background: #918df6;
  border-radius: 999px;
  color: #181925;
  padding: 11px 16px;
  font-weight: 550;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
}
.primary:hover {
  background: #8580ef;
}
.subtle-button {
  background: none;
  border: 0;
  color: #666666;
  font-size: 11px;
  padding: 12px;
  width: 100%;
}
.back-detail {
  display: none;
}
.error {
  color: #a3473c !important;
}
.loading {
  color: #666666;
  padding: 30px;
}
.notice {
  font-size: 11px;
  color: #917745;
}
.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;
}
dialog {
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  padding: 0;
  color: #181925;
  box-shadow: 0 24px 100px #18192520;
  background: #ffffff;
  max-width: calc(100vw - 24px);
}
dialog::backdrop {
  background: #18192552;
  backdrop-filter: blur(3px);
}
#unlock {
  width: 420px;
}
#oauth-consent {
  width: 460px;
}
#oauth-consent h2 {
  margin: 0;
  font-size: 25px;
  letter-spacing: -0.7px;
}
#oauth-consent p {
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
  color: #666;
}
#oauth-consent .brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 12px;
}
.oauth-account {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  background: #f7f6fa;
  border-radius: 8px;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.oauth-permissions {
  display: grid;
  gap: 15px;
  margin: 8px 0;
  padding: 0;
  list-style: none;
}
.oauth-permissions li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  line-height: 1.5;
}
.oauth-permissions svg,
.oauth-account svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #7c3aed;
}
.oauth-destination {
  overflow-wrap: anywhere;
}
.oauth-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 8px;
}
#oauth-message:empty {
  display: none;
}
#oauth-message {
  color: #b42318 !important;
}
#oauth-restart {
  font-size: 12px;
}
.account-settings h3 {
  margin: 20px 0 8px;
  font-size: 12px;
  font-weight: 600;
}
.signin-content {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
#unlock .brand-mark {
  margin-bottom: 12px;
}
#unlock h2 {
  font-size: 25px;
  letter-spacing: -0.7px;
  font-weight: 550;
  margin: 0;
}
#unlock p {
  font-size: 12px;
  line-height: 1.7;
  color: #666666;
  margin: 0;
}
#unlock small {
  font-size: 10px;
  color: #999999;
}
label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 11px;
  color: #666666;
}
label input,
label select,
label textarea,
.resume-text textarea {
  width: 100%;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  background: white;
  padding: 9px;
  color: #181925;
  resize: vertical;
}
#unlock label {
  margin-top: 6px;
}
#profile-dialog {
  width: 720px;
}
#profile-form {
  max-height: 90dvh;
  display: flex;
  flex-direction: column;
}
.dialog-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 23px 25px 10px;
}
.dialog-heading h2 {
  font-size: 24px;
  font-weight: 550;
  letter-spacing: -0.6px;
  margin: 6px 0 0;
}
.dialog-intro {
  font-size: 12px;
  color: #666666;
  line-height: 1.6;
  margin: 0;
  padding: 0 25px 17px;
}
.profile-scroll {
  overflow: auto;
  padding: 0 25px 20px;
  scrollbar-width: thin;
}
.upload-area {
  border: 1px dashed #e8e8e8;
  background: #fafafa;
  border-radius: 8px;
  padding: 17px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
  cursor: pointer;
  position: relative;
}
.upload-area svg {
  width: 25px;
  height: 25px;
  color: #999999;
}
.upload-area strong {
  display: block;
  font-size: 12px;
  color: #666666;
  font-weight: 550;
}
.upload-area small {
  display: block;
  font-size: 10px;
  color: #999999;
  margin-top: 5px;
}
.upload-area input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.upload-area:focus-within {
  outline: 2px solid #7060c9;
  outline-offset: 2px;
}
#resume-download {
  display: inline-block;
  font-size: 10px;
  margin-top: 7px;
}
[hidden] {
  display: none !important;
}
.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
  margin: 22px 0 16px;
}
.full {
  grid-column: 1/-1;
}
.resume-text {
  font-size: 11px;
  color: #666666;
  margin-bottom: 20px;
}
.resume-text summary {
  cursor: pointer;
}
.resume-text p {
  line-height: 1.6;
}
.inferred {
  background: #fafafa;
  padding: 15px;
  border-radius: 8px;
}
.inferred p {
  font-size: 11px;
  line-height: 1.7;
  color: #666666;
  white-space: pre-wrap;
}
.inferred h4 {
  font-size: 12px;
  font-weight: 550;
}
.dialog-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #e8e8e8;
  padding: 15px 25px;
  gap: 20px;
}
.dialog-footer > span {
  font-size: 10px;
  color: #666666;
  max-width: 390px;
}
#toast {
  position: fixed;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  background: #181925;
  color: white;
  max-width: 90vw;
  padding: 12px 18px;
  border-radius: 8px;
  box-shadow: 0 7px 35px #18192520;
  z-index: 100;
  font-size: 12px;
}
@keyframes enter {
  from {
    opacity: 0.5;
    transform: translateX(6px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
/* Small, purposeful motion; row geometry stays fixed while browsing. */
.icon-action {
  border-radius: 50%;
  transition:
    background 160ms var(--ease),
    color 160ms var(--ease),
    transform 160ms var(--ease);
}
.icon-action:active {
  transform: scale(0.92);
}
.primary,
.source-link {
  transition:
    background 180ms var(--ease),
    transform 180ms var(--ease);
}
.primary:active,
.source-link:active {
  transform: scale(0.97);
}
.source-link {
  background: var(--accent);
  border-radius: 999px;
  padding: 8px 12px;
}
.source-link:hover {
  background: #8580ef;
}
.source-link svg {
  width: 15px;
  height: 15px;
}
.primary svg {
  width: 16px;
  height: 16px;
}
.search-box,
.compact-filter,
label input,
label select,
label textarea,
.upload-area {
  transition:
    border-color 160ms var(--ease),
    background 160ms var(--ease);
}
.search-box:focus-within,
.compact-filter:focus-within {
  border-color: #7060c9;
  outline: 2px solid #eeedff;
  outline-offset: 1px;
}
.upload-area:hover {
  background: #f5f5f5;
  border-color: #999999;
}
#profile-open {
  background: #f5f5f5;
  color: var(--ink);
}
#profile-open:hover {
  background: #e8e8e8;
}
#count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 20px;
  padding: 0 6px;
  background: #f5f5f5;
  border-radius: 999px;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
.posted-text {
  font-variant-numeric: tabular-nums;
}
.details > * {
  animation: enter 220ms var(--ease) both;
}
.details > .match-card {
  animation-delay: 35ms;
}
.details > .detail-section {
  animation-delay: 65ms;
}
dialog[open] {
  animation: dialog-enter 220ms var(--ease) both;
}
dialog[open]::backdrop {
  animation: veil-enter 180ms ease both;
}
#toast:not([hidden]) {
  animation: toast-enter 180ms var(--ease) both;
}
#refresh[aria-busy="true"] svg {
  animation: spin 800ms linear infinite;
}
@keyframes dialog-enter {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes veil-enter {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes toast-enter {
  from {
    opacity: 0;
    transform: translate(-50%, 6px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (min-width: 1450px) {
  .workspace {
    grid-template-columns: minmax(500px, 1.6fr) minmax(380px, 1fr);
  }
  .job-row,
  .list-columns {
    grid-template-columns: minmax(200px, 1fr) 155px 70px;
  }
  .details {
    padding: 30px;
  }
}
@media (max-width: 1000px) {
  #app {
    padding: 0 18px;
  }
  .workspace {
    grid-template-columns: minmax(310px, 1fr) minmax(300px, 1fr);
  }
  .job-row,
  .list-columns {
    grid-template-columns: minmax(160px, 1fr) 65px;
  }
  .location-text,
  .list-columns > span:nth-child(2) {
    display: none;
  }
  .compact-filter input {
    width: 85px;
  }
  .details {
    padding: 20px;
  }
  .private-label {
    display: none;
  }
}
@media (max-width: 700px) {
  #app {
    padding: 0 12px;
  }
  .topbar {
    height: 56px;
  }
  .profile-status {
    display: none;
  }
  .filterbar {
    flex-wrap: wrap;
    gap: 6px;
  }
  .search-box {
    flex-basis: calc(100% - 40px);
    order: 0;
  }
  .filterbar > #clear {
    order: 1;
  }
  .compact-filter {
    order: 2;
    flex: 1;
    min-width: 0;
    padding: 0 8px;
    height: 32px;
    gap: 4px;
  }
  .compact-filter svg {
    width: 13px;
    height: 13px;
  }
  .compact-filter input,
  .compact-filter select {
    width: 100%;
    font-size: 10px;
  }
  .workspace {
    display: block;
    position: relative;
  }
  .list-pane {
    height: 100%;
  }
  .job-row,
  .list-columns {
    grid-template-columns: minmax(160px, 1fr) 90px 45px;
    padding-inline: 13px;
    gap: 8px;
  }
  .location-text,
  .list-columns > span:nth-child(2) {
    display: block;
  }
  .job-row {
    height: 56px;
    min-height: 56px;
    padding-block: 7px;
  }
  .location-text {
    font-size: 10px;
  }
  .role-text strong {
    font-size: 12px;
  }
  .company-mark {
    width: 27px;
    height: 27px;
  }
  .job-identity {
    gap: 8px;
  }
  .details {
    display: none;
    position: absolute;
    inset: 0;
    background: #ffffff;
    border: 0;
    z-index: 3;
    padding: 20px;
  }
  .workspace.has-selection .details {
    display: block;
  }
  .back-detail {
    display: inline-flex;
  }
  .statusbar {
    padding: 11px 0;
    font-size: 9px;
  }
  .statusbar > span:last-child {
    display: none;
  }
  .statusbar > span:first-child {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .fields {
    gap: 12px;
  }
  .dialog-heading {
    padding: 20px 18px 10px;
  }
  .dialog-intro {
    padding-inline: 18px;
  }
  .profile-scroll {
    padding-inline: 18px;
  }
  .dialog-footer {
    padding: 14px 18px;
  }
  .dialog-footer > span {
    max-width: 180px;
  }
  .details h2 {
    font-size: 23px;
  }
  .brand-divider {
    margin: 0 5px;
  }
}
@media (hover: none) {
  .icon-action .tip {
    position: static;
    background: none;
    color: inherit;
    opacity: 1;
    transform: none;
    padding: 0 0 0 5px;
    font-size: 9px;
    box-shadow: none;
    white-space: normal;
  }
  .icon-action {
    min-height: 44px;
    min-width: 44px;
  }
  .top-actions {
    gap: 0;
  }
  .top-actions .icon-action {
    flex-direction: column;
    gap: 3px;
    padding-inline: 7px;
  }
  .top-actions .tip {
    padding: 0;
    font-size: 8px;
  }
  .filterbar .tip {
    display: none;
  }
  .filterbar > #clear {
    min-width: 44px;
  }
  .filterbar > #clear:focus .tip {
    display: block;
    position: absolute;
    top: 35px;
    background: #181925;
    color: #fff;
    padding: 7px;
  }
  .job-row {
    min-height: 56px;
    height: 56px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.search-box,
.compact-filter {
  flex-direction: row;
}
.icon-action:focus .tip {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 700px) {
  .search-box {
    flex-basis: calc(100% - 50px);
  }
  .search-box,
  .compact-filter {
    height: 44px;
  }
}

/* Email sign-in and private agent credentials. */
#email-login-form,
#email-verify-form,
#unlock-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
#unlock-form {
  padding-top: 16px;
}
#unlock .primary {
  min-height: 44px;
}
#unlock input {
  min-height: 44px;
  font-size: 16px;
}
#signin-code {
  font-variant-numeric: tabular-nums;
  font-size: 24px !important;
  letter-spacing: 0.45em;
  text-align: center;
}
#unlock #email-message:empty {
  display: none;
}
#unlock #email-message {
  color: #666;
}
#local-access {
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
}
#local-access summary,
.account-settings summary {
  cursor: pointer;
}
.signin-secondary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.text-button {
  background: none;
  border: 0;
  padding: 8px 0;
  color: var(--ink);
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.account-settings {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 11px;
}
.account-settings summary {
  color: var(--ink);
  font-weight: 600;
}
.account-settings p {
  line-height: 1.6;
}
.new-agent {
  display: flex;
  align-items: end;
  gap: 10px;
  margin-top: 14px;
}
.new-agent label {
  flex: 1;
  min-width: 0;
}
.new-agent .primary {
  min-height: 34px;
}
#new-agent-key {
  background: #f5f5f5;
  border-radius: 8px;
  padding: 12px;
  margin-top: 12px;
}
#agent-secret {
  font-family: monospace;
}
.agent-key-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding: 8px 0;
}
.agent-key-row strong {
  display: block;
  color: var(--ink);
}
.agent-key-row small {
  display: block;
  margin-top: 4px;
}
@media (max-width: 700px) {
  .signin-content {
    padding: 26px;
  }
  .text-button {
    min-height: 44px;
  }
}
/* Saved searches and reversible job rejection. */
#settings-dialog {
  width: min(680px, calc(100vw - 32px));
  max-height: min(780px, calc(100dvh - 32px));
  padding: 0;
  overflow: hidden;
}
#settings-dialog[open] {
  display: flex;
  flex-direction: column;
}
.settings-scroll {
  overflow-y: auto;
  padding: 8px 26px 22px;
}
.depth-setting {
  display: flex;
  align-items: end;
  gap: 10px;
}
.depth-setting label {
  flex: 1;
}
#page-depth {
  width: 110px;
  margin-top: 8px;
}
.settings-help {
  color: var(--muted);
  line-height: 1.5;
  margin: 10px 0 24px;
  font-size: 11px;
}
.search-setting-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 10px 0;
  padding-bottom: 22px;
  animation: enter 0.22s var(--ease) both;
}
.search-setting-row input {
  flex: 1;
  min-width: 0;
  font-size: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  color: var(--ink);
  background: white;
}
.search-setting-row.is-saved .confirm-search {
  color: #5e54a4;
  opacity: 1;
}
.search-setting-row .icon-action {
  position: static;
  flex-shrink: 0;
}
.search-setting-row .tip {
  position: absolute;
  display: block;
  top: auto;
  bottom: 0;
  right: 0;
  max-width: 100%;
  padding: 3px 7px;
  line-height: 14px;
  background: #181925;
  color: white;
  font-size: 11px;
  white-space: nowrap;
  opacity: 0;
  transform: none;
  z-index: 2;
}
.search-setting-row .icon-action:not(:hover):not(:focus-visible) .tip,
.search-setting-row:has(.icon-action:focus-visible) .icon-action:not(:focus-visible) .tip {
  opacity: 0;
}
.search-setting-row .icon-action:disabled .tip {
  visibility: hidden;
}
#search-add {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}
.settings-footer {
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.settings-footer > span {
  max-width: none;
  line-height: 1.5;
}
#settings-reload {
  flex-shrink: 0;
}
.job-row.is-rejected .role-text,
.job-row.is-rejected .location-text,
.job-row.is-rejected .posted-text {
  color: var(--muted);
}
.job-row.is-rejected .company-mark {
  background: #f1f0f5;
  color: #827d91;
}
.detail-actions {
  margin-left: auto;
  display: flex;
  gap: 5px;
}
.detail-label {
  margin-left: 12px;
}
.detail-actions .back-detail {
  margin-left: 0;
}
.reject-action.is-rejected {
  background: #efedfa;
  color: #5e54a4;
}
.reject-action {
  transition:
    background 0.18s var(--ease),
    color 0.18s var(--ease),
    transform 0.18s var(--ease);
}
.sighting-dates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0 0 20px;
  font-size: 11px;
}
.sighting-dates dt {
  color: var(--muted);
  margin-bottom: 4px;
}
.sighting-dates dd {
  margin: 0;
  line-height: 1.5;
}
.detail-meta {
  flex-wrap: wrap;
  gap: 10px;
}
.detail-meta > span {
  font-size: 11px;
  color: var(--muted);
}
@media (max-width: 700px) {
  .settings-scroll {
    padding-inline: 18px;
  }
  .settings-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }
  .search-setting-row {
    gap: 3px;
  }
  .search-setting-row input,
  #page-depth {
    min-height: 44px;
    font-size: 16px;
  }
  .search-setting-row .icon-action {
    padding-inline: 4px;
    min-width: 44px;
    min-height: 44px;
  }
  #search-add {
    min-height: 44px;
  }
  .sighting-dates {
    gap: 10px;
  }
  .top-actions {
    flex-shrink: 0;
  }
  .top-actions .icon-action {
    width: 44px;
    min-width: 44px;
    padding-inline: 2px;
  }
  .top-actions .tip {
    width: 40px;
    max-width: 40px;
    text-align: center;
  }
}
@media (max-width: 470px) {
  .brand-divider,
  .section-name {
    display: none;
  }
}
