:root {
  --ccp-text: #1a1a2e;
  --ccp-text-2: #374151;
  --ccp-muted: #6b7280;
  --ccp-faint: #9ca3af;
  --ccp-bg: #f9f9f9;
  --ccp-card: #ffffff;
  --ccp-line: rgba(0, 0, 0, 0.08);
  --ccp-line-2: rgba(0, 0, 0, 0.12);
  --ccp-brand: #63ea71;
  --ccp-brand-2: #4fd85f;
  --ccp-brand-soft: rgba(99, 234, 113, 0.15);
  --ccp-brand-line: rgba(99, 234, 113, 0.35);
  --ccp-accent: #27b079;
  --ccp-active: #16a34a;
  --ccp-deep: #08493c;
  --ccp-danger: #dc2626;
  --ccp-danger-soft: rgba(220, 38, 38, 0.06);
  --ccp-badge: #ef4444;
  --ccp-amber: #b45309;
  --ccp-amber-soft: rgba(245, 158, 11, 0.12);
  --ccp-shadow: 0 2px 8px rgba(0, 0, 0, 0.05), 0 0 0 0.5px rgba(0, 0, 0, 0.04);
  --ccp-gutter: 16px;
  --ccp-nav-h: 4rem;
  --ccp-safe-b: env(safe-area-inset-bottom, 0px);
  /* A phone turned sideways: the notch side (viewport-fit=cover) */
  --ccp-safe-l: env(safe-area-inset-left, 0px);
  --ccp-safe-r: env(safe-area-inset-right, 0px);
}

@media (min-width: 640px) {
  :root {
    --ccp-gutter: 24px;
  }
}

/* Tablets (769px to 1023px): the desktop navbar (3.5rem and its border) stays on
   top and there is no bottom bar. */
@media (min-width: 769px) and (max-width: 1023px) {
  :root {
    --ccp-nav-h: 0px;
    --ccp-top: calc(3.5rem + 1px);
  }
}

.ccp-root {
  display: none;
}

@media (max-width: 768px) {
  /* The top navbar is hidden on phones, so demo mode only needs room for its banner. */
  body.cc-demo[data-mobile-nav="company"]:not([data-route="landing"]) {
    padding-top: var(--cc-demo-banner-h);
  }

  body[data-mobile-nav="company"][data-phone-fullscreen] .cc-mobile-nav {
    display: none !important;
  }
}

/* The phone layer serves every width below 1024px (CC_COMPANY_PHONE_QUERY in utils/dom.js). */
@media (max-width: 1023px) {
  /* The banner's label and button stay clear of the notch (paddings from Demo.css). */
  body.cc-demo[data-mobile-nav="company"] .cc-demo-banner-tag {
    padding-left: calc(28px + var(--ccp-safe-l));
  }

  body.cc-demo[data-mobile-nav="company"] .cc-demo-banner-main {
    padding-right: calc(22px + var(--ccp-safe-r));
  }

  body[data-mobile-nav="company"][data-phone-screen] #morph-layout {
    display: none !important;
  }

  body[data-mobile-nav="company"][data-phone-screen] .ccp-root {
    display: block;
  }

  /* Screens stay inside the left and right safe areas; the page background runs
     edge to edge. */
  body[data-mobile-nav="company"][data-phone-screen] .main-container {
    padding: 0 var(--ccp-safe-r) calc(var(--ccp-nav-h) + 0.75rem + var(--ccp-safe-b)) var(--ccp-safe-l);
    background: var(--ccp-bg);
  }

  /* main.main-container: above desktop's padding for its own candidate bar
     (css/company-mobile.css), which full-screen phone screens don't have. */
  body[data-mobile-nav="company"][data-phone-fullscreen] main.main-container {
    padding-bottom: 0;
  }
}

.ccp-root,
.ccp-sheet,
.ccp-toast-host {
  font-family: "Outfit", sans-serif;
  color: var(--ccp-text);
  -webkit-tap-highlight-color: transparent;
}

.ccp-root *,
.ccp-sheet * {
  box-sizing: border-box;
}

.ccp-root p,
.ccp-sheet p,
.ccp-root h1,
.ccp-root h2,
.ccp-root h3,
.ccp-sheet h3 {
  margin: 0;
}

.ccp-root button,
.ccp-sheet button {
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
}

.ccp-root :focus-visible,
.ccp-sheet :focus-visible {
  outline: 2px solid var(--ccp-active);
  outline-offset: 2px;
}

/* A screen's heading takes focus only to be announced. */
.ccp-root h1[tabindex="-1"]:focus {
  outline: none;
}

/* The full-screen resume keeps Tab on its Close, so that shows where focus is. */
body[data-phone-screen] .cd-resume-overlay-close:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* Demo mode keeps a fixed banner on top; sticky bars sit under it. */
body.cc-demo:not([data-route="landing"]) .ccp-root .ccp-sticky,
body.cc-demo:not([data-route="landing"]) .ccp-root .ccp-topbar {
  top: var(--cc-demo-banner-h, 0px);
}

/* Tablets: screens run edge to edge under the navbar (no page margin), sticky bars
   sit under the navbar, and screens end without room for a bottom bar. */
@media (min-width: 769px) and (max-width: 1023px) {
  body[data-mobile-nav="company"][data-phone-screen] {
    margin: 0;
  }

  .ccp-root .ccp-sticky,
  .ccp-root .ccp-topbar {
    top: var(--ccp-top);
  }

  body.cc-demo:not([data-route="landing"]) .ccp-root .ccp-sticky,
  body.cc-demo:not([data-route="landing"]) .ccp-root .ccp-topbar {
    top: calc(var(--cc-demo-banner-h, 0px) + var(--ccp-top));
  }

  body[data-mobile-nav="company"][data-phone-screen] .main-container {
    padding-bottom: var(--ccp-safe-b);
  }
}

/* Tablets: Candidate details covers the navbar, as Post a Job does (postJob.css). In
   the design the candidate page fills the screen below 1024px, its own top bar (Back
   and the name) at the top. */
@media (min-width: 769px) and (max-width: 1023px) {
  body[data-mobile-nav="company"][data-phone-screen="candidate"] .navbar {
    display: none;
  }

  body[data-mobile-nav="company"][data-phone-screen="candidate"]:not([data-route="landing"]) {
    padding-top: 0;
  }

  body.cc-demo[data-mobile-nav="company"][data-phone-screen="candidate"]:not([data-route="landing"]) {
    padding-top: var(--cc-demo-banner-h);
  }

  body[data-phone-screen="candidate"] .ccp-root .ccp-topbar {
    top: 0;
  }

  body.cc-demo:not([data-route="landing"])[data-phone-screen="candidate"] .ccp-root .ccp-topbar {
    top: var(--cc-demo-banner-h, 0px);
  }
}

.ccp-page {
  padding: 14px var(--ccp-gutter) 24px;
}

@media (min-width: 640px) {
  .ccp-page {
    padding-top: 20px;
  }
}

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

.ccp-h1 {
  font-size: 1.54rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.2;
  color: var(--ccp-text);
}

.ccp-h2 {
  font-size: 1.155rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.ccp-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--ccp-brand-soft);
  border: 1px solid var(--ccp-brand-line);
  color: var(--ccp-deep);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.82rem;
  font-weight: 700;
}

.ccp-muted {
  color: var(--ccp-muted);
}

.ccp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 0.85rem;
  border: 1px solid transparent;
  font-size: 1.1rem;
  font-weight: 650;
  line-height: 1.1;
  white-space: nowrap;
  cursor: pointer;
  touch-action: manipulation;
  transition: transform 0.15s ease, filter 0.15s ease, background 0.15s ease;
}

.ccp-btn:active {
  transform: scale(0.98);
}

.ccp-btn[disabled],
.ccp-btn[aria-disabled="true"] {
  opacity: 0.5;
  cursor: default;
}

.ccp-btn--primary {
  background: linear-gradient(135deg, var(--ccp-brand), var(--ccp-brand-2));
  color: #000;
  font-weight: 700;
  box-shadow: 0 6px 16px -8px rgba(39, 176, 121, 0.8);
}

.ccp-btn--soft {
  background: var(--ccp-brand-soft);
  border-color: var(--ccp-brand-line);
  color: var(--ccp-text);
}

.ccp-btn--ghost {
  background: #fff;
  border-color: var(--ccp-line-2);
  color: var(--ccp-text);
}

.ccp-btn--danger {
  background: var(--ccp-danger);
  color: #fff;
  font-weight: 700;
}

.ccp-btn--danger-soft {
  background: var(--ccp-danger-soft);
  border-color: rgba(220, 38, 38, 0.25);
  color: var(--ccp-danger);
}

.ccp-btn--block {
  width: 100%;
}

.ccp-btn--pill {
  border-radius: 999px;
  min-height: 44px;
  padding: 0 16px 0 12px;
  font-size: 1.24rem;
}

.ccp-btn-row {
  display: flex;
  gap: 10px;
}

.ccp-btn-row > .ccp-btn {
  flex: 1 1 0;
  min-width: 0;
}

.ccp-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 999px;
  border: 1px solid var(--ccp-line);
  background: #fff;
  color: var(--ccp-text-2);
  cursor: pointer;
}

.ccp-search {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
}

.ccp-search-icon {
  position: absolute;
  left: 14px;
  top: 13px;
  width: 18px;
  height: 18px;
  color: var(--ccp-faint);
  pointer-events: none;
}

.ccp-search input {
  width: 100%;
  height: 44px;
  border: 1.5px solid transparent;
  border-radius: 0.85rem;
  background: #fff;
  padding: 0 44px 0 42px;
  font-family: "Outfit", sans-serif;
  font-size: 17.6px;
  color: var(--ccp-text);
  outline: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  -webkit-appearance: none;
  appearance: none;
}

.ccp-search input:focus {
  border-color: rgba(99, 234, 113, 0.6);
}

.ccp-search-clear {
  position: absolute;
  right: 0;
  top: 0;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ccp-muted);
  cursor: pointer;
}

.ccp-sticky {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--ccp-bg);
}

.ccp-seg {
  display: flex;
  flex-shrink: 0;
  padding: 3px;
  height: 44px;
  border-radius: 0.85rem;
  background: rgba(0, 0, 0, 0.06);
}

.ccp-seg > button {
  min-width: 40px;
  padding: 0 10px;
  border: none;
  border-radius: 0.65rem;
  background: transparent;
  color: #4b5563;
  font-size: 0.99rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
}

.ccp-seg > button[aria-selected="true"] {
  background: #fff;
  color: #111827;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.ccp-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--ccp-line-2);
  background: #fff;
  color: var(--ccp-text-2);
  font-size: 0.99rem;
  font-weight: 600;
  cursor: pointer;
}

.ccp-chip[aria-pressed="true"],
.ccp-chip.is-on {
  background: var(--ccp-brand-soft);
  border-color: var(--ccp-brand-line);
  color: var(--ccp-deep);
}

.ccp-card {
  background: var(--ccp-card);
  border: 1px solid var(--ccp-line);
  border-radius: 1.1rem;
  box-shadow: var(--ccp-shadow);
}

.ccp-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 650;
  white-space: nowrap;
}

.ccp-pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: currentColor;
}

.ccp-pill--active {
  background: rgba(34, 197, 94, 0.12);
  color: #15803d;
}

.ccp-pill--draft {
  background: var(--ccp-amber-soft);
  color: var(--ccp-amber);
}

.ccp-pill--closed {
  background: rgba(239, 68, 68, 0.1);
  color: #b91c1c;
}

.ccp-pill--neutral {
  background: rgba(0, 0, 0, 0.05);
  color: var(--ccp-text-2);
}

.ccp-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 40px 20px;
}

.ccp-empty-title {
  font-size: 1.32rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.ccp-empty-sub {
  max-width: 22rem;
  font-size: 1.045rem;
  line-height: 1.55;
  color: var(--ccp-muted);
}

.ccp-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 6px var(--ccp-gutter);
  background: rgba(249, 249, 249, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}

.ccp-topbar.is-scrolled {
  border-bottom-color: var(--ccp-line);
}

.ccp-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 14px 0 10px;
  border-radius: 999px;
  border: 1px solid var(--ccp-line);
  background: #fff;
  color: var(--ccp-text);
  font-size: 1.045rem;
  font-weight: 650;
  cursor: pointer;
}

.ccp-actionbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 55;
  display: flex;
  gap: 10px;
  padding: 10px calc(var(--ccp-gutter) + var(--ccp-safe-r)) calc(10px + var(--ccp-safe-b))
    calc(var(--ccp-gutter) + var(--ccp-safe-l));
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid var(--ccp-line);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.ccp-actionbar > .ccp-btn {
  flex: 1 1 0;
  min-width: 0;
}

.ccp-actionbar-spacer {
  height: calc(80px + var(--ccp-safe-b));
}

.ccp-banner {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 1rem;
  border: 1px solid rgba(245, 158, 11, 0.35);
  background: var(--ccp-amber-soft);
  color: var(--ccp-text);
}

.ccp-banner--danger {
  border-color: rgba(220, 38, 38, 0.25);
  background: var(--ccp-danger-soft);
}

.ccp-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  overflow: hidden;
  background: #e5e7eb;
  color: var(--ccp-text);
  font-weight: 700;
  font-size: 1rem;
}

.ccp-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Sheets */

.ccp-sheet.v-bs {
  z-index: 1200;
}

.ccp-sheet .v-bs-backdrop {
  background: rgba(15, 23, 42, 0.42);
}

.ccp-sheet .v-bs-sheet {
  left: 0;
  right: 0;
  max-width: 640px;
  margin: 0 auto;
  max-height: 88dvh;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -12px 40px rgba(15, 23, 42, 0.22);
  outline: none;
}

.ccp-sheet--tall .v-bs-sheet {
  height: 90dvh;
  max-height: 90dvh;
}

.ccp-sheet .v-bs-handle-wrap {
  padding: 8px 0 6px;
}

.ccp-sheet .v-bs-handle {
  width: 36px;
  height: 4px;
  border-radius: 999px;
  background: #d1d5db;
}

.ccp-sheet .v-bs-close.v-action-btn {
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
}

.ccp-sheet .v-bs-body {
  padding: 4px 0 0;
  gap: 0;
}

/* BottomSheet pads the first child to clear its close button. Our head and
   content set their own padding (kept at low specificity so screens can override). */
.ccp-sheet .v-bs-body > :first-child:not(.ccp-sheet-head):not(.ccp-sheet-content) {
  padding-right: 0;
}

.v-bs-body > .ccp-sheet-head {
  padding: 4px 64px 12px 16px;
}

.ccp-sheet-title {
  font-size: 1.32rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.ccp-sheet-sub {
  margin-top: 4px;
  font-size: 1rem;
  line-height: 1.45;
  color: var(--ccp-muted);
}

/* The body scrolls the content, so the content never shrinks below its own
   height; otherwise the pinned footer would sit over it. */
.ccp-sheet-content,
.v-bs-body > .ccp-sheet-content {
  flex: 1 0 auto;
  padding: 0 16px 16px;
}

/* A sheet that scrolls a list of its own (its body doesn't scroll) fits its
   content to the sheet instead. core.js sets the class. */
.ccp-sheet--fit .v-bs-body > .ccp-sheet-content {
  flex: 1 1 auto;
  min-height: 0;
}

.ccp-sheet-foot {
  position: sticky;
  bottom: 0;
  padding: 12px 16px calc(14px + var(--ccp-safe-b));
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* A focused field scrolls into view above the pinned footer. */
.ccp-sheet .v-bs-body:has(> .ccp-sheet-foot) {
  scroll-padding-bottom: calc(92px + var(--ccp-safe-b));
}

.ccp-confirm {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 8px 4px 4px;
}

.ccp-confirm-icon {
  width: 56px;
  height: 56px;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ccp-brand-soft);
  border: 1px solid var(--ccp-brand-line);
  color: var(--ccp-deep);
}

.ccp-confirm-icon.is-danger {
  background: var(--ccp-danger-soft);
  border-color: rgba(220, 38, 38, 0.25);
  color: var(--ccp-danger);
}

.ccp-confirm-title {
  font-size: 1.43rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #111827;
}

.ccp-confirm-body {
  max-width: 30rem;
  font-size: 1.045rem;
  line-height: 1.55;
  color: var(--ccp-muted);
}

/* Reject sheet: desktop's reject flow (silent switch, reason, note) */

.ccp-reject {
  display: flex;
  flex-direction: column;
  gap: 1.05rem;
  width: calc(100% + 40px);
  margin: 10px -20px -20px;
  padding: 1.2rem 20px 1.1rem;
  text-align: left;
  background: rgba(0, 0, 0, 0.025);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: inset 0 4px 8px -6px rgba(0, 0, 0, 0.12);
}

.ccp-reject-silent {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  min-height: 56px;
  padding: 0.85rem 0.95rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(0, 0, 0, 0.02);
  text-align: left;
  color: var(--ccp-text);
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.ccp-reject-silent[aria-checked="true"] {
  border-color: rgba(107, 114, 128, 0.32);
  background: rgba(107, 114, 128, 0.05);
}

.ccp-reject-track {
  position: relative;
  flex-shrink: 0;
  width: 2.6rem;
  height: 1.45rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.18);
  transition: background 0.2s ease;
}

.ccp-reject-track span {
  position: absolute;
  top: 2px;
  left: 2px;
  width: calc(1.45rem - 4px);
  height: calc(1.45rem - 4px);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}

.ccp-reject-silent[aria-checked="true"] .ccp-reject-track {
  background: #10b981;
}

.ccp-reject-silent[aria-checked="true"] .ccp-reject-track span {
  transform: translateX(1.15rem);
}

.ccp-reject-silent-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.ccp-reject-silent-title {
  font-size: 1.06rem;
  font-weight: 600;
}

.ccp-reject-silent-sub {
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--ccp-muted);
}

.ccp-reject-group {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.ccp-reject-group[hidden] {
  display: none;
}

.ccp-reject-label {
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ccp-text-2);
}

.ccp-reject-reasons {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.ccp-reject-reason {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  min-height: 50px;
  padding: 0.75rem 0.9rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  text-align: left;
  font-size: 1.06rem;
  font-weight: 500;
  color: var(--ccp-text);
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.ccp-reject-reason[aria-checked="true"] {
  border-color: rgba(16, 185, 129, 0.5);
  background: rgba(99, 234, 113, 0.06);
}

.ccp-reject-radio {
  position: relative;
  flex-shrink: 0;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.2);
}

.ccp-reject-reason[aria-checked="true"] .ccp-reject-radio {
  border-color: #10b981;
}

.ccp-reject-reason[aria-checked="true"] .ccp-reject-radio::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: #10b981;
}

.ccp-reject-note {
  width: 100%;
  min-height: 96px;
  padding: 0.75rem 0.9rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #fff;
  font-family: inherit;
  font-size: 17.6px;
  line-height: 1.5;
  color: var(--ccp-text);
  resize: none;
}

.ccp-reject-note:focus {
  outline: none;
  border-color: rgba(99, 234, 113, 0.6);
  box-shadow: 0 0 0 3px rgba(99, 234, 113, 0.18);
}

.ccp-sheet--success .v-bs-sheet,
.ccp-sheet--review .v-bs-sheet {
  border-radius: 1rem 1rem 0 0;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-bottom: none;
  box-shadow: 0 -25px 60px -12px rgba(0, 0, 0, 0.18);
}

/* The success card runs edge to edge, its Done bar as the design draws it
   (the review sheet's Got it too). */
.ccp-sheet--success .v-bs-body,
.ccp-sheet--review .v-bs-body {
  padding-top: 0;
}

.ccp-sheet--success .v-bs-body > .ccp-sheet-content,
.ccp-sheet--review .v-bs-body > .ccp-sheet-content {
  padding: 0;
}

.ccp-sheet--success .ccp-sheet-foot,
.ccp-sheet--review .ccp-sheet-foot {
  padding: 0.875rem 1.5rem calc(1.1rem + var(--ccp-safe-b));
  border-top-color: rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.6);
}

.ccp-sheet--success .ccp-sheet-foot [data-ccp-done],
.ccp-sheet--review .ccp-sheet-foot [data-ccp-done] {
  min-height: 50px;
  padding: 0.65rem 1.4rem;
  border-radius: 0.6rem;
  font-size: 1.24rem;
  font-weight: 600;
}

.ccp-sheet--success .v-bs-handle-wrap,
.ccp-sheet--success .v-bs-close,
.ccp-sheet--review .v-bs-handle-wrap,
.ccp-sheet--review .v-bs-close {
  display: none !important;
}

.ccp-success-bar {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: rgba(99, 234, 113, 0.18);
}

.ccp-success-bar span {
  display: block;
  height: 100%;
  background: var(--ccp-brand);
  transform-origin: left center;
  transform: scaleX(1);
  transition-property: transform;
  transition-timing-function: linear;
}

.ccp-success-bar span.is-running {
  transform: scaleX(0);
}

.ccp-success {
  padding: 1.85rem 1.5rem 1.5rem;
  text-align: center;
}

.ccp-success-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.1rem;
  border-radius: 1.1rem;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.18), rgba(16, 185, 129, 0.07));
  border: 1px solid rgba(16, 185, 129, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: ccpPop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.ccp-success-title,
.ccp-sheet .ccp-success-title {
  margin: 0 0 0.55rem;
  font-size: 1.54rem;
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.ccp-success-sub,
.ccp-sheet .ccp-success-sub {
  margin: 0 auto;
  max-width: 32rem;
  font-size: 1.045rem;
  line-height: 1.6;
  color: var(--ccp-muted);
  overflow-wrap: anywhere;
}

/* Under review: the review sheet's clock pops in as the sheet rises. */
.ccp-review-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.1rem;
  border-radius: 1.1rem;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(245, 158, 11, 0.07));
  border: 1px solid rgba(245, 158, 11, 0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  animation:
    ccpReviewPop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) 0.05s both,
    ccpReviewFade 0.3s ease 0.05s both;
}

.ccp-sheet .ccp-review-sub {
  text-wrap: pretty;
}

/* The design's info sheet (a lock notice, say): a blue icon, or rose for danger,
   that pops in like the review sheet's. */
.ccp-info-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.1rem;
  border-radius: 1.1rem;
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.18), rgba(255, 255, 255, 0));
  border: 1px solid rgba(96, 165, 250, 0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  animation:
    ccpReviewPop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) 0.05s both,
    ccpReviewFade 0.3s ease 0.05s both;
}

.ccp-info.is-danger .ccp-info-icon {
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.16), rgba(255, 255, 255, 0));
  border-color: rgba(244, 63, 94, 0.32);
}

.ccp-sheet .ccp-info-title,
.ccp-sheet .ccp-info-sub {
  text-wrap: pretty;
}

.ccp-info-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.ccp-sheet--info .ccp-sheet-foot .ccp-info-row .ccp-btn {
  flex: 1;
  min-width: 0;
  min-height: 50px;
  padding: 0.65rem 1rem;
  border-radius: 0.6rem;
  font-size: 1.24rem;
  font-weight: 600;
  color: #1a1a2e;
}

.ccp-sheet--info .ccp-sheet-foot [data-ccp-act] {
  white-space: nowrap;
}

@keyframes ccpReviewPop {
  from {
    transform: scale(0.4);
  }
  to {
    transform: scale(1);
  }
}

@keyframes ccpReviewFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes ccpPop {
  from {
    transform: scale(0.4);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Toasts */

.ccp-toast-host {
  position: fixed;
  left: 0;
  right: 0;
  bottom: calc(var(--ccp-nav-h) + 16px + var(--ccp-safe-b));
  z-index: 100002;
  display: flex;
  justify-content: center;
  padding: 0 16px;
  pointer-events: none;
}

body[data-phone-fullscreen] .ccp-toast-host {
  bottom: calc(96px + var(--ccp-safe-b));
}

/* Tablets have no bottom bar: toasts sit 24px above the bottom edge. */
@media (min-width: 769px) and (max-width: 1023px) {
  body:not([data-phone-fullscreen]) .ccp-toast-host {
    bottom: calc(24px + var(--ccp-safe-b));
  }
}

/* While a sheet or pop-up is open, toasts show at the top so they never cover its controls. */
body:has(.v-bs.is-open) .ccp-toast-host,
body:has(.v-modal-overlay.active) .ccp-toast-host {
  top: calc(12px + env(safe-area-inset-top, 0px));
  bottom: auto;
}

.ccp-toast {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 0.75rem 1.05rem;
  border-radius: 9999px;
  background: #111827;
  color: #fff;
  font-size: 0.968rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  pointer-events: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Only a showing toast takes taps; one fading out lets them through. */
.ccp-toast.is-in {
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0);
}

.ccp-toast:has(.ccp-toast-undo) {
  padding-top: 6px;
  padding-bottom: 6px;
  padding-right: 6px;
}

.ccp-toast-check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ccp-brand);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ccp-toast--error .ccp-toast-check {
  background: var(--ccp-danger);
}

.ccp-toast--lock .ccp-toast-check,
.ccp-toast--info .ccp-toast-check {
  background: #e5e7eb;
}

/* One line, cut with an ellipsis when it is too long (the full text is still read out). */
.ccp-toast-msg {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ccp-toast-undo {
  flex-shrink: 0;
  margin-left: 4px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: var(--ccp-brand);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
}

/* Existing desktop pop-ups and toasts, shown the phone way below 1024px */

@media (max-width: 1023px) {
  body[data-mobile-nav="company"] .ui-toast-host {
    left: 0;
    right: 0;
    bottom: calc(var(--ccp-nav-h) + 16px + var(--ccp-safe-b));
    align-items: center;
    padding: 0 16px;
  }

  body[data-mobile-nav="company"][data-phone-fullscreen] .ui-toast-host {
    bottom: calc(96px + var(--ccp-safe-b));
  }

  body[data-mobile-nav="company"]:has(.v-bs.is-open) .ui-toast-host,
  body[data-mobile-nav="company"]:has(.v-modal-overlay.active) .ui-toast-host {
    top: calc(12px + env(safe-area-inset-top, 0px));
    bottom: auto;
  }

  body[data-mobile-nav="company"] .ui-toast {
    max-width: 100%;
    border: none;
    border-radius: 9999px;
    background: #111827;
    color: #fff;
    font-size: 0.968rem;
    font-weight: 600;
    padding: 0.75rem 1.05rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    /* One line, cut with an ellipsis, rising 8px into place, as the phone layer's own toasts. */
    gap: 8px;
    line-height: normal;
    white-space: nowrap;
    overflow: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  }

  body[data-mobile-nav="company"] .ui-toast--in {
    transform: translateY(0);
  }

  body[data-mobile-nav="company"] .ui-toast--out {
    transform: translateY(8px);
  }

  body[data-mobile-nav="company"] .ui-toast .ui-toast-msg {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  body[data-mobile-nav="company"] .ui-toast strong {
    color: inherit;
    font-weight: inherit;
  }

  /* The design's 18px badge: a black tick on green; red for a warning, grey for a lock or a note. */
  body[data-mobile-nav="company"] .ui-toast .ui-toast-icon {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--ccp-brand);
    color: #000;
  }

  body[data-mobile-nav="company"] .ui-toast .ui-toast-icon > * {
    display: none;
  }

  body[data-mobile-nav="company"] .ui-toast .ui-toast-icon::before {
    content: "";
    width: 11px;
    height: 11px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px 11px no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px 11px no-repeat;
  }

  body[data-mobile-nav="company"] .ui-toast .ui-toast-icon:has([data-lucide="alert-triangle"], [data-lucide="alert-circle"]) {
    background: var(--ccp-danger);
    color: #fff;
  }

  body[data-mobile-nav="company"] .ui-toast .ui-toast-icon:has([data-lucide="alert-triangle"], [data-lucide="alert-circle"])::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 7v6'/%3E%3Cpath d='M12 17h.01'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 7v6'/%3E%3Cpath d='M12 17h.01'/%3E%3C/svg%3E");
  }

  body[data-mobile-nav="company"] .ui-toast .ui-toast-icon:has([data-lucide="lock"], [data-lucide="info"]) {
    background: #e5e7eb;
    color: #111827;
  }

  body[data-mobile-nav="company"] .ui-toast .ui-toast-icon:has([data-lucide="lock"])::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E");
  }

  body[data-mobile-nav="company"] .ui-toast .ui-toast-icon:has([data-lucide="info"])::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 11v6'/%3E%3Cpath d='M12 7h.01'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 11v6'/%3E%3Cpath d='M12 7h.01'/%3E%3C/svg%3E");
  }

  body[data-mobile-nav="company"] .v-modal-overlay {
    align-items: flex-end;
    padding: 0;
    background: rgba(15, 23, 42, 0.42);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  body[data-mobile-nav="company"] .v-modal-overlay .v-modal-box {
    max-width: 640px !important;
    width: 100% !important;
    margin: 0 auto;
    max-height: 92dvh;
    border-radius: 20px 20px 0 0;
    border-bottom: none;
    padding-bottom: var(--ccp-safe-b);
    animation: ccpSheetUp 0.32s cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  body[data-mobile-nav="company"] .v-modal-overlay .v-modal-box::before {
    content: "";
    display: block;
    flex-shrink: 0;
    width: 36px;
    height: 4px;
    margin: 8px auto 2px;
    border-radius: 999px;
    background: #d1d5db;
  }

  /* The box already pads the home indicator inset below its last row. */
  body[data-mobile-nav="company"] .v-modal-overlay .v-modal-footer {
    padding-bottom: 1rem;
  }

  body[data-mobile-nav="company"] .v-modal-overlay .v-modal-footer .v-action-btn {
    min-height: 48px;
  }

  /* "Job is closed": one big Got it across the sheet, like a done card's Done. */
  body[data-mobile-nav="company"] #cd-jobclosed-lock-modal .v-modal-footer .v-action-btn {
    flex: 1 1 100%;
    width: 100%;
    min-height: 50px;
    border-radius: 0.6rem;
    font-size: 1.24rem;
    font-weight: 600;
  }

  body[data-mobile-nav="company"] .v-modal-overlay .v-modal-close.v-action-btn {
    width: 44px;
    height: 44px;
  }
}

@media (min-width: 769px) and (max-width: 1023px) {
  body[data-mobile-nav="company"]:not([data-phone-fullscreen]) .ui-toast-host {
    bottom: calc(24px + var(--ccp-safe-b));
  }
}

/* Tablets: Log out from the navbar opens the design's centred card (JobPostings
   design), not a sheet: at most 400px wide, the red log-out mark, the question, the
   line on what follows, then Cancel and Log out side by side. */
@media (min-width: 769px) and (max-width: 1023px) {
  body[data-mobile-nav="company"] #logout-modal.v-modal-overlay {
    align-items: center;
    padding: 16px;
  }

  body[data-mobile-nav="company"] #logout-modal.v-modal-overlay .v-modal-box {
    max-width: 400px !important;
    padding: 22px;
    border: none;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.25);
    text-align: center;
    animation: none;
  }

  body[data-mobile-nav="company"] #logout-modal.v-modal-overlay .v-modal-box::before {
    content: none;
  }

  body[data-mobile-nav="company"] #logout-modal .v-modal-body-center {
    padding: 0;
  }

  body[data-mobile-nav="company"] #logout-modal .v-modal-icon-box {
    width: 56px;
    height: 56px;
    margin: 0 auto;
    border: none;
    border-radius: 50%;
    background: rgba(220, 38, 38, 0.08);
    box-shadow: none;
    color: #dc2626;
  }

  body[data-mobile-nav="company"] #logout-modal .v-modal-icon-box::after {
    content: none;
  }

  body[data-mobile-nav="company"] #logout-modal .v-modal-title {
    margin: 14px 0 0;
    font-size: 1.43rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: normal;
    color: #1a1a2e;
  }

  /* The design's line under the question (the desktop pop-up has none). */
  body[data-mobile-nav="company"] #logout-modal .v-modal-body-center::after {
    content: "You'll need to sign in again to manage your job postings.";
    display: block;
    margin-top: 6px;
    font-size: 0.99rem;
    line-height: 1.5;
    color: #4b5563;
  }

  body[data-mobile-nav="company"] #logout-modal.v-modal-overlay .v-modal-footer {
    gap: 10px;
    margin-top: 20px;
    padding: 0;
    border-top: none;
    background: transparent;
  }

  body[data-mobile-nav="company"] #logout-modal .v-modal-footer .v-action-btn {
    flex: 1;
    min-height: 48px;
    border-radius: 0.75rem;
    font-size: 1.24rem;
  }

  body[data-mobile-nav="company"] #logout-modal .v-modal-footer .v-modal-btn-cancel {
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(0, 0, 0, 0.04);
    color: #374151;
    font-weight: 600;
    box-shadow: none;
  }

  body[data-mobile-nav="company"] #logout-modal .v-modal-footer .v-modal-btn-danger {
    border: none;
    background: #dc2626;
    color: #fff;
    font-weight: 700;
    box-shadow: none;
  }
}

@keyframes ccpSheetUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ccp-toast,
  .ccp-success-icon,
  .ccp-review-icon,
  .ccp-info-icon,
  .ccp-btn {
    transition: none;
    animation: none;
  }

  body[data-mobile-nav="company"] .v-modal-overlay .v-modal-box {
    animation: none;
  }
}

/* Bottom sheets: the footer's buttons always fill its width together, one
   across the whole width, two or more sharing it (desktop pop-ups shown as
   sheets below 1024px included, such as "Who did you hire?"). */
@media (max-width: 1023px) {
  body[data-mobile-nav="company"] .v-modal-overlay .v-modal-footer {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: stretch;
    gap: 10px;
  }

  body[data-mobile-nav="company"] .v-modal-overlay .v-modal-footer > :is(button, a, .v-action-btn),
  body[data-mobile-nav="company"] .v-modal-overlay .v-modal-footer > div {
    flex: 1 1 0;
    min-width: 0;
    margin: 0;
  }

  body[data-mobile-nav="company"] .v-modal-overlay .v-modal-footer > div {
    display: flex;
    gap: 10px;
  }

  body[data-mobile-nav="company"] .v-modal-overlay .v-modal-footer > div > :is(button, a, .v-action-btn) {
    flex: 1 1 0;
    min-width: 0;
  }

  body[data-mobile-nav="company"] .v-modal-overlay .v-modal-footer :is(button, a, .v-action-btn) {
    justify-content: center;
    text-align: center;
    white-space: normal;
  }
}

/* A phone sheet whose footer holds a single button: it spans the footer. */
.ccp-sheet-foot > :is(button, a, .ccp-btn):only-child {
  width: 100%;
}
