/* RSA mobile activity views. Kept separate from desktop Backroom. */
.mobile-content{max-width:820px;margin:auto;width:100%;box-sizing:border-box;padding:24px 18px 110px;min-width:0}
.mobile-content *{box-sizing:border-box}.mobile-content h1{font-size:clamp(28px,7vw,38px);line-height:1.14;letter-spacing:-1.1px;margin:6px 0 12px;overflow-wrap:anywhere}.mobile-content h2{font-size:20px;line-height:1.3;margin:0}.mobile-content h3{font-size:17px;line-height:1.3;margin:0;overflow-wrap:anywhere}.mobile-content p{line-height:1.55}.mobile-content .pill,.mobile-content button,.mobile-content summary{min-height:44px}.mobile-content input:not([type=checkbox]),.mobile-content select{font-size:16px;min-height:46px;width:100%;min-width:0}.mobile-content a:focus-visible,.mobile-content button:focus-visible,.mobile-content summary:focus-visible{outline:3px solid #215acb;outline-offset:3px}
.mobile-hero{border-radius:26px;padding:30px 26px;background:radial-gradient(ellipse at 100% 0%,#803135 0%,transparent 58%),#211e21;color:white;position:relative;overflow:hidden}.mobile-hero h1{font-size:clamp(35px,9vw,54px);color:white;margin:14px 0}.mobile-hero p{max-width:330px;color:#eee3e2}.mobile-eyebrow{font-size:11px;font-weight:800;letter-spacing:1.3px;text-transform:uppercase;margin:0;color:#a52e35}.mobile-hero .mobile-eyebrow{color:#ffc3b8}.mobile-hero-count{display:inline-flex;padding:8px 12px;border:1px solid #ffffff36;border-radius:99px;font-size:12px;background:#ffffff0b}
.mobile-fresh{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 0 20px;color:#64636b;font-size:12px}.mobile-fresh .pill{font-size:12px;padding:8px 12px}.mobile-module-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.mobile-module{padding:16px 13px;background:#fff;border:1px solid #e4e1de;border-radius:18px;color:#302d30;display:flex;flex-direction:column;gap:10px;text-decoration:none;min-width:0}.mobile-module>span{font-size:12px;font-weight:750;overflow-wrap:anywhere}.mobile-module b{font-size:32px;font-weight:750;line-height:1.1}.mobile-module small{color:#69636b;display:flex;justify-content:space-between;font-size:10px}.mobile-module.mobile-training{background:#eff5ef}.mobile-module.mobile-courses{background:#f9f1e5}.mobile-module.mobile-competitions{background:#f9eded}.mobile-section-heading{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin:30px 0 14px}.mobile-section-heading>a{font-size:13px;color:#a52e35;white-space:nowrap}.mobile-section-heading>span{font-size:12px;color:#69636b}
.mobile-activity-list{display:grid;gap:12px}.mobile-activity{background:#fff;border:1px solid #e6e3e1;border-radius:18px;padding:17px 14px;display:flex;align-items:center;gap:14px;text-decoration:none;color:#302d30;transition:transform .15s,box-shadow .15s;min-width:0}.mobile-activity:active{transform:scale(.988)}.mobile-activity:hover{box-shadow:0 6px 22px #2c21210b}.mobile-date{flex:0 0 52px;border-right:1px solid #ece7e2;padding-right:12px;text-align:center;align-self:stretch;display:flex;flex-direction:column;justify-content:center}.mobile-date b{font-size:27px;line-height:1.1;font-weight:750}.mobile-date small{font-size:9px;color:#746c70;margin-top:5px;white-space:nowrap}.mobile-activity-body{display:flex;flex-direction:column;gap:6px;min-width:0;flex:1;font-size:12px;color:#6d666a}.mobile-activity-body strong{font-size:16px;color:#302d30;line-height:1.35;overflow-wrap:anywhere}.mobile-activity-body .mobile-eyebrow{font-size:9px;letter-spacing:.7px}.mobile-card-counts{font-size:11px}.mobile-chevron{font-size:26px;color:#92888c;flex-shrink:0}.mobile-footnote{font-size:12px;color:#736a6c;margin:20px 0;line-height:1.55}.mobile-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.mobile-heading p{font-size:13px;color:#766b70}.mobile-back{display:inline-flex;align-items:center;min-height:44px;font-size:13px;color:#995054;margin-bottom:12px}.mobile-filter{display:flex;flex-wrap:wrap;align-items:end;gap:10px;padding:16px;background:#fff;border:1px solid #e7e1df;border-radius:18px;margin:20px 0}.mobile-filter label{flex:1 1 145px;min-width:0;font-size:12px;display:flex;flex-direction:column;gap:6px}.mobile-filter button{padding:10px 16px;border-radius:10px}.mobile-tabs{display:flex;gap:8px;overflow:auto;padding:4px 0 10px;scrollbar-width:thin}.mobile-tabs a{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;border:1px solid #e3dedb;border-radius:99px;padding:10px 14px;background:#fff;color:#665b60;text-decoration:none;font-size:12px;min-height:44px}.mobile-tabs [aria-current=page]{background:#30262a;border-color:#30262a;color:#fff}.mobile-tabs span{opacity:.7;font-size:10px}.mobile-list-summary{font-size:12px;color:#776c70}.mobile-empty{padding:28px 20px;background:white;border:1px dashed #dcd3ce;border-radius:18px;text-align:center;color:#776c70}.mobile-empty h2{color:#3a3136}.mobile-pagination{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:24px 0;font-size:12px}
.mobile-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0 24px}.mobile-stats>span{background:#fff;border:1px solid #e5dfdd;border-radius:16px;padding:16px 10px;display:flex;flex-direction:column;gap:5px;font-size:11px;color:#776c70;text-align:center}.mobile-stats b{font-size:24px;color:#30262a}.mobile-info,.mobile-contact{border-top:1px solid #eee7e3;margin:16px 0 0}.mobile-info summary,.mobile-contact summary{display:list-item;padding:13px 2px;cursor:pointer;font-size:13px;font-weight:650}.mobile-contact p{overflow-wrap:anywhere;font-size:13px;margin:8px 0}.mobile-search{display:flex;flex-direction:column;font-size:12px;gap:7px;margin:20px 0 0}.mobile-person{border:1px solid #e4dedb;background:#fff;border-radius:17px;padding:17px;margin:12px 0}.mobile-person[hidden]{display:none}.mobile-person-top{display:flex;align-items:start;justify-content:space-between;gap:10px}.mobile-person>p{font-size:13px;color:#72686d;margin:7px 0 14px}.mobile-badge{font-size:10px;white-space:nowrap;padding:5px 8px;background:#edf3ed;color:#37593c;border-radius:99px}.mobile-badge.waiting{background:#fff2d8;color:#825c16}.mobile-facts{margin:12px 0 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 18px}.mobile-facts div{min-width:0}.mobile-facts dt{font-size:10px;color:#83767b;margin-bottom:4px}.mobile-facts dd{font-size:13px;margin:0;overflow-wrap:anywhere;color:#3e3339}.mobile-group{margin:24px 0;padding-top:20px;border-top:1px solid #ddd4cf}.mobile-group>p{font-size:13px;margin:7px 0}.mobile-info p{overflow-wrap:anywhere}
@media(max-width:380px){.mobile-content{padding:18px 12px 110px}.mobile-module{padding:14px 9px}.mobile-module>span{font-size:11px}.mobile-activity{gap:10px;padding:14px 11px}.mobile-hero{padding:24px 20px}.mobile-stats b{font-size:21px}}
@media(max-width:700px){.mobile-content .grid{grid-template-columns:minmax(0,1fr)!important}.mobile-content .group-grid{display:flex;flex-direction:column;align-items:stretch}}
@media(prefers-reduced-motion:reduce){.mobile-activity{transition:none}.mobile-activity:active{transform:none}}
/* Existing training editor: stacked fields and labelled booking cards on phones. */
@media(max-width:700px){body:has(#sessionForm) .grid.two{grid-template-columns:minmax(0,1fr)!important}body:has(#sessionForm) .group-grid{display:flex;flex-direction:column;align-items:stretch}body:has(#sessionForm) .table{display:block;width:100%}body:has(#sessionForm) .table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}body:has(#sessionForm) .table tbody{display:block}body:has(#sessionForm) .table tr{display:block;border:1px solid #e3dedb;border-radius:14px;padding:10px;margin:12px 0;background:#fff}body:has(#sessionForm) .table td{display:flex!important;align-items:center;justify-content:space-between;gap:10px;white-space:normal!important;overflow-wrap:anywhere;text-align:left!important;border:0!important}body:has(#sessionForm) .table td[data-mobile-label]:before{content:attr(data-mobile-label);font-size:11px;color:#786d73;flex-shrink:0}body:has(#sessionForm) input:not([type=checkbox]),body:has(#sessionForm) textarea{font-size:16px;max-width:100%;box-sizing:border-box}}

/* Workspace 19: fast, quiet and made for short sessions on a phone. */
body{background:#f5f5f2;font-family:system-ui,-apple-system,"Segoe UI",sans-serif}body::before{display:none}
.mobile-hero{background:#2c3d32;border-radius:14px;padding:23px}.mobile-hero h1{font-size:32px;letter-spacing:-1px;margin:10px 0}.mobile-hero p{font-size:13px;margin-bottom:0}.mobile-hero .mobile-eyebrow{color:#c2d2bc}
.mobile-content{max-width:760px}.mobile-content h1{font-weight:650}.mobile-module{border-radius:10px;padding:16px 12px;box-shadow:none}.mobile-module span{font-size:13px}.mobile-module small{margin-top:10px}
.mobile-activity{border-radius:10px;box-shadow:none;background:white}.mobile-date{background:#f5f6ef;border:1px solid #e7e9df;border-radius:8px;color:#495841}.mobile-date b{font-weight:600}.mobile-date small{font-size:9px}.mobile-activity-body strong{font-weight:650;font-size:16px}.mobile-eyebrow{font-size:9px;letter-spacing:1px}.mobile-person{border-radius:10px;box-shadow:none}.mobile-person h3{font-size:16px;font-weight:650}.mobile-content .pill{border-radius:8px}.mobile-group{border-radius:12px;box-shadow:none}.mobile-content .mobile-info{border-radius:10px}
.mobile-person .mobile-facts{display:grid;grid-template-columns:1fr 1fr;gap:8px}.mobile-person .mobile-facts>div{display:block}.mobile-person .mobile-facts dt{font-size:10px}.mobile-person .mobile-facts dd{font-size:12px;margin-top:2px}.mobile-contact{font-size:12px}.mobile-tabs{scrollbar-width:thin}.mobile-stats{border-radius:10px}.mobile-fresh{font-size:10px;margin:12px 0}.mobile-content .mobile-fresh button{min-height:36px;font-size:11px}.mobile-person .pill{font-size:12px}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}

body[data-system="rsa"] .app{background:#f5f5f2!important}
.rsa-compact-topbar.topbar{height:calc(64px + env(safe-area-inset-top));min-height:64px;max-height:none;display:flex!important;flex-direction:row!important;align-items:center;justify-content:space-between;padding:env(safe-area-inset-top) 18px 0!important;background:#fff!important;backdrop-filter:none!important;border:0;border-bottom:1px solid #e6e9df!important;gap:16px;box-shadow:none!important}
.rsa-compact-topbar .brand-logo-img{width:155px!important;height:36px!important;object-fit:contain;filter:none!important}
.rsa-profile-button{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#edf1e9;color:#4a5b42;border:1px solid #e0e5d9;text-decoration:none;font-size:11px;font-weight:650}
.bottom-nav{background:#fff!important;border:1px solid #e4e8de!important;border-radius:15px!important;box-shadow:0 4px 18px #1c2b1f0a!important;backdrop-filter:none!important;padding:6px 8px calc(6px + env(safe-area-inset-bottom))!important;gap:2px!important}
.bottom-nav a{border-radius:9px!important;box-shadow:none!important;background:none!important;color:#77836e!important;min-height:52px!important;padding:6px 3px!important;gap:5px!important;transform:none!important}
.bottom-nav a svg{width:20px;height:20px}.bottom-nav a span{font-size:9px!important}.bottom-nav a.active{background:#edf2e9!important;color:#3c5534!important}.bottom-nav a::before,.bottom-nav a::after{display:none!important}
