.provider-page {
  min-height: 100vh;
  display: grid;
  background: var(--navy);
}

@media (min-width: 1024px) {
  .provider-page { grid-template-columns: 1.1fr 0.9fr; }
}

.provider-hero {
  position: relative;
  overflow: hidden;
  padding: 48px 32px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 50vh;
}

@media (min-width: 1024px) {
  .provider-hero { padding: 80px 72px; min-height: 100vh; }
}

.provider-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 70% 60% at 20% 30%, rgba(14, 159, 142, 0.16) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 80% 80%, rgba(95, 190, 70, 0.1) 0%, transparent 60%);
}

.provider-hero > * { position: relative; z-index: 1; }

.provider-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 40px;
}

.provider-brand img { height: 40px; width: auto; }

.provider-brand span {
  font-family: var(--mono);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--teal);
}

.provider-hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

.provider-hero .lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 480px;
  margin: 0 0 36px;
  line-height: 1.8;
}

.provider-points {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 420px;
}

.provider-points li {
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
  padding: 12px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  font-size: 14px;
  font-weight: 600;
}

.provider-form-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px 64px;
  background: var(--navy-mid);
  position: relative;
}

.provider-form-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(ellipse 60% 50% at 70% 20%, rgba(14, 159, 142, 0.08) 0%, transparent 60%);
}

.provider-form {
  position: relative;
  z-index: 1;
  width: min(100%, 440px);
  padding: 36px 28px;
  border-radius: 32px;
  border: 1px solid rgba(14, 159, 142, 0.16);
  background: rgba(7, 24, 42, 0.7);
  backdrop-filter: blur(20px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.provider-form h2 {
  margin: 0 0 8px;
  font-size: 26px;
}

.provider-form .hint {
  margin: 0 0 28px;
  font-size: 14px;
  color: var(--muted);
}

.provider-form .hint-sm {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
}

.provider-login {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: var(--muted);
}

.dash-shell {
  display: grid;
  min-height: 100vh;
}

@media (min-width: 1024px) {
  .dash-shell { grid-template-columns: 260px 1fr; }
}

.dash-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(0, 0, 0, 0.55);
}

.dash-side {
  background: var(--navy-mid);
  border-inline-end: 1px solid var(--line);
  padding: 24px 16px;
  min-height: 100vh;
}

.dash-side-lang { padding: 0 8px 16px; }

.dash-nav-label {
  margin: 16px 14px 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.28);
}

.dash-side-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 24px;
}

.dash-side-close,
.dash-menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-size: 22px;
}

.dash-side a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  font-weight: 500;
}

.dash-side a.is-active,
.dash-side a:hover {
  background: rgba(14, 159, 142, 0.1);
  color: var(--teal);
}

.dash-main {
  position: relative;
  overflow: hidden;
  padding: 32px 24px 48px;
  background: var(--navy);
}

.dash-glow,
.dash-grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.dash-glow {
  background:
    radial-gradient(ellipse 50% 50% at 30% 20%, rgba(95, 190, 70, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 70% 50%, rgba(14, 159, 142, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 50% 80%, rgba(31, 182, 214, 0.04) 0%, transparent 50%);
}

.dash-grid-bg {
  opacity: 0.012;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 70px, rgba(14, 159, 142, 0.4) 70px, rgba(14, 159, 142, 0.4) 71px),
    repeating-linear-gradient(90deg, transparent, transparent 70px, rgba(14, 159, 142, 0.4) 70px, rgba(14, 159, 142, 0.4) 71px);
}

.dash-main > * { position: relative; z-index: 1; }

.dash-overview {
  display: grid;
  gap: 32px;
  margin-bottom: 32px;
}

@media (min-width: 1024px) {
  .dash-overview { grid-template-columns: 280px 1fr; align-items: start; }
}

.dash-profile-col .profile-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid rgba(14, 159, 142, 0.12);
  background: rgba(15, 36, 58, 0.5);
  backdrop-filter: blur(24px);
  text-align: center;
}

.dash-profile-col .profile-glow {
  position: absolute;
  top: 0;
  inset-inline-end: 0;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.04;
  background: radial-gradient(circle, #5FBE46 0%, transparent 70%);
  transform: translate(30%, -30%);
}

html[dir="rtl"] .dash-profile-col .profile-glow { transform: translate(-30%, -30%); }

.dash-profile-col .profile-avatar {
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  color: var(--teal);
  background: linear-gradient(135deg, rgba(95, 190, 70, 0.2), rgba(14, 159, 142, 0.2));
  border: 1px solid rgba(14, 159, 142, 0.2);
}

.dash-profile-col .profile-card h3 { margin: 0 0 12px; font-size: 18px; }
.dash-profile-col .profile-email { font-size: 13px; color: var(--muted); margin: 12px 0 0; }

.dash-profile-col .profile-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 10px 16px;
  border-radius: 16px;
  font-size: 12px;
  background: color-mix(in srgb, var(--badge, var(--teal)) 8%, transparent);
  color: var(--badge, var(--teal));
  border: 1px solid color-mix(in srgb, var(--badge, var(--teal)) 19%, transparent);
}

.dash-profile-col .profile-edit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  margin-top: 16px;
  padding: 10px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  font-weight: 600;
}

.dash-profile-col .profile-edit-btn:hover { background: rgba(255, 255, 255, 0.04); color: #fff; }

.dash-welcome {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-end;
  margin-bottom: 24px;
}

.dash-welcome h1 { margin: 0 0 4px; font-size: 30px; }
.dash-welcome p { margin: 0; font-size: 14px; color: rgba(255, 255, 255, 0.45); }

.dash-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  box-shadow: 0 0 25px rgba(14, 159, 142, 0.35);
}

.dash-banner {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px;
  border-radius: 24px;
  border: 1px solid rgba(14, 159, 142, 0.12);
  background: rgba(15, 36, 58, 0.4);
  backdrop-filter: blur(20px);
}

.dash-banner-glow {
  position: absolute;
  top: 0;
  inset-inline-end: 0;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.04;
  background: radial-gradient(circle, #5FBE46 0%, transparent 70%);
  transform: translate(30%, -30%);
}

.dash-banner h3 { margin: 0 0 8px; font-size: 20px; }
.dash-banner p { margin: 0; max-width: 520px; font-size: 14px; line-height: 1.7; color: rgba(255, 255, 255, 0.55); }

.dash-banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  white-space: nowrap;
  border: 1px solid rgba(14, 159, 142, 0.3);
  color: #0E9F8E;
  background: rgba(14, 159, 142, 0.06);
}

.dash-panel {
  margin-top: 24px;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(15, 36, 58, 0.5);
  backdrop-filter: blur(16px);
  overflow-x: auto;
}

.dash-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.dash-panel-head h3 { margin: 0; font-size: 18px; }
.dash-panel-head a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  white-space: nowrap;
}
.dash-panel-head a:hover { color: #fff; }

.dash-secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 32px 0 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.2);
}

.dash-main .legal-card {
  max-width: none;
  margin: 0;
  padding: 28px;
}

.kpi-grid {
  display: grid;
  gap: 16px;
  margin-bottom: 24px;
}

@media (min-width: 768px) { .kpi-grid { grid-template-columns: repeat(3, 1fr); } }

.kpi {
  position: relative;
  overflow: hidden;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(15, 36, 58, 0.5);
  backdrop-filter: blur(16px);
}

.kpi-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--kpi, var(--teal)) 12%, transparent);
  color: var(--kpi, var(--teal));
}

.kpi strong { display: block; font-size: 24px; font-family: var(--mono); color: var(--kpi, #fff); }
.kpi span { font-size: 12px; color: var(--muted); }

.dash-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-end;
  margin-bottom: 32px;
}

.dash-email {
  font-size: 13px;
  color: var(--muted);
  font-family: var(--mono);
}

.dash-side a.is-disabled {
  opacity: 0.4;
  pointer-events: none;
}

.dash-logout {
  margin-top: 24px;
}

.dash-logout button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  cursor: pointer;
}

.dash-logout button:hover {
  background: rgba(255, 80, 80, 0.1);
  color: #ff8b8b;
}

.alert {
  padding: 12px 16px;
  border-radius: 12px;
  margin-bottom: 20px;
  font-size: 14px;
}

.alert-success {
  background: rgba(95, 190, 70, 0.12);
  color: #5FBE46;
}

.alert-error {
  background: rgba(255, 80, 80, 0.12);
  color: #ff8b8b;
}

.invite-form {
  display: grid;
  gap: 16px;
  max-width: 560px;
  margin-bottom: 8px;
}

@media (min-width: 768px) {
  .invite-form {
    grid-template-columns: 1fr 1fr auto;
    align-items: start;
  }
}

.invite-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  font-size: 14px;
}

.invite-table th,
.invite-table td {
  text-align: start;
  padding: 12px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.invite-table th { color: var(--muted); font-weight: 500; }
.invite-table .mono { font-family: var(--mono); letter-spacing: 0.04em; }

.status {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
}

.status-pending { background: rgba(255, 162, 77, 0.15); color: #FFA24D; }
.status-completed { background: rgba(95, 190, 70, 0.15); color: #5FBE46; }
.status-expired, .status-rejected { background: rgba(255, 255, 255, 0.08); color: var(--muted); }
.status-accepted { background: rgba(95, 190, 70, 0.15); color: #5FBE46; }
.status-opened { background: rgba(31, 182, 214, 0.15); color: #1FB6D6; }
.status-in_progress { background: rgba(14, 159, 142, 0.15); color: #0E9F8E; }

.dash-main .tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding-bottom: 8px;
}
.dash-main .tabs a {
  padding: 10px 14px;
  border-radius: 10px;
  color: rgba(255,255,255,.55);
}
.dash-main .tabs a.is-active {
  background: rgba(14,159,142,.12);
  color: #0E9F8E;
}
.chip {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.7);
  font-size: 12px;
}

.stack-list { display: grid; gap: 16px; }
.plain-input, textarea.plain-input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.04);
  color: #fff;
  font: inherit;
}

.result-score { font-size: 56px; font-family: var(--mono); }
.result-score small { font-size: 16px; }
.criteria-list { display: grid; gap: 14px; margin-top: 16px; }
.criteria-row .bar { height: 8px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.criteria-row .bar i { display: block; height: 100%; }

.dash-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}
.dash-search {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 420px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
}
.dash-search i { color: var(--muted); }
.dash-search input {
  flex: 1;
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  padding: 12px 0;
}
.dash-bell { position: relative; }
.dash-bell-btn {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  background: rgba(255,255,255,.04);
  color: #fff;
  position: relative;
}
.dash-bell-count {
  position: absolute;
  top: 6px;
  inset-inline-end: 6px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 99px;
  background: #0E9F8E;
  color: #fff;
  font-size: 10px;
  line-height: 16px;
}
.dash-bell-list {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-end: 0;
  width: min(360px, 80vw);
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.08);
  background: #0b1f33;
  z-index: 20;
}
.dash-bell.is-open .dash-bell-list { display: block; }
.dash-bell-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.dash-bell-head button {
  border: 0;
  background: none;
  color: #0E9F8E;
  font: inherit;
  cursor: pointer;
}
.dash-bell-list a, .dash-bell-list p {
  display: block;
  padding: 10px;
  border-radius: 10px;
  color: rgba(255,255,255,.75);
  font-size: 13px;
}
.dash-bell-list a.is-unread { background: rgba(14,159,142,.08); }
.dash-bell-list a small { display: block; color: var(--muted); margin-top: 4px; }
.logo-preview { width: 64px; height: 64px; object-fit: contain; border-radius: 12px; background: rgba(255,255,255,.04); }
.perm-grid { display: grid; gap: 8px; margin-top: 16px; }
.perm-grid span { color: var(--muted); font-size: 13px; }

@media (max-width: 1023px) {
  body.dash-nav-open { overflow: hidden; }
  .dash-overlay { display: block; }
  .dash-overlay[hidden] { display: none; }
  .dash-shell.is-nav-open .dash-overlay { display: block; }
  .dash-menu-btn,
  .dash-side-close { display: inline-flex; }
  .dash-side {
    position: fixed;
    top: 0;
    bottom: 0;
    inset-inline-start: 0;
    width: min(280px, 88vw);
    z-index: 50;
    transform: translateX(-110%);
    overflow-y: auto;
    transition: transform 240ms ease;
  }
  html[dir="rtl"] .dash-side { transform: translateX(110%); }
  .dash-shell.is-nav-open .dash-side { transform: translateX(0); }
  .dash-main { padding: 16px 14px 40px; overflow-x: hidden; }
  .dash-toolbar { margin-bottom: 20px; }
  .dash-search { max-width: none; }
  .section-title { font-size: 22px !important; }
  .result-score { font-size: 40px; }
  .legal-card { overflow-x: auto; }
  .invite-table { min-width: 620px; }
}

html[dir="ltr"] .dash-banner-btn i,
html[dir="ltr"] .dash-panel-head a i {
  display: inline-block;
  transform: scaleX(-1);
}

@media (max-width: 639px) {
  .dash-head { align-items: flex-start; }
  .kpi-grid { grid-template-columns: 1fr 1fr; }
  .invite-form { grid-template-columns: 1fr; }
  .dash-bell-list { inset-inline-end: auto; inset-inline-start: 0; width: min(320px, calc(100vw - 28px)); }
}

/* —— Legacy glass portal styles kept for non-shell pages; shell overrides below —— */
body.provider-app:not(.auth-layout) {
  /* Ready light shell is defined later; keep this neutral */
  background: #F5F8FB;
  min-height: 100vh;
}

.provider-header.is-solid {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 50;
  height: 64px;
  background: rgba(7, 30, 50, 0.92);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.provider-header .header-inner {
  height: 64px;
}

.provider-header .nav-desktop a.is-active {
  color: #fff;
}

.provider-header .dash-bell {
  position: relative;
}

.provider-avatar-btn {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: #0E9F8E;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 200ms ease;
}

.provider-avatar-btn:hover { transform: scale(1.05); }

.provider-user-menu { position: relative; }

.provider-user-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  inset-inline-end: 0;
  width: 288px;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid rgba(14, 159, 142, 0.15);
  background: #0A1E33;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
  z-index: 60;
}

.provider-user-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.provider-user-avatar {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #0E9F8E;
  background: linear-gradient(135deg, rgba(95, 190, 70, 0.25), rgba(14, 159, 142, 0.25));
}

.provider-user-head strong {
  display: block;
  font-size: 14px;
  color: #fff;
}

.provider-user-head span {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  word-break: break-all;
}

.provider-user-links {
  display: grid;
  gap: 2px;
}

.provider-user-links a,
.provider-user-links button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font: inherit;
  font-size: 13px;
  text-align: start;
  cursor: pointer;
}

.provider-user-links a:hover,
.provider-user-links button:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.provider-app .history-panel:has(> h3),
.provider-app .history-panel:has(> table),
.provider-app .history-panel:has(> form),
.provider-app .history-panel:has(> p) {
  padding: 24px;
}

.provider-app .history-panel:has(> .history-row) {
  padding: 0;
}

.provider-app .kpi-grid {
  display: grid;
  gap: 16px;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .provider-app .kpi-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1100px) {
  .provider-app .kpi-grid { grid-template-columns: repeat(6, 1fr); }
}

.provider-app .kpi-grid .kpi {
  position: relative;
  overflow: hidden;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(15, 36, 58, 0.5);
  backdrop-filter: blur(16px);
}

.provider-app .section-title { color: #fff; }
.provider-app .section-lead { color: rgba(255, 255, 255, 0.45); }

.provider-app .invite-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.provider-app .invite-table th,
.provider-app .invite-table td {
  text-align: start;
  padding: 12px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.provider-app .invite-table th { color: var(--muted); font-weight: 500; }

html[dir="ltr"] .provider-app .history-go,
html[dir="ltr"] .provider-app .assess-head a i,
html[dir="ltr"] .provider-app .discover-card .btn-ghost i {
  display: inline-block;
  transform: scaleX(-1);
}

@media (max-width: 1023px) {
  .provider-app .invite-table { min-width: 620px; }
  .provider-app .history-panel:has(table) { overflow-x: auto; }
}

/* —— Ready company dashboard (light main + dark sidebar) —— */
body.provider-app {
  --navy: #071E32;
  --navy-mid: #0C2A46;
  --teal: #0E9F8E;
  --muted: #5B6B7B;
  --line: #E4EAF1;
  --text: #1F2D3D;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --font: "IBM Plex Sans Arabic", "IBM Plex Sans", Tahoma, sans-serif;
  margin: 0;
  background: #F5F8FB !important;
  color: #1F2D3D !important;
  min-height: 100vh;
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

body.provider-app *,
body.provider-app *::before,
body.provider-app *::after { box-sizing: border-box; }

/* zero specificity so component link colors (e.g. #0B7A66) still apply */
:where(body.provider-app a) { color: inherit; text-decoration: none; }
body.provider-app button, body.provider-app input, body.provider-app textarea, body.provider-app select { font: inherit; }

.co-shell {
  display: flex;
  min-height: 100vh;
  width: 100%;
  background: #F5F8FB;
}

.co-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(7, 30, 50, 0.45);
}

/* Ready: sidebar fixed 260px on the inline-start side (right in RTL) */
.co-side {
  position: fixed;
  top: 0;
  bottom: 0;
  inset-inline-start: 0;
  width: 260px;
  z-index: 40;
  /* Deeper solid navy — avoids washed/faded look against the light main */
  background-color: #07182A !important;
  background-image:
    linear-gradient(180deg, #0A2238 0%, #07182A 42%, #051421 100%) !important;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  opacity: 1 !important;
  isolation: isolate;
  box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.04);
}

html[dir="ltr"] .co-side {
  box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.04);
}

.co-side-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 32px;
  padding: 0 4px;
}

.co-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
}

.co-brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: none;
  opacity: 1;
}
.co-brand span {
  color: #FFFFFF !important;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.co-side-lang { padding: 0 8px 16px; }

.co-nav { display: flex; flex-direction: column; gap: 4px; flex: 1; }

.co-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  color: #B7D0E3 !important; /* stronger than washed #7FA6C4 */
  font-size: 14px;
  font-weight: 500;
  transition: 160ms ease;
  opacity: 1;
}

.co-nav a:hover {
  background: #0C2A46;
  color: #F3FAFF !important;
}

.co-nav a.is-active {
  background: #123A5C !important;
  color: #FFFFFF !important;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
}

.co-nav-ico {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: inherit;
  opacity: 1;
}

.co-nav-ico i { font-size: 18px; color: inherit; }

.co-logout { margin-top: 16px; }
.co-logout button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #B7D0E3 !important;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  opacity: 1;
}
.co-logout button:hover { background: rgba(209, 67, 67, 0.12); color: #ff8b8b !important; }

.co-side-close,
.co-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid #E4EAF1;
  background: #fff;
  color: #1F2D3D;
  font-size: 20px;
}

.co-side-close {
  border-color: rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: #fff;
}

.co-main {
  flex: 1;
  min-width: 0;
  width: 100%;
  background: #F5F8FB;
  margin-inline-start: 0;
}

@media (min-width: 1024px) {
  .co-main { margin-inline-start: 260px; }
}

.co-topbar {
  height: 64px;
  background: #fff;
  border-bottom: 1px solid #E4EAF1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 30;
}

.co-topbar-start,
.co-topbar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.co-company-chip {
  display: flex;
  align-items: center;
  gap: 12px;
}

.co-company-avatar {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #EEF4F9;
  color: #123A5C;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

.co-company-name {
  font-size: 14px;
  font-weight: 500;
  color: #1F2D3D;
}

.co-search {
  position: relative;
  display: none;
}

@media (min-width: 640px) {
  .co-search { display: block; }
}

.co-search i {
  position: absolute;
  inset-inline-start: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #9AA7B4;
}

.co-search input {
  width: 240px;
  height: 40px;
  padding-inline: 40px 16px;
  border-radius: 12px;
  border: 1px solid #E4EAF1;
  background: #F5F8FB;
  color: #1F2D3D;
  font: inherit;
  font-size: 14px;
  outline: none;
}
.co-search input::placeholder { color: #9AA7B4; }

.co-search input:focus {
  border-color: #0B7A66;
  box-shadow: 0 0 0 3px #D3EDE7;
}

.co-bell-btn {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #1F2D3D;
  font-size: 20px;
  position: relative;
  cursor: pointer;
}

.co-bell-dot {
  position: absolute;
  top: 8px;
  inset-inline-start: 8px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #D14343;
}

.provider-app .dash-bell-list {
  background: #fff;
  border-color: #E4EAF1;
  color: #1F2D3D;
  box-shadow: 0 12px 32px rgba(12, 42, 70, 0.12);
}

.provider-app .dash-bell-list a,
.provider-app .dash-bell-list p {
  color: #5B6B7B;
}

.provider-app .dash-bell-list a.is-unread {
  background: rgba(11, 122, 102, 0.06);
}

.provider-app .dash-bell-head strong { color: #0C2A46; }
.provider-app .dash-bell-head button { color: #0B7A66; }

.co-body { padding: 24px; max-width: 1400px; }

.co-plan-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  margin-bottom: 20px;
  border-radius: 12px;
  background: #FCF3E0;
  border: 1px solid rgba(228, 161, 27, 0.2);
  color: #1F2D3D;
  font-size: 14px;
  position: sticky;
  top: 64px;
  z-index: 10;
}
.co-plan-banner.is-trial {
  background: #D3EDE7;
  border-color: rgba(11, 122, 102, 0.2);
}
.co-plan-banner.is-trial i { color: #0B7A66; }
.co-plan-banner.is-warn {
  background: #FCF3E0;
  border-color: rgba(228, 161, 27, 0.2);
}
.co-plan-banner.is-warn i { color: #E4A11B; }
.co-plan-banner.is-ended {
  background: #FBE6E6;
  border-color: rgba(209, 67, 67, 0.2);
}
.co-plan-banner.is-ended i { color: #D14343; }
.co-plan-banner.is-ended a { color: #D14343; font-weight: 700; }

.co-plan-banner-text { flex: 1; }
.co-plan-banner-text p { margin: 0; }
.co-plan-banner-text span,
.co-plan-banner-text strong { font-weight: 700; }

.co-plan-banner i { font-size: 18px; flex-shrink: 0; }
.co-plan-banner a { color: #0B7A66; font-weight: 600; }
.co-plan-banner a:hover { text-decoration: underline; }

/* Removed dark plan card — Ready uses banner only */

.co-welcome {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.co-welcome h1 {
  margin: 0 0 4px;
  font-size: 24px;
  font-weight: 600;
  color: #0C2A46;
  line-height: 1.35;
}

.co-date {
  margin: 0;
  font-size: 14px;
  color: #5B6B7B;
}

.co-invite-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  background: #123A5C;
  color: #fff !important;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  transition: 160ms ease;
  border: 0;
  cursor: pointer;
}

.co-invite-btn:hover { background: #1B4E76; color: #fff !important; }
.co-invite-btn:active { transform: scale(0.97); }

.co-kpi-grid {
  display: grid;
  gap: 16px;
  margin-bottom: 24px;
  direction: rtl;
}

@media (min-width: 640px) { .co-kpi-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .co-kpi-grid { grid-template-columns: repeat(4, 1fr); } }

.co-kpi {
  background: #fff;
  border-radius: 24px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(12, 42, 70, 0.06);
  transition: transform 300ms ease, box-shadow 300ms ease;
  cursor: pointer;
  text-align: right;
}
.co-kpi:hover {
  box-shadow: 0 12px 32px rgba(12, 42, 70, 0.14);
  transform: translateY(-4px);
}

/* Ready KPI strip: ring/spark/delta left, colored icon right */
.co-kpi-top {
  display: flex;
  flex-direction: row;
  direction: ltr;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  min-height: 40px;
}

.co-kpi-top--icon-only {
  justify-content: flex-end;
}

.co-kpi-visual {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex: 1;
  min-width: 0;
  min-height: 32px;
}

.co-kpi-ring { display: block; flex-shrink: 0; }
.co-kpi-spark { display: block; overflow: visible; flex-shrink: 0; }

.co-kpi-delta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  flex: 1;
  min-width: 0;
}
.co-kpi-delta.is-up { color: #5FA85D; }
.co-kpi-delta.is-down { color: #D14343; }
.co-kpi-delta-ico {
  width: 14px;
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.co-kpi-delta-ico i { font-size: 14px; line-height: 1; }

.co-kpi-ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.co-kpi-ico-glyph {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.co-kpi-ico-glyph i {
  font-size: 18px;
  line-height: 1;
  display: block;
}

.co-kpi-ico.tone-navy { background: #EEF4F9; }
.co-kpi-ico.tone-navy i { color: #123A5C; }

.co-kpi-ico.tone-green { background: #E2F1DE; }
.co-kpi-ico.tone-green i { color: #5FA85D; }

.co-kpi-ico.tone-teal { background: #D3EDE7; }
.co-kpi-ico.tone-teal i { color: #0B7A66; }

.co-kpi-ico.tone-amber { background: #FCF3E0; }
.co-kpi-ico.tone-amber i { color: #E4A11B; }

.co-kpi-num {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  color: #0C2A46;
  line-height: 1;
  text-align: right;
  unicode-bidi: embed;
}

.co-kpi-num.tabular-nums { font-variant-numeric: tabular-nums; }

.co-kpi-denom {
  font-size: 16px;
  font-weight: 400;
  color: #9AA7B4;
}

.co-kpi-label {
  margin: 4px 0 0;
  font-size: 13px;
  color: #5B6B7B;
  line-height: 1.4;
}

.co-plan-card { display: none !important; }

.co-card-head-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.co-sort-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  font-size: 12px;
  font-weight: 500;
  color: #9AA7B4;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease;
}
.co-sort-chip:hover { background: #F5F8FB; }
.co-sort-chip.is-active {
  background: #EEF4F9;
  color: #123A5C;
}
.co-sort-chip-ico {
  width: 12px;
  height: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.co-sort-chip-ico i { font-size: 12px; line-height: 1; }

.co-results-empty {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 8px;
  padding: 64px 20px;
}
.co-results-empty-ico {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background: #E2F1DE;
  color: #5FA85D;
  display: grid;
  place-items: center;
  font-size: 34px;
  margin-bottom: 8px;
}
.co-results-empty strong {
  color: #0C2A46;
  font-size: 16px;
}
.co-results-empty p {
  margin: 0 0 12px;
  color: #5B6B7B;
  font-size: 14px;
}

.co-results-table-wrap { overflow-x: auto; }
.co-results-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}
.co-results-table th {
  text-align: start;
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 700;
  color: #7A8A9A;
  border-bottom: 1px solid #E4EAF1;
}
.co-results-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #E4EAF1;
  font-size: 14px;
  color: #1F2D3D;
  vertical-align: middle;
}
.co-results-table tr:last-child td { border-bottom: 0; }
.co-results-table tbody tr {
  cursor: pointer;
  transition: background 150ms ease;
}
.co-results-table tbody tr:hover { background: #F5F8FB; }
.co-results-table td.muted { color: #5B6B7B; font-size: 13px; }
.co-results-table td.truncate {
  max-width: 180px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.co-result-person {
  display: flex;
  align-items: center;
  gap: 12px;
}
.co-result-avatar.sm {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  font-size: 12px;
}
.co-row-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #0B7A66 !important;
  font-size: 13px;
  font-weight: 600;
  opacity: 0;
  transition: opacity 150ms ease;
  white-space: nowrap;
}
.co-results-table tbody tr:hover .co-row-link { opacity: 1; }

.co-home-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .co-home-grid { grid-template-columns: 2fr 1fr; }
}

.co-card {
  /* provider_new */
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(12, 42, 70, 0.06);
  overflow: hidden;
}
.co-card-body { padding: 20px; }
.co-card--results .co-card-head,
.co-card--alerts .co-card-head {
  padding: 16px 20px;
  margin: 0;
  border-bottom: 1px solid #E4EAF1;
}
.co-card--alerts .co-card-head { border-bottom: 0; padding-bottom: 0; }
.co-card--alerts .co-card-body { padding-top: 8px; }

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

.co-card-head h3,
.co-alerts-title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #0C2A46;
}

.co-alerts-title { margin-bottom: 16px; }

.co-card-head a {
  font-size: 13px;
  font-weight: 500;
  color: #0B7A66;
  white-space: nowrap;
}

.co-card-head a:hover { text-decoration: underline; }

.co-empty {
  margin: 0;
  font-size: 13px;
  color: #5B6B7B;
}

.co-result-list { display: grid; gap: 8px; }

.co-result-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 4px;
  border-bottom: 1px solid #EEF4F9;
}

.co-result-row:last-child { border-bottom: 0; }

.co-result-avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #EEF4F9;
  color: #123A5C;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.co-result-meta { flex: 1; min-width: 0; }
.co-result-meta strong { display: block; font-size: 14px; color: #0C2A46; }
.co-result-meta span { font-size: 12px; color: #5B6B7B; }

.co-result-score { text-align: end; }
.co-result-score b {
  display: block;
  font-size: 16px;
  color: #0B7A66;
  font-family: var(--mono);
}
.co-result-score a { font-size: 12px; color: #0B7A66; }
.co-pending { font-size: 12px; color: #E4A11B; }

.co-alerts { display: grid; gap: 12px; }

.co-alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  transition: 160ms ease;
}
.co-alert-ico {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.co-alert-ico i { font-size: 15px; }
.co-alert strong { display: block; font-size: 13px; color: #1F2D3D; margin-bottom: 2px; }
.co-alert span { display: block; font-size: 12px; color: #5B6B7B; }

.co-alert.tone-amber { background: rgba(252, 243, 224, 0.6); }
.co-alert.tone-amber:hover { background: #FCF3E0; }
.co-alert.tone-amber i { color: #E4A11B; }

.co-alert.tone-red { background: rgba(251, 230, 230, 0.6); }
.co-alert.tone-red:hover { background: #FBE6E6; }
.co-alert.tone-red i { color: #D14343; }

.co-alert.tone-blue { background: #EEF4F9; }
.co-alert.tone-blue:hover { background: #E0EAF3; }
.co-alert.tone-blue i { color: #2C6491; }

/* Inner pages on light shell */
.provider-app .section-title { color: #0C2A46 !important; }
.provider-app .section-lead { color: #5B6B7B !important; }
.provider-app .history-panel {
  background: #fff;
  border: 1px solid #E4EAF1;
  box-shadow: 0 4px 20px rgba(12, 42, 70, 0.06);
  color: #1F2D3D;
}
.provider-app .history-panel h3 { color: #0C2A46; }
.provider-app .history-panel p,
.provider-app .history-panel.empty p { color: #5B6B7B; }
.provider-app .invite-table th { color: #5B6B7B; }
.provider-app .invite-table td { color: #1F2D3D; border-bottom-color: #EEF4F9; }
.provider-app .plain-input,
.provider-app textarea.plain-input {
  background: #fff;
  border-color: #E4EAF1;
  color: #1F2D3D;
}
.provider-app .dash-tabs {
  background: #fff;
  border-color: #E4EAF1;
}
.provider-app .dash-tabs a { color: #5B6B7B; }
.provider-app .user-kpi .kpi,
.provider-app .kpi-grid .kpi {
  background: #fff;
  border-color: #E4EAF1;
  box-shadow: 0 4px 20px rgba(12, 42, 70, 0.06);
}
.provider-app .user-kpi .kpi strong,
.provider-app .kpi-grid .kpi strong { color: var(--kpi, #0C2A46); }
.provider-app .user-kpi .kpi span,
.provider-app .kpi-grid .kpi span { color: #5B6B7B; }
.provider-app .chip {
  border-color: #E4EAF1;
  color: #5B6B7B;
  background: #fff;
}
.provider-app .history-row {
  border-bottom-color: #EEF4F9;
  color: #1F2D3D;
}
.provider-app .history-row strong { color: #0C2A46; }
.provider-app .history-row span { color: #5B6B7B; }
.provider-app .dash-welcome h1 { color: #0C2A46; }
.provider-app .dash-welcome p { color: #5B6B7B; }
.provider-app .dash-privacy { color: #9AA7B4; }
.provider-app .float-field input,
.provider-app .float-field label { color: #1F2D3D; }
.provider-app .float-field input {
  background: #fff;
  border-color: #E4EAF1;
}

@media (max-width: 1023px) {
  body.co-nav-open { overflow: hidden; }
  .co-overlay { display: block; }
  .co-overlay[hidden] { display: none; }
  .co-menu-btn,
  .co-side-close { display: inline-flex; }
  .co-side {
    width: min(280px, 88vw);
    z-index: 50;
    transform: translateX(-110%);
    transition: transform 240ms ease;
  }
  html[dir="rtl"] .co-side { transform: translateX(110%); }
  .co-shell.is-nav-open .co-side { transform: translateX(0); }
  .co-main { margin-inline-start: 0 !important; }
  .co-body { padding: 16px; }
}

@media (min-width: 1024px) {
  .co-side { transform: none !important; }
}

.co-side-lang .lang-icon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 10px;
  color: #B7D0E3 !important;
  font-size: 13px;
  font-weight: 600;
  opacity: 1;
}
.co-side-lang .lang-icon:hover {
  background: #0C2A46;
  color: #F3FAFF !important;
}

/* —— Candidates (Ready) —— */
.co-page-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.co-page-head h1 {
  margin: 0 0 .35rem;
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  font-weight: 800;
  color: #071E32;
}
.co-page-head p {
  margin: 0;
  color: #5B6B7B;
  font-size: .95rem;
}

.co-cand-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1rem;
}
.co-cand-search {
  position: relative;
  flex: 1 1 280px;
  min-width: min(100%, 240px);
}
.co-cand-search i {
  position: absolute;
  inset-inline-start: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #9AA7B4;
  pointer-events: none;
}
.co-cand-search input {
  width: 100%;
  height: 44px;
  border-radius: 12px;
  border: 1px solid #E4EAF1;
  background: #fff;
  padding: 0 14px 0 40px;
  font: inherit;
  color: #1F2D3D;
  box-shadow: 0 1px 2px rgba(7, 30, 50, 0.03);
}
html[dir="rtl"] .co-cand-search input { padding: 0 40px 0 14px; }
.co-cand-search input:focus {
  outline: none;
  border-color: #B7C9D8;
  box-shadow: 0 0 0 3px rgba(18, 58, 92, 0.08);
}
.co-cand-sort {
  display: flex;
  align-items: center;
  gap: .45rem;
  flex-wrap: wrap;
  margin-inline-start: auto;
}
.co-cand-sort a {
  display: inline-flex;
  align-items: center;
  gap: .2rem;
  height: 40px;
  padding: 0 .95rem;
  border-radius: 10px;
  border: 1px solid #E4EAF1;
  background: #fff;
  color: #5B6B7B;
  font-size: .86rem;
  font-weight: 700;
  text-decoration: none;
}
.co-cand-sort a.is-active {
  background: #F3F7FB;
  border-color: #D7E2EC;
  color: #0C2A46;
}
.co-cand-filters {
  display: grid;
  gap: .7rem;
  margin-bottom: 1.1rem;
}

.co-compare-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 18px;
  border-radius: 16px;
  background: #123A5C;
  color: #fff !important;
  font-size: 15px;
  font-weight: 600;
}
.co-compare-btn:hover { background: #1B4E76; color: #fff !important; }
.co-compare-btn b {
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.co-empty-ico {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #EEF4F9;
  color: #123A5C;
  display: grid;
  place-items: center;
  font-size: 24px;
}
.co-empty-panel strong {
  color: #0C2A46;
  font-size: 15px;
}

.co-cand-table-wrap {
  background: #fff;
  border: 1px solid #E8EEF4;
  border-radius: 16px;
  overflow: auto;
  box-shadow: 0 8px 24px rgba(7, 30, 50, 0.04);
}
.co-cand-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 920px;
}
.co-cand-table th {
  text-align: start;
  padding: 16px 18px;
  font-size: 12px;
  font-weight: 700;
  color: #8A98A6;
  background: #fff;
  border-bottom: 1px solid #E8EEF4;
  white-space: nowrap;
}
.co-cand-table td {
  padding: 16px 18px;
  border-bottom: 1px solid #F0F4F8;
  color: #1F2D3D;
  font-size: 14px;
  vertical-align: middle;
}
.co-cand-table tr:last-child td { border-bottom: 0; }
.co-cand-table tbody tr:hover td { background: #F7FAFC; }
.co-cand-date { color: #5B6B7B; white-space: nowrap; }
.co-cand-actions { text-align: end; }

.co-cand-check { width: 48px; }
.co-check {
  display: inline-flex;
  cursor: pointer;
  position: relative;
}
.co-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.co-check span {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 1.5px solid #C4CFD9;
  background: #fff;
  display: block;
}
.co-check input:checked + span {
  background: #123A5C;
  border-color: #123A5C;
  box-shadow: inset 0 0 0 3px #fff;
}

.co-cand-person {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 140px;
}
.co-cand-person .co-cand-avatar {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #EEF4F9;
  color: #123A5C;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  flex: 0 0 auto;
}
.co-cand-person strong {
  display: block;
  color: #071E32;
  font-size: 14px;
  font-weight: 700;
}

.co-score-pill {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
.co-score-pill small {
  font-size: 11px;
  font-weight: 700;
  opacity: .8;
}
.co-score-pill.tone-high { background: #E6F4E4; color: #3F9A4A; }
.co-score-pill.tone-mid { background: #F8EDD8; color: #C88912; }
.co-score-pill.tone-low { background: #FBE6E6; color: #D14343; }

.co-report-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #0E9F8E !important;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  background: transparent;
  padding: 0;
  height: auto;
  border-radius: 0;
}
.co-report-link:hover { color: #0B7A66 !important; text-decoration: underline; }
.co-report-link.is-muted {
  background: transparent;
  color: #9AA7B4 !important;
  text-decoration: none;
  cursor: default;
}

.co-invite-btn--ghost {
  background: #fff;
  color: #123A5C !important;
  border: 1px solid #E4EAF1;
}
.co-invite-btn--ghost:hover {
  background: #F5F8FB;
  color: #123A5C !important;
}

.co-compare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.co-compare-card {
  background: #fff;
  border: 1px solid #E4EAF1;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 10px 28px rgba(7, 30, 50, 0.05);
  display: grid;
  gap: 14px;
}
.co-compare-score {
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: #071E32;
}
.co-compare-score b { font-size: 32px; font-weight: 800; line-height: 1; }
.co-compare-score span { color: #9AA7B4; font-weight: 600; }
.co-compare-axes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.co-compare-axes li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: #5B6B7B;
  padding-bottom: 8px;
  border-bottom: 1px solid #EEF4F9;
}
.co-compare-axes li strong { color: #071E32; }

.co-filter-row { margin-bottom: .75rem; }
.co-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}
.co-pill {
  display: inline-flex;
  align-items: center;
  padding: .42rem .85rem;
  border-radius: 999px;
  border: 1px solid #E4EAF1;
  background: #fff;
  color: #5B6B7B;
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
  transition: 150ms ease;
}
.co-pill:hover { border-color: #C5D3DF; color: #0C2A46; background: #F7FAFC; }
.co-pill.is-active {
  background: #0C2A46;
  border-color: #0C2A46;
  color: #fff;
}
.co-pills--score .co-pill.is-active {
  background: #0C2A46;
  border-color: #0C2A46;
}

.co-cand-section { margin-top: 1.35rem; }
.co-cand-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .85rem;
}
.co-cand-section-head h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #071E32;
}
.co-cand-section-head span {
  min-width: 1.75rem;
  height: 1.75rem;
  padding: 0 .55rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(14,159,142,.12);
  color: #0B7A66;
  font-size: .8rem;
  font-weight: 800;
}

.co-cand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: .9rem;
}
.co-cand-card {
  background: #fff;
  border: 1px solid #E4EAF1;
  border-radius: 18px;
  padding: 1.05rem 1.1rem;
  box-shadow: 0 10px 28px rgba(7, 30, 50, 0.05);
  display: grid;
  gap: .45rem;
}
.co-cand-card.is-invite { border-style: dashed; }
.co-cand-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .75rem;
}
.co-cand-avatar {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #EEF4F9;
  color: #123A5C;
  font-weight: 800;
  font-size: 1.05rem;
}
.co-cand-avatar.tone-amber { background: rgba(255,162,77,.16); color: #b86a12; }
.co-cand-avatar.tone-teal { background: rgba(14,159,142,.14); color: #0B7A66; }
.co-cand-score {
  display: inline-flex;
  align-items: baseline;
  gap: .15rem;
  color: #071E32;
}
.co-cand-score strong { font-size: 1.35rem; font-weight: 800; line-height: 1; }
.co-cand-score small { color: #9AA7B4; font-weight: 700; }
.co-muted-score { color: #9AA7B4; font-weight: 700; }
.co-pending-tag {
  display: inline-flex;
  padding: .25rem .55rem;
  border-radius: 999px;
  background: rgba(255,162,77,.14);
  color: #b86a12;
  font-size: .72rem;
  font-weight: 800;
}
.co-cand-card h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: #071E32;
}
.co-cand-email {
  margin: 0;
  color: #5B6B7B;
  font-size: .84rem;
  word-break: break-word;
}
.co-cand-meta {
  display: grid;
  gap: .25rem;
  margin-top: .15rem;
}
.co-cand-meta span {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: #7A8A9A;
  font-size: .78rem;
  font-weight: 600;
}
.co-cand-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
  margin-top: .45rem;
  padding-top: .7rem;
  border-top: 1px solid #E4EAF1;
}
.co-cand-foot a {
  color: #0E9F8E;
  font-weight: 700;
  font-size: .86rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .15rem;
}
.co-status {
  display: inline-flex;
  padding: .22rem .55rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 800;
}
.co-status.is-joined { background: rgba(14,159,142,.12); color: #0B7A66; }
.co-status.is-pending,
.co-status.is-opened,
.co-status.is-in_progress { background: rgba(255,162,77,.14); color: #b86a12; }
.co-status.is-accepted { background: rgba(95,190,70,.16); color: #2f8a1f; }
.co-status.is-rejected { background: rgba(209,67,67,.12); color: #c0392b; }

.co-empty-panel {
  display: grid;
  justify-items: center;
  gap: .75rem;
  text-align: center;
  padding: 2.2rem 1.2rem;
  border-radius: 18px;
  border: 1px dashed #E4EAF1;
  background: #fff;
  color: #5B6B7B;
}
.co-empty-panel.compact { padding: 1.4rem; }
.co-empty-panel i { font-size: 1.8rem; color: #0E9F8E; }

.co-cand-contact {
  display: grid;
  gap: .55rem;
  margin-top: .35rem;
}
.co-cand-contact input,
.co-cand-contact textarea {
  width: 100%;
  border: 1px solid #E4EAF1;
  border-radius: 12px;
  padding: .65rem .8rem;
  font: inherit;
  background: #F8FBFD;
  color: #1F2D3D;
}
.co-invite-btn--sm {
  justify-self: start;
  padding: .5rem .9rem;
  font-size: .84rem;
}

/* —— Invites wizard (Ready) —— */
.co-invite-wizard {
  background: #fff;
  border: 1px solid #E4EAF1;
  border-radius: 20px;
  padding: 22px;
  margin-bottom: 28px;
  box-shadow: 0 8px 24px rgba(7, 30, 50, 0.05);
}

.co-invite-steps {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  color: #7A8A9A;
  font-size: 13px;
  font-weight: 600;
}
.co-invite-steps span.is-active { color: #0C2A46; }
.co-invite-steps b {
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  margin-inline-end: 6px;
  background: #EEF4F9;
  color: #5B6B7B;
  font-size: 12px;
}
.co-invite-steps span.is-active b {
  background: #123A5C;
  color: #fff;
}
.co-invite-steps-line {
  flex: 0 0 40px;
  height: 2px;
  background: #E4EAF1;
}

.co-invite-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 22px;
}
@media (max-width: 720px) {
  .co-invite-methods { grid-template-columns: 1fr; }
}

.co-invite-method {
  text-align: start;
  border: 1px solid #E4EAF1;
  border-radius: 16px;
  background: #F8FBFD;
  padding: 16px;
  cursor: pointer;
  display: grid;
  gap: 6px;
  transition: 160ms ease;
  font: inherit;
  color: inherit;
}
.co-invite-method:hover { border-color: #B7D0E3; }
.co-invite-method.is-active {
  border-color: #0E9F8E;
  background: #F2FBFA;
  box-shadow: 0 0 0 3px rgba(14,159,142,.12);
}
.co-invite-method-ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #EEF4F9;
  color: #123A5C;
  margin-bottom: 4px;
}
.co-invite-method.is-active .co-invite-method-ico {
  background: rgba(14,159,142,.14);
  color: #0B7A66;
}
.co-invite-method strong {
  font-size: 15px;
  font-weight: 700;
  color: #0C2A46;
}
.co-invite-method > span {
  font-size: 13px;
  color: #5B6B7B;
  line-height: 1.5;
}
.co-invite-method em {
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  color: #0B7A66;
}

.co-invite-wizard-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 20px;
  align-items: start;
}
@media (max-width: 960px) {
  .co-invite-wizard-grid { grid-template-columns: 1fr; }
}

.co-invite-wizard-fields {
  display: grid;
  gap: 14px;
}

.co-field {
  display: grid;
  gap: 6px;
}
.co-field > span {
  font-size: 13px;
  font-weight: 700;
  color: #5B6B7B;
}
.co-field input,
.co-field select {
  height: 48px;
  border-radius: 12px;
  border: 1px solid #E4EAF1;
  background: #F8FBFD;
  padding: 0 14px;
  font: inherit;
  color: #1F2D3D;
}
.co-field input:focus,
.co-field select:focus {
  outline: none;
  border-color: #0E9F8E;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(14,159,142,.12);
}
.co-field.is-invalid input,
.co-field.is-invalid textarea {
  border-color: #D14343;
  box-shadow: 0 0 0 2px rgba(209, 67, 67, 0.12);
}
.co-field .co-invite-error:not([hidden]) {
  display: block;
  margin-top: 6px;
}
.co-field small {
  font-size: 12px;
  color: #7A8A9A;
}
.co-invite-submit {
  justify-self: start;
  margin-top: 4px;
}

.co-invite-preview h3 {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
  color: #0C2A46;
}
.co-invite-preview-card {
  border-radius: 18px;
  padding: 20px;
  background: linear-gradient(165deg, #071E32 0%, #0C2A46 100%);
  color: #fff;
  box-shadow: 0 14px 30px rgba(7, 30, 50, 0.2);
}
.co-invite-preview-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.co-invite-preview-brand img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.co-invite-preview-brand span {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
}
.co-invite-preview-lead {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}
.co-invite-preview-spec {
  margin: 0 0 12px;
  font-size: 13px;
  color: #B7D0E3;
}
.co-invite-preview-spec strong { color: #fff; }
.co-invite-preview-body {
  margin: 0 0 18px;
  font-size: 13px;
  line-height: 1.7;
  color: #8FB4CE;
}
.co-invite-preview-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 16px;
  border-radius: 12px;
  background: #0E9F8E;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.co-cand-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.co-cand-section-head h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #0C2A46;
}

.co-funnel-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}
.co-funnel-grid--invites { margin-bottom: 24px; }
@media (max-width: 1100px) {
  .co-funnel-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .co-funnel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.co-funnel-card {
  background: #fff;
  border: 1px solid #E4EAF1;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(12, 42, 70, 0.04);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  transition: box-shadow 200ms ease, transform 200ms ease;
}
.co-funnel-card:hover {
  box-shadow: 0 4px 16px rgba(12, 42, 70, 0.08);
  transform: translateY(-1px);
}
.co-funnel-body {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.co-funnel-ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: #EEF4F9;
  color: #123A5C;
  font-size: 18px;
}
.co-funnel-card.tone-amber .co-funnel-ico { background: rgba(255,162,77,.16); color: #b86a12; }
.co-funnel-card.tone-cyan .co-funnel-ico { background: rgba(31,182,214,.14); color: #0a7a90; }
.co-funnel-card.tone-teal .co-funnel-ico { background: rgba(14,159,142,.14); color: #0B7A66; }
.co-funnel-card.tone-green .co-funnel-ico { background: rgba(95,190,70,.16); color: #2f8a1f; }
.co-funnel-card.tone-muted .co-funnel-ico { background: #EEF1F4; color: #7A8A9A; }
.co-funnel-card strong {
  font-size: 20px;
  font-weight: 700;
  color: #0C2A46;
  line-height: 1;
}
.co-funnel-body > span {
  color: #9AA7B4;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.2;
}

.co-invite-list {
  display: grid;
  gap: .7rem;
}
.co-invite-row {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: .9rem;
  align-items: center;
  background: #fff;
  border: 1px solid #E4EAF1;
  border-radius: 16px;
  padding: .95rem 1.05rem;
  box-shadow: 0 8px 22px rgba(7, 30, 50, 0.04);
}
@media (max-width: 800px) {
  .co-invite-row {
    grid-template-columns: auto 1fr;
  }
  .co-invite-row .co-status,
  .co-invite-row form,
  .co-invite-row .co-muted-score {
    grid-column: 2;
  }
}
.co-invite-meta {
  min-width: 0;
  display: grid;
  gap: .2rem;
}
.co-invite-meta strong {
  color: #071E32;
  font-size: .98rem;
  font-weight: 800;
}
.co-invite-meta > span {
  color: #5B6B7B;
  font-size: .84rem;
  word-break: break-word;
}
.co-invite-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem .7rem;
  margin-top: .25rem;
}
.co-invite-tags code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .78rem;
  font-weight: 700;
  padding: .18rem .45rem;
  border-radius: 8px;
  background: rgba(14,159,142,.1);
  color: #0B7A66;
}
.co-invite-tags span {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  color: #7A8A9A;
  font-size: .76rem;
  font-weight: 600;
}
.co-cand-avatar.tone-muted {
  background: #EEF1F4;
  color: #7A8A9A;
}
.co-status.is-completed { background: rgba(95,190,70,.16); color: #2f8a1f; }
.co-status.is-expired { background: #EEF1F4; color: #7A8A9A; }
.co-remind-btn {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .5rem .8rem;
  border-radius: 10px;
  border: 1px solid #E4EAF1;
  background: #fff;
  color: #123A5C;
  font: inherit;
  font-size: .8rem;
  font-weight: 700;
  cursor: pointer;
}
.co-remind-btn:hover {
  border-color: #0E9F8E;
  color: #0B7A66;
  background: rgba(14,159,142,.06);
}

/* —— Candidate report detail (Ready) —— */
.co-back-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #0B7A66;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
}
.co-cand-meta-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #5B6B7B;
  font-size: 14px;
}
.co-cand-meta-line .dot { opacity: .45; }
.co-cand-meta-line .mono {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 13px;
  color: #123A5C;
  font-weight: 600;
}

.co-head-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.co-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid #E4EAF1;
  background: #fff;
  color: #123A5C !important;
  font-size: 14px;
  font-weight: 600;
}
.co-btn-outline:hover { background: #F5F8FB; }
.co-invite-btn:disabled {
  opacity: .55;
  cursor: not-allowed;
}

.co-pending-banner {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  margin-bottom: 20px;
  border-radius: 12px;
  background: #EEF4F9;
  border: 1px solid #C4CFD9;
  color: #1F2D3D;
}
.co-pending-banner i { color: #123A5C; font-size: 18px; margin-top: 2px; }
.co-pending-banner strong { display: block; font-size: 14px; margin-bottom: 2px; }
.co-pending-banner span { font-size: 13px; color: #5B6B7B; }

.co-report-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px 32px;
  background: #fff;
  border-radius: 24px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(12, 42, 70, 0.06);
}
.co-report-score { text-align: center; min-width: 140px; }
.co-report-score > p {
  margin: 0 0 6px;
  font-size: 14px;
  color: #5B6B7B;
}
.co-report-score strong {
  display: block;
  font-size: 56px;
  font-weight: 700;
  color: #0C2A46;
  line-height: 1;
  margin-bottom: 10px;
}
.co-report-score strong small {
  font-size: 22px;
  font-weight: 400;
  color: #9AA7B4;
  margin-inline-start: 2px;
}
.co-report-score strong.is-muted { color: #9AA7B4; font-size: 42px; }
.co-radar { flex: 1; display: flex; justify-content: center; min-width: 240px; }
.co-radar-inner {
  width: 100%;
  max-width: 340px;
  opacity: 0;
  transform: scale(0.75);
  transition: opacity 600ms ease-out, transform 600ms ease-out;
}
.co-radar-inner.is-visible {
  opacity: 1;
  transform: scale(1);
}
.co-radar-label {
  fill: #1F2D3D;
  font-size: 12px;
  font-weight: 500;
  font-family: "IBM Plex Sans Arabic", "IBM Plex Sans", sans-serif;
}
.co-stagger-in {
  animation: co-card-stagger-in 400ms ease-out both;
}
@keyframes co-card-stagger-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.co-insight-block { margin-bottom: 28px; }
.co-insight-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.co-insight-head h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #0C2A46;
}
.co-insight-head span {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.co-insight-head span.tone-green { background: #E2F1DE; color: #5FA85D; }
.co-insight-head span.tone-amber { background: #FCF3E0; color: #E4A11B; }
.co-insight-head span.tone-navy { background: #EEF4F9; color: #123A5C; }
.co-insight-head span.tone-teal { background: #D3EDE7; color: #0B7A66; }

.co-ai-summary .co-insight-head { margin-bottom: 12px; }
.co-ai-card {
  padding: 20px 22px;
  border-radius: 20px;
  border: 1px solid #D7E5DF;
  background:
    linear-gradient(180deg, #F7FBF9 0%, #FFFFFF 48%),
    #fff;
  box-shadow: 0 10px 28px rgba(12, 42, 70, 0.05);
}
.co-ai-card__lead {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: #0C2A46;
  font-weight: 600;
}
.co-ai-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.co-ai-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 10px 12px;
  border-radius: 999px;
  font-size: 13px;
  line-height: 1.3;
}
.co-ai-chip i { font-size: 16px; flex: 0 0 auto; }
.co-ai-chip em {
  font-style: normal;
  color: #5B6B7B;
  white-space: nowrap;
}
.co-ai-chip strong {
  font-weight: 700;
  color: #0C2A46;
}
.co-ai-chip b {
  margin-inline-start: 2px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.co-ai-chip--strength {
  background: #EAF7F0;
  color: #1F7A4D;
  border: 1px solid #CDEAD9;
}
.co-ai-chip--strength i { color: #2E9B63; }
.co-ai-chip--gap {
  background: #FCF3E0;
  color: #9A6A12;
  border: 1px solid #F0DFB5;
}
.co-ai-chip--gap i { color: #E4A11B; }
.co-ai-card__quote {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 16px 0 0;
  padding: 14px 16px;
  border-radius: 16px;
  background: #EEF4F9;
  border: 1px solid #DCE7F1;
}
.co-ai-card__quote i {
  flex: 0 0 auto;
  margin-top: 2px;
  color: #123A5C;
  font-size: 18px;
}
.co-ai-card__quote p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: #31485F;
}
@media (max-width: 640px) {
  .co-ai-card { padding: 16px; border-radius: 16px; }
  .co-ai-chip {
    border-radius: 14px;
    width: 100%;
    align-items: flex-start;
  }
}

.co-insight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
@media (max-width: 960px) {
  .co-insight-grid { grid-template-columns: 1fr; }
}
.co-insight-card {
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 4px 20px rgba(12, 42, 70, 0.06);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 10px;
  height: 100%;
  align-self: stretch;
}
.co-insight-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.co-insight-card-top strong {
  color: #0C2A46;
  font-size: 15px;
}
.co-insight-card p {
  margin: 0;
  color: #1F2D3D;
  font-size: 14px;
  line-height: 1.7;
}
.co-insight-tip {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 10px 12px;
  border-radius: 12px;
  background: #F8FBFD;
  color: #5B6B7B;
  font-size: 13px;
  line-height: 1.6;
}
.co-insight-tip i { color: #E4A11B; margin-top: 2px; }

.co-scenario-list { display: grid; gap: 14px; }
.co-scenario-card {
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 4px 20px rgba(12, 42, 70, 0.06);
  display: grid;
  gap: 12px;
}
.co-scenario-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.co-scenario-card-head h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #0C2A46;
}
.co-scenario-block span,
.co-scenario-better span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #5B6B7B;
  margin-bottom: 6px;
}
.co-scenario-block p,
.co-scenario-better p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: #1F2D3D;
}
.co-scenario-better {
  background: #EEF4F9;
  border-radius: 12px;
  padding: 14px;
  border-inline-start: 3px solid #123A5C;
}
.co-bill-plan-card {
  background: #fff;
  border-radius: 24px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(12, 42, 70, 0.06);
}
.co-bill-plan-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.co-bill-plan-name {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 600;
  color: #0C2A46;
}
.co-bill-plan-desc {
  margin: 0;
  font-size: 14px;
  color: #5B6B7B;
}
.co-bill-plan-ico {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #EEF4F9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #123A5C;
  font-size: 22px;
}
.co-bill-progress { margin-bottom: 16px; }
.co-bill-progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
  font-size: 13px;
  color: #5B6B7B;
}
.co-bill-progress-val {
  color: #0C2A46;
  font-weight: 600;
}
.co-bill-progress-track {
  width: 100%;
  height: 8px;
  background: #E4EAF1;
  border-radius: 999px;
  overflow: hidden;
}
.co-bill-progress-fill {
  display: block;
  height: 100%;
  background: #123A5C;
  border-radius: 999px;
}
.co-bill-renew-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 16px;
  font-size: 13px;
  color: #5B6B7B;
}
.co-bill-auto-renew {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #E4A11B;
}
.co-bill-auto-renew i { font-size: 13px; }
.co-invite-btn--block {
  width: 100%;
  justify-content: center;
}
.co-bill-actions {
  display: grid;
  gap: 10px;
}
.co-bill-plan--quote {
  border-style: dashed;
  border-color: #0C2A46;
  background: linear-gradient(180deg, #f7fafc 0%, #fff 100%);
}
.co-bill-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}
.co-bill-invoices { margin-bottom: 24px; }
.co-bill-invoices .co-card-head { margin-bottom: 0; }
.co-bill-amount { color: #0C2A46; font-weight: 600; }
.co-status--icon {
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
}
.co-status--icon i { font-size: 11px; }
.co-results-table--billing tbody tr { cursor: default; }
.co-row-link--visible { opacity: 1 !important; }
.co-bill-plan {
  background: #fff;
  border: 1px solid #E4EAF1;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 8px 22px rgba(7, 30, 50, 0.05);
  display: grid;
  gap: 10px;
}
.co-bill-plan.is-current {
  border-color: #0E9F8E;
  box-shadow: 0 0 0 3px rgba(14,159,142,.12);
}
.co-bill-plan h3 { margin: 0; color: #0C2A46; font-size: 16px; }
.co-bill-plan p { margin: 0; color: #5B6B7B; font-size: 13px; }
.co-invite-btn.is-disabled,
.co-invite-btn:disabled {
  opacity: .55;
  cursor: not-allowed;
  background: #9AA7B4;
}

.co-select {
  height: 40px;
  border-radius: 999px;
  border: 1px solid #E4EAF1;
  background: #fff;
  padding: 0 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  color: #5B6B7B;
}

.co-settings-grid {
  display: grid;
  gap: 16px;
  max-width: 720px;
}
.co-check-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #1F2D3D;
  font-size: 14px;
  margin-top: 8px;
}

.co-results-table .co-row-link { opacity: 1; }

/* —— Ready candidates exact tokens (from page-4a335f0a) —— */
@keyframes co-row-in {
  from { opacity: 0; transform: translateX(-6px); }
  to { opacity: 1; transform: translateX(0); }
}
.co-cand-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.co-cand-head h1 {
  margin: 0 0 4px;
  font-size: 24px;
  font-weight: 600;
  color: #0C2A46;
  line-height: 1.3;
}
.co-cand-head p {
  margin: 0;
  color: #5B6B7B;
  font-size: 14px;
}
.co-cand-controls {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}
.co-cand-controls--invites {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
@media (max-width: 639px) {
  .co-cand-controls--invites {
    flex-direction: column;
    align-items: stretch;
  }
}
.co-cand-controls--invites .co-invites-toolbar {
  flex: 1 1 280px;
  min-width: 0;
  margin-bottom: 0;
}
.co-cand-controls--invites .co-invites-filters {
  flex: 0 1 auto;
  max-width: 100%;
}
.co-cand-toolbar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 0;
}
@media (min-width: 640px) {
  .co-cand-toolbar { flex-direction: row; align-items: center; }
}
.co-cand-search {
  position: relative;
  flex: 1;
  min-width: 0;
  max-width: none;
}
.co-cand-search i {
  position: absolute;
  inset-inline-start: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #9AA7B4;
  font-size: 16px;
  pointer-events: none;
}
.co-cand-search input {
  width: 100%;
  height: 44px;
  border-radius: 12px;
  border: 1px solid #E4EAF1;
  background: #fff;
  padding: 0 16px 0 40px;
  font: inherit;
  font-size: 14px;
  color: #1F2D3D;
  box-shadow: none;
}
html[dir="rtl"] .co-cand-search input { padding: 0 40px 0 16px; }
.co-cand-search input::placeholder { color: #9AA7B4; }
.co-cand-search input:focus {
  outline: none;
  border-color: #0B7A66;
  box-shadow: 0 0 0 2px #D3EDE7;
}
.co-cand-sort {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-inline-start: 0;
}
.co-cand-sort a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid #E4EAF1;
  background: #fff;
  color: #5B6B7B;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.co-cand-sort a:hover { background: #F5F8FB; }
.co-cand-sort a.is-active {
  background: #EEF4F9;
  border-color: transparent;
  color: #123A5C;
}
.co-cand-sort a i { font-size: 12px; }
.co-cand-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 0;
}
.co-filter-divider {
  width: 1px;
  height: 36px;
  background: #E4EAF1;
  margin: 0 4px;
}
.co-cand-filters .co-pill,
.co-pill {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid #E4EAF1;
  background: #fff;
  color: #5B6B7B;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: 150ms ease;
}
.co-cand-filters .co-pill:hover,
.co-pill:hover {
  background: #F5F8FB;
  color: #5B6B7B;
  border-color: #E4EAF1;
}
.co-cand-filters .co-pill.is-active,
.co-pill.is-active,
.co-pills--score .co-pill.is-active {
  background: #123A5C;
  border-color: #123A5C;
  color: #fff;
}
.co-clear-filters {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: #FBE6E6;
  color: #D14343;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.co-clear-filters:hover { background: #F5CCCC; color: #D14343; }
.co-compare-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  background: #123A5C;
  color: #fff !important;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
}
.co-compare-btn:hover { background: #1B4E76; color: #fff !important; }
.co-compare-btn:active { transform: scale(0.97); }
.co-compare-btn b {
  min-width: 0;
  height: auto;
  border-radius: 0;
  background: transparent;
  display: inline;
  font-size: inherit;
  font-weight: 600;
}
.co-compare-btn i { font-size: 20px; }
.co-cand-empty {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(12, 42, 70, 0.06);
  padding: 48px 24px;
  text-align: center;
}
.co-cand-empty-ico {
  width: 80px;
  height: 80px;
  border-radius: 999px;
  background: #EEF4F9;
  color: #9AA7B4;
  display: grid;
  place-items: center;
  font-size: 38px;
  margin: 0 auto 20px;
}
.co-cand-empty strong {
  display: block;
  color: #0C2A46;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}
.co-cand-empty p {
  color: #5B6B7B;
  font-size: 14px;
  margin: 0 0 20px;
}
.co-cand-table-wrap {
  background: #fff;
  border: 0;
  border-radius: 24px;
  overflow: auto;
  box-shadow: 0 4px 20px rgba(12, 42, 70, 0.06);
}
.co-cand-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 920px;
  text-align: start;
}
.co-cand-table th {
  text-align: start;
  padding: 14px 16px;
  font-size: 12px;
  font-weight: 500;
  color: #9AA7B4;
  background: #fff;
  border-bottom: 1px solid #E4EAF1;
  white-space: nowrap;
}
.co-cand-table th.co-cand-check { padding: 14px 20px; width: 48px; }
.co-cand-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #E4EAF1;
  color: #5B6B7B;
  font-size: 13px;
  vertical-align: middle;
}
.co-cand-table tr:last-child td { border-bottom: 0; }
.co-cand-table tbody tr {
  transition: 200ms ease;
  position: relative;
  z-index: 0;
}
.co-cand-table tbody tr:hover {
  background: #F5F8FB;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(12, 42, 70, 0.05);
  transform: translateY(-1px);
}
.co-cand-table tbody tr:hover td { background: transparent; }
.co-cand-table tbody tr.is-selected {
  background: rgba(238, 244, 249, 0.7);
  box-shadow: inset -2px 0 0 #123A5C;
}
html[dir="ltr"] .co-cand-table tbody tr.is-selected {
  box-shadow: inset 2px 0 0 #123A5C;
}
.co-cand-date { color: #9AA7B4; white-space: nowrap; }
.co-cand-actions { text-align: end; }
.co-cand-check { width: 48px; }
.co-check-btn {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 2px solid #C4CFD9;
  background: #fff;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: 150ms ease;
}
.co-check-btn i { font-size: 12px; opacity: 0; }
.co-check-btn:hover { border-color: #7FA6C4; }
.co-check-btn.is-on {
  background: #123A5C;
  border-color: #123A5C;
}
.co-check-btn.is-on i { opacity: 1; }
.co-cand-person {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 140px;
  text-decoration: none;
  color: inherit;
}
.co-cand-person .co-cand-avatar {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #EEF4F9;
  color: #123A5C;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  flex: 0 0 auto;
}
.co-cand-person strong {
  display: block;
  color: #1F2D3D;
  font-size: 14px;
  font-weight: 500;
}
.co-score-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  gap: 0;
}
.co-score-pill small {
  font-size: 10px;
  font-weight: 600;
  margin-inline-start: 2px;
  opacity: .7;
}
.co-score-pill.tone-high { background: #E2F1DE; color: #5FA85D; }
.co-score-pill.tone-mid { background: #FCF3E0; color: #D3931B; }
.co-score-pill.tone-low { background: #FBE6E6; color: #D14343; }
.co-report-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  color: #0B7A66 !important;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  background: transparent;
  height: auto;
  text-decoration: none;
}
.co-report-link:hover {
  background: rgba(211, 237, 231, 0.4);
  color: #0B7A66 !important;
  text-decoration: none;
  filter: none;
}
.co-report-link i { font-size: 14px; }


/* —— provider_new shell/notifications —— */
.co-side-foot {
  margin-top: auto;
  padding-top: 12px;
  display: grid;
  gap: 8px;
}
.co-side-lang-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  color: #7FA6C4;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}
.co-side-lang-link:hover { background: #0C2A46; color: #DCE8F2; }
.co-bell-btn {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #5B6B7B;
  text-decoration: none;
  background: transparent;
  border: 0;
}
.co-bell-btn:hover { background: #F5F8FB; color: #123A5C; }
.co-bell-btn .co-bell-dot,
.co-bell-dot {
  position: absolute;
  top: 8px;
  inset-inline-start: 8px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #D14343;
}
.co-tabs {
  display: flex;
  border-bottom: 1px solid #E4EAF1;
  margin-bottom: 24px;
  overflow-x: auto;
}
.co-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  color: #9AA7B4;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.co-tab:hover { color: #5B6B7B; }
.co-tab.is-active { color: #0C2A46; }
.co-tab.is-active .co-tab-ico { color: #123A5C; }
.co-tab-ico {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.co-tab-ico i { font-size: 16px; line-height: 1; }
.co-tabs--settings { margin-bottom: 24px; }
.co-page-head--settings { margin-bottom: 8px; }
.co-settings-page .co-page-head--settings p { margin-bottom: 0; }
.co-settings-panel {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(12, 42, 70, 0.06);
  padding: 24px;
  max-width: 640px;
}
.co-settings-page .co-settings-save-btn { border-radius: 16px !important; }
.co-settings-billing { max-width: 800px; display: grid; gap: 20px; }
.co-settings-company-card { padding: 24px; max-width: 640px; }
.co-settings-company-card h3 { margin: 0 0 24px; font-size: 16px; font-weight: 600; color: #0C2A46; }
.co-settings-company-fields { display: flex; flex-direction: column; gap: 20px; width: 100%; }
.co-settings-company-fields .co-field { width: 100%; }
.co-settings-company-fields .co-field-locked { width: 100%; display: block; }
.co-settings-company-fields .co-field input:not([type="file"]),
.co-settings-company-fields .co-field-locked input {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  display: block;
}
.co-logo-drop input[type="file"],
.co-logo-drop [data-logo-input] {
  display: none !important;
  visibility: hidden !important;
  position: absolute !important;
  width: 0 !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none;
}
.co-settings-company-fields .co-field-label {
  display: block; margin-bottom: 8px; font-size: 14px; font-weight: 500; color: #1F2D3D;
}
.co-settings-company-fields .co-field > span.co-field-label {
  font-weight: 500;
  color: #1F2D3D;
}
.co-settings-company-fields .co-field input:not([disabled]) {
  height: 52px;
  background: #fff;
  font-size: 16px;
  border-color: #E4EAF1;
  color: #1F2D3D;
}
.co-settings-company-fields .co-field input:focus {
  border-color: #0B7A66;
  box-shadow: 0 0 0 2px #D3EDE7;
  background: #fff;
}
.co-settings-company-fields .co-field-locked input {
  height: 52px;
  padding-left: 48px;
  padding-right: 16px;
  background: #F5F8FB;
  color: #5B6B7B;
  font-size: 16px;
  cursor: not-allowed;
  text-align: start;
}
.co-settings-company-fields .co-field-locked i {
  left: 12px;
  right: auto;
  inset-inline-start: auto;
}
.co-tab.is-active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: #123A5C;
}
.co-notif-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.co-notif-toolbar-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: #0C2A46;
}
.co-notif-count-badge {
  display: inline-grid;
  place-items: center;
  min-width: 26px;
  height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  background: #D14343;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}
.co-notif-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.co-notif-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: 150ms ease;
  border: 0;
}
.co-notif-btn--ghost {
  border: 1px solid #E4EAF1;
  background: #fff;
  color: #2C6491;
}
.co-notif-btn--ghost:hover:not(:disabled) { background: #F5F8FB; }
.co-notif-btn--ghost:disabled { opacity: 0.4; cursor: not-allowed; }
.co-notif-btn--primary {
  background: #123A5C;
  color: #fff !important;
}
.co-notif-btn--primary:hover { background: #1B4E76; }
.co-notif-segment {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  padding: 4px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: #F5F8FB;
}
.co-notif-segment .co-pill {
  height: 38px;
  padding: 0 20px;
  border: 0;
  background: transparent;
  font-size: 14px;
}
.co-notif-segment .co-pill.is-active {
  background: #123A5C;
  border-color: #123A5C;
  color: #fff;
  box-shadow: 0 1px 3px rgba(12, 42, 70, 0.12);
}
.co-notif-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
@media (max-width: 720px) {
  .co-notif-stats { grid-template-columns: 1fr; }
}
.co-notif-stat {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 20px rgba(12,42,70,.06);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 92px;
  box-sizing: border-box;
  transition: transform 300ms ease, box-shadow 300ms ease;
}
.co-notif-stat-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.co-notif-stat:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(12,42,70,.14);
}
.co-notif-stat strong {
  display: block;
  font-size: 26px;
  font-weight: 700;
  color: #0C2A46;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.co-notif-stat-label { color: #5B6B7B; font-size: 13px; margin-top: 4px; display: block; }
.co-notif-stat-ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 20px;
}
.co-notif-stat-ico.tone-navy { background: #EEF4F9; color: #123A5C; }
.co-notif-stat-ico.tone-red { background: #FBE6E6; color: #D14343; }
.co-notif-stat-ico.tone-green { background: #E2F1DE; color: #5FA85D; }
.co-notif-list { display: grid; gap: 12px; }
.co-notif-card {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 20px rgba(12,42,70,.06);
  padding: 16px 20px;
  display: flex;
  gap: 16px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease, background 300ms ease;
}
.co-notif-card:hover {
  box-shadow: 0 10px 28px rgba(12,42,70,.12);
  transform: translateY(-2px);
}
.co-notif-card.is-unread {
  border-color: #DCE8F2;
  background: #F7FBFF;
  box-shadow: 0 4px 20px rgba(12,42,70,.06);
}
.co-notif-ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.co-notif-ico.tone-info { background: #DCE8F2; color: #2C6491; }
.co-notif-ico.tone-warning { background: #FCF3E0; color: #E4A11B; }
.co-notif-ico.tone-success { background: #E2F1DE; color: #5FA85D; }
.co-notif-ico.tone-alert { background: #FBE6E6; color: #D14343; }
.co-notif-body { flex: 1; min-width: 0; }
.co-notif-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.co-notif-head strong { color: #0C2A46; font-size: 15px; font-weight: 600; }
.co-notif-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #D14343;
  flex: 0 0 auto;
}
.co-notif-type-pill {
  font-size: 11px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 999px;
  background: #F5F8FB;
  color: #7FA6C4;
}
.co-notif-msg {
  margin: 0;
  color: #5B6B7B;
  font-size: 13px;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.co-notif-card.is-expanded .co-notif-msg {
  -webkit-line-clamp: unset;
  display: block;
}
.co-notif-card:not(.is-unread) .co-notif-msg { color: #9AA7B4; }
.co-notif-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-top: 10px;
  color: #9AA7B4;
  font-size: 12px;
}
.co-notif-meta i { font-size: 13px; vertical-align: -2px; }
.co-notif-meta a {
  color: #2C6491;
  font-weight: 500;
  text-decoration: none;
}
.co-notif-meta a:hover { text-decoration: underline; }
.co-notif-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 0;
  background: transparent;
  color: #2C6491;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
}
.co-notif-toggle i { transition: transform 200ms ease; }
.co-notif-card.is-expanded .co-notif-toggle i { transform: rotate(180deg); }
.co-notif-card {
  position: relative;
  align-items: flex-start;
}
.co-notif-delete-form {
  margin: 0;
  flex: 0 0 auto;
}
.co-notif-delete {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #C4CFD9;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 200ms ease, color 200ms ease;
}
.co-notif-delete:hover {
  background: #FDF0F0;
  color: #D14343;
}
.co-notif-category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.co-notif-cat {
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: #5B6B7B;
  background: #F5F8FB;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: background 200ms ease, color 200ms ease;
}
.co-notif-cat:hover { color: #0C2A46; }
.co-notif-cat.is-active {
  background: #123A5C;
  color: #fff;
}
.co-empty-panel--notif {
  border: 0;
  border-radius: 24px;
  box-shadow: 0 4px 20px rgba(12,42,70,.06);
  padding: 48px 24px;
}
.co-empty-ico--notif {
  width: 80px;
  height: 80px;
  border-radius: 999px;
  background: #EEF4F9;
  color: #9AA7B4;
  font-size: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 4px;
}
.co-empty-panel--notif strong {
  font-size: 16px;
  font-weight: 600;
  color: #0C2A46;
}
.co-empty-panel--notif p {
  margin: 0;
  font-size: 14px;
  color: #5B6B7B;
  max-width: 420px;
}

/* provider_new finish polish */
.co-card { border-radius: 24px !important; box-shadow: 0 4px 20px rgba(12,42,70,0.06) !important; border: 0 !important; }
.co-cand-table-wrap, .co-results-table-wrap, .co-bill-plan-card, .co-empty-panel, .co-cand-empty { border-radius: 24px !important; }
.co-cand-sort a { border-radius: 999px !important; }
.co-welcome h1 { font-size: 24px; font-weight: 600; color: #0C2A46; }
.co-page-head h1, .co-cand-head h1 { font-size: 24px !important; font-weight: 600 !important; color: #0C2A46 !important; }
.co-row-link { opacity: 0; }
.co-results-table tbody tr:hover .co-row-link { opacity: 1; }
.co-status.is-completed { background: #E2F1DE; color: #5FA85D; }
.co-status.is-in_progress { background: #D3EDE7; color: #0B7A66; }
.co-status.is-pending, .co-status.is-opened { background: #E4EAF1; color: #5B6B7B; }
.co-status.is-opened { background: #DCE8F2; color: #2C6491; }

/* —— specialties / settings (provider_new) —— */
.co-spec-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 16px;
}
@media (min-width: 768px) { .co-spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .co-spec-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.co-spec-card {
  background: #fff;
  border-radius: 24px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(12,42,70,.06);
  border: 1px solid transparent;
  transition: transform .2s, box-shadow .2s, opacity .2s;
}
.co-spec-card:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(12,42,70,.1); }
.co-spec-card.is-off { opacity: .72; border-color: #E4EAF1; }
.co-spec-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.co-spec-title { display: flex; align-items: flex-start; gap: 12px; min-width: 0; }
.co-spec-title h3 { margin: 0; font-size: 15px; font-weight: 600; color: #0C2A46; line-height: 1.35; }
.co-spec-ico {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center; flex: 0 0 auto; font-size: 20px;
}
.co-spec-ico.tone-default { background: #EEF4F9; color: #123A5C; }
.co-spec-ico.tone-custom { background: #D3EDE7; color: #0B7A66; }
.co-spec-badge {
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: 4px; padding: 2px 8px; border-radius: 999px;
  font-size: 11px; font-weight: 600;
}
.co-spec-badge.tone-default { background: #D3EDE7; color: #0B7A66; }
.co-spec-badge.tone-custom { background: #EEF4F9; color: #2C6491; }
.co-spec-desc { margin: 0 0 12px; font-size: 13px; line-height: 1.6; color: #5B6B7B; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.co-spec-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 12px; border-top: 1px solid #E4EAF1; gap: 8px;
}
.co-spec-meta { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #9AA7B4; }
.co-spec-foot-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  color: #0B7A66;
  cursor: pointer;
}
.co-spec-foot-btn:hover { text-decoration: underline; }
.co-spec-foot-btn i { font-size: 14px; }
.co-modal.co-spec-view-modal {
  position: fixed;
  z-index: 81;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(520px, calc(100vw - 32px));
  max-height: 88vh;
  overflow: auto;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 24px 48px rgba(12, 42, 70, 0.18);
}
.co-spec-view-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}
.co-spec-view-head h4 { margin: 0 0 6px; font-size: 18px; color: #0C2A46; }
.co-spec-view-hint {
  margin: 0 0 16px;
  font-size: 13px;
  color: #9AA7B4;
}
.co-spec-view-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0 0 16px;
  padding: 0;
}
.co-spec-view-meta div { margin: 0; }
.co-spec-view-meta dt { font-size: 12px; color: #9AA7B4; margin-bottom: 4px; }
.co-spec-view-meta dd { margin: 0; font-size: 14px; font-weight: 600; color: #1F2D3D; }
.co-spec-view-desc strong { display: block; font-size: 14px; color: #0C2A46; margin-bottom: 8px; }
.co-spec-view-desc p { margin: 0; font-size: 14px; line-height: 1.7; color: #5B6B7B; }
body.co-sheet-open { overflow: hidden; }
.co-switch {
  position: relative; width: 40px; height: 24px; border-radius: 999px;
  border: 0; padding: 0; cursor: pointer; background: #C4CFD9;
  transition: background .25s; flex: 0 0 auto;
}
.co-switch.is-on { background: #5FA85D; }
.co-switch.is-locked { opacity: .55; cursor: not-allowed; }
.co-switch-knob {
  position: absolute; top: 2px; inset-inline-end: 18px;
  width: 20px; height: 20px; border-radius: 999px; background: #fff;
  box-shadow: 0 1px 3px rgba(12,42,70,.15); transition: inset-inline-end .25s;
}
.co-switch.is-on .co-switch-knob { inset-inline-end: 2px; }
.co-switch-wrap { position: relative; display: inline-flex; }
.co-switch-input {
  position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; margin: 0;
}
.co-switch-wrap:has(.co-switch-input:checked) .co-switch { background: #5FA85D; }
.co-switch-wrap:has(.co-switch-input:checked) .co-switch-knob { inset-inline-end: 2px; }
.co-sheet-overlay {
  position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,.4);
}
.co-sheet-overlay[hidden], .co-sheet[hidden], .co-modal-wrap[hidden],
.co-modal-overlay[hidden], .co-modal.co-scenario-preview[hidden],
.co-modal.co-spec-view-modal[hidden] { display: none !important; }
.co-sheet {
  position: fixed; top: 0; inset-inline-end: 0; z-index: 61;
  width: min(440px, 100%); height: 100%; background: #fff;
  box-shadow: 0 8px 40px rgba(12,42,70,.15); overflow-y: auto;
}
.co-sheet-inner { padding: 24px; }
.co-sheet-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 20px;
}
.co-sheet-head h2 { margin: 0; font-size: 20px; font-weight: 600; color: #0C2A46; }
.co-sheet-close {
  width: 36px; height: 36px; border: 0; border-radius: 10px;
  background: transparent; color: #9AA7B4; cursor: pointer;
}
.co-sheet-close:hover { background: #F5F8FB; color: #5B6B7B; }
.co-sheet-actions { display: flex; gap: 12px; margin-top: 24px; }
.co-sheet-actions .co-invite-btn { flex: 1; justify-content: center; }
.co-field textarea {
  width: 100%; min-height: 100px; padding: 12px 14px;
  border: 1px solid #E4EAF1; border-radius: 12px; font: inherit; resize: vertical;
}
.co-spec-desc-count {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #9AA7B4;
  text-align: left;
}
html[dir="rtl"] .co-spec-desc-count { text-align: right; }
.co-spec-level-label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #1F2D3D;
}
.co-spec-level-pills {
  display: flex;
  gap: 8px;
}
.co-spec-level-pill {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 48px;
  border-radius: 999px;
  background: #F5F8FB;
  color: #5B6B7B;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease;
}
.co-spec-level-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.co-spec-level-pill i { font-size: 15px; }
.co-spec-level-pill:has(input:checked) {
  background: #123A5C;
  color: #fff;
}
.co-spec-level-pill:hover:not(:has(input:checked)) {
  background: #EEF4F9;
}
.co-empty-ico.tone-green {
  width: 80px; height: 80px; border-radius: 999px; background: #E2F1DE; color: #5FA85D;
  display: grid; place-items: center; font-size: 38px; margin: 0 auto 16px;
}
.co-logo-drop {
  position: relative;
  border: 2px dashed #C4CFD9;
  border-radius: 16px;
  background: #F5F8FB;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 168px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.co-logo-drop:hover:not(.has-preview) {
  border-color: #7FA6C4;
  background: #EEF4F9;
}
.co-logo-drop.is-dragging {
  border-color: #0B7A66;
  background: rgba(211, 237, 231, 0.3);
}
.co-logo-drop.has-preview {
  cursor: default;
  border-style: solid;
  border-color: #E4EAF1;
}
.co-logo-drop-empty,
.co-logo-drop-filled {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}
.co-logo-drop-filled[hidden],
.co-logo-drop-empty[hidden] { display: none !important; }
.co-logo-placeholder {
  width: 48px; height: 48px; border-radius: 999px; background: #EEF4F9;
  color: #9AA7B4; display: grid; place-items: center; font-size: 22px;
}
.co-logo-drop-copy p { margin: 0; font-size: 14px; font-weight: 500; color: #1F2D3D; }
.co-logo-drop-copy span { font-size: 12px; color: #9AA7B4; }
.co-logo-circle {
  width: 80px; height: 80px; border-radius: 999px; background: #fff;
  border: 1px solid #E4EAF1; overflow: hidden;
  display: flex; align-items: center; justify-content: center; padding: 8px;
}
.co-logo-circle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.co-logo-file-actions {
  display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap;
}
.co-logo-link {
  border: 0; background: none; padding: 0;
  font-size: 13px; font-weight: 500; color: #123A5C; cursor: pointer;
  display: inline-flex; align-items: center; gap: 4px;
}
.co-logo-link:hover { text-decoration: underline; }
.co-logo-link.is-danger { color: #D14343; }
.co-logo-sep { color: #C4CFD9; font-size: 13px; user-select: none; }
.co-logo-filename { font-size: 12px; color: #9AA7B4; }
.co-field-locked { position: relative; }
.co-field-locked input { padding-inline-start: 40px; background: #F5F8FB; color: #5B6B7B; }
.co-field-locked i {
  position: absolute; inset-inline-start: 12px; top: 50%; transform: translateY(-50%);
  color: #9AA7B4;
}
.co-field-hint { display: block; margin-top: 6px; font-size: 12px; color: #9AA7B4; }
.co-settings-divider { height: 1px; background: #E4EAF1; margin: 20px 0; }
.co-settings-actions { margin-top: 20px; padding-top: 16px; border-top: 1px solid #E4EAF1; }
.co-team-panel { max-width: 800px; }
.co-team-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.co-team-head h3 { margin: 0; font-size: 16px; font-weight: 600; color: #0C2A46; }
.co-team-table-wrap {
  background: #fff; border-radius: 24px; box-shadow: 0 4px 20px rgba(12,42,70,.06);
  overflow-x: auto;
  overflow-y: visible;
}
.co-team-table-wrap:has(.co-team-menu-panel:not([hidden])) {
  overflow: visible;
}
.co-team-table { width: 100%; min-width: 720px; border-collapse: collapse; text-align: start; }
.co-team-table th {
  padding: 12px 16px; font-size: 12px; font-weight: 500; color: #9AA7B4;
  border-bottom: 1px solid #E4EAF1;
}
.co-team-table td { padding: 14px 16px; border-bottom: 1px solid #E4EAF1; vertical-align: middle; }
.co-team-table tbody tr:hover { background: #F5F8FB; }
.co-team-user { display: flex; align-items: center; gap: 10px; }
.co-team-avatar {
  width: 32px; height: 32px; border-radius: 999px; background: #EEF4F9;
  color: #123A5C; font-size: 12px; font-weight: 700;
  display: grid; place-items: center; flex: 0 0 auto;
}
.co-team-mono { font-family: "IBM Plex Mono", monospace; font-size: 13px; color: #5B6B7B; }
.co-team-role {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600;
}
.co-team-role.is-owner, .co-team-role.is-admin { background: #EEF4F9; color: #123A5C; }
.co-team-role.is-hr { background: #D3EDE7; color: #0B7A66; }
.co-team-status {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600;
}
.co-team-status.is-active { background: #E2F1DE; color: #5FA85D; }
.co-team-status.is-inactive { background: #E4EAF1; color: #9AA7B4; }
.co-team-remove {
  width: 32px; height: 32px; border: 0; border-radius: 8px;
  background: transparent; color: #D14343; cursor: pointer;
}
.co-team-remove:hover { background: #FBE6E6; }
.co-team-invite-btn {
  height: 44px;
  padding: 0 16px;
  font-size: 14px;
  border-radius: 999px;
}
.co-team-table--ready { min-width: 760px; }
.co-team-name { font-size: 14px; font-weight: 500; color: #1F2D3D; }
.co-team-pass {
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  color: #9AA7B4;
  letter-spacing: 0.08em;
}
.co-team-role.is-viewer { background: #E4EAF1; color: #5B6B7B; }
.co-team-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  flex: 0 0 auto;
}
.co-team-status.is-active .co-team-status-dot { background: #5FA85D; }
.co-team-status.is-inactive .co-team-status-dot { background: #9AA7B4; }
.co-team-actions { position: relative; width: 48px; overflow: visible; }
.co-team-table tbody tr:has(.co-team-menu-panel:not([hidden])) {
  position: relative;
  z-index: 3;
}
.co-team-menu { position: relative; display: inline-flex; z-index: 4; }
.co-team-menu-btn {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #9AA7B4;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.co-team-menu-btn:hover { background: #EEF4F9; color: #123A5C; }
.co-team-menu-panel {
  position: absolute;
  top: calc(100% + 4px);
  z-index: 50;
  min-width: 148px;
  background: #fff;
  border: 1px solid #E4EAF1;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(12, 42, 70, 0.15);
  padding: 4px 0;
}
[dir="rtl"] .co-team-menu-panel {
  left: 0;
  right: auto;
  inset-inline-start: auto;
  inset-inline-end: auto;
}
.co-team-menu:has(.co-team-menu-panel:not([hidden])) .co-team-menu-btn {
  visibility: hidden;
}
[dir="ltr"] .co-team-menu-panel {
  left: 0;
  right: auto;
  inset-inline-start: 0;
  inset-inline-end: auto;
}
.co-team-menu-panel[hidden] { display: none !important; }
.co-team-menu-delete {
  width: 100%;
  border: 0;
  background: none;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  font-size: 13px;
  font-family: inherit;
  color: #D14343;
  cursor: pointer;
  text-align: start;
  white-space: nowrap;
  appearance: none;
  -webkit-appearance: none;
}
.co-team-menu-delete i {
  flex: 0 0 auto;
  font-size: 16px;
  line-height: 1;
  color: #D14343;
}
.co-team-menu-panel form { margin: 0; }
.co-team-menu-delete:hover { background: #FDF0F0; }
.co-team-menu-label {
  display: block;
  padding: 8px 16px 4px;
  font-size: 11px;
  color: #6B8AA8;
}
.co-team-role-form select {
  width: calc(100% - 24px);
  margin: 0 12px 8px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(15, 61, 94, .15);
  font: inherit;
  font-size: 13px;
  background: #fff;
}
.co-team-menu-item {
  width: 100%;
  border: 0;
  background: none;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-family: inherit;
  color: #0F3D5E;
  cursor: pointer;
  text-align: start;
}
.co-team-menu-item:hover { background: rgba(14, 159, 142, .08); }
.co-role-info--ready { margin-top: 20px; }
.co-role-info-row p { color: #2C6491; }
.co-modal--team-invite { max-width: 500px; }
.co-team-role-pick {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}
.co-team-role-pick-opt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px;
  border: 2px solid #E4EAF1;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.15s, background 0.15s;
}
.co-team-role-pick-opt:has(input:checked) {
  border-color: #123A5C;
  background: #EEF4F9;
}
.co-team-role-pick-opt input { position: absolute; opacity: 0; pointer-events: none; }
.co-team-role-pick-opt i { font-size: 18px; color: #9AA7B4; }
.co-team-role-pick-opt:has(input:checked) i { color: #123A5C; }
.co-team-role-pick-opt strong { font-size: 14px; color: #5B6B7B; font-weight: 600; }
.co-team-role-pick-opt:has(input:checked) strong { color: #0C2A46; }
.co-team-role-pick-opt small { font-size: 11px; color: #9AA7B4; line-height: 1.3; }
.co-sheet-actions--ready {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.co-sheet-actions--ready .co-invite-btn--ghost {
  background: #fff;
  color: #5B6B7B !important;
  border: 1px solid #E4EAF1;
}
.co-field-input-icon-wrap { position: relative; width: 100%; }
.co-team-invite-form .co-field--icon-stack .co-field-input-icon-wrap .co-team-pass-toggle {
  position: absolute;
  top: 50%;
  left: 12px;
  right: auto;
  inset-inline-start: auto;
  transform: translateY(-50%);
  z-index: 2;
  cursor: pointer;
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}
.co-team-invite-form .co-field--icon-stack .co-field-input-icon-wrap input {
  width: 100%;
  box-sizing: border-box;
  padding-left: 44px;
  padding-right: 16px;
  text-align: right;
  direction: rtl;
}
.co-role-info {
  margin-top: 20px; background: #EEF4F9; border-radius: 14px; padding: 16px;
  display: grid; gap: 12px;
}
.co-role-info h4 {
  margin: 0; font-size: 14px; font-weight: 600; color: #0C2A46;
  display: flex; align-items: center; gap: 8px;
}
.co-role-info-row { display: flex; align-items: flex-start; gap: 12px; }
.co-role-info-ico {
  width: 32px; height: 32px; border-radius: 8px; background: #fff;
  color: #123A5C; display: grid; place-items: center; flex: 0 0 auto;
}
.co-role-info-ico.tone-green { color: #0B7A66; }
.co-role-info-ico.tone-muted { color: #9AA7B4; }
.co-role-info-row strong { display: block; font-size: 14px; color: #0C2A46; }
.co-role-info-row p { margin: 2px 0 0; font-size: 13px; color: #2C6491; }
.co-modal-wrap {
  position: fixed; inset: 0; z-index: 61; display: flex;
  align-items: center; justify-content: center; padding: 16px;
}
.co-modal {
  width: min(500px, 100%); background: #fff; border-radius: 24px;
  padding: 24px; box-shadow: 0 8px 40px rgba(12,42,70,.15);
}
.co-notif-prefs { max-width: 760px; display: grid; gap: 16px; }
.co-notif-prefs--ready { gap: 20px; }
.co-notif-prefs--ready .co-notif-card {
  display: block;
  cursor: default;
  border: 0;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 20px rgba(12, 42, 70, 0.06);
  padding: 24px;
  transform: none;
  transition: none;
}
.co-notif-prefs--ready .co-notif-card:hover {
  transform: none;
  box-shadow: 0 4px 20px rgba(12, 42, 70, 0.06);
}
.co-notif-prefs--ready .co-notif-card--quiet { padding: 24px; }
.co-notif-block { padding: 24px; }
.co-notif-block-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.co-notif-block-head--spaced { margin-bottom: 16px; }
.co-notif-block-head h3 { margin: 0; font-size: 16px; font-weight: 600; color: #0C2A46; }
.co-notif-block-head p { margin: 2px 0 0; font-size: 12px; color: #9AA7B4; }
.co-notif-block-ico {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  font-size: 17px;
}
.co-notif-row-ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  font-size: 20px;
}
.co-notif-block-ico.tone-navy, .co-notif-row-ico.tone-navy { background: #EEF4F9; color: #123A5C; }
.co-notif-block-ico.tone-green { background: #D3EDE7; color: #0B7A66; }
.co-notif-row-ico.tone-green { background: #D3EDE7; color: #0B7A66; }
.co-notif-row-ico.tone-blue { background: #DCE8F2; color: #2C6491; }
.co-notif-row-ico.tone-gold { background: #FCF3E0; color: #E4A11B; }
.co-notif-row-ico.tone-red { background: #FBE6E6; color: #D14343; }
.co-notif-rows { display: grid; }
.co-notif-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #E4EAF1;
}
.co-notif-row:last-child { border-bottom: 0; }
.co-notif-row--quiet { padding: 0; border: 0; }
.co-notif-row strong { display: block; font-size: 14px; font-weight: 600; color: #0C2A46; }
.co-notif-row > div span {
  display: block;
  font-size: 12px;
  color: #9AA7B4;
  margin-top: 2px;
  line-height: 1.4;
}
.co-notif-row > div { flex: 1; min-width: 0; }
.co-notif-prefs--ready .co-notif-row-ico i,
.co-notif-prefs--ready .co-notif-block-ico i {
  display: block;
  line-height: 1;
  font-size: 20px;
}
.co-notif-prefs--ready .co-notif-block-ico i { font-size: 17px; }
.co-notif-row.is-muted { opacity: .75; }
.co-notif-soon { margin: 12px 0 0; font-size: 12px; color: #9AA7B4; }
.co-toggle {
  position: relative;
  box-sizing: border-box;
  width: 48px;
  height: 28px;
  min-width: 48px;
  min-height: 28px;
  max-height: 28px;
  border: 0;
  padding: 0;
  border-radius: 999px;
  background: #C4CFD9;
  cursor: pointer;
  flex: 0 0 auto;
  overflow: hidden;
  vertical-align: middle;
  transition: background 0.2s ease;
}
.co-toggle.is-on { background: #0B7A66; }
.co-toggle.is-locked { opacity: 0.5; cursor: not-allowed; }
.co-toggle-knob {
  position: absolute;
  top: 50%;
  inset-inline-start: 24px;
  width: 20px;
  height: 20px;
  margin: 0;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(12, 42, 70, 0.12);
  transform: translateY(-50%);
  transition: inset-inline-start 0.2s ease, transform 0.2s ease;
}
.co-toggle.is-on .co-toggle-knob {
  inset-inline-start: 4px;
  transform: translateY(-50%);
}
.co-toggle-wrap { position: relative; display: inline-flex; flex: 0 0 auto; }
.co-toggle-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  margin: 0;
  z-index: 2;
}
.co-toggle-wrap:has(.co-toggle-input:checked) .co-toggle { background: #0B7A66; }
.co-toggle-wrap:has(.co-toggle-input:checked) .co-toggle-knob {
  inset-inline-start: 4px;
  transform: translateY(-50%);
}
.co-notif-freq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 640px) {
  .co-notif-freq-grid { grid-template-columns: repeat(3, 1fr); }
}
.co-notif-freq-opt {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 16px;
  border: 2px solid #E4EAF1;
  border-radius: 16px;
  background: #fff;
  cursor: pointer;
  text-align: start;
  transition: border-color 0.15s, background 0.15s;
}
.co-notif-freq-opt:hover:not(.is-active) { border-color: #ADBCCB; }
.co-notif-freq-opt.is-active {
  border-color: #123A5C;
  background: #EEF4F9;
}
.co-notif-freq-opt-head {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}
.co-notif-freq-opt-head i { font-size: 16px; color: #C4CFD9; }
.co-notif-freq-opt.is-active .co-notif-freq-opt-head i { color: #123A5C; }
.co-notif-freq-opt-head strong {
  font-size: 14px;
  font-weight: 600;
  color: #5B6B7B;
}
.co-notif-freq-opt.is-active .co-notif-freq-opt-head strong { color: #0C2A46; }
.co-notif-freq-opt > span:last-child {
  font-size: 12px;
  color: #9AA7B4;
  line-height: 1.5;
}
.co-notif-save-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 4px;
}
.co-notif-prefs--ready .co-settings-save-btn {
  height: 48px;
  padding-inline: 24px;
  border-radius: 999px !important;
  font-size: 15px;
  font-weight: 500;
}
.co-status.is-expired { background: #FBE6E6; color: #D14343; }
.co-status.is-cancelled { background: #EEF1F4; color: #7A8A9A; }
.co-status.is-in_progress { color: #06614F; }
.co-status.is-pulse { gap: 6px; align-items: center; }
.co-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: co-pulse 1.5s ease-in-out infinite;
}
@keyframes co-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.co-funnel-card.tone-navy .co-funnel-ico { background: #EEF4F9; color: #123A5C; }
.co-funnel-card.tone-sent .co-funnel-ico { background: #E4EAF1; color: #5B6B7B; }
.co-funnel-card.tone-opened .co-funnel-ico { background: #DCE8F2; color: #2C6491; }
.co-funnel-card.tone-progress .co-funnel-ico { background: #D3EDE7; color: #06614F; }
.co-funnel-card.tone-completed .co-funnel-ico { background: #E2F1DE; color: #5FA85D; }
.co-funnel-card.tone-expired .co-funnel-ico { background: #FBE6E6; color: #D14343; }

.co-invites-filters {
  overflow-x: auto;
  flex-wrap: nowrap;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}
.co-invites-filters .co-pill {
  height: 40px;
  padding: 0 14px;
  font-size: 12px;
}
.co-invite-person {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.co-invite-person strong {
  font-size: 14px;
  font-weight: 600;
  color: #1F2D3D;
}
.co-invite-person small {
  font-size: 12px;
  color: #9AA7B4;
  word-break: break-all;
}
html[dir="rtl"] .co-invite-person small { text-align: right; }
.co-method-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #F5F8FB;
  color: #5B6B7B;
  font-size: 12px;
  font-weight: 600;
}
.co-invite-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.co-icon-btn {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #9AA7B4;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  font-size: 16px;
  padding: 0;
}
.co-icon-btn:hover { background: #EEF4F9; color: #123A5C; }
a.co-icon-btn {
  text-decoration: none;
  color: #9AA7B4;
  box-sizing: border-box;
}
.co-icon-btn--preview:hover { background: #D3EDE7; color: #0B7A66; }
.co-icon-btn--danger { color: #D14343; }
.co-icon-btn--danger:hover { background: #FBE6E6; color: #B83838; }
.co-icon-btn--edit:hover { background: #EEF4F9; color: #123A5C; }
.co-icon-btn.is-copied { color: #5FA85D; }
.co-inline-form { display: inline; margin: 0; }
.co-comm-send-form { display: block; width: 100%; margin: 0; }
.co-invites-table { min-width: 820px; }

/* —— Communication (Ready) —— */
.co-comm-stack { display: flex; flex-direction: column; gap: 24px; }
.co-comm-sub-panel {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 20px rgba(12,42,70,.06);
  padding: 24px;
}
.co-comm-sub-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.co-comm-sub-brand { display: flex; gap: 16px; align-items: center; }
.co-comm-sub-ico {
  width: 48px; height: 48px; border-radius: 14px;
  background: #D3EDE7; color: #0B7A66;
  display: grid; place-items: center; font-size: 22px;
}
.co-comm-sub-head h2 { margin: 0; font-size: 18px; color: #0C2A46; }
.co-comm-sub-head p { margin: 4px 0 0; font-size: 14px; color: #5B6B7B; }
.co-status--pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600;
}
.co-status--pill.is-completed { background: #E2F1DE; color: #5FA85D; }
.co-status--pill.is-expired { background: #FBE6E6; color: #D14343; }
.co-status--pill.is-pending { background: #FCF3E0; color: #E4A11B; }
.co-status--pill.is-accepted { background: #E2F1DE; color: #5FA85D; }
.co-status--pill.is-rejected { background: #FBE6E6; color: #D14343; }
.co-status--pill .co-status-dot { width: 8px; height: 8px; border-radius: 999px; background: currentColor; }
.co-comm-stat-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px;
}
@media (min-width: 768px) {
  .co-comm-stat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.co-comm-stat-grid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) {
  .co-comm-stat-grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
.co-comm-sub-hint {
  margin: 14px 0 0; padding: 12px 14px; border-radius: 12px;
  font-size: 13px; line-height: 1.5; display: flex; align-items: flex-start; gap: 8px;
}
.co-comm-sub-hint--warn { background: #FBE6E6; color: #9B3D3D; }
.co-comm-sub-hint--warn i { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.co-comm-stat {
  background: #F5F8FB; border-radius: 12px; padding: 14px;
}
.co-comm-stat-label {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: #9AA7B4; margin-bottom: 6px;
}
.co-comm-stat strong { font-size: 20px; color: #0C2A46; }
.co-comm-section-title { margin: 0 0 16px; font-size: 16px; color: #0C2A46; }
.co-comm-pkg-grid {
  display: grid; grid-template-columns: 1fr; gap: 16px;
}
@media (min-width: 768px) {
  .co-comm-pkg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.co-comm-pkg {
  background: #fff; border-radius: 24px; padding: 24px;
  box-shadow: 0 4px 20px rgba(12,42,70,.06);
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease;
}
.co-comm-pkg:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(12,42,70,.1);
}
.co-comm-pkg-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}
.co-comm-pkg-ico {
  width: 40px; height: 40px; border-radius: 12px;
  background: #EEF4F9; color: #123A5C;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.co-comm-pkg-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #D3EDE7;
  color: #0B7A66;
  font-size: 11px;
  font-weight: 600;
}
.co-comm-pkg.is-current { border-color: #0B7A66; }
.co-comm-pkg.is-expired { border-color: #E8B4B4; }
.co-comm-pkg-badge.is-expired { background: #FBE6E6; color: #D14343; }
.co-comm-pkg-btn {
  width: 100%;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: #123A5C;
  color: #fff !important;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: background 150ms ease, transform 100ms ease;
}
.co-comm-pkg-btn:hover { background: #1B4E76; }
.co-comm-pkg-btn:active { transform: scale(0.97); }
.co-comm-pkg-btn.is-renew {
  background: #EEF4F9;
  color: #123A5C !important;
}
.co-comm-pkg-btn.is-renew:hover:not(:disabled) { background: #DCE8F2; }
.co-comm-pkg-btn:disabled,
.co-comm-pkg-btn.is-renew:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}
.co-comm-renew-note {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: #9AA7B4;
  text-align: center;
}
.co-comm-pkg-btn.is-sent {
  background: #E2F1DE;
  color: #5FA85D !important;
  cursor: not-allowed;
}
a.co-comm-pkg-btn {
  width: auto;
  padding: 0 20px;
  text-decoration: none;
  display: inline-flex;
}
.co-comm-empty {
  background: #fff;
  border-radius: 24px;
  padding: 48px 24px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(12, 42, 70, 0.06);
}
.co-comm-empty-ico {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background: #EEF4F9;
  color: #9AA7B4;
  display: grid;
  place-items: center;
  font-size: 34px;
  margin: 0 auto 16px;
}
.co-comm-empty strong {
  display: block;
  font-size: 15px;
  color: #0C2A46;
  margin-bottom: 4px;
}
.co-comm-empty p { margin: 0; font-size: 14px; color: #5B6B7B; }
.co-comm-card-spec {
  display: block;
  font-size: 12px;
  color: #9AA7B4;
  margin-top: 2px;
}
.co-comm-pkg h4 { margin: 0 0 6px; font-size: 16px; color: #0C2A46; }
.co-comm-pkg-desc { margin: 0 0 16px; font-size: 13px; line-height: 1.6; color: #5B6B7B; min-height: 2.5em; }
.co-comm-pkg-meta {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 12px 0; margin-bottom: 16px;
  border-top: 1px solid #E4EAF1;
}
.co-comm-pkg-meta strong { font-size: 20px; color: #0C2A46; }
.co-comm-pkg-meta strong small { font-size: 13px; font-weight: 400; color: #9AA7B4; }
.co-comm-pkg-meta span { display: block; font-size: 12px; color: #9AA7B4; }
.co-comm-pkg-credits { text-align: end; }
.co-comm-pkg-credits strong { color: #0B7A66; font-size: 15px; }
.co-comm-lock {
  background: #fff; border-radius: 24px; padding: 48px 24px; text-align: center;
  box-shadow: 0 4px 20px rgba(12,42,70,.06);
}
.co-comm-lock-ico {
  width: 80px; height: 80px; border-radius: 999px; background: #EEF4F9; color: #9AA7B4;
  display: grid; place-items: center; font-size: 38px; margin: 0 auto 20px;
}
.co-comm-spec-bar {
  display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 16px;
}
.co-comm-spec-pill {
  height: 40px; padding: 0 14px; border-radius: 999px;
  border: 1px solid #E4EAF1; background: #fff; color: #5B6B7B;
  font-size: 12px; font-weight: 600; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
}
.co-comm-spec-pill span {
  min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px;
  background: #EEF4F9; color: #9AA7B4; font-size: 11px;
  display: inline-grid; place-items: center;
}
.co-comm-spec-pill.is-active {
  background: #123A5C; border-color: #123A5C; color: #fff;
}
.co-comm-spec-pill.is-active span { background: rgba(255,255,255,.2); color: #fff; }
.co-comm-toolbar {
  display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; align-items: center;
}
.co-comm-search { flex: 1; min-width: 200px; }
.co-comm-search input { padding-inline-end: 40px; }
.co-comm-search-clear {
  position: absolute;
  inset-inline-end: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #9AA7B4;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.co-comm-search-clear:hover { color: #5B6B7B; background: #EEF4F9; }
.co-comm-sort {
  display: inline-flex; background: #fff; border: 1px solid #E4EAF1;
  border-radius: 999px; padding: 4px; box-shadow: 0 1px 4px rgba(12,42,70,.04);
}
.co-comm-sort a {
  padding: 8px 16px; border-radius: 999px; font-size: 13px; font-weight: 600;
  color: #5B6B7B; text-decoration: none;
}
.co-comm-sort a.is-active { background: #123A5C; color: #fff; }
.co-comm-limit {
  display: flex; align-items: center; gap: 8px; font-size: 13px; color: #5B6B7B;
}
.co-comm-limit input {
  width: 72px; height: 44px; text-align: center; border-radius: 12px;
  border: 1px solid #E4EAF1; font: inherit;
}
.co-comm-card-grid {
  display: grid; grid-template-columns: 1fr; gap: 16px;
}
@media (min-width: 768px) { .co-comm-card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .co-comm-card-grid { grid-template-columns: repeat(3, 1fr); } }
.co-comm-card {
  background: #fff; border-radius: 24px; padding: 20px;
  box-shadow: 0 4px 20px rgba(12,42,70,.06);
}
.co-comm-card-head { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.co-comm-card-avatar {
  width: 40px; height: 40px; border-radius: 999px; background: #EEF4F9; color: #123A5C;
  display: grid; place-items: center; flex: 0 0 auto;
}
.co-comm-card h3 { margin: 0; font-size: 15px; color: #0C2A46; }
.co-comm-rating { font-size: 13px; color: #5B6B7B; }
.co-comm-rating i { color: #E4A11B; }
.co-comm-req-seg {
  display: inline-flex; flex-wrap: wrap; gap: 4px;
  background: #fff; border: 1px solid #E4EAF1; border-radius: 999px;
  padding: 4px; margin-bottom: 20px; box-shadow: 0 1px 4px rgba(12,42,70,.04);
}
.co-comm-req-seg-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: 999px; font-size: 13px; font-weight: 600;
  color: #5B6B7B; text-decoration: none;
}
.co-comm-req-seg-btn span {
  min-width: 18px; height: 18px; padding: 0 6px; border-radius: 999px;
  background: #EEF4F9; color: #9AA7B4; font-size: 11px;
  display: inline-grid; place-items: center;
}
.co-comm-req-seg-btn.is-active { background: #123A5C; color: #fff; }
.co-comm-req-seg-btn.is-active span { background: rgba(255,255,255,.2); color: #fff; }
.co-comm-req-list { display: grid; gap: 12px; }
.co-comm-req-row {
  background: #fff; border-radius: 24px; padding: 20px;
  box-shadow: 0 4px 20px rgba(12,42,70,.06);
  display: grid; gap: 12px;
}
.co-comm-req-main { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.co-comm-req-person { display: flex; gap: 12px; align-items: center; min-width: 0; }
.co-comm-req-meta { display: flex; align-items: center; gap: 4px; font-size: 13px; color: #5B6B7B; }
.co-comm-req-meta i { color: #E4A11B; }
.co-comm-req-contact { grid-column: 1 / -1; padding-top: 12px; border-top: 1px solid #E4EAF1; }
.co-comm-req-contact p { margin: 0 0 8px; font-size: 12px; color: #9AA7B4; }
.co-comm-req-contact div {
  display: flex; align-items: center; gap: 8px;
  background: #F5F8FB; border-radius: 12px; padding: 12px 16px; font-size: 14px; color: #1F2D3D;
}
.co-comm-sheet-name { margin: 0 0 16px; font-size: 15px; font-weight: 600; color: #0C2A46; }
.co-field textarea {
  min-height: 96px; padding: 12px 14px; border-radius: 12px;
  border: 1px solid #E4EAF1; background: #F8FBFD; font: inherit; resize: vertical;
}

/* —— Invite wizard (Ready v2) —— */
.co-invite-page { max-width: 700px; }
.co-invite-crumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: #9AA7B4; margin-bottom: 12px;
}
.co-invite-crumb a { color: inherit; text-decoration: none; }
.co-invite-crumb a:hover { color: #0B7A66; }
.co-page-head--compact { margin-bottom: 20px; }
.co-invite-stepper {
  display: flex; align-items: center; gap: 12px; margin-bottom: 24px; flex-wrap: wrap;
}
.co-invite-step {
  display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #5B6B7B;
}
.co-invite-step span {
  width: 28px; height: 28px; border-radius: 999px; background: #E4EAF1; color: #9AA7B4;
  display: grid; place-items: center; font-size: 13px;
}
.co-invite-step.is-active { color: #0C2A46; }
.co-invite-step.is-active span { background: #123A5C; color: #fff; }
.co-invite-step.is-done span { background: #5FA85D; color: #fff; }
.co-invite-stepper > i { color: #C4CFD9; }
.co-invite-no-seats {
  background: #FBE6E6; border: 1px solid #E8B4B4; border-radius: 24px;
  padding: 24px; text-align: center; margin-bottom: 24px;
}
.co-invite-no-seats > span {
  width: 48px; height: 48px; border-radius: 999px; background: #F5CCCC; color: #D14343;
  display: grid; place-items: center; font-size: 26px; margin: 0 auto 12px;
}
.co-invite-btn--danger { background: #D14343; }
.co-invite-btn--danger:hover { background: #B83838; }
.co-invite-method-grid {
  display: grid; grid-template-columns: 1fr; gap: 16px; margin-bottom: 24px;
}
@media (min-width: 640px) { .co-invite-method-grid { grid-template-columns: 1fr 1fr; } }
.co-invite-method-card {
  position: relative; text-align: start; border: 2px solid #E4EAF1; border-radius: 24px;
  background: #fff; padding: 20px; cursor: pointer; font: inherit; color: inherit;
  display: grid; gap: 8px; transition: border-color .2s, box-shadow .2s, transform .2s;
}
.co-invite-method-card:hover { border-color: #BFCEDD; box-shadow: 0 2px 8px rgba(12,42,70,.06); }
.co-invite-method-card.is-active {
  border-color: #123A5C; background: #EEF4F9;
  box-shadow: 0 4px 16px rgba(12,42,70,.1); transform: scale(1.01);
}
.co-invite-method-check {
  position: absolute; top: 12px; inset-inline-start: 12px;
  width: 20px; height: 20px; border-radius: 999px; background: #123A5C; color: #fff;
  display: none; place-items: center; font-size: 12px;
}
.co-invite-method-card.is-active .co-invite-method-check { display: grid; }
.co-invite-method-card .co-invite-method-ico {
  width: 48px; height: 48px; border-radius: 14px; background: #F5F8FB; color: #5B6B7B;
  display: grid; place-items: center; font-size: 22px; margin-bottom: 4px;
}
.co-invite-method-card.is-active .co-invite-method-ico { background: #123A5C; color: #fff; }
.co-invite-method-card strong { font-size: 15px; color: #0C2A46; }
.co-invite-method-card p { margin: 0; font-size: 13px; line-height: 1.5; color: #5B6B7B; }
.co-invite-method-card em {
  font-style: normal; font-size: 11px; color: #9AA7B4;
  background: #F5F8FB; border-radius: 999px; padding: 4px 10px; justify-self: start;
}
.co-invite-panel {
  background: #fff; border-radius: 24px; padding: 24px;
  box-shadow: 0 4px 20px rgba(12,42,70,.06); margin-bottom: 20px;
}
.co-invite-panel h3 { margin: 0 0 16px; font-size: 15px; color: #0C2A46; }
.co-invite-panel-hint { margin: -8px 0 16px; font-size: 13px; color: #9AA7B4; }

.co-page-head-actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
}
.co-invite-excel {
  background: #fff; border-radius: 24px; padding: 24px;
  box-shadow: 0 4px 20px rgba(12,42,70,.06); margin-bottom: 20px;
  border: 1px dashed #B7D0E3;
}
.co-invite-excel-head {
  display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px;
}
.co-invite-excel-ico {
  width: 44px; height: 44px; border-radius: 14px; flex-shrink: 0;
  display: grid; place-items: center; font-size: 22px;
  background: #E2F1DE; color: #3F8F3D;
}
.co-invite-excel-head h3 { margin: 0 0 6px; font-size: 15px; color: #0C2A46; }
.co-invite-excel-head p { margin: 0; font-size: 13px; line-height: 1.5; color: #5B6B7B; }
.co-invite-excel-actions { margin-bottom: 14px; }
.co-invite-excel-form {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
}
.co-invite-excel-file {
  flex: 1 1 220px; min-height: 48px; border-radius: 14px;
  border: 1px solid #E4EAF1; background: #F5F8FB; color: #5B6B7B;
  display: flex; align-items: center; padding: 0 14px; cursor: pointer;
  position: relative; overflow: hidden;
}
.co-invite-excel-file input[type="file"] {
  position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%;
}
.co-invite-excel-file span {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600;
  pointer-events: none;
}
.co-invite-excel-file:hover { border-color: #B7D0E3; }
.co-invite-excel-or {
  display: flex; align-items: center; gap: 12px; margin: 8px 0 24px; color: #9AA7B4; font-size: 13px;
}
.co-invite-excel-or::before,
.co-invite-excel-or::after {
  content: ''; flex: 1; height: 1px; background: #E4EAF1;
}
.co-invite-excel-or span { white-space: nowrap; }
.co-invite-import-errors {
  margin-top: 16px; padding: 14px 16px; border-radius: 14px;
  background: #FFF8E8; border: 1px solid #F0D9A0; color: #8A6A1F;
}
.co-invite-import-errors strong { display: block; margin-bottom: 8px; font-size: 13px; }
.co-invite-import-errors ul {
  margin: 0; padding-inline-start: 18px; font-size: 12px; line-height: 1.6;
}
.co-invite-spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.co-invite-spec-pill {
  height: 48px; padding: 0 12px; border-radius: 999px; border: 0;
  background: #F5F8FB; color: #5B6B7B; font-size: 13px; font-weight: 600;
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
}
.co-invite-spec-pill.is-active { background: #123A5C; color: #fff; box-shadow: 0 2px 6px rgba(12,42,70,.12); }
.co-field--icon { position: relative; }
.co-field--icon .co-field-icon {
  position: absolute;
  inset-inline-start: 14px;
  inset-inline-end: auto;
  top: 50%;
  transform: translateY(-50%);
  color: #9AA7B4;
  pointer-events: none;
  font-size: 18px;
  line-height: 1;
  font-weight: 400;
}
.co-field--icon input {
  padding-inline-start: 44px;
  padding-inline-end: 14px;
  height: 54px;
  font-size: 16px;
  border-radius: 14px;
}
.co-invite-error {
  margin-top: 12px;
  padding: 0;
  border-radius: 10px;
  background: transparent;
  color: #D14343;
  font-size: 13px;
  display: none;
  align-items: center;
  gap: 8px;
}
.co-invite-error:not([hidden]) {
  display: flex;
  padding: 12px;
  background: #FDF0F0;
}
.co-invite-error[hidden] {
  display: none !important;
}
.co-invite-link-row { display: flex; gap: 8px; flex-wrap: wrap; }
.co-invite-link-row output {
  flex: 1; min-width: 200px; min-height: 54px; padding: 0 16px;
  display: flex; align-items: center; border-radius: 14px;
  border: 1px solid #D3EDE7; background: #F5FAF7; font-size: 15px; word-break: break-all;
}
.co-invite-preview-head { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; color: #9AA7B4; }
.co-invite-preview-head h3 { margin: 0; color: #0C2A46; }
.co-invite-preview-card--light {
  background: #F5F8FB !important; color: #1F2D3D !important;
  border: 1px solid #E4EAF1; box-shadow: none !important;
}
.co-invite-preview-card--light .co-invite-preview-lead { color: #0C2A46 !important; }
.co-invite-preview-card--light .co-invite-preview-spec { color: #5B6B7B !important; }
.co-invite-preview-card--light .co-invite-preview-spec strong { color: #0C2A46 !important; }
.co-invite-preview-card--light .co-invite-preview-body { color: #5B6B7B !important; }
.co-invite-preview-card--light .co-invite-preview-cta {
  display: flex; width: 100%; height: 42px; border-radius: 999px;
  background: #123A5C !important; color: #fff !important; justify-content: center;
}
.co-invite-preview-route {
  margin: 10px 0 0;
  font-size: 11px;
  line-height: 1.5;
  color: #9AA7B4;
  word-break: break-all;
}
.co-invite-preview-card--light .co-invite-preview-brand span { color: #5B6B7B !important; }
.co-invite-success {
  background: #E2F1DE; border-radius: 24px; padding: 24px; text-align: center; margin-bottom: 20px;
}
.co-invite-success > span {
  width: 48px; height: 48px; border-radius: 999px; background: #5FA85D; color: #fff;
  display: grid; place-items: center; font-size: 24px; margin: 0 auto 12px;
}
.co-invite-submit-main { height: 54px; font-size: 16px; margin-top: 4px; }
#invite-submit[hidden] { display: none !important; }
.co-spin { animation: coSpin .8s linear infinite; }
@keyframes coSpin { to { transform: rotate(360deg); } }

/* —— candidates / compare / candidate-show (provider_new parity) —— */
@keyframes co-btn-slide-in {
  from { opacity: 0; transform: translateY(-8px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.co-compare-btn[hidden] { display: none !important; }
.co-compare-btn--in { animation: co-btn-slide-in 250ms ease-out; }
.co-cand-strength.is-empty { color: #C4CFD9; }

.co-icon-back {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #5B6B7B;
  text-decoration: none;
  flex: 0 0 auto;
}
.co-icon-back:hover { background: #F5F8FB; color: #123A5C; }
.co-icon-back i { font-size: 18px; }

.co-cand-show-title-row,
.co-compare-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.co-cand-show-title-row h1,
.co-compare-title-row h1 {
  margin: 0 !important;
}
.co-page-head--report { align-items: flex-start; }
.co-btn-outline--pill,
.co-invite-btn--pill {
  border-radius: 999px !important;
  height: 44px;
}
.co-btn-outline--pill {
  color: #5B6B7B !important;
  font-weight: 500;
}

.co-report-hero,
.co-insight-card,
.co-scenario-card--ready {
  border-radius: 24px !important;
}

.co-insight-card--strength {
  background: #E2F1DE;
  border: 1px solid rgba(95, 168, 93, 0.12);
  box-shadow: none;
}
.co-insight-card--growth {
  background: #D3EDE7;
  border: 1px solid rgba(11, 122, 102, 0.12);
  box-shadow: none;
}
.co-insight-score {
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.co-insight-score.tone-green { color: #5FA85D; }
.co-insight-score.tone-teal { color: #0B7A66; }
.co-insight-tip--growth {
  background: transparent;
  padding: 0;
  color: #0B7A66;
  font-weight: 500;
}
.co-insight-tip--growth i { color: #0B7A66; }

.co-scenario-score {
  font-size: 14px;
  font-weight: 700;
}
.co-scenario-score.tone-high { color: #5FA85D; }
.co-scenario-score.tone-mid { color: #E4A11B; }
.co-scenario-score.tone-low { color: #D14343; }
.co-scenario-block--answer {
  background: #F5F8FB;
  border-radius: 12px;
  padding: 16px;
}
.co-scenario-block--answer span {
  font-size: 12px;
  font-weight: 500;
  color: #9AA7B4;
  margin-bottom: 8px;
}
.co-scenario-better--model {
  background: #EEF4F9;
  border-inline-start: 2px solid #0B7A66;
  border-radius: 12px;
}
.co-scenario-better--model span {
  font-size: 12px;
  font-weight: 500;
  color: #0B7A66;
}

.co-compare-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.co-compare-head p { margin: 0; color: #5B6B7B; font-size: 14px; }
.co-compare-btn--export {
  height: 44px;
  padding: 0 16px;
  font-size: 14px;
  flex-shrink: 0;
}
.co-compare-btn--export i { font-size: 16px; }
.co-compare-alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  margin-bottom: 20px;
  border-radius: 12px;
  background: #FCF3E0;
  border: 1px solid rgba(228, 161, 27, 0.2);
  color: #1F2D3D;
}
.co-compare-alert i { color: #E4A11B; font-size: 18px; margin-top: 2px; }
.co-compare-alert strong { display: block; font-size: 14px; margin-bottom: 2px; }
.co-compare-alert span { font-size: 13px; color: #5B6B7B; }

.co-compare-matrix-wrap { overflow-x: auto; margin-bottom: 24px; }
.co-compare-matrix {
  min-width: 640px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 20px rgba(12, 42, 70, 0.06);
  overflow: hidden;
}
.co-compare-matrix-head,
.co-compare-matrix-row {
  display: flex;
  border-bottom: 1px solid #E4EAF1;
}
.co-compare-matrix-row--last { border-bottom: 0; }
.co-compare-matrix-head {
  border-radius: 16px 16px 0 0;
}
.co-compare-matrix-label {
  width: 200px;
  flex: 0 0 200px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #1F2D3D;
}
.co-compare-matrix-head .co-compare-matrix-label {
  font-size: 12px;
  font-weight: 500;
  color: #9AA7B4;
}
.co-compare-matrix-label i {
  color: #7FA6C4;
  font-size: 15px;
}
.co-compare-matrix-label i.tone-green { color: #5FA85D; }
.co-compare-matrix-label i.tone-teal { color: #0B7A66; }
.co-compare-matrix-col {
  flex: 1;
  min-width: 0;
  padding: 14px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.co-compare-matrix-head .co-compare-matrix-col {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  padding: 16px;
}
.co-compare-matrix-head .co-compare-matrix-col strong {
  font-size: 14px;
  font-weight: 600;
  color: #0C2A46;
}
.co-compare-bar-track {
  flex: 1;
  height: 10px;
  background: #F0F3F7;
  border-radius: 999px;
  overflow: hidden;
  min-width: 40px;
}
.co-compare-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: #7FA6C4;
  transition: width 800ms ease-out;
}
.co-compare-bar-fill.is-best { background: #5FA85D; }
.co-compare-bar-val {
  font-size: 13px;
  font-weight: 600;
  color: #0C2A46;
  min-width: 30px;
  font-variant-numeric: tabular-nums;
}
.co-compare-bar-val.is-best { color: #5FA85D; }
.co-compare-best-star {
  color: #5FA85D;
  font-size: 12px;
  flex: 0 0 auto;
}
.co-compare-matrix-col--center { justify-content: center; }
.co-compare-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  white-space: normal;
  text-align: center;
}
.co-compare-tag--green { background: #E2F1DE; color: #5FA85D; }
.co-compare-tag--teal { background: #D3EDE7; color: #0B7A66; }
.co-compare-spec { font-size: 13px; color: #5B6B7B; text-align: center; }

.co-compare-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.co-compare-foot-btn {
  flex: 1;
  min-width: 180px;
  height: 48px;
  border-radius: 999px;
  background: #EEF4F9;
  color: #123A5C !important;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  white-space: nowrap;
}
.co-compare-foot-btn:hover { background: #DCE8F2; color: #123A5C !important; }

/* Scenario bank (provider_new scenarios) */
.co-scenarios-hero {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 16px 18px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #fff;
  background: linear-gradient(135deg, #071E32 0%, #123A5C 55%, #0B7A66 100%);
}
.co-scenarios-hero i { color: #D3EDE7; font-size: 18px; flex-shrink: 0; }
.co-scenarios-controls { display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; }
.co-scenarios-search { max-width: 480px; }
.co-scenarios-filter-label {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  color: #9AA7B4;
}
.co-scenarios-filter-block .co-pill i { font-size: 14px; }
.co-pill-clear { background: #FBE6E6 !important; color: #D14343 !important; border-color: #F0B0B0 !important; }
.co-scenarios-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: #5B6B7B;
}
.co-scenarios-stats span { display: inline-flex; align-items: center; gap: 6px; }
.co-scenarios-stats .ri-checkbox-circle-fill { color: #5FA85D; }
.co-scenarios-stats .ri-pause-circle-fill { color: #9AA7B4; }
.co-scenarios-stats .ri-building-2-fill { color: #123A5C; }

.co-scenario-bank-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 16px;
}
@media (min-width: 768px) {
  .co-scenario-bank-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1280px) {
  .co-scenario-bank-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.co-scenario-bank-card {
  background: #fff;
  border: 1px solid #E4EAF1;
  border-radius: 24px;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(12, 42, 70, 0.04);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: box-shadow 0.25s, border-color 0.25s, transform 0.25s;
}
.co-scenario-bank-card.is-search-hidden,
.co-scenario-bank-card[hidden] {
  display: none !important;
}
.co-scenario-bank-grid.is-search-empty {
  display: none !important;
}
.co-scenario-bank-card:hover {
  border-color: #ADBCCB;
  box-shadow: 0 6px 24px rgba(12, 42, 70, 0.08);
  transform: translateY(-2px);
}
.co-scenario-bank-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.co-level-pill {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
}
.co-level-pill.tone-beginner { background: #E2F1DE; color: #5FA85D; }
.co-level-pill.tone-mid { background: #FCF3E0; color: #D3931B; }
.co-level-pill.tone-advanced { background: #FBE6E6; color: #D14343; }
.co-scenario-q-count {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: #EEF4F9;
  color: #2C6491;
}
.co-scenario-bank-card h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #0C2A46;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.co-scenario-bank-excerpt {
  margin: 0;
  flex: 1;
  font-size: 13px;
  line-height: 1.6;
  color: #5B6B7B;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.co-scenario-bank-spec {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #7FA6C4;
}
.co-scenario-bank-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  margin-top: 4px;
  border-top: 1px solid #E4EAF1;
}
.co-scenario-bank-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #9AA7B4;
}
.co-scenario-bank-meta > span { display: inline-flex; align-items: center; gap: 4px; }
.co-scenario-source {
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 600;
}
.co-scenario-source.is-default { background: #D3EDE7; color: #06614F; }
.co-scenario-source.is-company { background: #EEF4F9; color: #123A5C; }
.co-scenario-status.is-on { background: #E2F1DE; color: #5FA85D; padding: 2px 8px; border-radius: 999px; font-weight: 600; }
.co-scenario-status.is-off { background: #E4EAF1; color: #9AA7B4; padding: 2px 8px; border-radius: 999px; font-weight: 600; }
.co-scenario-bank-actions { display: flex; align-items: center; gap: 2px; }

.co-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 80;
}
.co-modal.co-scenario-preview {
  position: fixed;
  z-index: 81;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(680px, calc(100vw - 32px));
  max-height: 88vh;
  overflow: auto;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 24px 48px rgba(12, 42, 70, 0.18);
}
.co-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 24px 24px 0;
}
.co-modal-head h3 { margin: 0; font-size: 22px; font-weight: 600; color: #0C2A46; }
.co-modal-body { padding: 20px 24px 24px; }
.co-scenario-preview-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.co-scenario-preview-title { margin: 0 0 16px; font-size: 18px; font-weight: 600; color: #0C2A46; }
.co-scenario-preview-context {
  background: linear-gradient(to left, #F5F8FB, #EEF4F9);
  border-inline-start: 3px solid #0B7A66;
  border-radius: 14px;
  padding: 16px 18px;
  font-size: 14px;
  line-height: 1.9;
  color: #1F2D3D;
  margin-bottom: 20px;
}
.co-scenario-preview-qhead { margin: 0 0 12px; font-size: 14px; font-weight: 600; color: #0C2A46; }
.co-scenario-preview-q {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  background: #F5F8FB;
  border: 1px solid #EEF4F9;
  border-radius: 12px;
}
.co-scenario-preview-q > span {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #D3EDE7;
  color: #0B7A66;
  font-size: 12px;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.co-scenario-preview-q p { margin: 0; font-size: 14px; line-height: 1.7; color: #1F2D3D; }
.co-scenario-preview-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #E4EAF1;
  font-size: 13px;
  color: #9AA7B4;
}
.co-scenario-preview-foot span { display: inline-flex; align-items: center; gap: 6px; }

/* Assessment settings (provider_new) */
.co-assessment-page .co-body { padding-bottom: 120px; }
.co-page-head--compact { margin-bottom: 20px; }
.co-assessment-scope {
  max-width: 640px;
  background: #EEF4F9;
  border-radius: 12px;
  padding: 10px 16px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #2C6491;
}
.co-assessment-scope i { font-size: 16px; flex-shrink: 0; }
.co-assessment-stack {
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.co-assessment-card {
  background: #fff;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(12, 42, 70, 0.06);
}
.co-assessment-card h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 600;
  color: #0C2A46;
}
.co-assessment-card-lead {
  margin: 0 0 20px;
  font-size: 13px;
  color: #9AA7B4;
}
.co-stepper {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #F5F8FB;
  border-radius: 14px;
  padding: 6px;
}
.co-stepper-btn {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #5B6B7B;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 18px;
  padding: 0;
}
.co-stepper-btn:hover { background: #fff; color: #0C2A46; }
.co-stepper-val { text-align: center; min-width: 72px; padding: 0 8px; }
.co-stepper-val strong {
  display: block;
  font-size: 32px;
  font-weight: 700;
  color: #0C2A46;
  line-height: 1.1;
}
.co-stepper-val span { font-size: 11px; color: #9AA7B4; }
.co-assessment-tip {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(211, 237, 231, 0.5);
}
.co-assessment-tip i { color: #06614F; font-size: 16px; margin-top: 2px; }
.co-assessment-tip p { margin: 0; font-size: 13px; line-height: 1.7; color: #06614F; }
.co-segment {
  display: inline-flex;
  background: #F5F8FB;
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
}
.co-segment-opt { margin: 0; cursor: pointer; }
.co-segment-opt input { position: absolute; opacity: 0; pointer-events: none; }
.co-segment-opt span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: #5B6B7B;
  transition: background 0.2s, color 0.2s;
}
.co-segment-opt input:checked + span {
  background: #123A5C;
  color: #fff;
  box-shadow: 0 2px 8px rgba(18, 58, 92, 0.15);
}
.co-assessment-privacy {
  background: #EEF4F9;
  border-radius: 24px;
  padding: 24px;
}
.co-assessment-privacy-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}
.co-assessment-privacy-ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #D3EDE7;
  color: #0B7A66;
  display: grid;
  place-items: center;
  font-size: 18px;
  flex-shrink: 0;
}
.co-assessment-privacy-head h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 600;
  color: #0C2A46;
}
.co-assessment-locked-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  background: #D3EDE7;
  color: #0B7A66;
}
.co-assessment-privacy > p {
  margin: 0;
  padding-inline-start: 48px;
  font-size: 14px;
  line-height: 1.8;
  color: #5B6B7B;
}
.co-assessment-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: #fff;
  border-top: 1px solid #E4EAF1;
  padding: 16px 24px;
}
@media (min-width: 1024px) {
  .co-assessment-bar { right: 260px; }
}
.co-assessment-bar-inner {
  max-width: 640px;
  margin-inline-start: auto;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* Provider auth (provider_new alignment) */
body.auth-layout.co-auth {
  background: #F5F8FB;
  color: #1F2D3D;
}

body.auth-layout.co-auth .co-auth-page {
  min-height: 100vh;
  display: flex;
  flex-direction: row-reverse;
  background: #F5F8FB;
}

body.auth-layout.co-auth .co-auth-aside {
  display: none;
  width: 45%;
  flex-shrink: 0;
  background: #071E32;
  color: #fff;
  position: relative;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  padding: 48px;
}

@media (min-width: 1024px) {
  body.auth-layout.co-auth .co-auth-aside { display: flex; }
}

body.auth-layout.co-auth .co-auth-aside-decor {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  pointer-events: none;
}

body.auth-layout.co-auth .co-auth-aside-decor span {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

body.auth-layout.co-auth .co-auth-aside-decor span:nth-child(1) {
  top: -10%;
  right: -10%;
  width: 300px;
  height: 300px;
}

body.auth-layout.co-auth .co-auth-aside-decor span:nth-child(2) {
  bottom: 10%;
  left: 5%;
  width: 200px;
  height: 200px;
  border-color: rgba(255, 255, 255, 0.1);
}

body.auth-layout.co-auth .co-auth-aside-decor span:nth-child(3) {
  top: 40%;
  left: 20%;
  width: 120px;
  height: 120px;
  border-color: rgba(255, 255, 255, 0.1);
}

body.auth-layout.co-auth .co-auth-aside-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 320px;
}

body.auth-layout.co-auth .co-auth-aside-logo {
  width: 120px;
  height: 120px;
  margin: 0 auto 32px;
}

body.auth-layout.co-auth .co-auth-aside-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

body.auth-layout.co-auth .co-auth-aside-title {
  margin: 0 0 16px;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}

body.auth-layout.co-auth .co-auth-aside-lead {
  margin: 0 0 40px;
  font-size: 16px;
  line-height: 1.7;
  color: #7FA6C4;
}

body.auth-layout.co-auth .co-auth-aside-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: start;
}

body.auth-layout.co-auth .co-auth-aside-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: #DCE8F2;
}

body.auth-layout.co-auth .co-auth-aside-check {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #0B7A66;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

body.auth-layout.co-auth .co-auth-aside-check i {
  font-size: 16px;
  color: #fff;
}

body.auth-layout.co-auth .co-auth-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

@media (min-width: 1024px) {
  body.auth-layout.co-auth .co-auth-main { padding: 48px; }
}

body.auth-layout.co-auth .co-auth-card {
  width: 100%;
  max-width: 520px;
  background: #fff;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(12, 42, 70, 0.06);
  animation: co-auth-fade-rise 300ms ease-out both;
}

@media (min-width: 768px) {
  body.auth-layout.co-auth .co-auth-card { padding: 40px; }
}

body.auth-layout.co-auth .co-auth-card--center {
  text-align: center;
}

body.auth-layout.co-auth .co-auth-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

body.auth-layout.co-auth .co-auth-card-top--end {
  justify-content: flex-end;
}

body.auth-layout.co-auth .co-auth-back {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid #E4EAF1;
  color: #5B6B7B;
  transition: 150ms ease;
}

body.auth-layout.co-auth .co-auth-back:hover {
  background: #EEF4F9;
  color: #0C2A46;
}

body.auth-layout.co-auth .co-auth-step-icon {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: #D3EDE7;
  color: #0B7A66;
  display: grid;
  place-items: center;
  font-size: 26px;
  margin-bottom: 20px;
}

body.auth-layout.co-auth .co-auth-card--center .co-auth-step-icon {
  margin-inline: auto;
}

body.auth-layout.co-auth .co-auth-head h2 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 600;
  color: #0C2A46;
}

body.auth-layout.co-auth .co-auth-head p {
  margin: 0 0 32px;
  font-size: 14px;
  line-height: 1.6;
  color: #5B6B7B;
}

body.auth-layout.co-auth .co-auth-head--center p {
  margin-bottom: 24px;
}

body.auth-layout.co-auth .co-auth-otp-email {
  font-weight: 600;
  color: #1F2D3D;
}

body.auth-layout.co-auth .co-auth-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

body.auth-layout.co-auth .co-auth-form--center {
  align-items: stretch;
}

body.auth-layout.co-auth .co-auth-field label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #1F2D3D;
}

body.auth-layout.co-auth .co-auth-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

body.auth-layout.co-auth .co-auth-label-row a {
  font-size: 13px;
  font-weight: 400;
  color: #0B7A66;
}

body.auth-layout.co-auth .co-auth-label-row a:hover {
  text-decoration: underline;
}

body.auth-layout.co-auth .co-auth-forgot {
  display: block;
  margin-top: 10px;
  text-align: left;
  font-size: 13px;
  font-weight: 400;
  color: #0B7A66;
}

body.auth-layout.co-auth .co-auth-forgot:hover {
  text-decoration: underline;
}

body.auth-layout.co-auth .co-auth-field input {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid #E4EAF1;
  background: #fff;
  color: #1F2D3D;
  font-size: 16px;
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

body.auth-layout.co-auth .co-auth-field input::placeholder {
  color: #9AA7B4;
}

body.auth-layout.co-auth .co-auth-field input:focus {
  border-color: #0B7A66;
  box-shadow: 0 0 0 3px #D3EDE7;
}

body.auth-layout.co-auth .co-auth-input-wrap {
  position: relative;
}

body.auth-layout.co-auth .co-auth-input-wrap input {
  padding-inline-start: 16px;
  padding-inline-end: 16px;
}

body.auth-layout.co-auth .co-auth-input-wrap--pass input {
  padding-left: 48px;
  padding-right: 16px;
}

body.auth-layout.co-auth .co-auth-input-wrap .toggle-pass {
  position: absolute;
  left: 12px;
  right: auto;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: #9AA7B4;
  display: grid;
  place-items: center;
  cursor: pointer;
}

body.auth-layout.co-auth .co-auth-input-wrap .toggle-pass:hover {
  color: #1F2D3D;
}

body.auth-layout.co-auth .co-auth-hint {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #9AA7B4;
  line-height: 1.5;
}

body.auth-layout.co-auth .co-auth-error {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  color: #D14343;
}

body.auth-layout.co-auth .co-auth-error[hidden] {
  display: none !important;
}

body.auth-layout.co-auth .co-auth-field.is-invalid input,
body.auth-layout.co-auth .co-auth-field.is-invalid .co-auth-input-wrap input {
  border-color: #D14343;
  box-shadow: 0 0 0 3px rgba(209, 67, 67, 0.12);
}

body.auth-layout.co-auth .co-auth-field.is-invalid input:focus,
body.auth-layout.co-auth .co-auth-field.is-invalid .co-auth-input-wrap input:focus {
  border-color: #D14343;
  box-shadow: 0 0 0 3px rgba(209, 67, 67, 0.18);
}

body.auth-layout.co-auth .co-auth-submit {
  width: 100%;
  height: 52px;
  margin-top: 8px;
  border: 0;
  border-radius: 999px;
  background: #123A5C;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background 150ms ease, opacity 150ms ease;
}

body.auth-layout.co-auth .co-auth-submit:hover {
  background: #1B4E76;
}

body.auth-layout.co-auth .co-auth-submit:active {
  background: #0C2A46;
}

body.auth-layout.co-auth .co-auth-switch {
  margin: 28px 0 0;
  text-align: center;
  font-size: 14px;
  color: #5B6B7B;
}

body.auth-layout.co-auth .co-auth-switch a {
  color: #0B7A66;
  font-weight: 500;
}

body.auth-layout.co-auth .co-auth-switch a:hover {
  text-decoration: underline;
}

body.auth-layout.co-auth .co-auth-muted-link {
  margin: 16px 0 0;
  text-align: center;
  font-size: 14px;
}

body.auth-layout.co-auth .co-auth-muted-link a {
  color: #9AA7B4;
}

body.auth-layout.co-auth .co-auth-muted-link a:hover {
  color: #5B6B7B;
}

body.auth-layout.co-auth .co-auth-otp-boxes {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 8px;
}

body.auth-layout.co-auth .co-auth-otp-boxes input {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  border: 2px solid #E4EAF1;
  background: #fff;
  color: #0C2A46;
  text-align: center;
  font-size: 22px;
  font-weight: 600;
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

body.auth-layout.co-auth .co-auth-otp-boxes input:focus,
body.auth-layout.co-auth .co-auth-otp-boxes input.is-filled {
  border-color: #0B7A66;
  box-shadow: 0 0 0 3px #D3EDE7;
}

@keyframes co-auth-fade-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Messages tab (Ready inbox demo) */
.co-notif-count-badge--sm {
  min-width: 22px;
  height: 22px;
  font-size: 12px;
}
.co-msg-inbox {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: stretch;
}
@media (min-width: 1024px) {
  .co-msg-inbox {
    flex-direction: row;
    align-items: flex-start;
  }
}
.co-msg-list-panel {
  width: 100%;
  flex-shrink: 0;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 20px rgba(12, 42, 70, 0.06);
  overflow: hidden;
}
@media (min-width: 1024px) {
  .co-msg-list-panel { width: 340px; }
}
.co-msg-inbox--mobile-thread .co-msg-list-panel { display: none; }
@media (min-width: 1024px) {
  .co-msg-inbox--mobile-thread .co-msg-list-panel { display: flex; flex-direction: column; }
}
.co-msg-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid #E4EAF1;
}
.co-msg-list-title {
  display: flex;
  align-items: center;
  gap: 10px;
}
.co-msg-list-title h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #0C2A46;
}
.co-msg-icon-btn {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #9AA7B4;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 18px;
}
label.co-msg-icon-btn { margin: 0; }
.co-msg-attach input { display: none; }
.co-msg-icon-btn:hover:not(:disabled) {
  background: #F5F8FB;
  color: #5B6B7B;
}
.co-msg-icon-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.co-msg-list {
  max-height: 70vh;
  overflow-y: auto;
}
.co-msg-list-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid #E4EAF1;
  text-decoration: none;
  color: inherit;
  transition: background 150ms ease;
}
.co-msg-list-item:last-child { border-bottom: 0; }
.co-msg-list-item:hover { background: #F5F8FB; }
.co-msg-list-item.is-active { background: #F5FAFF; }
.co-msg-avatar {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
  color: #123A5C;
}
.co-msg-list-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.co-msg-list-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.co-msg-list-top strong {
  font-size: 14px;
  font-weight: 600;
  color: #0C2A46;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.co-msg-list-top small {
  font-size: 11px;
  color: #9AA7B4;
  flex-shrink: 0;
}
.co-msg-list-preview {
  font-size: 12px;
  color: #9AA7B4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.co-msg-list-preview.is-bold {
  color: #5B6B7B;
  font-weight: 500;
}
.co-msg-unread-pill {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: #D14343;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 4px;
}
.co-msg-thread {
  flex: 1;
  min-width: 0;
  min-height: 70vh;
  display: none;
  flex-direction: column;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 20px rgba(12, 42, 70, 0.06);
  overflow: hidden;
}
@media (min-width: 1024px) {
  .co-msg-inbox .co-msg-thread { display: flex; }
}
.co-msg-inbox--mobile-thread .co-msg-thread { display: flex; }
.co-msg-thread-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid #E4EAF1;
}
.co-msg-back {
  display: none;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #5B6B7B;
  place-items: center;
  cursor: pointer;
  font-size: 20px;
}
@media (max-width: 1023px) {
  .co-msg-back { display: grid; }
}
.co-msg-thread-meta {
  flex: 1;
  min-width: 0;
}
.co-msg-thread-meta strong {
  display: block;
  font-size: 15px;
  color: #0C2A46;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.co-msg-thread-meta span {
  display: block;
  font-size: 12px;
  color: #9AA7B4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.co-msg-thread-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #FBFCFE;
}
.co-msg-bubble-row { display: flex; }
.co-msg-bubble-row.is-out { justify-content: flex-start; }
.co-msg-bubble-row.is-in { justify-content: flex-end; }
.co-msg-bubble {
  max-width: 75%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.6;
}
.co-msg-bubble-row.is-out .co-msg-bubble {
  background: #123A5C;
  color: #fff;
  border-top-right-radius: 4px;
}
.co-msg-bubble-row.is-in .co-msg-bubble {
  background: #fff;
  color: #1F2D3D;
  border: 1px solid #E4EAF1;
  border-top-left-radius: 4px;
}
.co-msg-bubble p { margin: 0; }
.co-msg-bubble time {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  opacity: 0.65;
}
.co-msg-compose {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid #E4EAF1;
}
.co-msg-compose textarea {
  flex: 1;
  min-height: 44px;
  max-height: 120px;
  resize: none;
  padding: 12px 16px;
  border-radius: 16px;
  border: 1px solid #E4EAF1;
  font: inherit;
  font-size: 14px;
  color: #1F2D3D;
  outline: none;
}
.co-msg-compose textarea:focus {
  border-color: #0B7A66;
  box-shadow: 0 0 0 3px #D3EDE7;
}
.co-msg-send {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: #123A5C;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 20px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 150ms ease, transform 100ms ease, opacity 150ms ease;
}
.co-msg-send:hover:not(:disabled) { background: #1B4E76; }
.co-msg-send:active:not(:disabled) { transform: scale(0.95); }
.co-msg-send:disabled { opacity: 0.4; cursor: not-allowed; }

/* AJAX toasts (shared with website/js/app.js) */
#app-toasts {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
  width: min(420px, calc(100vw - 32px));
}
html[dir="rtl"] #app-toasts { left: auto; right: 50%; transform: translateX(50%); }
.app-toast {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #E4EAF1;
  box-shadow: 0 8px 24px rgba(18, 58, 92, 0.12);
  font-size: 14px;
  line-height: 1.45;
  color: #1F2D3D;
  pointer-events: auto;
}
.app-toast i { font-size: 18px; margin-top: 2px; flex-shrink: 0; }
.app-toast-success { border-color: rgba(95, 190, 70, 0.35); }
.app-toast-success i { color: #5FBE46; }
.app-toast-error { border-color: rgba(255, 107, 107, 0.35); }
.app-toast-error i { color: #FF6B6B; }
.app-toast.is-out { opacity: 0; transform: translateY(-8px); transition: 0.25s ease; }

/* Scenario add page (Ready parity) */
.co-scenario-add {
  max-width: 900px;
  margin: 0 auto;
}
.co-scenario-add-card {
  background: #fff;
  border: 1px solid #E4EAF1;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 20px;
}
.co-scenario-add-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #0C2A46;
  margin-bottom: 4px;
}
.co-scenario-add-label em { color: #D14343; font-style: normal; }
.co-scenario-add-hint {
  display: block;
  font-size: 13px;
  color: #9AA7B4;
  margin-bottom: 10px;
  line-height: 1.45;
}
.co-scenario-add-field { display: block; }
.co-scenario-add-input,
.co-scenario-add-textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 16px;
  border-radius: 12px;
  border: 1px solid #E4EAF1;
  background: #fff;
  color: #1F2D3D;
  outline: none;
  font: inherit;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.co-scenario-add-input:focus,
.co-scenario-add-textarea:focus {
  border-color: #0B7A66;
  box-shadow: 0 0 0 3px #D3EDE7;
}
.co-scenario-add-input.is-invalid,
.co-scenario-add-textarea.is-invalid { border-color: #D14343; }
.co-scenario-add-textarea { resize: vertical; min-height: 160px; }
.co-scenario-add-counter {
  display: block;
  text-align: left;
  font-size: 12px;
  color: #9AA7B4;
  margin-top: 6px;
}
html[dir="rtl"] .co-scenario-add-counter { text-align: right; }
.co-scenario-add-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 768px) {
  .co-scenario-add-split { grid-template-columns: 1fr; }
}
.co-scenario-add-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.co-scenario-add-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid #E4EAF1;
  border-radius: 12px;
  cursor: pointer;
  font-size: 14px;
  color: #1F2D3D;
  transition: border-color 150ms ease, background 150ms ease;
}
.co-scenario-add-option:has(input:checked) {
  border-color: #0B7A66;
  background: #F4FBF9;
}
.co-scenario-add-option input { accent-color: #0B7A66; }
.co-scenario-add-levels {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.co-scenario-add-level {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid #E4EAF1;
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease;
}
.co-scenario-add-level input { position: absolute; opacity: 0; pointer-events: none; }
.co-scenario-add-level:has(input:checked) {
  border-color: #123A5C;
  background: #EEF4F9;
  box-shadow: 0 0 0 1px #123A5C;
}
.co-scenario-add-level:has(input:checked) strong { color: #123A5C; }
.co-scenario-add-level-ico {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 16px;
  flex-shrink: 0;
}
.co-scenario-add-level--beginner .co-scenario-add-level-ico {
  background: #E2F1DE;
  color: #5FA85D;
}
.co-scenario-add-level--mid .co-scenario-add-level-ico {
  background: #FCF3E0;
  color: #D3931B;
}
.co-scenario-add-level--advanced .co-scenario-add-level-ico {
  background: #FBE6E6;
  color: #D14343;
}
.co-scenario-add-level strong { display: block; font-size: 14px; color: #1F2D3D; }
.co-scenario-add-level small { display: block; font-size: 12px; color: #9AA7B4; margin-top: 2px; line-height: 1.4; }
.co-scenario-add-questions-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.co-scenario-add-q-add {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 0;
  background: #EEF4F9;
  color: #123A5C;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 150ms ease;
}
.co-scenario-add-q-add:hover { background: #DCE8F2; }
.co-scenario-add-q-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.co-scenario-add-q-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.co-scenario-add-q-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #F5F8FB;
  border: 1px solid #EEF4F9;
  border-radius: 14px;
  transition: border-color 150ms ease;
}
.co-scenario-add-q-row:hover { border-color: #DCE8F2; }
.co-scenario-add-q-row.is-invalid { border-color: #D14343; box-shadow: 0 0 0 1px #D14343; }
.co-scenario-add-q-row input {
  flex: 1;
  min-width: 0;
  width: auto;
  padding: 4px 0;
  font-size: 14px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #1F2D3D;
  outline: none;
  font: inherit;
}
.co-scenario-add-q-row input::placeholder { color: #9AA7B4; }
.co-scenario-add-q-row input:focus {
  box-shadow: none;
}
.co-scenario-add-q-item .co-scenario-add-q-error {
  margin: 0;
  padding-top: 0;
}
.co-scenario-add-error:not([hidden]) {
  display: block;
  margin-top: 8px;
}
.co-scenario-add-options.is-invalid,
.co-scenario-add-levels.is-invalid {
  border-color: #D14343;
  box-shadow: 0 0 0 1px #D14343;
}
.co-scenario-add-q-num {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #E4EAF1;
  color: #2C6491;
  font-size: 13px;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.co-scenario-add-q-remove {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #9AA7B4;
  cursor: pointer;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-size: 14px;
  transition: color 150ms ease, background 150ms ease;
}
.co-scenario-add-q-remove:hover { color: #D14343; background: #FBE6E6; }
.co-scenario-add-stepper {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}
.co-scenario-add-stepper button {
  width: 36px;
  height: 36px;
  border: 1px solid #E4EAF1;
  border-radius: 10px;
  background: #fff;
  font-size: 18px;
  cursor: pointer;
  color: #123A5C;
}
.co-scenario-add-stepper button:hover { border-color: #0B7A66; }
.co-scenario-add-stepper-value {
  width: 48px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #E4EAF1;
  border-radius: 10px;
  background: #F7FAFC;
  flex-shrink: 0;
}
.co-scenario-add-stepper input {
  width: 100%;
  height: 100%;
  min-width: 0;
  border: 0;
  padding: 0;
  margin: 0;
  text-align: center;
  direction: ltr;
  font-weight: 700;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
  background: transparent;
  color: #1F2D3D;
  -moz-appearance: textfield;
  appearance: textfield;
}
.co-scenario-add-stepper input::-webkit-outer-spin-button,
.co-scenario-add-stepper input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.co-scenario-add-stepper > span { font-size: 14px; color: #5B6B7B; }
.co-scenario-add-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: nowrap;
  margin-top: 8px;
  padding-top: 24px;
  border-top: 1px solid #E4EAF1;
}
.co-scenario-add-cancel {
  flex-shrink: 0;
  height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 500;
}
.co-scenario-add-submit {
  flex: 1;
  min-width: 0;
  width: auto;
  height: 52px;
  border-radius: 999px;
  font-size: 16px;
  justify-content: center;
}
.co-scenario-add-tips {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 14px;
  background: #FFFBEB;
  border: 1px solid #F5E6B8;
  color: #5B6B7B;
  font-size: 13px;
  line-height: 1.5;
}
.co-scenario-add-tips > i {
  font-size: 22px;
  color: #D4A017;
  flex-shrink: 0;
  margin-top: 2px;
}
.co-scenario-add-tips strong {
  display: block;
  color: #0C2A46;
  margin-bottom: 8px;
  font-size: 14px;
}
.co-scenario-add-tips ul {
  margin: 0;
  padding: 0 18px 0 0;
  list-style: disc;
}
html[dir="ltr"] .co-scenario-add-tips ul { padding: 0 0 0 18px; }
.co-scenario-add-tips li { margin-bottom: 4px; }

/* ── Signup plan picker (Ready PackagesScreen) ── */
body.co-pkg-page {
  background: #F5F8FB;
  min-height: 100vh;
}
.co-pkg-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 16px 48px;
}
.co-pkg-shell.has-top-alert {
  padding-top: 88px;
}
.co-pkg-top-alert {
  position: fixed !important;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 1080px;
  z-index: 80;
  margin: 0 !important;
  box-shadow: 0 10px 28px rgba(12, 42, 70, 0.12);
}
.co-pkg-wrap {
  width: 100%;
  max-width: 1080px;
  padding-top: 32px;
}
.co-pkg-head {
  text-align: center;
  margin-bottom: 40px;
}
.co-pkg-head h1 {
  margin: 0 0 12px;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  color: #0C2A46;
}
.co-pkg-head p {
  margin: 0;
  font-size: 16px;
  color: #5B6B7B;
}
.co-pkg-period {
  position: relative;
  display: inline-flex;
  margin: 0 auto 40px;
  padding: 4px;
  background: #fff;
  border: 1px solid #E4EAF1;
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(12,42,70,.04);
  left: 50%;
  transform: translateX(-50%);
}
.co-pkg-period-pill {
  position: absolute;
  top: 4px;
  right: 4px;
  width: calc(50% - 4px);
  height: calc(100% - 8px);
  background: #123A5C;
  border-radius: 999px;
  transition: inset-inline-start .2s ease, right .2s ease, left .2s ease;
}
.co-pkg-period.is-annual .co-pkg-period-pill {
  right: auto;
  left: 4px;
}
html[dir="ltr"] .co-pkg-period-pill {
  right: auto;
  left: 4px;
}
html[dir="ltr"] .co-pkg-period.is-annual .co-pkg-period-pill {
  left: auto;
  right: 4px;
}
.co-pkg-period-btn {
  position: relative;
  z-index: 1;
  border: 0;
  background: transparent;
  padding: 10px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: #5B6B7B;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.co-pkg-period-btn.is-active { color: #fff; }
.co-pkg-period-save {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: #0B7A66;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}
.co-pkg-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
@media (max-width: 900px) {
  .co-pkg-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
}
.co-pkg-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-radius: 24px;
  background: #fff;
  border: 2px solid transparent;
  box-shadow: 0 4px 20px rgba(12,42,70,.06);
  cursor: pointer;
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.co-pkg-card:hover { border-color: #7FA6C4; }
.co-pkg-card.is-selected {
  border-color: #123A5C;
  box-shadow: 0 8px 30px rgba(12,42,70,.12);
  transform: scale(1.02);
}
.co-pkg-card.is-hot {
  background: #123A5C;
  border-color: #1B4E76;
  box-shadow: 0 4px 20px rgba(12,42,70,.12);
}
.co-pkg-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 16px;
  border-radius: 999px;
  background: #0B7A66;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.co-pkg-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.co-pkg-card-top h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #0C2A46;
}
.co-pkg-card-top p {
  margin: 2px 0 0;
  font-size: 13px;
  color: #5B6B7B;
}
.co-pkg-card.is-hot .co-pkg-card-top h3 { color: #fff; }
.co-pkg-card.is-hot .co-pkg-card-top p { color: rgba(255,255,255,.7); }
.co-pkg-ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #EEF4F9;
  color: #2C6491;
  flex-shrink: 0;
}
.co-pkg-card.is-hot .co-pkg-ico {
  background: rgba(255,255,255,.15);
  color: #fff;
}
.co-pkg-check {
  margin-inline-start: auto;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #0B7A66;
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.co-pkg-card.is-selected .co-pkg-check { display: inline-flex; }
.co-pkg-price {
  text-align: center;
  padding: 16px 12px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: #F5F8FB;
}
.co-pkg-card.is-hot .co-pkg-price { background: rgba(255,255,255,.1); }
.co-pkg-price-dash {
  display: block;
  font-size: 32px;
  font-weight: 700;
  color: #0C2A46;
  line-height: 1.1;
}
.co-pkg-price-amount {
  display: block;
  font-size: 32px;
  font-weight: 700;
  color: #0C2A46;
  line-height: 1.15;
}
.co-pkg-price-amount small {
  font-size: 14px;
  font-weight: 600;
  color: #5B6B7B;
  margin-inline-start: 4px;
}
.co-pkg-card.is-hot .co-pkg-price-dash,
.co-pkg-card.is-hot .co-pkg-price-amount { color: #fff; }
.co-pkg-card.is-hot .co-pkg-price-amount small { color: rgba(255,255,255,.7); }
.co-pkg-price p {
  margin: 4px 0 0;
  font-size: 12px;
  color: #9AA7B4;
}
.co-pkg-card.is-hot .co-pkg-price p { color: rgba(255,255,255,.6); }
.co-pkg-feats {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.co-pkg-feats li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: #1F2D3D;
}
.co-pkg-card.is-hot .co-pkg-feats li { color: rgba(255,255,255,.9); }
.co-pkg-feat-check {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #E2F1DE;
  color: #5FA85D;
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 11px;
}
.co-pkg-card.is-hot .co-pkg-feat-check {
  background: rgba(255,255,255,.2);
  color: #fff;
}
.co-pkg-actions {
  display: grid;
  gap: 8px;
  margin-top: auto;
}
.co-pkg-cta {
  width: 100%;
  height: 48px;
  border-radius: 999px;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  background: #EEF4F9;
  color: #123A5C;
  transition: background .2s ease, color .2s ease;
  text-decoration: none;
}
.co-pkg-cta:hover { background: #DCE8F2; }
.co-pkg-cta--ghost {
  background: transparent;
  border: 1px solid #D5DEE8;
  color: #123A5C;
}
.co-pkg-cta--ghost:hover { background: #F5F8FB; }
.co-pkg-card.is-selected .co-pkg-cta:not(.co-pkg-cta--ghost) {
  background: #123A5C;
  color: #fff;
}
.co-pkg-card.is-hot .co-pkg-cta:not(.co-pkg-cta--ghost) {
  background: #fff;
  color: #123A5C;
}
.co-pkg-card.is-hot .co-pkg-cta:not(.co-pkg-cta--ghost):hover { background: #EEF4F9; }
.co-pkg-card.is-hot .co-pkg-cta--ghost {
  border-color: rgba(255,255,255,.45);
  color: #fff;
  background: transparent;
}
.co-pkg-card.is-hot .co-pkg-cta--ghost:hover {
  background: rgba(255,255,255,.12);
}
.co-pkg-card.is-enterprise .co-pkg-cta {
  background: transparent;
  border: 2px solid #123A5C;
  color: #123A5C;
}
.co-pkg-card.is-enterprise .co-pkg-cta:hover { background: #EEF4F9; }
.co-pkg-back {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}
.co-pkg-back button {
  border: 0;
  background: transparent;
  color: #9AA7B4;
  font-size: 13px;
  cursor: pointer;
}
.co-pkg-back button:hover { color: #5B6B7B; }
.co-pkg-modal[hidden] { display: none !important; }
.co-pkg-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
}
@media (min-width: 640px) {
  .co-pkg-modal { align-items: center; }
}
.co-pkg-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.4);
}
.co-pkg-modal-sheet {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  background: #fff;
  border-radius: 24px 24px 16px 16px;
  padding: 24px;
  box-shadow: 0 8px 40px rgba(12,42,70,.15);
}
@media (min-width: 640px) {
  .co-pkg-modal-sheet { border-radius: 24px; }
}
.co-pkg-modal-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.co-pkg-modal-head h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: #0C2A46;
}
.co-pkg-modal-lead {
  margin: 0 0 24px;
  font-size: 14px;
  line-height: 1.6;
  color: #5B6B7B;
}
.co-pkg-modal-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.co-pkg-modal-form input[type="text"],
.co-pkg-modal-form input[type="tel"] {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid #E4EAF1;
  font-size: 16px;
  color: #1F2D3D;
  background: #fff;
  outline: none;
}
.co-pkg-modal-form input:focus {
  border-color: #0B7A66;
  box-shadow: 0 0 0 3px #D3EDE7;
}
.co-pkg-honeypot {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
  height: 0 !important;
  width: 0 !important;
}
.co-pkg-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}
.co-pkg-modal-cancel,
.co-pkg-modal-submit {
  flex: 1;
  height: 48px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}
.co-pkg-modal-cancel {
  border: 1px solid #E4EAF1;
  background: #fff;
  color: #5B6B7B;
}
.co-pkg-modal-submit {
  border: 0;
  background: #123A5C;
  color: #fff;
}
.co-pkg-modal-success {
  text-align: center;
  padding: 32px 8px;
}
.co-pkg-modal-ok {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 999px;
  background: #E2F1DE;
  color: #5FA85D;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}
.co-pkg-modal-success h3 {
  margin: 0 0 8px;
  font-size: 20px;
  color: #0C2A46;
}
.co-pkg-modal-success p {
  margin: 0;
  font-size: 14px;
  color: #5B6B7B;
}
body.co-pkg-modal-open { overflow: hidden; }

.co-pkg-offer {
  margin-bottom: 24px;
  padding: 20px 22px;
  border-radius: 20px;
  background: linear-gradient(180deg, #F7FBFA 0%, #FFFFFF 42%);
  border: 1px solid #CDEAD9;
  box-shadow: 0 10px 28px rgba(11, 122, 102, 0.08);
}
.co-pkg-offer-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #E4EDE9;
}
.co-pkg-offer-top h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: #0C2A46;
}
.co-pkg-offer-top p {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: #5B6B7B;
}
.co-pkg-offer-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 18px 24px;
}
.co-pkg-offer-info {
  min-width: 0;
  display: grid;
  gap: 14px;
}
.co-pkg-offer-price {
  display: grid;
  gap: 4px;
}
.co-pkg-offer-label {
  display: block;
  font-size: 13px;
  color: #5B6B7B;
  font-weight: 600;
}
.co-pkg-offer-amount {
  display: block;
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 800;
  color: #0B7A66;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
.co-pkg-offer-meta {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.co-pkg-offer-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.co-pkg-offer-fact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #EEF6F3;
  border: 1px solid #D7EBE4;
}
.co-pkg-offer-fact span {
  font-size: 12px;
  color: #5B6B7B;
}
.co-pkg-offer-fact strong {
  font-size: 13px;
  font-weight: 700;
  color: #0C2A46;
}
.co-pkg-offer-notes {
  padding: 10px 12px;
  border-radius: 12px;
  background: #F5F8FA;
  border: 1px solid #E4EAF1;
}
.co-pkg-offer-notes span {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #5B6B7B;
  margin-bottom: 4px;
}
.co-pkg-offer-notes p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: #31485F;
  white-space: pre-wrap;
}
.co-pkg-offer-cta {
  display: flex;
  align-items: stretch;
  min-width: 160px;
}
.co-pkg-offer-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 180px;
}
.co-pkg-offer-actions .co-pkg-offer-cta { min-width: 0; width: 100%; }
.co-pkg-offer-cta .co-invite-btn,
.co-pkg-offer-cta .co-pkg-cta,
.co-pkg-offer-actions .co-invite-btn,
.co-pkg-offer-actions .co-pkg-cta {
  width: 100%;
  min-width: 160px;
  white-space: nowrap;
}
.co-pkg-cta.is-solid {
  background: #123A5C;
  color: #fff;
  min-width: 160px;
}
.co-pkg-cta.is-solid:hover { background: #1B4E76; }
.co-pkg-cta.co-pkg-cta--reject {
  background: #fff;
  color: #D14343;
  border: 1px solid #E8B4B4;
}
.co-pkg-cta.co-pkg-cta--reject:hover {
  background: #FBE6E6;
  color: #B83838;
}
.co-pkg-offer-reject {
  display: grid;
  gap: 10px;
  width: 100%;
  padding: 12px;
  border-radius: 14px;
  background: #FFF8F8;
  border: 1px solid #F0C8C8;
}
.co-pkg-offer-reject[hidden] { display: none !important; }
.co-pkg-offer-reject-label {
  font-size: 13px;
  font-weight: 600;
  color: #0C2A46;
}
.co-pkg-offer-reject-input {
  width: 100%;
  min-height: 84px;
  border-radius: 12px;
  border: 1px solid #E4EAF1;
  padding: 10px 12px;
  font: inherit;
  resize: vertical;
  background: #fff;
  color: #0C2A46;
}
.co-pkg-offer-reject-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.co-pkg-offer-reject-actions .co-invite-btn { width: auto; min-width: 0; }
@media (max-width: 720px) {
  .co-pkg-offer { padding: 16px; border-radius: 16px; }
  .co-pkg-offer-body {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  .co-pkg-offer-cta,
  .co-pkg-offer-actions,
  .co-pkg-offer-cta .co-invite-btn,
  .co-pkg-offer-cta .co-pkg-cta,
  .co-pkg-offer-actions .co-invite-btn,
  .co-pkg-offer-actions .co-pkg-cta {
    width: 100%;
    min-width: 0;
  }
}

.co-pkg-cta.is-disabled,
.co-pkg-cta:disabled {
  opacity: .7;
  cursor: not-allowed;
  background: #EEF4F9 !important;
  color: #5B6B7B !important;
  border-color: #E4EAF1 !important;
}
.co-pkg-card.is-locked {
  cursor: default;
}
.co-pkg-card.is-locked:hover {
  border-color: transparent;
}

/* Provider plan checkout (MyFatoorah + coupon) */
.co-pay-page { background: #F5F8FB; min-height: 100vh; }
.co-pay {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
}
.co-pay-inner {
  width: 100%;
  max-width: 960px;
  position: relative;
}
.co-pay-back {
  position: absolute;
  top: -8px;
  inset-inline-start: 0;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #123A5C;
  background: #fff;
  border: 1px solid #E4EAF1;
  box-shadow: 0 4px 14px rgba(12,42,70,.06);
}
.co-pay-back:hover { background: #EEF4F9; }
.co-pay-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
  margin-top: 28px;
}
@media (max-width: 860px) {
  .co-pay-grid { grid-template-columns: 1fr; }
}
.co-pay-card {
  background: #fff;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 4px 20px rgba(12,42,70,.06);
}
.co-pay-card h2 {
  margin: 0 0 20px;
  font-size: 20px;
  font-weight: 600;
  color: #0C2A46;
}
.co-pay-brands {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: #9AA7B4;
  font-size: 13px;
}
.co-pay-brands i { font-size: 20px; color: #123A5C; }
.co-pay-gateway {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  border-radius: 16px;
  background: #F5F8FB;
  border: 1px solid #E4EAF1;
  margin-bottom: 18px;
}
.co-pay-gateway-ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #E2F1DE;
  color: #0B7A66;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 22px;
}
.co-pay-gateway strong {
  display: block;
  color: #0C2A46;
  font-size: 15px;
  margin-bottom: 4px;
}
.co-pay-gateway p {
  margin: 0;
  color: #5B6B7B;
  font-size: 13px;
  line-height: 1.5;
}
.co-pay-secure {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #5B6B7B;
  font-size: 13px;
  margin-bottom: 18px;
}
.co-pay-secure i { color: #0B7A66; font-size: 15px; }
.co-pay-submit {
  width: 100%;
  height: 52px;
  border: 0;
  border-radius: 999px;
  background: #123A5C;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: background .15s ease, transform .1s ease;
}
.co-pay-submit:hover { background: #1B4E76; }
.co-pay-submit:active { transform: scale(.98); }
.co-pay-summary-box {
  background: #F5F8FB;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 18px;
  display: grid;
  gap: 10px;
}
.co-pay-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}
.co-pay-summary-row span { color: #5B6B7B; }
.co-pay-summary-row strong { color: #0C2A46; font-weight: 600; }
.co-pay-coupon {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}
.co-pay-coupon input {
  flex: 1;
  height: 44px;
  border-radius: 12px;
  border: 1px solid #E4EAF1;
  padding: 0 14px;
  font-size: 14px;
  color: #1F2D3D;
  outline: none;
  background: #fff;
}
.co-pay-coupon input:focus {
  border-color: #0B7A66;
  box-shadow: 0 0 0 3px rgba(11,122,102,.12);
}
.co-pay-coupon-btn {
  height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: #EEF4F9;
  color: #123A5C;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
}
.co-pay-coupon-btn:hover { background: #DCE8F2; }
.co-pay-coupon-btn:disabled { opacity: .55; cursor: not-allowed; }
.co-pay-coupon-msg {
  margin: 0 0 12px;
  font-size: 13px;
}
.co-pay-coupon-msg.is-ok { color: #5FA85D; }
.co-pay-coupon-msg.is-err { color: #D14343; }
.co-pay-total {
  border-top: 1px solid #E4EAF1;
  padding-top: 16px;
  display: grid;
  gap: 10px;
}
.co-pay-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.co-pay-total-row span {
  font-size: 16px;
  font-weight: 600;
  color: #0C2A46;
}
.co-pay-total-amount strong {
  font-size: 22px;
  font-weight: 700;
  color: #0C2A46;
}
.co-pay-discount { color: #0B7A66 !important; font-size: 15px !important; }
