/* Setry 0.9.5: focused staff UX finishing. Client space and desktop sidebar are unchanged. */
.staff-v093 .main-wrap .sp95-client-entry,
.staff-v093 .main-wrap .sp95-crm-item,
.staff-v093 .main-wrap .sp95-history-row,
.staff-v093 .main-wrap .sp95-crm-directory,
.staff-v093 .main-wrap .sp95-volume-chart,
.staff-v093 .main-wrap .sp95-history-ex,
.staff-v093 .main-wrap .sp95-finance-metrics>div{box-sizing:border-box}
.staff-v093 .main-wrap :is(.sp95-client-entry,.sp95-crm-item,.sp95-history-row,.sp95-crm-directory,.sp95-volume-chart){animation:sp95-fade-up .38s cubic-bezier(.2,.75,.22,1) both}
@keyframes sp95-fade-up{from{opacity:.2;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@keyframes sp95-shine{0%{transform:translateX(-130%) skewX(-20deg)}100%{transform:translateX(360%) skewX(-20deg)}}
@keyframes sp95-pulse{0%,100%{transform:scale(1);opacity:1}50%{transform:scale(1.2);opacity:.67}}
.staff-v093 .main-wrap .btn:where(:not(:disabled)):active,
.staff-v093 .main-wrap .sp95-client-action:active,
.staff-v093 .main-wrap .sp95-crm-toggle:active{transform:scale(.965)}
.staff-v093 .main-wrap :is(.btn,.sp95-client-action,.sp95-crm-toggle,.sp95-agenda-actions button,.sp95-client-filters button){transition:transform .16s cubic-bezier(.19,.75,.27,1),background .18s,border-color .18s,box-shadow .18s,color .18s}
.staff-v093 .main-wrap :is(.btn,.sp95-client-action,.sp95-crm-toggle,.sp95-agenda-actions button,.sp95-client-filters button):focus-visible{outline:3px solid #33c68a;outline-offset:3px}
/* Clients: single premium directory with status, package balance, history shortcut */
.staff-v093 .sp95-client-filters{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0 17px}
.staff-v093 .sp95-client-filters button{cursor:pointer;border:1px solid var(--ss-line);color:var(--ss-muted);background:var(--ss-surface-2);font-size:12px;font-weight:740;padding:9px 13px;border-radius:999px}
.staff-v093 .sp95-client-filters button.is-active{background:var(--ss-mint-pale);color:var(--ss-green);border-color:#67cf99;box-shadow:0 4px 12px rgba(24,146,91,.08)}
.staff-v093 .sp95-client-list{display:flex;flex-direction:column;gap:10px;margin:0;min-width:0}
.staff-v093 .sp95-client-entry{display:grid;grid-template-columns:53px minmax(0,1fr) minmax(105px,165px) 38px;gap:14px;align-items:center;padding:15px;border-radius:16px;background:linear-gradient(110deg,var(--ss-surface),var(--ss-surface-2));border:1px solid var(--ss-line);box-shadow:0 6px 18px rgba(6,53,45,.035);animation-delay:calc(min(var(--index),8)*24ms);min-width:0;position:relative;overflow:hidden}
.staff-v093 .sp95-client-entry:before{content:"";position:absolute;top:0;left:0;width:3px;height:100%;background:linear-gradient(#0d8e60,#78f0b0);transform:scaleY(.42);transform-origin:top;transition:transform .2s}
.staff-v093 .sp95-client-entry:hover{border-color:#8cdbb4;box-shadow:0 14px 23px rgba(1,54,37,.075);transform:translateY(-2px)}
.staff-v093 .sp95-client-entry:hover:before{transform:scaleY(1)}
.staff-v093 .sp95-client-avatar{width:50px;height:50px;border:1px solid #89d9b4;border-radius:14px;display:grid;place-items:center;font-weight:870;font-size:15px;color:#053c2a;background:linear-gradient(140deg,#caffdf,#77e8b3);position:relative;box-shadow:0 8px 16px rgba(26,132,89,.12)}
.staff-v093 .sp95-client-avatar>span{position:absolute;width:10px;height:10px;border:2px solid var(--ss-surface);border-radius:50%;right:-2px;bottom:-1px;background:#d49f4a}
.staff-v093 .sp95-client-avatar>span.is-active{background:#28c47c;animation:sp95-pulse 2s ease-in-out infinite}
.staff-v093 .sp95-client-main{min-width:0}
.staff-v093 .sp95-client-main>strong{display:block;color:var(--ss-ink);font-size:14px;letter-spacing:-.18px;font-weight:820;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.staff-v093 .sp95-client-main>small{display:block;color:var(--ss-muted);font-size:11px;margin:3px 0 8px}
.staff-v093 .sp95-client-pills{display:flex;flex-wrap:wrap;gap:5px}
.staff-v093 .sp95-client-pills>span{display:inline-flex;align-items:center;gap:4px;border-radius:7px;font-weight:730;font-size:10px;padding:4px 7px;background:var(--ss-surface-2);color:var(--ss-muted)}
.staff-v093 .sp95-client-pills>span.is-active{color:#077649;background:#d6f7e6}
.staff-v093 .sp95-client-pills>span.is-off{color:#88621d;background:#fef0cb}
.staff-v093 .sp95-client-progress{display:grid;gap:4px;min-width:0}
.staff-v093 .sp95-client-progress>span{font-size:10px;color:var(--ss-muted);font-weight:650}
.staff-v093 .sp95-client-progress>strong{font-size:12px;font-weight:840;color:var(--ss-ink)}
.staff-v093 .sp95-client-progress>div{height:5px;border-radius:5px;background:var(--ss-line);overflow:hidden}
.staff-v093 .sp95-client-progress b{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#1b9f66,#7ceab2)}
.staff-v093 .sp95-client-action{display:grid;place-items:center;width:37px;height:37px;border:1px solid var(--ss-line);border-radius:12px;background:var(--ss-surface);color:var(--ss-green)}
.staff-v093 .sp95-client-action:hover{background:#c6f6dc;box-shadow:0 5px 17px rgba(29,139,88,.15)}
.staff-v093 .sp95-compact-session{width:100%;text-align:left;background:none;border:0;cursor:pointer}
.staff-v093 .sp95-compact-session:hover{background:var(--ss-surface-2)}
/* CRM: one structured client ledger. Detail expansion is local and context-preserving. */
.staff-v093 .sp95-finance-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin:0 0 17px}
.staff-v093 .sp95-finance-metrics>div{position:relative;padding:16px 17px;background:var(--ss-surface);border:1px solid var(--ss-line);border-radius:16px;overflow:hidden;box-shadow:var(--ss-shadow)}
.staff-v093 .sp95-finance-metrics>div:after{content:"";width:95px;height:95px;position:absolute;right:-30px;top:-35px;background:radial-gradient(circle,rgba(104,237,173,.16),transparent 70%)}
.staff-v093 .sp95-finance-metrics span{display:block;font-size:11px;color:var(--ss-muted);font-weight:750;margin-bottom:8px}
.staff-v093 .sp95-finance-metrics strong{display:block;white-space:nowrap;color:var(--ss-ink);font-size:clamp(18px,3vw,25px);font-weight:860;letter-spacing:-.7px}
.staff-v093 .sp95-finance-metrics small{display:block;margin-top:4px;font-size:10px;color:var(--ss-muted)}
.staff-v093 .sp95-crm-directory{background:var(--ss-surface);border:1px solid var(--ss-line);border-radius:21px;padding:22px;box-shadow:var(--ss-shadow)}
.staff-v093 .sp95-crm-heading,.staff-v093 .sp95-section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}
.staff-v093 .sp95-crm-heading h2{font-size:21px;color:var(--ss-ink);margin:4px 0}
.staff-v093 .sp95-crm-heading p{color:var(--ss-muted);font-size:12px}
.staff-v093 .sp95-crm-search,.staff-v093 .sp95-history-search{display:flex;align-items:center;gap:10px;background:var(--ss-surface-2);border:1px solid var(--ss-line);padding:0 13px;margin:17px 0 12px;border-radius:12px;color:var(--ss-green);min-height:47px}
.staff-v093 .sp95-crm-search:focus-within,.staff-v093 .sp95-history-search:focus-within{box-shadow:0 0 0 3px rgba(82,217,144,.17);border-color:#54cd97}
.staff-v093 .sp95-crm-search input,.staff-v093 .sp95-history-search input{outline:none!important;border:0!important;background:transparent!important;color:var(--ss-ink)!important;font-size:16px!important;width:100%;min-width:0}
.staff-v093 .sp95-crm-tabs{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 12px}
.staff-v093 .sp95-crm-tabs button{cursor:pointer;padding:8px 11px;border:1px solid var(--ss-line);border-radius:9px;color:var(--ss-muted);font-size:11px;font-weight:760;background:var(--ss-surface-2)}
.staff-v093 .sp95-crm-tabs button.active{color:var(--ss-green);background:var(--ss-mint-pale);border-color:#76d7a9}
.staff-v093 .sp95-crm-list{display:grid;gap:8px;min-width:0}
.staff-v093 .sp95-crm-item{border:1px solid var(--ss-line);background:var(--ss-surface-2);border-radius:15px;overflow:hidden;transition:border-color .2s,box-shadow .2s}
.staff-v093 .sp95-crm-item:hover,.staff-v093 .sp95-crm-item.is-expanded{border-color:#75cda3;box-shadow:0 9px 22px rgba(7,88,63,.075)}
.staff-v093 .sp95-crm-item-main{display:grid;grid-template-columns:45px minmax(0,1fr) auto 39px;align-items:center;gap:11px;padding:11px 13px;min-width:0}
.staff-v093 .sp95-crm-avatar{height:43px;width:43px;border-radius:12px;background:#d6f6e4;color:#0b6947;display:grid;place-items:center;font-weight:850;font-size:13px}
.staff-v093 .sp95-crm-person{min-width:0}
.staff-v093 .sp95-crm-person strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ss-ink);font-size:12.5px}
.staff-v093 .sp95-crm-person small{display:block;font-size:10px;color:var(--ss-muted);margin-top:3px}
.staff-v093 .sp95-crm-bal{text-align:right;display:grid;gap:3px;justify-items:end}
.staff-v093 .sp95-crm-bal strong{font-size:16px;color:var(--ss-ink);white-space:nowrap}
.staff-v093 .sp95-crm-bal strong small{font-size:10px;font-weight:700;color:var(--ss-muted)}
.staff-v093 .sp95-crm-bal span{border-radius:7px;padding:4px 6px;font-size:10px;font-weight:780;white-space:nowrap}
.staff-v093 .sp95-crm-bal span.is-clear{color:#0a8656;background:#d6f9e5}
.staff-v093 .sp95-crm-bal span.is-due{color:#996322;background:#fff1d5}
.staff-v093 .sp95-crm-toggle{height:38px;width:38px;border:1px solid var(--ss-line);border-radius:11px;color:var(--ss-green);background:var(--ss-surface);display:grid;place-items:center}
.staff-v093 .sp95-crm-item.is-expanded .sp95-crm-toggle svg{transform:rotate(90deg)}
.staff-v093 .sp95-crm-expand{border-top:1px solid var(--ss-line);padding:13px;animation:sp95-fade-up .22s ease both}
.staff-v093 .sp95-crm-sum{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:12px}
.staff-v093 .sp95-crm-sum span{padding:8px;border:1px solid var(--ss-line);background:var(--ss-surface);border-radius:9px;color:var(--ss-muted);font-size:11px}
.staff-v093 .sp95-crm-sum b{color:var(--ss-ink)}
.staff-v093 .sp95-crm-actions{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 12px}
.staff-v093 .sp95-crm-package{display:flex;justify-content:space-between;gap:12px;padding:9px 3px;border-top:1px solid var(--ss-line);font-size:11px;color:var(--ss-muted)}
.staff-v093 .sp95-crm-package strong{color:var(--ss-ink)}
.staff-v093 .sp95-crm-ledger{background:var(--ss-surface);border:1px solid var(--ss-line);border-radius:17px;margin-top:17px;overflow:hidden}
.staff-v093 .sp95-crm-ledger>summary{cursor:pointer;display:flex;align-items:center;gap:10px;padding:17px;color:var(--ss-ink);font-size:12.5px;font-weight:850;list-style:none}
.staff-v093 .sp95-crm-ledger>summary::-webkit-details-marker{display:none}
.staff-v093 .sp95-crm-ledger>summary>span{margin-left:auto;transition:transform .2s}
.staff-v093 .sp95-crm-ledger[open]>summary>span{transform:rotate(90deg)}
.staff-v093 .sp95-crm-ledger-body{padding:0 15px 15px;border-top:1px solid var(--ss-line)}
.staff-v093 .sp95-crm-ledger-title{display:flex;justify-content:space-between;padding:14px 0 8px;color:var(--ss-ink);font-size:13px}
.staff-v093 .sp95-payment-row{display:flex;align-items:center;gap:12px;padding:11px 0;border-bottom:1px solid var(--ss-line);color:var(--ss-ink)}
.staff-v093 .sp95-payment-row>div:first-child{min-width:0;flex:1}
.staff-v093 .sp95-payment-row strong{display:block;font-size:12px}
.staff-v093 .sp95-payment-row small,.staff-v093 .sp95-payment-row span{display:block;font-size:10px;color:var(--ss-muted)}
/* Day schedule CTA, private calendar functionality reused from desktop */
.staff-v093 .sp95-agenda-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:14px 0 18px}
.staff-v093 .sp95-agenda-actions button{min-height:45px;cursor:pointer;background:linear-gradient(118deg,#084d3b,#127651);border:1px solid #1c7e5b;color:white;border-radius:12px;font-size:12px;font-weight:840;display:flex;align-items:center;justify-content:center;gap:7px;box-shadow:0 7px 14px rgba(2,80,50,.12)}
.staff-v093 .sp95-agenda-actions button:nth-child(2){color:var(--ss-green);background:var(--ss-surface);border-color:var(--ss-line);box-shadow:none}
.staff-v093 .sp95-agenda-actions button:hover{transform:translateY(-2px)}
/* Read-only historic workout navigation */
.staff-v093 .sp95-history,.staff-v093 .sp95-history-detail{max-width:1030px;margin:0 auto 80px;color:var(--ss-ink)}
.staff-v093 .sp95-return{cursor:pointer;display:flex;align-items:center;gap:9px;background:var(--ss-surface);border:1px solid var(--ss-line);border-radius:11px;padding:10px 13px;color:var(--ss-ink);font-weight:790;font-size:11px;margin:4px 0 15px}
.staff-v093 .sp95-return svg{transform:rotate(180deg)}
.staff-v093 .sp95-history-hero{position:relative;overflow:hidden;isolation:isolate;border-radius:21px;padding:27px;background:linear-gradient(114deg,#032e28,#086d52);color:white;border:1px solid #317c5e;box-shadow:0 17px 30px rgba(0,71,47,.12)}
.staff-v093 .sp95-history-hero:before{content:"";position:absolute;inset:0 0 0 38%;z-index:-1;background:linear-gradient(110deg,transparent 1%,rgba(82,241,162,.15) 55%,transparent 56%),radial-gradient(ellipse at 80% 20%,rgba(126,244,183,.28),transparent 54%)}
.staff-v093 .sp95-history-hero>span{font-size:10px;font-weight:870;letter-spacing:1.5px;color:#9ef8c7}
.staff-v093 .sp95-history-hero h1,.staff-v093 .sp95-history-hero h2{font-size:clamp(24px,3.2vw,37px);line-height:1.13;margin:10px 0;color:white;letter-spacing:-.8px}
.staff-v093 .sp95-history-hero p{font-size:12px;color:#d8eee4}
.staff-v093 .sp95-history-recent{margin:18px 0}
.staff-v093 .sp95-section-heading{margin:14px 0 12px;color:var(--ss-ink)}
.staff-v093 .sp95-section-heading>span{color:var(--ss-green);font-size:10px;font-weight:850;letter-spacing:1.2px}
.staff-v093 .sp95-section-heading>strong{font-size:11px;color:var(--ss-muted)}
.staff-v093 .sp95-best-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.staff-v093 .sp95-best-strip>div{border-radius:13px;border:1px solid var(--ss-line);background:var(--ss-surface);padding:13px;display:grid;gap:7px;min-width:0}
.staff-v093 .sp95-best-strip strong{font-size:10px;line-height:1.4;color:var(--ss-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.staff-v093 .sp95-best-strip b{font-size:19px;color:var(--ss-ink);letter-spacing:-.5px}
.staff-v093 .sp95-best-strip small{font-size:10px;color:var(--ss-muted)}
.staff-v093 .sp95-history-list{display:grid;gap:10px}
.staff-v093 .sp95-history-row{width:100%;text-align:left;cursor:pointer;display:flex;align-items:center;gap:13px;background:var(--ss-surface);border:1px solid var(--ss-line);border-radius:14px;padding:14px;color:var(--ss-ink);transition:transform .18s,border-color .18s,box-shadow .18s}
.staff-v093 .sp95-history-row:hover{border-color:#6ad5a4;transform:translateY(-2px);box-shadow:0 12px 26px rgba(15,80,57,.09)}
.staff-v093 .sp95-history-date{display:grid;place-items:center;background:var(--ss-mint-pale);border-radius:12px;width:48px;min-width:48px;height:51px;color:var(--ss-green)}
.staff-v093 .sp95-history-date b{font-size:18px;line-height:1.05}
.staff-v093 .sp95-history-date small{font-size:9px}
.staff-v093 .sp95-history-row-main{flex:1;min-width:0;display:grid;gap:3px}
.staff-v093 .sp95-history-row-main strong{font-size:13px}
.staff-v093 .sp95-history-row-main small{font-size:10px;color:var(--ss-muted)}
.staff-v093 .sp95-history-row-main>span{font-size:10px;color:var(--ss-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.staff-v093 .sp95-status{border-radius:8px;font-size:10px;font-weight:800;padding:6px 8px;white-space:nowrap}
.staff-v093 .sp95-status.is-done{background:#dcfae9;color:#08774a}
.staff-v093 .sp95-status.is-draft{background:#fff0d5;color:#846021}
.staff-v093 .sp95-history-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:15px 0}
.staff-v093 .sp95-history-metrics>div{display:grid;gap:5px;padding:15px;background:var(--ss-surface);border:1px solid var(--ss-line);border-radius:13px}
.staff-v093 .sp95-history-metrics span{font-size:10px;color:var(--ss-muted)}
.staff-v093 .sp95-history-metrics strong{font-size:19px;line-height:1.25;color:var(--ss-ink)}
.staff-v093 .sp95-history-exercises{display:grid;gap:10px}
.staff-v093 .sp95-history-ex{background:var(--ss-surface);border:1px solid var(--ss-line);border-radius:14px;overflow:hidden}
.staff-v093 .sp95-history-ex>summary{display:flex;align-items:center;gap:13px;padding:15px;cursor:pointer;list-style:none;color:var(--ss-ink)}
.staff-v093 .sp95-history-ex>summary::-webkit-details-marker{display:none}
.staff-v093 .sp95-history-ex>summary>div{min-width:0;flex:1}
.staff-v093 .sp95-history-ex>summary strong{display:block;font-size:13px}
.staff-v093 .sp95-history-ex>summary small{display:block;color:var(--ss-muted);font-size:10px;margin-top:4px}
.staff-v093 .sp95-ex-num{width:38px;height:38px;flex:none;display:grid;place-items:center;border-radius:11px;background:var(--ss-mint-pale);font-weight:850;color:var(--ss-green)}
.staff-v093 .sp95-history-ex[open]>summary>svg:last-child{transform:rotate(90deg)}
.staff-v093 .sp95-history-sets{border-top:1px solid var(--ss-line);padding:10px 14px}
.staff-v093 .sp95-history-sets-label,.staff-v093 .sp95-history-set{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) 82px;align-items:center;gap:5px;padding:9px 3px;text-align:center;font-size:10.5px;color:var(--ss-ink)}
.staff-v093 .sp95-history-sets-label{font-size:10px;font-weight:770;color:var(--ss-muted)}
.staff-v093 .sp95-history-set{border-top:1px solid var(--ss-line)}
.staff-v093 .sp95-history-set>span.is-done{font-size:10px;color:#1c9363;font-weight:750}
.staff-v093 .sp95-ex-note{padding:12px 16px;margin:0;background:var(--ss-surface-2);font-size:11px;color:var(--ss-muted)}
.staff-v093 .sp95-history-footer{display:flex;flex-wrap:wrap;gap:15px;align-items:center;margin-top:18px;color:var(--ss-muted)}
.staff-v093 .sp95-history-footer p{flex:1;min-width:220px;font-size:12px}
/* Printed training report: one real volume chart instead of a pile of unlabeled completion bars */
.staff-v093 .sp95-report-intro{margin-top:4px;font-size:11px;color:var(--ss-muted)}
.staff-v093 .sp95-volume-chart{background:var(--ss-surface);border:1px solid var(--ss-line);border-radius:18px;padding:17px;margin:14px 0 10px;color:var(--ss-ink)}
.staff-v093 .sp95-chart-header{display:flex;justify-content:space-between;align-items:start;gap:15px}
.staff-v093 .sp95-chart-header h2{margin:5px 0 4px;font-size:19px;color:var(--ss-ink)}
.staff-v093 .sp95-chart-header p{font-size:11px;line-height:1.5;color:var(--ss-muted)}
.staff-v093 .sp95-chart-total{white-space:nowrap;background:var(--ss-mint-pale);border:1px solid var(--ss-line);border-radius:10px;padding:10px;color:var(--ss-green);font-weight:850;font-size:14px}
.staff-v093 .sp95-chart-scroll{width:100%;overflow:auto;scrollbar-width:thin;margin:13px 0}
.staff-v093 .sp95-chart-scroll svg{width:100%;height:auto;min-width:475px;color:var(--ss-ink)}
.staff-v093 .sp95-chart-footer{display:flex;gap:12px;justify-content:space-between;flex-wrap:wrap;color:var(--ss-muted);font-size:10px;font-weight:750}
.staff-v093 .sp95-chart-footer span:first-child{display:flex;gap:5px;align-items:center;color:var(--ss-green)}
.staff-v093 .sp95-breakdown{border:1px solid var(--ss-line);border-radius:12px;overflow:hidden;background:var(--ss-surface)}
.staff-v093 .sp95-breakdown summary{cursor:pointer;display:flex;align-items:center;gap:10px;padding:13px 16px;font-size:12px;font-weight:800;color:var(--ss-ink);list-style:none}
.staff-v093 .sp95-breakdown summary svg{margin-left:auto}
.staff-v093 .sp95-breakdown[open] summary svg{transform:rotate(90deg)}
.staff-v093 .sp95-breakdown>div{padding:9px 15px 15px}
.staff-v093 .sp95-breakdown:not([open])+.sx-summary-footnote{margin-top:9px}
/* Plan editing drag ghost: continuously follows finger, surrounding items animate in real time */
.staff-v093 .v06-drag-handle{touch-action:none;cursor:grab!important;user-select:none;-webkit-user-select:none}
.staff-v093 .v06-drag-handle:active{cursor:grabbing!important}
.staff-v093 .v05-plan-row{position:relative;will-change:transform;transition:border-color .18s,background .18s,box-shadow .18s}
.staff-v093 .v05-plan-row.sp95-live-origin{opacity:.28;outline:2px dashed #25c985;outline-offset:-3px}
.sp95-drag-ghost{background:linear-gradient(110deg,#ecfff4,#c4f4db)!important;color:#053d2b!important;border:2px solid #34bc81!important;border-radius:13px!important;box-shadow:0 19px 32px rgba(3,78,48,.24)!important;transform-origin:center;opacity:.96;will-change:transform;overflow:hidden}
/* Subtle topographic texture in older planner panels without changing their functions */
.staff-v093 .sx-planner .v05-section{border-radius:16px;overflow:hidden;border:1px solid var(--ss-line);background:var(--ss-surface)}
.staff-v093 .sx-planner .v05-section-title{position:relative;overflow:hidden}
.staff-v093 .sx-planner .v05-section-title:after{content:"";position:absolute;right:-4%;top:-40px;width:130px;height:120px;border:1px solid rgba(123,244,177,.19);border-radius:50%;box-shadow:0 0 0 12px rgba(123,244,177,.06),0 0 0 24px rgba(123,244,177,.04);pointer-events:none}
.staff-v093 .sx-planner .v05-plan-row:hover{box-shadow:inset 3px 0 0 #53dba4,0 7px 14px rgba(6,76,49,.06)}
.staff-v093 .sx-planner .v05-plan-row .v05-row-actions .btn{min-height:36px}
/* Tactile visual polish only on staff area, preserve client approved layout */
.staff-v093 .ss-dashboard-priority .ss-shortcut:hover,
.staff-v093 .main-wrap .panel:hover{transition:box-shadow .2s,border-color .2s}
.staff-v093 .main-wrap .sx-section-hero{box-shadow:0 19px 36px rgba(2,69,43,.13)}
.staff-v093 .main-wrap .sx-section-hero:before{animation:sp95-hero-glow 14s ease-in-out infinite alternate}
@keyframes sp95-hero-glow{from{transform:rotate(10deg) translateX(-8%)}to{transform:rotate(10deg) translateX(7%)}}
/* Dark theme: layered contrast instead of one uniform green, respecting canonical sidebar */
html[data-theme="dark"] .staff-v093{--ss-canvas:#081d20;--ss-surface:#133332;--ss-surface-2:#1b413b;--ss-line:#39665a;--ss-ink:#f2fff7;--ss-muted:#c4ded3;--ss-mint-pale:#235744;--ss-shadow:0 14px 27px rgba(0,0,0,.22)}
html[data-theme="dark"] .staff-v093 .main-wrap{background:radial-gradient(ellipse at 75% 0%,#164a3d 0%,transparent 41%),linear-gradient(175deg,#0a2325,#071b1c)}
html[data-theme="dark"] .staff-v093 .main-wrap .card,
html[data-theme="dark"] .staff-v093 .main-wrap .panel{border-color:#3c675a;box-shadow:0 12px 28px rgba(0,0,0,.15)}
html[data-theme="dark"] .staff-v093 .main-wrap :is(.sp95-client-entry,.sp95-crm-item,.sp95-crm-directory,.sp95-history-row,.sp95-history-ex,.sp95-volume-chart,.sp95-history-metrics>div,.sp95-best-strip>div){background:linear-gradient(130deg,#173c36,#153330);border-color:#37665a}
html[data-theme="dark"] .staff-v093 .main-wrap .sp95-client-pills span.is-active{background:#1c6044;color:#b6fdd5}
html[data-theme="dark"] .staff-v093 .main-wrap .sp95-client-pills span.is-off{background:#4f4029;color:#ffdfa5}
html[data-theme="dark"] .staff-v093 .main-wrap .sp95-client-avatar,
html[data-theme="dark"] .staff-v093 .main-wrap .sp95-crm-avatar{background:linear-gradient(135deg,#1a674a,#99f5c5);color:#042d23}
html[data-theme="dark"] .staff-v093 .main-wrap .sp95-crm-bal span.is-clear,
html[data-theme="dark"] .staff-v093 .main-wrap .sp95-status.is-done{background:#235c45;color:#b0f6d0}
html[data-theme="dark"] .staff-v093 .main-wrap .sp95-crm-bal span.is-due,
html[data-theme="dark"] .staff-v093 .main-wrap .sp95-status.is-draft{background:#60462f;color:#ffe3a9}
html[data-theme="dark"] .staff-v093 .main-wrap .sp95-finance-metrics>div{background:linear-gradient(135deg,#204b40,#173532)}
html[data-theme="dark"] .staff-v093 .main-wrap .sp95-crm-tabs button.active,
html[data-theme="dark"] .staff-v093 .main-wrap .sp95-client-filters button.is-active{background:#235e45;color:#a8ffcf;border-color:#5dbf8b}
html[data-theme="dark"] .staff-v093 .main-wrap .sp95-crm-expand{background:#1a3b35}
html[data-theme="dark"] .staff-v093 .main-wrap .sx-section-hero{border-color:#448e6d}
html[data-theme="dark"] .staff-v093 .main-wrap .sp95-chart-total{color:#b8ffdb;background:#20523e}
@media(max-width:950px){.staff-v093 .sp95-best-strip{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:850px){
 .staff-v093 .sp95-finance-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}
 .staff-v093 .sp95-finance-metrics>div{padding:12px}
 .staff-v093 .sp95-finance-metrics strong{font-size:16px;white-space:normal;overflow-wrap:anywhere}
 .staff-v093 .sp95-crm-directory{padding:13px;border-radius:17px}
 .staff-v093 .sp95-crm-heading{flex-wrap:wrap}
 .staff-v093 .sp95-history-hero{padding:22px}
 .staff-v093 .sp95-client-progress{display:none}
 .staff-v093 .sp95-client-entry{grid-template-columns:44px minmax(0,1fr) 38px;gap:11px;padding:11px}
 .staff-v093 .sp95-client-avatar{height:44px;width:44px;border-radius:12px}
 .staff-v093 .sp95-history-row{padding:11px;gap:9px}
}
@media(max-width:430px){
 .staff-v093 .sp95-finance-metrics{gap:5px}
 .staff-v093 .sp95-finance-metrics>div{padding:10px 8px;border-radius:12px}
 .staff-v093 .sp95-finance-metrics strong{font-size:14px}
 .staff-v093 .sp95-finance-metrics span,.staff-v093 .sp95-finance-metrics small{font-size:9px}
 .staff-v093 .sp95-crm-item-main{grid-template-columns:37px minmax(0,1fr) auto 32px;padding:10px 8px;gap:7px}
 .staff-v093 .sp95-crm-avatar{height:36px;width:36px;border-radius:10px;font-size:11px}
 .staff-v093 .sp95-crm-bal strong{font-size:14px}
 .staff-v093 .sp95-crm-bal span{font-size:9px}
 .staff-v093 .sp95-crm-toggle{height:32px;width:32px;border-radius:9px}
 .staff-v093 .sp95-crm-person strong{font-size:11.5px}
 .staff-v093 .sp95-client-pills{gap:3px}
 .staff-v093 .sp95-client-pills>span{font-size:9px;padding:3px 5px}
 .staff-v093 .sp95-history-metrics{gap:6px}
 .staff-v093 .sp95-history-metrics>div{padding:10px}
 .staff-v093 .sp95-history-metrics strong{font-size:16px}
 .staff-v093 .sp95-history-sets-label,.staff-v093 .sp95-history-set{grid-template-columns:repeat(4,minmax(0,1fr)) 71px;font-size:10px}
 .staff-v093 .sp95-chart-header{flex-wrap:wrap}
 .staff-v093 .sp95-chart-total{font-size:12px}
 .staff-v093 .sp95-payment-row{flex-wrap:wrap}
}
@media(prefers-reduced-motion:reduce){
 .staff-v093 .main-wrap :is(.sp95-client-entry,.sp95-crm-item,.sp95-history-row,.sp95-crm-directory,.sp95-volume-chart){animation:none!important}
 .staff-v093 .sx-section-hero:before,.staff-v093 .sp95-client-avatar>span.is-active{animation:none!important}
 .staff-v093 .main-wrap :is(.btn,.sp95-client-action,.sp95-crm-toggle){transition:none!important}
}
@media print{body:has(.sp95-history-detail) .sidebar,body:has(.sp95-history-detail) .topbar,body:has(.sp95-history-detail) .ss-mobile-header,body:has(.sp95-history-detail) .mobile-bottom,body:has(.sp95-history-detail) .sp95-return{display:none!important}body:has(.sp95-history-detail) .main-wrap{margin:0!important}body:has(.sp95-history-detail) .content{padding:8px!important}}
