/* R457 — approved Premium Demo structural parity, source-matched.
   One existing renderer per route, no fabricated data, no API or permission changes.
   This sheet loads after R456 and overrides only authenticated workspace surfaces. */
body.saas-on .saas-workspace{
 --r457-navy:#102c4c;--r457-navy2:#173b60;--r457-orange:#f57436;
 --r457-blue:#246fa6;--r457-ink:#173554;--r457-muted:#7189a2;
 --r457-bg:#f3f7fb;--r457-line:#e0e9f2;--r457-soft:#f5f8fc;
 --r457-green:#09835b;color:var(--r457-ink);
}
body.saas-on .saas-workspace :is(button,input,select,textarea){font-family:inherit;}
body.saas-on .saas-workspace :is(button,a,input,select,textarea):focus-visible{outline:2px solid #3c91c7!important;outline-offset:2px!important}
body.saas-on .saas-workspace .saas-main{background:var(--r457-bg)!important}
body.saas-on .saas-workspace .saas-toolbar{box-shadow:none!important;border-color:var(--r457-line)!important}
body.saas-on .saas-workspace .saas-sidebar{background:var(--r457-navy)!important}
body.saas-on .saas-workspace .workspace-tab{min-height:38px!important;font-size:12px!important;}
body.saas-on .saas-workspace :is(.r278-job-master,.r278-context-panel,.r278-data-master,.r376-feed-main,.r376-feed-aside,.r374-form-card,.r374-list-card){background:#fff!important;border:1px solid var(--r457-line)!important;border-radius:10px!important;box-shadow:none!important}
body.saas-on .saas-workspace :is(#jobs-panel,#worklist-panel,#candidates-panel,#payouts-panel,#partner-updates-panel,#client-referrals-panel,#profile-panel){min-width:0!important}
body.saas-on .saas-workspace :is(#jobs-panel,#worklist-panel,#candidates-panel,#payouts-panel) :is(.r278-job-split,.r278-data-split,.r83-candidate-split){grid-template-columns:minmax(0,55fr) minmax(0,45fr)!important;min-height:0!important;gap:10px!important}
body.saas-on .saas-workspace :is(#jobs-panel,#worklist-panel,#candidates-panel,#payouts-panel) :is(.r278-job-master,.r278-data-master,.r278-context-panel){min-width:0!important;min-height:0!important;overflow:hidden!important}
body.saas-on .saas-workspace :is(.r278-table-head,.r97-job-column-head){background:var(--r457-soft)!important;border-color:var(--r457-line)!important;letter-spacing:.08em!important;font-size:10px!important;font-weight:800!important;color:#708aa3!important}
body.saas-on .saas-workspace :is(.r278-table-head,.r97-job-column-head,.r94-directory-bar,.r278-aside-head){position:sticky;top:0;z-index:3}
body.saas-on .saas-workspace :is(.r278-detail-fields,.r83-detail-list){min-width:0;}
body.saas-on .saas-workspace :is(.r278-detail-fields,.r457-worklist-facts){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0!important;background:#fff!important;border:1px solid var(--r457-line)!important;border-radius:8px!important;overflow:hidden}
body.saas-on .saas-workspace .r278-detail-field{margin:0!important;min-width:0!important;padding:10px!important;border-bottom:1px solid var(--r457-line)!important;border-right:1px solid var(--r457-line)!important;box-shadow:none!important;border-radius:0!important;background:#fff!important}
body.saas-on .saas-workspace .r278-detail-field dt{font-size:10px!important;color:var(--r457-muted)!important;line-height:1.35!important}
body.saas-on .saas-workspace .r278-detail-field dd{font-size:12px!important;font-weight:750!important;line-height:1.4!important;margin:4px 0 0!important;color:#1c4062!important;overflow-wrap:anywhere}
body.saas-on .saas-workspace :is(.r278-context-panel,.r376-feed-aside) :is(.r278-detail-title,.r457-update-detail-head h3){font-weight:800!important;color:#173554!important}
/* Overview — real metrics, real candidate stages, real jobs and RP updates. */
body.saas-on .saas-workspace #overview-panel{padding:10px!important;gap:9px!important}
body.saas-on .saas-workspace #overview-panel #r293-focus{
  background:linear-gradient(105deg,#123b62,#1b547f)!important;border:1px solid #255b83!important;color:#fff!important;
  border-radius:10px!important;padding:15px 18px!important;min-height:81px!important;box-shadow:none!important;
}
body.saas-on .saas-workspace #overview-panel #r293-focus :is(strong,span,p,small){color:#fff!important}
body.saas-on .saas-workspace #overview-panel #r293-focus .r293-focus-action{background:#fff!important;color:#173c5e!important;border-radius:7px!important}
body.saas-on .saas-workspace #overview-panel #r293-focus #r296-refresh-dashboard{border:1px solid #cad8e7!important;border-radius:7px!important}
body.saas-on .saas-workspace #overview-panel .r293-metrics{gap:9px!important}
body.saas-on .saas-workspace #overview-panel .r293-metric{background:#fff!important;border:1px solid var(--r457-line)!important;border-radius:9px!important;min-height:65px!important;box-shadow:none!important;padding:9px 12px!important}
body.saas-on .saas-workspace #overview-panel .r293-metric strong{font-weight:850!important;font-size:20px!important;color:#173554!important}
body.saas-on .saas-workspace #overview-panel .r282-overview-grid{grid-template-columns:minmax(0,55fr) minmax(300px,45fr)!important;gap:10px!important}
body.saas-on .saas-workspace #overview-panel .r282-overview-left{background:#fff!important;border:1px solid var(--r457-line)!important;border-radius:10px!important;overflow:auto!important;min-width:0!important}
body.saas-on .saas-workspace #overview-panel .r282-aside-scroll{gap:9px!important}
body.saas-on .saas-workspace #overview-panel #r293-pipeline{order:-20!important;border:1px solid var(--r457-line)!important;border-radius:10px!important;background:#fff!important;padding:12px!important}
body.saas-on .saas-workspace #overview-panel :is(.r293-active-summary,.saas-contact-card,.saas-setup-card){border:1px solid var(--r457-line)!important;border-radius:10px!important;background:#fff!important;box-shadow:none!important}
body.saas-on .saas-workspace #overview-panel .r293-pipeline-grid{gap:7px!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
body.saas-on .saas-workspace #overview-panel .r293-pipeline-grid button{border:1px solid var(--r457-line)!important;background:#fbfdff!important;border-radius:8px!important;min-height:63px!important;box-shadow:none!important}
body.saas-on .saas-workspace #overview-panel :is(#r293-jobs-heading,.r376-preview-head){border-top:1px solid var(--r457-line)!important;background:#fff!important;padding:9px 12px!important}
body.saas-on .saas-workspace #overview-panel #r282-overview-activity{border-top:1px solid var(--r457-line)!important}
/* Jobs — source list remains server paginated; detail gets real structured content. */
body.saas-on .saas-workspace #jobs-panel{gap:6px!important}
body.saas-on .saas-workspace #jobs-panel .r94-job-searchbar{margin-bottom:2px!important}
body.saas-on .saas-workspace #jobs-panel .r453-markets{gap:5px!important;min-height:27px!important}
body.saas-on .saas-workspace #jobs-panel .r453-quick-filters{gap:5px!important;min-height:29px!important}
body.saas-on .saas-workspace #jobs-panel .r278-job-split{grid-template-columns:minmax(0,55fr) minmax(0,45fr)!important;flex:1!important;min-height:0!important}
body.saas-on .saas-workspace #jobs-panel .r94-directory-bar{min-height:46px!important;padding:8px 12px!important;background:#fff!important}
body.saas-on .saas-workspace #jobs-panel .r97-job-column-head{position:sticky!important;top:0;z-index:2;min-height:34px!important}
body.saas-on .saas-workspace #jobs-panel .r93-job-row{min-height:57px!important;padding:8px 10px!important;gap:7px!important;grid-template-columns:minmax(0,1.9fr) minmax(110px,.92fr) minmax(100px,.8fr)!important;background:#fff!important;box-shadow:none!important;border-bottom:1px solid #edf2f7!important;border-radius:0!important;margin:0!important}
body.saas-on .saas-workspace #jobs-panel .r93-job-row.r278-selected{background:#eaf4fd!important;box-shadow:inset 3px 0 0 #2c7ab4!important}
body.saas-on .saas-workspace #jobs-panel .r93-job-title{font-size:12px!important;font-weight:800!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;display:block!important;max-width:100%!important;text-align:left!important}
body.saas-on .saas-workspace #jobs-panel :is(.r93-job-id,.r93-job-meta,.r93-job-openings){font-size:10px!important;line-height:1.35!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
body.saas-on .saas-workspace #jobs-panel .r93-job-reward{color:var(--r457-green)!important;font-weight:850!important;white-space:nowrap!important;font-size:12px!important}
body.saas-on .saas-workspace #jobs-panel #r278-job-detail{overflow:hidden!important;display:flex!important;flex-direction:column!important}
body.saas-on .saas-workspace #jobs-panel #r278-job-detail-body{min-height:0!important;overflow:auto!important;padding:0!important;overscroll-behavior:contain!important}
body.saas-on .saas-workspace #jobs-panel .r456-job-hero{padding:12px 13px!important;border-bottom:1px solid var(--r457-line)!important;gap:7px!important}
body.saas-on .saas-workspace #jobs-panel .r456-job-title-line{gap:8px!important}
body.saas-on .saas-workspace #jobs-panel .r456-job-title-line>.r290-job-title{font-size:14px!important;font-weight:800!important;letter-spacing:-.02em;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
body.saas-on .saas-workspace #jobs-panel .r456-title-actions button{font-size:10px!important;min-height:29px!important;max-height:32px!important;padding:6px 8px!important;white-space:nowrap!important}
body.saas-on .saas-workspace #jobs-panel .r278-detail-tabs{display:flex!important;gap:13px!important;padding:0 13px!important;min-height:39px!important;overflow-x:auto;scrollbar-width:none;border-bottom:1px solid var(--r457-line)!important}
body.saas-on .saas-workspace #jobs-panel .r278-detail-tabs .r278-tab{white-space:nowrap!important;min-height:36px!important;font-size:11px!important;padding:8px 0!important}
body.saas-on .saas-workspace #jobs-panel .r278-detail-tabs .r278-tab.is-active{color:#15466f!important;border-bottom:2px solid var(--r457-orange)!important}
body.saas-on .saas-workspace #jobs-panel .r278-job-tabcontent{padding:13px!important;min-height:0!important;overflow:visible!important}
body.saas-on .saas-workspace #jobs-panel .r278-detail-title{font-size:12px!important;margin:2px 0 8px!important}
body.saas-on .saas-workspace #jobs-panel .r291-jd-lead{font-size:11.5px!important;line-height:1.65!important;color:#57728e!important}
body.saas-on .saas-workspace #jobs-panel .r291-jd-paragraph{font-size:11.5px!important;line-height:1.55!important;margin:4px 0 8px!important}
body.saas-on .saas-workspace #jobs-panel .r291-jd-list{font-size:11.5px!important;line-height:1.6!important}
body.saas-on .saas-workspace #jobs-panel .r291-jd-heading{font-size:12px!important;margin:13px 0 7px!important}
body.saas-on .saas-workspace .r457-skill-chips{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0 14px}
body.saas-on .saas-workspace .r457-skill-chip{background:#f2f7fc;border:1px solid #dce7f0;border-radius:6px;color:#4c7291;font-size:10px;font-weight:650;padding:5px 8px}
body.saas-on .saas-workspace .r457-related-link{display:flex;align-items:center;justify-content:space-between;gap:8px;text-align:left;width:100%;padding:8px 10px;margin:5px 0;background:#fff;border:1px solid var(--r457-line);border-radius:7px;min-height:45px}
body.saas-on .saas-workspace .r457-related-link span:first-child{min-width:0}
body.saas-on .saas-workspace .r457-related-link strong{display:block;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.saas-on .saas-workspace .r457-related-link small{display:block;margin-top:3px;font-size:10px;color:var(--r457-muted)}
body.saas-on .saas-workspace .r457-related-arrow{color:var(--r457-blue);font-size:20px}
body.saas-on .saas-workspace #jobs-panel .r453-pager{background:#fff!important;border-top:1px solid var(--r457-line)!important;min-height:43px!important;padding:6px 10px!important;flex-shrink:0!important}
/* Shared page heads (real portal router buttons only). */
body.saas-on .saas-workspace .r457-page-head{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;flex-shrink:0;padding:4px 2px 8px}
body.saas-on .saas-workspace .r457-page-head h2{font-size:19px;font-weight:850;margin:0;color:#163957;letter-spacing:-.03em}
body.saas-on .saas-workspace .r457-page-head p{font-size:11px;color:var(--r457-muted);margin:3px 0 0;line-height:1.35}
body.saas-on .saas-workspace .r457-page-head button{white-space:nowrap;min-height:31px!important;border-radius:7px!important;font-size:11px!important}
/* My Jobs, Candidates, payouts — compact demo-style master/detail while preserving existing rows & actions. */
body.saas-on .saas-workspace :is(#worklist-panel,#candidates-panel,#payouts-panel){display:flex;flex-direction:column;gap:8px;min-height:0!important}
body.saas-on .saas-workspace :is(#worklist-panel,#candidates-panel,#payouts-panel)[hidden]{display:none!important}
body.saas-on .saas-workspace :is(#worklist-panel,#candidates-panel,#payouts-panel) :is(.r278-data-split,.r83-candidate-split){flex:1;min-height:0!important;overflow:hidden!important}
body.saas-on .saas-workspace :is(#worklist-panel,#candidates-panel,#payouts-panel) :is(.r278-data-list,.workspace-list){min-height:0!important;overflow-y:auto!important;overscroll-behavior:contain}
body.saas-on .saas-workspace :is(#worklist-panel,#candidates-panel,#payouts-panel) .r278-data-row{min-height:54px!important;padding:8px 11px!important;font-size:11px!important;border-bottom:1px solid #edf2f7!important;box-shadow:none!important}
body.saas-on .saas-workspace :is(#worklist-panel,#candidates-panel,#payouts-panel) :is(.r278-row-title,.r83-candidate-name){font-weight:800!important;font-size:12px!important;white-space:nowrap!important;text-overflow:ellipsis!important;overflow:hidden!important;max-width:100%}
body.saas-on .saas-workspace #worklist-panel .r278-worklist-row.r457-selected{background:#eaf4fd!important;box-shadow:inset 3px 0 0 #2c7ab4!important}
body.saas-on .saas-workspace #worklist-panel .r457-worklist-hero{padding:4px 0 9px}
body.saas-on .saas-workspace #worklist-panel .r457-worklist-hero h3{font-size:14px!important;line-height:1.4!important;margin:4px 0!important}
body.saas-on .saas-workspace #worklist-panel .r457-worklist-reward{background:#effaf4;border:1px solid #d3eddf;border-radius:8px;padding:10px;margin:10px 0;display:flex;flex-direction:column;gap:3px}
body.saas-on .saas-workspace #worklist-panel .r457-worklist-reward small{font-size:10px;color:#668873}
body.saas-on .saas-workspace #worklist-panel .r457-worklist-reward strong{font-size:16px;color:var(--r457-green)}
body.saas-on .saas-workspace #worklist-panel .r457-worklist-note{background:#f7fafc;border:1px solid var(--r457-line);padding:10px;border-radius:7px;font-size:11px;color:#607d96;line-height:1.5}
body.saas-on .saas-workspace #worklist-panel .r278-row-actions button{display:none!important} /* row itself opens details; actions on right */
body.saas-on .saas-workspace #candidates-panel :is(.v43-candidate-filters,.r289-candidate-toolbar){display:flex;align-items:center;gap:7px;flex-wrap:wrap;min-height:39px}
body.saas-on .saas-workspace #candidates-panel :is(.r83-candidate-aside,.r278-context-panel){border:1px solid var(--r457-line)!important;border-radius:10px!important}
body.saas-on .saas-workspace #candidates-panel .r83-detail-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;border:1px solid var(--r457-line);border-radius:8px;overflow:hidden;background:#fff}
body.saas-on .saas-workspace #candidates-panel .r83-detail-list dt{background:#fbfdff;color:var(--r457-muted);font-size:10px;padding:8px 8px 0}
body.saas-on .saas-workspace #candidates-panel .r83-detail-list dd{margin:0;padding:3px 8px 10px;color:#163957;font-size:12px;font-weight:730;overflow-wrap:anywhere}
body.saas-on .saas-workspace #payouts-panel .v43-payout-summary{min-height:34px!important;padding:7px 10px!important;border:1px solid var(--r457-line)!important;border-radius:8px!important;background:#fff!important;font-size:11px!important}
body.saas-on .saas-workspace #payouts-panel .r457-payout-banner{display:flex;flex-direction:column;background:#effaf4;border:1px solid #d3eddf;border-radius:8px;padding:10px;margin-bottom:12px;gap:3px}
body.saas-on .saas-workspace #payouts-panel .r457-payout-banner small{color:#628577;font-size:10px;font-weight:700}
body.saas-on .saas-workspace #payouts-panel .r457-payout-banner strong{color:var(--r457-green);font-size:19px;font-weight:850}
body.saas-on .saas-workspace #payouts-panel .r457-payout-banner span{font-size:10px;color:#57728e}
body.saas-on .saas-workspace #payouts-panel .r457-payout-contact{margin-top:10px;min-height:31px;font-size:11px}
/* Partner Updates — actual selectable, backend-scoped announcement master/detail. */
body.saas-on .saas-workspace #partner-updates-panel .r376-page-layout{grid-template-columns:minmax(0,55fr) minmax(0,45fr)!important;gap:10px!important}
body.saas-on .saas-workspace #partner-updates-panel .r376-feed-main{overflow:auto!important;min-height:0!important}
body.saas-on .saas-workspace #partner-updates-panel .r376-feed-aside{display:flex!important;flex-direction:column!important;overflow:auto!important;min-height:0!important;padding:0!important}
body.saas-on .saas-workspace #partner-updates-panel .r376-filterbar{position:sticky;top:0;z-index:5;background:#fff;border-bottom:1px solid var(--r457-line);padding:8px 10px!important}
body.saas-on .saas-workspace #partner-updates-panel .r376-post{border:0!important;border-bottom:1px solid #edf2f7!important;border-radius:0!important;margin:0!important;background:#fff!important;padding:11px 13px!important;min-height:78px!important;cursor:pointer}
body.saas-on .saas-workspace #partner-updates-panel .r376-post.r457-update-selected{background:#eaf4fd!important;box-shadow:inset 3px 0 0 #2c7ab4!important}
body.saas-on .saas-workspace #partner-updates-panel .r376-post:focus-visible{outline:2px solid #2c7ab4!important;outline-offset:-2px!important}
body.saas-on .saas-workspace #partner-updates-panel .r376-post-title{font-size:12px!important;margin:4px 0!important}
body.saas-on .saas-workspace #partner-updates-panel .r376-post-text{font-size:11px!important;line-height:1.45!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
body.saas-on .saas-workspace #partner-updates-panel .r376-post-actions:empty{display:none}
body.saas-on .saas-workspace #partner-updates-panel .r457-updates-detail{display:flex;flex-direction:column;gap:12px;padding:15px;min-height:170px;border-bottom:1px solid var(--r457-line)}
body.saas-on .saas-workspace #partner-updates-panel .r457-update-detail-head small{color:#246fa6;font-size:10px;letter-spacing:.06em;font-weight:800}
body.saas-on .saas-workspace #partner-updates-panel .r457-update-detail-head h3{margin:6px 0;font-size:17px!important;line-height:1.35}
body.saas-on .saas-workspace #partner-updates-panel .r457-update-detail-head p{margin:3px 0;font-size:10px;color:var(--r457-muted)}
body.saas-on .saas-workspace #partner-updates-panel .r457-update-detail-content{font-size:12px;line-height:1.65;color:#52718d;white-space:pre-wrap}
body.saas-on .saas-workspace #partner-updates-panel .r457-update-detail-content p{margin:0 0 10px}
body.saas-on .saas-workspace #partner-updates-panel .r457-update-detail-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:3px}
body.saas-on .saas-workspace #partner-updates-panel .r457-updates-guide{margin:9px!important;padding:10px!important;font-size:11px!important}
body.saas-on .saas-workspace #partner-updates-panel .r457-update-empty{color:#738ca1;font-size:12px;text-align:center;padding:36px 15px}
body.saas-on .saas-workspace #partner-updates-panel .r457-updates-back{display:none}
/* Referrals — approved Demo places authorized form on LEFT and history on RIGHT. */
@media(min-width:901px){
 body.saas-on .saas-workspace #client-referrals-panel:not([hidden]){grid-template-columns:minmax(0,55fr) minmax(0,45fr)!important;grid-template-rows:auto minmax(0,1fr)!important}
 body.saas-on .saas-workspace #client-referrals-panel>.r374-form-card{grid-column:1!important;grid-row:2!important;overflow:auto!important;min-height:0!important}
 body.saas-on .saas-workspace #client-referrals-panel>.r374-list-card{grid-column:2!important;grid-row:2!important;overflow:auto!important;min-height:0!important}
}
body.saas-on .saas-workspace #client-referrals-panel{max-width:none!important;margin:0!important;padding:10px!important;gap:10px!important}
body.saas-on .saas-workspace #client-referrals-panel .r374-heading{margin:0!important}
body.saas-on .saas-workspace #client-referrals-panel .r374-heading h2{font-size:20px!important;font-weight:850!important}
body.saas-on .saas-workspace #client-referrals-panel :is(.r374-form-card,.r374-list-card){padding:12px!important;margin:0!important}
body.saas-on .saas-workspace #client-referrals-panel .r410-tabs{gap:6px!important;margin-bottom:10px!important;padding-bottom:8px!important}
body.saas-on .saas-workspace #client-referrals-panel .r410-tabs button{min-height:29px!important;font-size:11px!important;padding:6px 10px!important}
body.saas-on .saas-workspace #client-referrals-panel .r374-form-grid{max-width:none!important;gap:10px!important}
body.saas-on .saas-workspace #client-referrals-panel :is(input,select,textarea){border-radius:7px!important}
body.saas-on .saas-workspace #client-referrals-panel .r374-list-table{overflow:auto;min-width:0}
body.saas-on .saas-workspace #client-referrals-panel table{min-width:0!important;width:100%!important}
/* Account: original approved four tabs; full-width rather than master/detail. */
body.saas-on .saas-workspace #profile-panel{max-width:none!important;background:var(--r457-bg)!important}
body.saas-on .saas-workspace #profile-panel :is(.r90-profile-head,.r90-profile-overview,.r90-profile-section,.r91-profile-completion){border:1px solid var(--r457-line)!important;border-radius:9px!important;background:#fff!important;box-shadow:none!important}
body.saas-on .saas-workspace #profile-panel .r90-profile-head{padding:11px 13px!important;min-height:58px!important}
body.saas-on .saas-workspace #profile-panel .r90-profile-head h3{font-size:15px!important}
body.saas-on .saas-workspace #profile-panel :is(.v44-profile-jump,.r90-profile-overview){min-width:0!important}
body.saas-on .saas-workspace #profile-panel :is(.r275-tabs,.r90-profile-tabs,.v44-account-tabs){display:flex;overflow-x:auto;flex-wrap:nowrap;gap:5px}
body.saas-on .saas-workspace #profile-panel :is(.r275-tabs,.r90-profile-tabs,.v44-account-tabs) button{min-height:32px!important;font-size:11px!important;white-space:nowrap}
/* Responsive: preserve existing R452 mobile navigation and one real detail renderer. */
@media(max-width:900px){
 body.saas-on .saas-workspace :is(#jobs-panel,#worklist-panel,#candidates-panel,#payouts-panel) :is(.r278-job-split,.r278-data-split,.r83-candidate-split){display:flex!important;flex-direction:column!important;gap:8px!important;min-height:0!important;overflow:visible!important}
 body.saas-on .saas-workspace #overview-panel .r282-overview-grid{display:flex!important;flex-direction:column!important;gap:9px!important}
 body.saas-on .saas-workspace #overview-panel .r282-overview-left{overflow:visible!important}
 body.saas-on .saas-workspace .r457-page-head{flex-wrap:wrap;align-items:flex-start;padding:3px 0 6px}
 body.saas-on .saas-workspace .r457-page-head h2{font-size:16px}
 body.saas-on .saas-workspace #partner-updates-panel .r376-page-layout{display:block!important}
 body.saas-on .saas-workspace #partner-updates-panel .r376-feed-aside{display:none!important}
 body.saas-on .saas-workspace #partner-updates-panel.r457-update-detail-open .r376-feed-main{display:none!important}
 body.saas-on .saas-workspace #partner-updates-panel.r457-update-detail-open .r376-feed-aside{display:flex!important;min-height:calc(100dvh - 165px)!important}
 body.saas-on .saas-workspace #partner-updates-panel .r457-updates-back{display:inline-flex!important;align-self:flex-start;min-height:32px!important;padding:7px 10px!important}
 body.saas-on .saas-workspace #client-referrals-panel{display:flex!important;flex-direction:column!important;overflow:auto!important}
 body.saas-on .saas-workspace #client-referrals-panel>.r374-form-card{order:1}
 body.saas-on .saas-workspace #client-referrals-panel>.r374-list-card{order:2}
 body.saas-on .saas-workspace #jobs-panel .r93-job-row{min-height:71px!important}
 body.saas-on .saas-workspace #jobs-panel .r456-job-title-line{flex-direction:column!important;align-items:stretch!important}
 body.saas-on .saas-workspace #jobs-panel .r456-job-title-line>.r456-title-actions{width:100%!important;flex-wrap:wrap!important;justify-content:flex-start!important}
 body.saas-on .saas-workspace #jobs-panel .r278-detail-fields{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.saas-on .saas-workspace #jobs-panel .r453-pager{position:sticky;bottom:calc(58px + env(safe-area-inset-bottom,0px));z-index:6}
 body.saas-on .saas-workspace #client-referrals-panel table{min-width:0!important}
}
@media(max-width:520px){
 body.saas-on .saas-workspace .r457-page-head{padding-inline:4px!important}
 body.saas-on .saas-workspace #jobs-panel .r278-detail-tabs{padding-inline:10px!important;gap:12px!important}
 body.saas-on .saas-workspace #jobs-panel .r278-job-tabcontent{padding:11px!important}
 body.saas-on .saas-workspace #jobs-panel .r278-detail-fields{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.saas-on .saas-workspace #profile-panel :is(input,select,textarea),body.saas-on .saas-workspace #client-referrals-panel :is(input,select,textarea){font-size:16px!important}
 body.saas-on .saas-workspace #payouts-panel .r457-payout-banner strong{font-size:16px}
 body.saas-on .saas-workspace #client-referrals-panel .r374-form-card{padding:12px!important}
}
/* A selected update is the right-side surface; older instructional cards are not repeated in this view. */
body.saas-on .saas-workspace #partner-updates-panel .r376-feed-aside>.r376-aside-card{display:none!important}
/* If a record was already selected before its new row list rendered, keep a stable highlight. */
body.saas-on .saas-workspace #worklist-panel .r278-worklist-row:focus-visible{outline:2px solid #2c7ab4!important;outline-offset:-2px!important}
body.saas-on .saas-workspace #client-referrals-panel .r457-referral-summary{display:block;background:#f5f9fd;border:1px solid #e0eaf3;border-radius:7px;padding:8px 10px;color:#57728e;font-size:11px;font-weight:650;margin:6px 0 10px}
/* Referral history is a compact card list inside the narrow details column; no sideways table viewport. */
body.saas-on .saas-workspace #client-referrals-panel .r374-list-table{overflow-y:auto!important;overflow-x:hidden!important}
body.saas-on .saas-workspace #client-referrals-panel .r374-list-table table,
body.saas-on .saas-workspace #client-referrals-panel .r374-list-table tbody{display:block!important;width:100%!important;min-width:0!important}
body.saas-on .saas-workspace #client-referrals-panel .r374-list-table thead{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}
body.saas-on .saas-workspace #client-referrals-panel .r374-list-table tbody tr{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:5px 10px!important;background:#fff!important;padding:9px!important;margin-bottom:7px!important;border:1px solid var(--r457-line)!important;border-radius:8px!important}
body.saas-on .saas-workspace #client-referrals-panel .r374-list-table tbody td{display:flex!important;flex-direction:column!important;min-width:0!important;border:none!important;padding:0!important;font-size:10px!important;overflow-wrap:anywhere}
body.saas-on .saas-workspace #client-referrals-panel .r374-list-table tbody td:first-child{grid-column:1/-1;font-size:12px!important;font-weight:750!important}
body.saas-on .saas-workspace #client-referrals-panel .r374-list-table tbody td:nth-child(3){grid-column:1/-1;color:#668198!important}
body.saas-on .saas-workspace #client-referrals-panel .r374-list-table tbody td:nth-child(2)::before{content:'TYPE';font-size:9px;letter-spacing:.04em;color:#7b91a5;font-weight:800;margin-bottom:3px}
body.saas-on .saas-workspace #client-referrals-panel .r374-list-table tbody td:nth-child(4)::before{content:'SUBMITTED';font-size:9px;letter-spacing:.04em;color:#7b91a5;font-weight:800;margin-bottom:3px}
body.saas-on .saas-workspace #client-referrals-panel .r374-list-table tbody td:nth-child(5)::before{content:'STATUS';font-size:9px;letter-spacing:.04em;color:#7b91a5;font-weight:800;margin-bottom:3px}
body.saas-on .saas-workspace #client-referrals-panel .r374-list-table tbody td[colspan]{grid-column:1/-1!important;color:#607e96;font-size:11px!important}
/* Sticky right header/tabs, independently scrolling detail body on desktop. */
@media(min-width:901px){
 body.saas-on .saas-workspace #jobs-panel #r278-job-detail-body{display:flex!important;flex-direction:column!important;overflow:hidden!important;flex:1!important;min-height:0!important}
 body.saas-on .saas-workspace #jobs-panel .r456-job-hero{flex:none!important}
 body.saas-on .saas-workspace #jobs-panel .r278-detail-tabs{flex:none!important}
 body.saas-on .saas-workspace #jobs-panel .r278-job-tabcontent{flex:1!important;min-height:0!important;overflow-y:auto!important;overscroll-behavior:contain;scrollbar-width:thin}
}
