/* SLPT v1.9.2 production UI R2 - Design 3 cards + Design 2 hero */
:root{
  --v192-blue:#2f7cf6;--v192-indigo:#6857e8;--v192-green:#18b77a;--v192-orange:#ff8a28;--v192-pink:#ec4f88;--v192-cyan:#17b9c6;--v192-purple:#8b5cf6;
}
#appView{background:#f7f9fc;min-height:100vh}
#appView.app-shell{grid-template-columns:minmax(0,1fr)!important;gap:0!important;padding:0!important}
#appView .workspace{width:100%;min-width:0}
#appView .topbar{top:0!important;border-radius:0!important;min-height:78px;padding:12px 28px!important;background:rgba(255,255,255,.96)!important;border:0!important;border-bottom:1px solid #e8edf5!important;box-shadow:0 8px 26px rgba(15,32,62,.06)!important;backdrop-filter:blur(18px);z-index:70}
#appView #mobileMenu{display:grid!important;place-items:center!important;width:44px;height:44px;flex:0 0 44px;font-size:0;border:1px solid #dde5f0;background:#fff;border-radius:12px;color:#18233a;box-shadow:0 5px 15px rgba(21,35,61,.06)}
#appView #mobileMenu::before{content:'☰';font-size:22px;line-height:1}
.v192-top-brand{display:flex;align-items:center;border:0;background:transparent;color:#101c35;cursor:pointer;margin-left:-4px;padding:4px 10px 4px 2px}
.v192-wordmark{display:flex;align-items:baseline;line-height:1;letter-spacing:-.045em}.v192-wordmark>b{font-size:25px;color:#1b2942}.v192-wordmark .v192-wordmark-pt{color:#9a2635}.v192-wordmark small{font-size:9px;letter-spacing:.12em;color:#71809a;margin-left:8px;font-weight:750}
#appView .search-wrap{margin-left:auto;width:min(460px,36vw);background:#f8fafc;border-color:#e3e9f2}
#appView .top-actions{margin-left:auto}
#appView .content{max-width:1600px;margin:0 auto;padding:28px clamp(18px,3vw,44px) 48px!important}

/* Sidebar becomes a true off-canvas drawer at every desktop size. */
#appView .sidebar{position:fixed!important;left:18px!important;top:18px!important;bottom:18px!important;width:min(310px,calc(100vw - 36px))!important;height:auto!important;z-index:120!important;transform:translate3d(calc(-100% - 34px),0,0)!important;transition:transform .24s ease!important;border-radius:24px!important;padding:22px 16px!important;background:linear-gradient(180deg,#0c2448 0%,#091b36 100%)!important;box-shadow:0 24px 70px rgba(4,14,30,.42)!important;overflow:auto!important;filter:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;opacity:1!important;isolation:isolate;pointer-events:none!important}
#appView .sidebar::before{display:none!important}
#appView .sidebar.open{transform:translate3d(0,0,0)!important;pointer-events:auto!important}
#appView .sidebar.open *{pointer-events:auto!important;filter:none!important}
#appView .sidebar-collapse,#appView .sidebar-collapse-v171{display:none!important}
#appView .sidebar .brand{font-size:28px!important}.sidebar .nav button{position:relative;z-index:2;border-radius:13px!important;padding:12px 13px!important;cursor:pointer!important}.sidebar .nav button.active{background:linear-gradient(135deg,#2476ef,#3563df)!important;color:#fff!important;box-shadow:0 10px 24px rgba(41,112,235,.28)!important}
.sidebar-backdrop-v181{display:none!important;pointer-events:none!important}
.v192-drawer-backdrop{position:fixed;inset:0;z-index:110;border:0;background:rgba(6,15,30,.46);opacity:0;pointer-events:none;transition:opacity .2s ease;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;filter:none!important}.v192-drawer-backdrop.open{opacity:1;pointer-events:auto}

/* Dashboard */
.v192-dashboard{display:grid;gap:18px}.v192-dashboard .panel{background:#fff;border:1px solid #e6ebf3;box-shadow:0 10px 30px rgba(25,45,76,.05)}
.v192-hero{min-height:260px;border-radius:24px;overflow:hidden;position:relative;display:flex;align-items:center;padding:34px 42px;color:#fff;background-image:linear-gradient(90deg,rgba(3,82,184,.96) 0%,rgba(24,113,224,.88) 39%,rgba(74,105,213,.52) 67%,rgba(125,89,219,.35) 100%),url('/v192-hero.jpg?v=20260808-r2');background-size:cover;background-position:center 42%;box-shadow:0 18px 44px rgba(60,111,231,.18)}
.v192-hero::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(12,89,202,.2),transparent 54%,rgba(111,74,209,.12));pointer-events:none}
.v192-hero-copy{position:relative;z-index:3;max-width:720px}.v192-hero .eyebrow{color:rgba(255,255,255,.82);margin:0 0 8px;letter-spacing:.15em}.v192-hero h1{margin:0;font-size:clamp(30px,3.2vw,47px);letter-spacing:-.045em;text-shadow:0 2px 18px rgba(9,40,94,.16)}.v192-hero p{margin:8px 0 0;color:rgba(255,255,255,.9);font-size:15px}.v192-hero-chips{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}.v192-hero-chips span{padding:10px 16px;border:1px solid rgba(255,255,255,.32);border-radius:999px;background:rgba(18,91,205,.22);font-weight:760;font-size:13px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.04)}
.v192-hero-art{position:absolute;inset:0;z-index:2;overflow:hidden;pointer-events:none}.v192-wave{position:absolute;right:-3%;width:47%;height:118px;border-radius:50%;border-top:3px solid rgba(111,238,255,.9);transform:rotate(-7deg)}.v192-wave.one{top:88px;box-shadow:0 -2px 14px rgba(91,225,255,.28)}.v192-wave.two{top:116px;border-color:rgba(245,103,255,.82);transform:rotate(8deg)}
.v192-metrics{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}.v192-metric{--metric-accent:var(--v192-blue);min-height:128px;display:grid;align-content:center;gap:9px;padding:18px 20px;border:1px solid #e5ebf3;border-top:4px solid var(--metric-accent);border-radius:17px;background:#fff;box-shadow:0 8px 28px rgba(21,38,68,.05)}.v192-metric-primary{display:flex;align-items:center;gap:12px}.v192-metric-icon{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#edf5ff;color:var(--metric-accent);font-size:19px;font-weight:900;flex:0 0 42px}.v192-metric-primary strong{font-size:25px;line-height:1;color:#101b32;white-space:nowrap}.v192-metric-copy{display:grid;padding-left:54px}.v192-metric-copy small{color:#27354d;font-size:11px;font-weight:760}.v192-metric-copy span{font-size:10px;color:#8290a5;margin-top:5px}.v192-metric.tone-green{--metric-accent:#18b77a}.v192-metric.tone-green .v192-metric-icon{background:#e9fbf4}.v192-metric.tone-orange{--metric-accent:#ff8a28}.v192-metric.tone-orange .v192-metric-icon{background:#fff3e6}.v192-metric.tone-purple{--metric-accent:#8b5cf6}.v192-metric.tone-purple .v192-metric-icon{background:#f1edff}.v192-metric.tone-teal{--metric-accent:#17b9c6}.v192-metric.tone-teal .v192-metric-icon{background:#e8fafa}.v192-metric.tone-pink{--metric-accent:#ec4f88}.v192-metric.tone-pink .v192-metric-icon{background:#fdebf2}
.v192-main-grid{display:grid;grid-template-columns:1.22fr 1fr 1fr;gap:16px}.v192-panel{min-height:330px}.v192-panel .panel-head small{display:block;color:#8a96a8;margin-top:3px}.v192-session-list,.v192-message-list{display:grid;gap:8px}.v192-session-row{display:grid;grid-template-columns:82px minmax(0,1fr) auto auto;align-items:center;gap:12px;width:100%;padding:11px 12px;border:1px solid transparent;border-radius:13px;background:#f8fafc;color:#162039;text-align:left}.v192-session-row:hover{border-color:#d9e5f6;background:#f4f8fe}.v192-session-row.is-today{border-left:4px solid #20af76;background:linear-gradient(90deg,#ecfbf5,#f8fbff)}.v192-session-time{display:grid}.v192-session-time b{font-size:13px}.v192-session-time small{font-size:10px;color:#2a75e9;font-weight:800}.v192-session-copy{display:grid;min-width:0}.v192-session-copy b{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.v192-session-copy small{font-size:10px;color:#7c889b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.v192-session-mode{font-size:10px;color:#65748a;background:#eef3f9;border-radius:999px;padding:6px 8px}.v192-session-status{font-size:9px;font-weight:800;padding:6px 8px;border-radius:999px;background:#edf2f7;color:#59677b}.v192-session-status.completed{background:#e7f8f0;color:#148354}.v192-session-status.scheduled{background:#eaf2ff;color:#246fd8}.v192-session-status.cancelled{background:#ffedf0;color:#bf4254}
.v192-client-overview{display:flex;align-items:center;justify-content:center;gap:28px;min-height:235px}.v192-donut{--active:360deg;width:165px;height:165px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(#18b77a 0 var(--active),#3988f5 var(--active) 360deg);position:relative}.v192-donut::after{content:'';position:absolute;inset:26px;border-radius:50%;background:#fff}.v192-donut span{position:relative;z-index:2;display:grid;text-align:center}.v192-donut b{font-size:30px;color:#0f1b34}.v192-donut small{font-size:10px;color:#8190a4}.v192-overview-legend{display:grid;gap:14px;min-width:120px}.v192-overview-legend>div{display:grid;grid-template-columns:10px 1fr auto;align-items:center;gap:8px}.v192-overview-legend i{width:8px;height:8px;border-radius:50%;background:#18b77a}.v192-overview-legend i.other{background:#3988f5}.v192-overview-legend span{font-size:11px;color:#637188}.v192-overview-legend b{font-size:12px}
.v192-message-row{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 8px;border:0;border-bottom:1px solid #edf1f6;background:transparent;color:#18223a;text-align:left}.v192-message-row>span:nth-child(2){display:grid;min-width:0}.v192-message-row b{font-size:12px}.v192-message-row small{font-size:10px;color:#7c899b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.v192-mini-avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#def0ff,#e9e2ff);font-size:11px;font-weight:850;color:#315a99}.v192-message-meta{display:grid;justify-items:end;gap:4px}.v192-message-meta i{font-style:normal;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#2c7df2;color:#fff;display:grid;place-items:center;font-size:9px}
.v192-quick-section{padding-top:2px}.v192-section-head{display:flex;align-items:end;justify-content:space-between;gap:14px;margin-bottom:12px}.v192-section-head h2{margin:0;font-size:18px}.v192-section-head p{margin:3px 0 0;color:#8490a2;font-size:11px}.v192-quick-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:12px}.v192-quick{position:relative;min-height:150px;border:0;border-radius:19px;padding:17px;color:#fff;text-align:left;display:grid;align-content:start;gap:6px;overflow:hidden;box-shadow:0 15px 28px rgba(32,69,132,.12);cursor:pointer}.v192-quick::after{content:'';position:absolute;width:100px;height:100px;border-radius:50%;right:-35px;top:-35px;background:rgba(255,255,255,.10)}.v192-quick-icon{width:39px;height:39px;border-radius:12px;background:rgba(255,255,255,.19);display:grid;place-items:center;font-size:18px}.v192-quick b{font-size:14px;margin-top:4px}.v192-quick small{font-size:10px;color:rgba(255,255,255,.82);line-height:1.45}.v192-quick>i{position:absolute;right:14px;bottom:13px;font-style:normal;width:28px;height:28px;border-radius:50%;background:rgba(255,255,255,.16);display:grid;place-items:center}.v192-quick.tone-blue{background:linear-gradient(145deg,#1e73eb,#398df7)}.v192-quick.tone-green{background:linear-gradient(145deg,#10a971,#29c28a)}.v192-quick.tone-orange{background:linear-gradient(145deg,#ff7a1b,#f7aa28)}.v192-quick.tone-cyan{background:linear-gradient(145deg,#0ca6c0,#35c3d2)}.v192-quick.tone-purple{background:linear-gradient(145deg,#6850d6,#8b62ed)}.v192-quick.tone-pink{background:linear-gradient(145deg,#e64878,#f0629b)}.v192-quick.tone-teal{background:linear-gradient(145deg,#0ba294,#2bc3ad)}.v192-quick.tone-indigo{background:linear-gradient(145deg,#4266d9,#6579eb)}

/* Concept 6 - dark mode */
:root[data-theme="mist-graphite"] #appView{background:#050c19;color:#eaf0fb}
:root[data-theme="mist-graphite"] #appView .topbar{background:rgba(5,12,25,.96)!important;border-bottom-color:#18243a!important;box-shadow:0 10px 36px rgba(0,0,0,.24)!important}
:root[data-theme="mist-graphite"] #appView #mobileMenu{background:#0b1424;border-color:#22304a;color:#e8eef9}
:root[data-theme="mist-graphite"] .v192-wordmark>b{color:#f3f7ff}:root[data-theme="mist-graphite"] .v192-wordmark .v192-wordmark-pt{color:#c94a58}:root[data-theme="mist-graphite"] .v192-wordmark small{color:#8492aa}:root[data-theme="mist-graphite"] #appView .search-wrap{background:#091221;border-color:#1c2940}
:root[data-theme="mist-graphite"] .v192-hero{background-image:linear-gradient(90deg,rgba(3,14,38,.97) 0%,rgba(7,34,80,.92) 42%,rgba(35,25,99,.58) 74%,rgba(52,18,112,.48) 100%),url('/v192-hero.jpg?v=20260808-r2');border:1px solid #15366d;box-shadow:0 20px 60px rgba(0,0,0,.25)}
:root[data-theme="mist-graphite"] .v192-metric,:root[data-theme="mist-graphite"] .v192-dashboard .panel{background:#091425;border-color:#1a2940;box-shadow:0 12px 32px rgba(0,0,0,.18)}
:root[data-theme="mist-graphite"] .v192-metric-primary strong,:root[data-theme="mist-graphite"] .v192-message-row,:root[data-theme="mist-graphite"] .v192-donut b{color:#edf3ff}:root[data-theme="mist-graphite"] .v192-metric-copy small{color:#d7e0ef}:root[data-theme="mist-graphite"] .v192-metric-copy span{color:#8493a9}
:root[data-theme="mist-graphite"] .v192-session-row{background:#0b1729;color:#e9f0fb}:root[data-theme="mist-graphite"] .v192-session-row:hover{background:#0e1c31;border-color:#223757}:root[data-theme="mist-graphite"] .v192-session-row.is-today{background:linear-gradient(90deg,rgba(24,183,122,.17),#0b1729);border-left-color:#28cf91}:root[data-theme="mist-graphite"] .v192-session-mode{background:#121f33;color:#a8b5c7}
:root[data-theme="mist-graphite"] .v192-donut::after{background:#091425}:root[data-theme="mist-graphite"] .v192-donut small{color:#8290a7}:root[data-theme="mist-graphite"] .v192-message-row{border-bottom-color:#19273c}:root[data-theme="mist-graphite"] .v192-mini-avatar{background:linear-gradient(135deg,#0e3355,#32285e);color:#d8e9ff}:root[data-theme="mist-graphite"] .v192-section-head p{color:#7d8da5}

@media(max-width:1300px){.v192-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.v192-quick-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.v192-main-grid{grid-template-columns:1fr 1fr}.v192-main-grid>article:last-child{grid-column:span 2}}
@media(max-width:900px){#appView .topbar{padding:10px 12px!important}.v192-wordmark small{display:none}.v192-wordmark>b{font-size:21px}#appView .search-wrap{display:none}.v192-hero{padding:26px 22px;min-height:180px}.v192-hero-art{opacity:.42;width:58%}.v192-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.v192-main-grid{grid-template-columns:1fr}.v192-main-grid>article:last-child{grid-column:auto}.v192-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.v192-session-row{grid-template-columns:70px minmax(0,1fr) auto}.v192-session-mode{display:none}.v192-client-overview{flex-direction:column}.v192-section-head{align-items:flex-start;flex-direction:column}}
@media(max-width:560px){.v192-metrics{grid-template-columns:1fr 1fr;gap:9px}.v192-metric{padding:14px;min-height:104px}.v192-metric-icon{width:36px;height:36px;flex-basis:36px}.v192-metric-primary strong{font-size:20px}.v192-metric-copy{padding-left:0}.v192-quick-grid{grid-template-columns:1fr 1fr}.v192-quick{min-height:130px;padding:14px}.v192-hero h1{font-size:30px}.v192-hero-chips{gap:8px}.v192-hero-chips span{font-size:11px;padding:8px 10px}}


/* SLPT-R25R6-SIDEBAR-HIT-TESTING-20260817 */
/* Drawer hit-testing must apply only to the actual <=850px mobile drawer.
   Desktop/tablet sidebars are persistent navigation and must remain clickable
   after navigate() removes the temporary .open drawer class. */
#appView .sidebar{z-index:120!important}
#appView>.v192-drawer-backdrop{z-index:110!important;pointer-events:none!important}
#appView>.workspace{position:relative;z-index:1}
@media(max-width:850px){
  #appView .sidebar{pointer-events:none!important}
  #appView .sidebar.open{z-index:120!important;pointer-events:auto!important}
  #appView .sidebar.open,#appView .sidebar.open nav,#appView .sidebar.open .nav,#appView .sidebar.open .nav button{filter:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;pointer-events:auto!important}
  #appView>.v192-drawer-backdrop.open{pointer-events:auto!important}
}
@media(min-width:851px){
  #appView .sidebar,#appView .sidebar nav,#appView .sidebar .nav,#appView .sidebar .nav button{pointer-events:auto!important}
  #appView>.v192-drawer-backdrop,#appView>.v192-drawer-backdrop.open{display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important}
}
.sidebar-backdrop-v181{display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important;z-index:-1!important}
.v192-client-type-filter{min-width:170px;max-width:220px}
#content .toolbar:has(#clientTypeFilter){display:flex;align-items:center;gap:10px;flex-wrap:wrap}
#content .toolbar:has(#clientTypeFilter) #clientSearch{flex:1 1 280px}

/* R4: client account + coaching-delivery classification */
.v192-client-classification{display:flex;align-items:center;gap:5px;flex-wrap:wrap;margin-top:6px}
.v192-class-badge{display:inline-flex;align-items:center;min-height:20px;padding:3px 7px;border-radius:999px;font-size:8px;font-weight:850;letter-spacing:.055em;line-height:1;border:1px solid transparent;white-space:nowrap}
.v192-class-badge.account-coached{background:#edf3ff;color:#275fba;border-color:#d8e5fb}
.v192-class-badge.account-app{background:#f3ecff;color:#7249b8;border-color:#e6d9fb}
.v192-class-badge.coaching-in_person{background:#e9f8f1;color:#147852;border-color:#d0efdf}
.v192-class-badge.coaching-online{background:#e9f5ff;color:#2471b7;border-color:#d3e9fb}
.v192-class-badge.coaching-hybrid{background:#fff3df;color:#a56613;border-color:#f7dfb8}
.v192-class-badge.coaching-unset{background:#fff0f1;color:#a54050;border-color:#f6d9dd}
.v192-profile-classification{margin-top:8px}
.v192-coaching-field.is-disabled{opacity:.55}
.v192-coaching-field small{display:block;margin-top:4px;color:var(--muted,#7b8798);font-size:10px}
#content .toolbar:has(#clientAccountTypeFilter){display:flex;align-items:center;gap:10px;flex-wrap:wrap}
#content .toolbar:has(#clientAccountTypeFilter) #clientSearch{flex:1 1 280px}
#clientAccountTypeFilter,#clientCoachingTypeFilter{min-width:165px}
:root[data-theme="mist-graphite"] .v192-class-badge.account-coached{background:#132849;color:#9fc2ff;border-color:#23406b}
:root[data-theme="mist-graphite"] .v192-class-badge.account-app{background:#2a2140;color:#cfb1ff;border-color:#493968}
:root[data-theme="mist-graphite"] .v192-class-badge.coaching-in_person{background:#123327;color:#8de0bd;border-color:#20533f}
:root[data-theme="mist-graphite"] .v192-class-badge.coaching-online{background:#102d44;color:#93d1ff;border-color:#204760}
:root[data-theme="mist-graphite"] .v192-class-badge.coaching-hybrid{background:#3a2d16;color:#f1ca79;border-color:#5d4821}
:root[data-theme="mist-graphite"] .v192-class-badge.coaching-unset{background:#3b2027;color:#f3abb6;border-color:#61333e}

/* R8: functional global search */
#appView .search-wrap.v192-global-search-wrap{position:relative;overflow:visible;z-index:90}
.v192-global-search-results{display:none;position:absolute;top:calc(100% + 9px);left:0;right:0;max-height:min(520px,68vh);overflow:auto;padding:8px;background:#fff;border:1px solid #e2e8f1;border-radius:15px;box-shadow:0 20px 55px rgba(18,35,65,.18);z-index:300}
.v192-global-search-results.open{display:block}
.v192-global-search-result{width:100%;display:grid;grid-template-columns:74px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 11px;border:0;border-bottom:1px solid #eef2f7;background:transparent;color:#17233a;text-align:left;cursor:pointer;border-radius:9px}
.v192-global-search-result:last-child{border-bottom:0}.v192-global-search-result:hover,.v192-global-search-result:focus{background:#f4f8ff;outline:none}.v192-global-search-result>span:nth-child(2){display:grid;min-width:0}.v192-global-search-result b{font-size:12px}.v192-global-search-result small{font-size:10px;color:#7d8a9e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.v192-global-search-result>i{font-style:normal;font-size:9px;color:#9a2635;font-weight:800}.v192-global-search-kind{font-size:9px;font-weight:800;color:#2f75d7;text-transform:uppercase;letter-spacing:.04em}.v192-global-search-empty{padding:15px 12px;color:#748196;font-size:11px;text-align:center}
:root[data-theme="mist-graphite"] .v192-global-search-results{background:#091425;border-color:#1b2b44;box-shadow:0 25px 60px rgba(0,0,0,.4)}
:root[data-theme="mist-graphite"] .v192-global-search-result{color:#edf3ff;border-bottom-color:#18283e}:root[data-theme="mist-graphite"] .v192-global-search-result:hover,:root[data-theme="mist-graphite"] .v192-global-search-result:focus{background:#102039}:root[data-theme="mist-graphite"] .v192-global-search-result small{color:#8b99ad}
