/* Source: portal/ui/staff-direction.css; build: node portal/build-referrals.mjs */
body[data-portal-staff=true]{color-scheme:light}.staff-shell{--owner-bg: #f3f0ea;--owner-surface: #fffdf9;--owner-muted: #555c6b}.staff-shell .sidebar-context{flex:none}.staff-shell .sidebar-bottom{margin-top:auto}.staff-shell .sidebar{scrollbar-gutter:stable}.staff-sidebar-art{position:relative;min-height:145px;margin:12px 5px 18px;padding:36px 12px 0;overflow:hidden;flex:none}.staff-sidebar-art .cp-trail{position:absolute;left:-30px;top:-65px;width:260px;height:125px}.staff-sidebar-art p{position:relative;font:italic 21px/1.1 var(--serif);color:#0d1024}.staff-sidebar-art em{color:#7a3bff}.staff-shell .topbar>.eyebrow{display:none}.staff-shell .topbar .owner-search-button{display:flex;min-width:0;width:min(475px,55%);margin-right:auto;background:#fffdf999;border:1px solid #e2dccf;color:#555c6b;border-radius:9px}.staff-shell .preview-bar{align-items:center;flex-wrap:wrap}.staff-shell .preview-bar select{color:#0d1024;background:#fffdf9;border:1px solid #e2dccf;min-height:40px;max-width:100%}.staff-shell .preview-bar__title{color:#555c6b}.staff-shell .workspace>*{min-width:0}.staff-shell .panel,.staff-shell .record-card,.staff-shell .metric,.staff-shell .empty-state{background:linear-gradient(150deg,#fffdf9,#fffdf9);color:#0d1024;border:1px solid #e2dccf;border-radius:17px;box-shadow:0 10px 30px #0d10240d}.staff-shell .panel--lavender{background:linear-gradient(140deg,#f7f4ee,#fffdf9)}.staff-shell .panel .eyebrow,.staff-shell .record-card .eyebrow{color:#5b2dd6}.staff-shell .panel p,.staff-shell .record-card p,.staff-shell .metric small,.staff-shell .empty-state p{color:#555c6b}.staff-shell .empty-state{border-style:dashed}.staff-shell .staff-page-heading{position:relative;isolation:isolate;min-height:125px;gap:24px}.staff-shell .staff-page-heading>div:first-child{z-index:1}.staff-shell .page-heading h1{font-size:clamp(33px,4vw,56px)}.staff-shell .page-heading h1 em{color:#7a3bff}.staff-shell .page-heading p{color:#555c6b}.staff-shell .page-heading .eyebrow{color:#5b2dd6}.staff-shell .button,body[data-portal-staff=true] .detail-dialog .button{background:#ff6a3d;color:#0d1024;border:1px solid #ff6a3d;border-radius:9px;min-height:44px;font-weight:600}.staff-shell .button.secondary,body[data-portal-staff=true] .detail-dialog .button.secondary{background:#fffdf9;color:#0d1024;border-color:#e2dccf}.staff-shell .button:hover:not(:disabled),body[data-portal-staff=true] .detail-dialog .button:hover:not(:disabled){filter:brightness(1.12)}.staff-shell .button.secondary:hover:not(:disabled),body[data-portal-staff=true] .detail-dialog .button.secondary:hover:not(:disabled){background:#e9e2fc;color:#0d1024;border-color:#b69cf5}.staff-shell .button.danger,body[data-portal-staff=true] .detail-dialog .button.danger{background:#f7f4ee;color:#a32b36;border-color:#e7b9bf}.staff-shell .button-link,body[data-portal-staff=true] .detail-dialog .button-link{color:#5b2dd6}.staff-shell .search-field,.staff-shell input,.staff-shell select,.staff-shell textarea,body[data-portal-staff=true] .detail-dialog input,body[data-portal-staff=true] .detail-dialog select,body[data-portal-staff=true] .detail-dialog textarea{background:#fffdf9;border-color:#e2dccf;color:#0d1024;accent-color:#7a3bff}.staff-shell input::placeholder,.staff-shell textarea::placeholder,body[data-portal-staff=true] .detail-dialog input::placeholder,body[data-portal-staff=true] .detail-dialog textarea::placeholder{color:#555c6b}.staff-shell input[type=checkbox],.staff-shell input[type=radio],body[data-portal-staff=true] .detail-dialog input[type=checkbox],body[data-portal-staff=true] .detail-dialog input[type=radio]{accent-color:#7a3bff}.staff-shell .pill{background:#f7f4ee;color:#5b2dd6;border-color:#e2dccf}.staff-shell .read-only-label,body[data-portal-staff=true] .read-only-label{background:#f7f4ee;color:#5b2dd6;border:1px solid #b69cf5}.staff-shell .notice,body[data-portal-staff=true] .detail-dialog .notice{background:#f7f4ee;color:#0d1024;border-color:#e2dccf}.staff-shell .notice.warning,body[data-portal-staff=true] .detail-dialog .notice.warning{background:#f7f4ee;color:#6b5200;border-color:#d6cfc2}.staff-shell .notice.danger,body[data-portal-staff=true] .detail-dialog .notice.danger{background:#f7f4ee;color:#a32b36;border-color:#d6cfc2}.staff-shell .notice p,body[data-portal-staff=true] .detail-dialog .notice p{color:inherit}.staff-shell .table-wrap,.staff-shell table,body[data-portal-staff=true] .detail-dialog table{background:#fffdf9;border-color:#e2dccf}.staff-shell th,body[data-portal-staff=true] .detail-dialog th{color:#5b2dd6;background:#fffdf9}.staff-shell td,body[data-portal-staff=true] .detail-dialog td{border-color:#e2dccf;color:#0d1024}.staff-shell .progress{background:#e9e2fc}.staff-shell .progress span{background:linear-gradient(90deg,#4989ff,#aa65ec,#e365d9)}.staff-shell .journey button{color:#555c6b}.staff-shell .journey button span{background:#ff6a3d;color:#0d1024}.staff-shell .journey .is-current button{color:#5b2dd6}.staff-shell .journey .is-current button span,.staff-shell .journey .is-done button span{background:#ff6a3d;color:#0d1024}.staff-shell .attention-marker{color:#6b5200;background:#f7f4ee}.staff-shell .toolbar,.staff-shell .button-group{min-width:0}.staff-shell .tree-surface{background-color:#fffdf9;background-image:radial-gradient(#7a3bff1f 1px,transparent 1px);border-color:#e2dccf;border-radius:20px}.staff-shell .tree-root{color:#0d1024;background:linear-gradient(110deg,#f7f4ee,#e9e2fc);border:1px solid #d6cfc2;box-shadow:none}.staff-shell .tree-node{background:#fffdf9;color:#0d1024;border-color:#e2dccf;box-shadow:0 6px 18px #0d102412;transition:border-color .2s,box-shadow .2s}.staff-shell .tree-node:hover{border-color:#b69cf5;box-shadow:none}.staff-shell .tree-node .eyebrow{color:#5b2dd6}.staff-shell .tree-node small{color:#555c6b}.staff-shell .tree-node:focus-visible{outline-color:#7a3bff}.staff-shell .tree-controls button{color:#0d1024;background:#fffdf9;border-color:#e2dccf}.staff-shell .tree-list-node{background:linear-gradient(135deg,#fffdf9,#fffdf9);color:#0d1024;border-color:#e2dccf}body[data-portal-staff=true] .detail-dialog{background:#fffdf9;color:#0d1024;border-left:1px solid #e2dccf;box-shadow:-20px 0 100px #0d102429;color-scheme:light}body[data-portal-staff=true] .detail-dialog::backdrop{background:#0d102459}body[data-portal-staff=true] .drawer-heading{background:#fffdf9;border-bottom-color:#e2dccf}body[data-portal-staff=true] .drawer-heading h2{color:#0d1024}body[data-portal-staff=true] .drawer-heading .eyebrow{color:#5b2dd6}body[data-portal-staff=true] .detail-dialog .icon-button{background:#f7f4ee;color:#0d1024;border-color:#e2dccf}body[data-portal-staff=true] .detail-dialog :is(.panel,.record-card,.empty-state){background:#fffdf9;color:#0d1024;border-color:#e2dccf}body[data-portal-staff=true] .detail-dialog :is(.field small,.text-muted,.record-card p,.empty-state p){color:#555c6b}body[data-portal-staff=true] .detail-dialog .search-result{background:#fffdf9;color:#0d1024;border-color:#e2dccf}body[data-portal-staff=true] .detail-dialog .search-result:hover{background:#e9e2fc}body[data-portal-staff=true] .detail-dialog .search-result small{color:#5b2dd6}body[data-portal-staff=true] .detail-dialog .badge{background:#f7f4ee;color:#0d1024;border-color:#d6cfc2}body[data-portal-staff=true] .detail-dialog .badge.good{background:#f7f4ee;color:#35520a;border-color:#d6cfc2}body[data-portal-staff=true] .detail-dialog .badge.warm{background:#f7f4ee;color:#6b5200;border-color:#f1dc9a}body[data-portal-staff=true] .detail-dialog .badge.violet{background:#e9e2fc;color:#5b2dd6;border-color:#d6cfc2}body[data-portal-staff=true] .toast{background:#f7f4ee;color:#0d1024;border-color:#cfe3b0}body[data-portal-staff=true] .toast[data-error=true]{background:#f7f4ee;color:#0d1024;border-color:#e7b9bf}.staff-quick-actions{display:grid;gap:14px}body[data-portal-staff=true] :is(.staff-shell,.detail-dialog) .tabs button{color:#555c6b;border-radius:8px;min-height:44px}body[data-portal-staff=true] :is(.staff-shell,.detail-dialog) .tabs button[aria-selected=true],body[data-portal-staff=true] :is(.staff-shell,.detail-dialog) .tabs button[aria-pressed=true]{background:#e9e2fc;color:#0d1024}body[data-portal-staff=true] :is(.staff-shell,.detail-dialog) .next-action{background:#f7f4ee;color:#5b2dd6!important}body[data-portal-staff=true] :is(.staff-shell,.detail-dialog) .origin-note{color:#555c6b!important}body[data-portal-staff=true] :is(.staff-shell,.detail-dialog) .notice.error,body[data-portal-staff=true] .detail-dialog .form-error{background:#f7f4ee;color:#a32b36;border-color:#d6cfc2}@media(max-height:1100px){.staff-shell .staff-sidebar-art{display:none}.staff-shell .sidebar-context{margin-top:12px;padding-top:12px;padding-bottom:12px}}@media(max-width:820px){body[data-portal-staff=true] :is(.staff-shell,.detail-dialog) :is(input,select,textarea){font-size:16px}.staff-shell .page-heading h1{font-size:clamp(30px,7.5vw,44px)}.staff-shell .topbar .owner-search-button{width:42px;min-width:42px;padding:10px;margin-right:auto}.staff-shell .topbar .owner-search-button span,.staff-shell .topbar .owner-search-button kbd,.staff-shell .staff-sidebar-art{display:none}.staff-shell .sidebar{height:100dvh}.staff-shell .staff-page-heading>.button{align-self:start}.staff-shell .tree-breadcrumb label{width:100%}body[data-portal-staff=true] .drawer-heading{padding:20px}body[data-portal-staff=true] .drawer-body{padding:22px 18px 40px}}@media(max-width:390px){.staff-shell .preview-tabs a{min-height:40px;font-size:11px;padding:9px}.staff-shell .tree-breadcrumb select{max-width:100%}}.sf-home-simple{display:grid;gap:28px}.sf-home-simple .cp-heading{margin-bottom:0}.sf-home-simple .cp-heading h1{font-size:clamp(32px,4vw,52px)}.sf-home-simple [data-prospect-cards]:empty{display:none}.sf-home-simple .sf-section-title{margin-bottom:18px}.sf-home-simple .sf-earnings{padding:24px}@media(max-width:600px){.sf-home-simple{gap:24px}.sf-home-simple .sf-earnings{padding:20px}}.staff-shell[data-staff-role=residual] .cp-bottom-nav{grid-template-columns:repeat(4,minmax(0,1fr))}
