.pb-intake {
  --pb-navy-950: #071f2a;
  --pb-navy-900: #0b2936;
  --pb-navy-800: #123b49;
  --pb-navy-700: #1a4d5b;
  --pb-ink: #102e3c;
  --pb-muted: #61737a;
  --pb-line: rgba(16, 46, 60, .14);
  --pb-paper: #f3f0e9;
  --pb-white: #fffefb;
  --pb-gold: #b58a55;
  --pb-gold-light: #e3bd88;
  --pb-success: #2c6b60;
  --pb-alert: #9a4b42;
  --pb-shadow: 0 30px 90px rgba(6, 26, 36, .26), 0 8px 26px rgba(6, 26, 36, .12);
  --pb-serif: "Newsreader", Georgia, serif;
  --pb-sans: "Source Sans 3 PB", "Source Sans 3", "Segoe UI", Arial, sans-serif;
  --pb-brand: "Cinzel PB", Cinzel, Georgia, serif;
  position: relative;
  z-index: 2147482000;
  color: var(--pb-ink);
  font-family: var(--pb-sans);
}
.pb-intake, .pb-intake * { box-sizing: border-box; }
.pb-intake button, .pb-intake input, .pb-intake textarea { font: inherit; }
.pb-intake button, .pb-intake a { -webkit-tap-highlight-color: transparent; }

.pb-launcher {
  position: fixed; right: 24px; bottom: 24px; min-width: 250px; height: 62px;
  display: flex; align-items: center; gap: 13px; padding: 9px 17px 9px 10px;
  border: 1px solid rgba(255,255,255,.16); border-radius: 9px; cursor: pointer;
  background: linear-gradient(135deg, var(--pb-navy-900), var(--pb-navy-800)); color: #fff;
  box-shadow: 0 18px 45px rgba(7, 31, 42, .32);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.pb-launcher:hover { transform: translateY(-2px); border-color: rgba(227,189,136,.68); box-shadow: 0 22px 52px rgba(7,31,42,.38); }
.pb-launcher:focus-visible { outline: 3px solid rgba(181,138,85,.35); outline-offset: 3px; }
.pb-launcher-mark {
  width: 42px; height: 42px; flex: 0 0 42px; display: block;
  border: 0; border-radius: 0; padding: 0;
  background: transparent;
}
.pb-launcher-copy { display: grid; text-align: left; line-height: 1.13; }
.pb-launcher-copy strong { font-size: 14px; }
.pb-launcher-copy small { margin-top: 4px; color: #bfd0d4; font-size: 12px; }
.pb-launcher-pulse { width: 7px; height: 7px; margin-left: auto; border-radius: 50%; background: #78b8a7; box-shadow: 0 0 0 5px rgba(120,184,167,.12); }

.pb-panel[hidden] { display: none !important; }
.pb-panel {
  position: fixed; right: 24px; bottom: 24px; width: min(408px, calc(100vw - 32px));
  height: min(690px, calc(100dvh - 48px)); display: grid; grid-template-rows: auto 3px 1fr auto auto;
  overflow: hidden; border: 1px solid rgba(255,255,255,.14); border-radius: 11px;
  background: var(--pb-white); box-shadow: var(--pb-shadow);
  transform-origin: right bottom; animation: pb-open .22s cubic-bezier(.2,.8,.2,1);
}
@keyframes pb-open { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.pb-header {
  position: relative; min-height: 92px; padding: 18px 122px 17px 20px;
  background:
    radial-gradient(circle at 18% 0%, rgba(227,189,136,.15), transparent 170px),
    linear-gradient(135deg, var(--pb-navy-950), var(--pb-navy-800));
  color: #fff;
}
.pb-header-kicker { margin: 0 0 4px; color: var(--pb-gold-light); font: 600 10px var(--pb-brand); letter-spacing: .11em; text-transform: uppercase; }
.pb-header h2 { margin: 0; font: 500 24px/1.04 var(--pb-serif); }
.pb-header-sub { margin: 5px 0 0; color: #c6d4d7; font-size: 12px; line-height: 1.25; }
.pb-header-actions { position: absolute; top: 16px; right: 15px; display: flex; gap: 6px; }
.pb-icon-button {
  width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.16);
  border-radius: 6px; background: rgba(255,255,255,.06); color: #fff; cursor: pointer;
}
.pb-icon-button:hover { background: rgba(255,255,255,.12); }
.pb-icon-button:focus-visible { outline: 2px solid var(--pb-gold-light); outline-offset: 2px; }
.pb-progress { height: 3px; background: #dbe2e1; }
.pb-progress i { display: block; width: 18%; height: 100%; background: linear-gradient(90deg, var(--pb-gold), var(--pb-gold-light)); transition: width .28s ease; }

.pb-thread {
  min-height: 0; overflow: auto; overscroll-behavior: contain; padding: 19px 17px 14px;
  background:
    radial-gradient(rgba(16,46,60,.025) .6px, transparent .7px),
    linear-gradient(180deg, #fffefb, #f8f6f1);
  background-size: 8px 8px, auto;
  scrollbar-width: thin; scrollbar-color: #b8c4c5 transparent;
  touch-action: pan-y; -webkit-overflow-scrolling: touch;
}
.pb-message-row { display: flex; margin: 0 0 12px; animation: pb-message .2s ease both; }
@keyframes pb-message { from { opacity: 0; transform: translateY(5px); } }
.pb-message-row.user { justify-content: flex-end; }
.pb-message {
  max-width: 88%; padding: 11px 13px; border: 1px solid var(--pb-line); border-radius: 4px 12px 12px 12px;
  background: #fff; color: #203e49; font-size: 14px; line-height: 1.42; box-shadow: 0 6px 16px rgba(16,46,60,.045);
}
.pb-message p { margin: 0; }
.pb-message p + p { margin-top: 7px; }
.pb-message-row.user .pb-message { border-color: #1a5060; border-radius: 12px 4px 12px 12px; background: var(--pb-navy-800); color: white; }
.pb-message-label { display: block; margin-bottom: 4px; color: #80603c; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.pb-message-row.user .pb-message-label { color: #b9d1d6; }
.pb-thinking { display: inline-flex; align-items: center; gap: 5px; min-height: 12px; }
.pb-thinking i { width: 5px; height: 5px; border-radius: 50%; background: #7d9197; animation: pb-dot 1s infinite ease-in-out; }
.pb-thinking i:nth-child(2) { animation-delay: .13s; }
.pb-thinking i:nth-child(3) { animation-delay: .26s; }
@keyframes pb-dot { 0%, 70%, 100% { opacity: .25; transform: translateY(0); } 35% { opacity: 1; transform: translateY(-2px); } }

.pb-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 4px 0 16px; }
.pb-chip {
  min-height: 44px; padding: 9px 10px; border: 1px solid rgba(16,46,60,.16); border-radius: 6px;
  background: rgba(255,255,255,.78); color: var(--pb-ink); cursor: pointer; text-align: left; font-size: 13px; font-weight: 600;
  transition: border-color .16s ease, background .16s ease, transform .16s ease;
}
.pb-chip:hover { border-color: var(--pb-gold); background: #fff; transform: translateY(-1px); }
.pb-chip:focus-visible { outline: 3px solid rgba(181,138,85,.24); outline-offset: 1px; }
.pb-chip small { display: block; margin-top: 2px; color: var(--pb-muted); font-size: 11px; font-weight: 400; }
.pb-chip-more {
  grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 10px;
  border-style: dashed; background: rgba(243,240,233,.72); color: var(--pb-navy-800);
}
.pb-chip-more span { white-space: nowrap; }
.pb-chip-more small { margin: 0; text-align: right; }
.pb-more-areas { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pb-more-areas[hidden] { display: none !important; }

.pb-route {
  margin: 3px 0 16px; padding: 15px; border: 1px solid var(--pb-line); border-top: 3px solid var(--pb-gold); border-radius: 7px;
  background: #fff; box-shadow: 0 10px 26px rgba(16,46,60,.07);
}
.pb-route-eyebrow { margin: 0 0 4px; color: #8a6239; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.pb-route h3 { margin: 0 0 6px; font: 600 20px/1.08 var(--pb-serif); }
.pb-route > p { margin: 0; color: var(--pb-muted); font-size: 13px; line-height: 1.42; }
.pb-route .pb-position { margin-top: 10px; padding: 10px 11px; border-left: 2px solid var(--pb-gold); background: rgba(181,138,85,.08); color: var(--pb-navy-900); }
.pb-route .pb-position strong { display: block; margin-bottom: 2px; font-size: 11px; letter-spacing: .02em; }
.pb-guidance { margin: 12px 0 0; padding: 12px 12px 11px; border: 1px solid rgba(16,46,60,.12); border-radius: 7px; background: #f7f5f0; }
.pb-guidance-eyebrow { margin: 0 0 3px; color: #8a6239; font-size: 9.5px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.pb-guidance h4 { margin: 0 0 5px; color: var(--pb-navy-900); font: 600 16px/1.14 var(--pb-serif); }
.pb-guidance > p:not(.pb-guidance-eyebrow) { margin: 0; color: #52666e; font-size: 12px; line-height: 1.42; }
.pb-guidance ul { display: grid; gap: 5px; margin: 9px 0 0; padding: 0; list-style: none; }
.pb-guidance li { position: relative; padding-left: 13px; color: #314d57; font-size: 11.5px; line-height: 1.4; }
.pb-guidance li::before { position: absolute; top: .55em; left: 0; width: 5px; height: 1px; background: var(--pb-gold); content: ""; }
.pb-guidance-link { display: inline-flex; align-items: center; gap: 5px; margin-top: 9px; color: var(--pb-navy-700); font-size: 11.5px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.pb-guidance-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.pb-intake button.pb-guidance-link { appearance: none; padding: 0; border: 0; background: transparent; cursor: pointer; font-family: inherit; white-space: normal; text-align: left; }
.pb-service-shortcuts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pb-intake .pb-service-shortcuts button.pb-guidance-link {
  min-height: 44px; margin-top: 0; padding: 10px 11px; border: 1px solid var(--pb-line); border-radius: 6px;
  background: var(--pb-white); font-size: 11.5px; line-height: 1.4;
}
.pb-intake .pb-service-shortcuts button.pb-guidance-link:hover { border-color: var(--pb-gold); background: #faf8f3; }
.pb-next-step { margin-top: 14px; }
.pb-next-step h4 { margin: 0 0 5px; color: var(--pb-navy-900); font: 600 16px/1.25 var(--pb-serif); }
.pb-route .pb-next-step p { font-size: 12px; line-height: 1.5; }
.pb-consultation-credit { margin: 12px 0; padding: 10px 12px; border-left: 2px solid var(--pb-gold); background: #f7f5f0; }
.pb-consultation-credit summary { cursor: pointer; color: var(--pb-navy-900); font-size: 12px; line-height: 1.5; font-weight: 700; }
.pb-route .pb-consultation-credit p { margin-top: 8px; font-size: 11.5px; line-height: 1.5; }
.pb-consultation-credit summary:focus-visible, .pb-intake button.pb-guidance-link:focus-visible { outline: 2px solid var(--pb-gold); outline-offset: 3px; }
.pb-guidance small { display: block; margin-top: 9px; padding-top: 8px; border-top: 1px solid rgba(16,46,60,.1); color: #708087; font-size: 10px; line-height: 1.35; }
.pb-composer-help { color: var(--pb-muted); font-size: 11px; line-height: 1.4; }
.pb-composer-help summary { cursor: pointer; padding: 2px 0; font-weight: 600; }
.pb-composer-help p { margin: 5px 0; text-align:left; }
.pb-composer-help summary:focus-visible { outline: 2px solid var(--pb-gold); outline-offset: 2px; }
.pb-message [data-wait-copy] a { color: var(--pb-navy-700); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.pb-alert { display: grid; gap: 3px; margin: 2px 0 10px; padding: 10px 12px; border: 1px solid rgba(181,138,85,.32); border-radius: 7px; background: #faf7f1; color: var(--pb-navy-900); font-size: 12px; line-height: 1.4; }
.pb-alert.emergency { border-color: rgba(142,48,48,.4); background: #fff5f4; }
.pb-alert span { color: var(--pb-muted); }
.pb-route-actions { display: grid; gap: 8px; margin-top: 13px; }
.pb-action {
  min-height: 45px; padding: 11px 13px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border: 1px solid transparent; border-radius: 6px; cursor: pointer; text-decoration: none; font-size: 13px; font-weight: 700;
}
.pb-action span { font-weight: 400; opacity: .76; }
/* This private fee caption role only shrinks existing tax words. It inherits
   the actual eligible action/offer ink and keeps long Arabic copy wrappable. */
#pb-intake-root.pb-intake .pb-fee-tax {
  display: inline; max-inline-size: 100%; margin: 0; padding: 0; color: inherit;
  font-family: inherit; font-size: 11px; font-weight: 400; font-style: normal;
  line-height: 1.4; letter-spacing: normal; text-transform: none;
  white-space: normal; opacity: 1;
}

.pb-action-primary { background: var(--pb-gold); color: var(--pb-navy-950); }
.pb-action-primary:hover { background: #c39b69; }
.pb-action-secondary { border-color: var(--pb-navy-800); background: #fff; color: var(--pb-navy-900); }
.pb-action-secondary:hover { background: #eef3f3; }
.pb-action-choice { border-color: rgba(16,46,60,.24); background: #fff; color: var(--pb-navy-900); }
.pb-action-choice:hover { border-color: var(--pb-gold); background: #faf8f3; }
.pb-action-choice span { padding: 3px 6px; border-radius: 4px; background: #eee8de; color: #71502f; font-size: 11px; font-weight: 700; opacity: 1; }
.pb-action:focus-visible { outline: 3px solid rgba(181,138,85,.27); outline-offset: 2px; }
.pb-action-primary span { color: inherit; opacity: 1; }
.pb-action-primary:focus-visible { outline-color: var(--pb-navy-950); }
.pb-route-note { margin-top: 10px !important; padding-top: 9px; border-top: 1px solid var(--pb-line); font-size: 11px !important; }
.pb-route-accounting { border-top-color: var(--pb-success); }
.pb-route-accounting .pb-route-eyebrow { color: var(--pb-success); }

.pb-composer { padding: 10px 12px; border-top: 1px solid var(--pb-line); background: #fff; }
.pb-composer-box {
  min-height: 52px; display: grid; grid-template-columns: 1fr 44px; align-items: end; gap: 8px;
  padding: 7px 7px 7px 12px; border: 1px solid rgba(16,46,60,.23); border-radius: 8px; background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.pb-composer-box:focus-within { border-color: var(--pb-navy-700); box-shadow: 0 0 0 3px rgba(26,77,91,.1); }
.pb-input { width: 100%; min-height: 44px; max-height: 190px; padding: 6px 0; overflow-y: hidden; resize: none; border: 0; outline: 0; color: var(--pb-ink); font-size: 14px; line-height: 1.35; background: transparent; }
.pb-input::placeholder { color: #839297; }
.pb-send { width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 6px; background: var(--pb-navy-900); color: #fff; cursor: pointer; }
.pb-send:hover { background: var(--pb-navy-700); }
.pb-send:disabled { cursor: wait; opacity: .62; }
.pb-send:focus-visible { outline: 3px solid rgba(181,138,85,.28); outline-offset: 2px; }
.pb-send.is-loading svg { display: none; }
.pb-send.is-loading::before { content: ""; width: 15px; height: 15px; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: pb-spin .7s linear infinite; }
@keyframes pb-spin { to { transform: rotate(360deg); } }
.pb-composer-hint { margin: 6px 2px 0; color: var(--pb-muted); font-size: 10.5px; }
.pb-composer-hint a { color: var(--pb-navy-700); font-weight: 700; }

.pb-lead { margin: 2px 0 15px; padding: 15px; border: 1px solid var(--pb-line); border-radius: 7px; background: white; }
.pb-lead h3 { margin: 0 0 4px; font: 600 20px var(--pb-serif); }
.pb-lead > p { margin: 0 0 12px; color: var(--pb-muted); font-size: 12.5px; line-height: 1.4; }
.pb-field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
.pb-field { display: grid; gap: 4px; margin: 0 0 10px; }
.pb-field span { font-size: 12px; font-weight: 700; }
.pb-field input, .pb-field textarea, .pb-field select { width: 100%; min-height: 44px; padding: 10px 11px; border: 1px solid rgba(16,46,60,.22); border-radius: 6px; color: var(--pb-ink); background: #fff; font-size: 13px; outline: 0; }
.pb-field textarea { min-height: 76px; resize: vertical; }
.pb-field select { padding-right: 30px; }
.pb-field input:focus, .pb-field textarea:focus, .pb-field select:focus { border-color: var(--pb-navy-700); box-shadow: 0 0 0 3px rgba(26,77,91,.1); }
.pb-consent { display: grid; grid-template-columns: 18px 1fr; gap: 8px; align-items: start; margin: 10px 0; color: var(--pb-muted); font-size: 11.5px; line-height: 1.35; }
.pb-consent input { width: 16px; height: 16px; margin: 1px 0 0; accent-color: var(--pb-navy-800); }
.pb-consent a { color: var(--pb-navy-700); }
.pb-error { margin: 8px 0 0; color: var(--pb-alert); font-size: 12px; font-weight: 600; }

.pb-footer { min-height: 31px; padding: 7px 13px; display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--pb-line); background: #f7f5f0; color: var(--pb-muted); font-size: 10.5px; }
.pb-footer a { color: var(--pb-navy-700); font-weight: 700; text-decoration: none; }
.pb-sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }

@media (max-width: 520px) {
  html.pb-intake-open { overflow: hidden !important; overscroll-behavior: none; }
  html.pb-intake-open body {
    position: fixed; top: calc(-1 * var(--pb-page-scroll, 0px)); left: 0; right: 0; width: 100%;
    overflow: hidden !important; overscroll-behavior: none;
  }
  .pb-launcher {
    right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
    width: 58px; min-width: 58px; height: 58px; gap: 0; padding: 8px;
    border-radius: 50%;
  }
  .pb-launcher-mark { width: 42px; height: 42px; flex-basis: 42px; }
  .pb-launcher-copy { display: none; }
  .pb-launcher-pulse {
    position: absolute; top: 7px; right: 6px; width: 7px; height: 7px;
    border: 1px solid rgba(255,255,255,.72);
  }
  .pb-panel {
    top: var(--pb-viewport-top, 0px); right: 0; bottom: auto; left: 0;
    width: 100%; height: var(--pb-viewport-height, 100dvh); max-height: none; border: 0; border-radius: 0;
    grid-template-rows: auto 3px minmax(0, 1fr) auto auto; overscroll-behavior: none;
  }
  .pb-header { min-height: calc(90px + env(safe-area-inset-top)); padding: calc(17px + env(safe-area-inset-top)) 118px 15px 19px; }
  .pb-thread { padding-inline: 14px; }
  .pb-message { max-width: 92%; }
  .pb-composer { padding-bottom: calc(9px + env(safe-area-inset-bottom)); }
  .pb-keyboard-open .pb-panel { grid-template-rows: 3px minmax(0,1fr) auto; }
  .pb-keyboard-open .pb-header { display: none; }
  .pb-keyboard-open .pb-composer { padding-top: 8px; padding-bottom: max(8px, env(safe-area-inset-bottom)); }
  .pb-keyboard-open .pb-composer-hint { display: none; }
  .pb-footer { display: none; }
  .pb-field-grid { grid-template-columns: 1fr; gap: 0; }
  .pb-intake .pb-input, .pb-intake .pb-field input, .pb-intake .pb-field textarea, .pb-intake .pb-field select { font-size: 16px; }
}

@media (hover: none), (pointer: coarse) {
  .pb-chip:hover { border-color: rgba(16,46,60,.16); background: rgba(255,255,255,.78); transform: none; }
}

@media (max-width: 340px) {
  .pb-launcher { width: 54px; min-width: 54px; height: 54px; padding: 6px; }
  .pb-chips { grid-template-columns: 1fr; }
  .pb-service-shortcuts { grid-template-columns: 1fr; }
  .pb-chip-more { grid-template-columns: 1fr; gap: 2px; }
  .pb-chip-more small { text-align: left; }
  .pb-more-areas { grid-template-columns: 1fr; }
  .pb-header h2 { font-size: 22px; }
  .pb-header-sub { max-width: 220px; }
}

@media (prefers-reduced-motion: reduce) {
  .pb-intake *, .pb-intake *::before, .pb-intake *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* V234 — el acceso persistente conserva visibilidad sin dominar el borde inferior. */
@media (min-width: 901px) {
  .pb-launcher { right: 18px; bottom: 16px; min-width: 224px; height: 56px; padding: 8px 14px 8px 9px; }
  .pb-launcher-mark { width: 38px; height: 38px; flex-basis: 38px; }
  .pb-launcher-copy strong { font-size: 13px; }
  .pb-launcher-copy small { font-size: 11px; }
}
@media (max-width: 600px) {
  .pb-launcher { right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); width: 54px; min-width: 54px; height: 54px; padding: 6px; border-radius: 50%; }
}

/* Calma: presentation candidate reviewed separately from the published v316. */

.proposal-tag{display:inline-block;margin-left:14px;color:#eed5b4;font-size:11px;letter-spacing:.01em}
.home-consultation-actions{display:grid!important;grid-template-columns:1fr 1fr;align-items:stretch!important;gap:12px!important;max-width:600px}
.home-consultation-actions>a.button{width:100%;min-height:68px;display:flex;align-items:center;justify-content:center;padding:12px 18px;text-align:center}
.home-consultation-actions .calma-entry{min-height:68px;width:100%;display:flex;align-items:center;justify-content:center;gap:11px;padding:10px 16px;border:1px solid rgba(227,189,136,.76);border-radius:2px;background:rgba(255,255,255,.075);color:white;cursor:pointer;text-align:left;text-decoration:none;font-family:var(--sans,Arial,sans-serif)}
.calma-entry img{width:40px;height:40px;object-fit:cover;border-radius:50%;border:1px solid #d3b084}
.calma-entry span{display:grid;gap:4px}.calma-entry strong{font-size:14px;font-weight:700}.calma-entry small{font-size:11.5px;color:#d5e0e2}
.home-consultation-actions .calma-entry:hover{background:rgba(255,255,255,.14)}
.calma-entry:focus-visible{outline:3px solid #e3bd88;outline-offset:4px}
.pb-intake .pb-launcher{right:20px;bottom:20px;min-width:264px;width:auto;height:72px;gap:12px;padding:10px 14px 10px 10px;border:1px solid #b99565;border-radius:10px;box-shadow:0 12px 35px rgba(7,31,42,.25)}
.pb-intake .pb-launcher-mark{width:46px;height:46px;flex-basis:46px;object-fit:cover;border-radius:50%;border:1px solid #c7a577}
.pb-intake .pb-launcher-copy strong{font-size:15px;font-weight:700}.pb-intake .pb-launcher-copy small{font-size:11.5px;color:#d4e0e1}
.pb-intake .pb-launcher-copy{display:grid!important}.pb-launcher-pulse{display:none}
.pb-intake .pb-panel{width:min(430px,calc(100vw - 32px));right:20px;bottom:20px;height:min(720px,calc(100dvh - 40px));border-radius:12px}
.pb-intake .pb-header{padding:14px 16px;min-height:0;background:linear-gradient(125deg,#0b2936,#184853)}
.calma-header-top{display:flex;align-items:center;gap:10px;min-height:48px}
.calma-avatar{position:relative;width:48px;height:48px;flex:0 0 48px;border:1px solid #d5b386;border-radius:50%;overflow:hidden;background:#edf0ef}
.calma-avatar img,.calma-avatar video{width:100%;height:100%;object-fit:cover;object-position:50% 25%;display:block}
.calma-avatar [hidden]{display:none!important}
.calma-identity{min-width:0;flex:1}.calma-identity>strong{font:600 22px/1.05 var(--pb-serif);display:block;color:white}
.pb-intake .pb-header-kicker{margin:5px 0 0;letter-spacing:.045em;font-family:var(--pb-sans);font-size:10px;text-transform:none}
.pb-intake .pb-header-actions{position:static;display:flex;flex:0 0 auto;gap:5px}.pb-icon-button{width:44px;height:44px}
.pb-intake .pb-header h2{font:500 25px/1.1 var(--pb-serif);margin-top:11px}
.pb-intake .pb-header-sub{font-size:12px;line-height:1.35;margin-top:5px}
.pb-intake .pb-thread{padding:16px;background:linear-gradient(180deg,#fffefa,#f7f5ef)}
.pb-welcome{margin-bottom:13px;font-size:14px;line-height:1.45;color:#314c55}.pb-welcome p{margin:0}
.calma-choices{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-bottom:13px}
.calma-choices a{display:grid;gap:5px;align-content:start;min-height:87px;padding:12px;border:1px solid #d5deda;border-radius:8px;color:#183b46;background:white;text-decoration:none;transition:background .15s,border-color .15s}
.calma-choices a:hover{border-color:#b58a55;background:#fcf8f2}.calma-choices a:focus-visible{outline:3px solid #b58a55;outline-offset:2px}
.calma-choices strong{font-size:13px;line-height:1.3}.calma-choices small{font-size:11.5px;line-height:1.35;color:#657780}.calma-choices .choice-icon{width:19px;height:19px;color:#9d7446}
.calma-existing{display:flex;justify-content:center;gap:16px;margin-top:10px;flex-wrap:wrap;font-size:11.5px}.calma-existing a{color:#284e58;text-underline-offset:3px}
.pb-intake .pb-composer{padding:10px 12px}.pb-composer-hint{margin:7px 1px 0;font-size:10px;color:#738087}
.pb-intake .pb-footer{font-size:10px;line-height:1.35;min-height:37px;display:block!important}
.proposal-controls{position:fixed;bottom:20px;left:20px;z-index:500;display:flex;gap:7px;align-items:center;background:#fffefa;padding:6px 9px;border:1px solid #d9c7ae;border-radius:6px;box-shadow:0 3px 12px #0001;font:11px Arial,sans-serif;color:#536771}
.proposal-controls button{border:0;background:transparent;color:#284e58;font:inherit;text-decoration:underline;text-underline-offset:3px;cursor:pointer;min-height:28px;padding:3px}.proposal-controls span{padding-right:4px;color:#876c4e}
.pb-preview-result{margin-top:14px;border-top:1px solid #d9dedb;padding-top:12px;font-size:13px;color:#405d65}.pb-preview-result p{margin:0 0 8px}.pb-preview-result a{color:#204957;font-weight:700}
@media(max-width:760px){.home-consultation-actions{max-width:560px}.home-consultation-actions .calma-entry{padding:10px;gap:8px}.calma-entry img{width:34px;height:34px}.calma-entry strong{font-size:13px}.calma-entry small{font-size:10px}}
@media(max-width:600px){.proposal-tag{display:block;margin:2px 0 0;font-size:10px}.proposal-controls{top:auto;right:12px;bottom:86px;font-size:10px}.proposal-controls span{display:none}.pb-intake .pb-launcher{right:12px;bottom:calc(12px + env(safe-area-inset-bottom));width:166px;min-width:166px;height:60px;padding:8px;border-radius:10px;gap:9px}.pb-intake .pb-launcher-mark{width:40px;height:40px;flex-basis:40px}.pb-intake .pb-launcher-copy strong{font-size:13px}.pb-intake .pb-launcher-copy small{font-size:10px}.pb-launcher-copy .desktop-only{display:none}.home-consultation-actions>a.button{font-size:12px;padding:10px;min-height:66px}.home-consultation-actions .calma-entry{min-height:66px}.calma-entry small{max-width:100px;line-height:1.25}.pb-intake .pb-panel{top:0;right:0;left:0;bottom:auto;width:100%;height:100dvh;border-radius:0}.pb-intake .pb-header{padding:calc(12px + env(safe-area-inset-top)) 14px 13px}.pb-intake .pb-header h2{font-size:24px}.pb-intake .pb-thread{padding:14px}.calma-choices a{padding:12px;min-height:88px}.pb-intake .pb-composer{padding-bottom:calc(10px + env(safe-area-inset-bottom))}.calma-entry strong{font-size:12px}.home-consultation-actions{gap:9px!important}}
@media(max-width:350px){.home-consultation-actions{grid-template-columns:1fr!important;max-width:280px}.pb-intake .pb-launcher{width:154px;min-width:154px}.calma-identity>strong{font-size:20px}.pb-intake .pb-header-kicker{font-size:9px}.calma-choices a{padding:10px}.pb-intake .pb-header h2{font-size:23px}}
@media(prefers-reduced-motion:reduce){.calma-avatar video{display:none!important}.calma-avatar img{display:block!important}.pb-intake *, .calma-entry{animation:none!important;transition:none!important}}


.pb-intake .pb-launcher[hidden]{display:none!important}
.calma-avatar{width:68px;height:68px;flex-basis:68px}
.calma-choices a,.calma-choices button{min-height:75px;padding:10px 12px;gap:4px}
.calma-choices button{display:grid;align-content:start;border:1px solid #d5deda;border-radius:8px;color:#183b46;background:white;text-align:left;cursor:pointer;font-family:var(--pb-sans)}
.calma-choices button:hover{border-color:#b58a55;background:#fcf8f2}.calma-choices button:focus-visible{outline:3px solid #b58a55;outline-offset:2px}
.calma-choices .choice-icon{width:17px;height:17px}.calma-choices small{font-size:11px}
@media(max-width:600px){.calma-avatar{width:48px;height:48px;flex-basis:48px}.calma-choices a,.calma-choices button{min-height:78px;padding:10px 11px}.proposal-controls{max-width:calc(100vw - 24px);flex-wrap:wrap}}


@media(min-width:601px) and (max-height:700px){.calma-avatar{width:48px;height:48px;flex-basis:48px}.pb-intake .pb-header{padding:11px 16px}.pb-intake .pb-header h2{margin-top:8px;font-size:24px}.calma-choices{gap:8px}.calma-choices a,.calma-choices button{min-height:66px;gap:3px;padding:8px 11px}.calma-choices .choice-icon{display:none}.pb-welcome{margin-bottom:10px}}



/* Expanded view uses the viewport; reading remains in a centered column. */
.calma-choices{grid-auto-rows:1fr}
.calma-choices .calma-lawyer{position:relative;background:#bd9766;border-color:#b38c59;color:#0c2c39;box-shadow:inset 0 0 0 1px #ffffff30}
.calma-choices .calma-lawyer small,.calma-choices .calma-lawyer .choice-icon{color:#183a45}
.calma-choices .calma-lawyer:hover{background:#cba678;border-color:#a37a45}
.calma-choice-arrow{position:absolute;right:12px;top:9px;font-size:17px;font-weight:700;color:#183a45}
.pb-expand svg{width:18px;height:18px;display:block}
.calma-avatar video{position:absolute;inset:0;opacity:0;transition:opacity .12s ease}
.calma-avatar video.is-playing{opacity:1}
.pb-intake.calma-expanded .pb-panel{inset:0;width:100%;max-width:none;height:100dvh;max-height:none;transform:none;border-radius:0;border:0;box-shadow:none;transition:none;background:#f8f6f0}
.pb-intake.calma-expanded .pb-header{padding:12px 24px 13px;background:linear-gradient(120deg,#0b2936,#174752);flex:none}
.pb-intake.calma-expanded .calma-header-top{max-width:920px;margin:0 auto;gap:15px}
.pb-intake.calma-expanded .calma-avatar{width:80px;height:80px;flex-basis:80px}
.pb-intake.calma-expanded .calma-identity>strong{font-size:26px}
.pb-intake.calma-expanded .pb-header-kicker{font-size:12px}
.pb-intake.calma-expanded .pb-header h2{max-width:920px;margin:9px auto 0;font-size:30px}
.pb-intake.calma-expanded .pb-header-sub{max-width:920px;margin:6px auto 0;font-size:13px;line-height:1.4}
.pb-intake.calma-expanded .pb-thread{padding:20px 24px;background:radial-gradient(ellipse at top,#fffefb,#f7f5ef);overflow-y:auto}
.pb-intake.calma-expanded .pb-thread>*{max-width:920px;margin-left:auto;margin-right:auto}
.pb-intake.calma-expanded .pb-welcome{font-size:16px;line-height:1.5;margin-bottom:16px}
.pb-intake.calma-expanded .calma-choices{gap:12px;grid-template-columns:repeat(3,minmax(0,1fr))}
.pb-intake.calma-expanded .calma-choices a,.pb-intake.calma-expanded .calma-choices button{min-height:88px;padding:13px 16px;gap:5px;border-radius:9px}
.pb-intake.calma-expanded .calma-choices strong{font-size:15px;line-height:1.3}
.pb-intake.calma-expanded .calma-choices small{font-size:12.5px;line-height:1.35}
.pb-intake.calma-expanded .choice-icon{display:block;width:19px;height:19px}
.pb-intake.calma-expanded .calma-existing{font-size:12.5px}
.pb-intake.calma-expanded .pb-composer{padding:11px max(24px,calc((100% - 920px)/2));background:#fffefa;border-top:1px solid #dce2de}
.pb-intake.calma-expanded .pb-composer-box{min-height:58px;border-radius:9px}
.pb-intake.calma-expanded .pb-input{font-size:16px}
.pb-intake.calma-expanded .pb-composer-hint{font-size:11px}
.pb-intake.calma-expanded .pb-footer{padding:9px max(24px,calc((100% - 920px)/2));font-size:11px;min-height:34px;background:#fffefa}
@media(min-width:601px) and (max-width:899px){.pb-intake.calma-expanded .calma-choices{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:601px) and (max-height:620px){.pb-intake.calma-expanded .calma-avatar{width:64px;height:64px;flex-basis:64px}.pb-intake.calma-expanded .pb-header h2{font-size:28px}.pb-intake.calma-expanded .pb-thread{padding-top:14px;padding-bottom:14px}.pb-intake.calma-expanded .pb-welcome{font-size:15px;margin-bottom:12px}.pb-intake.calma-expanded .calma-choices a,.pb-intake.calma-expanded .calma-choices button{min-height:86px;padding-top:11px;padding-bottom:11px}}
@media(max-width:600px){.pb-expand{display:none!important}.pb-intake.calma-expanded .pb-header{padding:calc(12px + env(safe-area-inset-top)) 14px 13px}.pb-intake.calma-expanded .calma-header-top{gap:10px}.pb-intake.calma-expanded .calma-avatar{width:48px;height:48px;flex-basis:48px}.pb-intake.calma-expanded .calma-identity>strong{font-size:22px}.pb-intake.calma-expanded .pb-header-kicker{font-size:10px}.pb-intake.calma-expanded .pb-header h2{font-size:24px}.pb-intake.calma-expanded .pb-header-sub{font-size:12px}.pb-intake.calma-expanded .pb-thread{padding:14px}.pb-intake.calma-expanded .pb-welcome{font-size:14px;margin-bottom:13px}.pb-intake.calma-expanded .calma-choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.pb-intake.calma-expanded .calma-choices a,.pb-intake.calma-expanded .calma-choices button{min-height:78px;padding:10px 11px;gap:4px}.pb-intake.calma-expanded .calma-choices strong{font-size:13px}.pb-intake.calma-expanded .calma-choices small{font-size:11px}.pb-intake.calma-expanded .choice-icon{width:17px;height:17px}.pb-intake.calma-expanded .calma-existing{font-size:11.5px}.pb-intake.calma-expanded .pb-composer{padding:10px 12px calc(10px + env(safe-area-inset-bottom))}.pb-intake.calma-expanded .pb-footer{padding:9px 12px;font-size:10px}}
@media(prefers-reduced-motion:reduce){.calma-avatar video{transition:none}}



.calma-idle-media{position:relative;isolation:isolate;overflow:hidden;background:#e8eded}
.calma-idle-media>img,.calma-idle-media>video{width:100%;height:100%;display:block;object-fit:cover;object-position:center}
.calma-idle-media>video{position:absolute;inset:0;opacity:0;pointer-events:none;transition:opacity .2s ease}
.calma-idle-media>video.is-current{opacity:1;z-index:2}.calma-idle-media>video.is-under{opacity:1;z-index:1}
.pb-intake .pb-launcher{width:330px;min-width:330px;height:88px;padding:10px 14px 10px 10px;gap:12px}
.pb-intake .pb-launcher-mark{width:64px;height:64px;flex-basis:64px;border-radius:10px}
.pb-intake .pb-launcher-copy{min-width:0;gap:5px}.pb-intake .pb-launcher-copy strong{font-size:15px;line-height:1.2}.pb-intake .pb-launcher-copy small{font-size:11px;line-height:1.3;white-space:normal}
.calma-media.calma-idle-media{aspect-ratio:1/1}.calma-media.calma-idle-media>img{object-fit:contain}
@media(max-width:768px){.pb-intake .pb-launcher{width:210px;min-width:210px;height:68px;padding:8px 12px;gap:10px}.pb-intake .pb-launcher-mark{width:48px;height:48px;flex-basis:48px}}
@media(max-width:600px){.pb-intake .pb-launcher{width:166px;min-width:166px;height:60px}.pb-intake .pb-launcher-mark{width:40px;height:40px;flex-basis:40px}.pb-intake .pb-launcher-copy strong{font-size:13px}.pb-intake .pb-launcher-copy small{font-size:10px}}
@media(max-width:350px){.pb-intake .pb-launcher{width:154px;min-width:154px;padding-right:8px}}
@media(prefers-reduced-motion:reduce){.calma-idle-media>video{display:none!important;transition:none}.pb-intake .pb-launcher{padding-right:14px}}

.mobile-only{display:none}@media(max-width:600px){.mobile-only{display:inline}}
.pb-intake .calma-header-top .pb-header-actions{position:static;margin-left:auto;flex-shrink:0}.pb-intake .calma-identity{min-width:0}.pb-intake .pb-message-row[role="article"]:focus{outline:2px solid #b58a55;outline-offset:2px}.pb-intake .pb-service-shortcuts{margin-top:10px}.pb-intake .calma-choices small{display:block}.pb-intake .pb-message-row[role="article"] .pb-message{font-size:15px;line-height:1.55}@media(max-width:600px){.pb-intake .pb-composer-help{display:none}.pb-intake .calma-identity .pb-header-kicker{font-size:9px;line-height:1.25;letter-spacing:0;text-transform:none;font-family:var(--pb-sans)}.pb-intake .pb-header{min-height:0}}

/* Conversation controls: choices yield to writing; the office remains one click away. */
.pb-intake .calma-choices[hidden],.pb-intake .pb-service-shortcuts[hidden]{display:none!important}
.pb-intake .pb-composer-box{grid-template-columns:minmax(0,1fr) 44px}
.pb-intake .pb-input{min-width:0;line-height:1.45;scrollbar-width:thin}
.pb-intake .pb-composer-options{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:0 12px;margin-top:3px}
.pb-intake .pb-composer-help{flex:1;min-width:0;margin:0;text-align:left}
.pb-intake .pb-composer-help summary{padding:7px 0;min-height:30px}
.pb-intake .pb-direct-consultation{display:inline-flex;align-items:center;min-height:30px;color:var(--pb-navy-800);font-size:11px;font-weight:700;text-decoration:none;white-space:normal}
.pb-intake .pb-direct-consultation:hover{text-decoration:underline;text-underline-offset:3px}
.pb-intake .pb-direct-consultation:focus-visible{outline:2px solid var(--pb-gold);outline-offset:3px}
.pb-intake .pb-composer-hint{margin:3px 0 0;text-align:center;line-height:1.4}
.pb-intake .pb-footer{text-align:center;line-height:1.45}
@media(max-width:600px){.pb-intake .pb-composer-options{justify-content:center;margin-top:3px}.pb-intake .pb-direct-consultation{font-size:11px}.pb-intake .pb-input{font-size:16px}}

html.pb-calma-expanded-open{overflow:hidden!important}
.pb-intake.calma-conversing .pb-header h2,.pb-intake.calma-conversing .pb-header-sub{display:none}
.pb-intake .pb-input:focus,.pb-intake .pb-input:focus-visible{outline:0;box-shadow:none}
.pb-intake.pb-keyboard-open .pb-footer{display:none!important}

/* The approved desktop entry stays full-sized when it has room. */
.pb-intake .pb-launcher-short{display:none}
.pb-intake .pb-launcher.is-compact{width:140px;min-width:140px;height:48px;min-height:48px;padding:6px 10px;gap:8px;border-radius:9px}
.pb-intake .pb-launcher.is-compact .pb-launcher-mark{width:32px;height:32px;flex-basis:32px;border-radius:7px}
.pb-intake .pb-launcher.is-compact .pb-launcher-copy{display:block!important}
.pb-intake .pb-launcher.is-compact .pb-launcher-copy>strong,.pb-intake .pb-launcher.is-compact .pb-launcher-copy>small{display:none}
.pb-intake .pb-launcher.is-compact .pb-launcher-short{display:inline;color:#fff;font-size:14px;font-weight:700;line-height:1.2;white-space:nowrap}
@media(max-width:600px){
  .pb-intake .pb-launcher,.pb-intake .pb-launcher.is-compact{width:132px;min-width:132px;height:48px;min-height:48px;padding:6px 8px;gap:8px;border-radius:9px}
  .pb-intake .pb-launcher .pb-launcher-mark{width:32px;height:32px;flex-basis:32px;border-radius:7px}
  .pb-intake .pb-launcher .pb-launcher-copy{display:block!important}
  .pb-intake .pb-launcher .pb-launcher-copy>strong,.pb-intake .pb-launcher .pb-launcher-copy>small{display:none}
  .pb-intake .pb-launcher .pb-launcher-short{display:inline;color:#fff;font-size:13px;font-weight:700;line-height:1.2;white-space:nowrap}
}

/* Verified EN/AR service cards: preserve readable Arabic alignment. */
.pb-business-route[dir="rtl"], .pb-business-route[dir="rtl"] .pb-action { text-align: right; }
.pb-business-route[dir="rtl"] summary { text-align: right; }
.pb-message-row[dir="rtl"] .pb-message { text-align: right; }

/* PB388: clear firm identity, including narrow screens and Arabic. */
.pb-intake .pb-header-kicker{line-height:1.35;overflow-wrap:normal}

/* PB assistant presentation, approved Home R8. */
#pb-intake-root .pb-launcher{width:156px;min-width:156px;height:48px;min-height:48px;padding:6px 10px;gap:8px;border-radius:9px}
#pb-intake-root .pb-launcher-mark{width:32px;height:32px;flex-basis:32px;border-radius:7px}
#pb-intake-root .pb-launcher-copy{display:block!important}
#pb-intake-root .pb-launcher-copy>strong,#pb-intake-root .pb-launcher-copy>small{display:none}
#pb-intake-root .pb-launcher-short{display:inline;color:#fff;font-size:13px;font-weight:700;line-height:1.2;white-space:nowrap}
#pb-intake-root .pb-assistant-mark{display:flex;align-items:center;justify-content:center;background:transparent;color:inherit;font-family:var(--serif,Georgia,serif);font-size:13px;font-weight:600}
#pb-intake-root .calma-avatar.pb-assistant-mark{font-size:18px;border:1px solid currentColor}
@media(max-width:600px){#pb-intake-root .pb-launcher{width:145px;min-width:145px}}
#pb-intake-root.pb-intake .pb-launcher{
  right: 18px;
  bottom: 18px;
  width: 175px;
  min-width: 175px;
  height: 46px;
  min-height: 46px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid #5e7b82;
  border-radius: 999px;
  background: var(--pb-navy-900, #0b2936);
  color: #fffefb;
  box-shadow: 0 3px 12px rgba(7, 31, 42, .14);
  animation: none;
  transition: none;
}
#pb-intake-root.pb-intake .pb-launcher:hover{
  transform: none;
  background: var(--pb-navy-800, #123b49);
  border-color: #a8bab9;
  box-shadow: 0 3px 12px rgba(7, 31, 42, .14);
}
#pb-intake-root.pb-intake .pb-launcher:focus-visible{
  outline: 3px solid var(--pb-gold-light, #e3bd88);
  outline-offset: 3px;
}
#pb-intake-root.pb-intake .pb-launcher .pb-launcher-mark{
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
}
#pb-intake-root.pb-intake .pb-assistant-symbol{
  display: block;
  width: 21px;
  height: 21px;
  flex: none;
}
#pb-intake-root.pb-intake .pb-launcher .pb-launcher-copy{
  display: block !important; /* Shared widget switches this to a two-line grid. */
  min-width: 0;
  margin: 0;
  text-align: left;
}
#pb-intake-root.pb-intake .pb-launcher .pb-launcher-copy > strong,
#pb-intake-root.pb-intake .pb-launcher .pb-launcher-copy > small,
#pb-intake-root.pb-intake .pb-launcher .pb-launcher-pulse{
  display: none;
}
#pb-intake-root.pb-intake .pb-launcher .pb-launcher-short{
  display: block;
  color: inherit;
  font: 600 14px/1.25 var(--pb-sans, sans-serif);
  white-space: nowrap;
}
#pb-intake-root.pb-intake .pb-panel{
  top: auto;
  right: 18px;
  bottom: 18px;
  left: auto;
  width: min(360px, calc(100vw - 32px));
  height: min(660px, calc(100dvh - 100px));
  max-height: min(660px, calc(100dvh - 100px));
  grid-template-rows: auto 3px minmax(0, 1fr) auto auto;
  border: 1px solid #aabdbc;
  border-radius: 12px;
  background: var(--pb-white, #fffefb);
  box-shadow: 0 10px 35px rgba(7, 31, 42, .18);
  animation: none;
  transition: none;
}
#pb-intake-root.pb-intake .pb-header{
  min-height: 0;
  padding: 12px;
  background-color: #0b2936;
  background-image: var(--pb-mat-stone, linear-gradient(120deg,#102e3c80,#173e5073 62%,#244e5e80),url('/assets/pb-green-slate-v1.webp'));
  background-size: auto, cover;background-repeat:no-repeat;
}
#pb-intake-root.pb-intake .calma-header-top{
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
}
#pb-intake-root.pb-intake .calma-avatar.pb-assistant-mark{
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #e3bd88;
}
#pb-intake-root.pb-intake .calma-identity{
  flex: 1 1 0;
  min-width: 0;
}
#pb-intake-root.pb-intake .calma-identity > strong{
  display: block;
  margin: 0;
  color: #fffefb;
  font: 500 18px/1.2 var(--pb-serif, Georgia, serif);
  overflow-wrap: normal;
}
#pb-intake-root.pb-intake .calma-identity .pb-header-kicker{
  margin: 4px 0 0;
  color: #d4dfdf;
  font: 400 11px/1.3 var(--pb-sans, sans-serif);
  letter-spacing: 0;
  text-transform: none;
}
#pb-intake-root.pb-intake .pb-header > h2,
#pb-intake-root.pb-intake .pb-header > .pb-header-sub{
  display: none;
}
#pb-intake-root.pb-intake .calma-header-top .pb-header-actions{
  position: static;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
#pb-intake-root.pb-intake .pb-header-actions .pb-icon-button{
  width: 38px;
  min-width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 6px;
  background: transparent;
  color: #fffefb;
}
#pb-intake-root.pb-intake .pb-icon-button svg{
  width: 17px;
  height: 17px;
}
#pb-intake-root.pb-intake .pb-thread{
  min-height: 0;
  padding: 14px;
  background: #f8f6f1;
}
#pb-intake-root.pb-intake .pb-message-row{
  animation: none;
}
#pb-intake-root.pb-intake .pb-message{
  max-width: 100%;
  font-size: 14px;
  line-height: 1.5;
  overflow-wrap: anywhere;
  box-shadow: none;
}
#pb-intake-root.pb-intake .calma-choices{
  gap: 8px;
}
#pb-intake-root.pb-intake .calma-choices a,
#pb-intake-root.pb-intake .calma-choices button{
  min-height: 80px;
  padding: 10px;
  transition: none;
}
#pb-intake-root.pb-intake .calma-choices strong{
  font-size: 12px;
  line-height: 1.4;
}
#pb-intake-root.pb-intake .calma-choices small{
  font-size: 11px;
  line-height: 1.45;
}
#pb-intake-root.pb-intake .pb-composer{
  padding: 10px 12px;
  background: var(--pb-white, #fffefb);
}
#pb-intake-root.pb-intake .pb-composer-box{
  min-height: 52px;
  grid-template-columns: minmax(0, 1fr) 44px;
  align-items: end;
  gap: 8px;
  padding: 4px 5px 4px 11px;
  border-radius: 8px;
}
#pb-intake-root.pb-intake .pb-input{
  min-width: 0;
  min-height: 44px;
  max-height: 120px;
  font-size: 14px;
  line-height: 1.5;
}
#pb-intake-root.pb-intake .pb-send{
  width: 44px;
  min-width: 44px;
  height: 44px;
  border-radius: 6px;
}
#pb-intake-root.pb-intake .pb-composer-hint,
#pb-intake-root.pb-intake .pb-footer{
  font-size: 11px;
  line-height: 1.5;
}
#pb-intake-root.pb-intake .pb-footer{
  min-height: 0;
  padding: 9px 12px;
  background: var(--pb-white, #fffefb);
}
#pb-intake-root.pb-intake.calma-expanded .pb-panel{
  inset: 0;
  width: 100%;
  height: 100dvh;
  max-height: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
@media (max-width: 600px){#pb-intake-root.pb-intake .pb-launcher{
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    width: 175px;
    min-width: 175px;
  }
#pb-intake-root.pb-intake .pb-panel{
    top: auto;
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    left: auto;
    width: calc(100vw - 20px);
    height: min(660px, calc(100dvh - 32px - env(safe-area-inset-bottom)));
    max-height: min(660px, calc(100dvh - 32px - env(safe-area-inset-bottom)));
    border-radius: 12px;
  }
#pb-intake-root.pb-intake .pb-header-actions .pb-icon-button{
    width: 44px;
    min-width: 44px;
    height: 44px;
  }
#pb-intake-root.pb-intake .calma-identity > strong{
    font-size: 17px;
  }
#pb-intake-root.pb-intake .pb-input{
    font-size: 16px;
  }
#pb-intake-root.pb-intake.calma-expanded .pb-panel,
  #pb-intake-root.pb-intake.pb-keyboard-open .pb-panel{
    top: var(--pb-viewport-top, 0px);
    right: 0;
    bottom: auto;
    left: 0;
    width: 100%;
    height: var(--pb-viewport-height, 100dvh);
    max-height: none;
    border: 0;
    border-radius: 0;
  }
#pb-intake-root.pb-intake.pb-keyboard-open .pb-panel{
    grid-template-rows: 3px minmax(0, 1fr) auto;
  }}
#pb-intake-root.pb-intake .pb-launcher{width:204px;min-width:204px;height:54px;min-height:54px;padding:7px 14px 7px 8px;gap:10px;border-color:#7e969b;box-shadow:inset 0 1px 0 #ffffff0e,0 4px 14px #071f2a24}
#pb-intake-root.pb-intake .pb-launcher .pb-launcher-mark{width:38px;height:38px;flex-basis:38px}
#pb-intake-root.pb-intake .pb-brand-seal{display:inline-flex;align-items:center;justify-content:center;flex:none;width:36px;height:36px;box-sizing:border-box;border:1px solid #e0c59b;border-radius:50%;background:linear-gradient(155deg,#efd9b1 0%,#d0b17d 55%,#b9945f 100%);color:#163440;box-shadow:inset 0 0 0 2px #f7ebd14d,0 1px 3px #061b2530;font:500 15px/1 var(--serif,Georgia,serif)!important;letter-spacing:-.06em}
#pb-intake-root.pb-intake .pb-brand-seal>span{font:italic 400 11px/1 var(--serif,Georgia,serif)!important;padding-inline:1px;letter-spacing:0}
#pb-intake-root.pb-intake .pb-launcher .pb-launcher-copy>strong{display:block;margin:0;font:600 13px/1.3 var(--sans,sans-serif)!important;color:#fffefa}
#pb-intake-root.pb-intake .pb-launcher .pb-launcher-copy>small{display:block;margin-top:3px;font:400 10px/1.2 var(--sans,sans-serif)!important;color:#c2d2d4;white-space:nowrap}
#pb-intake-root.pb-intake .pb-launcher .pb-launcher-short{display:none}
#pb-intake-root.pb-intake .calma-avatar.pb-assistant-mark{width:30px;height:30px;flex-basis:30px}
#pb-intake-root.pb-intake .calma-avatar .pb-brand-seal{width:29px;height:29px;font-size:12px!important}
#pb-intake-root.pb-intake .calma-avatar .pb-brand-seal>span{font-size:9px!important}
@media(max-width:600px){#pb-intake-root.pb-intake .pb-launcher{width:194px;min-width:194px}}
#pb-intake-root.pb-intake :is(.calma-choices>a,.calma-choices>button,.pb-quick-button){border-radius:12px!important}
#pb-intake-root.pb-intake .pb-launcher{display:flex!important;align-items:center!important;justify-content:flex-start!important;box-sizing:border-box!important;width:218px!important;min-width:218px!important;max-width:calc(100vw - 24px)!important;height:58px!important;min-height:58px!important;gap:10px!important;padding:9px 13px 9px 9px!important;overflow:hidden!important;border-radius:30px!important;background:#0d2d39!important;color:#fff!important}
#pb-intake-root.pb-intake .pb-launcher .pb-launcher-mark{display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 36px!important;width:36px!important;height:36px!important;padding:3px!important;box-sizing:border-box!important;border:1px solid #8da4a5!important;border-radius:12px!important;background:#204551!important;color:#ead4ae!important}
#pb-intake-root.pb-intake .pb-robot-symbol{display:block!important;width:27px!important;height:27px!important;flex:none;overflow:visible;color:inherit}
#pb-intake-root.pb-intake .pb-launcher .pb-launcher-copy{display:block!important;flex:1 1 auto!important;min-width:0!important;width:auto!important;max-width:100%!important;margin:0!important;padding:0!important;overflow:hidden!important;text-align:left!important}
#pb-intake-root.pb-intake .pb-launcher .pb-launcher-copy>strong{display:block!important;white-space:nowrap!important;font:600 13px/1.25 var(--sans,Arial,sans-serif)!important;letter-spacing:0!important;color:#fff!important}
#pb-intake-root.pb-intake .pb-launcher .pb-launcher-copy>small{display:block!important;white-space:nowrap!important;font:400 10px/1.3 var(--sans,Arial,sans-serif)!important;letter-spacing:0!important;color:#c8d6d7!important;margin-top:3px!important}
#pb-intake-root.pb-intake .pb-launcher .pb-launcher-short{display:none!important}
#pb-intake-root.pb-intake .pb-launcher[hidden]{display:none!important}
#pb-intake-root.pb-intake .calma-avatar.pb-assistant-mark{display:flex!important;width:31px!important;height:31px!important;flex:0 0 31px!important;border:0!important;background:transparent!important;color:#ead4ae!important}
@media(max-width:600px){#pb-intake-root.pb-intake .pb-launcher{width:208px!important;min-width:208px!important}}

/* Consultation information: clear prices and comfortable touch targets. */
#pb-intake-root.pb-intake .pb-service-information h3{margin-bottom:14px;line-height:1.2}
#pb-intake-root.pb-intake .pb-service-information>p{margin:12px 0 0;font-size:14px;line-height:1.55;color:#435b64}
#pb-intake-root.pb-intake .pb-price-free{padding:14px;border:1px solid #afc9c0;border-radius:10px;background:#eef5f0}
#pb-intake-root.pb-intake .pb-price-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
#pb-intake-root.pb-intake .pb-price-heading h4{margin:0;font:600 14px/1.4 var(--pb-sans)}
#pb-intake-root.pb-intake .pb-price-heading>strong{flex:none;color:#1d6254;font-size:17px;line-height:1.3}
#pb-intake-root.pb-intake .pb-price-free p{margin:8px 0 12px;color:#435b64;font-size:14px;line-height:1.5}
#pb-intake-root.pb-intake .pb-price-free-link{display:flex;align-items:center;justify-content:center;min-height:44px;padding:10px 12px;border-radius:7px;background:var(--pb-navy-800);color:#fffefb;font-size:14px;font-weight:600;line-height:1.4;text-align:center;text-decoration:none}
#pb-intake-root.pb-intake .pb-price-free-link:hover{background:var(--pb-navy-700)}
#pb-intake-root.pb-intake .pb-price-free small{display:block;margin-top:8px;color:#435b64;font-size:12px;line-height:1.5}
#pb-intake-root.pb-intake .pb-price-list{margin:14px 0 0}
#pb-intake-root.pb-intake .pb-price-list>div{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:12px;padding:12px 0;border-bottom:1px solid var(--pb-line)}
#pb-intake-root.pb-intake .pb-price-list dt{min-width:0;margin:0;font-size:14px;line-height:1.45}
#pb-intake-root.pb-intake .pb-price-list dt strong{font-weight:600}
#pb-intake-root.pb-intake .pb-price-list dt small{display:block;margin-top:3px;color:#435b64;font-size:13px;line-height:1.45}
#pb-intake-root.pb-intake .pb-price-list dd{margin:0;color:var(--pb-ink);font-family:var(--pb-sans);font-size:17px;font-weight:700;font-style:normal;line-height:1.3;white-space:nowrap;font-variant-numeric:tabular-nums}
#pb-intake-root.pb-intake .pb-service-information>.pb-price-tax{margin-top:8px;font-size:12px}
#pb-intake-root.pb-intake .pb-service-information>.pb-price-traffic{padding:10px 12px;border-radius:7px;background:var(--pb-paper);font-size:13px}
#pb-intake-root.pb-intake .pb-service-information .pb-guidance-link{display:inline-flex;align-items:center;min-height:44px;padding:8px 0;font-size:14px;line-height:1.4}
#pb-intake-root.pb-intake .pb-service-information .pb-consultation-credit{margin-top:12px}
#pb-intake-root.pb-intake .pb-service-information .pb-consultation-credit summary{min-height:44px;padding:11px 12px;font-size:13px;line-height:1.5}
#pb-intake-root.pb-intake .pb-service-information .pb-consultation-credit p{font-size:13px;line-height:1.55}
#pb-intake-root.pb-intake .pb-price-free-link:focus-visible{outline:3px solid var(--pb-gold);outline-offset:3px}

/* Keep minimise available while the mobile typing viewport is reduced. */
@media(max-width:520px){
#pb-intake-root.pb-intake.pb-keyboard-open .pb-panel{grid-template-rows:auto 3px minmax(0,1fr) auto}
#pb-intake-root.pb-intake.pb-keyboard-open .pb-header{display:block}
}

/* Lawyer choice: reserve the arrow slot in the heading only. */
#pb-intake-root.pb-intake .calma-choices .calma-lawyer > strong{
  min-width:0;
  padding-inline-end:24px;
}
#pb-intake-root.pb-intake .calma-choices .calma-lawyer > .calma-choice-arrow{
  right:auto;
  inset-inline-end:12px;
}

/* EN/AR assistant: retain the publisher arrow slot; mirror only the assistant surface. */
#pb-intake-root.pb-intake[dir="rtl"] .pb-launcher-copy{ text-align:right!important; }
#pb-intake-root.pb-intake .pb-panel[dir="rtl"]{ direction:rtl; text-align:right; }
#pb-intake-root.pb-intake .pb-panel[lang="ar"]{ font-family:"Noto Sans Arabic",Tahoma,Arial,sans-serif; }
#pb-intake-root.pb-intake .pb-panel[dir="rtl"] :is(.pb-message,.pb-chip,.pb-action,.pb-field,.pb-consent,.calma-choices a,.calma-choices button,.pb-composer-help,.pb-composer-hint,.pb-header-sub,.pb-consultation-credit){ text-align:right; }
#pb-intake-root.pb-intake .pb-panel[dir="rtl"] .pb-header-actions{ margin-left:0; margin-right:auto; }
#pb-intake-root.pb-intake .pb-panel[dir="rtl"] .calma-choice-arrow{ transform:scaleX(-1); }
#pb-intake-root.pb-intake .pb-panel[dir="rtl"] .calma-choices .calma-lawyer>.calma-choice-arrow{ right:auto;left:auto;inset-inline-end:12px; }
#pb-intake-root.pb-intake .pb-panel[dir="rtl"] :is(input[type="email"],input[type="tel"]){ direction:ltr;text-align:left; }
#pb-intake-root.pb-intake .pb-panel[dir="rtl"] .pb-input{ text-align:start; }
#pb-intake-root.pb-intake .pb-panel[dir="rtl"] :is(.pb-message,.pb-action,.pb-field,.pb-header-sub){ overflow-wrap:anywhere; }
.i18n-nav .pb-nav-assistant{ display:inline-flex;align-items:center;justify-content:center;min-height:44px;max-width:100%;padding:9px 14px;border:1px solid currentColor;border-radius:999px;background:transparent;color:inherit;font:inherit;line-height:1.35;text-align:center;white-space:normal;cursor:pointer; }
.i18n-nav .pb-nav-assistant:focus-visible{ outline:3px solid currentColor;outline-offset:3px; }

/* First human valuation: scoped emphasis on the actual live assistant. */
#pb-intake-root.pb-intake .calma-choices > .calma-lawyer { grid-column:1 / -1; order:-1; min-height:68px; padding:14px 16px!important; border:1px solid #c4a371!important; background:linear-gradient(180deg,#ebcda2,#dfbb88)!important; color:#163b47!important; box-shadow:inset 0 1px 0 #ffffff55,0 3px 9px #102e3c10; text-align:start!important; }
#pb-intake-root.pb-intake .calma-choices > .calma-lawyer strong { font-size:15px!important; line-height:1.4!important; color:inherit!important; }
#pb-intake-root.pb-intake .calma-choices > .calma-lawyer small { margin-top:4px; color:#42514f!important; font-size:12px!important; line-height:1.45!important; }
#pb-intake-root.pb-intake .calma-choices > :not(.calma-lawyer) { min-width:0; min-height:62px; line-height:1.4!important; }
#pb-intake-root.pb-intake .pb-route h3 { line-height:1.25; }
#pb-intake-root.pb-intake .pb-route-actions .pb-action-primary,
#pb-intake-root.pb-intake .pb-lead-valuation .pb-action-primary { border-color:#c4a371; background:linear-gradient(180deg,#ebcda2,#dfbb88); color:#163b47; box-shadow:inset 0 1px 0 #ffffff55,0 3px 9px #102e3c10; }
#pb-intake-root.pb-intake .pb-action { min-width:0; white-space:normal; overflow-wrap:anywhere; line-height:1.45; }
#pb-intake-root.pb-intake .pb-lead-valuation h3 { margin-bottom:8px; font-size:21px; line-height:1.25; }
#pb-intake-root.pb-intake .pb-lead-valuation > p { font-size:13px; line-height:1.55; }
#pb-intake-root.pb-intake .pb-lead-valuation .pb-field input,
#pb-intake-root.pb-intake .pb-lead-valuation .pb-field textarea { font-size:16px; min-height:46px; }
#pb-intake-root.pb-intake .pb-lead-valuation .pb-action { width:100%; min-height:46px; margin-top:8px; }
#pb-intake-root.pb-intake .pb-valuation-context { margin:8px 0 10px; padding:0 10px; border:1px solid var(--pb-line); border-radius:8px; background:#f7f5ef; }
#pb-intake-root.pb-intake .pb-valuation-context > summary { display:list-item; min-height:44px; padding:11px 0; cursor:pointer; color:var(--pb-navy-800); font-size:13px; font-weight:600; line-height:1.45; }
#pb-intake-root.pb-intake .pb-valuation-context > p { font-size:12px; line-height:1.5; color:var(--pb-muted); }
#pb-intake-root.pb-intake .pb-lead-valuation .pb-consent { font-size:12px; line-height:1.5; }
#pb-intake-root.pb-intake .pb-lead-valuation :is(input,textarea,summary,button):focus-visible { outline:3px solid #b38c55; outline-offset:3px; }
#pb-intake-root.pb-intake .pb-panel[dir="rtl"] .pb-lead-valuation :is(input[name="contact"],input[name="deadline"]) { direction:ltr; text-align:left; }
@media(max-width:600px) {
 #pb-intake-root.pb-intake .pb-lead-valuation { padding:14px; }
 #pb-intake-root.pb-intake .pb-lead-valuation h3 { font-size:20px; }
}

/* A compact launcher must fit its visible localized label; collision/keyboard
   controllers remain unchanged and may still select the protected icon mode. */
#pb-intake-root.pb-intake .pb-launcher.is-compact {
 width:max-content!important; min-width:166px!important;
 max-width:calc(100vw - 24px)!important; overflow:visible!important;
}
#pb-intake-root.pb-intake .pb-launcher.is-compact .pb-launcher-copy {
 flex:0 1 auto!important; width:max-content!important; min-width:max-content!important;
 max-width:calc(100vw - 100px)!important; overflow:visible!important;
}
#pb-intake-root.pb-intake .pb-launcher.is-compact .pb-launcher-short {
 white-space:nowrap!important; line-height:1.35!important;
}

/* Match the actual home specificity as well as the general widget surface. */
body #pb-intake-root.pb-intake .pb-launcher.is-compact:not(.is-icon),
body.home-page[data-pb-home] #pb-intake-root.pb-intake .pb-launcher.is-compact:not(.is-icon) {
 width:max-content!important; min-width:166px!important; max-width:calc(100vw - 24px)!important;
}
body #pb-intake-root.pb-intake .pb-lead-valuation > .pb-action {
 display:flex!important; flex-direction:column!important; align-items:center!important;
 justify-content:center!important; gap:3px!important; text-align:center!important;
}
body #pb-intake-root.pb-intake .pb-lead-valuation > .pb-action > :is(strong,span) {
 width:100%!important; text-align:center!important; white-space:normal!important;
}
body #pb-intake-root.pb-intake .pb-panel[lang="ar"] :is(.pb-lead-valuation,.pb-route,.pb-message,.pb-action,.pb-field,.pb-consent) {
 font-family:Tahoma,Arial,sans-serif!important;
}
body #pb-intake-root.pb-intake .pb-panel[lang="ar"] .pb-lead-valuation :is(p,label,summary,button) { font-size:14px!important; line-height:1.65!important; }

body #pb-intake-root.pb-intake .pb-panel[lang="ar"] .pb-lead-valuation :is(h3,p,label,span,strong,summary,button,input,textarea) {
 font-family:"Segoe UI",Tahoma,Arial,sans-serif!important;
}
body #pb-intake-root.pb-intake .pb-panel[lang="ar"] .pb-lead-valuation :is(p,label,summary,button,.pb-consent span) { font-size:14px!important; line-height:1.65!important; }

/* Arabic informational copy: system font and readable body size only.
   CTA sizes, page layout, dialog viewport and collision controls are unchanged. */
body #pb-intake-root.pb-intake .pb-panel[lang="ar"] :is(.pb-message p,.pb-route p,.pb-route-note,.pb-position,.pb-footer span,.pb-header-kicker,.pb-header-sub,.pb-composer-help,.pb-composer-hint) {
 font-family:"Segoe UI",Tahoma,Arial,sans-serif!important;
 font-size:14px!important; line-height:1.6!important;
}
body #pb-intake-root.pb-intake .pb-panel[lang="ar"] :is(.pb-message p,.pb-route p,.pb-footer span) :is(a,strong,em,span) {
 font-family:inherit!important; font-size:inherit!important; line-height:inherit!important;
}
