:root {
  --pb-navy: #1E2836;
  --pb-cyan: #06B6D4;
  --pb-white: #FFFFFF;
  --pb-text: #1E2836;
  --pb-muted: #718096;
  --pb-border: #E2E8F0;
  --pb-bg: #F4F7FA;
  --pb-soft: #F8FAFC;
  --pb-success: #10B981;
  --pb-danger: #EF4444;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  background: var(--pb-bg);
  color: var(--pb-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* APP SHELL */
.app { min-height: 100vh; display: grid; grid-template-columns: 270px minmax(0, 1fr); }
.sidebar {
  min-height: 100vh; height: 100vh; position: sticky; top: 0;
  padding: 26px 20px 22px; background: var(--pb-navy);
  border-right: 1px solid rgba(255,255,255,.06); display: flex; flex-direction: column;
}
.brand { display: flex; align-items: center; gap: 12px; margin-bottom: 34px; color: white; }
.brand-logo { width: 48px; height: 48px; object-fit: contain; flex: 0 0 48px; }
.brand-copy strong, .brand-copy small { display: block; }
.brand-copy strong { color: white; font-size: 16px; font-weight: 800; line-height: 1.1; }
.brand-copy small { margin-top: 4px; color: rgba(255,255,255,.55); font-size: 11px; letter-spacing: .18em; }
.nav-label { margin: 0 12px 10px; color: rgba(255,255,255,.34); font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.sidebar-nav { display: grid; gap: 6px; }
.sidebar-nav a {
  display: flex; align-items: center; min-height: 44px; padding: 11px 13px;
  border-radius: 10px; color: rgba(255,255,255,.76); text-decoration: none;
  font-size: 14px; font-weight: 600; transition: background .16s ease, color .16s ease;
}
.sidebar-nav a:hover { background: rgba(6,182,212,.12); color: white; }
.sidebar-user { margin-top: auto; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); display: grid; gap: 7px; overflow-wrap: anywhere; color: white; }
.sidebar-user small { color: rgba(255,255,255,.42); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.sidebar-user strong { font-size: 12px; font-weight: 650; }
.logout-button {
  width: 100%; margin-top: 6px; cursor: pointer; border: 1px solid rgba(255,255,255,.13);
  border-radius: 9px; padding: 10px; background: transparent; color: rgba(255,255,255,.82);
  font: inherit; font-size: 13px; font-weight: 650;
}
.logout-button:hover { border-color: rgba(6,182,212,.45); background: rgba(6,182,212,.08); color: white; }
.content { min-width: 0; padding: 38px 42px 60px; overflow: auto; background: var(--pb-bg); }
.auth-content { grid-column: 1 / -1; padding: 0; overflow: hidden; }

/* TYPOGRAPHY + PAGE HEADER */
.page-header { display: flex; justify-content: space-between; gap: 22px; align-items: center; margin-bottom: 26px; }
h1 { margin: 0 0 6px; color: var(--pb-text); font-size: 30px; font-weight: 800; letter-spacing: -.025em; }
h2 { margin: 0; color: var(--pb-text); font-size: 20px; }
p { color: var(--pb-muted); margin: 0; line-height: 1.55; }

/* CARDS */
.metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; margin-bottom: 24px; }
.metric, .panel { background: white; border: 1px solid var(--pb-border); border-radius: 16px; box-shadow: 0 8px 24px rgba(30,40,54,.04); }
.metric { padding: 20px; }
.metric span { display: block; color: var(--pb-muted); font-size: 13px; margin-bottom: 8px; }
.metric strong { font-size: 28px; }
.panel { padding: 24px; }
.panel + .panel { margin-top: 20px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; }

/* BUTTONS */
.button {
  display: inline-flex; align-items: center; justify-content: center; background: var(--pb-cyan); color: white;
  text-decoration: none; border: none; padding: 11px 17px; border-radius: 10px; font: inherit;
  font-size: 14px; font-weight: 800; cursor: pointer; box-shadow: 0 8px 18px rgba(6,182,212,.16);
}
.button:hover { color: white; filter: brightness(.97); transform: translateY(-1px); }

/* TABLES */
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 15px 12px; border-bottom: 1px solid var(--pb-border); vertical-align: middle; }
th { color: var(--pb-muted); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
td { color: var(--pb-text); font-size: 14px; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: var(--pb-soft); }
.tag { display: inline-block; padding: 5px 9px; border-radius: 999px; background: #EDF2F7; color: var(--pb-navy); font-size: 12px; }

/* FORMS */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label { display: grid; gap: 8px; color: #475569; font-size: 14px; font-weight: 600; }
input, select, textarea {
  width: 100%; background: white; color: var(--pb-navy); border: 1px solid #CBD5E1;
  border-radius: 10px; padding: 12px; font: inherit; outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--pb-cyan); box-shadow: 0 0 0 4px rgba(6,182,212,.10); }
textarea { min-height: 110px; resize: vertical; }
.wide, .form-actions { grid-column: 1 / -1; }

@media (max-width: 880px) {
  .app { grid-template-columns: 1fr; }
  .sidebar { position: relative; min-height: auto; height: auto; }
  .sidebar-nav { grid-template-columns: repeat(2,1fr); }
  .metrics { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 650px) {
  .content { padding: 22px 18px 40px; }
  .metrics, .form-grid { grid-template-columns: 1fr; }
  .wide, .form-actions { grid-column: auto; }
  .page-header { align-items: flex-start; flex-direction: column; }
}

/* =========================================================
   LOGIN - PIXELBOOM STUDIO
   ========================================================= */

.pb-login-page {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(520px, 660px) minmax(180px, 1fr);
  align-items: center;
  padding: 54px 56px;
  background:
    radial-gradient(circle at 88% 8%, rgba(6,182,212,.92) 0, rgba(6,182,212,.48) 13%, rgba(6,182,212,0) 32%),
    radial-gradient(circle at 51% 105%, rgba(6,182,212,.36) 0, rgba(6,182,212,0) 38%),
    linear-gradient(135deg, #17212D 0%, var(--pb-navy) 52%, #16222E 100%);
}

.pb-login-page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 180px 180px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.92), rgba(0,0,0,.35));
}

.pb-login-left,
.pb-login-right {
  position: relative;
  align-self: stretch;
  z-index: 1;
  min-width: 0;
}

.pb-login-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 34px 0 18px 4px;
}

.pb-login-right {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  padding: 0 4px 24px 0;
}

.pb-login-ideas {
  display: grid;
  gap: 9px;
  color: rgba(255,255,255,.78);
  font-size: 16px;
  letter-spacing: .23em;
  font-weight: 500;
}

.pb-login-ideas strong {
  color: var(--pb-cyan);
  font-size: 17px;
  letter-spacing: .19em;
}

.pb-login-ideas i,
.pb-login-solution-note i {
  display: block;
  width: 58px;
  height: 4px;
  margin-top: 12px;
  border-radius: 999px;
  background: var(--pb-cyan);
}

.pb-login-brand-note,
.pb-login-solution-note {
  color: rgba(255,255,255,.72);
  letter-spacing: .20em;
  font-size: 12px;
  line-height: 1.65;
}

.pb-login-brand-note p {
  margin-top: 4px;
  color: rgba(255,255,255,.68);
  letter-spacing: .02em;
  line-height: 1.45;
  font-size: 14px;
}

.pb-login-solution-note {
  display: grid;
  gap: 3px;
  text-align: left;
}

.pb-login-center {
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.pb-login-card {
  width: min(100%, 660px);
  padding: 40px 50px 44px;
  background: rgba(255,255,255,.985);
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 22px;
  box-shadow:
    0 28px 80px rgba(5,16,30,.35),
    0 5px 22px rgba(5,16,30,.12);
}

.pb-login-logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 22px;
}

.pb-login-logo {
  display: block;
  width: 98px;
  height: 98px;
  object-fit: contain;
  object-position: center;
  margin-bottom: 8px;
}

.pb-login-wordmark {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}

.pb-login-wordmark strong {
  color: var(--pb-navy);
  font-size: 27px;
  letter-spacing: .02em;
  font-weight: 900;
}

.pb-login-wordmark strong span {
  color: var(--pb-cyan);
}

.pb-login-wordmark small {
  margin-top: 8px;
  color: #53657D;
  font-size: 10px;
  letter-spacing: .47em;
  padding-left: .47em;
}

.pb-login-header {
  text-align: center;
  margin-bottom: 30px;
}

.pb-login-header h1 {
  color: var(--pb-navy);
  margin: 0 0 6px;
  font-size: clamp(31px, 3vw, 42px);
  font-weight: 800;
  letter-spacing: -.035em;
}

.pb-login-header p {
  color: #718096;
  font-size: 16px;
}

.pb-login-form {
  display: grid;
  gap: 19px;
}

.pb-login-validation,
.pb-field-error {
  color: #B42318;
  font-size: 13px;
}

.pb-login-validation:empty,
.pb-field-error:empty {
  display: none;
}

.pb-field {
  display: grid;
  gap: 8px;
}

.pb-field > label {
  color: var(--pb-navy);
  font-size: 14px;
  font-weight: 650;
}

.pb-input-shell {
  position: relative;
  display: flex;
  align-items: center;
}

.pb-input-shell input {
  width: 100%;
  min-height: 54px;
  padding: 0 50px 0 48px;
  border: 1px solid #CFD8E5;
  border-radius: 10px;
  outline: none;
  background: white;
  color: var(--pb-navy);
  font-size: 16px;
  transition:
    border-color .16s ease,
    box-shadow .16s ease,
    background .16s ease;
}

.pb-input-shell input::placeholder {
  color: #8FA0B6;
}

.pb-input-shell input:focus {
  border-color: var(--pb-cyan);
  box-shadow: 0 0 0 4px rgba(6,182,212,.12);
}

.pb-input-icon {
  position: absolute;
  left: 16px;
  z-index: 2;
  width: 21px;
  height: 21px;
  color: #64748B;
  pointer-events: none;
}

.pb-input-icon svg,
.pb-password-toggle svg,
.pb-login-button svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pb-password-toggle {
  position: absolute;
  right: 10px;
  z-index: 2;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #64748B;
  cursor: pointer;
}

.pb-password-toggle:hover,
.pb-password-toggle:focus-visible {
  color: var(--pb-cyan);
  background: rgba(6,182,212,.08);
  outline: none;
}

.pb-password-toggle svg {
  width: 21px;
  height: 21px;
}

.pb-login-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-top: 1px;
}

.pb-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--pb-navy);
  font-size: 14px;
  cursor: pointer;
}

.pb-checkbox input {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  margin: 0;
  padding: 0;
  border: 1.5px solid #94A3B8;
  border-radius: 5px;
  background: white;
  cursor: pointer;
  display: grid;
  place-content: center;
}

.pb-checkbox input::before {
  content: "";
  width: 10px;
  height: 6px;
  border-left: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(-45deg) scale(0);
  transition: transform .12s ease;
  margin-top: -2px;
}

.pb-checkbox input:checked {
  background: var(--pb-cyan);
  border-color: var(--pb-cyan);
}

.pb-checkbox input:checked::before {
  transform: rotate(-45deg) scale(1);
}

.pb-recovery-disabled {
  color: var(--pb-cyan);
  font-size: 14px;
  cursor: default;
  white-space: nowrap;
}

.pb-login-button {
  min-height: 56px;
  width: 100%;
  border: none;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  background: var(--pb-cyan);
  color: white;
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(6,182,212,.18);
  transition:
    transform .15s ease,
    filter .15s ease,
    box-shadow .15s ease;
}

.pb-login-button svg {
  width: 21px;
  height: 21px;
}

.pb-login-button:hover {
  filter: brightness(.97);
  transform: translateY(-1px);
  box-shadow: 0 13px 30px rgba(6,182,212,.25);
}

.pb-login-button:active {
  transform: translateY(0);
}

/* Decorative PixelBoom squares */

.pb-bg-shape {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(255,255,255,.035);
  background: rgba(82,118,153,.14);
  border-radius: 22px;
}

.pb-bg-shape-a {
  width: 180px;
  height: 150px;
  left: -28px;
  top: 46%;
}

.pb-bg-shape-b {
  width: 95px;
  height: 95px;
  left: 125px;
  top: 60%;
}

.pb-bg-shape-c {
  width: 140px;
  height: 140px;
  right: 44px;
  bottom: 66px;
  background: rgba(6,182,212,.11);
}

.pb-bg-shape-d {
  width: 88px;
  height: 88px;
  right: 175px;
  bottom: 155px;
  background: rgba(255,255,255,.055);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {
  .pb-login-page {
    grid-template-columns: minmax(100px, .55fr) minmax(500px, 620px) minmax(100px, .55fr);
    padding: 42px 28px;
  }

  .pb-login-ideas {
    font-size: 13px;
  }

  .pb-login-brand-note,
  .pb-login-solution-note {
    font-size: 10px;
  }
}

@media (max-width: 880px) {
  .app {
    grid-template-columns: 1fr;
  }

  .sidebar {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }

  nav {
    grid-template-columns: repeat(4, 1fr);
  }

  .metrics {
    grid-template-columns: 1fr 1fr;
  }

  .pb-login-page {
    grid-template-columns: 1fr;
    padding: 32px 20px;
  }

  .pb-login-left,
  .pb-login-right {
    display: none;
  }

  .pb-login-card {
    width: min(100%, 590px);
    padding: 36px 38px 40px;
  }
}

@media (max-width: 650px) {
  .content {
    padding: 20px;
  }

  .metrics,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .wide,
  .form-actions {
    grid-column: auto;
  }

  .page-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    grid-template-columns: 1fr 1fr;
  }

  .pb-login-page {
    padding: 22px 14px;
    align-items: center;
  }

  .pb-login-card {
    border-radius: 18px;
    padding: 28px 22px 30px;
  }

  .pb-login-logo {
    width: 82px;
    height: 82px;
  }

  .pb-login-wordmark strong {
    font-size: 23px;
  }

  .pb-login-header {
    margin-bottom: 25px;
  }

  .pb-login-options {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .pb-recovery-disabled {
    white-space: normal;
  }
}


/* =========================================================
   v0.3.1 AUTH LAYOUT ISOLATION
   ========================================================= */

html:has(body.pb-auth-body),
body.pb-auth-body {
  width: 100%;
  min-width: 100%;
  min-height: 100vh;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden;
  background: #1E2836;
}

body.pb-auth-body > .pb-login-page {
  width: 100vw !important;
  max-width: none !important;
  min-height: 100vh !important;
  margin: 0 !important;
}

body.pb-auth-body .pb-login-card {
  min-height: 0;
}

@media (min-width: 881px) {
  body.pb-auth-body .pb-login-center {
    min-height: calc(100vh - 108px);
  }
}


/* =========================================================
   v0.4 USER ADMINISTRATION
   ========================================================= */
.pb-alert {
  margin-bottom: 18px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
}

.pb-alert-success {
  color: #0f5132;
  background: #d1e7dd;
  border: 1px solid #badbcc;
}

.pb-alert-error {
  color: #842029;
  background: #f8d7da;
  border: 1px solid #f5c2c7;
}

.pb-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.pb-table-secondary {
  margin-top: 4px;
  color: #718096;
  font-size: 12px;
}

.pb-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
}

.pb-status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
}

.pb-status.is-active {
  color: #087a66;
}

.pb-status.is-active::before {
  background: #10b981;
}

.pb-status.is-inactive {
  color: #9a3412;
}

.pb-status.is-inactive::before {
  background: #f97316;
}

.pb-linked {
  color: #087a66;
  font-size: 12px;
  font-weight: 700;
}

.pb-unlinked {
  color: #718096;
  font-size: 12px;
}

.pb-actions-cell {
  display: flex;
  gap: 10px;
  align-items: center;
  white-space: nowrap;
}

.pb-actions-cell form {
  margin: 0;
}

.pb-action-link {
  color: #06B6D4;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

.pb-action-button {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
}

.pb-user-form {
  max-width: 920px;
}

.pb-gp-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 18px;
  border-radius: 12px;
  background: #F7F9FC;
  border: 1px solid #E2E8F0;
}

.pb-check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  align-self: end;
  min-height: 46px;
}

.pb-check-row input {
  width: 20px;
  height: 20px;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.pb-secondary-button {
  display: inline-block;
  padding: 11px 16px;
  border-radius: 10px;
  border: 1px solid #CBD5E1;
  color: #1E2836;
  background: white;
  text-decoration: none;
  font-weight: 700;
}


.pb-commission-policy {
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid #D9E3EC;
  border-radius: 10px;
  background: #FFFFFF;
}

.pb-commission-title {
  color: #64748B;
  font-size: 13px;
}

.pb-commission-policy strong {
  color: #1E2836;
  font-size: 18px;
}

.pb-commission-policy small {
  color: #718096;
  line-height: 1.4;
}

.pb-commission-rules {
  margin-top: 20px;
}

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

.pb-rule-card {
  padding: 18px;
  border-radius: 12px;
  background: #F7F9FC;
  border: 1px solid #E2E8F0;
}

.pb-rule-card span {
  display: block;
  color: #64748B;
  font-size: 13px;
  margin-bottom: 8px;
}

.pb-rule-card strong {
  color: #06B6D4;
  font-size: 24px;
}

@media (max-width: 720px) {
  .pb-rule-grid {
    grid-template-columns: 1fr;
  }
}

.pb-delete-button { color:#DC2626; font-size:13px; font-weight:700; }
.pb-delete-button:hover { color:#B91C1C; text-decoration:underline; }

/* =========================================================
   FORM VALIDATION
   ========================================================= */

.pb-validation-box {
    margin-bottom: 20px;
    padding: 16px 18px;

    border: 1px solid #FCA5A5;
    border-left: 4px solid #DC2626;
    border-radius: 12px;

    background: #FEF2F2;

    color: #991B1B;

    font-size: 14px;
    line-height: 1.5;
}

.pb-validation-box strong {
    display: block;

    margin-bottom: 4px;

    color: #991B1B;

    font-size: 14px;
    font-weight: 800;
}

.pb-validation-box p {
    margin: 0 0 8px;

    color: #B91C1C;
}

.pb-validation-box ul {
    margin: 0;
    padding-left: 20px;
}

.pb-validation-box li {
    margin: 4px 0;
}

.pb-field-error {
    display: block;

    margin-top: 4px;

    color: #DC2626;

    font-size: 12px;
    font-weight: 600;
}

.pb-field-error:empty {
    display: none;
}

input.input-validation-error,
select.input-validation-error,
textarea.input-validation-error {
    border-color: #DC2626 !important;

    box-shadow:
        0 0 0 3px rgba(220, 38, 38, 0.08);
}

/* =========================================================
   OPPORTUNITY FORM
   ========================================================= */

.pb-opportunity-form {
    max-width: 1200px;
}

.pb-form-section {
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid #E5EAF0;
}

.pb-form-section:last-of-type {
    border-bottom: none;
}

.pb-form-section-header {
    margin-bottom: 20px;
}

.pb-form-section-header h2 {
    margin: 0 0 5px;

    color: #1E2836;

    font-size: 18px;
    font-weight: 800;
}

.pb-form-section-header p {
    margin: 0;

    color: #718096;

    font-size: 13px;
}

.pb-field-help {
    display: block;

    margin-top: 6px;

    color: #8492A6;

    font-size: 11px;
    line-height: 1.4;
}

.pb-next-action-section {
    padding: 22px;

    border: 1px solid #CDECF2;
    border-radius: 12px;

    background: #F4FBFD;
}

.pb-next-action-section .pb-form-section-header h2 {
    color: #1E2836;
}

.pb-next-action-section .pb-form-section-header p {
    color: #60758B;
}
/* =========================================================
   DISCOVERY CANVAS
   ========================================================= */

.pb-discovery-canvas {
    max-width: 1200px;
}

.pb-canvas-context {
    margin-bottom: 20px;
}

.pb-canvas-context-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.pb-canvas-context-grid > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pb-canvas-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #8492A6;
}

.pb-canvas-context-grid strong {
    color: #1E2836;
    font-size: 14px;
}

.pb-canvas-section {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 18px;

    margin-bottom: 26px;
    padding-bottom: 26px;

    border-bottom: 1px solid #E5EAF0;
}

.pb-canvas-section:last-of-type {
    border-bottom: none;
}

.pb-canvas-section-number {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: #1E2836;
    color: #FFFFFF;

    font-weight: 800;
    font-size: 15px;
}

.pb-canvas-section-content {
    min-width: 0;
}

.pb-canvas-section-header {
    margin-bottom: 18px;
}

.pb-canvas-section-header h2 {
    margin: 0 0 4px;

    color: #1E2836;

    font-size: 17px;
    font-weight: 800;
}

.pb-canvas-section-header p {
    margin: 0;

    color: #718096;

    font-size: 13px;
}

.pb-canvas-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;

    margin-bottom: 18px;
}

.pb-canvas-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;

    padding: 14px;

    border: 1px solid #E4E9EF;
    border-radius: 10px;

    background: #FFFFFF;

    cursor: pointer;
}

.pb-canvas-checkbox:hover {
    border-color: #06B6D4;
}

.pb-canvas-checkbox input {
    width: auto;
    margin-top: 2px;
}

.pb-canvas-checkbox span {
    color: #3B4654;

    font-size: 13px;
    line-height: 1.4;
}

.pb-canvas-checkbox strong {
    color: #1E2836;
}

.pb-discovery-questions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pb-discovery-questions label {
    display: grid;
    grid-template-columns: 24px 1fr;
    align-items: center;
    gap: 8px;

    color: #1E2836;
    font-weight: 700;
}

.pb-canvas-next-step {
    padding: 20px;

    border: 1px solid #BFEAF1;
    border-radius: 12px;

    background: #F5FCFD;
}

.pb-canvas-next-step .pb-canvas-section-number {
    background: #06B6D4;
}

@media (max-width: 900px) {

    .pb-canvas-context-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pb-canvas-options {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 650px) {

    .pb-canvas-context-grid {
        grid-template-columns: 1fr;
    }

    .pb-canvas-section {
        grid-template-columns: 1fr;
    }

    .pb-canvas-section-number {
        margin-bottom: 4px;
    }
}
/* =========================================================
   DISCOVERY CANVAS - DETAILS
   ========================================================= */

.pb-page-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.pb-canvas-summary {
    margin-bottom: 20px;
}

.pb-canvas-summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.pb-canvas-summary-header > div:first-child {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.pb-canvas-summary-header strong {
    font-size: 18px;
    color: #1E2836;
}

.pb-canvas-progress {
    min-width: 280px;

    display: flex;
    align-items: center;
    gap: 12px;
}

.pb-canvas-progress-track {
    flex: 1;
    height: 9px;

    overflow: hidden;

    border-radius: 999px;

    background: #E8EEF3;
}

.pb-canvas-progress-value {
    height: 100%;

    border-radius: 999px;

    background: #06B6D4;
}

.pb-canvas-progress span {
    min-width: 42px;

    color: #1E2836;

    font-size: 13px;
    font-weight: 800;
}

.pb-canvas-read-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 14px;
}

.pb-canvas-read-grid > div {
    display: flex;
    flex-direction: column;

    min-height: 72px;

    padding: 14px;

    border: 1px solid #E5EAF0;
    border-radius: 10px;

    background: #FAFBFC;
}

.pb-canvas-read-grid span {
    margin-bottom: 6px;

    color: #8492A6;

    font-size: 11px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: .04em;
}

.pb-canvas-read-grid strong {
    color: #1E2836;

    font-size: 14px;
}

.pb-canvas-text-block {
    padding: 16px;

    border: 1px solid #E5EAF0;
    border-radius: 10px;

    background: #FAFBFC;

    color: #3B4654;

    white-space: pre-wrap;
    line-height: 1.6;
}

.pb-canvas-text-block strong {
    display: block;

    margin-bottom: 8px;

    color: #1E2836;
}

.pb-canvas-text-block p {
    margin: 0;
}

.pb-canvas-findings-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 14px;
}

.pb-canvas-finding {
    padding: 16px;

    border: 1px solid #E5EAF0;
    border-radius: 10px;

    background: #FAFBFC;
}

.pb-canvas-finding span {
    display: block;

    margin-bottom: 8px;

    color: #1E2836;

    font-size: 13px;
    font-weight: 800;
}

.pb-canvas-finding p {
    margin: 0;

    color: #536171;

    font-size: 13px;
    line-height: 1.6;

    white-space: pre-wrap;
}

.pb-canvas-tag-grid {
    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    margin-bottom: 16px;
}

.pb-canvas-tag {
    display: inline-flex;

    align-items: center;

    padding: 8px 12px;

    border: 1px solid #BDEAF0;
    border-radius: 999px;

    background: #EFFBFD;

    color: #087D91;

    font-size: 12px;
    font-weight: 700;
}

.pb-canvas-question-list {
    display: flex;
    flex-direction: column;

    gap: 10px;
}

.pb-canvas-question-list > div {
    display: grid;

    grid-template-columns:
        32px 1fr;

    gap: 8px;

    padding: 12px 14px;

    border: 1px solid #E5EAF0;
    border-radius: 9px;

    background: #FAFBFC;
}

.pb-canvas-question-list span {
    color: #06B6D4;

    font-weight: 800;
}

.pb-canvas-question-list p {
    margin: 0;

    color: #3B4654;
}

.pb-muted {
    color: #8492A6;

    font-size: 13px;
}

.pb-success-message {
    margin-bottom: 18px;

    padding: 13px 16px;

    border: 1px solid #BDEBD0;
    border-radius: 9px;

    background: #F0FBF5;

    color: #237A45;

    font-size: 13px;
    font-weight: 600;
}

@media (max-width: 900px) {

    .pb-canvas-summary-header {
        flex-direction: column;
        align-items: stretch;
    }

    .pb-canvas-progress {
        min-width: 0;
    }

    .pb-canvas-read-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .pb-canvas-findings-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 650px) {

    .pb-page-actions {
        width: 100%;

        flex-direction: column;

        align-items: stretch;
    }

    .pb-canvas-read-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   OPPORTUNITY EXPEDIENT
   ========================================================= */

.pb-opportunity-eyebrow,
.pb-module-kicker {
    display: block;
    margin-bottom: 5px;
    color: #06B6D4;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .09em;
}

.pb-opportunity-stage-panel {
    margin-bottom: 20px;
}

.pb-opportunity-stage-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.pb-opportunity-stage-main h2 {
    margin: 5px 0 0;
    color: #1E2836;
    font-size: 20px;
}

.pb-stage-probability {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.pb-stage-probability span {
    color: #8492A6;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
}

.pb-stage-probability strong {
    color: #1E2836;
    font-size: 24px;
}

.pb-stage-progress {
    margin-top: 18px;
}

.pb-stage-progress-track {
    width: 100%;
    height: 8px;
    background: #E8EEF3;
    border-radius: 100px;
    overflow: hidden;
}

.pb-stage-progress-value {
    height: 100%;
    background: #06B6D4;
    border-radius: 100px;
}

.pb-stage-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 18px;
}

.pb-section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.pb-section-title h2,
.pb-module-header h2 {
    margin: 0 0 4px;
    color: #1E2836;
    font-size: 18px;
}

.pb-section-title p,
.pb-module-header p {
    margin: 0;
    color: #718096;
    font-size: 13px;
}

.pb-opportunity-info-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.pb-opportunity-info-grid > div {
    display: flex;
    flex-direction: column;
    min-height: 76px;
    padding: 14px;
    border: 1px solid #E5EAF0;
    border-radius: 10px;
    background: #FAFBFC;
}

.pb-opportunity-info-grid span,
.pb-next-action-content span,
.pb-module-completed span {
    margin-bottom: 5px;
    color: #8492A6;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.pb-opportunity-info-grid strong,
.pb-next-action-content strong {
    color: #1E2836;
    font-size: 14px;
}

.pb-opportunity-info-grid small {
    margin-top: 3px;
    color: #718096;
}

.pb-next-action-card {
    border-left: 3px solid #06B6D4;
}

.pb-next-action-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 14px;
}

.pb-next-action-content > div {
    display: flex;
    flex-direction: column;
    padding: 14px;
    border-radius: 9px;
    background: #F7FAFC;
}

.pb-commercial-module {
    margin-top: 20px;
}

.pb-module-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.pb-module-progress {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.pb-module-progress strong {
    color: #06B6D4;
    font-size: 24px;
}

.pb-module-progress span {
    color: #8492A6;
    font-size: 11px;
}

.pb-empty-module {
    padding: 22px;
    border: 1px dashed #CDD7E2;
    border-radius: 10px;
    background: #FAFBFC;
}

.pb-empty-module strong {
    display: block;
    margin-bottom: 5px;
    color: #1E2836;
}

.pb-empty-module p {
    margin: 0 0 16px;
    color: #718096;
    font-size: 13px;
}

.pb-module-completed {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px;
    border: 1px solid #BDEAF0;
    border-radius: 10px;
    background: #F5FCFD;
}

.pb-module-completed > div:first-child {
    display: flex;
    flex-direction: column;
}

.pb-module-completed strong {
    color: #06B6D4;
    font-size: 22px;
}

.pb-module-buttons {
    display: flex;
    gap: 10px;
}

@media (max-width: 950px) {
    .pb-opportunity-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .pb-opportunity-info-grid,
    .pb-next-action-content {
        grid-template-columns: 1fr;
    }

    .pb-opportunity-stage-main,
    .pb-module-header,
    .pb-module-completed {
        flex-direction: column;
        align-items: stretch;
    }

    .pb-stage-probability,
    .pb-module-progress {
        align-items: flex-start;
    }

    .pb-module-buttons {
        flex-direction: column;
    }
}

/* =========================================================
   PIPELINE LINKS
   ========================================================= */

.pb-opportunity-link {
    color: #1E2836;
    font-weight: 800;
    text-decoration: none;
}

.pb-opportunity-link:hover {
    color: #06B6D4;
}

.pb-table-secondary {
    margin-top: 4px;
    color: #8492A6;
    font-size: 12px;
}

.pb-stage-badge {
    display: inline-flex;
    align-items: center;

    padding: 6px 9px;

    border-radius: 999px;

    background: #F0F4F7;

    color: #425466;

    font-size: 11px;
    font-weight: 700;

    white-space: nowrap;
}

.pb-attention-text {
    color: #B7791F;
    font-size: 12px;
    font-weight: 700;
}

/* =========================================================
   PIXELBOOM PIPELINE V2
   ========================================================= */

.pb-pipeline-page {
    width: 100%;
}

.pb-pipeline-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}

.pb-pipeline-header h1 {
    margin: 0;
    color: #1E2836;
    font-size: 36px;
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.pb-pipeline-header p {
    margin: 8px 0 0;
    color: #7A899E;
    font-size: 17px;
}

.pb-primary-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    min-height: 48px;

    padding: 0 22px;

    border: none;
    border-radius: 14px;

    background: #06B6D4;
    color: #FFFFFF;

    font-size: 14px;
    font-weight: 800;
    text-decoration: none;

    box-shadow: 0 8px 20px rgba(6, 182, 212, 0.14);

    transition:
        transform .15s ease,
        box-shadow .15s ease,
        background .15s ease;
}

.pb-primary-action:hover {
    transform: translateY(-1px);

    background: #05A8C5;
    color: #FFFFFF;

    box-shadow: 0 12px 24px rgba(6, 182, 212, 0.20);
}

.pb-action-plus {
    font-size: 20px;
    line-height: 1;
}


/* =========================================================
   KPI CARDS
   ========================================================= */

.pb-pipeline-kpis {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 18px;

    margin-bottom: 26px;
}

.pb-kpi-card {
    position: relative;

    display: flex;
    align-items: flex-start;
    gap: 16px;

    min-height: 145px;

    padding: 24px;

    overflow: hidden;

    border: 1px solid #DDE6EE;
    border-radius: 18px;

    background: #FFFFFF;

    box-shadow:
        0 8px 28px rgba(30, 40, 54, 0.045);
}

.pb-kpi-card::before {
    content: "";

    position: absolute;
    top: 0;
    left: 0;

    width: 3px;
    height: 100%;

    background: #06B6D4;
}

.pb-kpi-icon {
    flex: 0 0 auto;

    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 15px;

    background: rgba(6, 182, 212, 0.10);

    color: #06B6D4;

    font-size: 25px;
    font-weight: 800;
}

.pb-kpi-icon-muted {
    background: #EFF4F8;
    color: #415A77;
}

.pb-kpi-content {
    display: flex;
    flex-direction: column;

    min-width: 0;
}

.pb-kpi-label {
    margin-top: 1px;
    margin-bottom: 7px;

    color: #1E2836;

    font-size: 13px;
    font-weight: 800;
}

.pb-kpi-content strong {
    margin-bottom: 7px;

    color: #132033;

    font-size: 28px;
    line-height: 1;
    font-weight: 800;

    letter-spacing: -0.03em;
}

.pb-kpi-content small {
    color: #7A899E;

    font-size: 12px;
    line-height: 1.45;
}


/* =========================================================
   PANEL
   ========================================================= */

.pb-pipeline-panel {
    overflow: hidden;

    border: 1px solid #DCE5ED;
    border-radius: 20px;

    background: #FFFFFF;

    box-shadow:
        0 10px 35px rgba(30, 40, 54, 0.05);
}


/* =========================================================
   TOOLBAR
   ========================================================= */

.pb-pipeline-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 18px;

    padding: 20px 24px;
}

.pb-search-box {
    position: relative;

    width: min(100%, 550px);
}

.pb-search-box input {
    width: 100%;

    height: 46px;

    padding:
        0 16px
        0 44px;

    border: 1px solid #D8E2EB;
    border-radius: 12px;

    background: #FFFFFF;

    color: #1E2836;

    font-size: 13px;

    outline: none;
}

.pb-search-box input::placeholder {
    color: #8492A6;
}

.pb-search-box input:focus {
    border-color: #06B6D4;

    box-shadow:
        0 0 0 3px rgba(6, 182, 212, 0.08);
}

.pb-search-icon {
    position: absolute;

    left: 16px;
    top: 50%;

    transform: translateY(-50%);

    color: #6F8095;

    font-size: 20px;

    pointer-events: none;
}

.pb-toolbar-filters {
    display: flex;
    align-items: center;

    gap: 12px;
}

.pb-filter-select {
    min-width: 190px;

    height: 46px;

    padding: 0 38px 0 14px;

    border: 1px solid #D8E2EB;
    border-radius: 12px;

    background: #FFFFFF;

    color: #1E2836;

    font-size: 13px;
    font-weight: 600;

    outline: none;

    cursor: pointer;
}

.pb-filter-select:focus {
    border-color: #06B6D4;
}


/* =========================================================
   TABLE
   ========================================================= */

.pb-pipeline-table-wrap {
    width: 100%;

    overflow-x: auto;

    padding: 0 24px;
}

.pb-pipeline-table {
    width: 100%;

    border-collapse: collapse;

    table-layout: auto;
}

.pb-pipeline-table thead {
    background: #F5F8FA;
}

.pb-pipeline-table th {
    padding: 14px 16px;

    color: #63758B;

    font-size: 10px;
    font-weight: 800;

    text-align: left;

    text-transform: uppercase;
    letter-spacing: .055em;

    white-space: nowrap;
}

.pb-pipeline-table td {
    padding: 22px 16px;

    border-bottom: 1px solid #E9EEF3;

    color: #1E2836;

    font-size: 13px;

    vertical-align: middle;
}

.pb-pipeline-table tbody tr {
    transition:
        background .15s ease;
}

.pb-pipeline-table tbody tr:hover {
    background: #FBFDFE;
}


/* =========================================================
   OPPORTUNITY CELL
   ========================================================= */

.pb-opportunity-cell,
.pb-contact-cell,
.pb-gp-cell,
.pb-activity-cell {
    display: flex;
    align-items: center;

    gap: 11px;
}

.pb-company-icon,
.pb-contact-icon,
.pb-activity-icon {
    flex: 0 0 auto;

    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #F0F4F8;

    color: #566B84;

    font-size: 16px;
    font-weight: 700;
}

.pb-activity-icon {
    background: rgba(6, 182, 212, 0.10);

    color: #06B6D4;
}

.pb-opportunity-cell > div:last-child,
.pb-contact-cell > div:last-child,
.pb-activity-cell > div:last-child {
    display: flex;
    flex-direction: column;

    min-width: 0;
}

.pb-opportunity-title {
    color: #06B6D4;

    font-size: 13px;
    font-weight: 800;

    text-decoration: none;

    white-space: nowrap;
}

.pb-opportunity-title:hover {
    color: #048DA5;
}

.pb-opportunity-company {
    margin-top: 4px;

    color: #718096;

    font-size: 12px;
}


/* =========================================================
   CONTACT
   ========================================================= */

.pb-contact-cell strong,
.pb-activity-cell strong {
    color: #1E2836;

    font-size: 12px;
    font-weight: 700;
}

.pb-contact-cell small,
.pb-activity-cell small {
    margin-top: 3px;

    color: #7A899E;

    font-size: 11px;
}


/* =========================================================
   GROWTH PARTNER
   ========================================================= */

.pb-gp-avatar {
    flex: 0 0 auto;

    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(6, 182, 212, 0.12);

    color: #06B6D4;

    font-size: 12px;
    font-weight: 800;
}

.pb-gp-cell span {
    white-space: nowrap;

    color: #1E2836;

    font-size: 12px;
    font-weight: 600;
}


/* =========================================================
   STAGE
   ========================================================= */

.pb-stage-pill {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    max-width: 180px;

    padding: 8px 12px;

    border-radius: 999px;

    background: #F1F4F7;

    color: #475D75;

    font-size: 11px;
    font-weight: 700;

    line-height: 1.2;
}

.pb-stage-dot {
    flex: 0 0 auto;

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #61758E;
}


/* =========================================================
   PROBABILITY
   ========================================================= */

.pb-probability {
    color: #132033;

    font-size: 13px;
    font-weight: 800;
}


/* =========================================================
   VALUE
   ========================================================= */

.pb-value-cell,
.pb-close-cell {
    display: flex;
    flex-direction: column;
}

.pb-value-cell strong,
.pb-close-cell strong {
    color: #132033;

    font-size: 13px;
    font-weight: 800;

    white-space: nowrap;
}

.pb-value-cell small,
.pb-close-cell small {
    margin-top: 4px;

    color: #8492A6;

    font-size: 10px;
}


/* =========================================================
   ACTIONS
   ========================================================= */

.pb-row-action {
    width: 38px;
    height: 38px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #DCE5ED;
    border-radius: 10px;

    background: #FFFFFF;

    color: #3F536B;

    font-size: 15px;
    font-weight: 800;

    text-decoration: none;
}

.pb-row-action:hover {
    border-color: #06B6D4;

    color: #06B6D4;

    background: #F7FDFE;
}


/* =========================================================
   FOOTER
   ========================================================= */

.pb-pipeline-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 18px 24px;

    color: #6F8095;

    font-size: 12px;
}


/* =========================================================
   EMPTY
   ========================================================= */

.pb-pipeline-empty {
    padding: 70px 30px;

    text-align: center;
}

.pb-pipeline-empty strong {
    display: block;

    margin-bottom: 7px;

    color: #1E2836;

    font-size: 16px;
}

.pb-pipeline-empty p {
    margin:
        0
        auto
        20px;

    max-width: 420px;

    color: #7A899E;

    font-size: 13px;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1180px) {

    .pb-pipeline-kpis {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .pb-pipeline-toolbar {
        flex-direction: column;

        align-items: stretch;
    }

    .pb-search-box {
        width: 100%;
    }

    .pb-toolbar-filters {
        width: 100%;
    }

    .pb-filter-select {
        flex: 1;

        min-width: 0;
    }

}


@media (max-width: 700px) {

    .pb-pipeline-header {
        flex-direction: column;

        align-items: stretch;
    }

    .pb-pipeline-header h1 {
        font-size: 30px;
    }

    .pb-primary-action {
        width: 100%;
    }

    .pb-pipeline-kpis {
        grid-template-columns: 1fr;
    }

    .pb-toolbar-filters {
        flex-direction: column;
    }

    .pb-filter-select {
        width: 100%;
    }

}

/* =========================================================
   CREATE OPPORTUNITY - PIXELBOOM
   ========================================================= */

.pb-opportunity-create-page {
    width: 100%;
}

.pb-create-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        320px;

    gap: 24px;

    align-items: start;
}

.pb-create-main {
    min-width: 0;
}

.pb-create-form {
    display: flex;
    flex-direction: column;

    gap: 20px;
}


/* =========================================================
   FORM CARD
   ========================================================= */

.pb-form-card {
    padding: 26px;

    border: 1px solid #DCE5ED;
    border-radius: 18px;

    background: #FFFFFF;

    box-shadow:
        0 8px 28px rgba(30, 40, 54, 0.045);
}

.pb-form-card-header {
    display: flex;
    align-items: flex-start;

    gap: 14px;

    margin-bottom: 24px;
}

.pb-form-step {
    flex: 0 0 auto;

    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    background: #1E2836;

    color: #FFFFFF;

    font-size: 13px;
    font-weight: 800;
}

.pb-form-card-header h2 {
    margin: 1px 0 4px;

    color: #1E2836;

    font-size: 17px;
    font-weight: 800;
}

.pb-form-card-header p {
    margin: 0;

    color: #7A899E;

    font-size: 13px;
}


/* =========================================================
   FORM GRID
   ========================================================= */

.pb-form-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 18px;
}

.pb-field {
    display: flex;
    flex-direction: column;

    gap: 8px;
}

.pb-field-wide {
    grid-column: 1 / -1;
}

.pb-field > span:first-child {
    color: #41546B;

    font-size: 12px;
    font-weight: 700;
}

.pb-field input,
.pb-field select,
.pb-field textarea {
    width: 100%;

    min-height: 46px;

    padding: 0 14px;

    border: 1px solid #D7E1EA;
    border-radius: 11px;

    background: #FFFFFF;

    color: #1E2836;

    font-size: 13px;

    outline: none;

    transition:
        border-color .15s ease,
        box-shadow .15s ease;
}

.pb-field textarea {
    min-height: 110px;

    padding-top: 12px;
    padding-bottom: 12px;

    resize: vertical;
}

.pb-field input:focus,
.pb-field select:focus,
.pb-field textarea:focus {
    border-color: #06B6D4;

    box-shadow:
        0 0 0 3px rgba(6, 182, 212, 0.08);
}

.pb-field input::placeholder,
.pb-field textarea::placeholder {
    color: #A0AABA;
}


/* =========================================================
   NEXT STEP CARD
   ========================================================= */

.pb-next-step-card {
    position: relative;

    overflow: hidden;
}

.pb-next-step-card::before {
    content: "";

    position: absolute;
    top: 0;
    left: 0;

    width: 3px;
    height: 100%;

    background: #06B6D4;
}

.pb-next-step-card .pb-form-step {
    background: #06B6D4;
}


/* =========================================================
   INFO BOX
   ========================================================= */

.pb-create-info {
    display: flex;
    align-items: flex-start;

    gap: 13px;

    padding: 17px 18px;

    border: 1px solid #CDECF2;
    border-radius: 13px;

    background: #F7FCFD;
}

.pb-create-info-icon {
    flex: 0 0 auto;

    width: 28px;
    height: 28px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(6, 182, 212, 0.12);

    color: #06B6D4;

    font-size: 13px;
    font-weight: 800;
}

.pb-create-info strong {
    display: block;

    margin-bottom: 4px;

    color: #1E2836;

    font-size: 13px;
}

.pb-create-info p {
    margin: 0;

    color: #718096;

    font-size: 12px;
    line-height: 1.55;
}


/* =========================================================
   ACTIONS
   ========================================================= */

.pb-create-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 12px;

    padding-top: 4px;
}


/* =========================================================
   SIDEBAR GUIDE
   ========================================================= */

.pb-create-sidebar {
    position: sticky;

    top: 24px;
}

.pb-create-guide {
    padding: 24px;

    border: 1px solid #DCE5ED;
    border-radius: 18px;

    background: #FFFFFF;

    box-shadow:
        0 8px 28px rgba(30, 40, 54, 0.045);
}

.pb-create-guide h3 {
    margin: 4px 0 22px;

    color: #1E2836;

    font-size: 17px;
    font-weight: 800;
}

.pb-process-line {
    position: relative;

    display: flex;
    flex-direction: column;

    gap: 0;
}

.pb-process-item {
    position: relative;

    display: flex;
    align-items: flex-start;

    gap: 12px;

    padding-bottom: 22px;
}

.pb-process-item:not(:last-child)::after {
    content: "";

    position: absolute;

    left: 15px;
    top: 31px;

    width: 1px;
    height: calc(100% - 9px);

    background: #DCE5ED;
}

.pb-process-number {
    position: relative;
    z-index: 1;

    flex: 0 0 auto;

    width: 31px;
    height: 31px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #D6E0E9;
    border-radius: 50%;

    background: #FFFFFF;

    color: #718096;

    font-size: 11px;
    font-weight: 800;
}

.pb-process-current .pb-process-number {
    border-color: #06B6D4;

    background: #06B6D4;

    color: #FFFFFF;
}

.pb-process-item strong {
    display: block;

    margin: 1px 0 3px;

    color: #1E2836;

    font-size: 12px;
    font-weight: 800;
}

.pb-process-item small {
    color: #8492A6;

    font-size: 11px;
    line-height: 1.4;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1000px) {

    .pb-create-layout {
        grid-template-columns: 1fr;
    }

    .pb-create-sidebar {
        position: static;
    }

}


@media (max-width: 650px) {

    .pb-form-grid {
        grid-template-columns: 1fr;
    }

    .pb-field-wide {
        grid-column: auto;
    }

    .pb-create-actions {
        flex-direction: column-reverse;

        align-items: stretch;
    }

    .pb-create-actions a,
    .pb-create-actions button {
        width: 100%;
    }

}

/* ============================================================
   PIXELBOOM CRM
   NUEVA OPORTUNIDAD
   ============================================================ */

.pb-opportunity-create {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 8px 0 40px;
}


/* ============================================================
   HEADER
   ============================================================ */

.pb-create-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px;
    margin-bottom: 28px;
}

.pb-create-header > div:first-child {
    max-width: 900px;
}

.pb-create-eyebrow {
    display: block;
    margin-bottom: 6px;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;

    color: #06B6D4;
}

.pb-create-header h1 {
    margin: 0;

    font-size: 38px;
    line-height: 1.1;
    font-weight: 800;

    color: #1E2836;
}

.pb-create-header p {
    margin: 10px 0 0;

    font-size: 16px;
    line-height: 1.6;

    color: #718096;
}

.pb-create-header-actions {
    flex-shrink: 0;
}


/* ============================================================
   LAYOUT
   ============================================================ */

.pb-create-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 28px;
    align-items: start;
}

.pb-create-main {
    min-width: 0;
}


/* ============================================================
   TARJETAS DEL FORMULARIO
   ============================================================ */

.pb-form-card {
    background: #FFFFFF;

    border: 1px solid #E3EAF1;
    border-radius: 18px;

    padding: 30px;

    margin-bottom: 22px;

    box-shadow:
        0 4px 16px rgba(30, 40, 54, 0.035);
}

.pb-form-card-header {
    display: flex;
    align-items: flex-start;

    gap: 18px;

    padding-bottom: 22px;
    margin-bottom: 26px;

    border-bottom: 1px solid #EDF1F5;
}

.pb-form-card-number {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    border-radius: 11px;

    background: rgba(6, 182, 212, 0.09);

    color: #06B6D4;

    font-size: 14px;
    font-weight: 800;
}

.pb-form-card-header h2 {
    margin: 1px 0 5px;

    font-size: 20px;
    font-weight: 800;

    color: #1E2836;
}

.pb-form-card-header p {
    margin: 0;

    font-size: 14px;
    line-height: 1.55;

    color: #7B8A9C;
}


/* ============================================================
   GRID DEL FORMULARIO
   ============================================================ */

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

.pb-form-group {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.pb-form-group-full {
    grid-column: 1 / -1;
}

.pb-form-label {
    margin-bottom: 8px;

    font-size: 13px;
    font-weight: 750;

    color: #42526A;
}

.pb-required {
    color: #06B6D4;
}


/* ============================================================
   INPUTS
   ============================================================ */

.pb-form-control {
    width: 100%;
    min-height: 46px;

    padding: 10px 13px;

    border: 1px solid #CBD5E1;
    border-radius: 10px;

    background: #FFFFFF;

    color: #1E2836;

    font-size: 14px;
    font-family: inherit;

    outline: none;

    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        background-color 0.18s ease;
}

.pb-form-control:hover {
    border-color: #AAB8C7;
}

.pb-form-control:focus {
    border-color: #06B6D4;

    box-shadow:
        0 0 0 3px rgba(6, 182, 212, 0.12);
}

.pb-form-control::placeholder {
    color: #A4AFBC;
}

.pb-form-control:disabled {
    background: #F4F7F9;
    color: #718096;
    cursor: not-allowed;
}

.pb-form-help {
    display: block;

    margin-top: 7px;

    font-size: 12px;
    line-height: 1.45;

    color: #8A98A8;
}

.pb-field-validation {
    margin-top: 5px;

    font-size: 12px;
    font-weight: 600;

    color: #B42318;
}


/* ============================================================
   ESTADO DE CONTACTOS
   ============================================================ */

.pb-contact-status {
    min-height: 18px;

    margin-top: 7px;

    font-size: 12px;
    line-height: 1.45;

    color: #718096;
}

.pb-contact-status a {
    color: #06B6D4;
    font-weight: 700;
    text-decoration: none;
}

.pb-contact-status a:hover {
    text-decoration: underline;
}


/* ============================================================
   ALERTA / VALIDACIÓN
   ============================================================ */

.pb-form-alert {
    margin-bottom: 22px;

    padding: 15px 18px;

    border: 1px solid rgba(30, 40, 54, 0.14);
    border-radius: 12px;

    background: #FFFFFF;

    color: #1E2836;
}

.pb-form-alert strong {
    display: block;
    margin-bottom: 5px;
}

.pb-validation-summary {
    margin-top: 8px;

    font-size: 13px;
    line-height: 1.5;
}


/* ============================================================
   INFO BOX
   ============================================================ */

.pb-create-info-box {
    display: flex;
    align-items: flex-start;

    gap: 14px;

    padding: 18px;

    margin-top: 2px;

    border: 1px solid rgba(6, 182, 212, 0.22);
    border-radius: 14px;

    background: rgba(6, 182, 212, 0.055);
}

.pb-create-info-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    flex: 0 0 38px;

    border-radius: 10px;

    background: #1E2836;

    color: #FFFFFF;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.pb-create-info-box strong {
    display: block;

    margin-bottom: 4px;

    font-size: 13px;

    color: #1E2836;
}

.pb-create-info-box p {
    margin: 0;

    font-size: 13px;
    line-height: 1.5;

    color: #718096;
}


/* ============================================================
   BOTONES
   ============================================================ */

.pb-create-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;

    gap: 12px;

    margin-top: 24px;
}

.pb-primary-button,
.pb-secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 44px;

    padding: 0 20px;

    border-radius: 10px;

    font-size: 13px;
    font-weight: 750;

    text-decoration: none;

    cursor: pointer;

    transition:
        transform 0.15s ease,
        background-color 0.15s ease,
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}

.pb-primary-button {
    border: 1px solid #06B6D4;

    background: #06B6D4;

    color: #FFFFFF;
}

.pb-primary-button:hover {
    transform: translateY(-1px);

    box-shadow:
        0 8px 18px rgba(6, 182, 212, 0.20);

    color: #FFFFFF;
}

.pb-secondary-button {
    border: 1px solid #D7E0E8;

    background: #FFFFFF;

    color: #1E2836;
}

.pb-secondary-button:hover {
    border-color: #BAC6D2;

    background: #F8FAFC;

    color: #1E2836;
}


/* ============================================================
   SIDEBAR PROCESO COMERCIAL
   ============================================================ */

.pb-create-sidebar {
    position: sticky;
    top: 24px;
}

.pb-process-card {
    overflow: hidden;

    background: #FFFFFF;

    border: 1px solid #E3EAF1;
    border-radius: 18px;

    box-shadow:
        0 4px 16px rgba(30, 40, 54, 0.035);
}

.pb-process-header {
    padding: 24px 24px 20px;

    border-bottom: 1px solid #EDF1F5;
}

.pb-process-header > span {
    display: block;

    margin-bottom: 7px;

    color: #06B6D4;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.pb-process-header h3 {
    margin: 0;

    font-size: 20px;
    font-weight: 800;

    color: #1E2836;
}

.pb-process-header p {
    margin: 10px 0 0;

    font-size: 13px;
    line-height: 1.55;

    color: #7B8A9C;
}


/* ============================================================
   FLOW
   ============================================================ */

.pb-process-flow {
    padding: 24px;
}

.pb-process-step {
    display: grid;

    grid-template-columns: 34px minmax(0, 1fr);

    gap: 13px;

    align-items: flex-start;
}

.pb-process-indicator {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    border-radius: 50%;

    border: 1px solid #D8E1E9;

    background: #FFFFFF;

    color: #718096;

    font-size: 12px;
    font-weight: 800;

    position: relative;
    z-index: 2;
}

.pb-process-step.active .pb-process-indicator {
    border-color: #06B6D4;

    background: #06B6D4;

    color: #FFFFFF;
}

.pb-process-step strong {
    display: block;

    margin-top: 1px;

    font-size: 13px;
    font-weight: 800;

    color: #1E2836;
}

.pb-process-step span {
    display: block;

    margin-top: 3px;

    font-size: 12px;
    line-height: 1.45;

    color: #7B8A9C;
}

.pb-process-line {
    width: 1px;
    height: 22px;

    margin-left: 16px;

    background: #DCE4EB;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1100px) {

    .pb-create-layout {
        grid-template-columns: 1fr;
    }

    .pb-create-sidebar {
        position: static;
    }

    .pb-process-flow {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 12px;
    }

    .pb-process-line {
        display: none;
    }

    .pb-process-step {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 760px) {

    .pb-create-header {
        flex-direction: column;
    }

    .pb-create-header h1 {
        font-size: 30px;
    }

    .pb-form-grid {
        grid-template-columns: 1fr;
    }

    .pb-form-group-full {
        grid-column: auto;
    }

    .pb-form-card {
        padding: 22px;
    }

    .pb-process-flow {
        display: block;
    }

    .pb-process-step {
        grid-template-columns: 34px minmax(0, 1fr);
    }

    .pb-process-line {
        display: block;
    }

    .pb-create-actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .pb-primary-button,
    .pb-secondary-button {
        width: 100%;
    }
}

/* =========================================================
   PIXELBOOM CRM — EQUIPO COMERCIAL / SENIOR
   ========================================================= */

.pb-senior-team {
    margin-top: 28px;
    padding: 24px;
    border: 1px solid #dbe3ec;
    border-radius: 18px;
    background: #ffffff;
}

.pb-senior-team-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.pb-senior-team-eyebrow {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #06B6D4;
}

.pb-senior-team-header h3 {
    margin: 0 0 6px;
    font-size: 24px;
    font-weight: 800;
    color: #1E2836;
}

.pb-senior-team-header p {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    color: #6f7f93;
}

.pb-senior-team-count {
    min-width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #eefafd;
    color: #06B6D4;
    font-size: 18px;
    font-weight: 800;
}

.pb-senior-team-list {
    display: grid;
    gap: 12px;
}

.pb-senior-team-member {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 18px;
    border: 1px solid #e4eaf1;
    border-radius: 14px;
    background: #f8fafc;
}

.pb-senior-team-member-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pb-senior-team-member-info strong {
    font-size: 16px;
    font-weight: 800;
    color: #1E2836;
}

.pb-senior-team-member-info span {
    font-size: 14px;
    color: #718198;
}

.pb-senior-team-member-status {
    flex-shrink: 0;
}

.pb-team-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.pb-team-status.active {
    background: #e8f8f1;
    color: #16865c;
}

.pb-team-status.inactive {
    background: #eef1f5;
    color: #6f7f93;
}

.pb-senior-team-empty {
    padding: 18px;
    border: 1px dashed #cfd8e3;
    border-radius: 14px;
    background: #f8fafc;
    font-size: 14px;
    color: #718198;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 700px) {

    .pb-senior-team {
        padding: 18px;
    }

    .pb-senior-team-header {
        flex-direction: column;
    }

    .pb-senior-team-member {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* =========================================================
   USER ACCOUNT SECURITY
   ========================================================= */

.pb-security-section {
    max-width: 920px;
    margin-top: 34px;
}

.pb-security-header {
    margin-bottom: 18px;
}

.pb-security-header h2 {
    margin: 0 0 6px;
    color: #1E2836;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.pb-security-header p {
    margin: 0;
    color: #718096;
    font-size: 14px;
    line-height: 1.5;
}

.pb-security-form {
    margin-top: 0;
}

@media (max-width: 650px) {
    .pb-security-section {
        margin-top: 26px;
    }

    .pb-security-header h2 {
        font-size: 20px;
    }
}
/* =========================================================
   PIXELBOOM CRM — DESIGN SYSTEM V2
   Scope: authenticated application shell only.
   This layer intentionally overrides legacy shell styles
   without altering the login experience or business logic.
   ========================================================= */

.pb-app-authenticated {
  --pb-navy: #1E2836;
  --pb-cyan: #06B6D4;
  --pb-white: #FFFFFF;
  --pb-text: #1E2836;
  --pb-muted: #6B7C93;
  --pb-border: #E8EDF3;
  --pb-bg: #FFFFFF;
  --pb-soft: #F7F9FC;
  --pb-soft-cyan: #ECFBFD;
  --pb-shadow-sm: 0 1px 2px rgba(30,40,54,.03), 0 8px 26px rgba(30,40,54,.045);
  --pb-shadow-md: 0 14px 40px rgba(30,40,54,.075);
  --pb-radius-sm: 10px;
  --pb-radius-md: 14px;
  --pb-radius-lg: 18px;
  background: var(--pb-white);
}

.pb-app-authenticated .app {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 244px minmax(0, 1fr);
  background: var(--pb-white);
}

/* SIDEBAR */
.pb-app-authenticated .sidebar {
  min-height: 100vh;
  height: 100vh;
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 24px 16px 18px;
  background: var(--pb-navy);
  border-right: 0;
  display: flex;
  flex-direction: column;
  box-shadow: 10px 0 34px rgba(19,28,39,.08);
}

.pb-app-authenticated .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 8px 34px;
  color: var(--pb-white);
  text-decoration: none;
}

.pb-app-authenticated .brand-logo {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  object-fit: contain;
  border-radius: 10px;
  background: rgba(255,255,255,.96);
  padding: 5px;
}

.pb-app-authenticated .brand-copy strong,
.pb-app-authenticated .brand-copy small {
  display: block;
}

.pb-app-authenticated .brand-copy strong {
  color: var(--pb-white);
  font-size: 16px;
  font-weight: 760;
  letter-spacing: -.02em;
  line-height: 1.1;
}

.pb-app-authenticated .brand-copy small {
  margin-top: 5px;
  color: rgba(255,255,255,.48);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .16em;
}

.pb-app-authenticated .nav-label {
  margin: 0 12px 10px;
  color: rgba(255,255,255,.34);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.pb-app-authenticated .pb-nav-label-secondary {
  margin-top: 4px;
}

.pb-app-authenticated .sidebar-nav {
  display: grid;
  gap: 5px;
}

.pb-app-authenticated .sidebar-nav a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 11px;
  color: rgba(255,255,255,.72);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 590;
  letter-spacing: -.005em;
  transition: background .16s ease, color .16s ease, border-color .16s ease, transform .16s ease;
}

.pb-app-authenticated .sidebar-nav a:hover {
  background: rgba(255,255,255,.055);
  border-color: rgba(255,255,255,.04);
  color: var(--pb-white);
  transform: translateX(1px);
}

.pb-app-authenticated .sidebar-nav a.active {
  background: linear-gradient(135deg, rgba(6,182,212,.22), rgba(6,182,212,.12));
  border-color: rgba(6,182,212,.23);
  color: var(--pb-white);
  box-shadow: inset 3px 0 0 var(--pb-cyan);
}

.pb-app-authenticated .sidebar-nav a.active .pb-nav-icon {
  color: var(--pb-cyan);
}

.pb-app-authenticated .pb-nav-icon {
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  flex: 0 0 19px;
  color: rgba(255,255,255,.64);
}

.pb-app-authenticated .pb-nav-icon svg,
.pb-app-authenticated .logout-button svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pb-app-authenticated .pb-nav-divider {
  height: 1px;
  margin: 15px 10px 15px;
  background: rgba(255,255,255,.08);
}

.pb-app-authenticated .sidebar-user {
  margin-top: auto;
  padding: 16px 7px 2px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: grid;
  grid-template-columns: 36px minmax(0,1fr) 34px;
  gap: 10px;
  align-items: center;
  color: var(--pb-white);
}

.pb-app-authenticated .pb-user-avatar,
.pb-app-authenticated .pb-topbar-avatar {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(6,182,212,.16);
  border: 1px solid rgba(6,182,212,.28);
  color: var(--pb-cyan);
  font-weight: 800;
}

.pb-app-authenticated .pb-user-avatar {
  width: 36px;
  height: 36px;
  font-size: 13px;
}

.pb-app-authenticated .pb-sidebar-user-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.pb-app-authenticated .pb-sidebar-user-copy small {
  color: rgba(255,255,255,.43);
  font-size: 9px;
  font-weight: 760;
  letter-spacing: .04em;
  text-transform: none;
}

.pb-app-authenticated .pb-sidebar-user-copy strong {
  overflow: hidden;
  color: rgba(255,255,255,.88);
  font-size: 11px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pb-app-authenticated .sidebar-user form {
  margin: 0;
}

.pb-app-authenticated .logout-button {
  width: 34px;
  height: 34px;
  margin: 0;
  padding: 8px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 9px;
  background: rgba(255,255,255,.025);
  color: rgba(255,255,255,.58);
}

.pb-app-authenticated .logout-button:hover {
  border-color: rgba(6,182,212,.3);
  background: rgba(6,182,212,.09);
  color: var(--pb-cyan);
}

/* WORKSPACE + TOPBAR */
.pb-app-authenticated .pb-workspace {
  min-width: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--pb-white);
}

.pb-app-authenticated .pb-topbar {
  min-height: 66px;
  padding: 0 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--pb-border);
}

.pb-app-authenticated .pb-topbar-brandline {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #7B8AA0;
  font-size: 12px;
  font-weight: 600;
}

.pb-app-authenticated .pb-topbar-brandline strong {
  color: var(--pb-navy);
  font-weight: 760;
}

.pb-app-authenticated .pb-topbar-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pb-cyan);
  box-shadow: 0 0 0 4px rgba(6,182,212,.09);
}

.pb-app-authenticated .pb-topbar-separator {
  color: #CBD5E1;
}

.pb-app-authenticated .pb-topbar-user {
  display: flex;
  align-items: center;
  gap: 11px;
}

.pb-app-authenticated .pb-topbar-user > div:first-child {
  display: grid;
  gap: 2px;
  text-align: right;
}

.pb-app-authenticated .pb-topbar-user strong {
  max-width: 260px;
  overflow: hidden;
  color: var(--pb-navy);
  font-size: 12px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pb-app-authenticated .pb-topbar-user small {
  color: #8A98AA;
  font-size: 10px;
}

.pb-app-authenticated .pb-topbar-avatar {
  width: 34px;
  height: 34px;
  font-size: 12px;
}

/* CONTENT */
.pb-app-authenticated .content {
  min-width: 0;
  width: 100%;
  max-width: 1580px;
  margin: 0 auto;
  padding: 32px 34px 56px;
  overflow: visible;
  background: var(--pb-white);
}

/* TYPOGRAPHIC HIERARCHY */
.pb-app-authenticated h1 {
  margin: 0 0 6px;
  color: var(--pb-navy);
  font-size: clamp(24px, 2vw, 28px);
  line-height: 1.14;
  font-weight: 720;
  letter-spacing: -.032em;
}

.pb-app-authenticated h2 {
  color: var(--pb-navy);
  font-size: 18px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -.018em;
}

.pb-app-authenticated h3 {
  color: var(--pb-navy);
  font-weight: 690;
  letter-spacing: -.012em;
}

.pb-app-authenticated p {
  color: var(--pb-muted);
  line-height: 1.55;
}

.pb-app-authenticated .page-header {
  margin-bottom: 24px;
  padding-bottom: 0;
  align-items: flex-start;
}

.pb-app-authenticated .page-header p {
  max-width: 760px;
  font-size: 13.5px;
}

/* CARDS / PANELS */
.pb-app-authenticated .metric,
.pb-app-authenticated .panel {
  background: var(--pb-white);
  border: 1px solid var(--pb-border);
  border-radius: var(--pb-radius-md);
  box-shadow: var(--pb-shadow-sm);
}

.pb-app-authenticated .metric {
  padding: 18px;
}

.pb-app-authenticated .metric span {
  color: var(--pb-muted);
  font-size: 12px;
  font-weight: 590;
}

.pb-app-authenticated .metric strong {
  color: var(--pb-navy);
  font-size: 25px;
  font-weight: 760;
  letter-spacing: -.025em;
}

.pb-app-authenticated .panel {
  padding: 21px;
}

.pb-app-authenticated .panel-head {
  margin-bottom: 16px;
}

/* BUTTONS */
.pb-app-authenticated .button,
.pb-app-authenticated .pb-primary-button {
  min-height: 40px;
  padding: 10px 15px;
  border-radius: 9px;
  background: var(--pb-cyan);
  color: var(--pb-white);
  font-size: 13px;
  font-weight: 720;
  box-shadow: 0 7px 16px rgba(6,182,212,.14);
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}

.pb-app-authenticated .button:hover,
.pb-app-authenticated .pb-primary-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(6,182,212,.18);
  filter: brightness(.98);
}

.pb-app-authenticated .pb-secondary-button {
  border-color: #D8E1EA;
  color: var(--pb-navy);
  background: var(--pb-white);
  box-shadow: none;
}

.pb-app-authenticated .pb-secondary-button:hover {
  border-color: rgba(6,182,212,.42);
  color: #058FA6;
  background: var(--pb-soft-cyan);
}

/* TABLES */
.pb-app-authenticated table {
  border-collapse: separate;
  border-spacing: 0;
}

.pb-app-authenticated th,
.pb-app-authenticated td {
  padding: 13px 12px;
  border-bottom-color: #EDF1F5;
}

.pb-app-authenticated th {
  color: #7B899C;
  background: #FAFBFD;
  font-size: 10px;
  font-weight: 760;
  letter-spacing: .06em;
}

.pb-app-authenticated td {
  color: #344256;
  font-size: 13px;
}

.pb-app-authenticated tbody tr:hover {
  background: #FBFCFE;
}

.pb-app-authenticated .tag {
  padding: 5px 9px;
  background: #F0F5F8;
  color: #44556B;
  font-size: 11px;
  font-weight: 650;
}

/* FORMS */
.pb-app-authenticated label {
  color: #526176;
  font-size: 12.5px;
  font-weight: 650;
}

.pb-app-authenticated input,
.pb-app-authenticated select,
.pb-app-authenticated textarea {
  border-color: #D7E0E9;
  border-radius: 9px;
  color: var(--pb-navy);
  background: var(--pb-white);
  font-size: 13.5px;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.pb-app-authenticated input:focus,
.pb-app-authenticated select:focus,
.pb-app-authenticated textarea:focus {
  border-color: rgba(6,182,212,.72);
  box-shadow: 0 0 0 3px rgba(6,182,212,.09);
}

/* Existing PixelBoom module cards get the same quieter visual language. */
.pb-app-authenticated [class*="pb-"][class*="card"],
.pb-app-authenticated .pb-commercial-module,
.pb-app-authenticated .pb-senior-team {
  border-color: var(--pb-border);
  box-shadow: var(--pb-shadow-sm);
}

/* RESPONSIVE */
@media (max-width: 980px) {
  .pb-app-authenticated .app {
    grid-template-columns: 210px minmax(0,1fr);
  }

  .pb-app-authenticated .content {
    padding: 28px 24px 48px;
  }

  .pb-app-authenticated .pb-topbar {
    padding: 0 24px;
  }
}

@media (max-width: 760px) {
  .pb-app-authenticated .app {
    display: block;
  }

  .pb-app-authenticated .sidebar {
    position: relative;
    width: 100%;
    min-height: auto;
    height: auto;
    padding: 16px;
  }

  .pb-app-authenticated .brand {
    margin-bottom: 18px;
  }

  .pb-app-authenticated .sidebar-nav {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .pb-app-authenticated .pb-nav-divider,
  .pb-app-authenticated .nav-label {
    grid-column: 1 / -1;
  }

  .pb-app-authenticated .sidebar-user {
    margin-top: 18px;
  }

  .pb-app-authenticated .pb-topbar {
    position: relative;
    min-height: 58px;
  }

  .pb-app-authenticated .pb-topbar-brandline {
    display: none;
  }

  .pb-app-authenticated .content {
    padding: 24px 18px 40px;
  }
}

@media (max-width: 520px) {
  .pb-app-authenticated .sidebar-nav {
    grid-template-columns: 1fr;
  }

  .pb-app-authenticated .pb-topbar-user > div:first-child {
    display: none;
  }
}

/* =========================================================
   PIXELBOOM CRM · COMPANIES
   Scoped visual system for Companies only
   ========================================================= */

.pb-company-page {
  --company-ink: #1E2836;
  --company-cyan: #06B6D4;
  --company-muted: #718096;
  --company-border: #E7EDF3;
  --company-soft: #F8FAFC;
  --company-cyan-soft: #ECFBFE;
  width: 100%;
}

.pb-company-page-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.pb-company-page-header-compact {
  align-items: flex-start;
  max-width: 900px;
}

.pb-company-eyebrow {
  display: block;
  margin-bottom: 7px;
  color: var(--company-cyan);
  font-size: 10px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.pb-company-page h1 {
  margin: 0 0 7px;
  font-size: clamp(23px, 2vw, 27px);
  line-height: 1.15;
  font-weight: 710;
  letter-spacing: -.032em;
}

.pb-company-page-header p {
  max-width: 700px;
  font-size: 13.5px;
}

.pb-company-primary-action {
  flex: 0 0 auto;
  gap: 7px;
}

.pb-company-action-icon {
  font-size: 17px;
  font-weight: 500;
  line-height: 1;
}

.pb-company-card {
  overflow: hidden;
  background: #FFFFFF;
  border: 1px solid var(--company-border);
  border-radius: 14px;
  box-shadow: 0 7px 22px rgba(30,40,54,.045);
}

.pb-company-list-card,
.pb-company-opportunities-card {
  width: 100%;
}

.pb-company-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 19px 21px;
  border-bottom: 1px solid var(--company-border);
}

.pb-company-card-header h2 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 710;
}

.pb-company-card-header p {
  margin: 0;
  font-size: 12px;
}

.pb-company-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.pb-company-table {
  width: 100%;
  min-width: 900px;
}

.pb-company-table thead th {
  padding: 11px 15px;
  background: #FAFCFD;
  color: #8591A2;
  border-bottom: 1px solid var(--company-border);
  font-size: 9.5px;
  font-weight: 780;
  letter-spacing: .075em;
}

.pb-company-table tbody td {
  padding: 14px 15px;
  border-bottom: 1px solid #EEF2F6;
  color: #415065;
  font-size: 12.5px;
}

.pb-company-table tbody tr:last-child td {
  border-bottom: 0;
}

.pb-company-table tbody tr:hover {
  background: #FBFDFE;
}

.pb-company-table-action-col {
  width: 128px;
  text-align: right;
  white-space: nowrap;
}

.pb-company-identity {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 215px;
}

.pb-company-avatar,
.pb-company-detail-avatar,
.pb-company-contact-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  background: #EAF8FB;
  color: #0795AE;
  font-weight: 760;
  letter-spacing: -.02em;
}

.pb-company-avatar {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-size: 11px;
}

.pb-company-identity-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.pb-company-identity-copy strong {
  overflow: hidden;
  color: var(--company-ink);
  font-size: 12.8px;
  font-weight: 710;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pb-company-identity-copy span {
  overflow: hidden;
  max-width: 220px;
  color: #8A96A6;
  font-size: 10.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pb-company-owner {
  color: #56667A;
  font-weight: 590;
}

.pb-company-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 26px;
  padding: 0 8px;
  border: 1px solid #E6ECF2;
  border-radius: 8px;
  background: #FBFCFD;
  color: #4D5D70;
  font-size: 11px;
  font-weight: 700;
}

.pb-company-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 26px;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 720;
  white-space: nowrap;
}

.pb-company-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
}

.pb-company-status.is-active {
  background: #ECFDF5;
  color: #18875E;
}

.pb-company-status.is-prospect {
  background: #EEF9FC;
  color: #078EA6;
}

.pb-company-status.is-inactive {
  background: #F2F4F7;
  color: #788494;
}

.pb-company-row-action,
.pb-company-inline-action,
.pb-company-back-link {
  color: #0797B0;
  text-decoration: none;
  font-weight: 700;
}

.pb-company-row-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
}

.pb-company-row-action:hover,
.pb-company-inline-action:hover,
.pb-company-back-link:hover {
  color: var(--company-ink);
}

.pb-company-inline-action {
  flex: 0 0 auto;
  font-size: 11.5px;
}

.pb-company-back-link {
  display: inline-block;
  margin-bottom: 18px;
  color: #7B899B;
  font-size: 11.5px;
  font-weight: 650;
}

.pb-company-empty-state {
  display: grid;
  justify-items: center;
  padding: 64px 24px;
  text-align: center;
}

.pb-company-empty-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
  border-radius: 13px;
  background: var(--company-cyan-soft);
  color: var(--company-cyan);
  font-size: 24px;
}

.pb-company-empty-state h3 {
  margin: 0 0 6px;
  font-size: 15px;
}

.pb-company-empty-state p {
  margin-bottom: 17px;
  font-size: 12.5px;
}

/* Company form */
.pb-company-form-page {
  max-width: 980px;
}

.pb-company-form-shell {
  display: grid;
  gap: 16px;
}

.pb-company-form-card {
  padding: 22px;
  background: #FFFFFF;
  border: 1px solid var(--company-border);
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(30,40,54,.035);
}

.pb-company-form-section-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #EDF1F5;
}

.pb-company-section-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--company-cyan-soft);
  color: #0795AE;
  font-size: 10px;
  font-weight: 800;
}

.pb-company-form-section-head h2 {
  margin: 0 0 3px;
  font-size: 15px;
  font-weight: 710;
}

.pb-company-form-section-head p {
  margin: 0;
  font-size: 11.5px;
}

.pb-company-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 17px 18px;
}

.pb-company-field {
  display: grid;
  gap: 7px;
}

.pb-company-field > span:first-child {
  color: #4E5E72;
  font-size: 11.5px;
  font-weight: 700;
}

.pb-company-field em {
  margin-left: 4px;
  color: #A1AAB6;
  font-size: 9px;
  font-style: normal;
  font-weight: 650;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.pb-company-field input,
.pb-company-field select,
.pb-company-field textarea {
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid #DCE4EC;
  border-radius: 9px;
  background: #FFFFFF;
  color: var(--company-ink);
  font-size: 12.5px;
}

.pb-company-field textarea {
  min-height: 118px;
  line-height: 1.5;
}

.pb-company-field input::placeholder,
.pb-company-field textarea::placeholder {
  color: #A9B3BF;
}

.pb-company-field input:focus,
.pb-company-field select:focus,
.pb-company-field textarea:focus {
  border-color: rgba(6,182,212,.72);
  box-shadow: 0 0 0 3px rgba(6,182,212,.08);
}

.pb-company-field-wide {
  grid-column: 1 / -1;
}

.pb-company-validation {
  min-height: 0;
  color: #D64545;
  font-size: 10.5px;
  font-weight: 590;
}

.pb-company-form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 4px;
}

/* Company details */
.pb-company-detail-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.pb-company-detail-main {
  min-width: 0;
}

.pb-company-detail-identity {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pb-company-detail-avatar {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  font-size: 13px;
}

.pb-company-detail-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.pb-company-detail-title-row h1 {
  margin: 0;
}

.pb-company-detail-identity > div:last-child > p {
  margin: 4px 0 0;
  font-size: 12.5px;
}

.pb-company-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 8px;
  color: #8692A2;
  font-size: 10.5px;
}

.pb-company-detail-meta strong {
  color: #57677A;
  font-weight: 680;
}

.pb-company-detail-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
}

.pb-company-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 13px;
  margin-bottom: 16px;
}

.pb-company-kpi {
  min-height: 108px;
  padding: 16px 17px;
  border: 1px solid var(--company-border);
  border-radius: 13px;
  background: #FFFFFF;
  box-shadow: 0 5px 16px rgba(30,40,54,.03);
}

.pb-company-kpi span,
.pb-company-kpi small {
  display: block;
}

.pb-company-kpi span {
  margin-bottom: 7px;
  color: #8290A2;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.pb-company-kpi strong {
  display: block;
  color: var(--company-ink);
  font-size: 22px;
  line-height: 1.1;
  font-weight: 740;
  letter-spacing: -.025em;
}

.pb-company-kpi small {
  margin-top: 7px;
  color: #9AA5B2;
  font-size: 10px;
}

.pb-company-kpi-accent {
  border-color: rgba(6,182,212,.25);
  background: linear-gradient(145deg, #FFFFFF 0%, #F4FCFE 100%);
}

.pb-company-kpi-accent strong {
  color: #078EA6;
}

.pb-company-kpi .pb-company-kpi-text {
  max-width: 100%;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pb-company-detail-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.pb-company-data-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 0;
  padding: 5px 21px 18px;
}

.pb-company-data-item {
  min-width: 0;
  padding: 14px 0;
  border-bottom: 1px solid #EEF2F5;
}

.pb-company-data-item:nth-child(odd):not(.pb-company-data-item-wide) {
  padding-right: 18px;
}

.pb-company-data-item:nth-child(even):not(.pb-company-data-item-wide) {
  padding-left: 18px;
  border-left: 1px solid #EEF2F5;
}

.pb-company-data-item-wide {
  grid-column: 1 / -1;
}

.pb-company-data-item > span {
  display: block;
  margin-bottom: 5px;
  color: #8A96A6;
  font-size: 9.5px;
  font-weight: 760;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.pb-company-data-item strong,
.pb-company-data-item a,
.pb-company-data-item p {
  color: #415066;
  font-size: 11.5px;
  font-weight: 620;
  overflow-wrap: anywhere;
}

.pb-company-data-item a {
  color: #078EA6;
  text-decoration: none;
}

.pb-company-data-item p {
  margin: 0;
  font-weight: 500;
  line-height: 1.55;
}

.pb-company-contact-list {
  padding: 5px 18px 10px;
}

.pb-company-contact-row {
  display: grid;
  grid-template-columns: 34px minmax(0,1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 12px 3px;
  border-bottom: 1px solid #EEF2F5;
}

.pb-company-contact-row:last-child {
  border-bottom: 0;
}

.pb-company-contact-avatar {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  font-size: 9.5px;
}

.pb-company-contact-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.pb-company-contact-name-row {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.pb-company-contact-name-row strong {
  overflow: hidden;
  color: var(--company-ink);
  font-size: 11.8px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pb-company-contact-copy > span {
  color: #68788B;
  font-size: 10.5px;
}

.pb-company-contact-copy > small {
  overflow: hidden;
  color: #9AA5B2;
  font-size: 9.8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pb-company-primary-badge {
  display: inline-flex;
  padding: 3px 6px;
  border-radius: 999px;
  background: var(--company-cyan-soft);
  color: #078EA6;
  font-size: 8.5px;
  font-weight: 760;
}

.pb-company-empty-compact {
  padding: 26px 21px;
  text-align: center;
}

.pb-company-empty-compact p {
  margin-bottom: 7px;
  font-size: 11.5px;
}

.pb-company-opportunities-card {
  margin-top: 0;
}

.pb-company-activity-cell {
  display: grid;
  gap: 3px;
}

.pb-company-activity-cell span {
  color: #48586C;
  font-size: 11.5px;
  font-weight: 620;
}

.pb-company-activity-cell small {
  color: #99A4B1;
  font-size: 9.8px;
}

@media (max-width: 980px) {
  .pb-company-kpi-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .pb-company-detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .pb-company-page-header,
  .pb-company-detail-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .pb-company-form-grid,
  .pb-company-data-grid {
    grid-template-columns: 1fr;
  }

  .pb-company-field-wide,
  .pb-company-data-item-wide {
    grid-column: auto;
  }

  .pb-company-data-item:nth-child(odd):not(.pb-company-data-item-wide),
  .pb-company-data-item:nth-child(even):not(.pb-company-data-item-wide) {
    padding-left: 0;
    padding-right: 0;
    border-left: 0;
  }

  .pb-company-detail-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .pb-company-form-actions {
    justify-content: stretch;
  }

  .pb-company-form-actions > * {
    flex: 1 1 0;
  }
}

@media (max-width: 520px) {
  .pb-company-kpi-grid {
    grid-template-columns: 1fr;
  }

  .pb-company-form-card {
    padding: 18px;
  }
}

/* =========================================================
   PIXELBOOM CRM · CONTACTS
   Scoped visual system for Contacts only
   ========================================================= */

.pb-contact-page {
  --contact-ink: #1E2836;
  --contact-cyan: #06B6D4;
  --contact-muted: #718096;
  --contact-border: #E7EDF3;
  --contact-soft: #F8FAFC;
  --contact-cyan-soft: #ECFBFE;
  width: 100%;
}

.pb-contact-page-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.pb-contact-page-header-compact {
  align-items: flex-start;
  max-width: 900px;
}

.pb-contact-eyebrow {
  display: block;
  margin-bottom: 7px;
  color: var(--contact-cyan);
  font-size: 10px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.pb-contact-page h1 {
  margin: 0 0 7px;
  font-size: clamp(23px, 2vw, 27px);
  line-height: 1.15;
  font-weight: 710;
  letter-spacing: -.032em;
}

.pb-contact-page-header p {
  max-width: 710px;
  font-size: 13.5px;
}

.pb-contact-primary-action {
  flex: 0 0 auto;
  gap: 7px;
}

.pb-contact-action-icon {
  font-size: 17px;
  font-weight: 500;
  line-height: 1;
}

.pb-contact-card {
  overflow: hidden;
  background: #FFFFFF;
  border: 1px solid var(--contact-border);
  border-radius: 14px;
  box-shadow: 0 7px 22px rgba(30,40,54,.045);
}

.pb-contact-list-card {
  width: 100%;
}

.pb-contact-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 19px 21px;
  border-bottom: 1px solid var(--contact-border);
}

.pb-contact-card-header h2 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 710;
}

.pb-contact-card-header p {
  margin: 0;
  font-size: 12px;
}

.pb-contact-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.pb-contact-table {
  width: 100%;
  min-width: 900px;
}

.pb-contact-table thead th {
  padding: 11px 15px;
  background: #FAFCFD;
  color: #8591A2;
  border-bottom: 1px solid var(--contact-border);
  font-size: 9.5px;
  font-weight: 780;
  letter-spacing: .075em;
}

.pb-contact-table tbody td {
  padding: 14px 15px;
  border-bottom: 1px solid #EEF2F6;
  color: #415065;
  font-size: 12.5px;
}

.pb-contact-table tbody tr:last-child td {
  border-bottom: 0;
}

.pb-contact-table tbody tr:hover {
  background: #FBFDFE;
}

.pb-contact-table-action-col {
  width: 90px;
  text-align: right;
  white-space: nowrap;
}

.pb-contact-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 230px;
}

.pb-contact-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #EAF8FB;
  color: #0795AE;
  font-size: 11px;
  font-weight: 760;
  letter-spacing: -.02em;
}

.pb-contact-identity-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.pb-contact-name-row {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.pb-contact-name-row strong {
  overflow: hidden;
  color: var(--contact-ink);
  font-size: 12.8px;
  font-weight: 710;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pb-contact-identity-copy > span {
  overflow: hidden;
  max-width: 230px;
  color: #8A96A6;
  font-size: 10.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pb-contact-primary-badge {
  display: inline-flex;
  flex: 0 0 auto;
  padding: 3px 6px;
  border-radius: 999px;
  background: var(--contact-cyan-soft);
  color: #078EA6;
  font-size: 8.5px;
  font-weight: 760;
}

.pb-contact-company-link,
.pb-contact-row-action,
.pb-contact-back-link {
  color: #0797B0;
  text-decoration: none;
  font-weight: 700;
}

.pb-contact-company-link {
  font-size: 12px;
}

.pb-contact-row-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
}

.pb-contact-company-link:hover,
.pb-contact-row-action:hover,
.pb-contact-back-link:hover {
  color: var(--contact-ink);
}

.pb-contact-role-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #F2F5F8;
  color: #58687B;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.pb-contact-channel-cell {
  display: grid;
  gap: 3px;
}

.pb-contact-channel-cell span {
  color: #48586C;
  font-size: 11.5px;
  font-weight: 620;
}

.pb-contact-channel-cell small {
  color: #99A4B1;
  font-size: 9.8px;
}

.pb-contact-empty-state {
  display: grid;
  justify-items: center;
  padding: 64px 24px;
  text-align: center;
}

.pb-contact-empty-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
  border-radius: 13px;
  background: var(--contact-cyan-soft);
  color: var(--contact-cyan);
  font-size: 24px;
}

.pb-contact-empty-state h3 {
  margin: 0 0 6px;
  font-size: 15px;
}

.pb-contact-empty-state p {
  margin-bottom: 17px;
  font-size: 12.5px;
}

/* Contact form */
.pb-contact-form-page {
  max-width: 980px;
}

.pb-contact-back-link {
  display: inline-block;
  margin-bottom: 18px;
  color: #7B899B;
  font-size: 11.5px;
  font-weight: 650;
}

.pb-contact-form-shell {
  display: grid;
  gap: 16px;
}

.pb-contact-form-card {
  padding: 22px;
  background: #FFFFFF;
  border: 1px solid var(--contact-border);
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(30,40,54,.035);
}

.pb-contact-form-section-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #EDF1F5;
}

.pb-contact-section-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--contact-cyan-soft);
  color: #0795AE;
  font-size: 10px;
  font-weight: 800;
}

.pb-contact-form-section-head h2 {
  margin: 0 0 3px;
  font-size: 15px;
  font-weight: 710;
}

.pb-contact-form-section-head p {
  margin: 0;
  font-size: 11.5px;
}

.pb-contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 17px 18px;
}

.pb-contact-field {
  display: grid;
  gap: 7px;
}

.pb-contact-field > span:first-child {
  color: #4E5E72;
  font-size: 11.5px;
  font-weight: 700;
}

.pb-contact-field em {
  margin-left: 4px;
  color: #A1AAB6;
  font-size: 9px;
  font-style: normal;
  font-weight: 650;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.pb-contact-field input,
.pb-contact-field select,
.pb-contact-field textarea {
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid #DCE4EC;
  border-radius: 9px;
  background: #FFFFFF;
  color: var(--contact-ink);
  font-size: 12.5px;
}

.pb-contact-field input::placeholder,
.pb-contact-field textarea::placeholder {
  color: #A9B3BF;
}

.pb-contact-field input:focus,
.pb-contact-field select:focus,
.pb-contact-field textarea:focus {
  border-color: rgba(6,182,212,.72);
  box-shadow: 0 0 0 3px rgba(6,182,212,.08);
}

.pb-contact-field-wide {
  grid-column: 1 / -1;
}

.pb-contact-validation {
  min-height: 0;
  color: #D64545;
  font-size: 10.5px;
  font-weight: 590;
}

.pb-contact-relationship-card {
  padding-bottom: 20px;
}

.pb-contact-primary-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.pb-contact-primary-option > input {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin: 3px 0 0;
  padding: 0;
  accent-color: var(--contact-cyan);
}

.pb-contact-primary-option-box {
  display: grid;
  gap: 3px;
}

.pb-contact-primary-option-box strong {
  color: var(--contact-ink);
  font-size: 12.5px;
  font-weight: 710;
}

.pb-contact-primary-option-box small {
  color: #7F8B9A;
  font-size: 11px;
  line-height: 1.45;
}

.pb-contact-form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 4px;
}

@media (max-width: 720px) {
  .pb-contact-page-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .pb-contact-form-grid {
    grid-template-columns: 1fr;
  }

  .pb-contact-field-wide {
    grid-column: auto;
  }

  .pb-contact-form-actions {
    justify-content: stretch;
  }

  .pb-contact-form-actions > * {
    flex: 1 1 0;
  }
}

@media (max-width: 520px) {
  .pb-contact-form-card {
    padding: 18px;
  }
}


/* =========================================================
   PIXELBOOM CRM · OPPORTUNITIES / PIPELINE V3
   Scoped refinements — preserves existing business UI
   ========================================================= */

.pb-opportunities-module {
    --opp-ink: #1E2836;
    --opp-cyan: #06B6D4;
    --opp-muted: #718096;
    --opp-border: #E7EDF3;
    --opp-soft: #F8FAFC;
    --opp-cyan-soft: #ECFBFE;
    width: 100%;
}

.pb-opportunities-module .pb-pipeline-header {
    align-items: flex-end;
    margin-bottom: 22px;
}

.pb-opportunities-module .pb-pipeline-header {
    position: relative;
    padding-top: 0;
}

.pb-opportunities-module .pb-pipeline-heading {
    display: grid;
}

.pb-opportunities-module .pb-pipeline-eyebrow {
    display: block;
    margin: 0 0 7px;
    color: var(--opp-cyan);
    font-size: 10px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.pb-opportunities-module .pb-pipeline-header h1 {
    margin: 0 0 7px;
    color: var(--opp-ink);
    font-size: 27px;
    line-height: 1.15;
    font-weight: 710;
    letter-spacing: -.032em;
}

.pb-opportunities-module .pb-pipeline-header p {
    margin: 0;
    max-width: 720px;
    color: var(--opp-muted);
    font-size: 13.5px;
}

.pb-opportunities-module .pb-primary-action {
    min-height: 40px;
    padding: 0 15px;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 720;
    box-shadow: 0 5px 14px rgba(6,182,212,.12);
}

.pb-opportunities-module .pb-action-plus {
    font-size: 16px;
}

.pb-opportunities-module .pb-pipeline-kpis {
    gap: 13px;
    margin-bottom: 16px;
}

.pb-opportunities-module .pb-kpi-card {
    min-height: 108px;
    gap: 12px;
    padding: 16px 17px;
    border: 1px solid var(--opp-border);
    border-radius: 13px;
    box-shadow: 0 5px 16px rgba(30,40,54,.03);
}

.pb-opportunities-module .pb-kpi-card::before {
    width: 2px;
}

.pb-opportunities-module .pb-kpi-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    font-size: 16px;
}

.pb-opportunities-module .pb-kpi-label {
    margin-bottom: 5px;
    font-size: 10px;
    letter-spacing: .035em;
    text-transform: uppercase;
}

.pb-opportunities-module .pb-kpi-content strong {
    margin-bottom: 5px;
    font-size: 21px;
    font-weight: 740;
}

.pb-opportunities-module .pb-kpi-content small {
    font-size: 10px;
    line-height: 1.4;
}

.pb-opportunities-module .pb-pipeline-panel {
    border: 1px solid var(--opp-border);
    border-radius: 14px;
    box-shadow: 0 7px 22px rgba(30,40,54,.04);
}

.pb-opportunities-module .pb-pipeline-toolbar {
    gap: 14px;
    padding: 16px 18px;
    border-bottom: 1px solid var(--opp-border);
}

.pb-opportunities-module .pb-search-box {
    width: min(100%, 480px);
}

.pb-opportunities-module .pb-search-box input,
.pb-opportunities-module .pb-filter-select {
    height: 39px;
    min-height: 39px;
    border-radius: 9px;
    font-size: 11.5px;
}

.pb-opportunities-module .pb-search-box input {
    padding-left: 38px;
}

.pb-opportunities-module .pb-search-icon {
    left: 14px;
    font-size: 17px;
}

.pb-opportunities-module .pb-filter-select {
    min-width: 165px;
    padding-left: 11px;
}

.pb-opportunities-module .pb-pipeline-table-wrap {
    padding: 0;
}

.pb-opportunities-module .pb-pipeline-table {
    min-width: 1180px;
}

.pb-opportunities-module .pb-pipeline-table thead {
    background: #FAFCFD;
}

.pb-opportunities-module .pb-pipeline-table th {
    padding: 10px 12px;
    color: #8591A2;
    border-bottom: 1px solid var(--opp-border);
    font-size: 9px;
    font-weight: 780;
    letter-spacing: .07em;
}

.pb-opportunities-module .pb-pipeline-table td {
    padding: 13px 12px;
    border-bottom: 1px solid #EEF2F6;
    color: #415065;
    font-size: 11.5px;
}

.pb-opportunities-module .pb-company-icon,
.pb-opportunities-module .pb-contact-icon,
.pb-opportunities-module .pb-activity-icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    font-size: 12px;
}

.pb-opportunities-module .pb-gp-avatar {
    width: 30px;
    height: 30px;
    font-size: 9.5px;
}

.pb-opportunities-module .pb-opportunity-title,
.pb-opportunities-module .pb-contact-cell strong,
.pb-opportunities-module .pb-activity-cell strong,
.pb-opportunities-module .pb-close-cell strong,
.pb-opportunities-module .pb-value-cell strong {
    font-size: 11.5px;
}

.pb-opportunities-module .pb-opportunity-company,
.pb-opportunities-module .pb-contact-cell small,
.pb-opportunities-module .pb-activity-cell small,
.pb-opportunities-module .pb-close-cell small,
.pb-opportunities-module .pb-value-cell small {
    font-size: 9.5px;
}

.pb-opportunities-module .pb-stage-pill {
    min-height: 25px;
    padding: 5px 8px;
    border-radius: 999px;
    font-size: 9.5px;
    white-space: nowrap;
}

.pb-opportunities-module .pb-probability {
    font-size: 11px;
}

.pb-opportunities-module .pb-row-action {
    color: #0797B0;
    font-size: 15px;
    letter-spacing: .08em;
    text-decoration: none;
}

.pb-opportunities-module .pb-pipeline-footer {
    padding: 12px 18px;
    border-top: 1px solid var(--opp-border);
    color: #8B97A6;
    font-size: 10.5px;
}

.pb-opportunities-module .pb-pipeline-empty {
    padding: 58px 24px;
}

/* New opportunity */
.pb-opportunities-create-module {
    --opp-ink: #1E2836;
    --opp-cyan: #06B6D4;
    --opp-muted: #718096;
    --opp-border: #E7EDF3;
    --opp-cyan-soft: #ECFBFE;
    max-width: 1220px;
    padding-top: 0;
}

.pb-opportunities-create-module .pb-create-header {
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 22px;
}

.pb-opportunities-create-module .pb-create-eyebrow {
    margin-bottom: 7px;
    font-size: 10px;
    line-height: 1;
    letter-spacing: .13em;
}

.pb-opportunities-create-module .pb-create-header h1 {
    font-size: clamp(23px, 2vw, 27px);
    line-height: 1.15;
    font-weight: 710;
    letter-spacing: -.032em;
}

.pb-opportunities-create-module .pb-create-header p {
    margin-top: 7px;
    max-width: 720px;
    font-size: 13.5px;
    line-height: 1.5;
}

.pb-opportunities-create-module .pb-create-layout {
    grid-template-columns: minmax(0, 1fr) 285px;
    gap: 18px;
}

.pb-opportunities-create-module .pb-form-card {
    margin-bottom: 16px;
    padding: 22px;
    border: 1px solid var(--opp-border);
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(30,40,54,.035);
}

.pb-opportunities-create-module .pb-form-card-header {
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
}

.pb-opportunities-create-module .pb-form-card-number {
    flex-basis: 30px;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    font-size: 10px;
}

.pb-opportunities-create-module .pb-form-card-header h2 {
    margin: 0 0 3px;
    font-size: 15px;
    font-weight: 710;
}

.pb-opportunities-create-module .pb-form-card-header p {
    font-size: 11.5px;
}

.pb-opportunities-create-module .pb-form-grid {
    gap: 17px 18px;
}

.pb-opportunities-create-module .pb-form-label {
    margin-bottom: 7px;
    color: #4E5E72;
    font-size: 11.5px;
    font-weight: 700;
}

.pb-opportunities-create-module .pb-form-control {
    min-height: 42px;
    padding: 10px 12px;
    border-color: #DCE4EC;
    border-radius: 9px;
    font-size: 12.5px;
}

.pb-opportunities-create-module .pb-form-help,
.pb-opportunities-create-module .pb-contact-status,
.pb-opportunities-create-module .pb-field-validation {
    font-size: 10.5px;
}

.pb-opportunities-create-module .pb-create-info-box {
    gap: 12px;
    padding: 15px;
    border-radius: 12px;
}

.pb-opportunities-create-module .pb-create-info-icon {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
    border-radius: 9px;
    font-size: 9px;
}

.pb-opportunities-create-module .pb-create-info-box strong,
.pb-opportunities-create-module .pb-create-info-box p {
    font-size: 11.5px;
}

.pb-opportunities-create-module .pb-create-actions {
    margin-top: 18px;
}

.pb-opportunities-create-module .pb-process-card {
    border: 1px solid var(--opp-border);
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(30,40,54,.035);
}

.pb-opportunities-create-module .pb-process-header {
    padding: 19px 19px 16px;
}

.pb-opportunities-create-module .pb-process-header > span {
    font-size: 9px;
}

.pb-opportunities-create-module .pb-process-header h3 {
    font-size: 15px;
    font-weight: 710;
}

.pb-opportunities-create-module .pb-process-header p {
    margin-top: 7px;
    font-size: 10.5px;
}

.pb-opportunities-create-module .pb-process-flow {
    padding: 18px 19px;
}

.pb-opportunities-create-module .pb-process-step {
    grid-template-columns: 29px minmax(0, 1fr);
    gap: 10px;
}

.pb-opportunities-create-module .pb-process-indicator {
    width: 29px;
    height: 29px;
    font-size: 10px;
}

.pb-opportunities-create-module .pb-process-step strong {
    font-size: 11.5px;
}

.pb-opportunities-create-module .pb-process-step span {
    font-size: 10px;
}

.pb-opportunities-create-module .pb-process-line {
    height: 18px;
    margin-left: 14px;
}

@media (max-width: 1180px) {
    .pb-opportunities-module .pb-pipeline-kpis {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pb-opportunities-module .pb-pipeline-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .pb-opportunities-module .pb-search-box {
        width: 100%;
    }

    .pb-opportunities-create-module .pb-create-layout {
        grid-template-columns: 1fr;
    }

    .pb-opportunities-create-module .pb-create-sidebar {
        position: static;
    }
}

@media (max-width: 720px) {
    .pb-opportunities-module .pb-pipeline-header,
    .pb-opportunities-create-module .pb-create-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .pb-opportunities-module .pb-pipeline-kpis {
        grid-template-columns: 1fr;
    }

    .pb-opportunities-module .pb-toolbar-filters {
        width: 100%;
        flex-direction: column;
    }

    .pb-opportunities-module .pb-filter-select {
        width: 100%;
    }

    .pb-opportunities-create-module .pb-form-grid {
        grid-template-columns: 1fr;
    }

    .pb-opportunities-create-module .pb-form-group-full {
        grid-column: auto;
    }
}

/* =========================================================
   PIXELBOOM CRM v1.0 - LOGIN FINAL OVERRIDES
   Scope exclusivo de autenticación
   ========================================================= */

body.pb-auth-body .pb-login-card .pb-input-shell > input {
  width: 100% !important;
  min-height: 54px !important;
  padding-top: 0 !important;
  padding-right: 54px !important;
  padding-bottom: 0 !important;
  padding-left: 58px !important;
  background: #FFFFFF !important;
  color: #1E2836 !important;
  line-height: 54px;
}

body.pb-auth-body .pb-login-card .pb-input-icon {
  left: 18px !important;
  width: 22px !important;
  height: 22px !important;
}

body.pb-auth-body .pb-login-card .pb-input-shell > input::placeholder {
  color: #8FA0B6 !important;
  opacity: 1;
}

body.pb-auth-body .pb-login-card .pb-input-shell > input:-webkit-autofill,
body.pb-auth-body .pb-login-card .pb-input-shell > input:-webkit-autofill:hover,
body.pb-auth-body .pb-login-card .pb-input-shell > input:-webkit-autofill:focus,
body.pb-auth-body .pb-login-card .pb-input-shell > input:-webkit-autofill:active {
  -webkit-text-fill-color: #1E2836 !important;
  caret-color: #1E2836 !important;
  -webkit-box-shadow: 0 0 0 1000px #FFFFFF inset !important;
  box-shadow: 0 0 0 1000px #FFFFFF inset !important;
}

body.pb-auth-body .pb-login-wordmark {
  width: auto;
  min-width: 210px;
  line-height: 1;
}

body.pb-auth-body .pb-login-wordmark strong {
  display: block;
  white-space: nowrap;
  font-size: 27px;
  line-height: 1;
  letter-spacing: .055em;
}

body.pb-auth-body .pb-login-wordmark small {
  display: block;
  margin-top: 9px;
  padding-left: .38em;
  white-space: nowrap;
  font-size: 10px;
  line-height: 1;
  letter-spacing: .38em;
}

body.pb-auth-body .pb-login-options {
  align-items: center;
}

body.pb-auth-body .pb-recovery-button {
  width: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #06B6D4;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.4;
  cursor: pointer;
  white-space: nowrap;
}

body.pb-auth-body .pb-recovery-button:hover,
body.pb-auth-body .pb-recovery-button:focus-visible {
  color: #0891B2;
  text-decoration: underline;
  outline: none;
}

body.pb-auth-body .pb-recovery-message {
  display: none;
  margin-top: -6px;
  padding: 12px 14px;
  border: 1px solid #CDECF2;
  border-radius: 10px;
  background: #F4FBFD;
  color: #53657D;
  font-size: 13px;
  line-height: 1.5;
}

body.pb-auth-body .pb-recovery-message.is-visible {
  display: block;
}

body.pb-auth-body .pb-recovery-message strong {
  color: #1E2836;
}

@media (max-width: 650px) {
  body.pb-auth-body .pb-login-wordmark {
    min-width: 185px;
  }

  body.pb-auth-body .pb-login-wordmark strong {
    font-size: 23px;
  }

  body.pb-auth-body .pb-login-options {
    align-items: flex-start;
  }

  body.pb-auth-body .pb-recovery-button {
    white-space: normal;
    text-align: left;
  }
}
body.pb-auth-body .pb-login-logo-full {
    display: block;
    width: 230px;
    height: auto;
    max-height: none;
    object-fit: contain;
    margin: 0 auto;
}