:root {
  --ink: #082b3c;
  --muted: #667085;
  --line: #d9e0ea;
  --paper: #f4f2fb;
  --panel: #ffffff;
  --navy: #062d3e;
  --navy-2: #123f55;
  --teal: #2768d8;
  --gold: #bb8324;
  --red: #b5473f;
  --green: #287a55;
  --blue: #2768d8;
  --shadow: 0 18px 55px rgba(22, 40, 58, .12);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

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

button {
  border: 0;
  border-radius: 7px;
  cursor: pointer;
  min-height: 38px;
  padding: 0 13px;
  font-weight: 720;
}

input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  min-height: 40px;
  padding: 10px 11px;
  background: white;
  color: var(--ink);
}

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

a { color: var(--blue); }

hr {
  width: 100%;
  border: 0;
  border-top: 1px solid var(--line);
  margin: 6px 0;
}

.shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 276px minmax(0, 1fr);
}

.side {
  background: var(--navy);
  color: white;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 820;
  font-size: 18px;
}

.mark {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #f3c657, #38a69b);
  color: var(--navy);
}

.nav {
  display: grid;
  gap: 8px;
}

.nav button {
  color: rgba(255,255,255,.82);
  text-align: left;
  background: transparent;
  justify-content: flex-start;
  border: 1px solid transparent;
}

.nav button.active {
  background: rgba(255,255,255,.13);
  border-color: rgba(255,255,255,.12);
  color: white;
}

.side-card {
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.08);
  border-radius: 8px;
  padding: 14px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255,255,255,.78);
}

.main {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.topbar {
  background: white;
  border-bottom: 1px solid var(--line);
  padding: 18px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.title h1 {
  margin: 0;
  font-size: 25px;
  line-height: 1.1;
}

.title p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.content {
  padding: 20px 24px 32px;
  display: grid;
  gap: 16px;
}

.panel, .candidate-card, .metric, .login-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 1px 0 rgba(22, 40, 58, .03);
}

.panel { padding: 16px; }

.panel h2, .panel h3 {
  margin: 0 0 12px;
  font-size: 18px;
}

.muted { color: var(--muted); }
.small { font-size: 13px; line-height: 1.45; }

.primary { background: var(--teal); color: white; }
.secondary { background: #e9eef5; color: var(--navy); }
.danger { background: #fae8e6; color: var(--red); }

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 0 9px;
  border-radius: 999px;
  background: #edf1f7;
  color: var(--navy);
  font-size: 12px;
  font-weight: 760;
  white-space: nowrap;
}

.badge.green { background: #e4f4ec; color: var(--green); }
.badge.gold { background: #fff3d8; color: #8a5a00; }
.badge.red { background: #fae8e6; color: var(--red); }

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

.metric { padding: 13px 14px; }
.metric span { display: block; color: var(--muted); font-size: 13px; margin-bottom: 6px; }
.metric strong { font-size: 24px; }

.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, .8fr);
  gap: 14px;
}

.hero-panel {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  border-left: 4px solid var(--teal);
  background: linear-gradient(120deg, #ffffff 0%, #f7f4ff 100%);
}

.hero-panel h2 {
  font-size: 22px;
}

.status-list {
  display: grid;
  gap: 10px;
}

.status-list div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 10px;
  align-items: center;
}

.toolbar, .form-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  align-items: end;
}

.field label {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 6px;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr);
  gap: 14px;
}

.auth-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.auth-grid .panel {
  min-width: 0;
  box-shadow: none;
  align-content: start;
}

.auth-grid button {
  min-height: 44px;
}

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

.candidate-card {
  padding: 15px;
  display: grid;
  gap: 12px;
}

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

.card-head h3 {
  margin: 0;
  font-size: 19px;
}

.card-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}

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

.fact {
  border: 1px solid #e6ebf2;
  border-radius: 7px;
  padding: 9px;
  background: #fbfcfe;
}

.fact span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 4px;
}

.fact strong {
  font-size: 14px;
  line-height: 1.25;
}

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

.links a, .share-url {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 8px 10px;
  background: white;
  text-decoration: none;
  color: var(--navy);
  font-size: 13px;
  font-weight: 720;
}

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

.tabs button {
  background: #e9eef5;
  color: var(--navy);
}

.tabs button.active {
  background: var(--navy);
  color: white;
}

.list {
  display: grid;
  gap: 10px;
}

.row {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  display: grid;
  gap: 8px;
  background: #fbfcfe;
}

.mini-row {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fbfcfe;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  font-size: 14px;
}

.mini-row span {
  color: var(--muted);
  text-align: right;
}

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

.client-row {
  padding: 0;
  overflow: hidden;
}

.client-candidate-toggle {
  width: 100%;
  min-height: 0;
  padding: 14px;
  background: transparent;
  color: inherit;
  text-align: left;
  border-radius: 0;
}

.client-candidate-toggle:hover {
  background: #f5f8fb;
}

.candidate-list-button {
  width: 100%;
  min-height: 0;
  padding: 12px;
  text-align: left;
  color: var(--ink);
  font-weight: 600;
}

.candidate-list-button .row-top {
  align-items: center;
}

.candidate-details {
  border-top: 1px solid var(--line);
  padding: 14px;
  display: grid;
  gap: 12px;
  background: white;
}

.candidate-details .facts {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wide-login {
  width: min(860px, 100%);
}

.check-list {
  display: grid;
  gap: 7px;
  max-height: 290px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: white;
}

.check {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 14px;
}

.check input { width: auto; min-height: auto; }

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 860px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

th, td {
  text-align: left;
  padding: 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  font-size: 14px;
}

th {
  background: #eef2f7;
  color: #344054;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.table-wrap { overflow-x: auto; }

.login-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: linear-gradient(135deg, #f4f6f9, #eaf0f6);
}

.login-panel {
  width: min(440px, 100%);
  padding: 22px;
  display: grid;
  gap: 14px;
}

.login-panel h1 { margin: 0; font-size: 25px; }

.notice {
  border: 1px solid #b9e1dc;
  background: #edf8f6;
  color: #1c6159;
  border-radius: 8px;
  padding: 12px;
  font-size: 14px;
}

.error {
  border: 1px solid #f1c1bd;
  background: #fff0ee;
  color: var(--red);
  border-radius: 8px;
  padding: 12px;
  font-size: 14px;
}

.empty {
  border: 1px dashed #b9c3cf;
  border-radius: 8px;
  padding: 28px;
  text-align: center;
  color: var(--muted);
  background: white;
}

.empty.compact {
  padding: 16px;
  font-size: 14px;
}

@media (max-width: 1100px) {
  .shell, .two-col, .overview-grid { grid-template-columns: 1fr; }
  .three-col, .candidate-details .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .toolbar, .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .topbar { flex-direction: column; align-items: flex-start; }
  .content { padding: 16px; }
  .metrics, .three-col, .toolbar, .form-grid, .facts, .auth-grid { grid-template-columns: 1fr; }
  .hero-panel { align-items: flex-start; flex-direction: column; }
  .side { padding: 16px; }
}

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: block;
  object-fit: contain;
  background: rgba(255,255,255,.08);
}

.side-select label { color: rgba(255,255,255,.72); }
.side-select select {
  background: rgba(255,255,255,.1);
  color: white;
  border-color: rgba(255,255,255,.18);
}
.side-select option { color: var(--ink); }

.full-span { grid-column: 1 / -1; }
.compact-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.job-row { background: white; }
.single-toolbar { grid-template-columns: 1fr; }
.search-field { margin: 12px 0; }
.link-button {
  min-height: auto;
  padding: 0;
  background: transparent;
  color: var(--blue);
  font-weight: 760;
  text-decoration: underline;
}

.client-shell {
  min-height: 100vh;
  background: #f4f2fb;
  color: var(--ink);
}

.client-hero {
  background: linear-gradient(125deg, #062d3e 0%, #163e70 58%, #7d2bd4 100%);
  color: white;
  padding: 28px 24px 34px;
}

.client-hero-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: end;
}

.client-brand { grid-column: 1 / -1; }
.client-title-block h1 {
  margin: 6px 0;
  font-size: 42px;
  line-height: 1.02;
}
.client-title-block p { margin: 0; color: rgba(255,255,255,.78); }
.eyebrow {
  margin: 0;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  color: #f1ecff;
}

.client-summary {
  min-width: 190px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255,255,255,.1);
  display: grid;
  gap: 4px;
}
.client-summary span { font-size: 34px; font-weight: 850; }
.client-summary small { color: rgba(255,255,255,.72); word-break: break-word; }

.client-main {
  width: min(1120px, 100%);
  margin: -18px auto 0;
  padding: 0 24px 36px;
}
.client-panel {
  background: white;
  border: 1px solid rgba(8,43,60,.08);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 18px;
}
.client-section-head { margin-bottom: 14px; }
.client-list { gap: 12px; }
.client-row {
  border-color: #e6e3f2;
  background: #fff;
  box-shadow: 0 8px 24px rgba(6,45,62,.06);
}
.client-candidate-toggle {
  padding: 18px;
}
.client-candidate-toggle:hover { background: #f7f5ff; }
.client-row .facts {
  padding: 0 18px 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.client-row .fact-wide {
  grid-column: 1 / -1;
}
.client-row .fact-wide strong {
  display: block;
  font-weight: 550;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.client-row .feedback-form {
  border-top: 1px solid #eeeaf8;
  padding: 18px;
  background: #fbfaff;
}

@media (max-width: 900px) {
  .client-hero-inner, .compact-list { grid-template-columns: 1fr; }
  .client-summary { min-width: 0; }
  .client-row .facts { grid-template-columns: 1fr; }
}
.login-wrap {
  background: linear-gradient(135deg, #eef2f8 0%, #f7f5ff 48%, #eaf3ff 100%);
}

.login-panel {
  width: min(480px, 100%);
  padding: 30px;
  gap: 18px;
  text-align: center;
  border-color: rgba(6,45,62,.1);
  box-shadow: 0 24px 70px rgba(6,45,62,.14);
}

.login-brand {
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  font-size: 20px;
}

.login-brand .brand-logo {
  width: 70px;
  height: 70px;
  border-radius: 16px;
  background: transparent;
}

.brand-title {
  display: grid;
  gap: 2px;
  line-height: 1.05;
  color: var(--navy);
  font-weight: 850;
}

.brand-name {
  font-size: 28px;
  letter-spacing: 0;
}

.login-panel h1 {
  text-align: center;
  font-size: 28px;
  color: var(--navy);
}

.login-copy,
.login-footnote {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.login-panel .field,
.login-panel .field label {
  text-align: left;
}

.login-panel .primary {
  background: linear-gradient(90deg, #df00e1 0%, #8b35df 44%, #2768d8 100%);
  box-shadow: 0 10px 22px rgba(39,104,216,.2);
}
.side-brand {
  align-items: flex-start;
  gap: 10px;
}
.side-brand .brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: transparent;
}
.side-brand .brand-title {
  color: white;
  font-size: 14px;
}
.side-brand .brand-name {
  font-size: 18px;
}
.side-brand .brand-title span:last-child {
  color: rgba(255,255,255,.82);
  font-size: 13px;
}

.topbar-actions,
.hero-actions,
.portal-update-actions,
.recruiter-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-copy {
  min-width: 0;
}

.dashboard-eyebrow {
  color: var(--blue);
  letter-spacing: 0;
}

.hero-panel h2 {
  margin-top: 7px;
  max-width: 720px;
}

.hero-actions {
  flex-direction: column;
  align-items: stretch;
  min-width: 190px;
}

.action-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  padding: 0 14px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 750;
}

.job-picker-field {
  min-width: 0;
}

.side .job-picker-field label {
  color: rgba(255,255,255,.72);
}

.job-picker {
  position: relative;
  min-width: 0;
}

.job-picker-trigger,
.job-option {
  width: 100%;
  height: auto;
  min-height: 48px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  text-align: left;
}

.job-picker-trigger {
  padding: 9px 11px;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
}

.side .job-picker-trigger {
  color: white;
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.2);
}

.job-id {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  padding: 2px 8px;
  background: #e8effb;
  color: #174c97;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.side .job-id {
  background: rgba(255,255,255,.16);
  color: white;
}

.side .job-menu .job-id {
  background: #e8effb;
  color: #174c97;
}

.job-title {
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.25;
}

.job-chevron {
  font-size: 18px;
  line-height: 1;
}

.job-menu {
  position: absolute;
  z-index: 30;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  max-height: 330px;
  overflow-y: auto;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 18px 46px rgba(6,45,62,.22);
}

.job-menu[hidden] {
  display: none;
}

.side .job-menu {
  min-width: min(440px, calc(100vw - 40px));
}

.job-option {
  grid-template-columns: auto minmax(0, 1fr);
  padding: 9px;
  color: var(--ink);
  background: white;
  border-radius: 6px;
  font-weight: 650;
}

.job-option:hover,
.job-option.selected {
  background: #f0f4fb;
}

.job-row-copy {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.job-row-select {
  width: 100%;
  height: auto;
  min-height: 0;
  padding: 0;
  border-radius: 4px;
  background: transparent;
  color: inherit;
  text-align: left;
}

.job-row-select:hover strong,
.job-row-select:focus-visible strong {
  color: var(--blue);
}

.job-row-copy strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  line-height: 1.28;
  overflow-wrap: anywhere;
}

.selected-job-row {
  border-color: #9ab9eb;
  background: #f7f9fe;
}

.job-row-actions {
  flex-wrap: nowrap;
  flex: 0 0 auto;
}

.job-row-actions button,
.job-row-actions .share-url {
  min-width: 76px;
  min-height: 38px;
  padding: 7px 10px;
  white-space: nowrap;
}

.sync-job-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.sync-job-button .small-spinner {
  width: 14px;
  height: 14px;
}

.syncing-job-row {
  border-color: #8b35df;
  box-shadow: inset 3px 0 0 #8b35df;
}

.sync-indicator {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.background-sync-indicator {
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid #cce7da;
  border-radius: 7px;
  background: #f2faf6;
  color: #176447;
  font-weight: 750;
}

.background-sync-indicator.has-error {
  border-color: #f0c7c7;
  background: #fff5f5;
  color: #9d2a2a;
}

.live-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px rgba(23, 100, 71, .12);
}

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

.portal-form-grid #portalName,
.portal-form-grid .job-picker-trigger {
  height: 44px;
  min-height: 44px;
}

.portal-form-grid .job-picker-trigger {
  padding: 6px 10px;
}

.portal-form-grid > .field:last-child {
  grid-column: 1 / -1;
}

.email-chip-box {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: white;
  cursor: text;
}

.email-chip-box:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px rgba(39, 104, 216, .12);
}

.email-chip-list {
  display: contents;
}

.email-chip {
  max-width: 100%;
  min-height: 29px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 5px 3px 10px;
  border: 1px solid #c8d7ee;
  border-radius: 999px;
  background: #edf3fc;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
}

.email-chip > span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.email-chip button {
  width: 23px;
  min-width: 23px;
  min-height: 23px;
  padding: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font-size: 18px;
  line-height: 1;
}

.email-chip button:hover {
  background: #d8e4f5;
  color: var(--navy);
}

.email-chip-input {
  width: min(260px, 100%);
  flex: 1 1 220px;
  min-height: 30px;
  padding: 3px;
  border: 0;
  outline: 0;
  background: transparent;
}

.email-chip-error {
  min-height: 18px;
  margin-top: 4px;
  color: var(--red);
}

.delivery-setting {
  display: grid;
  gap: 10px;
  padding-top: 4px;
  border-top: 1px solid var(--line);
}

.delivery-setting > .row-top {
  align-items: center;
}

.recipient-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.recipient-pill {
  max-width: 100%;
  padding: 5px 9px;
  border: 1px solid #c8d7ee;
  border-radius: 999px;
  background: #edf3fc;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.icon-button {
  width: 38px;
  min-width: 38px;
  min-height: 38px;
  padding: 0;
  border: 1px solid var(--line);
  background: #e9eef5;
  color: var(--navy);
  font-size: 21px;
  line-height: 1;
}

.icon-button:hover {
  background: #dce6f3;
}

.notification-email-actions {
  justify-content: flex-start;
}

.create-portal-button {
  justify-self: start;
  min-width: 190px;
}

.portal-actions {
  justify-content: space-between;
  align-items: center;
}

.portal-update-actions button {
  min-width: 92px;
}

.recruiter-actions {
  width: 100%;
}

.recruiter-actions button {
  flex: 1 1 50%;
}

.pause-button {
  background: #e7effc;
  color: #1854a5;
}

.integration-panel {
  width: 100%;
}

.integration-heading {
  align-items: center;
  margin-bottom: 18px;
}

.connection-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
}

.connection-summary > div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px;
  background: #fbfcfe;
}

.connection-summary span,
.connection-summary strong {
  display: block;
}

.connection-summary span {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 12px;
}

.connection-summary strong {
  overflow-wrap: anywhere;
}

.spinner {
  width: 46px;
  height: 46px;
  display: inline-block;
  border: 4px solid #e4eaf2;
  border-top-color: #8b35df;
  border-radius: 50%;
  animation: spin .8s linear infinite;
}

.small-spinner {
  width: 18px;
  height: 18px;
  border-width: 2px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.access-waiting,
.approval-panel {
  justify-items: center;
}

.access-waiting {
  display: grid;
  gap: 14px;
}

.access-waiting h1,
.access-waiting p {
  margin: 0;
}

.expiry-timer {
  width: 100%;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid #d8dbea;
  border-radius: 8px;
  background: #f7f6fc;
}

.expiry-timer span {
  color: var(--muted);
  font-size: 13px;
}

.expiry-timer strong {
  font-size: 22px;
  color: var(--navy);
}

.approval-check {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e4f4ec;
  color: var(--green);
  font-size: 28px;
  font-weight: 850;
}

button:disabled {
  cursor: not-allowed;
  opacity: .55;
}

@media (max-width: 900px) {
  .client-title-block h1 { font-size: 32px; }
}

@media (max-width: 680px) {
  .side {
    gap: 12px;
  }
  .side-card {
    display: none;
  }
  .nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }
  .nav button {
    min-height: 42px;
    padding: 7px 9px;
  }
  .topbar-actions,
  .hero-actions,
  .portal-update-actions,
  .recruiter-actions,
  .job-row .row-top {
    width: 100%;
  }
  .topbar-actions,
  .job-row .row-top {
    align-items: stretch;
    flex-direction: column;
  }
  .hero-actions {
    min-width: 0;
  }
  .portal-form-grid,
  .connection-summary {
    grid-template-columns: 1fr;
  }
  .portal-form-grid > .field:last-child {
    grid-column: auto;
  }
  .create-portal-button {
    width: 100%;
  }
  .portal-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .client-title-block h1 { font-size: 28px; }
}
