/* Reference refinement. The existing .hero and .site-header rules stay intact. */
:root{--reference-lime:#dfff25;--reference-border:#414141;--reference-panel:linear-gradient(125deg,#141414,#070707)}
.ref-section{width:min(91.5%,1460px);margin:0 auto;padding:56px 0}
.ref-section .section-label{font-size:14px;letter-spacing:2.5px;gap:16px;font-weight:600}
.ref-section .section-label i{width:44px;height:5px;border-radius:4px;background:var(--reference-lime)}
.ref-section h1,.ref-section h2{font-size:clamp(32px,4.3vw,66px);letter-spacing:-1.7px;line-height:1.12;margin:24px 0}
.ref-section em,.final-card em{color:var(--reference-lime);font-style:normal}
.section-intro{font-size:clamp(17px,1.9vw,26px);color:#dedede;line-height:1.5}
.everyone{padding-top:32px}
.everyone h1{max-width:1180px}
.connection-flow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(24px,4vw,64px);margin-top:40px}
.flow-card{display:flex;align-items:center;gap:20px;padding:26px 22px;border:1px solid #686868;border-radius:22px;background:var(--reference-panel);position:relative;min-width:0}
.flow-card:not(:last-child):after{content:'→';position:absolute;left:calc(100% + 8px);top:50%;transform:translateY(-50%);width:calc(clamp(24px,4vw,64px) - 16px);text-align:center;font-size:30px}
.flow-icon{display:grid;place-items:center;flex:0 0 66px;width:66px;height:66px;border-radius:16px;background:linear-gradient(135deg,#303030,#111)}
.flow-icon svg{width:40px;height:40px}
.flow-card>div{border-left:1px solid #555;padding-left:20px}
.flow-card h3{font-size:clamp(18px,1.9vw,26px);line-height:1.2;margin-bottom:10px;letter-spacing:-.5px}
.flow-card p{font-size:16px;line-height:1.45;color:#ddd}
.reward-terms{font-size:14px;color:#aaa;line-height:1.6;margin-top:22px;max-width:900px}
.reward-terms a{color:#ddd;text-underline-offset:4px;text-decoration:underline}
:root[data-layout] .commission{width:min(91.5%,1460px);margin:0 auto;padding:24px 0 40px}
:root[data-layout] .commission>.section-label{display:flex;font-size:14px;letter-spacing:2px;margin:0 0 20px}
:root[data-layout] .tiers{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
:root[data-layout] .tier{display:grid;grid-template-columns:auto 1fr;column-gap:22px;row-gap:10px;align-items:center;border:1px solid #414141;padding:24px;border-radius:22px;background:var(--reference-panel)}
:root[data-layout] .tier:last-child{grid-column:auto}
:root[data-layout] .tier .percent{font-size:clamp(38px,4vw,60px);grid-row:1/3;letter-spacing:-2px;border-right:1px solid #444;padding-right:22px;line-height:1.2}
:root[data-layout] .tier h3{margin:0;justify-self:start;font-size:20px;background:var(--reference-lime);padding:6px 18px;line-height:1.2}
:root[data-layout] .tier p{font-size:16px;line-height:1.4;grid-column:2}
/* Keep live text beside the supplied wrist artwork rather than stacking giant blocks. */
:root[data-layout] .how{width:min(91.5%,1460px);margin:24px auto 0;padding:24px 0 0}
:root[data-layout] .how-heading{width:100%;margin:0 auto 24px;text-align:center}
:root[data-layout] .how-heading h2{font-size:clamp(30px,3.4vw,52px);line-height:1.15;margin:18px auto;max-width:1200px}
:root[data-layout] .how-heading p{font-size:clamp(16px,1.7vw,23px)}
:root[data-layout] .process-stage{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr) minmax(0,1fr);grid-template-rows:auto auto;gap:20px 28px;width:100%;aspect-ratio:auto;margin:0;align-items:center}
:root[data-layout] .process-art{grid-column:2;grid-row:1/3;position:relative;inset:auto;width:100%;aspect-ratio:1/1.65;max-width:480px;margin:0;z-index:0;mask-image:linear-gradient(#000 72%,#0008 87%,transparent 100%);-webkit-mask-image:linear-gradient(#000 72%,#0008 87%,transparent 100%)}
:root[data-layout] .process-image{position:absolute;width:300%;max-width:none;left:-100%;top:-88%;height:auto;mask-image:none;-webkit-mask-image:none}
:root[data-layout] .step{position:static;width:100%;padding:26px;border:1px solid #666;border-radius:20px;background:var(--reference-panel);margin:0}
:root[data-layout] .step-one{grid-column:1;grid-row:1;align-self:end}
:root[data-layout] .step-two{grid-column:3;grid-row:1/3}
:root[data-layout] .step-three{grid-column:1;grid-row:2;align-self:start}
:root[data-layout] .step h3{font-size:clamp(19px,2vw,28px);line-height:1.2;margin:8px 0 14px}
:root[data-layout] .step p{font-size:clamp(16px,1.5vw,21px);line-height:1.45}
:root[data-layout] .step>span{font-size:14px;color:#ddd}
:root[data-layout] .data:not(.compliance){width:min(91.5%,1460px);padding:40px 0;margin:0 auto}
.legal-heading{display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:16px;position:relative}
.legal-heading img{width:100%;height:auto;min-width:0}
.legal-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:34px}
.legal-cards article{display:flex;flex-direction:column;padding:32px 28px;border:1px solid #777;border-radius:22px;background:linear-gradient(140deg,#101010,#030303);min-width:0}
.legal-cards h3{font-size:clamp(22px,2.1vw,32px);line-height:1.2;margin:0 0 16px}
.legal-cards p{font-size:clamp(16px,1.5vw,20px);line-height:1.55;color:#ddd}
.legal-cards article>span{width:40px;height:4px;border-radius:4px;background:var(--reference-lime);margin-top:auto;padding-top:4px;translate:0 8px}
.legal-cards article p{margin-bottom:22px}
.legal-foot{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-top:30px;font-size:16px;color:#ddd}
.legal-foot a{display:flex;gap:18px;align-items:center;font-size:18px;min-height:44px}
:root[data-layout] .final{width:min(91.5%,1460px);margin:0 auto;padding:24px 0 32px;position:relative;background:radial-gradient(ellipse at 50% 110%,#48444070,transparent 70%)}
:root[data-layout] .final-card{border:0;background:none;padding:40px 4%;border-radius:0}
:root[data-layout] .final h2{font-size:clamp(34px,4.5vw,66px);line-height:1.12;margin:22px 0;letter-spacing:-1.3px}
:root[data-layout] .final-card p{font-size:clamp(17px,1.7vw,24px);line-height:1.5;max-width:800px;margin-bottom:0}
.value-points{display:flex;flex-wrap:wrap;list-style:none;padding:0;margin:30px 0;gap:20px;font-size:18px;font-weight:600}
.value-points li+li{border-left:1px solid #888;padding-left:20px}
:root[data-layout] .final-card .lime{width:auto;min-width:210px;background:var(--reference-lime);font-size:18px;min-height:52px}
:root[data-layout] .final footer{margin-top:24px}
/* All application screens use the same existing logo asset and control language. */
:root[data-layout] .app-shell{--dp-accent:#dfff25;--accent:#dfff25;max-width:1680px}
:root[data-layout] .app-shell .brand-asset{display:block;background:url('/assets/data-partners-logo.png') 48% 50%/158% auto no-repeat;flex-shrink:0}
:root[data-layout] .app-shell .card{background:var(--reference-panel);border:1px solid #303030;box-shadow:none}
:root[data-layout] .app-shell .dp-button,:root[data-layout] .onboarding .primary{background:#dfff25!important;border-radius:12px!important;min-height:48px}
:root[data-layout] .app-shell .sidebar nav a.active{background:linear-gradient(115deg,#343e09,#1c2203);color:#dfff25}
:root[data-layout] .dashboard-shell .reference-dashboard .earnings-grid{grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);gap:20px;margin:0 0 18px}
:root[data-layout] .dashboard-shell .reference-dashboard .earnings-summary{display:flex;min-height:0;padding:26px;border:1px solid #e5fa56;border-radius:24px;background:linear-gradient(115deg,#f4ff55,#dfff25 60%,#9ddb00);color:#050505}
:root[data-layout] .dashboard-shell .reference-dashboard .summary-person{display:flex;align-items:center;gap:16px;margin:0 0 20px}
.summary-person .account-avatar,.summary-person>img{display:grid;place-items:center;width:62px;height:62px;flex:0 0 62px;background:linear-gradient(#292d19,#111);border-radius:50%;color:#ccc;object-fit:cover}
.summary-person .account-avatar svg{width:34px;height:34px}
:root[data-layout] .reference-dashboard .summary-person strong{font-size:25px;line-height:1.2;display:block}
:root[data-layout] .reference-dashboard .summary-person div>span{display:block;color:#637b0b;font-size:18px;font-weight:600;margin-top:4px}
:root[data-layout] .dashboard-shell .reference-dashboard .earnings-label{display:block;font-size:17px;color:#617500;font-weight:600;letter-spacing:0}
:root[data-layout] .dashboard-shell .reference-dashboard .earnings-value{font-size:clamp(42px,4.5vw,64px);line-height:1.2;margin:4px 0 20px;font-weight:750;text-decoration:none}
:root[data-layout] .dashboard-shell .reference-dashboard .earnings-value:after{content:none}
:root[data-layout] .dashboard-shell .reference-dashboard .summary-actions{display:flex;width:100%;gap:10px;flex-wrap:nowrap;margin-top:auto}
:root[data-layout] .dashboard-shell .reference-dashboard .summary-actions a{background:#fff;border-radius:999px;min-height:44px;padding:10px 14px;font-size:14px;white-space:normal;gap:8px;color:#080808}
:root[data-layout] .reference-dashboard .summary-actions a:first-child{flex:1}
:root[data-layout] .dashboard-shell .reference-dashboard .earnings-chart{padding:24px;border-radius:24px;display:flex;flex-direction:column;min-width:0}
:root[data-layout] .reference-dashboard .earnings-heading{display:flex;flex-direction:row;align-items:flex-start;flex-wrap:nowrap;gap:12px}
:root[data-layout] .reference-dashboard .earnings-heading h2{font-size:24px;line-height:1.2;margin-bottom:8px}
.chart-total{font-size:38px;font-weight:700;line-height:1.1}
.period-select{position:relative;flex-shrink:0}
.period-select:after{content:'⌄';position:absolute;right:13px;top:8px;pointer-events:none}
.period-select select{appearance:none;background:#171717;color:#fff;border:1px solid #242424;border-radius:999px;min-height:42px;padding:9px 34px 9px 18px;font:600 15px Arial;cursor:pointer}
.chart-options{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.chart-options select{background:#141414;border:1px solid #393939;color:#ddd;padding:8px;border-radius:8px;font-size:14px;max-width:100%}
.payout-chart{position:relative;flex:1;min-height:150px;display:flex;align-items:stretch;margin-top:14px}
.payout-chart>svg{display:block;width:100%;height:170px;overflow:visible}
.payout-chart circle{opacity:0;transition:opacity .15s}.payout-chart circle:focus,.payout-chart circle:hover{opacity:1;outline:none;r:6}
.chart-empty{width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:16px;border-bottom:2px dashed #787878;padding:12px;color:#999;font-size:17px}
.empty-bars{display:flex;align-items:flex-end;gap:4px;height:30px}.empty-bars i{width:8px;height:15px;background:#777;border-radius:3px}.empty-bars i:nth-child(2){height:23px}.empty-bars i:nth-child(3){height:30px}
.payout-axis{display:flex;justify-content:space-between;gap:8px;padding:12px 4px 0;color:#aaa;font-size:13px}
.chart-records{font-size:13px;color:#aaa;margin-top:14px}.chart-records summary{cursor:pointer;min-height:32px}.chart-records table{font-size:13px;margin-top:10px}.chart-records caption{text-align:left;margin-bottom:8px}.chart-records td,.chart-records th{padding:8px}
:root[data-layout] .dashboard-shell .reference-dashboard .dashboard-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:18px}
:root[data-layout] .dashboard-shell .reference-dashboard .dashboard-metric{display:flex;padding:20px;min-height:90px;gap:16px;border-radius:20px;flex-wrap:nowrap}
.metric-icon{display:grid;place-items:center;width:48px;height:48px;flex:0 0 48px;border-radius:14px;background:linear-gradient(#262626,#141414)}
.metric-icon svg{width:28px;height:28px}
:root[data-layout] .reference-dashboard .dashboard-metric span{font-size:15px}
:root[data-layout] .reference-dashboard .dashboard-metric strong{font-size:28px;margin-top:5px;font-weight:500}
:root[data-layout] .reference-dashboard .dashboard-metric>svg{margin-left:auto;width:18px;height:18px}
:root[data-layout] .reference-dashboard .dashboard-metric:nth-child(2) .metric-icon{color:#dfff25}
:root[data-layout] .dashboard-shell .reference-dashboard .recent-summary{padding:24px 28px;border-radius:24px;background:var(--reference-panel);border:1px solid #3a3a3a}
:root[data-layout] .reference-dashboard .recent-title h2{font-size:24px;display:flex;align-items:center;gap:16px}
.reference-dashboard .recent-title h2:before{content:'';width:34px;height:5px;border-radius:4px;background:#dfff25}
:root[data-layout] .reference-dashboard .recent-summary .empty{padding:26px 8px}
:root[data-layout] .reference-dashboard .recent-summary .empty-icon{width:54px;height:54px;margin-bottom:14px;border-radius:14px}
:root[data-layout] .reference-dashboard .recent-summary .empty h3{font-size:20px}
:root[data-layout] .reference-dashboard .recent-summary .empty p{font-size:16px;margin-top:10px}
.activity-record{display:flex;align-items:center;gap:16px;padding:22px 0;border-bottom:1px solid #303030}.activity-record:last-child{border-bottom:0;padding-bottom:0}.activity-record h3{font-size:18px;margin:0 0 6px}.activity-record p{font-size:16px;color:#bbb}.activity-value{margin-left:auto;text-align:right}.activity-value strong{display:block;color:#dfff25;font-size:20px}.activity-value time{display:block;color:#aaa;font-size:14px;margin-top:6px}.data-connection-note{font-size:13px;line-height:1.5;color:#888;margin-top:16px}
/* Half-screen windows retain two useful columns and an icon-only navigation rail. */
@media (max-width:1199px){
 :root[data-layout="desktop"] .app-shell{--nav-width:80px}
 :root[data-layout="desktop"] .app-shell .sidebar{width:80px;padding:24px 12px;align-items:center}
 :root[data-layout="desktop"] .app-shell .sidebar .wordmark{font-size:0;gap:0}
 :root[data-layout="desktop"] .app-shell .sidebar nav{width:100%;margin-top:28px}
 :root[data-layout="desktop"] .app-shell .sidebar nav a{justify-content:center;padding:12px;gap:0}
 :root[data-layout="desktop"] .app-shell .sidebar nav a span:not(.welcome-unread-dot){display:none}
 :root[data-layout="desktop"] .app-shell .sidebar-footer{width:100%;padding:18px 0 0}
 :root[data-layout="desktop"] .app-shell .sidebar-footer a{font-size:0;justify-content:center;gap:0;min-height:44px}
 :root[data-layout="desktop"] .app-shell .app-content{padding-inline:24px}
 :root[data-layout="desktop"] body:has(.sidebar) .dp-global-back{left:104px}
 :root[data-layout="desktop"] .dashboard-shell .topbar .wordmark{visibility:visible;display:flex;font-size:20px}
 :root[data-layout="desktop"] .dashboard-shell .topbar{justify-content:space-between}
 :root[data-layout="desktop"] .dashboard-shell .desktop-introduce{font-size:13px;padding:10px 14px}
 :root[data-layout="desktop"] .dashboard-shell .reference-dashboard .earnings-summary,:root[data-layout="desktop"] .dashboard-shell .reference-dashboard .earnings-chart{padding:20px}
 :root[data-layout="desktop"] .reference-dashboard .summary-person strong{font-size:20px}
 :where(:root[data-layout="desktop"]) .summary-person .account-avatar,:where(:root[data-layout="desktop"]) .summary-person>img{width:48px;height:48px;flex-basis:48px}
 :root[data-layout="desktop"] .dashboard-shell .reference-dashboard .summary-actions{flex-wrap:wrap}
 :root[data-layout="desktop"] .dashboard-shell .reference-dashboard .summary-actions a{font-size:13px;padding:9px 12px;flex:1}
 :root[data-layout="desktop"] .reference-dashboard .earnings-heading h2{font-size:21px}
 :root[data-layout="desktop"] .dashboard-shell .reference-dashboard .dashboard-metric{padding:16px;gap:10px}
 :where(:root[data-layout="desktop"]) .reference-dashboard .dashboard-metric .metric-icon{width:34px;height:34px;flex-basis:34px}
 :root[data-layout="desktop"] .reference-dashboard .dashboard-metric>svg{display:none}
}
@media (max-width:1000px){
 :where(:root[data-layout="desktop"]) .connection-flow{gap:24px}:where(:root[data-layout="desktop"]) .flow-card{padding:20px 16px;gap:12px}:where(:root[data-layout="desktop"]) .flow-icon{width:44px;height:44px;flex-basis:44px;border-radius:12px}:where(:root[data-layout="desktop"]) .flow-icon svg{width:30px;height:30px}:where(:root[data-layout="desktop"]) .flow-card>div{padding-left:12px}:where(:root[data-layout="desktop"]) .flow-card h3{font-size:19px}:where(:root[data-layout="desktop"]) .flow-card p{font-size:15px}:where(:root[data-layout="desktop"]) .flow-card:not(:last-child):after{font-size:22px;left:calc(100% + 2px);width:20px}
 :root[data-layout="desktop"] .tier{grid-template-columns:1fr;padding:22px;gap:14px}
 :root[data-layout="desktop"] .tier .percent{grid-row:auto;border:0;padding:0;font-size:46px}
 :root[data-layout="desktop"] .tier p{grid-column:auto;font-size:16px}
 :root[data-layout="desktop"] .tier h3{font-size:20px}
 :root[data-layout="desktop"] .process-stage{gap:16px}
 :root[data-layout="desktop"] .step{padding:18px}
 :root[data-layout="desktop"] .step h3{font-size:20px}
 :root[data-layout="desktop"] .step p{font-size:16px}
 :root[data-layout="desktop"] .process-art{aspect-ratio:1/2.1;align-self:center}
 :root[data-layout="desktop"] .process-image{top:-69%}
 :where(:root[data-layout="desktop"]) .legal-heading{grid-template-columns:1fr}:where(:root[data-layout="desktop"]) .legal-heading img{width:min(100%,640px);justify-self:end;margin-top:-12px;max-height:160px}:where(:root[data-layout="desktop"]) .legal-cards{gap:16px;margin-top:20px}:where(:root[data-layout="desktop"]) .legal-cards article{padding:24px 20px}:where(:root[data-layout="desktop"]) .legal-cards h3{font-size:23px}:where(:root[data-layout="desktop"]) .legal-cards p{font-size:16px}
}
@media all{
 :where(:root[data-layout="mobile"]) .ref-section{width:calc(100% - 40px);padding:32px 0}:where(:root[data-layout="mobile"]) .ref-section h1,:where(:root[data-layout="mobile"]) .ref-section h2{font-size:clamp(30px,5.5vw,42px);letter-spacing:-.8px;margin:18px 0}:where(:root[data-layout="mobile"]) .ref-section .section-label{font-size:12px;letter-spacing:2px}:where(:root[data-layout="mobile"]) .section-intro{font-size:17px}
 :where(:root[data-layout="mobile"]) .connection-flow{gap:12px;margin-top:26px}:where(:root[data-layout="mobile"]) .flow-card{padding:16px 12px;display:block;border-radius:16px}:where(:root[data-layout="mobile"]) .flow-icon{width:40px;height:40px;margin-bottom:14px}:where(:root[data-layout="mobile"]) .flow-card>div{border:0;padding:0}:where(:root[data-layout="mobile"]) .flow-card h3{font-size:17px;line-height:1.2}:where(:root[data-layout="mobile"]) .flow-card p{font-size:14px;line-height:1.45}:where(:root[data-layout="mobile"]) .flow-card:not(:last-child):after{display:none}:where(:root[data-layout="mobile"]) .reward-terms{font-size:13px;margin-top:18px}
 :root[data-layout="mobile"] .commission{width:calc(100% - 40px);padding:20px 0 32px}:where(:root[data-layout="mobile"]) .commission .section-label{font-size:12px!important}:where(:root[data-layout="mobile"]) .tiers{gap:12px!important}
 :root[data-layout="mobile"] .tier{padding:16px 12px;border-radius:16px;gap:12px}
 :root[data-layout="mobile"] .tier .percent{font-size:clamp(30px,6vw,44px);letter-spacing:-1px}
 :root[data-layout="mobile"] .tier h3{font-size:16px;padding:6px 11px}
 :root[data-layout="mobile"] .tier p{font-size:14px;line-height:1.45}
 :root[data-layout="mobile"] .how{width:calc(100% - 40px);padding-top:0;margin:20px auto 0}
 :root[data-layout="mobile"] .how-heading h2{font-size:30px;line-height:1.15}
 :root[data-layout="mobile"] .how-heading p{font-size:16px}
 :root[data-layout="mobile"] .process-stage{grid-template-columns:1.05fr .95fr;grid-template-rows:auto auto auto;gap:12px}
 :root[data-layout="mobile"] .process-art{grid-column:2;grid-row:1/4;aspect-ratio:1/2.5;width:100%;margin:0;align-self:center}
 :root[data-layout="mobile"] .process-image{width:330%;left:-115%;top:-64%}
 :root[data-layout="mobile"] .step-one{grid-column:1;grid-row:1;align-self:auto}
 :root[data-layout="mobile"] .step-two{grid-column:1;grid-row:2}
 :root[data-layout="mobile"] .step-three{grid-column:1;grid-row:3;align-self:auto}
 :root[data-layout="mobile"] .step{padding:16px 14px;border-radius:16px}
 :root[data-layout="mobile"] .step h3{font-size:18px;line-height:1.2;margin:6px 0 10px}
 :root[data-layout="mobile"] .step p{font-size:15px;line-height:1.5}
 :root[data-layout="mobile"] .data:not(.compliance){width:calc(100% - 40px);padding:36px 0 20px}
 :where(:root[data-layout="mobile"]) .legal-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}:where(:root[data-layout="mobile"]) .legal-cards article{padding:18px 14px;border-radius:16px}:where(:root[data-layout="mobile"]) .legal-cards h3{font-size:18px;line-height:1.2}:where(:root[data-layout="mobile"]) .legal-cards p{font-size:14px;line-height:1.5}:where(:root[data-layout="mobile"]) .legal-heading img{max-height:130px}:where(:root[data-layout="mobile"]) .legal-foot{display:block;font-size:14px;margin-top:22px}:where(:root[data-layout="mobile"]) .legal-foot a{font-size:17px;margin-top:14px}
 :root[data-layout="mobile"] .final{width:calc(100% - 40px);padding:0 0 24px}
 :root[data-layout="mobile"] .final-card{padding:32px 0}
 :root[data-layout="mobile"] .final h2{font-size:34px}
 :root[data-layout="mobile"] .final-card p{font-size:17px}
 :where(:root[data-layout="mobile"]) .value-points{gap:10px;font-size:14px;margin:24px 0}:where(:root[data-layout="mobile"]) .value-points li+li{padding-left:10px}
 :root[data-layout="mobile"] .final-card .lime{font-size:17px;min-width:190px}
 :root[data-layout="mobile"] .dashboard-shell .app-content{padding:20px 16px calc(110px + env(safe-area-inset-bottom))}
 :root[data-layout="mobile"] .dashboard-shell .topbar{margin-bottom:18px}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .earnings-grid{grid-template-columns:1fr;gap:18px;margin:0 0 16px}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .earnings-summary{padding:22px;border-radius:24px}
 :root[data-layout="mobile"] .reference-dashboard .summary-person strong{font-size:24px}
 :root[data-layout="mobile"] .reference-dashboard .summary-person div>span{font-size:17px}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .earnings-value{font-size:54px;margin-bottom:22px}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .summary-actions a{font-size:13px;padding:10px;gap:6px}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .summary-actions a svg{width:20px;height:20px;flex-shrink:0}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .earnings-chart{background:#000;border:0;padding:4px 6px 0}
 :root[data-layout="mobile"] .reference-dashboard .earnings-heading h2{font-size:22px}
 :where(:root[data-layout="mobile"]) .chart-total{font-size:34px}:where(:root[data-layout="mobile"]) .payout-chart{min-height:135px;margin-top:10px}:where(:root[data-layout="mobile"]) .payout-chart>svg{height:150px}:where(:root[data-layout="mobile"]) .chart-empty{font-size:16px;gap:12px}:where(:root[data-layout="mobile"]) .payout-axis{font-size:12px}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .dashboard-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:16px}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .dashboard-metric.leads-metric{display:none}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .dashboard-metric{padding:16px 12px;min-height:80px;gap:10px;border-radius:18px}
 :where(:root[data-layout="mobile"]) .reference-dashboard .dashboard-metric .metric-icon{width:36px;height:36px;flex-basis:36px;background:none}:where(:root[data-layout="mobile"]) .reference-dashboard .dashboard-metric .metric-icon svg{width:28px;height:28px}
 :root[data-layout="mobile"] .reference-dashboard .dashboard-metric span{font-size:14px}
 :root[data-layout="mobile"] .reference-dashboard .dashboard-metric strong{font-size:24px}
 :root[data-layout="mobile"] .reference-dashboard .dashboard-metric>svg{display:none}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .recent-summary{padding:20px 18px;border-radius:20px}
 :root[data-layout="mobile"] .reference-dashboard .recent-title h2{font-size:21px;gap:12px}
 :where(:root[data-layout="mobile"]) .reference-dashboard .recent-title h2:before{width:24px;height:4px}
 :root[data-layout="mobile"] .reference-dashboard .recent-title>a{font-size:13px}
 :root[data-layout="mobile"] .reference-dashboard .recent-summary .empty{padding:24px 0 10px}
 :where(:root[data-layout="mobile"]) .activity-record{gap:12px;padding:18px 0}:where(:root[data-layout="mobile"]) .activity-record .metric-icon{width:38px;height:38px;flex-basis:38px}:where(:root[data-layout="mobile"]) .activity-record h3{font-size:16px}:where(:root[data-layout="mobile"]) .activity-record p{font-size:14px}:where(:root[data-layout="mobile"]) .activity-value strong{font-size:16px}:where(:root[data-layout="mobile"]) .activity-value time{font-size:12px}
 :root[data-layout="mobile"] .dashboard-shell .mobile-nav{border-radius:32px;background:linear-gradient(110deg,#151515,#060606);border:1px solid #262626}
}
@media (max-width:479px){
 :where(:root[data-layout="mobile"]) .connection-flow{grid-template-columns:1fr;gap:10px}:where(:root[data-layout="mobile"]) .flow-card{display:flex;padding:15px 18px;gap:16px}:where(:root[data-layout="mobile"]) .flow-icon{margin:0;width:44px;height:44px;flex-basis:44px}:where(:root[data-layout="mobile"]) .flow-card>div{border-left:1px solid #444;padding-left:16px}:where(:root[data-layout="mobile"]) .flow-card h3{font-size:18px;margin-bottom:5px}:where(:root[data-layout="mobile"]) .flow-card p{font-size:15px}
 :where(:root[data-layout="mobile"]) .legal-cards{grid-template-columns:1fr;gap:12px}:where(:root[data-layout="mobile"]) .legal-cards article{padding:22px}:where(:root[data-layout="mobile"]) .legal-cards h3{font-size:22px}:where(:root[data-layout="mobile"]) .legal-cards p{font-size:16px}:where(:root[data-layout="mobile"]) .legal-cards article>span{width:32px}
 :root[data-layout="mobile"] .tier{padding:16px 10px}:where(:root[data-layout="mobile"]) .tier p{hyphens:auto}
}
@media (max-width:359px){
 :root[data-layout="mobile"] .tiers{grid-template-columns:1fr}
 :root[data-layout="mobile"] .tier{grid-template-columns:auto 1fr;column-gap:16px;padding:18px}
 :root[data-layout="mobile"] .tier .percent{grid-row:1/3;font-size:38px}
 :root[data-layout="mobile"] .tier p{grid-column:2}
 :root[data-layout="mobile"] .process-stage{grid-template-columns:1fr;gap:12px}
 :root[data-layout="mobile"] .process-art{grid-column:1;grid-row:1;width:80%;aspect-ratio:1/1.4;margin:0 auto}
 :root[data-layout="mobile"] .process-image{width:220%;left:-60%;top:-77%}
 :root[data-layout="mobile"] .step-one{grid-column:1;grid-row:2}:where(:root[data-layout="mobile"]) .step-two{grid-column:1;grid-row:3!important}:where(:root[data-layout="mobile"]) .step-three{grid-column:1;grid-row:4!important}
 :root[data-layout="mobile"] .reference-dashboard .summary-person strong{font-size:21px}:where(:root[data-layout="mobile"]) .summary-person .account-avatar{width:50px;height:50px;flex-basis:50px}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .summary-actions{flex-wrap:wrap}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .summary-actions a{flex:1}
}
@media(prefers-reduced-motion:no-preference){.flow-card,.legal-cards article,.reference-dashboard .card{transition:border-color .18s,background-color .18s}.flow-card:hover,.legal-cards article:hover{border-color:#aaa}}
@media all{
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .summary-actions a:first-child{flex:1.7}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .summary-actions a:last-child{flex:1}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard>.page-header{display:block;position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
}
:root[data-layout] .dashboard-shell .reference-dashboard .earnings-summary{align-self:start;min-height:310px}
.chart-records table{width:100%;border-collapse:collapse;text-align:left}.chart-records th:last-child,.chart-records td:last-child{text-align:right}.chart-records td,.chart-records th{border-bottom:1px solid #292929}.chart-records[open]{max-height:240px;overflow:auto}
@media all{:root[data-layout="mobile"] .dashboard-shell .reference-dashboard .earnings-summary{min-height:0}}
@media (min-width:360px) and (max-width:479px){
 :where(:root[data-layout="mobile"]) .connection-flow{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
 :where(:root[data-layout="mobile"]) .flow-card{display:block;padding:16px 12px}:where(:root[data-layout="mobile"]) .flow-icon{width:40px;height:40px;margin:0 0 12px}
 :where(:root[data-layout="mobile"]) .flow-card>div{border:0;padding:0}:where(:root[data-layout="mobile"]) .flow-card h3{font-size:16px;line-height:1.2;margin-bottom:8px}:where(:root[data-layout="mobile"]) .flow-card p{font-size:14px;line-height:1.45}
}

/* Mobile dashboard proportions from the unframed reference. */
@media all{
 :root[data-layout="mobile"] .dashboard-shell .app-content{padding-top:max(20px,env(safe-area-inset-top));padding-inline:16px}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .earnings-summary{padding:16px;border-radius:20px;background:linear-gradient(112deg,#f6ff55 0%,#e8ff4b 50%,#b5ed08 100%)}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .summary-person{gap:14px;margin-bottom:12px}
 :where(:root[data-layout="mobile"]) .reference-dashboard .summary-person .account-avatar,:where(:root[data-layout="mobile"]) .reference-dashboard .summary-person>img{width:62px;height:62px;flex-basis:62px;background:#20211b}
 :where(:root[data-layout="mobile"]) .reference-dashboard .summary-person .account-avatar svg{width:32px;height:32px;stroke-width:1.6}
 :root[data-layout="mobile"] .reference-dashboard .summary-person strong{font-size:23px;line-height:1.15}
 :root[data-layout="mobile"] .reference-dashboard .summary-person div>span{font-size:16px;margin-top:4px;color:#6b790c}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .earnings-label{font-size:16px;color:#6b790c}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .earnings-value{font-size:46px;line-height:1.15;margin:3px 0 18px;font-weight:700}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .summary-actions{gap:10px;flex-wrap:nowrap}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .summary-actions a{font-size:13px;line-height:1.2;font-weight:600;min-height:40px;padding:9px 8px;gap:7px;justify-content:center;text-align:center}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .summary-actions a svg{width:20px;height:20px}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .earnings-grid{gap:12px;margin-bottom:16px}
 :root[data-layout="mobile"] .reference-dashboard .earnings-heading h2{font-size:20px;margin-bottom:2px}
 :where(:root[data-layout="mobile"]) .reference-dashboard .chart-total{font-size:30px}
 :where(:root[data-layout="mobile"]) .reference-dashboard .payout-chart{min-height:84px;margin-top:8px}:where(:root[data-layout="mobile"]) .reference-dashboard .payout-chart>svg{height:100px}
 :where(:root[data-layout="mobile"]) .reference-dashboard .chart-empty{gap:12px;font-size:15px;padding:8px}:where(:root[data-layout="mobile"]) .reference-dashboard .empty-bars{height:24px;gap:3px}:where(:root[data-layout="mobile"]) .reference-dashboard .empty-bars i{width:6px;height:10px}:where(:root[data-layout="mobile"]) .reference-dashboard .empty-bars i:nth-child(2){height:17px}:where(:root[data-layout="mobile"]) .reference-dashboard .empty-bars i:nth-child(3){height:24px}
 :where(:root[data-layout="mobile"]) .reference-dashboard .payout-axis{font-size:12px;padding-top:10px}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .dashboard-metric{min-height:60px;padding:10px;gap:8px;grid-column:auto;flex-wrap:nowrap}
 :where(:root[data-layout="mobile"]) .reference-dashboard .dashboard-metric .metric-icon{width:36px;height:36px;flex-basis:36px;background:#202020;border-radius:50%;color:#eee!important}
 :where(:root[data-layout="mobile"]) .reference-dashboard .dashboard-metric .metric-icon svg{width:26px;height:26px}
 :root[data-layout="mobile"] .reference-dashboard .dashboard-metric span{font-size:13px;line-height:1.2}
 :root[data-layout="mobile"] .reference-dashboard .dashboard-metric strong{font-size:19px;line-height:1.1;margin-top:4px;font-weight:600}
 :root[data-layout="mobile"] .reference-dashboard .dashboard-metric>svg{display:block;width:12px;height:18px}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .recent-summary{padding:16px;border-radius:20px}
 :root[data-layout="mobile"] .reference-dashboard .recent-title h2{font-size:20px;gap:12px}
 :root[data-layout="mobile"] .reference-dashboard .recent-title>a{font-size:12px}
 :root[data-layout="mobile"] .reference-dashboard .recent-summary .empty{padding:20px 0 4px}
 :root[data-layout="mobile"] .reference-dashboard .recent-summary .empty-icon{width:42px;height:40px;border-radius:12px;margin-bottom:10px}
 :root[data-layout="mobile"] .reference-dashboard .recent-summary .empty-icon svg{width:25px;height:25px}
 :root[data-layout="mobile"] .reference-dashboard .recent-summary .empty h3{font-size:17px}
 :root[data-layout="mobile"] .reference-dashboard .recent-summary .empty p{font-size:14px;margin-top:5px}
 :where(:root[data-layout="mobile"]) .reference-dashboard .activity-record{gap:10px;padding:14px 0}:where(:root[data-layout="mobile"]) .reference-dashboard .activity-record h3{font-size:15px}:where(:root[data-layout="mobile"]) .reference-dashboard .activity-record p{font-size:13px}:where(:root[data-layout="mobile"]) .reference-dashboard .activity-value strong{font-size:15px}:where(:root[data-layout="mobile"]) .reference-dashboard .activity-record .metric-icon{width:38px;height:38px;flex-basis:38px}:where(:root[data-layout="mobile"]) .reference-dashboard .activity-value{flex-shrink:0}
 :root[data-layout="mobile"] .app-shell .mobile-nav{width:calc(100% - 32px);height:60px;padding:6px 10px;border:1px solid #262626;border-radius:32px;background:linear-gradient(110deg,#111,#080808);bottom:max(12px,env(safe-area-inset-bottom));box-shadow:0 6px 20px #0006}
 :root[data-layout="mobile"] .app-shell .mobile-nav a{min-height:44px;height:44px;border-radius:24px;border:1px solid transparent}
 :root[data-layout="mobile"] .app-shell .mobile-nav a.active{background:#242424;border-color:#303030;color:#dfff25}
 :root[data-layout="mobile"] .app-shell .mobile-nav svg{width:25px;height:25px}
 :root[data-layout="mobile"] .app-shell .mobile-nav .plus-circle{width:43px;height:43px;border-radius:50%;background:#232323}
 :root[data-layout="mobile"] .app-shell .mobile-nav .plus-circle svg{width:29px;height:29px}
}
@media (max-width:359px){
 :root[data-layout="mobile"] .reference-dashboard .summary-person strong{font-size:21px}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .summary-actions{flex-wrap:wrap}
 :root[data-layout="mobile"] .reference-dashboard .dashboard-metric>svg{display:none}
}
/* More room in wide sidebars, with a constant left edge for navigation. */
@media (min-width:1200px){
 :root[data-layout="desktop"] .app-shell{--nav-width:clamp(232px,17.5vw,300px)}
 :root[data-layout="desktop"] .app-shell .sidebar{width:var(--nav-width);align-items:stretch;padding-inline:16px}
 :root[data-layout="desktop"] .app-shell .sidebar nav,:root[data-layout="desktop"] .app-shell .sidebar-footer{width:100%}
 :root[data-layout="desktop"] .app-shell .sidebar nav a{justify-content:flex-start;padding-inline:14px}
 :root[data-layout="desktop"] body:has(.sidebar) .dp-global-back{left:calc(max(0px,(100vw - 1680px)/2) + clamp(232px,17.5vw,300px) + 24px)}
}

/* Reference phone composition. Measurements scale with width, never compress to height. */
.dashboard-mobile-bell{display:none}
@media all{
 :root[data-layout="mobile"] .dashboard-shell{--dashboard-scale:clamp(.88px,.25641vw,1.35px)}
 :root[data-layout="mobile"] .dashboard-shell .app-content{padding:calc(28 * var(--dashboard-scale)) 14px calc(90px + env(safe-area-inset-bottom));max-width:588px}
 :root[data-layout="mobile"] .dashboard-shell .preview-banner{display:none}
 :root[data-layout="mobile"] .dashboard-shell .topbar{margin:0 8px calc(18 * var(--dashboard-scale));min-height:44px;gap:12px}
 :root[data-layout="mobile"] .dashboard-shell .topbar .wordmark{font-size:calc(24 * var(--dashboard-scale));font-weight:700;gap:12px;white-space:nowrap;letter-spacing:-.6px}
 :root[data-layout="mobile"] .dashboard-shell .topbar .brand-asset{width:calc(36 * var(--dashboard-scale));height:calc(36 * var(--dashboard-scale))}
 :root[data-layout="mobile"] .dashboard-shell .topbar .utility{background:none;border:0;width:44px;height:44px;border-radius:0}
 :root[data-layout="mobile"] .dashboard-shell .topbar .utility svg{width:calc(29 * var(--dashboard-scale));height:calc(29 * var(--dashboard-scale));stroke-width:1.5}
 :root[data-layout="mobile"] .dashboard-shell .topbar .dashboard-desktop-bell{display:none}
 :root[data-layout="mobile"] .dashboard-shell .topbar .dashboard-mobile-bell{display:block}
 :root[data-layout="mobile"] .dashboard-shell .topbar-actions{gap:0}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .earnings-grid{gap:calc(24 * var(--dashboard-scale));margin:0 0 calc(22 * var(--dashboard-scale))}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .earnings-summary{padding:calc(14 * var(--dashboard-scale));min-height:calc(230 * var(--dashboard-scale));border:0;border-radius:calc(24 * var(--dashboard-scale));background:var(--dashboard-earnings-surface);width:100%}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .summary-person{gap:calc(12 * var(--dashboard-scale));margin:0 7px calc(12 * var(--dashboard-scale))}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .summary-person>div{min-width:0}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .summary-person .account-avatar,:root[data-layout="mobile"] .dashboard-shell .reference-dashboard .summary-person>img{width:calc(64 * var(--dashboard-scale));height:calc(64 * var(--dashboard-scale));flex-basis:calc(64 * var(--dashboard-scale));background:#222;color:#fff;overflow:hidden;object-fit:cover}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .account-avatar svg{width:100%;height:100%;align-self:center}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .summary-person strong{font-size:calc(22 * var(--dashboard-scale));font-weight:700;line-height:1.15;overflow-wrap:anywhere}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .summary-person div>span{font-size:calc(17 * var(--dashboard-scale));line-height:1.15;font-weight:400;margin-top:4px;color:#000}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .earnings-label{margin-left:10px;font-size:calc(16 * var(--dashboard-scale));line-height:1.2;font-weight:600;color:#000}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .earnings-value{font-size:calc(49 * var(--dashboard-scale));line-height:1.05;min-height:calc(44 * var(--dashboard-scale));font-weight:700;margin:4px 10px calc(14 * var(--dashboard-scale));letter-spacing:-1.5px;overflow-wrap:anywhere}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard.no-earnings .earnings-value{display:flex;align-items:center}
 :root[data-layout="mobile"] .dashboard-shell .earnings-placeholder{display:block;width:calc(33 * var(--dashboard-scale));height:calc(6 * var(--dashboard-scale));border-radius:6px;background:#080808;font-size:0;color:transparent}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .summary-actions{gap:calc(12 * var(--dashboard-scale));flex-wrap:nowrap}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .summary-actions a{min-width:0;min-height:calc(44 * var(--dashboard-scale));padding:8px 10px;font-size:calc(13.5 * var(--dashboard-scale));line-height:1.15;gap:8px;font-weight:700;white-space:nowrap;border-radius:999px}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .summary-actions a:first-child{flex:1.65}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .summary-actions a:last-child{flex:1}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .summary-actions a svg{width:calc(24 * var(--dashboard-scale));height:calc(24 * var(--dashboard-scale));stroke-width:1.7}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .earnings-chart{padding:0 8px;background:none;border:0;border-radius:0;gap:0}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .earnings-heading{gap:8px;align-items:center;min-height:44px}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .earnings-heading h2{font-size:calc(20 * var(--dashboard-scale));font-weight:700;line-height:1.2;margin:0 0 4px;letter-spacing:-.6px}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .chart-total{font-size:calc(33 * var(--dashboard-scale));line-height:1.1}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .period-select select{border:0;min-height:44px;padding:10px 35px 10px 18px;font:600 calc(17 * var(--dashboard-scale)) Arial;background:#101010}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .period-select:after{content:'';width:9px;height:9px;border:solid #fff;border-width:0 1.8px 1.8px 0;transform:translateY(-70%) rotate(45deg);top:50%;right:15px}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .payout-chart{min-height:calc(90 * var(--dashboard-scale));margin-top:8px}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .payout-chart>svg{height:calc(90 * var(--dashboard-scale))}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard.no-period-data .payout-chart{height:calc(138 * var(--dashboard-scale));min-height:calc(138 * var(--dashboard-scale));margin-top:0}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .chart-empty{border:0;padding:12px 0;gap:10px;color:#eee;font-size:calc(16 * var(--dashboard-scale))}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .chart-empty .empty-icon{width:calc(46 * var(--dashboard-scale));height:calc(44 * var(--dashboard-scale));border:0;border-radius:calc(13 * var(--dashboard-scale));margin:0;background:#111}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .chart-empty .empty-icon svg{width:calc(29 * var(--dashboard-scale));height:calc(29 * var(--dashboard-scale));stroke-width:1.6}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .payout-axis{font-size:calc(15 * var(--dashboard-scale));color:#eee;padding:8px 4px 0}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .dashboard-metrics{gap:10px;margin:0 0 calc(22 * var(--dashboard-scale))}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .dashboard-metric{min-height:calc(66 * var(--dashboard-scale));padding:10px 12px;gap:calc(12 * var(--dashboard-scale));border:0;border-radius:calc(18 * var(--dashboard-scale));background:#111}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .dashboard-metric .metric-icon{width:calc(42 * var(--dashboard-scale));height:calc(42 * var(--dashboard-scale));flex-basis:calc(42 * var(--dashboard-scale));border-radius:calc(12 * var(--dashboard-scale));background:#252525;color:#fff!important}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard.has-earnings .dashboard-metric .metric-icon{background:none}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .dashboard-metric .metric-icon svg{width:calc(31 * var(--dashboard-scale));height:calc(31 * var(--dashboard-scale));stroke-width:1.5}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .dashboard-metric span{font-size:calc(15 * var(--dashboard-scale));line-height:1.2;white-space:nowrap}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .dashboard-metric strong{font-size:calc(22 * var(--dashboard-scale));line-height:1.1;margin-top:5px;min-height:20px;display:flex;align-items:center;font-weight:600}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .dashboard-metric .metric-placeholder{display:block;width:calc(15 * var(--dashboard-scale));height:3px;border-radius:3px;background:#fff;font-size:0;color:transparent}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .dashboard-metric>svg{display:none}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .recent-summary{padding:0 6px;background:none;border:0;border-radius:0;min-height:0}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .recent-title h2{font-size:calc(23 * var(--dashboard-scale));font-weight:700;line-height:1.2;gap:12px;letter-spacing:-.5px}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .recent-title h2:before{width:6px;height:calc(26 * var(--dashboard-scale));border-radius:4px;flex-shrink:0}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .recent-summary .empty{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:calc(128 * var(--dashboard-scale));padding:16px 0 12px}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .recent-summary .empty-icon{width:calc(44 * var(--dashboard-scale));height:calc(44 * var(--dashboard-scale));border:0;border-radius:calc(12 * var(--dashboard-scale));background:#111;margin:0 0 10px}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .recent-summary .empty-icon svg{width:calc(29 * var(--dashboard-scale));height:calc(29 * var(--dashboard-scale));stroke-width:1.6}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .recent-summary .empty h3{font-size:calc(16 * var(--dashboard-scale));line-height:1.3;font-weight:400;color:#eee}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .activity-record{display:grid;grid-template-columns:48px minmax(0,1fr) auto;column-gap:14px;padding:18px 0;position:relative;border:0}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .activity-record+.activity-record:before{content:'';position:absolute;top:0;left:62px;right:0;height:1px;background:#202020}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .activity-record .metric-icon{width:48px;height:48px;border-radius:14px;background:#111}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .activity-record .metric-icon svg{width:29px;height:29px}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .activity-record h3{font-size:17px;line-height:1.2;margin:0 0 4px;letter-spacing:-.4px;overflow-wrap:anywhere}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .activity-record p{font-size:15px;line-height:1.3;color:#ddd;overflow-wrap:anywhere}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .activity-value strong{font-size:17px;line-height:1.2;color:#e7ff00;white-space:nowrap}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .activity-value time{font-size:15px;line-height:1.3;color:#ddd;margin-top:4px;white-space:nowrap}
 :root[data-layout="mobile"] .dashboard-shell .mobile-nav{height:calc(56 * var(--dashboard-scale));width:calc(100% - 28px);max-width:560px;bottom:max(16px,env(safe-area-inset-bottom));padding:4px 10px;border:1px solid #202020;background:linear-gradient(105deg,#101010,#080808);border-radius:999px;box-shadow:none}
 :root[data-layout="mobile"] .dashboard-shell .mobile-nav a{height:100%;min-height:44px;border:0;border-radius:0}
 :root[data-layout="mobile"] .dashboard-shell .mobile-nav a.active{background:none;border:0;color:#dfff00}
 :root[data-layout="mobile"] .dashboard-shell .mobile-nav a.active:after{content:'';position:absolute;bottom:1px;width:calc(24 * var(--dashboard-scale));height:4px;background:#dfff00;border-radius:4px}
 :root[data-layout="mobile"] .dashboard-shell .mobile-nav a.active>svg{fill:currentColor;width:calc(26 * var(--dashboard-scale));height:calc(26 * var(--dashboard-scale));margin-top:-6px;stroke-width:1.2}
 :root[data-layout="mobile"] .dashboard-shell .mobile-nav svg{width:calc(27 * var(--dashboard-scale));height:calc(27 * var(--dashboard-scale));stroke-width:1.6}
 :root[data-layout="mobile"] .dashboard-shell .mobile-nav .plus-circle{width:calc(44 * var(--dashboard-scale));height:calc(44 * var(--dashboard-scale));background:#202020}
 :root[data-layout="mobile"] .dashboard-shell .mobile-nav .plus-circle svg{width:calc(33 * var(--dashboard-scale));height:calc(33 * var(--dashboard-scale));stroke-width:1.5}
}
@media (max-width:374px){
 :root[data-layout="mobile"] .dashboard-shell .app-content{padding-inline:12px}
 :root[data-layout="mobile"] .dashboard-shell .topbar{margin-inline:4px}
 :root[data-layout="mobile"] .dashboard-shell .topbar .wordmark{gap:9px;font-size:calc(23 * var(--dashboard-scale))}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .summary-actions{gap:8px}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .summary-actions a{padding-inline:6px;gap:5px;font-size:12px}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .summary-actions a svg{width:21px;height:21px}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .dashboard-metric{padding:10px 8px;gap:8px}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .activity-record{grid-template-columns:38px minmax(0,1fr) auto;gap:10px}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .activity-record .metric-icon{width:38px;height:42px}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .activity-record h3,:root[data-layout="mobile"] .dashboard-shell .reference-dashboard .activity-value strong{font-size:15px}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .activity-record p,:root[data-layout="mobile"] .dashboard-shell .reference-dashboard .activity-value time{font-size:13px}
}

/* Keep real account values and narrow controls within their existing cards. */
:root[data-layout] .reference-dashboard .earnings-heading>div:first-child,
:root[data-layout] .reference-dashboard .summary-person>div,
:root[data-layout] .reference-dashboard .activity-record>div{min-width:0}
:root[data-layout] .reference-dashboard .chart-total{overflow-wrap:anywhere}
:root[data-layout] .reference-dashboard .activity-value{max-width:100%;overflow-wrap:anywhere}
:root[data-layout] .reference-dashboard .activity-value strong{white-space:normal;overflow-wrap:anywhere}
@media all{
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .activity-record{grid-template-columns:46px minmax(0,1fr) fit-content(42%)}
}
@media (max-width:359px){
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .dashboard-metric span{white-space:normal;overflow-wrap:anywhere}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .activity-record{grid-template-columns:38px minmax(0,1fr) fit-content(42%)}
}
@media (max-width:319px){
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .summary-actions{display:grid;grid-template-columns:minmax(0,1fr)}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .summary-actions a{min-height:40px}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .earnings-heading{flex-wrap:wrap}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .dashboard-metric{gap:6px;padding-inline:8px}
 :root[data-layout="mobile"] .dashboard-shell .reference-dashboard .dashboard-metric .metric-icon{width:28px;height:32px;flex-basis:28px}
 :root[data-layout="mobile"] .app-shell .app-content .topbar .wordmark{font-size:16px;gap:8px}
}

/* Shared dashboard surfaces and avatar, with one fluid desktop workspace. */
:root[data-layout] .dashboard-shell{--dashboard-earnings-surface:radial-gradient(ellipse at 48% 43%,#f8ffb4 0%,#f5ff8b 23%,transparent 65%),linear-gradient(105deg,#faff26 0%,#f3ff53 43%,#adff00 100%)}
:root[data-layout] .dashboard-shell .account-avatar{background:none!important}
:root[data-layout] .dashboard-shell .account-avatar>img{display:block;width:100%;height:100%;object-fit:contain;border-radius:50%}
@media all{
 :root:where([data-layout="desktop"]){--portal-nav-width:clamp(180px,18vw,260px);--portal-content-max:1280px;--portal-gutter:clamp(24px,3vw,44px)}
 :root[data-layout="desktop"] .app-shell{display:grid;grid-template-columns:var(--portal-nav-width) minmax(0,1fr);align-items:start;width:100%;max-width:none;--nav-width:var(--portal-nav-width);min-height:100dvh}
 :root[data-layout="desktop"] .app-shell:not(:has(.sidebar)){grid-template-columns:minmax(0,1fr)}
 :root[data-layout="desktop"] .app-shell .sidebar{position:sticky;inset:0 auto auto 0;top:0;grid-column:1;grid-row:1;width:100%;height:100dvh;min-width:0;max-width:none;display:flex;align-items:stretch;overflow-y:auto;padding:clamp(20px,4vh,36px) clamp(12px,1.1vw,20px);box-sizing:border-box}
 :root[data-layout="desktop"] .app-shell .sidebar .wordmark{display:flex;visibility:visible;justify-content:flex-start;padding:0;font-size:clamp(14px,1.35vw,19px);gap:8px;white-space:nowrap;flex-shrink:0}
 :root[data-layout="desktop"] .app-shell .sidebar .brand-asset{width:clamp(30px,2.6vw,38px);height:clamp(30px,2.6vw,38px)}
 :root[data-layout="desktop"] .app-shell .sidebar nav{width:100%;margin-top:clamp(24px,5vh,44px);gap:6px;flex-shrink:0}
 :root[data-layout="desktop"] .app-shell .sidebar nav a{width:100%;height:auto;min-height:48px;padding:12px 10px;gap:10px;font-size:clamp(14px,1.1vw,16px);justify-content:flex-start}
 :root[data-layout="desktop"] .app-shell .sidebar nav a span:not(.welcome-unread-dot){display:block;min-width:0}
 :root[data-layout="desktop"] .app-shell .sidebar nav svg{width:22px;height:22px;flex-shrink:0}
 :root[data-layout="desktop"] .app-shell .sidebar-footer{width:100%;margin-top:auto;padding:20px 4px 0;gap:16px;flex-shrink:0}
 :root[data-layout="desktop"] .app-shell .sidebar-footer a{font-size:clamp(13px,1vw,15px);gap:10px;justify-content:flex-start;min-height:44px}
 :root[data-layout="desktop"] .app-shell .sidebar-footer svg{width:22px;height:22px;flex-shrink:0}
 :root[data-layout="desktop"] .app-shell .app-content{grid-column:2;grid-row:1;justify-self:center;width:100%;min-width:0;max-width:var(--portal-content-max);margin:0;padding:32px var(--portal-gutter) 48px;container:portal-content/inline-size}
 :root[data-layout="desktop"] .app-shell:not(:has(.sidebar)) .app-content{grid-column:1}
 :root[data-layout="desktop"] .app-shell .app-content .dp-page-transition{width:100%;min-width:0;margin-inline:auto}
 :root[data-layout="desktop"] .app-shell .app-content :is(.form-column,.reading){margin-inline:auto}
 :root[data-layout="desktop"] .app-shell .app-content [data-page='/leads/new'] .form-column{max-width:760px;margin-inline:auto}
 :root[data-layout="desktop"] .app-shell .app-content [data-page='/profile']>.reading{max-width:960px;margin-inline:auto}
 :root[data-layout="desktop"] .app-shell .app-content .support-chat{width:100%;max-width:960px;margin-inline:auto}
 :root[data-layout="desktop"] body:has(.sidebar) .dp-global-back{left:calc(var(--portal-nav-width) + max(0px,(100vw - var(--portal-nav-width) - var(--portal-content-max))/2) + var(--portal-gutter))}
 :root[data-layout="desktop"] body:has(.dp-global-back) .app-shell .app-content{padding-top:84px}
 :root[data-layout="desktop"] .app-shell .topbar{width:100%;margin-inline:0}
 :root[data-layout="desktop"] .dashboard-shell .reference-dashboard .earnings-grid{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);align-items:stretch;gap:24px;margin-bottom:24px}
 :root[data-layout="desktop"] .dashboard-shell .reference-dashboard .earnings-summary{align-self:stretch;min-height:320px;padding:22px;border:0;border-radius:24px;background:var(--dashboard-earnings-surface)}
 :root[data-layout="desktop"] .dashboard-shell .reference-dashboard .summary-person{gap:16px;margin-bottom:16px}
 :root[data-layout="desktop"] .dashboard-shell .reference-dashboard .summary-person .account-avatar,:root[data-layout="desktop"] .dashboard-shell .reference-dashboard .summary-person>img{width:72px;height:72px;flex-basis:72px;background:none;color:#fff;overflow:hidden;object-fit:cover}
 :root[data-layout="desktop"] .dashboard-shell .reference-dashboard .summary-person strong{font-size:24px;font-weight:700;line-height:1.15;overflow-wrap:anywhere}
 :root[data-layout="desktop"] .dashboard-shell .reference-dashboard .summary-person div>span{font-size:18px;font-weight:400;color:#000;line-height:1.15}
 :root[data-layout="desktop"] .dashboard-shell .reference-dashboard .earnings-label{font-size:18px;font-weight:600;color:#000}
 :root[data-layout="desktop"] .dashboard-shell .reference-dashboard .earnings-value{font-size:54px;min-height:56px;line-height:1.05;font-weight:700;letter-spacing:-1.5px;margin:4px 0 16px;display:flex;align-items:center}
 :root[data-layout="desktop"] .dashboard-shell .earnings-placeholder{width:36px;height:6px;background:#080808;border-radius:6px;font-size:0;color:transparent}
 :root[data-layout="desktop"] .dashboard-shell .reference-dashboard .summary-actions{gap:12px;flex-wrap:nowrap}
 :root[data-layout="desktop"] .dashboard-shell .reference-dashboard .summary-actions a{flex:1;min-width:0;min-height:48px;padding:10px 12px;gap:8px;font-size:15px;line-height:1.2;font-weight:700;background:#fff;border-radius:999px}
 :root[data-layout="desktop"] .dashboard-shell .reference-dashboard .summary-actions a:first-child{flex:1.65}
 :root[data-layout="desktop"] .dashboard-shell .reference-dashboard .summary-actions a svg{width:24px;height:24px;stroke-width:1.7}
 :root[data-layout="desktop"] .dashboard-shell .reference-dashboard .earnings-chart{background:none;border:0;border-radius:0;padding:6px 8px;min-height:320px}
 :root[data-layout="desktop"] .dashboard-shell .reference-dashboard .earnings-heading{align-items:flex-start}
 :root[data-layout="desktop"] .dashboard-shell .reference-dashboard .earnings-heading h2{font-size:24px;font-weight:700;letter-spacing:-.6px;line-height:1.2}
 :root[data-layout="desktop"] .dashboard-shell .reference-dashboard .period-select select{border:0;background:#101010;min-height:44px;font-size:17px}
 :root[data-layout="desktop"] .dashboard-shell .reference-dashboard .chart-empty{border:0;gap:12px;color:#eee;font-size:18px}
 :root[data-layout="desktop"] .dashboard-shell .reference-dashboard .chart-empty .empty-icon{width:52px;height:50px;margin:0;border:0;border-radius:14px;background:#111}
 :root[data-layout="desktop"] .dashboard-shell .reference-dashboard .chart-empty svg{width:32px;height:32px;stroke-width:1.6}
 :root[data-layout="desktop"] .dashboard-shell .reference-dashboard .dashboard-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:24px}
 :root[data-layout="desktop"] .dashboard-shell .reference-dashboard .dashboard-metric{min-height:88px;padding:18px;gap:16px;border:0;border-radius:18px;background:#111;flex-wrap:nowrap}
 :root[data-layout="desktop"] .dashboard-shell .reference-dashboard .dashboard-metric .metric-icon{width:48px;height:48px;flex-basis:48px;border-radius:14px;background:#252525;color:#fff}
 :root[data-layout="desktop"] .dashboard-shell .reference-dashboard .dashboard-metric .metric-icon svg{width:34px;height:34px;stroke-width:1.5}
 :root[data-layout="desktop"] .dashboard-shell .reference-dashboard .dashboard-metric span{font-size:17px;line-height:1.2}
 :root[data-layout="desktop"] .dashboard-shell .reference-dashboard .dashboard-metric strong{font-size:25px;font-weight:600;line-height:1.1;min-height:25px;display:flex;align-items:center}
 :root[data-layout="desktop"] .dashboard-shell .reference-dashboard .dashboard-metric .metric-placeholder{width:17px;height:3px;border-radius:3px;background:#fff;font-size:0;color:transparent;display:block}
 :root[data-layout="desktop"] .dashboard-shell .reference-dashboard .dashboard-metric>svg{display:none}
 :root[data-layout="desktop"] .dashboard-shell .reference-dashboard .recent-summary{width:100%;min-height:0;padding:0 8px;border:0;border-radius:0;background:none}
 :root[data-layout="desktop"] .dashboard-shell .reference-dashboard .recent-title h2{font-size:25px;gap:14px;font-weight:700;letter-spacing:-.5px}
 :root[data-layout="desktop"] .dashboard-shell .reference-dashboard .recent-title h2:before{width:6px;height:28px;border-radius:4px}
 :root[data-layout="desktop"] .dashboard-shell .reference-dashboard .recent-summary .empty{min-height:190px;padding:28px 0}
 :root[data-layout="desktop"] .dashboard-shell .reference-dashboard .recent-summary .empty-icon{width:50px;height:50px;border-radius:14px;border:0;background:#111;margin-bottom:10px}
 :root[data-layout="desktop"] .dashboard-shell .reference-dashboard .recent-summary .empty-icon svg{width:32px;height:32px;stroke-width:1.6}
 :root[data-layout="desktop"] .dashboard-shell .reference-dashboard .recent-summary .empty h3{font-size:18px;font-weight:400;color:#eee}
 @container portal-content (max-width:740px){
  :root[data-layout="desktop"] .dashboard-shell .reference-dashboard .earnings-grid{grid-template-columns:minmax(0,1fr)}
  :root[data-layout="desktop"] .dashboard-shell .reference-dashboard .earnings-summary{width:min(100%,560px);justify-self:center}
  :root[data-layout="desktop"] .dashboard-shell .reference-dashboard .earnings-chart{min-height:250px}
  :root[data-layout="desktop"] .dashboard-shell .reference-dashboard .dashboard-metric{padding:14px 10px;gap:10px}
  :root[data-layout="desktop"] .dashboard-shell .reference-dashboard .dashboard-metric .metric-icon{width:36px;height:40px;flex-basis:36px}
  :root[data-layout="desktop"] .dashboard-shell .reference-dashboard .dashboard-metric span{font-size:15px}
 }
 @container portal-content (max-width:560px){
  :root[data-layout="desktop"] .dashboard-shell .reference-dashboard .dashboard-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
  :root[data-layout="desktop"] .dashboard-shell .reference-dashboard .dashboard-metric.leads-metric{grid-column:1/-1}
 }
}

/* Reuse the existing compact desktop rail at narrow window widths. The bottom
   navigation belongs only to phones; card reflow remains container-responsive. */
@media(max-width:767px){
 :root[data-layout="desktop"] .app-shell{--portal-gutter:24px}
 :root[data-layout="desktop"] .app-shell .topbar .wordmark{display:none}
 :root[data-layout="desktop"] .app-shell .app-content .metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:620px){
 :root[data-layout="desktop"]{--portal-nav-width:70px;--portal-gutter:16px}
 :root[data-layout="desktop"] .app-shell{--portal-gutter:16px}
 :root[data-layout="desktop"] .app-shell .sidebar{padding:18px 10px}
 :root[data-layout="desktop"] .app-shell .sidebar .wordmark{font-size:0;justify-content:center}
 :root[data-layout="desktop"] .app-shell .sidebar nav a{justify-content:center;padding:12px}
 :root[data-layout="desktop"] .app-shell .sidebar nav a span:not(.welcome-unread-dot){display:none}
 :root[data-layout="desktop"] .app-shell .sidebar-footer a{font-size:0;justify-content:center}
}
