/* Shared company + CrestFlow lockup for client, LO and administrator portals. */
.crestflow-wordmark{display:inline-flex;align-items:center;flex:none;font-family:'Poppins',Arial,sans-serif;font-size:16px;font-weight:700;letter-spacing:-.6px;line-height:1.2;white-space:nowrap;color:#272264}
.crestflow-wordmark>span{color:#365eab}
.sidebar>.company-brand.portal-brand,.admin-work-mode>.sidebar>.company-brand.portal-brand{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;width:auto;flex:0 0 auto;gap:14px;padding:0;letter-spacing:normal}
.sidebar>.company-brand.portal-brand img,.admin-work-mode>.sidebar>.company-brand.portal-brand img{width:120px;height:36px;flex:none;object-fit:contain}
.sidebar>.company-brand.portal-brand .crestflow-wordmark{border-left:1px solid #dbe2ee;padding-left:14px;font-size:16px;font-weight:700}
.sidebar #nav{min-width:0;flex:1;overflow-x:auto}
.entry-brand>.crestflow-wordmark{font-family:'Poppins',Arial,sans-serif;font-size:24px;font-weight:700;color:#272264;letter-spacing:-.8px;padding-left:24px;line-height:1.2;border-left:1px solid #dbe2ee}
.entry-brand{flex-wrap:wrap}
.hub .hub-wordmark{font-weight:700;color:#272264}
.hub .hub-wordmark>span{color:#365eab}
.preview-head .portal-preview-brand{display:inline-flex;align-items:center;gap:20px}
.preview-head .portal-preview-brand .crestflow-wordmark{padding-left:20px;border-left:1px solid #dbe2ee;font-size:22px}
@media(max-width:800px){.sidebar>.company-brand.portal-brand{margin-right:auto}.sidebar #nav{flex-basis:100%;width:100%}.sidebar{flex-wrap:wrap;height:auto;min-height:76px}.sidebar .sidebar-bottom{flex-shrink:0}.sidebar>.company-brand.portal-brand .crestflow-wordmark{font-size:16px}}
@media(max-width:520px){.sidebar>.company-brand.portal-brand,.admin-work-mode>.sidebar>.company-brand.portal-brand{gap:10px}.sidebar>.company-brand.portal-brand .crestflow-wordmark{padding-left:10px}.sidebar .side-user>div{display:none}.entry-brand>.crestflow-wordmark{font-size:24px}.preview-head .portal-preview-brand{flex-wrap:wrap;gap:14px}}

/* Original approved animated blue house drawing. */
.welcome-house svg,.entry-house svg{display:block;width:100%;height:auto;overflow:visible;transform-origin:50% 70%;animation:crest-house-float 7s ease-in-out infinite}
.welcome-house svg path,.entry-house svg path{stroke-dasharray:1;stroke-dashoffset:0;animation:crest-house-draw 2.8s ease-out both}
.welcome-house svg path:last-child,.entry-house svg path:last-child{animation-duration:1.2s}
@keyframes crest-house-draw{from{stroke-dashoffset:1;opacity:.25}to{stroke-dashoffset:0;opacity:1}}
@keyframes crest-house-float{0%,100%{transform:translateY(0) rotateY(-2deg)}50%{transform:translateY(-5px) rotateY(2deg)}}
@media(prefers-reduced-motion:reduce){.welcome-house svg,.entry-house svg,.welcome-house svg path,.entry-house svg path{animation:none;transform:none;stroke-dashoffset:0}}

/* Requested upper-right circled registered mark on every CrestFlow lockup. */
.crestflow-wordmark,.hub-wordmark{position:relative;padding-right:.55em}
.crestflow-wordmark::after,.hub-wordmark::after{content:"\00ae";position:absolute;right:0;top:-.12em;font-family:Arial,sans-serif;font-size:.38em;line-height:1;font-weight:600;letter-spacing:0;color:#272264}
