:root {
  --bg: #f4f5f9;
  --card: #ffffff;
  --border: #e2e5ef;
  --text: #1e1b2e;
  --muted: #6b7289;
  --accent: #5b52e0;
  --accent-2: #7c74f0;
  --ok: #16a34a;
  --warn: #d97706;
  --bad: #dc2626;
  --sidebar: #ffffff;
  --shadow: 0 8px 28px rgba(91, 82, 224, 0.1);
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
h1, h2, h3 { margin: 0 0 8px; }
.hidden { display: none !important; }
.muted { color: var(--muted); }

.brand-mark {
  width: 32px; height: 32px; border-radius: 10px;
  display: block; flex: none; object-fit: cover;
}
.brand-row { display: flex; align-items: center; gap: 10px; }
.brand-row h1 { margin: 0; color: var(--accent); }

.auth {
  max-width: 380px; margin: 48px auto; padding: 24px; background: var(--card);
  border: 1px solid var(--border); border-radius: 14px; display: flex; flex-direction: column; gap: 12px;
  box-shadow: var(--shadow);
}

.shell {
  display: grid; grid-template-columns: 240px 1fr; min-height: 100vh;
}
.sidebar {
  background: var(--sidebar); border-right: 1px solid var(--border);
  display: flex; flex-direction: column; padding: 18px 14px; gap: 16px;
  position: sticky; top: 0; height: 100vh;
}
.sidebar-brand { display: flex; align-items: center; gap: 10px; padding: 4px 6px 8px; }
.sidebar-brand b { display: block; font-size: 16px; color: var(--accent); }
.sidebar-brand .muted { font-size: 11px; }
.side-nav { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.side-nav a {
  text-decoration: none; color: var(--muted); padding: 10px 12px; border-radius: 10px;
  font-weight: 600; font-size: 13px; border-left: 3px solid transparent;
}
.side-nav a:hover { background: #f4f5f9; color: var(--text); }
.side-nav a.active {
  background: #ebe9ff; color: var(--accent); border-left-color: var(--accent);
}
.sidebar-foot { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
.sidebar-user { display: flex; flex-direction: column; gap: 6px; padding: 0 4px; font-size: 12px; }

.main { display: flex; flex-direction: column; min-width: 0; }
.topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 20px; border-bottom: 1px solid var(--border); background: rgba(255,255,255,0.9);
  position: sticky; top: 0; z-index: 5; backdrop-filter: blur(8px);
}
.search-wrap { flex: 1; max-width: 420px; }
.search-wrap input {
  width: 100%; border: 1px solid var(--border); border-radius: 999px; padding: 10px 16px;
  background: #f4f5f9; font: inherit;
}
#view { padding: 20px; display: flex; flex-direction: column; gap: 14px; }

.view-head {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap;
}
.view-head h2 { margin: 0; font-size: 22px; color: var(--text); }

.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

.credits {
  font-size: 12px; font-weight: 700; color: var(--accent);
  padding: 4px 10px; border-radius: 6px; border: 1px solid #cfcafc; background: #ebe9ff;
}
.credits.warn { color: var(--warn); border-color: #f3d39a; background: #fff4e0; }
.credits.bad { color: var(--bad); border-color: #f5c2bd; background: #fdecea; }

.btn {
  font: inherit; border: 1px solid var(--border); background: #fff; border-radius: 8px; padding: 7px 12px;
  cursor: pointer; font-weight: 600; color: var(--text); text-decoration: none; display: inline-block;
}
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 6px 16px rgba(91, 82, 224, 0.25); }
.btn.small { padding: 3px 8px; font-size: 12px; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }

.field { display: flex; flex-direction: column; gap: 4px; }
.field > span { font-weight: 600; font-size: 12px; }
input, select {
  font: inherit; border: 1px solid var(--border); border-radius: 8px; padding: 7px 8px; width: 100%; background: #fff;
}

.error { background: #fdecea; color: var(--bad); border: 1px solid #f5c2bd; padding: 8px; border-radius: 8px; }
.info { background: #ebe9ff; color: var(--accent); border: 1px solid #cfcafc; padding: 8px; border-radius: 8px; }

.meeting-alerts {
  display: flex; flex-direction: column; gap: 8px;
  padding: 12px 20px 0;
}
.meeting-alerts.hidden { display: none; }
.meeting-alert {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 12px 14px; border-radius: 12px; border: 1px solid #f3d39a;
  background: linear-gradient(135deg, #fff4e0, #fffaf0); color: #8a5a00;
  box-shadow: 0 4px 14px rgba(196, 146, 42, 0.12);
  animation: rise 0.25s ease;
}
.meeting-alert.urgent {
  border-color: #f5c2bd; background: linear-gradient(135deg, #fdecea, #fff5f4); color: var(--bad);
}
.meeting-alert-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.meeting-alert-main b { font-size: 14px; }
.meeting-alert-main span { font-size: 12px; opacity: 0.9; }
.meeting-alert .actions { gap: 6px; }

/* ââ Kanban ââ */
.kanban {
  display: grid;
  grid-template-columns: repeat(7, minmax(190px, 1fr));
  gap: 12px;
  align-items: stretch;
  overflow-x: auto;
  padding-bottom: 4px;
}
.column {
  background: #eef0f6; border: 1px solid var(--border); border-radius: 14px; padding: 0;
  min-height: 280px; display: flex; flex-direction: column; min-width: 190px;
}
.column h3 {
  font-size: 12px; margin: 0; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em;
  padding: 12px 12px 10px; display: flex; justify-content: space-between; align-items: center;
  position: sticky; top: 0; background: #eef0f6; border-bottom: 1px solid var(--border); border-radius: 14px 14px 0 0; z-index: 1;
}
.column .count {
  font-weight: 700; background: #fff; border: 1px solid var(--border); border-radius: 999px;
  padding: 1px 7px; font-size: 11px; color: var(--text);
}
.column-body {
  display: flex; flex-direction: column; gap: 8px; padding: 10px; overflow-y: auto; max-height: 70vh;
}
.empty-col { margin: 8px; font-size: 12px; text-align: center; }

.job-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 12px;
  display: flex; flex-direction: column; gap: 8px;
  box-shadow: 0 2px 8px rgba(30, 27, 46, 0.04);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.job-card:hover { box-shadow: var(--shadow); transform: translateY(-1px); }
.job-card.is-fav { border-color: #f3d39a; }
.job-card-head { display: flex; justify-content: space-between; gap: 6px; align-items: flex-start; }
.job-card b { font-size: 13px; }
.job-card .meta { font-size: 12px; color: var(--muted); margin-top: 2px; }
.fav-btn {
  border: none; background: transparent; cursor: pointer; font-size: 16px; color: #c5ced6; line-height: 1; padding: 0 2px;
}
.fav-btn.on { color: #d38b00; }
.chips { display: flex; flex-wrap: wrap; gap: 4px; }
.chip {
  padding: 2px 8px; border-radius: 999px; font-size: 11px; border: 1px solid var(--border); background: #fff;
  text-decoration: none; color: inherit; display: inline-flex; align-items: center; gap: 4px;
}
.chip.ok { background: #e6f4ea; border-color: #b7dfc2; color: var(--ok); }
.chip.mid { background: #ebe9ff; border-color: #cfcafc; color: var(--accent); }
.chip.warn { background: #fff4e0; border-color: #f3d39a; color: var(--warn); }
.chip.bad { background: #fdecea; border-color: #f5c2bd; color: var(--bad); }
.job-card .actions select { width: auto; min-width: 0; padding: 3px 6px; font-size: 12px; }

.card {
  background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 16px;
  display: flex; flex-direction: column; gap: 10px; box-shadow: 0 2px 10px rgba(30, 27, 46, 0.04);
}

/* ââ Profile / Plan ââ */
.profile-layout { display: flex; flex-direction: column; gap: 14px; }
.profile-hero {
  display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center;
}
.profile-hero-main { display: flex; gap: 14px; align-items: center; min-width: 0; }
.profile-hero-main .meta { font-size: 13px; color: var(--muted); margin-top: 2px; }
.profile-hero-side { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.avatar {
  width: 64px; height: 64px; border-radius: 50%; flex: none;
  background: linear-gradient(145deg, var(--accent), #8b83f5); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 20px;
}
.profile-tabs {
  display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 1px solid var(--border); padding-bottom: 0;
}
.profile-tabs button {
  border: none; background: transparent; font: inherit; font-weight: 600; color: var(--muted);
  padding: 10px 14px; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.profile-tabs button.active { color: var(--text); border-bottom-color: var(--accent); }
.profile-tabs button:hover { color: var(--accent); }

.sub-grid { display: grid; grid-template-columns: 1.2fr 0.9fr; gap: 14px; align-items: stretch; }
.usage-panel { position: relative; overflow: hidden; gap: 14px; }
.tier-ribbon {
  position: absolute; top: 14px; right: -28px; transform: rotate(35deg);
  background: var(--accent); color: #fff; font-size: 10px; font-weight: 800;
  letter-spacing: 0.06em; padding: 4px 36px; box-shadow: 0 4px 10px rgba(91, 82, 224, 0.3);
}
.usage-block { display: flex; flex-direction: column; gap: 6px; }
.usage-head { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; font-weight: 600; }
.meter { height: 8px; background: var(--border); border-radius: 4px; overflow: hidden; }
.meter.tall { height: 12px; border-radius: 6px; }
.meter > div { height: 100%; background: linear-gradient(90deg, var(--accent-2), var(--accent)); transition: width 0.3s ease; }
.usage-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 700px) {
  .usage-stats { grid-template-columns: 1fr 1fr; }
}
.usage-stat {
  background: #f4f5f9; border: 1px solid var(--border); border-radius: 10px; padding: 12px;
  display: flex; flex-direction: column; gap: 4px;
}
.usage-stat b { font-size: 16px; color: var(--text); }
.usage-stat.over b { color: var(--bad); }
.usage-stat.over { border-color: #f5c2bd; background: #fdecea; }

.upgrade-panel {
  background: linear-gradient(165deg, #5b52e0 0%, #7c74f0 55%, #8f88f5 100%);
  color: #fff; border: none; gap: 12px;
  box-shadow: 0 12px 28px rgba(91, 82, 224, 0.28);
}
.upgrade-panel .upgrade-kicker { font-size: 13px; font-weight: 700; opacity: 0.9; }
.upgrade-panel .plan-price { color: #fff; font-size: 28px; }
.upgrade-panel .plan-price span { font-size: 14px; font-weight: 600; opacity: 0.85; }
.upgrade-panel .plan-feats { color: rgba(255,255,255,0.92); list-style: none; padding-left: 0; }
.upgrade-panel .plan-feats li { padding-left: 22px; position: relative; }
.upgrade-panel .plan-feats li::before {
  content: 'â'; position: absolute; left: 0; color: #fff; font-weight: 800;
}
.upgrade-panel .btn.primary {
  background: #fff; color: var(--accent); border-color: #fff; text-align: center; padding: 12px;
}
.upgrade-panel .muted { color: rgba(255,255,255,0.75); }
.upgrade-panel .chip.ok { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.35); color: #fff; }

.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.stat-row > div {
  background: #f4f5f9; border: 1px solid var(--border); border-radius: 10px; padding: 10px; text-align: center;
  display: flex; flex-direction: column; gap: 2px;
}
.stat-row b { font-size: 18px; color: var(--accent); }
.stat-row span { font-size: 11px; color: var(--muted); }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.plan-card {
  border: 1px solid var(--border); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 10px;
  background: var(--card);
}
.plan-card.current { border-color: var(--accent); box-shadow: 0 0 0 2px #5b52e033; }
.plan-card-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.plan-card h3 { margin: 0; }
.plan-price { margin: 0; font-size: 20px; font-weight: 700; color: var(--accent); }
.plan-feats { margin: 0; padding-left: 18px; color: var(--muted); font-size: 13px; display: flex; flex-direction: column; gap: 4px; }
.btn.link { border: none; background: none; padding: 0; color: var(--accent); font-weight: 700; cursor: pointer; }
ul.plain { margin: 0; padding-left: 18px; }

.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 10px; }
.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th, .table td { padding: 10px 12px; border-bottom: 1px solid var(--border); text-align: left; }
.table th { background: #f4f5f9; }
.table tr:last-child td { border-bottom: none; }

/* ââ Board view toggle + list ââ */
.view-toggle {
  display: inline-flex; gap: 0; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: #fff;
  flex: none;
}
.view-toggle .btn {
  border: none; border-radius: 0; box-shadow: none; background: transparent; color: var(--muted);
  padding: 6px 12px;
}
.view-toggle .btn + .btn { border-left: 1px solid var(--border); }
.view-toggle .btn.active {
  background: var(--accent); color: #fff; font-weight: 700;
}
.view-toggle .btn:hover:not(.active) { background: #f4f5f9; color: var(--text); }

.job-list-wrap {
  background: var(--card); box-shadow: 0 2px 10px rgba(30, 27, 46, 0.04);
}
.job-list { min-width: 960px; }
.job-list thead th {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted);
  position: sticky; top: 0; z-index: 1;
}
.job-list tbody tr:hover { background: #f8f9fc; }
.job-list tbody tr.is-fav { background: #fffaf0; }
.job-list .col-date { white-space: nowrap; color: var(--muted); width: 100px; }
.job-list .col-title { min-width: 220px; }
.job-list .col-company { min-width: 120px; }
.job-list .col-link { max-width: 220px; }
.job-list .col-match, .job-list .col-cv { white-space: nowrap; }
.job-list .col-status { width: 130px; }
.job-list .col-actions { white-space: nowrap; }
.row-actions { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.job-title-cell { display: flex; gap: 8px; align-items: flex-start; }
.job-title-cell b { font-size: 13px; }
.job-title-cell .meta { font-size: 12px; color: var(--muted); margin-top: 2px; }
.job-link {
  color: var(--accent); text-decoration: none; font-size: 12px; word-break: break-all;
}
.job-link:hover { text-decoration: underline; }
.empty-list { margin: 0; padding: 24px; text-align: center; }

.status-select {
  width: auto; min-width: 108px; padding: 4px 8px; font-size: 12px; font-weight: 700;
  border-radius: 999px; border: 1px solid var(--border); background: #fff; cursor: pointer;
}
.status-select.status-applied,
.status-select.status-offer { background: #e6f4ea; border-color: #b7dfc2; color: var(--ok); }
.status-select.status-interview { background: #ebe9ff; border-color: #cfcafc; color: var(--accent); }
.status-select.status-ready { background: #fff4e0; border-color: #f3d39a; color: var(--warn); }
.status-select.status-rejected,
.status-select.status-withdrawn { background: #fdecea; border-color: #f5c2bd; color: var(--bad); }
.status-select.status-saved { background: #f4f5f9; color: var(--muted); }

/* ââ Messages ââ */
.split {
  display: grid;
  grid-template-columns: minmax(220px, 300px) 1fr;
  gap: 12px;
  align-items: start;
  min-height: 480px;
}
.split-list {
  background: var(--card); border: 1px solid var(--border); border-radius: 14px;
  max-height: 75vh; overflow-y: auto; box-shadow: 0 2px 10px rgba(30, 27, 46, 0.04);
}
.split-list-head {
  padding: 12px 14px; font-weight: 700; font-size: 13px; border-bottom: 1px solid var(--border);
  color: var(--accent); position: sticky; top: 0; background: var(--card); z-index: 1;
}
.msg-job {
  display: flex; flex-direction: column; gap: 4px; width: 100%; text-align: left; border: none; border-bottom: 1px solid var(--border);
  background: transparent; padding: 12px 14px; cursor: pointer; font: inherit;
}
.msg-job:last-child { border-bottom: none; }
.msg-job.active { background: #ebe9ff; }
.msg-job-top { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.split-main {
  background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 14px;
  display: flex; flex-direction: column; gap: 10px; min-height: 480px;
  box-shadow: 0 2px 10px rgba(30, 27, 46, 0.04);
}
.thread-head { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.thread { display: flex; flex-direction: column; gap: 8px; max-height: 280px; overflow-y: auto; flex: 1; }
.bubble {
  border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; font-size: 13px;
  white-space: pre-wrap; background: #fafbff;
}
.bubble.inbound { border-left: 3px solid var(--accent); }
.bubble.outbound { border-left: 3px solid var(--ok); background: #f3faf5; }
.bubble .who { font-size: 11px; color: var(--muted); margin-bottom: 4px; display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.draft-panel {
  border: 1px solid #cfcafc; background: #f4f3ff; border-radius: 12px; padding: 12px;
  display: flex; flex-direction: column; gap: 8px;
}
.draft-head { display: flex; justify-content: space-between; align-items: center; }
.draft-body { white-space: pre-wrap; margin: 0; font: inherit; max-height: 160px; overflow-y: auto; }
.composer {
  border: 1px dashed var(--border); border-radius: 12px; padding: 12px;
  display: flex; flex-direction: column; gap: 8px; background: #fafbff;
}

/* ââ Calendar ââ */
.cal-layout-mock {
  display: grid;
  grid-template-columns: 1fr minmax(240px, 280px);
  gap: 14px;
  align-items: start;
}
.cal-toolbar {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-bottom: 4px;
}
.cal-nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.cal-nav .cal-range { margin: 0 4px; font-size: 18px; color: var(--text); font-weight: 800; }
.btn.icon { width: 32px; padding: 4px 0; text-align: center; }
.seg-control {
  display: inline-flex; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; background: #fff;
}
.seg-control button {
  border: none; background: transparent; font: inherit; font-weight: 700; font-size: 12px;
  padding: 8px 14px; cursor: pointer; color: var(--muted);
}
.seg-control button.active { background: var(--accent); color: #fff; }
.seg-control button:not(.active):hover { background: #f4f5f9; color: var(--text); }

.cal-dow {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 0;
  font-size: 11px; font-weight: 700; color: var(--muted); text-align: center; text-transform: uppercase;
  border-bottom: 1px solid var(--border); padding-bottom: 8px; margin-bottom: 4px;
}
.cal-grid {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 0;
  border-top: 1px solid var(--border); border-left: 1px solid var(--border);
}
.cal-day {
  min-height: 108px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: #fff; padding: 6px; display: flex; flex-direction: column; gap: 4px; align-items: stretch;
  cursor: default; font: inherit; text-align: left;
}
.cal-day.empty { background: #fafbfc; }
.cal-day.today { background: #f7f6ff; }
.cal-day.today .num {
  background: var(--accent); color: #fff; border-radius: 50%; width: 24px; height: 24px;
  display: grid; place-items: center;
}
.cal-day.selected { background: #f0effc; }
.cal-day .num { font-size: 12px; font-weight: 700; color: var(--muted); line-height: 1.2; }
.cal-pills { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cal-pill {
  border: none; border-radius: 6px; padding: 3px 6px; font: inherit; font-size: 10px; font-weight: 700;
  cursor: pointer; text-align: left; display: flex; flex-direction: column; gap: 0; line-height: 1.25;
  color: #fff; width: 100%; overflow: hidden;
}
.cal-pill-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal-pill-time { opacity: 0.9; font-weight: 600; font-size: 9px; }
.cal-pill.tone-purple { background: #5b52e0; }
.cal-pill.tone-green { background: #2f9e6b; }
.cal-pill.tone-blue { background: #2f6fed; }
.cal-pill.tone-gold { background: #c9922a; }
.cal-pill.active { outline: 2px solid #1e1b2e; outline-offset: 1px; }
.cal-more { font-size: 10px; color: var(--muted); padding: 0 2px; }

.cal-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.cal-week-col {
  border: 1px solid var(--border); border-radius: 10px; padding: 8px; min-height: 220px; background: #fafbff;
}
.cal-week-col.today { border-color: var(--accent); background: #f7f6ff; }
.cal-week-head { font-size: 12px; font-weight: 700; margin-bottom: 8px; color: var(--muted); }
.cal-day-list { display: flex; flex-direction: column; gap: 8px; }
.cal-day-row {
  display: grid; grid-template-columns: 140px 1fr auto; gap: 10px; align-items: center;
  border: none; border-left: 4px solid var(--accent); border-radius: 10px; padding: 12px 14px;
  background: #fafbff; cursor: pointer; font: inherit; text-align: left;
}
.cal-day-row.tone-green { border-left-color: #2f9e6b; }
.cal-day-row.tone-blue { border-left-color: #2f6fed; }
.cal-day-row.tone-gold { border-left-color: #c9922a; }
.cal-day-row-time { font-weight: 700; font-size: 13px; color: var(--accent); }
.cal-day-row-title { font-weight: 700; }

.cal-upcoming { max-height: 80vh; overflow-y: auto; }
.cal-up-list { display: flex; flex-direction: column; }
.cal-up-item {
  display: flex; gap: 12px; align-items: flex-start; padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.cal-up-item:last-child { border-bottom: none; }
.cal-up-avatar {
  width: 36px; height: 36px; border-radius: 50%; flex: none; color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 14px;
}
.cal-up-avatar.tone-purple { background: #5b52e0; }
.cal-up-avatar.tone-green { background: #2f9e6b; }
.cal-up-avatar.tone-blue { background: #2f6fed; }
.cal-up-avatar.tone-gold { background: #c9922a; }
.cal-up-when { font-size: 12px; color: var(--muted); }
.cal-up-title { font-size: 13px; font-weight: 700; margin: 2px 0 4px; }
.cal-up-link {
  border: none; background: none; padding: 0; color: var(--accent-2); font: inherit; font-weight: 700;
  font-size: 12px; cursor: pointer; text-decoration: none;
}

.modal-backdrop {
  position: fixed; inset: 0; background: rgba(30, 27, 46, 0.45); z-index: 50;
  display: flex; align-items: center; justify-content: center; padding: 16px;
  animation: fadeIn 0.15s ease;
}
.modal-backdrop.glass { background: rgba(30, 27, 46, 0.28); backdrop-filter: blur(6px); }
.modal {
  width: min(520px, 100%); max-height: 90vh; overflow-y: auto;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
  animation: rise 0.18s ease;
}
.event-detail { position: relative; width: min(420px, 100%); gap: 14px; }
.ev-detail-close {
  position: absolute; top: 10px; right: 12px; border: none; background: transparent;
  font-size: 22px; line-height: 1; cursor: pointer; color: var(--muted);
}
.ev-detail-meta { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.ev-detail-meta > div { display: grid; grid-template-columns: 88px 1fr; gap: 8px; font-size: 13px; }
.ev-detail-meta dt { margin: 0; color: var(--muted); font-weight: 600; }
.ev-detail-meta dd { margin: 0; font-weight: 600; }
.ev-detail-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.btn.danger-outline { color: var(--bad); border-color: #f5c2bd; background: #fff; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.google-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 12px 14px; margin: 0 0 14px; border: 1px solid var(--border); border-radius: 12px;
  background: linear-gradient(180deg, #fff, #f7f8fc);
}
.google-bar.connected { border-color: #c7e7d0; background: linear-gradient(180deg, #f4fbf6, #fff); }
.google-bar b { display: block; margin-bottom: 2px; }

.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 8px; }
textarea {
  font: inherit; border: 1px solid var(--border); border-radius: 8px; padding: 7px 8px; width: 100%;
  min-height: 90px; resize: vertical;
}

@media (max-width: 960px) {
  .shell { grid-template-columns: 1fr; }
  .sidebar { position: static; height: auto; border-right: none; border-bottom: 1px solid var(--border); }
  .side-nav { flex-direction: row; flex-wrap: wrap; }
  .side-nav a { border-left: none; border-bottom: 2px solid transparent; }
  .side-nav a.active { border-bottom-color: var(--accent); }
  .sidebar-foot { flex-direction: row; align-items: center; flex-wrap: wrap; }
  .kanban { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
  .cal-layout-mock, .split, .sub-grid, .profile-hero { grid-template-columns: 1fr; }
  .cal-week { grid-template-columns: 1fr; }
  .profile-hero-side { align-items: flex-start; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .kanban { grid-template-columns: 1fr; }
  .cal-day { min-height: 72px; }
  .cal-pill-time { display: none; }
  .cal-day-row { grid-template-columns: 1fr; }
  .topbar { flex-direction: column; align-items: stretch; }
  .search-wrap { max-width: none; }
}

.gate {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #f5f6fa;
  color: #111827;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
}
.gate.is-auth .topnav,
.gate.is-auth .hero,
.gate.is-auth .site-foot { display: none; }
.topnav { display: flex; justify-content: center; padding: 22px 16px 8px; }
.topnav-links { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; justify-content: center; }
.nav-link, .site-foot button, .auth-switch button, .back, .bt-eye, .role-card {
  font: inherit; background: none; border: 0; cursor: pointer; color: inherit;
}
.nav-link { color: #6b7280; font-weight: 600; font-size: 14px; padding: 4px 0; }
.nav-link.is-current { color: #111827; font-weight: 800; }
.nav-link.nav-account { color: #1f2937; }
.nav-split { width: 1px; height: 14px; background: #d1d5db; }
.hero {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 24px 20px 40px;
}
.hero h1 { margin: 18px 0 8px; font-size: 44px; line-height: 1.15; letter-spacing: -0.03em; font-weight: 800; color: #111827; }
.hero p { margin: 0; color: #4b5563; font-size: 16px; }
.hero-actions { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; justify-content: center; }
.soon { margin-top: 16px; color: #6b7280; font-size: 13px; }
.gate-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid #e5e7eb; background: #fff; color: #111827; border-radius: 10px;
  padding: 12px 18px; font: inherit; font-weight: 700; font-size: 14px; cursor: pointer;
}
.gate-btn.primary { background: #7b5cff; border-color: #7b5cff; color: #fff; box-shadow: 0 8px 18px rgba(123, 92, 255, 0.28); }
.gate-btn.primary:hover { background: #6a48f5; }
.gate-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.site-foot { padding: 12px 16px 28px; text-align: center; color: #6b7280; }
.foot-links, .foot-social { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; }
.foot-links { margin-bottom: 12px; }
.foot-links button, .foot-social a, .foot-social button {
  color: #6b7280; text-decoration: none; font-size: 13px; display: inline-flex; align-items: center; gap: 6px;
}
.foot-social a:first-of-type, .foot-social button:first-child { color: #1d9bf0; }
.foot-social a[href^="mailto"] { color: #e11d48; }
.foot-social button:last-child { color: #0a66c2; }
.site-foot p { margin: 14px 0 0; font-size: 12px; color: #9ca3af; }
.auth-screen {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 16px; gap: 14px;
}
.auth-logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 18px; color: #111827; }
.mark { display: inline-flex; line-height: 0; }
.auth-card {
  width: min(440px, 100%);
  background: #fff;
  border: 1px solid #eef0f4;
  border-radius: 22px;
  box-shadow: 0 18px 50px rgba(17, 24, 39, 0.06);
  padding: 12px 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.auth-card h1 { margin: 0; text-align: center; font-size: 26px; letter-spacing: -0.03em; color: #111827; }
.auth-sub { margin: 0 0 4px; text-align: center; color: #6b7280; font-size: 14px; }
.back { align-self: flex-start; width: 32px; height: 32px; border-radius: 8px; color: #111827; display: grid; place-items: center; margin-left: -6px; }
.back:hover { background: #f3f4f6; }
.bt-field {
  position: relative; display: block;
}
.bt-field input {
  width: 100%; height: 42px; border: 1px solid #e5e7eb; border-radius: 12px;
  padding: 0 44px; font: inherit; font-size: 14px; color: #111827; background: #fff;
}
.bt-field input::placeholder { color: #9ca3af; }
.bt-field input:focus { outline: 2px solid rgba(123, 92, 255, 0.35); border-color: #7b5cff; }
.bt-icon, .bt-eye {
  position: absolute; top: 0; height: 42px; display: grid; place-items: center; color: #9ca3af;
}
.bt-icon { left: 14px; pointer-events: none; }
.bt-eye { right: 8px; width: 36px; }
.bt-eye .eye-off { display: none; }
.bt-eye.is-shown .eye-on { display: none; }
.bt-eye.is-shown .eye-off { display: block; }
.role-label {
  margin: 4px 0 0; font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: #9ca3af;
}
.role-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.role-card {
  text-align: left; border: 1.5px solid #e5e7eb; border-radius: 12px; padding: 8px 10px;
  background: #fff; display: flex; flex-direction: column; gap: 2px;
}
.role-card strong { font-size: 14px; color: #111827; }
.role-card span { font-size: 12px; line-height: 1.35; color: #9ca3af; font-weight: 500; }
.role-card.is-selected { border-color: #7b5cff; box-shadow: 0 0 0 1px #7b5cff; }
.role-card.is-selected strong { color: #7b5cff; }
.auth-error, .auth-note { border-radius: 10px; padding: 10px 12px; font-size: 13px; }
.auth-error { background: #fdecea; color: #dc2626; }
.auth-note { background: #f3efff; color: #5b46d6; }
.gate-submit { width: 100%; height: 44px; border-radius: 12px; margin-top: 2px; font-size: 15px; }
.auth-switch { margin: 2px 0 0; text-align: center; color: #6b7280; font-size: 14px; }
.auth-switch button { color: #7b5cff; font-weight: 700; padding: 0; }
@media (max-width: 640px) {
  .hero h1 { font-size: 32px; }
  .role-grid { grid-template-columns: 1fr; }
  .auth-card { padding: 16px; }
}

.bidder {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 248px 1fr;
  background: #f4f5f8;
  color: #1c2130;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
}
.bidder.collapsed { grid-template-columns: 0 1fr; }
.bidder.collapsed .b-side { visibility: hidden; overflow: hidden; padding: 0; border: 0; }
.b-side {
  background: #fff;
  border-right: 1px solid #eceef3;
  display: flex;
  flex-direction: column;
  height: 100vh;
  position: sticky;
  top: 0;
  padding: 16px 12px 14px;
}
.b-brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 16px; padding: 2px 8px 8px; }
.s-brand { position: relative; margin: 0 0 6px; }
.s-brand-btn { width: 100%; display: flex; align-items: center; gap: 10px; border: 0; background: transparent; border-radius: 12px; padding: 6px 8px; cursor: pointer; text-align: left; font: inherit; color: inherit; }
.s-brand-btn:hover, .s-brand-btn[aria-expanded="true"] { background: #f3f4f6; }
.s-brand-copy { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.15; }
.s-brand-copy strong { font-size: 15px; font-weight: 800; color: #111827; }
.s-brand-copy span { margin-top: 2px; font-size: 13px; font-weight: 600; color: #6b7280; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-brand-chevron { flex: none; color: #9ca3af; }
.s-brand-menu { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 20; background: #fff; border: 1px solid #eceef3; border-radius: 16px; box-shadow: 0 16px 40px rgba(17, 24, 39, 0.12); padding: 8px; display: flex; flex-direction: column; gap: 2px; }
.s-brand-profile { width: 100%; display: flex; align-items: center; gap: 10px; border: 0; background: transparent; border-radius: 12px; padding: 8px; cursor: pointer; text-align: left; font: inherit; }
.s-brand-profile.is-on { background: #f4f0ff; }
.s-brand-avatar { width: 36px; height: 36px; border-radius: 50%; background: #eceaf3; color: #9aa1ad; display: grid; place-items: center; flex: none; }
.s-switch-text { min-width: 0; display: flex; flex-direction: column; }
.s-switch-text strong { font-size: 14px; font-weight: 700; color: #111827; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-switch-text span { font-size: 12px; font-weight: 500; color: #9ca3af; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-switch-new { display: flex; align-items: center; gap: 10px; width: 100%; border: 0; background: transparent; border-radius: 12px; padding: 8px; color: #111827; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; text-align: left; }
.s-switch-new:hover { background: #f7f7f8; }
.s-switch-add { width: 32px; height: 32px; border-radius: 50%; border: 1.5px dashed #c4b5fd; background: #fff; color: #7b5cff; display: grid; place-items: center; flex: none; }
.b-nav { display: flex; flex-direction: column; gap: 2px; flex: 1; min-height: 0; overflow: auto; }
.b-section {
  margin: 16px 10px 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9aa1ad;
}
.b-nav button {
  display: flex; align-items: center; gap: 10px;
  width: 100%; border: 0; background: transparent; color: #3d4453;
  border-radius: 10px; padding: 9px 10px; font: inherit; font-size: 14px; font-weight: 600;
  text-align: left; cursor: pointer;
}
.b-nav button svg { flex: none; color: #6b7280; }
.b-nav button:hover { background: #f6f7f9; }
.b-nav button.active { background: #f2f3f6; color: #111827; }
.b-nav button.active svg { color: #111827; }
.b-refer {
  margin-top: 12px;
  display: flex; gap: 10px; align-items: flex-start;
  border: 1px solid #eceef3; border-radius: 14px; padding: 12px;
  background: #fafbfc;
}
.b-refer-icon {
  width: 32px; height: 32px; border-radius: 10px; background: #f3efff; color: #7b5cff;
  display: grid; place-items: center; flex: none;
}
.b-refer strong { display: block; font-size: 13px; }
.b-refer span span { display: block; margin-top: 2px; color: #8b93a3; font-size: 12px; line-height: 1.35; }
.b-main { min-width: 0; display: flex; flex-direction: column; }
.b-top {
  height: 60px; background: #fff; border-bottom: 1px solid #eceef3;
  display: flex; align-items: center; justify-content: space-between; padding: 0 18px 0 10px;
  position: sticky; top: 0; z-index: 4;
}
.b-top-left, .b-top-right { display: flex; align-items: center; gap: 8px; }
.b-icon-btn, .b-user, .b-picker-btn, .b-refresh, .b-menu button {
  font: inherit; background: #fff; border: 0; cursor: pointer; color: inherit;
}
.b-icon-btn {
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: #4b5563;
}
.b-icon-btn:hover, .b-user:hover { background: #f4f5f8; }
.b-picker { position: relative; }
.b-picker-btn {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid #e6e8ee; border-radius: 10px; padding: 7px 10px; color: #4b5563; font-size: 13px; font-weight: 600;
}
.b-pop { position: relative; }
.b-user { display: flex; align-items: center; gap: 8px; border-radius: 12px; padding: 4px 8px 4px 4px; }
.b-avatar {
  width: 32px; height: 32px; border-radius: 50%; background: #7b5cff; color: #fff;
  display: grid; place-items: center; font-size: 13px; font-weight: 800;
}
.b-user-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }
.b-user-text strong { font-size: 13px; }
.b-user-text span { font-size: 11px; color: #8b93a3; font-weight: 600; }
.b-menu {
  position: absolute; top: calc(100% + 6px); right: 0; min-width: 200px;
  background: #fff; border: 1px solid #eceef3; border-radius: 12px;
  box-shadow: 0 12px 32px rgba(17, 24, 39, 0.08); padding: 6px; z-index: 6;
}
.b-picker .b-menu { left: 0; right: auto; }
.b-menu button {
  display: block; width: 100%; text-align: left; border-radius: 8px; padding: 8px 10px; font-size: 13px; font-weight: 600;
}
.b-menu button:hover, .b-menu button.active { background: #f4f5f8; }
.b-menu p { margin: 8px 10px; color: #8b93a3; font-size: 13px; }
.b-content { padding: 28px 32px 40px; }
.b-content:has(#s-detail:not(.hidden)),
.b-content:has(#b-detail:not(.hidden)),
.b-content:has(#s-create:not(.hidden)) {
  padding-top: 12px;
}
.b-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 22px; }
.b-head h1, .b-placeholder h1 {
  margin: 0; display: flex; align-items: center; gap: 8px; font-size: 22px; letter-spacing: -0.02em;
}
.b-head p, .b-placeholder p { margin: 6px 0 0; color: #6b7280; font-size: 14px; max-width: 640px; }
.b-refresh {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid #e6e8ee; border-radius: 10px; padding: 8px 12px; font-size: 13px; font-weight: 700; color: #374151;
}
.b-refresh:disabled { opacity: 0.6; cursor: not-allowed; }
.b-cards { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; }
.b-empty, .b-card {
  background: #fff; border: 1px solid #eef0f4; border-radius: 16px;
  box-shadow: 0 10px 28px rgba(20, 24, 40, 0.05);
}
.b-empty { padding: 28px; color: #6b7280; max-width: 420px; }
.b-empty strong { display: block; color: #111827; margin-bottom: 4px; }
.b-card { width: min(340px, 100%); padding: 16px 16px 12px; text-align: left; cursor: pointer; }
.b-card.is-selected { border-color: #d9d2ff; box-shadow: 0 10px 28px rgba(123, 92, 255, 0.12); }
.b-card-top { display: flex; gap: 10px; align-items: center; }
.b-card-avatar {
  position: relative; width: 40px; height: 40px; border-radius: 50%; background: #efeaff; color: #6d4dff;
  display: grid; place-items: center; font-weight: 800; flex: none;
}
.b-card-avatar i {
  position: absolute; right: -2px; bottom: -2px; width: 16px; height: 16px; border-radius: 50%;
  background: #7b5cff; color: #fff; display: grid; place-items: center; border: 2px solid #fff;
}
.b-card-top strong { display: block; font-size: 14px; }
.b-card-top span { display: block; color: #8b93a3; font-size: 12px; margin-top: 1px; }
.b-complete { display: flex; align-items: center; gap: 8px; margin: 14px 0 4px; color: #9aa1ad; font-size: 10px; font-weight: 700; letter-spacing: 0.06em; }
.b-complete b { margin-left: auto; color: #7b5cff; letter-spacing: 0; font-size: 12px; }
.b-bar { height: 6px; border-radius: 999px; background: #ece9ff; overflow: hidden; }
.b-bar span { display: block; height: 100%; background: #7b5cff; border-radius: inherit; }
.b-contact { margin: 12px 0 0; display: flex; flex-direction: column; gap: 6px; color: #6b7280; font-size: 13px; }
.b-contact div { display: flex; align-items: center; gap: 8px; min-width: 0; }
.b-contact span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.b-chart { margin-top: 14px; border-top: 1px solid #f1f2f6; padding-top: 10px; }
.b-chart-label { display: flex; align-items: center; gap: 6px; color: #9aa1ad; font-size: 11px; margin-bottom: 4px; }
.b-chart-label i { width: 7px; height: 7px; border-radius: 50%; background: #7b5cff; }
.b-chart svg { width: 100%; height: 96px; display: block; }
.b-chart-days { display: grid; grid-template-columns: repeat(7, 1fr); color: #b0b6c2; font-size: 10px; text-align: center; }
.b-placeholder { padding-top: 8px; }
@media (max-width: 800px) {
  .bidder, .bidder.collapsed { grid-template-columns: 1fr; }
  .b-side { height: auto; position: static; min-height: auto; border-right: 0; border-bottom: 1px solid #eceef3; }
  .bidder.collapsed .b-side { display: none; }
  .b-content { padding: 20px 16px 32px; }
}
#b-theme .b-sun { display: none; }
.bidder.is-dark #b-theme .b-moon { display: none; }
.bidder.is-dark #b-theme .b-sun { display: block; }
.b-balance {
  display: inline-flex; align-items: center; height: 32px; padding: 0 10px;
  border-radius: 999px; background: #f3f4f6; color: #374151; font-size: 13px; font-weight: 800;
}
.b-crumbs { display: flex; align-items: center; gap: 8px; min-width: 0; color: #9aa1ad; font-size: 13px; font-weight: 600; }
.b-crumbs button { border: 0; background: transparent; color: #6b7280; font: inherit; font-weight: 700; cursor: pointer; padding: 0; }
.b-crumbs strong { color: #111827; font-weight: 700; }
#s-detail:not(.hidden),
#b-detail:not(.hidden) {
  display: block !important;
  min-height: 320px;
}
.d-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  min-height: 320px;
}
.d-rail { position: sticky; top: 76px; max-height: calc(100vh - 92px); overflow: auto; }
.d-back, .d-leave, .d-nav button, .d-export, .d-pill button { font: inherit; cursor: pointer; }
.d-back { display: inline-flex; align-items: center; gap: 2px; border: 0; background: transparent; color: #6b7280; font-weight: 700; font-size: 13px; padding: 0 0 10px; }
.d-identity, .d-strength, .d-card { background: #fff; border: 1px solid #eef0f4; border-radius: 16px; box-shadow: 0 8px 24px rgba(20, 24, 40, 0.04); }
.d-identity { padding: 18px 14px 14px; text-align: center; }
.d-avatar { width: 68px; height: 68px; margin: 0 auto 10px; border-radius: 50%; background: #f3f4f6; color: #9aa1ad; display: grid; place-items: center; }
.d-avatar svg { width: 30px; height: 30px; }
.d-identity > strong { display: block; font-size: 16px; }
.d-identity > span { display: block; margin-top: 2px; color: #8b93a3; font-size: 13px; }
.d-nav { display: flex; flex-direction: column; gap: 4px; margin-top: 14px; text-align: left; }
.d-nav button { display: flex; gap: 8px; width: 100%; border: 0; background: transparent; border-radius: 12px; padding: 8px; color: #374151; }
.d-nav button svg { flex: none; margin-top: 2px; color: #9aa1ad; }
.d-nav strong, .d-nav small { display: block; }
.d-nav strong { font-size: 13px; }
.d-nav small { color: #9aa1ad; font-size: 11px; line-height: 1.35; font-weight: 500; }
.d-nav button.is-on { background: #f4f0ff; }
.d-nav button.is-on svg, .d-nav button.is-on strong { color: #6d4dff; }
.d-leave { width: 100%; margin-top: 12px; height: 40px; border-radius: 12px; border: 1px solid #fecdd3; background: #fff; color: #ef4444; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.d-strength { margin-top: 12px; padding: 14px; }
.d-strength-h { display: flex; justify-content: space-between; font-size: 13px; font-weight: 800; }
.d-strength-h b, .d-strength b.is-pct { color: #6d4dff; }
.d-bar { height: 6px; margin-top: 8px; border-radius: 999px; background: #ece9ff; overflow: hidden; }
.d-bar span { display: block; height: 100%; background: #7b5cff; }
.d-strength ul { list-style: none; margin: 8px 0 0; padding: 0; }
.d-strength li { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: 13px; color: #374151; }
.d-strength li span { flex: 1; }
.d-strength li b { color: #9aa1ad; font-size: 12px; font-weight: 600; }
.d-strength li i { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid #d5d8e0; flex: none; position: relative; }
.d-strength li i.is-done { background: #7b5cff; border-color: #7b5cff; }
.d-strength li i.is-done::after { content: ''; position: absolute; left: 5px; top: 2px; width: 3px; height: 7px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.d-sections {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  /* Match .d-back row so the first card lines up with .d-identity */
  padding-top: 26px;
}
.d-card { padding: 18px 20px; }
.d-card-h, .d-pref-h {
  display: flex; gap: 10px; align-items: flex-start; justify-content: space-between;
}
.d-card-title { display: flex; gap: 10px; align-items: flex-start; min-width: 0; flex: 1; }
.d-card-title > svg, .d-pref-h .d-card-title > svg { color: #7b5cff; margin-top: 2px; flex: none; }
.d-card-actions { display: inline-flex; align-items: center; gap: 8px; flex: none; }
.d-edit {
  width: 32px; height: 32px; border: 1px solid #e5e7eb; border-radius: 8px; background: #fff;
  color: #9aa1ad; display: grid; place-items: center; cursor: pointer; padding: 0;
}
.d-edit:hover { background: #f8f9fb; color: #6d4dff; border-color: #d5d8e0; }
.d-edit svg { width: 15px; height: 15px; margin: 0; }
.d-card-h strong, .d-pref-h strong { display: block; font-size: 15px; color: #111827; }
.d-card-h span, .d-pref-h span { display: block; margin-top: 2px; color: #8b93a3; font-size: 13px; font-weight: 500; }
.d-facts { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; color: #4b5563; font-size: 13px; }
.d-facts li { display: flex; gap: 8px; align-items: flex-start; }
.d-facts svg { color: #9aa1ad; margin-top: 2px; flex: none; }
.d-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.d-k { display: block; margin-bottom: 6px; font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: #9aa1ad; font-weight: 800; }
.d-links a { color: #6d4dff; font-weight: 700; font-size: 13px; word-break: break-word; }
.d-links em, .d-missing { color: #9aa1ad; font-style: normal; font-size: 13px; }
.d-missing { margin: 8px 0 0; }
.d-group { margin-top: 16px; padding-top: 14px; border-top: 1px solid #f1f2f6; }
.d-group h3, .d-pair h3, .d-comp h3 { margin: 0 0 10px; font-size: 13px; color: #111827; }
.d-auth-list { display: flex; flex-wrap: wrap; gap: 10px; }
.d-auth {
  display: flex; flex-direction: column; gap: 6px; min-width: 160px;
  background: #f8f9fb; border: 1px solid #eef0f4; border-radius: 12px; padding: 12px 14px;
}
.d-auth b { color: #111827; font-size: 14px; }
.d-auth-tag {
  display: inline-flex; align-self: flex-start; border-radius: 999px; padding: 2px 8px;
  background: #ecfdf5; color: #16a34a; font-size: 12px; font-weight: 700;
}
.d-auth-ok {
  display: inline-flex; align-items: center; gap: 4px; color: #16a34a; font-size: 12px; font-weight: 700;
}
.d-auth-ok svg { width: 14px; height: 14px; color: #16a34a; margin: 0; }
.d-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 12px; }
.d-field { min-width: 0; }
.d-field-h { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.d-field-h svg { width: 14px; height: 14px; color: #7b5cff; flex: none; }
.d-field span, .d-field-h span {
  display: block; font-size: 10px; letter-spacing: 0.05em; text-transform: uppercase; color: #9aa1ad; font-weight: 800;
}
.d-field strong { display: block; margin-top: 0; font-size: 14px; color: #111827; font-weight: 700; }
.bidder.is-dark .d-edit { background: #1b1e2a; border-color: #2c3142; color: #9aa1ad; }
.bidder.is-dark .d-edit:hover { background: #2a2e3d; color: #c4b5fd; }
.bidder.is-dark .d-auth { background: #151821; border-color: #2c3142; }
.bidder.is-dark .d-auth b, .bidder.is-dark .d-field strong { color: #f4f5fb; }
.d-role { display: flex; gap: 12px; padding: 16px 0; border-top: 1px solid #f3f4f7; }
.d-role:first-of-type { border-top: 0; padding-top: 12px; }
.d-logo { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-size: 12px; font-weight: 800; flex: none; }
.d-logo.is-blue { background: #3b82f6; }
.d-logo.is-green { background: #16a34a; }
.d-logo.is-orange { background: #f97316; }
.d-logo.is-slate { background: #94a3b8; }
.d-logo.is-purple { background: #7c3aed; }
.d-logo.is-red { background: #e11d48; }
.d-role .d-title,
.d-role strong.d-title {
  display: block;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  color: #111827;
  letter-spacing: -0.01em;
}
.d-role .d-company {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: #374151;
}
.d-role > div > p { margin: 2px 0 0; }
.d-meta {
  color: #9aa1ad !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 1.45 !important;
}
.d-bullets {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  color: #4b5563;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.55;
}
.d-bullets li {
  position: relative;
  padding-left: 14px;
  margin: 0;
}
.d-bullets li + li { margin-top: 6px; }
.d-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #9aa1ad;
}
.d-more-bullets {
  display: inline-block;
  margin-top: 8px;
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  font-size: 12px;
  font-style: italic;
  font-weight: 500;
  color: #9aa1ad;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.d-more-bullets:hover { color: #6b7280; }
.d-section-edit { padding: 18px 20px 22px; }
.d-section-edit-h {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 14px;
}
.d-section-edit-actions { display: inline-flex; align-items: center; gap: 8px; flex: none; }
.d-btn-cancel, .d-btn-save {
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  border-radius: 10px;
  padding: 8px 14px;
  cursor: pointer;
}
.d-btn-cancel {
  border: 1px solid #e6e8ee;
  background: #fff;
  color: #374151;
}
.d-btn-cancel:hover { background: #f4f5f8; }
.d-btn-save {
  border: 1px solid #7b5cff;
  background: #7b5cff;
  color: #fff;
}
.d-btn-save:hover { background: #6d4dff; }
.d-btn-save:disabled, .d-btn-cancel:disabled { opacity: 0.6; cursor: not-allowed; }
.d-section-edit-form .c-add-wrap { margin-top: 0; }
.d-add-role {
  margin-bottom: 12px;
  border: 0 !important;
  background: transparent !important;
  color: #6d4dff !important;
  font-weight: 700;
  padding: 0 !important;
}
.d-add-role:hover { color: #5b46d6 !important; }
.d-section-edit .error { margin: 0 0 12px; }
.d-lang { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; font-weight: 700; }
.d-lang b { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; color: #fff; font-size: 9px; background: linear-gradient(135deg, #22c55e, #3b82f6); }
.d-skills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.d-skill { border-radius: 999px; padding: 5px 10px; font-size: 12px; font-weight: 800; }
.d-skill b { font-weight: 600; }
.d-skill.is-blue { background: #e7f0ff; color: #2563eb; }
.d-skill.is-mint { background: #e7f8ef; color: #15803d; }
.d-skill.is-lilac { background: #f3e8ff; color: #7c3aed; }
.d-skill.is-peach { background: #fff1e6; color: #c2410c; }
.d-skill.is-pink { background: #fde8f3; color: #be185d; }
.d-skill.is-sand { background: #f8f1d8; color: #a16207; }
.d-export { display: inline-flex; align-items: center; gap: 6px; border: 1px solid #e6e8ee; background: #fff; border-radius: 10px; padding: 8px 12px; font-weight: 700; font-size: 13px; color: #374151; }
.d-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 16px; padding-top: 16px; border-top: 1px solid #f1f2f6; }
.d-hint { margin: 0 0 8px; color: #9aa1ad; font-size: 12px; line-height: 1.45; }
.d-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.d-pill { display: inline-flex; align-items: center; gap: 6px; background: #eef0ff; color: #4f46e5; border-radius: 999px; padding: 5px 8px 5px 10px; font-size: 12px; font-weight: 800; }
.d-pill button { border: 0; background: transparent; color: #818cf8; font-size: 14px; line-height: 1; padding: 0; }
.d-track { position: relative; height: 4px; margin: 16px 8px 8px; border-radius: 999px; background: #eceef3; }
.d-track > span { position: absolute; left: 0; top: 0; bottom: 0; background: #7b5cff; border-radius: inherit; }
.d-track > i { position: absolute; top: 50%; width: 14px; height: 14px; border-radius: 50%; background: #7b5cff; border: 2px solid #fff; box-shadow: 0 0 0 1px #ddd6fe; transform: translate(-50%, -50%); }
.d-stops { display: flex; justify-content: space-between; color: #9aa1ad; font-size: 11px; }
.d-stops .is-on { color: #6d4dff; font-weight: 800; }
.d-match { display: flex; align-items: center; gap: 10px; }
.d-match > span { position: relative; width: 92px; height: 6px; border-radius: 999px; background: #eceef3; }
.d-match i { position: absolute; left: 22%; top: 50%; width: 16px; height: 16px; border-radius: 50%; background: #7b5cff; transform: translate(-50%, -50%); }
.d-inline, .d-limit { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; color: #4b5563; font-size: 13px; margin: 8px 0; }
.d-box { width: 15px; height: 15px; border: 1.5px solid #d1d5db; border-radius: 4px; display: inline-block; position: relative; background: #fff; }
.d-box.is-on { background: #7b5cff; border-color: #7b5cff; }
.d-box.is-on::after { content: ''; position: absolute; left: 4px; top: 1px; width: 3px; height: 7px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.d-limit b { min-width: 28px; height: 28px; padding: 0 8px; display: inline-grid; place-items: center; border: 1px solid #e5e7eb; border-radius: 8px; background: #fff; color: #111827; }
.d-comp { margin-top: 16px; padding-top: 16px; border-top: 1px solid #f1f2f6; }
.d-pay { display: flex; gap: 22px; margin: 10px 0 0; color: #9aa1ad; font-size: 12px; }
@media (max-width: 1100px) {
  .d-layout, .d-pair, .d-links, .d-grid { grid-template-columns: 1fr 1fr; }
  .d-rail { position: static; max-height: none; }
}
@media (max-width: 720px) {
  .d-layout, .d-pair, .d-links, .d-grid { grid-template-columns: 1fr; }
}
.bidder.is-dark { background: #12141c; color: #e8eaf2; }
.bidder.is-dark .b-side, .bidder.is-dark .b-top, .bidder.is-dark .d-identity,
.bidder.is-dark .d-strength, .bidder.is-dark .d-card, .bidder.is-dark .b-refer,
.bidder.is-dark .b-menu, .bidder.is-dark .b-picker-btn, .bidder.is-dark .b-refresh,
.bidder.is-dark .d-export, .bidder.is-dark .d-limit b, .bidder.is-dark .d-box { background: #1b1e2a; color: #e8eaf2; border-color: #2c3142; }
.bidder.is-dark .b-nav button, .bidder.is-dark .b-crumbs button, .bidder.is-dark .d-back { color: #c5cad8; }
.bidder.is-dark .b-nav button.active, .bidder.is-dark .d-nav button.is-on { background: #2a241f; }
.bidder.is-dark .b-crumbs strong, .bidder.is-dark .d-field strong, .bidder.is-dark .d-role strong { color: #f4f5fb; }
.bidder.is-dark .b-content { color: #e8eaf2; }
.bidder.is-dark .b-balance { background: #2a2e3d; color: #f4f5fb; }
.s-home {
  margin-top: 10px; width: 100%; height: 40px; border-radius: 12px;
  border: 1px solid #eceef3; background: #fff; color: #374151;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-size: 13px; font-weight: 700; cursor: pointer;
}
.s-home:hover { background: #f6f7f9; }
.s-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.s-new {
  display: inline-flex; align-items: center; gap: 6px;
  border: 0; border-radius: 10px; padding: 8px 14px; font: inherit; font-size: 13px; font-weight: 800;
  background: #7b5cff; color: #fff; cursor: pointer; box-shadow: 0 8px 18px rgba(123, 92, 255, 0.22);
}
.s-new:hover { background: #6a48f5; }
.s-tabs-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 18px; }
.s-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.s-tabs button {
  border: 1px solid #e6e8ee; background: #fff; color: #6b7280; border-radius: 999px;
  padding: 7px 14px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer;
}
.s-tabs button.is-on { background: #efeaff; border-color: #efeaff; color: #6d4dff; }
.s-count { color: #9aa1ad; font-size: 13px; font-weight: 600; }
.s-create {
  width: min(340px, 100%); min-height: 280px; padding: 22px 18px;
  border: 1.5px dashed #d7dbe5; border-radius: 16px; background: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px;
  color: #6b7280; cursor: pointer; font: inherit;
}
.s-create:hover { border-color: #7b5cff; color: #6d4dff; background: #fcfbff; }
.s-create i {
  width: 44px; height: 44px; border-radius: 50%; background: #f3efff; color: #7b5cff;
  display: grid; place-items: center;
}
.s-create strong { display: block; color: #111827; font-size: 15px; }
.s-create span { display: block; font-size: 13px; line-height: 1.4; max-width: 220px; }
.s-card-menu {
  margin-left: auto; width: 28px; height: 28px; border: 0; border-radius: 8px; background: transparent;
  color: #9aa1ad; display: grid; place-items: center; cursor: pointer; font: inherit;
}
.s-card-menu:hover { background: #f4f5f8; color: #4b5563; }
.s-share {
  margin-top: 12px; display: flex; align-items: center; gap: 8px; color: #9aa1ad;
}
.s-share button {
  width: 28px; height: 28px; border-radius: 50%; border: 1px solid #e6e8ee; background: #fff;
  display: grid; place-items: center; color: #6b7280; cursor: pointer; padding: 0;
}
.s-share .s-assist {
  width: 28px; height: 28px; border-radius: 50%; background: #2563eb; color: #fff;
  display: grid; place-items: center; font-size: 11px; font-weight: 800;
}
.bidder.is-dark .s-home, .bidder.is-dark .s-tabs button, .bidder.is-dark .s-create, .bidder.is-dark .s-share button {
  background: #1b1e2a; color: #c5cad8; border-color: #2c3142;
}
.bidder.is-dark .s-tabs button.is-on { background: #2a241f; color: #c4b5fd; border-color: #2a241f; }
.bidder.is-dark .s-create strong { color: #f4f5fb; }
.c-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(210px, 236px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.c-rail { position: sticky; top: 72px; align-self: start; }
.c-rail > .d-back { margin-bottom: 2px; }
.c-rail-card {
  background: #fff; border: 1px solid #eef0f4; border-radius: 16px; padding: 18px 12px 12px;
  box-shadow: 0 8px 24px rgba(20, 24, 40, 0.04);
}
.c-rail-card > strong { display: block; font-size: 16px; color: #111827; }
.c-rail-card > span { display: block; margin: 4px 0 14px; color: #8b93a3; font-size: 12px; line-height: 1.45; }
.c-nav { display: flex; flex-direction: column; gap: 2px; }
.c-nav button {
  display: flex; align-items: center; gap: 10px; width: 100%; border: 0; background: transparent;
  border-radius: 10px; padding: 10px 12px; color: #374151; font: inherit; font-size: 13px; font-weight: 600;
  text-align: left; cursor: pointer;
}
.c-nav button svg { color: #9aa1ad; flex: none; }
.c-nav button.is-on { background: #f3efff; color: #6d4dff; font-weight: 700; }
.c-nav button.is-on svg { color: #6d4dff; }
.c-layout.is-uploading .c-form-scroll,
.c-layout.is-uploading .c-footer {
  filter: blur(5px) saturate(0.85);
  pointer-events: none;
  user-select: none;
}
.c-form { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: calc(100vh - 120px); }
.c-form-scroll { display: flex; flex-direction: column; gap: 14px; padding-bottom: 18px; }
.c-upload-pending {
  position: fixed; inset: 0; z-index: 120;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  background: rgba(246, 247, 251, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.c-upload-pending.hidden,
.c-upload-pending[hidden] { display: none !important; }
.c-upload-pending-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 10px; min-width: 220px; max-width: 320px; padding: 8px 12px;
}
.c-upload-pending-card strong {
  display: block; margin-top: 6px; color: #111827; font-size: 18px; font-weight: 800; letter-spacing: -0.01em;
}
.c-upload-pending-card > span {
  display: block; color: #9aa1ad; font-size: 13px; font-weight: 500; line-height: 1.4;
}
.c-upload-spinner {
  position: relative; width: 52px; height: 52px; margin-bottom: 2px;
}
.c-upload-spinner i {
  position: absolute; top: 50%; left: 50%;
  width: 8px; height: 8px; margin: -4px 0 0 -4px;
  border-radius: 50%; background: #7b5cff;
  transform: rotate(calc(var(--i) * 45deg)) translateY(-20px);
  animation: c-upload-dot 0.95s ease-in-out infinite;
  animation-delay: calc(var(--i) * -0.118s);
}
.c-upload-spinner i:nth-child(1) { --i: 0; }
.c-upload-spinner i:nth-child(2) { --i: 1; }
.c-upload-spinner i:nth-child(3) { --i: 2; }
.c-upload-spinner i:nth-child(4) { --i: 3; }
.c-upload-spinner i:nth-child(5) { --i: 4; }
.c-upload-spinner i:nth-child(6) { --i: 5; }
.c-upload-spinner i:nth-child(7) { --i: 6; }
.c-upload-spinner i:nth-child(8) { --i: 7; }
@keyframes c-upload-dot {
  0%, 100% { opacity: 0.22; }
  45%, 55% { opacity: 1; }
}
.bidder.is-dark .c-upload-pending { background: rgba(15, 17, 26, 0.45); }
.bidder.is-dark .c-upload-pending-card strong { color: #f4f5fb; }
.bidder.is-dark .c-upload-pending-card > span { color: #9aa1ad; }
.c-card {
  background: #fff; border: 1px solid #eef0f4; border-radius: 16px; padding: 20px 22px;
  box-shadow: 0 8px 24px rgba(20, 24, 40, 0.04);
}
.c-card-h { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; }
.c-card-ico {
  width: 34px; height: 34px; border-radius: 50%; background: #f3efff; color: #7b5cff;
  display: grid; place-items: center; flex: none;
}
.c-card-ico svg { width: 16px; height: 16px; }
.c-card-title { min-width: 0; flex: 1; }
.c-card-title strong { display: block; font-size: 15px; color: #111827; }
.c-card-title > span { display: block; margin-top: 3px; color: #8b93a3; font-size: 13px; line-height: 1.45; font-weight: 500; }
.c-drop {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  min-height: 168px; border: 1.5px dashed #c4b5fd; border-radius: 14px; background: #faf8ff;
  color: #6d4dff; text-align: center; cursor: pointer; padding: 24px;
}
.c-drop:hover { background: #f5f1ff; }
.c-drop.is-busy { pointer-events: none; opacity: 0.85; }
.c-drop strong { color: #5b46d6; font-size: 14px; }
.c-drop span, .c-drop-hint, .c-drop-status { color: #8b93a3; font-size: 12px; max-width: 300px; font-style: normal; }
.c-drop-status { color: #6d4dff; font-weight: 700; }
.c-resume-name { margin-top: 4px; color: #374151; font-size: 12px; font-weight: 700; font-style: normal; }
.c-photo { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.c-photo-copy { min-width: 0; padding-top: 4px; }
.c-photo-copy strong { display: block; font-size: 13px; color: #374151; }
.c-photo-copy strong span { color: #9aa1ad; font-weight: 600; }
.c-photo-copy p { margin: 4px 0 0; color: #9aa1ad; font-size: 12px; line-height: 1.45; max-width: 520px; }
.c-avatar {
  width: 72px; height: 72px; border-radius: 50%; border: 1.5px dashed #d5d8e0; background: #f8f9fb;
  color: #9aa1ad; display: grid; place-items: center; cursor: pointer; flex: none;
}
.c-grid { display: grid; gap: 12px; margin-bottom: 12px; }
.c-grid-2 { grid-template-columns: 1fr 1fr; }
.c-grid-3 { grid-template-columns: 1fr 1fr 1fr; }
.c-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.c-field.is-wide { grid-column: 1 / -1; }
.c-field > span { font-size: 12px; font-weight: 700; color: #4b5563; }
.c-req { color: #ef4444; font-style: normal; font-weight: 800; }
.c-field small { color: #9aa1ad; font-size: 11px; line-height: 1.4; }
.c-field input, .c-field select, .c-phone input, .c-phone select, .c-add-item input {
  width: 100%; height: 44px; border: 1px solid #eceff3; border-radius: 12px; padding: 0 14px;
  font: inherit; font-size: 13px; color: #111827; background: #f3f4f6;
}
.c-field input::placeholder, .c-phone input::placeholder { color: #9aa1ad; }
.c-field input:focus, .c-field select:focus, .c-phone input:focus, .c-add-item input:focus {
  outline: none; border-color: #d7dbe3; background: #eef0f3;
  box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.04);
}
.c-phone {
  display: grid; grid-template-columns: minmax(132px, 150px) minmax(0, 1fr); gap: 0; align-items: stretch;
  border: 1px solid #eceff3; border-radius: 14px; background: #f3f4f6;
  box-shadow: inset 0 1px 2px rgba(17, 24, 39, 0.03);
}
.c-phone:focus-within, .c-phone.is-picking {
  border-color: #d7dbe3; background: #eef0f3;
  box-shadow: inset 0 1px 2px rgba(17, 24, 39, 0.04), 0 0 0 3px rgba(17, 24, 39, 0.04);
}
.c-phone.is-picking {
  grid-template-columns: minmax(210px, 1.15fr) minmax(0, 1fr); gap: 8px; padding: 5px;
  align-items: center;
}
.c-phone > input[type="tel"] {
  height: 44px; border: 0; border-radius: 0; background: transparent; padding: 0 14px; box-shadow: none;
}
.c-phone.is-picking > input[type="tel"] {
  height: 36px; border-radius: 10px; padding: 0 12px;
}
.c-phone > input[type="tel"]:focus {
  outline: none; border: 0; background: transparent; box-shadow: none;
}
.c-phone-cc { position: relative; border-right: 1px solid #e5e7eb; min-width: 0; }
.c-phone.is-picking .c-phone-cc { border-right: 0; }
.c-phone-cc-btn {
  width: 100%; height: 44px; border: 0; border-radius: 0; background: transparent;
  display: inline-flex; align-items: center; justify-content: space-between; gap: 6px;
  padding: 0 10px 0 12px; font: inherit; font-size: 13px; font-weight: 700; color: #111827; cursor: pointer;
}
.c-phone-cc-btn.hidden { display: none; }
.c-phone-cc-btn:hover { background: rgba(123, 92, 255, 0.05); }
.c-phone-cc-btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-phone-cc-btn svg { color: #9aa1ad; flex: none; width: 14px; height: 14px; }
.c-phone-cc-inline {
  display: block; width: 100%; margin: 0; border-radius: 10px; background: #fff;
  border: 1px solid #e8ebf0; box-shadow: 0 1px 2px rgba(17, 24, 39, 0.04); overflow: hidden;
}
.c-phone-cc-inline.hidden { display: none; }
.c-phone-cc-search {
  width: 100%; height: 36px; border: 0; border-radius: 10px; padding: 0 12px;
  font: inherit; font-size: 13px; outline: none; background: transparent; color: #111827;
}
.c-phone-cc-search::placeholder { color: #9aa1ad; }
.c-phone-cc-menu {
  position: absolute; left: 0; top: calc(100% + 8px); width: min(380px, 78vw); max-height: 320px;
  background: #fff; border: 1px solid #e6e8ee; border-radius: 14px;
  box-shadow: 0 16px 40px rgba(17, 24, 39, 0.14); z-index: 40; display: flex; flex-direction: column; overflow: hidden;
}
.c-phone.is-picking .c-phone-cc-menu { left: 0; width: min(420px, 82vw); }
.c-phone-cc-menu.hidden { display: none; }
.c-phone-cc-list { overflow: auto; max-height: 280px; padding: 6px; }
.c-phone-cc-option {
  display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 8px;
  width: 100%; text-align: left; border: 0; background: transparent; border-radius: 10px;
  padding: 9px 10px; font: inherit; font-size: 13px; color: #111827; cursor: pointer;
}
.c-phone-cc-iso {
  font-weight: 700; color: #6b7280; text-transform: lowercase; letter-spacing: 0.02em;
}
.c-phone-cc-name {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; color: #111827;
}
.c-phone-cc-dial { color: #9aa1ad; font-weight: 600; white-space: nowrap; }
.c-phone-cc-option:hover { background: #f5f3ff; }
.c-phone-cc-option:hover .c-phone-cc-iso,
.c-phone-cc-option:hover .c-phone-cc-name,
.c-phone-cc-option:hover .c-phone-cc-dial { color: #6d4dff; }
.c-phone-cc-option.is-on { background: #f3efff; }
.c-phone-cc-option.is-on .c-phone-cc-iso,
.c-phone-cc-option.is-on .c-phone-cc-name,
.c-phone-cc-option.is-on .c-phone-cc-dial { color: #6d4dff; font-weight: 800; }
.c-phone-cc-option.hidden { display: none; }
.c-check { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; color: #4b5563; font-size: 13px; font-weight: 600; }
.c-check input { width: 16px; height: 16px; accent-color: #7b5cff; border-radius: 4px; }
.c-preferred { margin: 2px 0 14px; }
.c-preferred .c-check { margin-bottom: 12px; }
.c-preferred-fields.hidden { display: none; }
.c-preferred-fields { margin-top: 0; }
.c-sub { margin-top: 8px; padding-top: 16px; border-top: 1px solid #f1f2f6; }
.c-sub-plain { border-top: 0; padding-top: 0; margin-top: 0; }
.c-sub h3 { margin: 0 0 12px; font-size: 13px; color: #111827; }
.c-sub-h { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 14px; }
.c-sub-ico { color: #7b5cff; flex: none; margin-top: 1px; }
.c-sub-h strong { display: block; font-size: 13px; color: #111827; }
.c-sub-h span { display: block; margin-top: 2px; color: #9aa1ad; font-size: 12px; line-height: 1.4; font-weight: 500; }
.c-add {
  display: inline-flex; align-items: center; gap: 6px; border: 1px solid #e5e7eb; background: #f3f4f6;
  border-radius: 10px; padding: 9px 14px; color: #374151; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer;
}
.c-add:hover { background: #ebecef; border-color: #d5d8e0; }
.c-auth-label {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px;
  color: #374151; font-size: 13px; font-weight: 700;
}
.c-auth-label svg { color: #7b5cff; flex: none; }
.c-country-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px; margin-top: 4px; align-items: stretch;
}
.c-country-card {
  display: flex; flex-direction: column; gap: 10px; min-height: 148px;
  background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 14px;
}
.c-country-card-h { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.c-country-card-h strong {
  font-size: 14px; font-weight: 800; color: #111827; line-height: 1.3;
}
.c-country-card-h strong em { font-style: normal; font-weight: 800; margin-right: 4px; }
.c-country-remove {
  width: 24px; height: 24px; border: 0; border-radius: 8px; background: transparent;
  color: #9aa1ad; font: inherit; font-size: 18px; line-height: 1; cursor: pointer; padding: 0; flex: none;
}
.c-country-remove:hover { background: #f3f4f6; color: #4b5563; }
.c-country-select { display: block; }
.c-country-select select {
  width: 100%; height: 40px; border: 0; border-radius: 10px; background: #f3f4f6;
  padding: 0 34px 0 12px; font: inherit; font-size: 13px; font-weight: 600; color: #374151;
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%239aa1ad' stroke-width='1.8'%3E%3Cpath d='M5 7l3 3 3-3'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center;
}
.c-country-select select:focus { outline: 2px solid #c4b5fd; outline-offset: 1px; }
.c-country-add-wrap { position: relative; min-height: 148px; }
.c-add-country {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: 100%; height: 100%; min-height: 148px;
  border: 1.5px dashed #c4b5fd; background: #faf8ff; border-radius: 14px; padding: 14px;
  color: #6d4dff; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer;
}
.c-add-country:hover, .c-country-add-wrap.is-open .c-add-country { background: #f3efff; border-color: #b39dff; }
.c-country-pick {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 12;
  background: #fff; border: 1px solid #e5e7eb; border-radius: 12px;
  box-shadow: 0 12px 28px rgba(20, 24, 40, 0.12); padding: 8px; max-height: 260px;
  display: flex; flex-direction: column; gap: 6px;
}
.c-country-pick.hidden { display: none; }
.c-country-pick-search {
  width: 100%; height: 36px; border: 1px solid #e5e7eb; border-radius: 8px;
  padding: 0 10px; font: inherit; font-size: 13px; background: #f8f9fb;
}
.c-country-pick-list {
  overflow: auto; max-height: 200px; display: flex; flex-direction: column; gap: 2px;
}
.c-country-pick-option {
  border: 0; background: transparent; text-align: left; border-radius: 8px;
  padding: 8px 10px; font: inherit; font-size: 13px; font-weight: 600; color: #374151; cursor: pointer;
}
.c-country-pick-option:hover { background: #f3efff; color: #6d4dff; }
.c-country-pick-empty { margin: 8px; color: #9aa1ad; font-size: 12px; text-align: center; }
.c-add-items, .c-country-list { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.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;
}
.bidder.is-dark .c-country-card { background: #1b1e2a; border-color: #2c3142; }
.bidder.is-dark .c-country-card-h strong { color: #f4f5fb; }
.bidder.is-dark .c-country-select select { background-color: #221f33; color: #e5e7eb; }
.bidder.is-dark .c-country-pick { background: #1b1e2a; border-color: #2c3142; }
.bidder.is-dark .c-country-pick-option:hover { background: #2a241f; }
.c-edu-panel {
  background: #f6f7f9; border: 1px solid #eef0f4; border-radius: 14px; padding: 16px 16px 14px;
}
.c-edu-h {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px;
}
.c-edu-h strong { font-size: 13px; color: #6b7280; font-weight: 700; }
.c-edu-actions { display: inline-flex; align-items: center; gap: 4px; }
.c-edu-act {
  width: 30px; height: 30px; border: 0; border-radius: 8px; background: transparent; color: #9aa1ad;
  display: grid; place-items: center; cursor: pointer; padding: 0;
}
.c-edu-act:hover { background: #ebecef; color: #4b5563; }
.c-edu-act.is-danger { color: #f87171; }
.c-edu-act.is-danger:hover { background: #fee2e2; color: #dc2626; }
.c-edu-act svg { width: 15px; height: 15px; }
.c-date {
  position: relative; display: block;
}
.c-date input { padding-right: 38px; }
.c-date svg {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  width: 15px; height: 15px; color: #9aa1ad; pointer-events: none;
}
.c-year { position: relative; }
.c-year-trigger {
  width: 100%; height: 42px; border: 1px solid #e5e7eb; border-radius: 10px; background: #fff;
  display: inline-flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 0 12px; font: inherit; font-size: 13px; color: #111827; cursor: pointer; text-align: left;
}
.c-year-trigger:hover { border-color: #d5d8e0; }
.c-year-trigger:focus, .c-year-trigger[aria-expanded="true"] {
  outline: 2px solid rgba(123, 92, 255, 0.28); border-color: #7b5cff;
}
.c-year-trigger .is-placeholder { color: #9aa1ad; font-weight: 500; }
.c-year-trigger svg { width: 15px; height: 15px; color: #9aa1ad; flex: none; }
.c-year-menu {
  position: absolute; left: 0; top: calc(100% + 6px); width: min(248px, 100%);
  background: #fff; border: 1px solid #e6e8ee; border-radius: 12px;
  box-shadow: 0 14px 36px rgba(17, 24, 39, 0.12); z-index: 30; padding: 10px;
}
.c-year-menu.hidden { display: none; }
.c-year-h {
  display: grid; grid-template-columns: 32px 1fr 32px; align-items: center; gap: 4px; margin-bottom: 8px;
}
.c-year-h strong {
  text-align: center; font-size: 14px; font-weight: 800; color: #111827; letter-spacing: 0.01em;
}
.c-year-nav {
  width: 32px; height: 32px; border: 0; border-radius: 8px; background: transparent; color: #6b7280;
  display: grid; place-items: center; cursor: pointer; padding: 0;
}
.c-year-nav:hover { background: #f4f5f8; color: #111827; }
.c-year-nav svg { width: 16px; height: 16px; }
.c-year-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px;
}
.c-year-cell {
  height: 36px; border: 0; border-radius: 8px; background: transparent;
  font: inherit; font-size: 13px; font-weight: 600; color: #111827; cursor: pointer;
}
.c-year-cell:hover:not(:disabled) { background: #f3f4f6; }
.c-year-cell.is-on { background: #f3f4f6; color: #111827; }
.c-year-cell.is-outside { color: #c4c9d4; font-weight: 500; }
.c-year-cell.is-disabled, .c-year-cell:disabled {
  color: #d1d5db; cursor: not-allowed; background: transparent;
}
.c-edu-current { margin: 2px 0 12px; }
.c-edu-panel .c-grid { margin-bottom: 12px; }
.c-edu-panel .c-grid:last-child { margin-bottom: 0; }
.c-list-intro {
  margin: 0 0 12px; color: #8b93a3; font-size: 13px; line-height: 1.45; max-width: 640px;
}
.c-ref-dates { gap: 12px; margin-bottom: 0 !important; }
.c-achieve {
  margin-top: 16px; padding-top: 14px; border-top: 1px solid #eef0f4;
}
.c-achieve-h {
  display: flex; align-items: center; gap: 6px; margin-bottom: 10px;
}
.c-achieve-h strong { font-size: 13px; color: #111827; }
.c-achieve-info { color: #9aa1ad; display: inline-grid; }
.c-achieve-info svg { width: 14px; height: 14px; }
.c-achieve-list { display: flex; flex-direction: column; gap: 8px; }
.c-achieve-item {
  display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center;
}
.c-achieve-item input {
  width: 100%; height: 42px; border: 1px solid #e5e7eb; border-radius: 10px; padding: 0 12px;
  font: inherit; font-size: 13px; color: #111827; background: #fff;
}
.c-achieve-item input:focus {
  outline: 2px solid rgba(123, 92, 255, 0.28); border-color: #7b5cff;
}
.c-achieve-remove {
  width: 32px; height: 32px; border: 0; border-radius: 8px; background: transparent;
  color: #f87171; cursor: pointer; font: inherit; font-size: 20px; line-height: 1;
}
.c-achieve-remove:hover { background: #fee2e2; color: #dc2626; }
.c-add-achieve {
  margin-top: 10px; background: transparent; border: 0; padding: 0; color: #6d4dff;
  font-weight: 700; box-shadow: none;
}
.c-add-achieve:hover { background: transparent; color: #5b46d6; border: 0; }
.bidder.is-dark .c-achieve-item input { background: #1b1e2a; color: #e8eaf2; border-color: #2c3142; }
.c-skill-add { margin-bottom: 4px; }
.c-skill-add > strong { display: block; font-size: 14px; font-weight: 700; color: #111827; }
.c-skill-add > p { margin: 6px 0 14px; color: #9aa1ad; font-size: 13px; line-height: 1.5; font-weight: 500; }
.c-skill-list {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 14px;
}
.c-skill-list.is-collapsed .c-skill-card:nth-child(n + 7) { display: none; }
.c-skill-more {
  display: block; width: 100%; margin-top: 12px; border: 0; background: transparent;
  color: #6d4dff; font: inherit; font-size: 13px; font-weight: 700; text-align: center;
  cursor: pointer; padding: 8px;
}
.c-skill-more:hover { color: #5b46d6; text-decoration: underline; }
.c-skill-more.hidden { display: none; }
.c-skill-search { position: relative; gap: 0; }
.c-skill-search .c-skill-ico {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: #9aa1ad; pointer-events: none; display: grid; z-index: 1;
}
.c-skill-search .c-skill-ico svg { width: 16px; height: 16px; }
.c-skill-search input[type="search"] {
  height: 46px; padding: 0 14px 0 42px; border: 1px solid #eceff3; border-radius: 12px;
  background: #f3f4f6; color: #111827; font-size: 14px; font-weight: 500;
  box-shadow: none;
}
.c-skill-search input[type="search"]::placeholder { color: #9aa1ad; font-weight: 500; }
.c-skill-search input[type="search"]:focus {
  outline: none; border-color: #d7dbe3; background: #eef0f3;
  box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.04);
}
.c-skill-search input[type="search"]::-webkit-search-decoration,
.c-skill-search input[type="search"]::-webkit-search-cancel-button,
.c-skill-search input[type="search"]::-webkit-search-results-button,
.c-skill-search input[type="search"]::-webkit-search-results-decoration { display: none; }
.c-add-item { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; }
.c-remove {
  width: 32px; height: 32px; border: 0; border-radius: 8px; background: #f4f5f8; color: #6b7280;
  cursor: pointer; font: inherit; font-size: 18px; line-height: 1;
}
.c-empty-skills { margin: 10px 0 0; color: #9aa1ad; font-size: 13px; }
.c-empty-skills.hidden { display: none; }
.c-pill {
  display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 5px 8px 5px 10px;
  background: #eef0ff; color: #4f46e5; font-size: 12px; font-weight: 800;
}
.c-pill button { border: 0; background: transparent; color: #818cf8; cursor: pointer; font-size: 14px; line-height: 1; padding: 0; }
.c-skill-card {
  --skill-tone: #9aa1ad;
  border-radius: 12px; padding: 14px 14px 12px; border: 1px solid transparent; min-width: 0;
}
.c-skill-card-h { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.c-skill-card-meta { min-width: 0; }
.c-skill-card-meta strong {
  display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.02em; color: #111827;
}
.c-skill-card-meta strong i {
  width: 8px; height: 8px; border-radius: 50%; background: var(--skill-tone); flex: none;
}
.c-skill-card-meta span {
  display: block; margin-top: 4px; margin-left: 16px; font-size: 11px; font-weight: 800;
  letter-spacing: 0.04em; color: var(--skill-tone);
}
.c-skill-card-side { display: inline-flex; align-items: center; gap: 4px; flex: none; }
.c-skill-card-side em {
  font-style: normal; font-size: 12px; font-weight: 600; white-space: nowrap; color: #9aa1ad;
}
.c-skill-trash {
  width: 28px; height: 28px; border: 0; border-radius: 8px; background: transparent; color: #f87171;
  display: grid; place-items: center; cursor: pointer; padding: 0;
}
.c-skill-trash:hover { background: rgba(248, 113, 113, 0.12); color: #dc2626; }
.c-skill-trash svg { width: 14px; height: 14px; }
.c-skill-slider { display: block; }
.c-skill-slider input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px;
  background: linear-gradient(90deg, var(--skill-tone) 0 var(--skill-pct, 10%), rgba(17, 24, 39, 0.1) var(--skill-pct, 10%) 100%);
  outline: none; cursor: pointer; accent-color: var(--skill-tone);
  color: var(--skill-tone);
}
.c-skill-slider input[type="range"]::-webkit-slider-runnable-track {
  height: 6px; border-radius: 999px; background: transparent;
}
.c-skill-slider input[type="range"]::-moz-range-track {
  height: 6px; border-radius: 999px; background: transparent; border: 0;
}
.c-skill-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 18px; height: 18px; border-radius: 50%;
  margin-top: -6px; background: #fff; border: 3px solid var(--skill-tone);
  box-shadow: 0 1px 4px rgba(17, 24, 39, 0.12); cursor: pointer;
}
.c-skill-slider input[type="range"]::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--skill-tone);
  box-shadow: 0 1px 4px rgba(17, 24, 39, 0.12); cursor: pointer;
}
.c-skill-card.is-beginner { --skill-tone: #e11d48; background: #fff1f2; }
.c-skill-card.is-intermediate { --skill-tone: #d97706; background: #fffbeb; }
.c-skill-card.is-proficient { --skill-tone: #059669; background: #ecfdf5; }
.c-skill-card.is-expert { --skill-tone: #2563eb; background: #eff6ff; }
@media (max-width: 1100px) {
  .c-skill-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.c-footer {
  position: sticky; bottom: 0; z-index: 12; margin-top: auto;
  display: flex; justify-content: flex-end; align-items: center; gap: 12px;
  padding: 14px 0 4px; background: linear-gradient(180deg, rgba(246,247,250,0), #f6f7fa 28%);
}
.c-error { margin: 0 auto 0 0; color: #dc2626; font-size: 13px; font-weight: 600; }
.c-submit {
  display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 12px; padding: 12px 18px;
  background: #7b5cff; color: #fff; font: inherit; font-size: 14px; font-weight: 800; cursor: pointer;
  box-shadow: 0 10px 22px rgba(123, 92, 255, 0.28);
}
.c-submit:hover { background: #6a48f5; }
.c-submit:disabled { opacity: 0.65; cursor: not-allowed; }
@media (max-width: 760px) {
  .c-layout { grid-template-columns: 1fr; }
  .c-rail { position: static; }
  .c-grid-2, .c-grid-3 { grid-template-columns: 1fr; }
  .c-phone { grid-template-columns: 1fr; }
  .c-skill-list { grid-template-columns: 1fr; }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .c-grid-3 { grid-template-columns: 1fr 1fr; }
  .c-layout { grid-template-columns: minmax(190px, 210px) minmax(0, 1fr); gap: 14px; }
}
.bidder.is-dark .c-rail-card, .bidder.is-dark .c-card, .bidder.is-dark .c-field input,
.bidder.is-dark .c-field select, .bidder.is-dark .c-phone,
.bidder.is-dark .c-phone-cc-menu, .bidder.is-dark .c-phone-cc-search,
.bidder.is-dark .c-add-item input, .bidder.is-dark .c-add, .bidder.is-dark .c-avatar,
.bidder.is-dark .c-edu-panel, .bidder.is-dark .c-year-trigger, .bidder.is-dark .c-year-menu {
  background: #1b1e2a; color: #e8eaf2; border-color: #2c3142;
}
.bidder.is-dark .c-phone > input[type="tel"], .bidder.is-dark .c-phone-cc-btn {
  background: transparent; color: #e8eaf2;
}
.bidder.is-dark .c-phone-cc { border-right-color: #2c3142; }
.bidder.is-dark .c-phone-cc-inline { background: #151821; border-color: #2c3142; }
.bidder.is-dark .c-edu-act:hover { background: #2a2e3d; color: #e8eaf2; }
.bidder.is-dark .c-phone-cc-option:hover, .bidder.is-dark .c-phone-cc-option.is-on { background: #2a241f; }
.bidder.is-dark .c-phone-cc-option:hover .c-phone-cc-iso,
.bidder.is-dark .c-phone-cc-option:hover .c-phone-cc-name,
.bidder.is-dark .c-phone-cc-option:hover .c-phone-cc-dial,
.bidder.is-dark .c-phone-cc-option.is-on .c-phone-cc-iso,
.bidder.is-dark .c-phone-cc-option.is-on .c-phone-cc-name,
.bidder.is-dark .c-phone-cc-option.is-on .c-phone-cc-dial { color: #a78bfa; }
.bidder.is-dark .c-year-cell:hover:not(:disabled), .bidder.is-dark .c-year-cell.is-on,
.bidder.is-dark .c-year-nav:hover { background: #2a2e3d; }
.bidder.is-dark .c-drop, .bidder.is-dark .c-add-country { background: #221f33; border-color: #5b46d6; }
.bidder.is-dark .c-nav button.is-on { background: #2a241f; }
.bidder.is-dark .c-card-ico { background: #2a241f; }
.bidder.is-dark .c-footer { background: linear-gradient(180deg, rgba(15,17,24,0), #0f1118 28%); }
.bidder.is-dark .c-photo-copy p, .bidder.is-dark .c-card-title > span, .bidder.is-dark .c-sub-h span { color: #9aa1ad; }

.ob {
  min-height: 100vh;
  background: #f6f7fb;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 36px 16px 48px;
  color: #111827;
}
.ob-steps { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; color: #9ca3af; font-size: 14px; font-weight: 700; }
.ob-step { display: inline-flex; align-items: center; gap: 8px; }
.ob-step i {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: #e5e7eb; color: #6b7280; font-style: normal; font-size: 13px;
}
.ob-step.is-on { color: #111827; }
.ob-step.is-on i { background: #7b5cff; color: #fff; }
.ob-step.is-done i { background: #ede9fe; color: #7b5cff; }
.ob-line { width: 42px; height: 1px; background: #e5e7eb; }
.ob-card {
  width: min(640px, 100%);
  background: #fff;
  border: 1px solid #eef0f4;
  border-radius: 22px;
  box-shadow: 0 18px 50px rgba(17, 24, 39, 0.06);
  padding: 28px 28px 22px;
}
.ob-card h1 { margin: 0; text-align: center; font-size: 26px; letter-spacing: -0.03em; }
.ob-sub { margin: 6px 0 18px; text-align: center; color: #9ca3af; font-size: 14px; }
.ob-note {
  display: flex; gap: 12px; background: #f4f0ff; border-radius: 14px; padding: 14px 16px; margin-bottom: 18px;
}
.ob-note strong { display: block; margin-bottom: 4px; font-size: 14px; }
.ob-note p { margin: 0; color: #6b7280; font-size: 13px; line-height: 1.45; }
.ob-info, .ob-field > span i {
  width: 22px; height: 22px; border-radius: 50%; background: #7b5cff; color: #fff;
  display: inline-grid; place-items: center; font-style: normal; font-weight: 800; font-size: 13px; flex: none;
}
.ob-qa { margin-bottom: 14px; }
.ob-qa > label { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.ob-qa > label i {
  width: 18px; height: 18px; border-radius: 50%; background: #f3f4f6; color: #6b7280;
  display: grid; place-items: center; font-style: normal; font-size: 11px;
}
.ob-qa > div, .ob-split { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ob-qa select, .ob-qa input, .ob-field input, .ob-field textarea {
  width: 100%; border: 1px solid #e5e7eb; border-radius: 12px; background: #fff;
  font: inherit; font-size: 14px; color: #111827; padding: 10px 12px;
}
.ob-qa input:disabled, .ob-qa select:disabled { background: #f3f4f6; color: #9ca3af; }
.ob-qa select:focus, .ob-qa input:focus, .ob-field input:focus, .ob-field textarea:focus {
  outline: 2px solid rgba(123, 92, 255, 0.35); border-color: #7b5cff;
}
.ob-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 8px; }
.ob-ghost, .ob-next {
  border-radius: 12px; height: 40px; padding: 0 16px; font: inherit; font-weight: 700; cursor: pointer;
}
.ob-ghost { border: 1px solid #e5e7eb; background: #fff; color: #374151; }
.ob-next {
  border: 0; background: #7b5cff; color: #fff; display: inline-flex; align-items: center; gap: 6px;
  box-shadow: 0 8px 18px rgba(123, 92, 255, 0.28);
}
.ob-next:disabled { opacity: 0.6; cursor: not-allowed; }
.ob-visible {
  display: flex; align-items: center; gap: 10px; border: 1px solid #e5e7eb; border-radius: 14px; padding: 10px 12px; margin-bottom: 16px;
}
.ob-visible strong { display: block; font-size: 14px; }
.ob-visible small, .ob-field small, .ob-hint { color: #9ca3af; font-size: 12px; }
.ob-eye {
  width: 28px; height: 28px; border-radius: 8px; background: #f4f0ff; color: #7b5cff; display: grid; place-items: center;
}
.ob-switch { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: #7b5cff; }
.ob-switch input { appearance: none; width: 40px; height: 22px; border-radius: 999px; background: #d1d5db; position: relative; cursor: pointer; }
.ob-switch input::after {
  content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform 0.15s ease;
}
.ob-switch input:checked { background: #7b5cff; }
.ob-switch input:checked::after { transform: translateX(18px); }
.ob-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.ob-field > span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; }
.ob-field > span b { color: #dc2626; }
.ob-field textarea { resize: vertical; min-height: 84px; }
.ob-contact-label { margin: 4px 0 8px; font-size: 13px; font-weight: 800; }
.ob-hint { margin: 0 0 8px; }
.ha-page h1 { margin: 0; font-size: 22px; line-height: 1.25; letter-spacing: -0.02em; color: #111827; }
.ha-lead { margin: 8px 0 0; color: #6b7280; font-size: 14px; line-height: 1.45; max-width: 640px; }
.ha-note { margin: 2px 0 18px; color: #9ca3af; font-size: 13px; }
.ha-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.ha-top > div:first-child { min-width: 0; flex: 1 1 auto; }
.ha-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 8px; color: #9ca3af; font-size: 13px; }
.ha-crumb button { border: 0; background: transparent; padding: 0; color: #6b7280; font: inherit; cursor: pointer; }
.ha-crumb button:hover { color: #6d4aff; }
.ha-tabs { display: inline-flex; flex: none; gap: 0; background: #fff; border: 1px solid #e6e8ee; border-radius: 10px; padding: 3px; }
.ha-tabs button { border: 0; background: transparent; border-radius: 8px; padding: 7px 14px; font: inherit; font-size: 13px; font-weight: 700; color: #6b7280; cursor: pointer; }
.ha-tabs button.is-on { background: #f4f0ff; color: #6d4aff; box-shadow: inset 0 0 0 1px #d9ceff; }
.ha-pill-select { color: #6b7280; font-weight: 600; }
.ha-pill-select svg { color: #9ca3af; }
.ha-panel h2 { display: flex; align-items: center; gap: 8px; }
.ha-panel h2 svg { color: #9ca3af; flex: none; }
.ha-empty-icon { display: none; }
.ha-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 18px 0 14px; }
.ha-range-label { display: inline-flex; align-items: center; gap: 8px; color: #6b7280; font-size: 13px; font-weight: 500; }
.ha-range-label svg { color: #9ca3af; flex: none; }
.ha-toolbar-actions { display: inline-flex; align-items: center; gap: 8px; }
.ha-panel {
  background: #fff; border: 1px solid #e8eaef; border-radius: 14px; padding: 16px 18px 18px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}
.ha-panel + .ha-panel, .ha-metrics, .ha-split { margin-top: 16px; }
.ha-panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.ha-panel h2, .ha-bar h2 { margin: 0; font-size: 15px; font-weight: 700; color: #111827; }
.ha-panel p { margin: 4px 0 0; color: #9ca3af; font-size: 13px; line-height: 1.4; }
.ha-pill { flex: none; border: 1px solid #e6e8ee; border-radius: 999px; padding: 4px 10px; background: #fff; color: #6b7280; font-size: 12px; font-weight: 600; }
.ha-assist { padding: 18px 20px 28px; }
.ha-empty, .ha-nodata { display: flex; flex-direction: column; align-items: center; text-align: center; color: #9ca3af; }
.ha-empty { padding: 36px 20px 8px; }
.ha-empty strong { color: #111827; font-size: 15px; font-weight: 700; }
.ha-empty p { max-width: 520px; margin: 8px 0 16px; color: #9ca3af; font-size: 13px; line-height: 1.5; }
.ha-find, .ha-share { font: inherit; cursor: pointer; }
.ha-find {
  display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px; border: 0; border-radius: 8px;
  background: #6d4aff; color: #fff; font-size: 13px; font-weight: 700; box-shadow: 0 8px 16px rgba(109, 74, 255, 0.28);
}
.ha-share {
  flex: none; height: 34px; padding: 0 12px; border: 1px solid #e6e8ee; border-radius: 8px;
  background: #fff; color: #6b7280; font-weight: 700; font-size: 13px;
}
.ha-share:hover { border-color: #d9ceff; color: #6d4aff; }
.ha-shared { margin-top: 18px; padding: 16px 18px; background: #fff; border: 1px solid #e8eaef; border-radius: 14px; box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04); }
.ha-shared-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 4px; }
.ha-shared h2 { margin: 0; font-size: 14px; font-weight: 700; color: #111827; }
.ha-person { display: flex; align-items: center; gap: 10px; text-align: left; min-width: 0; }
.ha-person .ha-avatar { width: 40px; height: 40px; flex: none; }
.ha-person strong { display: block; font-size: 14px; }
.ha-person span { color: #9ca3af; font-size: 12px; }
.ha-shared-empty { margin: 8px 0 0; color: #9ca3af; font-size: 13px; }
.ha-shared-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 0; border-top: 1px solid #f1f3f7;
}
.ha-shared-row:first-of-type { border-top: 0; padding-top: 8px; }
.ha-shared-actions { display: inline-flex; align-items: center; gap: 8px; flex: none; }
.ha-ghost, .ha-danger {
  height: 32px; padding: 0 12px; border-radius: 8px; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; background: #fff;
}
.ha-ghost { border: 1px solid #e6e8ee; color: #374151; }
.ha-ghost:hover { border-color: #d9ceff; color: #6d4aff; }
.ha-danger { border: 1px solid #fecaca; color: #dc2626; }
.ha-danger:hover { background: #fff5f5; }
.ha-danger.is-solid { background: #dc2626; color: #fff; border-color: #dc2626; }
.ha-danger.is-solid:hover { background: #b91c1c; }
.ha-handed-list {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 24px 32px;
  margin-top: 16px;
  width: 100%;
}
.ha-handed {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  width: max-content;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 0;
  border: 0;
  background: transparent;
}
.ha-handed-main {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 0 1 auto;
}
.ha-handed-main > .ha-avatar {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  background: #f3f0ff;
  color: #7b5cff;
  border: 1px solid #ebe4ff;
}
.ha-handed-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
  flex: 1 1 auto;
}
.ha-handed-name {
  display: block;
  margin: 0;
  padding: 0;
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}
.ha-handed-side {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}
.ha-badges {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  width: max-content;
  max-width: 100%;
}
.ha-badge {
  display: inline-flex;
  align-items: center;
  position: static;
  flex: 0 0 auto;
  box-sizing: border-box;
  min-height: 22px;
  height: auto;
  padding: 3px 8px;
  border-radius: 6px;
  background: #f3f4f6;
  color: #6b7280;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}
.ha-handed-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-width: 52px;
  flex: 0 0 auto;
}
.ha-handed-stat b {
  display: block;
  margin: 0;
  font-size: 20px;
  line-height: 1.05;
  color: #111827;
  font-weight: 700;
}
.ha-handed-stat span {
  display: block;
  color: #9ca3af;
  font-size: 11px;
  line-height: 1.2;
}
.ha-handed-actions { display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.ha-icon-btn {
  width: 30px; height: 30px; display: inline-grid; place-items: center; border-radius: 8px;
  border: 1px solid #e6e8ee; background: #fff; color: #6b7280; cursor: pointer; flex: 0 0 auto;
}
.ha-icon-btn:hover { border-color: #d9ceff; color: #6d4aff; }
.ha-icon-btn.is-danger { border-color: #fecaca; color: #dc2626; }
.ha-icon-btn.is-danger:hover { background: #fff5f5; }
.ha-hand-foot { display: flex; justify-content: flex-end; align-items: center; gap: 10px; width: 100%; margin-top: 4px; }
.ha-confirm {
  width: min(420px, 100%); text-align: center; align-items: center; gap: 10px; padding: 24px 22px 18px;
}
.ha-confirm-icon {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: #fff7ed; color: #ea580c; font-size: 22px; font-weight: 800; line-height: 1;
}
.ha-confirm strong { font-size: 18px; }
.ha-confirm p { margin: 0; color: #6b7280; font-size: 14px; line-height: 1.45; }
.ha-confirm-actions { display: flex; justify-content: center; gap: 10px; margin-top: 8px; width: 100%; }
.ha-toast {
  position: fixed; top: 18px; left: 50%; transform: translate(-50%, -12px); z-index: 80;
  display: inline-flex; align-items: center; gap: 10px; min-height: 42px; padding: 10px 16px;
  border-radius: 999px; background: #fff; color: #111827; font-size: 13px; font-weight: 600;
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.14); opacity: 0; pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.ha-toast.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.ha-toast-icon {
  width: 22px; height: 22px; border-radius: 50%; background: #22c55e; color: #fff;
  display: inline-grid; place-items: center; flex: none;
}
@media (max-width: 720px) {
  .ha-handed { width: 100%; }
  .ha-shared-row { flex-direction: column; align-items: flex-start; }
}
.ha-metrics {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
  background: #fff; border: 1px solid #e8eaef; border-radius: 14px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04); overflow: hidden;
}
.ha-metric { position: relative; padding: 18px 16px 16px 18px; }
.ha-metric::before { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 3px; border-radius: 2px; background: #111827; }
.ha-metric span { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #9ca3af; }
.ha-metric b { display: block; margin: 8px 0 4px; font-size: 28px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; color: #111827; }
.ha-metric small { color: #9ca3af; font-size: 12px; font-weight: 500; }
.ha-metric.is-completed::before { background: #111827; }
.ha-metric.is-qualified::before { background: #22c55e; }
.ha-metric.is-disqualified::before { background: #ef4444; }
.ha-metric.is-approved::before { background: #7b5cff; }
.ha-metric.is-unreviewed::before { background: #f59e0b; }
.ha-metric.is-assistants::before { background: #9ca3af; }
.ha-split { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ha-report { margin-top: 14px; }
.ha-report .ha-nodata { min-height: 240px; }
.ha-nodata { gap: 8px; min-height: 180px; justify-content: center; font-size: 13px; }
.ha-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 16px; margin-top: 8px; color: #9ca3af; font-size: 12px; }
.ha-legend i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 6px; }
.ha-legend .is-qualified { background: #16a34a; }
.ha-legend .is-disqualified, .ha-legend .is-declined { background: #ef4444; }
.ha-legend .is-positive { background: #22c55e; }
.ha-legend .is-approved { background: #7b5cff; }
.ha-legend .is-unreviewed { background: #f59e0b; }
.ha-bar { margin-top: 22px; }
.ha-bar .ha-search { display: block; margin: 10px 0 12px; }
.ha-bar h2 { margin: 0; font-size: 14px; font-weight: 700; color: #111827; }
.ha-tools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ha-search { flex: 1; min-width: 220px; position: relative; display: block; }
.ha-search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #9ca3af; }
.ha-search input, .ha-sort select {
  width: 100%; height: 40px; border: 1px solid #e6e8ee; border-radius: 10px; background: #fff;
  font: inherit; font-size: 13px; color: #111827;
}
.ha-search input { padding: 0 12px 0 36px; }
.ha-search input:focus, .ha-sort select:focus { outline: 2px solid rgba(123, 92, 255, 0.35); border-color: #7b5cff; }
.ha-sort {
  display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px;
  border: 1px solid #e6e8ee; border-radius: 8px; background: #fff; color: #374151; font-size: 13px; font-weight: 700;
}
.ha-sort-label { color: #6d4aff; border-color: #d9ceff; background: #faf8ff; }
.ha-sort-label svg { color: #6d4aff; }
.ha-sort svg { color: #7b5cff; }
.ha-pill-select {
  height: 34px; border-radius: 999px; border-color: #e6e8ee; background: #fff; color: #6b7280; font-weight: 600;
  box-shadow: none;
}
.ha-pill-select svg { color: #9ca3af; }
.ha-pill-select select { color: #6b7280; font-weight: 600; }
.ha-sort select { width: auto; height: 30px; border: 0; padding: 0 2px; font-weight: 600; color: #6b7280; background: transparent; }
#ha-count { margin-left: auto; color: #9ca3af; font-size: 13px; font-weight: 600; }
.ha-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
@media (max-width: 1280px) { .ha-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 980px) { .ha-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .ha-grid { grid-template-columns: 1fr; } }
.ha-card, .ha-dialog {
  background: #fff; border: 1px solid #eceef3; border-radius: 14px; padding: 16px 12px 12px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px;
}
.ha-avatar {
  width: 48px; height: 48px; border-radius: 50%; background: #eef0f4; color: #9aa1ad;
  display: grid; place-items: center;
}
.ha-card > strong, .ha-dialog > strong { font-size: 14px; font-weight: 700; color: #111827; }
.ha-summary, .ha-dialog > p {
  margin: 0; color: #9ca3af; font-size: 12px; line-height: 1.35; min-height: 2.7em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ha-stats { display: grid; grid-template-columns: 1fr 1fr; width: 100%; margin: 2px 0 4px; gap: 4px; }
.ha-stats div { display: flex; flex-direction: column; align-items: center; gap: 0; }
.ha-stats b { display: inline; font-size: 16px; letter-spacing: -0.03em; color: #111827; }
.ha-stats span { color: #9ca3af; font-size: 11px; }
.ha-contact {
  width: 100%; text-align: left; background: #f5f6f8; border-radius: 10px; padding: 8px 10px; min-height: 54px;
}
.ha-contact > span { display: block; font-size: 10px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: #9ca3af; margin-bottom: 2px; }
.ha-contact p, .ha-contact li { margin: 0; color: #9ca3af; font-size: 12px; line-height: 1.35; }
.ha-contact ul { list-style: none; margin: 0; padding: 0; }
.ha-contact a { color: #5b46d6; text-decoration: none; }
.ha-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; margin-top: auto; }
.ha-actions button, .ha-choices button {
  height: 34px; border-radius: 8px; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
}
.ha-actions button { border: 1px solid #e6e8ee; background: #fff; color: #6d4aff; white-space: nowrap; padding: 0 6px; }
.ha-actions button svg { color: #6d4aff; }
.ha-actions .ha-hand, .ha-choices button { border: 0; background: #6d4aff; color: #fff; }
.ha-modal {
  position: fixed; inset: 0; background: rgba(17, 24, 39, 0.45); display: grid; place-items: center; z-index: 30; padding: 20px;
}
.ha-dialog { width: min(420px, 100%); position: relative; align-items: stretch; text-align: left; }
.ha-dialog .ha-avatar, .ha-dialog > strong { align-self: center; }
.ha-dialog > p { text-align: center; -webkit-line-clamp: unset; display: block; min-height: 0; }
.ha-x { position: absolute; top: 8px; right: 8px; border: 0; background: transparent; font-size: 20px; color: #6b7280; cursor: pointer; }
.ha-detail {
  width: min(640px, 100%);
  align-items: stretch;
  text-align: left;
  gap: 14px;
  padding: 18px 20px 16px;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(17, 24, 39, 0.18);
}
.ha-detail-head { display: flex; align-items: center; gap: 10px; width: 100%; }
.ha-detail-head .ha-avatar { width: 36px; height: 36px; flex: none; }
.ha-detail-head strong { font-size: 16px; }
.ha-detail .ha-x { position: static; margin-left: auto; width: 28px; height: 28px; font-size: 22px; line-height: 1; }
.ha-detail-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #eceef3;
  border-radius: 12px;
  overflow: hidden;
}
.ha-detail-table th, .ha-detail-table td {
  padding: 11px 14px;
  border-bottom: 1px solid #eceef3;
  font-size: 13px;
  text-align: left;
  vertical-align: top;
  line-height: 1.4;
}
.ha-detail-table tr:last-child th, .ha-detail-table tr:last-child td { border-bottom: 0; }
.ha-detail-table th {
  width: 128px;
  background: #fafafa;
  color: #6b7280;
  font-weight: 600;
  border-right: 1px solid #eceef3;
  white-space: nowrap;
}
.ha-detail-table td { color: #374151; background: #fff; font-weight: 500; }
.ha-detail-table .is-empty { color: #9ca3af; font-style: italic; font-weight: 400; }
.ha-detail-foot { display: flex; justify-content: flex-end; }
.ha-detail-foot button {
  height: 36px; padding: 0 16px; border-radius: 10px; border: 1px solid #e5e7eb; background: #fff;
  font: inherit; font-size: 13px; font-weight: 600; color: #374151; cursor: pointer;
}
.ha-choices { display: flex; flex-direction: column; gap: 8px; }
.ha-choices button { width: 100%; }
.ha-hand { width: min(560px, 100%); gap: 12px; }
.ha-hand-table th { width: 168px; color: #111827; font-weight: 700; }
.ha-hand-table td { font-weight: 500; color: #374151; }
.ha-info {
  display: inline-grid; place-items: center; width: 14px; height: 14px; margin-left: 4px;
  border: 1px solid #c5c9d2; border-radius: 50%; color: #9ca3af; font-style: normal;
  font-size: 10px; font-weight: 700; line-height: 1; vertical-align: 1px;
}
.ha-opt { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.ha-opt-label { font-size: 14px; font-weight: 700; color: #111827; }
.ha-opt-last { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 16px; width: 100%; }
.ha-switch { display: inline-flex; align-items: center; gap: 10px; color: #4b5563; font-size: 14px; cursor: pointer; }
.ha-switch input {
  appearance: none; width: 42px; height: 24px; border-radius: 999px; background: #d1d5db;
  position: relative; margin: 0; cursor: pointer; flex: none;
}
.ha-switch input::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 2px rgba(17, 24, 39, 0.18); transition: transform 0.15s ease;
}
.ha-switch input:checked { background: #7b5cff; }
.ha-switch input:checked::after { transform: translateX(18px); }
.ha-submit {
  border: 0; background: #7b5cff; color: #fff; height: 38px; padding: 0 16px; border-radius: 12px;
  font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; white-space: nowrap;
  box-shadow: 0 8px 18px rgba(123, 92, 255, 0.28);
}
.ha-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.ha-hand-note { margin: 0; text-align: left; color: #374151; font-size: 14px; min-height: 0; display: block; }
@media (max-width: 980px) {
  .ha-metrics, .ha-split { grid-template-columns: 1fr 1fr; }
  .ha-top { flex-direction: column; }
}
@media (max-width: 640px) {
  .ob-card { padding: 20px 16px; }
  .ob-qa > div, .ob-split { grid-template-columns: 1fr; }
  .ha-metrics, .ha-split { grid-template-columns: 1fr; }
}

/*  Job Board  */
.b-content:has(#s-board:not(.hidden)),
.b-content:has(#b-board:not(.hidden)) {
  padding: 16px 18px 20px;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.jb-page {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.jb {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
  flex: 1;
}
.jb-toolbar { display: flex; flex-direction: column; gap: 10px; position: relative; z-index: 5; }
.jb-search {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid #e6e8ee; border-radius: 12px;
  padding: 0 14px; height: 44px; box-shadow: 0 1px 0 rgba(17,24,39,0.02);
}
.jb-search svg { color: #9ca3af; flex: none; }
.jb-search input {
  flex: 1; border: 0; outline: 0; background: transparent; font: inherit;
  font-size: 14px; color: #111827; min-width: 0;
}
.jb-search input::placeholder { color: #9ca3af; }
.jb-filters {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  position: relative;
}
.jb-filter {
  display: inline-flex; align-items: center; gap: 6px;
  height: 34px; padding: 0 12px; border-radius: 999px;
  border: 1px solid #e5e7eb; background: #fff; color: #374151;
  font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap;
}
.jb-filter svg { color: #9ca3af; }
.jb-filter em {
  display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px;
  margin-left: 2px; border-radius: 999px; background: #7b5cff; color: #fff;
  font-style: normal; font-size: 11px; font-weight: 800;
}
.jb-filter.is-on, .jb-filter.is-open {
  background: #f3efff; border-color: #d9d2ff; color: #5b3fd6;
}
.jb-filter.is-on svg, .jb-filter.is-open svg { color: #7b5cff; }
.jb-filter-actions {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 28px;
}
.jb-clear {
  border: 0; background: transparent; color: #6b7280; font: inherit; font-size: 13px;
  font-weight: 600; cursor: pointer; padding: 0;
}
.jb-clear:hover { color: #111827; }
.jb-icon-refresh {
  width: 32px; height: 32px; border-radius: 10px; border: 0; background: transparent;
  color: #6b7280; display: grid; place-items: center; cursor: pointer;
}
.jb-icon-refresh:hover { background: #eef0f4; color: #111827; }
.jb-pop {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 8;
  width: min(340px, calc(100vw - 48px));
  background: #fff; border: 1px solid #eceef3; border-radius: 16px;
  box-shadow: 0 18px 48px rgba(17, 24, 39, 0.14);
  padding: 12px; display: flex; flex-direction: column; gap: 10px;
}
.jb-filters [data-jb-pop="more"] { left: auto; right: 0; width: min(380px, calc(100vw - 48px)); }
.jb-pop-body { display: flex; flex-direction: column; gap: 8px; max-height: 320px; overflow: auto; }
.jb-pop-label { margin: 4px 0 0; font-size: 12px; font-weight: 700; color: #9aa1ad; }
.jb-check {
  display: flex; align-items: center; gap: 10px; padding: 6px 4px;
  font-size: 14px; font-weight: 600; color: #374151; cursor: pointer;
}
.jb-check input { width: 16px; height: 16px; accent-color: #7b5cff; }
.jb-search-mini {
  display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 10px;
  border: 1px solid #e6e8ee; border-radius: 10px; background: #fafbfc;
}
.jb-search-mini svg { color: #9ca3af; }
.jb-search-mini input { flex: 1; border: 0; outline: 0; background: transparent; font: inherit; font-size: 13px; }
.jb-selected { display: flex; flex-wrap: wrap; gap: 6px; }
.jb-pill {
  display: inline-flex; align-items: center; gap: 4px; height: 28px; padding: 0 8px 0 10px;
  border-radius: 999px; background: #f3efff; color: #5b3fd6; font-size: 12px; font-weight: 700;
}
.jb-pill button {
  border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer;
  width: 18px; height: 18px; border-radius: 50%; line-height: 1;
}
.jb-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.jb-tag {
  border: 1px solid #e6e8ee; background: #fff; color: #4b5563; border-radius: 999px;
  height: 30px; padding: 0 10px; font: inherit; font-size: 12px; font-weight: 600; cursor: pointer;
}
.jb-tag.is-on { background: #f3efff; border-color: #d9d2ff; color: #5b3fd6; }
.jb-salary-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.jb-salary label, .jb-field {
  display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 700; color: #6b7280;
}
.jb-salary input, .jb-salary select, .jb-field select {
  height: 36px; border: 1px solid #e6e8ee; border-radius: 10px; padding: 0 10px;
  font: inherit; font-size: 13px; font-weight: 600; color: #111827; background: #fff;
}
.jb-inline { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.jb-more { gap: 14px; }
.jb-more .jb-field > span { margin-bottom: 2px; }
.jb-select-like {
  display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px;
  border: 1px solid #e6e8ee; border-radius: 12px; background: #fff; cursor: pointer;
}
.jb-select-like:focus-within,
.jb-platform-field.is-open .jb-select-like {
  border-color: #c4b5fd; box-shadow: 0 0 0 3px rgba(123, 92, 255, 0.12);
}
.jb-select-like input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; cursor: text;
  font: inherit; font-size: 13px; font-weight: 600; color: #111827;
}
.jb-select-like input::placeholder { color: #9aa1ad; font-weight: 500; }
.jb-select-like svg { flex: none; color: #9aa1ad; transition: transform 0.15s ease; }
.jb-platform-field.is-open .jb-select-like svg { transform: rotate(180deg); }
.jb-platform-field { position: relative; }
.jb-platform-dropdown {
  margin-top: 6px;
  border: 1px solid #eceef3; border-radius: 12px; background: #fff;
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.12);
  padding: 8px; z-index: 2;
}
.jb-platform-dropdown .jb-hint { margin: 0 4px 6px; }
.jb-platform-dropdown .jb-platform-list {
  max-height: 160px; overflow: auto; margin-top: 0;
  border: 0; background: transparent; padding: 0; border-radius: 0;
}
.bidder.is-dark .jb-select-like { background: #1b1e2a; border-color: #2c3142; }
.bidder.is-dark .jb-select-like input { color: #f4f5fb; }
.bidder.is-dark .jb-platform-dropdown { background: #1b1e2a; border-color: #2c3142; }
.jb-platform-list {
  display: flex; flex-direction: column; gap: 2px;
  max-height: 140px; overflow: auto; margin-top: 6px;
  border: 1px solid #eceef3; border-radius: 12px; background: #fafbfc; padding: 4px;
}
.jb-more .jb-tags { margin-top: 8px; }
.jb-platform-row {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  width: 100%; border: 0; background: transparent; text-align: left;
  padding: 8px 10px; border-radius: 8px; cursor: pointer;
  font: inherit; font-size: 13px; font-weight: 600; color: #374151;
}
.jb-platform-row-label { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.jb-source-sm { margin-left: 0; width: 18px; height: 18px; border-radius: 4px; }
.jb-platform-row:hover { background: rgba(123, 92, 255, 0.08); }
.jb-platform-row.is-on { color: #5b3fd6; background: rgba(123, 92, 255, 0.12); }
.jb-platform-box {
  width: 16px; height: 16px; border-radius: 4px; border: 1.5px solid #cfd3dc;
  display: grid; place-items: center; flex: none;
  font-size: 10px; font-style: normal; font-weight: 800; color: transparent; background: #fff;
}
.jb-platform-box.is-on {
  border-color: #7b5cff; background: #7b5cff; color: #fff;
}
.jb-hint {
  margin: 6px 0 0; font-size: 12px; font-weight: 600; color: #9aa1ad;
}
.jb-more .jb-selected { margin-top: 6px; }
.bidder.is-dark .jb-platform-list { background: #221f33; border-color: #2c3142; }
.bidder.is-dark .jb-platform-row { color: #c5cad8; }
.bidder.is-dark .jb-platform-row.is-on { color: #c4b5fd; background: rgba(123, 92, 255, 0.18); }
.jb-confirm {
  height: 40px; border: 0; border-radius: 12px; background: #7b5cff; color: #fff;
  font: inherit; font-size: 14px; font-weight: 700; cursor: pointer;
  box-shadow: 0 8px 18px rgba(123, 92, 255, 0.28);
}
.jb-confirm:hover { filter: brightness(1.04); }
.jb-split {
  display: grid; grid-template-columns: minmax(280px, 360px) 1fr; gap: 14px;
  min-height: 0; flex: 1; align-items: stretch;
}
.jb-list {
  background: transparent; min-height: 0; display: flex; flex-direction: column; gap: 10px;
  overflow: hidden;
}
.jb-list-head {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 2px;
}
.jb-list-head strong { font-size: 13px; color: #6b7280; font-weight: 700; }
.jb-sort {
  display: inline-flex; background: #eef0f4; border-radius: 999px; padding: 2px; gap: 2px;
}
.jb-sort button {
  border: 0; background: transparent; color: #6b7280; font: inherit; font-size: 12px;
  font-weight: 700; height: 28px; padding: 0 12px; border-radius: 999px; cursor: pointer;
}
.jb-sort button.is-on { background: #fff; color: #111827; box-shadow: 0 1px 3px rgba(17,24,39,0.08); }
.jb-cards {
  display: flex; flex-direction: column; gap: 10px; overflow: auto; padding: 2px 4px 8px 2px;
  min-height: 0; flex: 1;
}
.jb-pager {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  flex: none; padding: 6px 2px 2px; border-top: 1px solid #eef0f4;
}
.jb-pager-range {
  font-size: 11px; font-weight: 650; color: #8b93a3; white-space: nowrap;
}
.jb-pager-btns {
  display: inline-flex; align-items: center; gap: 2px; flex-wrap: wrap; justify-content: flex-end;
}
.jb-pager-num, .jb-pager-nav {
  border: 0; background: transparent; color: #6b7280; font: inherit; font-size: 12px;
  font-weight: 700; min-width: 28px; height: 28px; padding: 0 6px; border-radius: 8px;
  cursor: pointer;
}
.jb-pager-num:hover, .jb-pager-nav:hover:not(:disabled) { background: #eef0f4; color: #111827; }
.jb-pager-num.is-on {
  background: #f3efff; color: #5b3fd6;
}
.jb-pager-nav:disabled { opacity: 0.35; cursor: default; }
.jb-pager-ellipsis {
  display: inline-grid; place-items: center; min-width: 18px; color: #9ca3af;
  font-size: 12px; font-weight: 700;
}
.jb-empty { margin: 24px 8px; color: #8b93a3; font-size: 14px; }
.jb-card {
  position: relative; background: #fff; border: 1px solid #eef0f4; border-radius: 16px;
  padding: 14px 14px 12px; box-shadow: 0 8px 22px rgba(20, 24, 40, 0.04);
  cursor: pointer; outline: none;
}
.jb-card:hover { border-color: #e0e3ea; }
.jb-card.is-selected {
  border-color: #d9d2ff; box-shadow: 0 10px 28px rgba(123, 92, 255, 0.12);
}
.jb-ribbon {
  position: absolute; top: 0; left: 14px; background: #7b5cff; color: #fff;
  font-size: 10px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 4px 8px; border-radius: 0 0 8px 8px;
}
.jb-card-top { display: flex; align-items: flex-start; gap: 10px; }
.jb-logo {
  width: 40px; height: 40px; border-radius: 12px; color: #fff; display: grid; place-items: center;
  font-size: 14px; font-weight: 800; flex: none;
}
.jb-logo-lg { width: 52px; height: 52px; border-radius: 14px; font-size: 18px; }
.jb-card-head { min-width: 0; flex: 1; }
.jb-card-head strong { display: block; font-size: 14px; color: #111827; line-height: 1.3; }
.jb-card-head span { display: block; margin-top: 2px; color: #8b93a3; font-size: 12px; font-weight: 600; }
.jb-card-actions { display: flex; align-items: center; gap: 6px; flex: none; }
.jb-rec { color: #059669; font-size: 12px; font-weight: 700; }
.jb-x {
  width: 24px; height: 24px; border: 0; border-radius: 8px; background: transparent;
  color: #9ca3af; font-size: 18px; line-height: 1; cursor: pointer;
}
.jb-x:hover { background: #f3f4f6; color: #374151; }
.jb-card-meta {
  display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 10px;
  color: #6b7280; font-size: 12px; font-weight: 600;
}
.jb-card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.jb-card-tags span {
  height: 24px; padding: 0 8px; border-radius: 999px; background: #f3f4f6; color: #4b5563;
  font-size: 11px; font-weight: 700; display: inline-flex; align-items: center;
}
.jb-card-foot {
  display: flex; align-items: center; gap: 8px; margin-top: 12px; padding-top: 10px;
  border-top: 1px solid #f3f4f6;
}
.jb-ring { flex: none; }
.jb-ring-excellent { color: #059669; }
.jb-ring-strong { color: #7b5cff; }
.jb-ring-good { color: #2563eb; }
.jb-ring-fair { color: #d97706; }
.jb-match { font-size: 12px; font-weight: 700; color: #6b7280; }
.jb-match b { margin-right: 4px; }
.jb-match-excellent b { color: #059669; }
.jb-match-strong b { color: #7b5cff; }
.jb-match-good b { color: #2563eb; }
.jb-match-fair b { color: #d97706; }
.jb-source {
  margin-left: auto; width: 22px; height: 22px; border-radius: 6px;
  object-fit: contain; background: #fff; border: 1px solid #e8eaef;
  display: grid; place-items: center; flex: none;
}
.jb-source-fallback {
  background: #eef2ff; color: #4338ca; border: 1px solid #e0e7ff;
  font-size: 9px; font-weight: 800; text-transform: uppercase;
}
.jb-detail-wrap { min-width: 0; min-height: 0; overflow: auto; }
.jb-detail {
  background: #fff; border: 1px solid #eef0f4; border-radius: 18px;
  box-shadow: 0 10px 28px rgba(20, 24, 40, 0.05); padding: 22px 24px 28px;
}
.jb-detail-empty { display: grid; place-items: center; min-height: 320px; color: #8b93a3; }
.jb-detail-head {
  display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: start;
}
.jb-detail-title h2 { margin: 0; font-size: 22px; letter-spacing: -0.02em; color: #111827; }
.jb-detail-title p {
  margin: 6px 0 0; color: #6b7280; font-size: 13px; font-weight: 600;
  display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center;
}
.jb-detail-title strong { color: #111827; }
.jb-apply {
  display: inline-flex; align-items: center; gap: 6px; color: #7b5cff; text-decoration: none;
  font-size: 13px; font-weight: 700; white-space: nowrap; margin-top: 4px;
}
.jb-apply:hover { text-decoration: underline; }
.jb-facts {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px;
  margin: 18px 0 8px; padding: 14px 0; border-top: 1px solid #f1f2f6; border-bottom: 1px solid #f1f2f6;
}
.jb-facts > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.jb-facts i { color: #7b5cff; }
.jb-facts span { font-size: 11px; font-weight: 700; color: #9aa1ad; letter-spacing: 0.02em; }
.jb-facts strong { font-size: 13px; color: #111827; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jb-skills-block { margin-top: 16px; }
.jb-skills-block h3 { margin: 0 0 8px; font-size: 13px; color: #111827; }
.jb-chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.jb-chip {
  display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border-radius: 999px;
  font-size: 12px; font-weight: 700; border: 1px solid transparent;
}
.jb-chip-mint { background: #ecfdf5; color: #047857; border-color: #a7f3d0; }
.jb-chip-amber { background: #fffbeb; color: #b45309; border-color: #fde68a; }
.jb-chip-lime { background: #f7fee7; color: #4d7c0f; border-color: #d9f99d; }
.jb-chip-sky { background: #eff6ff; color: #1d4ed8; border-color: #bfdbfe; }
.jb-chip-peach { background: #fff7ed; color: #c2410c; border-color: #fed7aa; }
.jb-chip-bonus { background: #fffbeb; color: #a16207; border-color: #fde68a; }
.jb-prose { margin-top: 20px; }
.jb-prose h3 {
  margin: 0 0 8px; display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: #111827;
}
.jb-prose h3 svg { color: #7b5cff; }
.jb-prose p, .jb-prose li { margin: 0; color: #4b5563; font-size: 14px; line-height: 1.55; }
.jb-prose ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 8px; }
.bidder.is-dark .jb-search,
.bidder.is-dark .jb-filter,
.bidder.is-dark .jb-card,
.bidder.is-dark .jb-detail,
.bidder.is-dark .jb-pop,
.bidder.is-dark .jb-tag,
.bidder.is-dark .jb-salary input,
.bidder.is-dark .jb-salary select,
.bidder.is-dark .jb-field select,
.bidder.is-dark .jb-search-mini {
  background: #1b1e2a; border-color: #2c3142; color: #e8eaf2;
}
.bidder.is-dark .jb-search input,
.bidder.is-dark .jb-card-head strong,
.bidder.is-dark .jb-detail-title h2,
.bidder.is-dark .jb-facts strong,
.bidder.is-dark .jb-skills-block h3,
.bidder.is-dark .jb-prose h3 { color: #f4f5fb; }
.bidder.is-dark .jb-filter.is-on, .bidder.is-dark .jb-filter.is-open, .bidder.is-dark .jb-tag.is-on, .bidder.is-dark .jb-pill {
  background: #2a241f; border-color: #4c3d8a; color: #c4b5fd;
}
.bidder.is-dark .jb-sort { background: #151821; }
.bidder.is-dark .jb-sort button.is-on { background: #2a2e3d; color: #f4f5fb; }
.bidder.is-dark .jb-pager { border-top-color: #2c3142; }
.bidder.is-dark .jb-pager-num:hover, .bidder.is-dark .jb-pager-nav:hover:not(:disabled) {
  background: #151821; color: #f4f5fb;
}
.bidder.is-dark .jb-pager-num.is-on { background: rgba(123, 92, 255, 0.18); color: #c4b5fd; }
.bidder.is-dark .jb-card-tags span { background: #151821; color: #c5cad8; }
.bidder.is-dark .jb-card-foot, .bidder.is-dark .jb-facts { border-color: #2c3142; }
.bidder.is-dark .jb-prose p, .bidder.is-dark .jb-prose li { color: #c5cad8; }
@media (max-width: 1100px) {
  .jb-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jb-split { grid-template-columns: minmax(260px, 320px) 1fr; }
}
@media (max-width: 900px) {
  .jb-split { grid-template-columns: 1fr; }
  .jb-list { max-height: 420px; }
  .jb-detail-head { grid-template-columns: auto 1fr; }
  .jb-apply { grid-column: 1 / -1; }
}

/* Location autocomplete */
.jb-filter-loc { gap: 8px; }
.jb-filter-pin {
  display: inline-grid; place-items: center; color: #9ca3af; flex: none;
}
.jb-filter-loc.is-on .jb-filter-pin,
.jb-filter-loc.is-open .jb-filter-pin { color: #7b5cff; }
.jb-filter-x {
  display: inline-grid; place-items: center; width: 18px; height: 18px; margin-left: 2px;
  border-radius: 50%; color: #7b5cff; font-size: 15px; line-height: 1; font-weight: 700;
}
.jb-filter-x:hover { background: rgba(123, 92, 255, 0.12); }
.jb-filters [data-jb-pop="location"] { width: min(420px, calc(100vw - 48px)); padding: 14px; }
.jb-loc-pop { gap: 10px; max-height: none; overflow: visible; }
.jb-pop-title { font-size: 14px; font-weight: 800; color: #111827; }
.jb-loc-search {
  display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 10px;
  border: 1.5px solid #e6e8ee; border-radius: 12px; background: #fff;
}
.jb-loc-search:focus-within, .jb-loc-search.is-filled:focus-within {
  border-color: #7b5cff; box-shadow: 0 0 0 3px rgba(123, 92, 255, 0.14);
}
.jb-loc-search i { color: #9ca3af; display: inline-grid; place-items: center; }
.jb-loc-search:focus-within i { color: #7b5cff; }
.jb-loc-search input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
  font: inherit; font-size: 14px; font-weight: 600; color: #111827;
}
.jb-loc-clear-q {
  width: 22px; height: 22px; border: 0; border-radius: 50%; background: #f3f4f6;
  color: #6b7280; font-size: 16px; line-height: 1; cursor: pointer;
}
.jb-loc-clear-q:hover { background: #e5e7eb; color: #111827; }
.jb-loc-list {
  display: flex; flex-direction: column; gap: 2px; max-height: 280px; overflow: auto;
  margin: 0 -4px; padding: 0 4px;
}
.jb-loc-row {
  display: grid; grid-template-columns: 20px 1fr auto; align-items: center; gap: 10px;
  width: 100%; border: 0; background: transparent; border-radius: 10px;
  padding: 10px 8px; text-align: left; font: inherit; cursor: pointer; color: #111827;
}
.jb-loc-row:hover { background: #f6f7f9; }
.jb-loc-row.is-on { background: #f3efff; }
.jb-loc-row i { color: #9ca3af; display: inline-grid; place-items: center; }
.jb-loc-row.is-on i { color: #7b5cff; }
.jb-loc-label { font-size: 13px; font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jb-loc-type {
  justify-self: end; font-style: normal; font-size: 11px; font-weight: 700;
  color: #9aa1ad; background: #f3f4f6; border-radius: 999px; padding: 4px 8px; white-space: nowrap;
}
.jb-loc-empty { margin: 8px 4px; color: #8b93a3; font-size: 13px; }
.bidder.is-dark .jb-pop-title { color: #f4f5fb; }
.bidder.is-dark .jb-loc-search { background: #1b1e2a; border-color: #2c3142; }
.bidder.is-dark .jb-loc-search input { color: #f4f5fb; }
.bidder.is-dark .jb-loc-row:hover { background: #151821; }
.bidder.is-dark .jb-loc-row.is-on { background: #2a241f; }
.bidder.is-dark .jb-loc-label { color: #f4f5fb; }
.bidder.is-dark .jb-loc-type { background: #151821; color: #9aa1ad; }
.bidder.is-dark .jb-loc-clear-q { background: #2a2e3d; color: #c5cad8; }

.jb-loc-status { margin: 0 4px; color: #8b93a3; font-size: 12px; font-weight: 600; }

/* Skills filter */
.jb-filter-skills { gap: 8px; }
.jb-filter-star { display: inline-grid; place-items: center; color: #9ca3af; }
.jb-filter-skills.is-on .jb-filter-star,
.jb-filter-skills.is-open .jb-filter-star { color: #7b5cff; }
.jb-filters [data-jb-pop="skills"] { width: min(360px, calc(100vw - 48px)); }
.jb-skill-pop { gap: 10px; max-height: none; overflow: visible; }
.jb-skill-input {
  display: flex; align-items: flex-start; gap: 8px;
  min-height: 42px; padding: 6px 10px; border: 1.5px solid #e6e8ee; border-radius: 12px; background: #fff;
}
.jb-skill-input:focus-within {
  border-color: #7b5cff; box-shadow: 0 0 0 3px rgba(123, 92, 255, 0.14);
}
.jb-skill-chips {
  flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
}
.jb-skill-chip {
  display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 6px 0 10px;
  border-radius: 8px; background: #f3f4f6; color: #374151; font-size: 12px; font-weight: 700;
}
.jb-skill-chip button {
  border: 0; background: transparent; color: #9ca3af; width: 18px; height: 18px;
  border-radius: 50%; font-size: 14px; line-height: 1; cursor: pointer;
}
.jb-skill-chip button:hover { background: #e5e7eb; color: #111827; }
.jb-skill-chips input {
  flex: 1; min-width: 72px; border: 0; outline: 0; background: transparent;
  font: inherit; font-size: 13px; font-weight: 600; color: #111827; height: 26px;
}
.jb-skill-search-icon { flex: none; color: #9ca3af; margin-top: 5px; }
.jb-skill-list {
  display: flex; flex-direction: column; gap: 2px; max-height: 240px; overflow: auto;
  background: #f7f4ff; border-radius: 12px; padding: 6px;
}
.jb-skill-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%; border: 0; background: transparent; border-radius: 10px;
  padding: 10px 10px; text-align: left; font: inherit; font-size: 13px; font-weight: 700;
  color: #4b5563; cursor: pointer;
}
.jb-skill-row:hover { background: rgba(123, 92, 255, 0.08); }
.jb-skill-row.is-on { color: #5b3fd6; background: rgba(123, 92, 255, 0.12); }
.jb-skill-check { color: #7b5cff; font-style: normal; font-weight: 800; }
.bidder.is-dark .jb-skill-input { background: #1b1e2a; border-color: #2c3142; }
.bidder.is-dark .jb-skill-chips input { color: #f4f5fb; }
.bidder.is-dark .jb-skill-chip { background: #151821; color: #e8eaf2; }
.bidder.is-dark .jb-skill-list { background: #221f33; }
.bidder.is-dark .jb-skill-row { color: #c5cad8; }
.bidder.is-dark .jb-skill-row.is-on { color: #c4b5fd; background: rgba(123, 92, 255, 0.18); }

.jb-load-status { margin: 0; color: #6b7280; font-size: 12px; font-weight: 600; }
.jb-load-status.is-warn { color: #b45309; }
