/* R203 client presentation. The server retains control of every permitted link. */
html body.crm-independent-client-r203 {
  --ink:#122033;--muted:#5c6b7a;--line:#dbe3ec;--canvas:#f4f7fb;
  --gold:#2472b7;--gold-dark:#0f4f91;--gold-light:#eaf3ff;
  margin:0;min-height:100vh;background:#f4f7fb!important;color:#122033!important;font-family:Arial,Helvetica,sans-serif;
}
html body.crm-independent-client-r203 .portal-header {position:sticky;top:0;z-index:900;background:#0b2346!important;border-color:#173b67!important;color:#fff!important;box-shadow:none!important}
html body.crm-independent-client-r203 .header-inner {max-width:none;min-height:92px;padding:16px 24px;gap:18px}
html body.crm-independent-client-r203 .portal-header :is(.brand,.brand strong,.brand small,.account-name,.header-note,.crm-profile-photo-r140-link) {color:#fff!important;-webkit-text-fill-color:#fff!important;text-shadow:none!important}
html body.crm-independent-client-r203 .brand {min-width:0;flex-shrink:1;margin:0}
html body.crm-independent-client-r203 .brand strong {max-width:380px;letter-spacing:0;font-size:21px;line-height:1.25;overflow-wrap:anywhere}
html body.crm-independent-client-r203 .brand small {font-size:11px;line-height:1.4;letter-spacing:.04em}
html body.crm-independent-client-r203 .brand-mark {border-color:#7691ad;color:#fff;font-size:24px;border-radius:8px}
html body.crm-independent-client-r203 .ysbp-portal-logo-r137 {background:#fff;border-radius:9px;object-fit:contain;flex:none}
html body.crm-independent-client-r203 .account-menu {min-width:0;margin-left:auto;flex-wrap:wrap}
html body.crm-independent-client-r203 .header-button {min-height:44px!important;background:#163b68!important;border-color:#7691ad!important;color:#fff!important}
html body.crm-independent-client-r203 .portal-shell {max-width:none;padding:28px 28px 18px;min-width:0}
html body.crm-independent-client-r203.crm-client-sidebar-r203 .portal-shell {margin-left:244px}
html body.crm-independent-client-r203 .top-nav {position:fixed;top:var(--crm-client-header-r203,92px);bottom:0;left:0;width:244px;max-width:none;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:4px;padding:24px 14px;background:#fff!important;border-right:1px solid #dbe3ec;overflow:auto;z-index:901}
html body.crm-independent-client-r203 .top-nav::before {content:"Your workspace";font-size:17px;font-weight:700;color:#0b2346;padding:0 10px 16px;line-height:1.4}
html body.crm-independent-client-r203 .top-nav a {min-height:44px;min-width:0;max-width:none;padding:12px;border:1px solid transparent!important;border-radius:9px;background:transparent!important;color:#34465a!important;-webkit-text-fill-color:#34465a!important;font:500 14px/1.4 Arial,sans-serif;white-space:normal;overflow-wrap:anywhere;text-decoration:none!important}
html body.crm-independent-client-r203 .top-nav a:hover {background:#f2f6fb!important;color:#0f4f91!important;-webkit-text-fill-color:#0f4f91!important}
html body.crm-independent-client-r203 .top-nav a[aria-current=page] {background:#eaf3ff!important;color:#0f4f91!important;-webkit-text-fill-color:#0f4f91!important;border-color:#ccdef1!important;font-weight:700}
html body.crm-independent-client-r203 :is(a,button,input,select,textarea,summary):focus-visible {outline:3px solid #2472b7;outline-offset:3px}
html body.crm-independent-client-r203 .portal-header :is(a,button):focus-visible {outline-color:#cce8ff}
html body.crm-independent-client-r203 .top-nav a:focus-visible {outline-color:#2472b7}
html body.crm-independent-client-r203 .card {border-color:#dbe3ec;border-radius:14px;box-shadow:0 3px 10px #0b234605}
html body.crm-independent-client-r203 .gold-tint {background:#eaf3ff!important;border-color:#ccdef1!important}
html body.crm-independent-client-r203 .client-business-r177 {border-color:#dbe3ec;border-left-color:#2472b7}
html body.crm-independent-client-r203 .portal-shell a {color:#0f4f91}
html body.crm-independent-client-r203 .portal-shell a.button:not(.secondary) {color:#fff}
html body.crm-independent-client-r203 .skip-link:focus {z-index:2147483643;color:#0b2346;top:10px}
#crmClientMenuToggleR203,#crmClientMenuCloseR203,#crmClientMenuBackdropR203 {display:none}
@media(max-width:1024px) {
  html body.crm-independent-client-r203 .header-inner {min-height:0;flex-wrap:wrap;gap:12px;padding:14px}
  html body.crm-independent-client-r203 .brand {flex:1;gap:9px;min-width:0;margin:0}
  html body.crm-independent-client-r203 .brand strong {font-size:18px;max-width:none}
  html body.crm-independent-client-r203 .brand small {font-size:10px}
  html body.crm-independent-client-r203 .ysbp-portal-logo-r137 {width:44px;height:44px}
  html body.crm-independent-client-r203 .account-menu {flex:1 1 100%;margin:0;justify-content:space-between;gap:10px}
  html body.crm-independent-client-r203 .portal-shell,
  html body.crm-independent-client-r203.crm-client-sidebar-r203 .portal-shell {margin-left:0;padding:22px 14px 16px}
  html body.crm-independent-client-r203 .top-nav {position:static;flex:1 1 100%;width:100%;flex-direction:row;gap:8px;padding:8px 0;border:0;background:transparent!important}
  html body.crm-independent-client-r203 .top-nav::before {content:none}
  html body.crm-independent-client-r203 .top-nav a {flex:none;background:#fff!important}
  html body.crm-independent-client-r203.crm-client-menu-ready-r203 #crmClientMenuToggleR203 {display:inline-flex;flex:none;align-items:center;justify-content:center;width:44px;min-width:44px;height:44px;padding:0;margin:0;background:#163b68;color:#fff;border:1px solid #7691ad;border-radius:9px}
  #crmClientMenuToggleR203 svg {width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2}
  html body.crm-independent-client-r203.crm-client-menu-ready-r203 .top-nav {position:fixed;top:0;bottom:0;left:0;width:min(320px,88vw);max-height:100dvh;flex-direction:column;gap:4px;padding:22px 14px;z-index:2147483642;background:#fff!important;box-shadow:12px 0 35px #0b234629;transform:translateX(-105%);visibility:hidden;transition:transform .16s ease,visibility .16s}
  html body.crm-independent-client-r203.crm-client-menu-open-r203 .top-nav {transform:none;visibility:visible}
  html body.crm-independent-client-r203.crm-client-menu-ready-r203 .top-nav::before {content:"Your workspace";padding-right:50px}
  html body.crm-independent-client-r203.crm-client-menu-ready-r203 #crmClientMenuCloseR203 {display:inline-flex;position:absolute;top:14px;right:14px;align-items:center;justify-content:center;width:44px;min-width:44px;height:44px;padding:0;margin:0;background:#f4f7fb;color:#0b2346;border:1px solid #cbd7e5;border-radius:9px}
  #crmClientMenuBackdropR203 {position:fixed;inset:0;width:100%;height:100%;max-width:none;padding:0;margin:0;border:0;border-radius:0;background:#0b234680;z-index:2147483641}
  html body.crm-client-menu-open-r203 #crmClientMenuBackdropR203 {display:block}
  html body.crm-client-menu-open-r203 {overflow:hidden}
}
@media(prefers-reduced-motion:reduce) {html body.crm-independent-client-r203 .top-nav {transition:none!important}}
@media print {
  html body.crm-independent-client-r203 :is(.portal-header,.top-nav,#crmClientMenuBackdropR203,#crmClientMenuToggleR203) {display:none!important}
  html body.crm-independent-client-r203 .portal-shell {margin:0!important;padding:0!important}
}

/* R215: retain the firm's logo inside its existing client navigation drawer. */
html body.crm-independent-client-r203 .top-nav[data-crm-client-brand-r215]::before {content:none!important;display:none!important}
html body.crm-independent-client-r203 .crm-client-menu-brand-r215 {display:block;flex:none;min-width:0;width:100%;margin:0 0 8px;padding:0 10px 16px;border-bottom:1px solid var(--line,#dbe3ec)}
html body.crm-independent-client-r203 .crm-client-menu-brand-r215 .crm-business-brand-r215 {display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:8px!important;min-width:0;max-width:100%;padding:0!important;margin:0!important;border:0!important;background:transparent!important}
html body.crm-independent-client-r203 .crm-client-menu-brand-r215 .crm-business-logo-r215 {display:block!important;flex:none!important;width:150px!important;height:68px!important;max-width:100%!important;max-height:68px!important;object-fit:contain!important;object-position:left center!important;margin:0!important;padding:5px!important;border:1px solid var(--line,#dbe3ec)!important;border-radius:9px!important;background:#fff!important;filter:none!important;opacity:1!important}
html body.crm-independent-client-r203 .crm-client-menu-brand-r215 :is(strong,.crm-business-name-r215) {display:block;min-width:0;max-width:100%;margin:0;color:var(--ink,#122033)!important;-webkit-text-fill-color:currentColor!important;font-size:16px!important;font-weight:700!important;line-height:1.35!important;white-space:normal!important;overflow-wrap:anywhere}
@media(max-width:1024px) {
 html body.crm-independent-client-r203:not(.crm-client-menu-ready-r203) .crm-client-menu-brand-r215 {display:none}
 html body.crm-independent-client-r203.crm-client-menu-ready-r203 .crm-client-menu-brand-r215 {padding-right:48px}
}
