/* Performance composition. Real module content, no mock indicators. */
:root{--bf-bg:#101510;--bf-surface:#1a2419;--bf-edge:#3a4c32;--bf-text:#eef3e8;--bf-muted:#a7b69b}
body{background:radial-gradient(ellipse at 70% 0,#394a2530,transparent 50%),#101510!important}
body>.box{background:linear-gradient(150deg,#1b2418,#101710 75%)!important;border-color:#6e84552b!important;max-width:1480px!important;padding:26px!important;border-radius:18px!important;box-shadow:0 30px 80px #0005,inset 0 1px 0 #def3bc12}
body>.box>h1{height:70px!important;margin-bottom:20px!important;background-size:170px auto!important;border-color:#6e845528!important}
body>.box>h1:after{padding-top:27px!important;font-size:9px!important;letter-spacing:3px!important}
body #panel #account-section-title{font-size:24px!important;font-weight:700!important;letter-spacing:-.6px!important;padding-top:4px!important;margin-bottom:18px!important}
body #panel #access-role{margin-bottom:18px!important;background:#8aa95b15!important;border:1px solid #8aa95b22!important;color:#a7bb91!important}
body #panel .befit-section-toolbar{padding:0 0 16px!important;border-bottom:1px solid #79965a28!important;margin:0 0 20px!important;align-items:center!important}
body #panel .befit-section-toolbar h2{font-size:18px!important;font-weight:600!important;letter-spacing:-.4px!important}
body #panel #shared-list,body #panel #shared-trainer-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(255px,1fr));gap:22px;align-items:stretch;margin:24px 0}
body #panel .befit-person-card{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:0!important;position:relative;overflow:hidden;padding:0!important;border:1px solid #71895035!important;border-radius:18px!important;background:linear-gradient(135deg,#2b3b24,#182419 65%)!important;box-shadow:0 16px 30px #0004,inset 0 1px 0 #e0f7be12;transition:translate .25s ease,box-shadow .25s ease;min-width:0}
body #panel .befit-person-card:hover{translate:0 -3px;box-shadow:0 22px 40px #0006,inset 0 1px 0 #e0f7be22}
body #panel .befit-person-card .befit-person-portrait{position:relative;flex:0 0 auto!important;min-width:0!important;height:132px;background:radial-gradient(ellipse at 50% 100%,#c4df7835,transparent 70%),linear-gradient(150deg,#3b4b2c,#1c291b)!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:23px!important;display:flex!important;justify-content:flex-start;align-items:center;overflow:hidden}
body #panel .befit-person-card .befit-person-portrait:after{content:'';position:absolute;width:150px;height:150px;border:1px solid #bbd68c16;border-radius:50%;right:-32px;top:-42px;box-shadow:0 0 0 22px #c3de8e04,0 0 0 44px #c3de8e03;pointer-events:none}
body #panel .befit-person-card .befit-person-portrait img.student-profile-preview{width:88px!important;height:88px!important;min-width:88px!important;margin:0!important;object-fit:cover!important;border-radius:17px!important;border:2px solid #d9edb74d;box-shadow:0 12px 24px #0005;position:relative;z-index:1}
.befit-person-initials{display:grid;place-items:center;width:86px;height:86px;border-radius:17px;border:1px solid #a9c77b33;background:linear-gradient(145deg,#667c40,#2d401f);box-shadow:0 12px 24px #0004,inset 0 1px 0 #d7eeb22c;color:#ecf5dc;font-size:26px;font-weight:600;letter-spacing:-1px}
body #panel .befit-person-card .befit-person-info{display:block!important;min-width:0!important;flex:1 1 auto!important;background:none!important;border:0!important;border-radius:0!important;padding:22px 23px 17px!important;box-shadow:none!important}
body #panel .befit-person-card .befit-person-info strong{display:block;font-size:20px!important;line-height:1.25;letter-spacing:-.6px!important;color:#f0f4e9!important}
body #panel .befit-person-card .befit-person-info small{font-size:11px!important;line-height:1.8!important;color:#afc29a!important;margin-top:8px!important;white-space:normal}
body #panel .befit-person-card .finance-badge{display:inline-block!important;padding:4px 8px!important;font-size:10px!important;background:#a8ce6415!important;border:1px solid #a8ce6422!important;margin-top:13px!important;border-radius:5px!important}
body #panel .befit-person-card .befit-person-actions{flex:0 0 auto!important;min-width:0!important;display:flex!important;gap:8px!important;align-items:center;justify-content:flex-end;padding:14px 20px!important;border:0!important;border-top:1px solid #8ba86b20!important;border-radius:0!important;box-shadow:none!important;background:#0b140c33!important}
body #panel .befit-person-actions button.befit-icon-action{background:linear-gradient(145deg,#354a29,#203119)!important;border:1px solid #7e9b5144!important;color:#d8ebc0!important;box-shadow:0 4px 9px #0002,inset 0 1px 0 #e0f3bd0f!important;width:39px!important;height:39px!important;min-height:39px!important;min-width:39px!important;flex-basis:39px!important;border-radius:10px!important}
body #panel .befit-person-actions button.befit-icon-action:first-child{background:linear-gradient(150deg,#d0eb84,#abc957)!important;color:#26381b!important;border-color:#d6e9a333!important}
body #panel .befit-person-actions svg{width:18px!important;height:18px!important}
body #panel .training-card{background:linear-gradient(145deg,#25321f,#172317)!important;border:1px solid #7b965033!important;border-radius:16px!important;box-shadow:0 14px 30px #0003,inset 0 1px 0 #e3f4c211!important}
body #panel .shared-expense-stats>div{background:linear-gradient(145deg,#2a3a22,#192518)!important;border-color:#7b965033!important;box-shadow:0 12px 22px #0003!important;border-radius:14px!important}
body #panel .shared-expense-stats strong{color:#deefbc!important}
body #panel .training-exercise{align-items:center!important;gap:20px!important}
body #panel .training-thumb{border-radius:13px!important;width:90px!important;height:90px!important;flex-basis:90px!important;box-shadow:0 12px 22px #0004!important}
body #panel .training-top{padding:15px 18px!important;background:#0c170d38;border:1px solid #7a95532b;border-radius:12px;justify-content:flex-start;max-width:100%}
body #panel #shared-training:before{border-radius:13px!important;box-shadow:0 18px 34px #0004,inset 0 1px 0 #e5fac61c!important}
body #panel input,body #panel select,body #panel textarea{border-color:#73904d55!important;background:#101d0e!important}
body #panel .shared-toolbar:has(#shared-search){padding:16px!important;background:#1a2814;border:1px solid #698b3c30;border-radius:12px;align-items:flex-end!important;gap:12px!important}
body #panel .active-count{font-size:12px!important;padding:8px 12px!important;min-height:0!important}
@media(min-width:1000px){body.befit-sidebar-layout #account-navigation{width:190px;background:linear-gradient(90deg,#2a3a1e22,transparent);padding-right:16px!important}body.befit-sidebar-layout #account-navigation button{font-size:12px!important;margin:3px 0!important;min-height:40px!important;padding:10px 13px!important}body.befit-sidebar-layout #panel{padding-left:220px}}
@media(max-width:700px){body>.box{padding:16px!important;border-radius:12px!important}body #panel #shared-list,body #panel #shared-trainer-list{grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px}body #panel .befit-person-card .befit-person-portrait{height:115px;padding:18px!important}body #panel .befit-person-card .befit-person-info{padding:18px!important}body #panel .befit-person-card .befit-person-info strong{font-size:19px!important}body #panel .training-exercise{gap:12px!important}body #panel .training-thumb{width:70px!important;height:70px!important;flex-basis:70px!important}}
@media(prefers-reduced-motion:reduce){body #panel .befit-person-card{transition:none!important}body #panel .befit-person-card:hover{translate:none}}
/* Compact person identity: portrait and details share one row. */
body #panel .befit-person-card{display:grid!important;grid-template-columns:76px minmax(0,1fr)!important;align-content:start!important}
body #panel .befit-person-card .befit-person-portrait{height:auto!important;min-height:100px!important;padding:16px 0 16px 16px!important;background:none!important;align-items:flex-start!important}
body #panel .befit-person-card .befit-person-portrait:after{display:none}
body #panel .befit-person-card .befit-person-portrait img.student-profile-preview,body #panel .befit-person-card .befit-person-initials{width:56px!important;height:56px!important;min-width:56px!important;border-radius:13px!important;font-size:20px!important}
body #panel .befit-person-card .befit-person-info{padding:18px 16px 12px 12px!important;align-self:center!important}
body #panel .befit-person-card .befit-person-info strong{font-size:17px!important;margin:0 0 6px!important;line-height:1.25!important}
body #panel .befit-person-card .befit-person-info small{display:inline!important;font-size:11px!important;line-height:1.6!important;margin:0!important;overflow-wrap:anywhere}
body #panel .befit-person-card .befit-person-info small+small:before{content:' · ';color:#81966e}
body #panel .befit-person-card .befit-person-info .finance-badge{display:inline!important;padding:0!important;border:0!important;background:none!important;margin:0!important;color:#c8df9f!important}
body #panel .befit-person-card .befit-person-actions{grid-column:1/-1;padding:9px 14px!important;gap:7px!important}
.befit-sidebar-layout #account-navigation .befit-nav-heading{display:block;flex:0 0 100%;padding:16px 13px 6px;color:#819870;font-size:10px;font-weight:700;letter-spacing:1.3px;text-transform:uppercase}
.befit-sidebar-layout #account-navigation .befit-nav-heading:first-child{padding-top:3px}
/* Section labels must not consume a full column height. */
.befit-sidebar-layout #account-navigation .befit-nav-heading{flex:0 0 auto!important;width:100%;line-height:1.3;min-height:0;margin:0}
@media(max-width:1099px){.befit-sidebar-layout #account-navigation .befit-nav-heading{flex-basis:100%!important}}
body #panel .shared-toolbar.befit-search-bar{background:transparent!important;border:0!important;padding:0!important;gap:12px!important;align-items:center!important}
body #panel .befit-search-field{position:relative;flex:1 1 320px!important;font-size:0!important;gap:0!important;min-width:220px!important}
body #panel .befit-search-field:before{content:'';position:absolute;left:19px;top:18px;width:12px;height:12px;border:2px solid #bcd68e;border-radius:50%;pointer-events:none}
body #panel .befit-search-field:after{content:'';position:absolute;left:31px;top:31px;width:7px;height:2px;background:#bcd68e;rotate:45deg;pointer-events:none}
body #panel .befit-search-field input{font-size:14px!important;height:52px!important;padding:12px 18px 12px 48px!important;border-radius:16px!important;background:linear-gradient(135deg,#273820,#142014)!important;box-shadow:inset 0 1px 0 #d9f0b519,0 8px 20px #0002;transition:border-color .2s,box-shadow .2s}
body #panel .befit-search-field input:focus{border-color:#b7d76e!important;box-shadow:0 0 0 3px #b7d76e18,0 8px 24px #0003;outline:none}
body #panel .befit-filter-label{flex:0 1 auto!important;font-size:0!important;gap:0!important;min-width:0!important}
body #panel .befit-chip-native{display:none!important}
.befit-filter-chips{display:flex;flex-wrap:wrap;gap:3px;padding:4px;background:#0e190f77;border:1px solid #8fa66d26;border-radius:13px}
body #panel .befit-filter-chips button{min-height:34px!important;padding:8px 11px!important;font-size:11px!important;border-radius:9px!important;border:0!important;background:transparent!important;color:#aebd9e!important;box-shadow:none!important;flex:0 0 auto!important;transition:background .18s,color .18s}
body #panel .befit-filter-chips button[aria-pressed=true]{background:linear-gradient(135deg,#cce683,#aac965)!important;color:#23311b!important;box-shadow:0 3px 8px #0003!important}
body #panel .befit-person-actions .befit-assigned-pt{display:grid;place-items:center;flex:0 0 39px;width:39px;height:39px;margin-right:auto;border-radius:10px;overflow:hidden;border:1px solid #91ab5e44;background:linear-gradient(145deg,#435833,#273920);color:#c9dda8;font-size:11px;font-weight:700;box-shadow:0 4px 9px #0002}
body #panel .befit-assigned-pt img{display:block;width:100%;height:100%;object-fit:cover}
body #panel.befit-people-view>#account-section-title,body #panel.befit-people-view>#access-role{display:none!important}
body #panel .befit-people-header{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;padding:0 0 16px!important;margin:0 0 18px!important}
body #panel .befit-people-header>h2[hidden]{display:none!important}
.befit-people-heading{display:flex;align-items:center;gap:12px;min-width:0}
.befit-people-title{font-size:24px;font-weight:700;letter-spacing:-.6px;color:#eef3e8}
.befit-people-role{font-size:10px;padding:5px 8px;border:1px solid #8aa95b22;border-radius:6px;color:#a7bb91;white-space:nowrap}
body #panel .befit-people-header>button{margin:0!important;min-height:42px!important;padding:10px 15px!important;font-size:12px!important;flex:0 0 auto!important}
@media(max-width:480px){.befit-people-heading{gap:7px}.befit-people-title{font-size:20px}.befit-people-role{font-size:9px;padding:4px}.befit-people-header{gap:8px!important}body #panel .befit-people-header>button{padding:9px!important;font-size:11px!important}}
/* Shared compact section header for administrator, PT and student views. */
body #panel .befit-people-header>h3[hidden]{display:none!important}
body #panel .befit-people-header>.training-actions{display:flex!important;gap:8px!important;align-items:center!important;margin:0!important;margin-left:auto!important;flex-wrap:wrap}
body #panel .befit-people-header>.befit-people-heading{margin-right:auto;flex:1 1 auto;box-shadow:none!important;border:0!important;background:none!important;padding:0!important}
body #panel .befit-people-header>.training-actions>button{min-height:40px!important;padding:9px 13px!important;font-size:12px!important;margin:0!important}
body #panel .befit-people-header{flex-wrap:wrap!important}
body #panel .befit-people-header>hr{display:none}
body #panel .befit-people-role[hidden]{display:none}
body #panel .shared-toolbar{column-gap:12px!important;row-gap:10px!important}
body #panel .shared-form-grid{gap:12px 16px!important}
body #panel .training-actions{gap:8px!important}
@media(max-width:600px){body #panel .befit-people-header>.training-actions{gap:6px!important}body #panel .befit-people-header>.training-actions>button{font-size:11px!important;padding:8px 10px!important;min-height:38px!important}.befit-people-title{font-size:21px}}
/* Unified search and selection surfaces throughout authenticated pages. */
body #panel .befit-picker{width:100%;max-width:360px}
body #panel .befit-picker-trigger{min-height:48px!important;padding:12px 16px!important;border-radius:14px!important;background:linear-gradient(135deg,#273820,#142014)!important;border-color:#91ad6144!important;box-shadow:inset 0 1px 0 #d9f0b519,0 6px 16px #0002!important;transition:border-color .18s,box-shadow .18s}
body #panel .befit-picker-trigger:hover,body #panel .befit-picker-trigger:focus-visible{border-color:#b7d76e!important;box-shadow:0 0 0 3px #b7d76e18,0 8px 24px #0003!important;outline:none}
body #panel .befit-picker.open .befit-picker-trigger{border-color:#b7d76e!important}
body #panel .befit-picker-panel{background:linear-gradient(145deg,#26351f,#172316);border-color:#8eaa5b66;border-radius:16px;padding:10px;box-shadow:0 20px 45px #0007,inset 0 1px 0 #e2f5c018}
body #panel .befit-picker-search{min-height:44px!important;border-radius:11px!important;padding-left:38px!important;background:#101c10 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%23bcd68e' stroke-width='1.8'%3E%3Ccircle cx='7.5' cy='7.5' r='5'/%3E%3Cpath d='m11 11 5 5'/%3E%3C/svg%3E") no-repeat 13px center!important}
body #panel .befit-picker-option{border-radius:10px!important;min-height:42px!important}
body #panel .befit-picker-option[aria-selected=true]:after{content:'✓';color:#c9e585}
body #panel select:not(.befit-native-backed):not(.befit-chip-native){min-height:48px!important;border-radius:14px!important;padding:11px 15px!important;background-color:#182617!important;border-color:#91ad6144!important;box-shadow:inset 0 1px 0 #d9f0b519,0 5px 15px #0002!important}
body #panel .befit-search-field[hidden],body #panel .befit-filter-label[hidden]{display:none!important}
@media(prefers-reduced-motion:reduce){body #panel .befit-picker-trigger,body #panel .befit-search-field input{transition:none!important}}
/* Portraits share the size and rhythm of the compact controls. */
.befit-person-avatar{display:inline-grid;place-items:center;flex:0 0 32px;width:32px;height:32px;vertical-align:middle;overflow:hidden;border-radius:9px;background:linear-gradient(145deg,#4c6336,#273a22);border:1px solid #a8c17d44;color:#e1edcf;font-size:10px;font-weight:600;line-height:1}
.befit-person-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.befit-photo-identity{display:inline-flex!important;align-items:center;gap:9px}
body #panel .befit-picker-trigger>span:first-child{display:flex;align-items:center;gap:10px;min-width:0}
body #panel .befit-picker-option{justify-content:flex-start;gap:10px}
body #panel .befit-picker-option[aria-selected=true]:after{margin-left:auto}
body #panel .befit-person-actions .befit-assigned-pt{width:auto;max-width:150px;flex:0 1 auto;min-width:39px;overflow:visible;background:transparent;border:0;box-shadow:none;display:flex;gap:4px}
body #panel .befit-assigned-pt>.befit-person-avatar{width:39px;height:39px;flex:0 0 39px;border-radius:10px}
/* One consistent page signature alongside the official logo. */
.befit-brand-page{display:none}
body.befit-brand-page-active>.box>h1{display:flex!important;align-items:center;min-height:88px!important;height:88px!important;margin-bottom:20px!important;background-position:left center!important;background-size:170px auto!important;overflow:visible}
body.befit-brand-page-active>.box>h1:after{display:none!important}
.befit-brand-page-active .befit-brand-page{position:relative;display:flex;flex-direction:column;justify-content:center;gap:5px;min-width:0;margin-left:204px;padding:6px 0 6px 27px;border-left:1px solid #a0ba6533;text-align:left}
.befit-brand-page-active .befit-brand-page:before{content:'';position:absolute;left:-2px;top:17px;width:3px;height:32px;background:linear-gradient(#dcf391,#91b447);transform:skewY(-22deg);box-shadow:0 0 18px #c2e66b33}
.befit-brand-caption{font:600 9px/1.2 Arial,sans-serif;letter-spacing:2.2px;text-transform:uppercase;color:#a7bc8d}
.befit-brand-title{font:600 30px/1.2 "Segoe UI",Arial,sans-serif;letter-spacing:-.65px;color:#edf4e5;text-wrap:balance;overflow-wrap:anywhere;text-shadow:0 3px 12px #0003}
body.befit-brand-page-active #panel>#account-section-title,body.befit-brand-page-active #panel>#access-role{display:none!important}
body.befit-brand-page-active #panel .befit-people-header>.befit-people-heading{display:none!important}
body.befit-brand-page-active #panel .befit-people-header{justify-content:flex-end!important;padding:0 0 12px!important;margin:0 0 14px!important;border-bottom:1px solid #79965a20!important}
body.befit-brand-page-active #panel .befit-people-header:not(:has(button)){display:none!important}
@media(max-width:700px){body.befit-brand-page-active>.box>h1{background-size:130px auto!important;min-height:78px!important;height:auto!important;padding:12px 0!important}.befit-brand-page-active .befit-brand-page{margin-left:145px;padding-left:17px}.befit-brand-title{font-size:24px;letter-spacing:-.6px}.befit-brand-caption{font-size:8px;letter-spacing:1.4px}}
@media(max-width:420px){body.befit-brand-page-active>.box>h1{background-size:105px auto!important}.befit-brand-page-active .befit-brand-page{margin-left:115px;padding-left:13px}.befit-brand-title{font-size:21px}.befit-brand-caption{letter-spacing:1px}}
/* Page actions remain wired to their original module controls. */
.befit-brand-actions{display:none}
.befit-brand-page-active .befit-brand-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:9px;margin-left:auto;padding-left:24px;font-size:12px;font-weight:400;letter-spacing:0}
body.befit-brand-page-active>.box>h1{gap:0}
body .befit-brand-actions>button{width:auto!important;min-height:42px!important;padding:10px 15px!important;margin:0!important;font-size:12px!important;white-space:nowrap}
body.befit-brand-page-active #panel .befit-actions-in-brand{display:none!important}
@media(max-width:900px){.befit-brand-page-active .befit-brand-page{margin-left:175px;padding-left:20px}.befit-brand-title{font-size:26px}.befit-brand-page-active .befit-brand-actions{padding-left:14px;gap:7px}body .befit-brand-actions>button{padding:9px 11px!important;font-size:11px!important}}
@media(max-width:700px){body.befit-brand-page-active>.box>h1{flex-wrap:wrap;row-gap:14px!important}.befit-brand-page-active .befit-brand-page{margin-left:145px}.befit-brand-page-active .befit-brand-actions{flex:1 1 100%;padding-left:0;margin-left:0;padding-bottom:3px}body.befit-brand-page-active>.box>h1:has(.befit-brand-actions>button){background-position:left 10px!important}}
@media(max-width:420px){.befit-brand-page-active .befit-brand-page{margin-left:115px;padding-left:13px}.befit-brand-title{font-size:21px}}
/* Measured flex-gap fallback: Safari/iPadOS before flex spacing support. */
body.befit-no-flex-gap #panel .training-heading>*{margin-right:12px!important}
body.befit-no-flex-gap #panel .training-heading>*:last-child{margin-right:0!important}
body.befit-no-flex-gap #panel .training-actions>*,body.befit-no-flex-gap #panel .training-tabs>*{margin-right:8px!important;margin-bottom:8px!important}
body.befit-no-flex-gap #panel .shared-toolbar>*{margin-right:12px!important;margin-bottom:10px!important}
body.befit-no-flex-gap #panel .training-top>*{margin-right:16px!important;margin-bottom:10px!important}
body.befit-no-flex-gap #panel .training-exercise>.training-thumb{margin-right:16px!important}
body.befit-no-flex-gap .befit-photo-identity>.befit-person-avatar,body.befit-no-flex-gap .befit-picker-trigger>span:first-child>.befit-person-avatar,body.befit-no-flex-gap .befit-picker-option>.befit-person-avatar{margin-right:10px!important}
body.befit-no-flex-gap .befit-brand-actions>button+button{margin-left:9px!important}
body.befit-no-flex-gap .befit-brand-caption{margin-bottom:5px}
body.befit-no-flex-gap #panel .befit-person-actions>button+button{margin-left:8px!important}
body.befit-no-flex-gap #panel .befit-person-actions>.befit-assigned-pt>span+span{margin-left:4px!important}
body.befit-no-flex-gap #panel .befit-filter-chips>button+button{margin-left:3px!important}
body.befit-no-flex-gap .befit-picker-trigger>span:last-child{margin-left:12px}
@media(max-width:700px){body.befit-no-flex-gap .befit-brand-actions{margin-top:14px}body.befit-no-flex-gap #panel .training-heading>*{margin-bottom:8px!important}body.befit-no-flex-gap #panel .training-exercise>.training-thumb{margin-right:12px!important}}
/* Direct payment entry: client and service month first. */
body .befit-brand-actions>button.finance-refresh-button,body #panel button.finance-refresh-button{width:42px!important;min-width:42px!important;padding:8px!important;font-size:20px!important;line-height:1!important}
.finance-payment-start{max-width:760px}
.finance-payment-start .shared-form-grid{grid-template-columns:minmax(200px,1.5fr) minmax(170px,1fr)}
.finance-payment-notice{font-size:12px;line-height:1.65;padding:13px 15px;background:#a1c66410;border:1px solid #91af5e30;border-radius:10px;color:#bdcfaa}
#finance-payment-options{margin:14px 0}
#finance-payment-options label{margin:12px 0}
#finance-payment-status{font-size:12px;color:#e8c48b}
@media(max-width:600px){.finance-payment-start .shared-form-grid{grid-template-columns:1fr}}

/* Keep expense text clear of the card edges and separate neighbouring records. */
#shared-expenses .shared-expense-card{padding:20px 22px;margin:12px 0;align-items:flex-start;line-height:1.55;min-width:0}
#shared-expenses .shared-expense-card>div:first-child{flex:1;min-width:0;overflow-wrap:anywhere}
#shared-expenses .shared-expense-card small{margin-top:7px;line-height:1.5}
#shared-expenses .shared-expense-card .finance-badge{margin-top:10px}
#shared-expenses .shared-expense-card .training-note{margin:12px 0 0;line-height:1.6}
#shared-expenses .shared-expense-card>p{flex:0 1 32%;min-width:0;max-width:100%;margin:0;padding-top:2px;line-height:1.6;overflow-wrap:anywhere}
#shared-expenses .shared-expense-card .training-actions{flex-shrink:0}
@media(max-width:700px){
 #shared-expenses .shared-expense-card{padding:16px;margin:12px 0}
 #shared-expenses .shared-expense-card>div:first-child{flex-basis:100%}
 #shared-expenses .shared-expense-card>p{flex-basis:100%;padding-top:12px;border-top:1px solid #71835433}
}

/* Frame the equipment, then keep student identity and search on one desktop row. */
body #panel #shared-training:before{background-image:linear-gradient(90deg,#081207a6,#10230922),url('befit-espaco.jpeg');background-position:center 39%!important;min-height:240px;height:clamp(240px,20vw,300px);box-sizing:border-box}
body #panel #shared-training .training-top{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(240px,360px);align-items:center;gap:16px 24px}
#training-identity{min-width:0}
body #panel #training-identity .training-heading{margin:0!important;display:flex;flex-direction:row;align-items:center;flex-wrap:wrap;gap:10px 12px}
#training-identity .training-heading>span:last-child:not(.finance-badge){display:none}
body #panel #shared-training .training-top>label{width:100%;min-width:0;max-width:none;margin:0!important}
#shared-training #training-active{grid-column:1/-1;min-width:0}
#shared-training #training-active:empty{display:none}
body #panel #shared-training .training-top-self{grid-template-columns:minmax(0,1fr)}
body.befit-no-flex-gap #panel #shared-training .training-top>*{margin-right:0!important;margin-bottom:0!important}
@media(max-width:850px){body #panel #shared-training .training-top{grid-template-columns:minmax(0,1fr)}body #panel #shared-training .training-top>label{justify-self:stretch}}
@media(max-width:600px){body #panel #shared-training:before{height:200px;min-height:200px;background-position:center 33%!important}}

#shared-active-count.befit-count-in-brand{display:none!important}
.befit-brand-actions .befit-brand-count{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;margin:0!important;padding:9px 12px!important;font-size:12px!important;line-height:1.25;min-height:40px}
.befit-brand-actions .befit-brand-count strong{font-size:20px}
#shared-training details.training-history{margin-top:12px;border-top:1px solid #71835433}
#shared-training details.training-history>summary{padding:14px 0;font-size:19px;font-weight:600;line-height:1.4;cursor:pointer;list-style-position:inside;color:#e6efd9}
#shared-training details.training-history[open]>summary{margin-bottom:8px}
#training-identity .befit-person-avatar{width:72px!important;height:72px!important;flex:0 0 72px!important;border-radius:16px!important;font-size:23px!important}
#training-identity .befit-person-avatar img{width:100%!important;height:100%!important;object-fit:cover;border-radius:inherit}
#training-identity .befit-photo-identity{gap:14px!important}
@media(max-width:600px){#training-identity .befit-person-avatar{width:60px!important;height:60px!important;flex-basis:60px!important;border-radius:14px!important;font-size:20px!important}}

/* Duas análises independentes na avaliação em ecrãs de PC. */
#assessment-graph .assessment-analysis-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:20px}
#assessment-graph .assessment-analysis-panel{min-width:0}
#assessment-graph .assessment-analysis-panel>label{display:block;margin-bottom:14px}
#assessment-graph .assessment-analysis-panel .assessment-trend-card{padding:18px}
#assessment-graph .assessment-analysis-panel>details{margin-top:14px}
@media(min-width:1100px){#assessment-graph .assessment-analysis-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

body>.box>h1 .befit-header-pt-photo{display:inline-flex;width:64px;height:64px;flex:0 0 64px;align-items:center;justify-content:center;border-radius:18px;overflow:hidden;margin:0 16px 0 24px;box-shadow:0 8px 24px #0005;border:1px solid #b6d47a55;background:#283a22;font-size:22px}
body>.box>h1 .befit-header-pt-photo img{width:100%;height:100%;object-fit:cover}
@media(max-width:600px){body>.box>h1 .befit-header-pt-photo{width:46px;height:46px;flex-basis:46px;margin:0 8px;border-radius:13px}}
body.befit-brand-page-active>.box>h1.befit-has-pt-photo .befit-header-pt-photo{margin-left:204px}
body.befit-brand-page-active>.box>h1.befit-has-pt-photo .befit-brand-page{margin-left:0}
@media(max-width:700px){body.befit-brand-page-active>.box>h1.befit-has-pt-photo .befit-header-pt-photo{margin-left:145px}}
/* Estados das tabelas de avaliação: contraste explícito no tema escuro. */
#panel .assessment-scroll .assessment-state{display:inline-flex;align-items:center;min-width:0;max-width:100%;padding:8px 11px;border:1px solid #718365;border-radius:9px;background:#263323;color:#e8efdf;font-size:14px;line-height:1.4;white-space:normal;font-weight:500}
#panel .assessment-scroll .assessment-state.within{background:#293e20;color:#d9f4b4;border-color:#789d49}
#panel .assessment-scroll .assessment-state.outside{background:#49331c;color:#ffe0b2;border-color:#ab7a3a}

.befit-client-in-header{display:none!important}
body.befit-brand-page-active>.box>h1{height:auto!important;min-height:100px!important;flex-wrap:wrap;gap:12px}
.befit-header-client{display:flex;flex-direction:column;gap:5px;margin:0 0 0 auto;min-width:230px;width:clamp(230px,22vw,360px);font:400 12px/1.3 'Segoe UI',Arial,sans-serif;letter-spacing:0;color:#b9cba7;text-align:left}
.befit-header-client[hidden]{display:none!important}
.befit-header-client .befit-picker{width:100%}
.befit-header-client .befit-picker-trigger{min-height:48px!important;margin:0!important}
.befit-header-client .befit-picker-panel{z-index:1200}
body>.box>h1 .befit-brand-actions{margin-left:0;flex-wrap:wrap}
#panel .befit-assessment-new-source,#panel .befit-assessment-selector-row{display:none!important}
#panel .assessment-client{justify-content:flex-start;flex-wrap:wrap;gap:14px;margin-top:0}
#panel .assessment-client>strong{margin-right:auto}
#panel .assessment-client .finance-badge{margin-right:4px}
@media(max-width:700px){.befit-header-client{width:100%;min-width:0;margin:0}.befit-header-client .befit-picker-trigger{min-height:46px!important}body>.box>h1 .befit-brand-actions{margin-left:auto}}
.befit-header-client .befit-picker-trigger{background:linear-gradient(145deg,#25351f,#172115)!important;color:#e6efd9!important;border:1px solid #71844b66!important;box-shadow:inset 0 1px 0 #d4eda011,0 5px 14px #0002!important;text-align:left!important;justify-content:space-between!important}
.befit-header-client .befit-picker-trigger>span:first-child{display:flex;align-items:center;gap:9px}
.befit-header-client input[type=search]{min-height:48px;padding:10px 14px}

/* Os seletores no cabeçalho partilham o estilo dos restantes seletores. */
body .befit-header-client .befit-picker-trigger{width:100%;min-height:44px!important;display:flex;align-items:center;justify-content:space-between;gap:18px;text-align:left;background:#172310!important;color:#e1edcf!important;border:1px solid #657f4999!important;padding:11px 14px!important;box-shadow:inset 0 1px 0 #d5ebae0b,0 4px 12px #0002;margin:0!important;font-weight:500!important;border-radius:9px!important}
body .befit-header-client .befit-picker-search{width:100%;padding:10px 12px!important;min-height:40px!important;background:#111d0b!important;font-size:13px!important;border-radius:7px!important;margin:0 0 7px!important}
body .befit-header-client .befit-picker-option{display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;text-align:left;padding:11px 12px!important;min-height:40px!important;background:transparent!important;color:#cdddbb!important;border:1px solid transparent!important;border-radius:7px!important;box-shadow:none!important;font-size:13px!important;font-weight:500!important;margin:2px 0!important;transform:none!important}
body .befit-header-client .befit-picker-option[aria-selected=true]{background:#8fae5630!important;border-color:#92b85e33!important;color:#e5f4d0!important}
body .befit-header-client .befit-picker-option:hover,body .befit-header-client .befit-picker-option:focus-visible{background:#91b65a25!important;color:#effbdc!important}
body .befit-header-client .befit-picker-trigger{display:flex!important;flex-wrap:nowrap!important;gap:12px!important}
body .befit-header-client .befit-picker-trigger>span:last-child{flex:0 0 auto;margin-left:auto}
body .befit-header-client .befit-picker-option{justify-content:flex-start!important;gap:10px!important;line-height:1.4!important}
body .befit-header-client .befit-person-avatar{width:32px;height:32px;flex:0 0 32px}

body .befit-brand-actions>button.training-refresh-icon,body #panel button.training-refresh-icon{display:inline-flex;align-items:center;justify-content:center;width:44px!important;min-width:44px!important;height:44px!important;padding:10px!important;flex:0 0 44px}

body .befit-brand-actions>button.befit-refresh-action,body #panel button.befit-refresh-action{display:inline-flex!important;align-items:center;justify-content:center;width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;padding:10px!important;flex:0 0 44px;line-height:1!important}
body button.befit-refresh-action svg{width:20px;height:20px;flex:none}
/* Ações no extremo direito, com ou sem pesquisa de cliente. */
body.befit-brand-page-active>.box>h1 .befit-brand-actions{margin-left:auto!important;justify-content:flex-end!important;padding-left:0!important}
body.befit-brand-page-active>.box>h1 .befit-header-client:not([hidden])+.befit-brand-actions{margin-left:0!important}
body.befit-brand-page-active>.box>h1 .befit-header-client{width:clamp(220px,18vw,280px);min-width:220px;flex:0 1 280px}
@media(max-width:700px){body.befit-brand-page-active>.box>h1 .befit-header-client{width:100%;min-width:0;flex:1 1 100%}body.befit-brand-page-active>.box>h1 .befit-brand-actions{width:100%;flex:1 1 100%;margin-left:auto!important;justify-content:flex-end!important}}
/* Cabeçalho compacto em PC: menos altura e seletor de cliente estreito. */
@media(min-width:701px){
body.befit-brand-page-active>.box>h1{min-height:68px!important;height:auto!important;padding-top:0!important;padding-bottom:0!important;margin-top:0!important;margin-bottom:14px!important;gap:10px!important;background-size:150px auto!important}
body.befit-brand-page-active>.box>h1 .befit-header-client{width:210px!important;min-width:180px!important;max-width:210px!important;flex:0 1 210px!important;gap:0!important}
body.befit-brand-page-active>.box>h1 .befit-header-client .befit-picker-trigger{min-height:44px!important;padding:8px 11px!important}
body.befit-brand-page-active>.box>h1 .befit-header-pt-photo{width:52px!important;height:52px!important;flex-basis:52px!important;border-radius:14px!important}
body.befit-brand-page-active>.box>h1 .befit-brand-page{padding-top:2px!important;padding-bottom:2px!important;gap:4px!important}
body.befit-brand-page-active>.box>h1 .befit-brand-page:before{top:10px!important;height:28px!important}
body.befit-brand-page-active>.box>h1 .befit-brand-title{font-size:28px!important}
}

/* Pesquisa por ícone no cabeçalho; lista mantém nomes e fotografias. */
body.befit-brand-page-active>.box>h1 .befit-header-client:has(select){width:44px!important;min-width:44px!important;max-width:44px!important;flex:0 0 44px!important}
body .befit-header-client .befit-client-icon-picker{width:44px!important}
body .befit-header-client .befit-client-search-icon{width:44px!important;height:44px!important;min-height:44px!important;padding:10px!important;justify-content:center!important;gap:0!important}
body .befit-header-client .befit-client-search-icon>span:last-child{display:none!important}
body .befit-header-client .befit-client-search-icon>span:first-child{display:flex!important;align-items:center;justify-content:center}
body .befit-header-client .befit-client-icon-picker .befit-picker-panel{left:auto;right:0;width:300px;min-width:260px;max-width:calc(100vw - 40px)}

body.befit-brand-page-active>.box>h1 .befit-header-client{position:relative;width:44px!important;min-width:44px!important;max-width:44px!important;flex:0 0 44px!important}
body .befit-text-client-search-icon{display:flex;align-items:center;justify-content:center;width:44px!important;height:44px!important;padding:10px!important;margin:0!important}
.befit-text-client-search-panel{position:absolute;right:0;top:calc(100% + 7px);width:280px;max-width:calc(100vw - 40px);padding:10px;background:#1b2a13;border:1px solid #718c5199;border-radius:12px;box-shadow:0 20px 55px #0008;z-index:1200}
.befit-text-client-search-panel[hidden]{display:none!important}

.befit-header-student-name{display:block;max-width:210px;font:600 17px/1.3 'Segoe UI',Arial,sans-serif;color:#edf4e5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-right:8px;letter-spacing:0}
body #panel .befit-refresh-in-brand{display:none!important}
@media(max-width:700px){.befit-header-student-name{max-width:150px;font-size:15px;margin-right:0}}
body #panel button.befit-refresh-in-brand.befit-refresh-action{display:none!important}

body.befit-student-layout #shared-assessments .assessment-client{display:none!important}
.befit-mobile-menu-toggle,.befit-mobile-menu-close,.befit-mobile-menu-backdrop{display:none}
@media(max-width:1099px){
body.befit-mobile-navigation>.box>h1{position:relative;padding-right:54px!important}
body.befit-mobile-navigation .befit-mobile-menu-toggle{display:inline-flex!important;position:absolute;right:0;top:0;align-items:center;justify-content:center;width:44px!important;height:44px!important;padding:10px!important;margin:0!important;z-index:5}
body .befit-mobile-menu-toggle[hidden],body .befit-mobile-menu-backdrop[hidden]{display:none!important}
body.befit-mobile-navigation #panel{padding-left:0!important}
body.befit-mobile-navigation #account-navigation{position:fixed!important;top:0!important;left:0!important;bottom:0!important;width:min(310px,86vw)!important;max-width:86vw!important;height:100vh;height:100dvh;display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;flex-wrap:nowrap!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain;padding:18px 16px calc(24px + env(safe-area-inset-bottom,0px))!important;margin:0!important;gap:6px!important;background:linear-gradient(155deg,#24321d,#121c10)!important;border:0!important;border-right:1px solid #819e4a66!important;box-shadow:15px 0 55px #0008;z-index:2001;transform:translateX(-105%);visibility:hidden;pointer-events:none;transition:transform .2s ease,visibility .2s}
body.befit-mobile-menu-open #account-navigation{transform:translateX(0)!important;visibility:visible!important;pointer-events:auto}
body.befit-mobile-navigation #account-navigation button{width:100%!important;flex-shrink:0;text-align:left!important;white-space:normal!important;min-height:44px!important;padding:11px 14px!important;margin:0!important;font-size:14px!important}
body.befit-mobile-navigation #account-navigation .befit-nav-heading{display:block!important;font-size:11px;letter-spacing:1.4px;padding:16px 10px 5px;color:#a8bc93}
body.befit-mobile-navigation #account-navigation .befit-mobile-menu-close{display:block!important;background:transparent!important;box-shadow:none!important;color:#e9f3da!important;border-bottom:1px solid #839a5e44;border-radius:0!important;margin-bottom:8px!important}
body.befit-mobile-menu-open .befit-mobile-menu-backdrop{display:block;position:fixed;inset:0;background:#0009;z-index:2000;backdrop-filter:blur(3px)}
body.befit-mobile-navigation #account-navigation .befit-settings{width:100%;margin-top:12px}
}
@media(prefers-reduced-motion:reduce){body.befit-mobile-navigation #account-navigation{transition:none!important}}
@media(max-width:1099px){body.befit-mobile-navigation #account-navigation .befit-nav-heading{flex:0 0 auto!important;min-height:0!important}body.befit-mobile-navigation #account-navigation>*{flex-shrink:0}}

.befit-brand-action-row{display:contents}
@media(max-width:700px){
body.befit-brand-page-active>.box>h1{padding-right:0!important;row-gap:8px!important;padding-bottom:10px!important}
body.befit-brand-page-active>.box>h1 .befit-brand-page{margin-right:46px!important}
body.befit-brand-page-active>.box>h1 .befit-brand-action-row{display:flex;flex:1 1 100%;width:100%;align-items:center;justify-content:flex-end;gap:7px;min-height:40px;padding-top:8px;border-top:1px solid #80965c26}
body.befit-brand-page-active>.box>h1 .befit-brand-action-row .befit-brand-actions{display:flex;width:auto!important;flex:0 1 auto!important;justify-content:flex-end!important;margin:0!important;padding:0!important;gap:7px!important}
body.befit-brand-page-active>.box>h1 .befit-brand-action-row .befit-header-client{margin:0!important;width:40px!important;min-width:40px!important;max-width:40px!important;flex:0 0 40px!important}
body.befit-brand-page-active>.box>h1 .befit-brand-action-row button{min-height:40px!important;height:40px!important;margin:0!important;padding:8px 11px!important;font-size:11px!important;line-height:1.3!important}
body.befit-brand-page-active>.box>h1 .befit-brand-action-row .befit-refresh-action,body.befit-brand-page-active>.box>h1 .befit-brand-action-row .training-refresh-icon,body.befit-brand-page-active>.box>h1 .befit-brand-action-row .befit-client-search-icon,body.befit-brand-page-active>.box>h1 .befit-brand-action-row .befit-text-client-search-icon{width:40px!important;min-width:40px!important;flex:0 0 40px!important;padding:9px!important}
body.befit-brand-page-active>.box>h1 .befit-brand-action-row svg{width:18px!important;height:18px!important}
body.befit-brand-page-active>.box>h1 .befit-brand-action-row .befit-client-icon-picker{width:40px!important}
}

.befit-brand-identity-row{display:contents}
@media(max-width:700px){
body.befit-brand-page-active>.box>h1{display:grid!important;grid-template-columns:78px minmax(0,1fr) 36px;column-gap:12px!important;row-gap:10px!important;align-items:center!important;background-size:78px auto!important;background-position:left 17px!important;padding:8px 0 8px!important;min-height:0!important}
body.befit-brand-page-active>.box>h1 .befit-brand-identity-row{grid-column:2;grid-row:1;display:grid;grid-template-columns:1fr;align-items:center;min-width:0;min-height:48px;gap:3px 9px}
body.befit-brand-page-active>.box>h1 .befit-brand-identity-row.has-photo{grid-template-columns:34px minmax(0,1fr)}
body.befit-brand-page-active>.box>h1 .befit-brand-identity-row .befit-header-pt-photo{grid-column:1;grid-row:1/span 2;width:34px!important;height:42px!important;min-width:34px;flex-basis:34px!important;margin:0!important;border-radius:10px!important}
body.befit-brand-page-active>.box>h1 .befit-brand-identity-row .befit-brand-page{grid-column:1;grid-row:1/span 2;margin:0!important;padding:0!important;border:0!important;gap:4px!important;min-width:0}
body.befit-brand-page-active>.box>h1 .befit-brand-identity-row.has-photo .befit-brand-page{grid-column:2}
body.befit-brand-page-active>.box>h1 .befit-brand-identity-row.has-name .befit-brand-page{grid-row:2}
body.befit-brand-page-active>.box>h1 .befit-brand-identity-row .befit-brand-page:before{display:none!important}
body.befit-brand-page-active>.box>h1 .befit-brand-title{font-size:22px!important;line-height:1.2!important;letter-spacing:-.4px!important;overflow-wrap:anywhere}
body.befit-brand-page-active>.box>h1 .befit-brand-caption{font-size:8px!important;letter-spacing:1.2px!important}
body.befit-brand-page-active>.box>h1 .befit-header-student-name{grid-column:2;grid-row:1;max-width:100%;margin:0!important;font-size:12px;line-height:1.3}
body.befit-brand-page-active>.box>h1 .befit-mobile-menu-toggle{position:static!important;grid-column:3;grid-row:1;width:36px!important;height:36px!important;min-height:36px!important;padding:7px!important;border-radius:10px!important;background:transparent!important;box-shadow:none!important;border:1px solid #73865a55!important;align-self:center}
body.befit-brand-page-active>.box>h1 .befit-brand-action-row{grid-column:1/-1;grid-row:2;min-height:36px;padding-top:8px;gap:6px}
body.befit-brand-page-active>.box>h1 .befit-brand-action-row button{height:34px!important;min-height:34px!important;font-size:11px!important;padding:7px 10px!important;background:#24301e!important;color:#dce7d0!important;border:1px solid #71845b55!important;border-radius:9px!important;box-shadow:none!important;font-weight:500!important}
body.befit-brand-page-active>.box>h1 .befit-brand-action-row .befit-header-client{width:34px!important;min-width:34px!important;max-width:34px!important;flex-basis:34px!important}
body.befit-brand-page-active>.box>h1 .befit-brand-action-row .befit-client-icon-picker{width:34px!important}
body.befit-brand-page-active>.box>h1 .befit-brand-action-row button.befit-refresh-action,body.befit-brand-page-active>.box>h1 .befit-brand-action-row button.befit-client-search-icon,body.befit-brand-page-active>.box>h1 .befit-brand-action-row button.befit-text-client-search-icon,body.befit-brand-page-active>.box>h1 .befit-brand-action-row button.training-refresh-icon{width:34px!important;min-width:34px!important;flex-basis:34px!important;padding:8px!important;background:transparent!important}
body.befit-brand-page-active>.box>h1 .befit-brand-action-row svg{width:16px!important;height:16px!important}
}
/* Explicit spacing also works in iPadOS versions without flex gap. */
@media(max-width:1099px){
body.befit-mobile-navigation #account-navigation{gap:0!important}
body.befit-mobile-navigation #account-navigation>button{margin:0 0 6px!important}
body.befit-mobile-navigation #account-navigation .befit-nav-heading{margin:8px 0 4px!important}
body.befit-mobile-navigation #account-navigation .befit-settings{margin-top:14px!important}
body.befit-brand-page-active>.box>h1 .befit-brand-action-row,body.befit-brand-page-active>.box>h1 .befit-brand-action-row .befit-brand-actions{gap:0!important}
body.befit-brand-page-active>.box>h1 .befit-brand-action-row .befit-brand-actions>button+button{margin-left:8px!important}
body.befit-brand-page-active>.box>h1 .befit-brand-action-row>.befit-header-client:not([hidden])+.befit-brand-actions{margin-left:8px!important}
}
/* Mobile: centered logo, all page controls together on the line below. */
@media(max-width:700px){
body.befit-brand-page-active>.box>h1{grid-template-columns:minmax(0,1fr) auto 34px!important;grid-template-rows:44px auto!important;background-size:100px auto!important;background-position:center 5px!important;column-gap:8px!important;row-gap:10px!important;padding-top:0!important;padding-bottom:10px!important}
body.befit-brand-page-active>.box>h1:before{content:'';display:block;grid-column:1/-1;grid-row:1;height:44px}
body.befit-brand-page-active>.box>h1 .befit-brand-identity-row{grid-column:1;grid-row:2;min-height:42px;gap:2px 7px}
body.befit-brand-page-active>.box>h1 .befit-brand-identity-row.has-photo{grid-template-columns:30px minmax(0,1fr)}
body.befit-brand-page-active>.box>h1 .befit-brand-identity-row .befit-header-pt-photo{width:30px!important;min-width:30px!important;height:36px!important;flex-basis:30px!important}
body.befit-brand-page-active>.box>h1 .befit-brand-title{font-size:19px!important;line-height:1.2!important}
body.befit-brand-page-active>.box>h1 .befit-brand-caption{font-size:7px!important;letter-spacing:.8px!important}
body.befit-brand-page-active>.box>h1 .befit-brand-action-row{grid-column:2;grid-row:2;width:auto!important;min-height:0!important;padding:0!important;border:0!important;align-self:center}
body.befit-brand-page-active>.box>h1 .befit-mobile-menu-toggle{grid-column:3;grid-row:2;width:34px!important;height:34px!important;min-height:34px!important;padding:7px!important}
body.befit-brand-page-active>.box>h1 .befit-brand-action-row button{font-size:10px!important;padding:6px 8px!important;white-space:normal!important}
body.befit-brand-page-active>.box>h1 .befit-header-student-name{font-size:10px!important}
}

.befit-mobile-action-symbol{display:none}
@media(max-width:700px){
body #befit-brand-header{background-position:center 5px!important;background-size:100px auto!important}
body #befit-brand-header .befit-brand-action-row button.befit-mobile-text-action{width:34px!important;min-width:34px!important;flex:0 0 34px!important;padding:6px!important}
body #befit-brand-header .befit-mobile-text-action .befit-action-text{display:none}
body #befit-brand-header .befit-mobile-text-action .befit-mobile-action-symbol{display:inline;font-size:20px;line-height:1}
body #befit-brand-header .befit-brand-title{font-size:18px!important;overflow-wrap:normal!important;word-break:normal}
}
/* Larger mobile logo with a proportionate first row. */
@media(max-width:700px){
body #befit-brand-header{grid-template-rows:60px auto!important;background-size:140px auto!important;background-position:center 4px!important;row-gap:6px!important;padding-bottom:8px!important}
body #befit-brand-header:before{height:60px!important}
}
/* Mobile logo: slightly larger and closer to the top edge. */
@media(max-width:700px){
body.befit-brand-page-active>.box{padding-top:16px!important}
body #befit-brand-header{grid-template-rows:64px auto!important;background-size:160px auto!important;background-position:center -4px!important;row-gap:4px!important}
body #befit-brand-header:before{height:64px!important}
}
/* Compensate the transparent bounds of the official 2000x1414 logo. */
@media(max-width:700px){
body.befit-brand-page-active>.box{padding-top:10px!important}
body #befit-brand-header{grid-template-rows:52px auto!important;background-size:214px auto!important;background-position:center -49px!important;row-gap:4px!important;padding-top:0!important;padding-bottom:6px!important;margin-bottom:10px!important}
body #befit-brand-header:before{height:52px!important}
}
/* Mobile directory count belongs beside its filters, not among header icons. */
@media(max-width:700px){
body #befit-brand-header .befit-brand-count{display:none!important}
body #panel #shared-active-count.befit-count-in-brand{display:inline-flex!important;margin:0 0 10px!important;padding:6px 10px!important;font-size:12px!important;line-height:1.3;min-height:0!important}
body #panel #shared-active-count.befit-count-in-brand strong{font-size:17px!important}
}

body #panel #shared-pt-billing .billing-access-card{max-width:480px;margin:0 auto;padding:22px!important}
body #panel #shared-pt-billing .billing-access-title{background:transparent!important;color:#edf4e5!important;border:0!important;box-shadow:none!important;border-radius:0!important;padding:0!important;margin:0 0 12px!important;min-height:0!important;font-size:20px!important;line-height:1.3!important;letter-spacing:0!important;text-transform:none!important}
body #panel .billing-access-card>p{font-size:14px;line-height:1.5;margin:0 0 16px;color:#bacbad}
body #panel .billing-access-card #billing-unlock label{margin:0 0 16px;font-size:13px}
body #panel .billing-access-card #billing-unlock input{min-height:44px;padding:10px 12px}
body #panel .billing-access-card #billing-unlock>button{min-height:42px;font-size:13px;margin:0}
body #panel .billing-access-card #billing-status:empty{display:none}
@media(max-width:700px){body #panel #shared-pt-billing .billing-access-card{padding:18px!important;margin-top:0!important;border-radius:16px!important}}

@media(max-width:700px){
body #panel .befit-mobile-directory-summary{display:flex;align-items:center;justify-content:space-between;margin:0 0 12px;min-width:0}
body #panel .befit-mobile-directory-summary #shared-active-count.befit-count-in-brand{flex:0 1 auto;white-space:nowrap;margin:0 7px 0 0!important;padding:6px 7px!important;font-size:10px!important;border-radius:9px}
body #panel .befit-mobile-directory-summary #shared-active-count strong{font-size:15px!important}
body #panel .befit-mobile-directory-summary .befit-filter-label{display:block!important;flex:0 1 auto!important;margin:0!important;min-width:0!important;max-width:none!important;font-size:0!important}
body #panel .befit-mobile-directory-summary .befit-filter-chips{display:flex!important;flex-wrap:nowrap!important;padding:3px!important;gap:0!important;margin:0!important;width:auto!important}
body #panel .befit-mobile-directory-summary .befit-filter-chips button{min-height:32px!important;height:32px!important;font-size:10px!important;padding:6px 7px!important;margin:0!important;white-space:nowrap!important;min-width:0!important}
body #panel .befit-mobile-directory-summary .befit-filter-chips button+button{margin-left:2px!important}
}
@media(max-width:700px){body #panel .befit-mobile-directory-summary .befit-filter-chips button{width:auto!important;flex:0 0 auto!important}}
@media(max-width:700px){body #panel #shared-students .befit-mobile-empty-toolbar{display:none!important}}
body:not(.befit-brand-page-active)>.box>h1:after{display:none!important;content:none!important}
body:not(.befit-brand-page-active)>.box>h1 .befit-brand-identity-row,body:not(.befit-brand-page-active)>.box>h1 .befit-brand-action-row{display:none!important}
body.befit-mfa-active #login,body.befit-mfa-active #forgot-password,body.befit-mfa-active #passkey-login{display:none!important}
body #admin-mfa{box-sizing:border-box;max-width:100%;padding:18px;border:1px solid #81945a44;border-radius:14px;margin-top:16px;background:#172312}
body #admin-mfa[hidden]{display:none!important}
body #admin-mfa h2{background:transparent!important;color:#edf4e5!important;font-size:20px!important;line-height:1.35!important;padding:0!important;margin:0 0 12px!important;min-height:0!important;box-shadow:none!important;border:0!important;text-transform:none!important;letter-spacing:0!important}
body #admin-mfa p{font-size:13px;line-height:1.6;margin:12px 0;overflow-wrap:anywhere;word-wrap:break-word;word-break:break-word}
body #admin-mfa form{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;margin:14px 0}
body #admin-mfa input,body #admin-mfa select,body #admin-mfa button{box-sizing:border-box;max-width:100%;width:100%;min-height:44px;margin:0;padding:10px 12px;font-size:14px;line-height:1.4}
body #admin-mfa>button{margin:8px 0}
@media(max-width:700px){body:not(.befit-brand-page-active) #befit-brand-header{display:block!important;min-height:58px!important;height:58px!important;background-size:214px auto!important;background-position:center -49px!important;padding:0!important;margin:0 0 16px!important}body:not(.befit-brand-page-active) #befit-brand-header:before{display:none!important;content:none!important}}
/* Authenticated page header remains available while scrolling. */
body.befit-brand-page-active #befit-brand-header{position:sticky!important;top:0!important;z-index:1200;background-color:#182214;box-shadow:0 7px 16px #0003;isolation:isolate}
/* Sticky anchor includes the upper frame, rather than starting at the logo. */
body.befit-brand-page-active #befit-brand-header{border-top:1px solid #71835455!important;border-top-left-radius:12px;border-top-right-radius:12px;padding-top:10px!important}
@media(max-width:700px){body.befit-brand-page-active #befit-brand-header{background-position:center -39px!important}}

/* Header-only fallback when its content does not fit. */
body.befit-adaptive-header.befit-brand-page-active>.box>h1{background-size:130px auto!important;min-height:78px!important;height:auto!important;padding:12px 0!important}
body.befit-adaptive-header .befit-brand-page-active .befit-brand-page{margin-left:145px;padding-left:17px}
body.befit-adaptive-header .befit-brand-title{font-size:24px;letter-spacing:-.6px}
body.befit-adaptive-header .befit-brand-caption{font-size:8px;letter-spacing:1.4px}
body.befit-adaptive-header.befit-brand-page-active>.box>h1{flex-wrap:wrap;row-gap:14px!important}
body.befit-adaptive-header .befit-brand-page-active .befit-brand-page{margin-left:145px}
body.befit-adaptive-header .befit-brand-page-active .befit-brand-actions{flex:1 1 100%;padding-left:0;margin-left:0;padding-bottom:3px}
body.befit-adaptive-header.befit-brand-page-active>.box>h1:has(.befit-brand-actions>button){background-position:left 10px!important}
body.befit-adaptive-header.befit-no-flex-gap .befit-brand-actions{margin-top:14px}
body.befit-adaptive-header.befit-brand-page-active>.box>h1.befit-has-pt-photo .befit-header-pt-photo{margin-left:145px}
body.befit-adaptive-header .befit-header-client{width:100%;min-width:0;margin:0}
body.befit-adaptive-header .befit-header-client .befit-picker-trigger{min-height:46px!important}
body.befit-adaptive-header>.box>h1 .befit-brand-actions{margin-left:auto}
body.befit-adaptive-header.befit-brand-page-active>.box>h1 .befit-header-client{width:100%;min-width:0;flex:1 1 100%}
body.befit-adaptive-header.befit-brand-page-active>.box>h1 .befit-brand-actions{width:100%;flex:1 1 100%;margin-left:auto!important;justify-content:flex-end!important}
body.befit-adaptive-header .befit-header-student-name{max-width:150px;font-size:15px;margin-right:0}
body.befit-adaptive-header.befit-brand-page-active>.box>h1{padding-right:0!important;row-gap:8px!important;padding-bottom:10px!important}
body.befit-adaptive-header.befit-brand-page-active>.box>h1 .befit-brand-page{margin-right:46px!important}
body.befit-adaptive-header.befit-brand-page-active>.box>h1 .befit-brand-action-row{display:flex;flex:1 1 100%;width:100%;align-items:center;justify-content:flex-end;gap:7px;min-height:40px;padding-top:8px;border-top:1px solid #80965c26}
body.befit-adaptive-header.befit-brand-page-active>.box>h1 .befit-brand-action-row .befit-brand-actions{display:flex;width:auto!important;flex:0 1 auto!important;justify-content:flex-end!important;margin:0!important;padding:0!important;gap:7px!important}
body.befit-adaptive-header.befit-brand-page-active>.box>h1 .befit-brand-action-row .befit-header-client{margin:0!important;width:40px!important;min-width:40px!important;max-width:40px!important;flex:0 0 40px!important}
body.befit-adaptive-header.befit-brand-page-active>.box>h1 .befit-brand-action-row button{min-height:40px!important;height:40px!important;margin:0!important;padding:8px 11px!important;font-size:11px!important;line-height:1.3!important}
body.befit-adaptive-header.befit-brand-page-active>.box>h1 .befit-brand-action-row .befit-refresh-action,body.befit-adaptive-header.befit-brand-page-active>.box>h1 .befit-brand-action-row .training-refresh-icon,body.befit-adaptive-header.befit-brand-page-active>.box>h1 .befit-brand-action-row .befit-client-search-icon,body.befit-adaptive-header.befit-brand-page-active>.box>h1 .befit-brand-action-row .befit-text-client-search-icon{width:40px!important;min-width:40px!important;flex:0 0 40px!important;padding:9px!important}
body.befit-adaptive-header.befit-brand-page-active>.box>h1 .befit-brand-action-row svg{width:18px!important;height:18px!important}
body.befit-adaptive-header.befit-brand-page-active>.box>h1 .befit-brand-action-row .befit-client-icon-picker{width:40px!important}
body.befit-adaptive-header.befit-brand-page-active>.box>h1{display:grid!important;grid-template-columns:78px minmax(0,1fr) 36px;column-gap:12px!important;row-gap:10px!important;align-items:center!important;background-size:78px auto!important;background-position:left 17px!important;padding:8px 0 8px!important;min-height:0!important}
body.befit-adaptive-header.befit-brand-page-active>.box>h1 .befit-brand-identity-row{grid-column:2;grid-row:1;display:grid;grid-template-columns:1fr;align-items:center;min-width:0;min-height:48px;gap:3px 9px}
body.befit-adaptive-header.befit-brand-page-active>.box>h1 .befit-brand-identity-row.has-photo{grid-template-columns:34px minmax(0,1fr)}
body.befit-adaptive-header.befit-brand-page-active>.box>h1 .befit-brand-identity-row .befit-header-pt-photo{grid-column:1;grid-row:1/span 2;width:34px!important;height:42px!important;min-width:34px;flex-basis:34px!important;margin:0!important;border-radius:10px!important}
body.befit-adaptive-header.befit-brand-page-active>.box>h1 .befit-brand-identity-row .befit-brand-page{grid-column:1;grid-row:1/span 2;margin:0!important;padding:0!important;border:0!important;gap:4px!important;min-width:0}
body.befit-adaptive-header.befit-brand-page-active>.box>h1 .befit-brand-identity-row.has-photo .befit-brand-page{grid-column:2}
body.befit-adaptive-header.befit-brand-page-active>.box>h1 .befit-brand-identity-row.has-name .befit-brand-page{grid-row:2}
body.befit-adaptive-header.befit-brand-page-active>.box>h1 .befit-brand-identity-row .befit-brand-page:before{display:none!important}
body.befit-adaptive-header.befit-brand-page-active>.box>h1 .befit-brand-title{font-size:22px!important;line-height:1.2!important;letter-spacing:-.4px!important;overflow-wrap:anywhere}
body.befit-adaptive-header.befit-brand-page-active>.box>h1 .befit-brand-caption{font-size:8px!important;letter-spacing:1.2px!important}
body.befit-adaptive-header.befit-brand-page-active>.box>h1 .befit-header-student-name{grid-column:2;grid-row:1;max-width:100%;margin:0!important;font-size:12px;line-height:1.3}
body.befit-adaptive-header.befit-brand-page-active>.box>h1 .befit-mobile-menu-toggle{position:static!important;grid-column:3;grid-row:1;width:36px!important;height:36px!important;min-height:36px!important;padding:7px!important;border-radius:10px!important;background:transparent!important;box-shadow:none!important;border:1px solid #73865a55!important;align-self:center}
body.befit-adaptive-header.befit-brand-page-active>.box>h1 .befit-brand-action-row{grid-column:1/-1;grid-row:2;min-height:36px;padding-top:8px;gap:6px}
body.befit-adaptive-header.befit-brand-page-active>.box>h1 .befit-brand-action-row button{height:34px!important;min-height:34px!important;font-size:11px!important;padding:7px 10px!important;background:#24301e!important;color:#dce7d0!important;border:1px solid #71845b55!important;border-radius:9px!important;box-shadow:none!important;font-weight:500!important}
body.befit-adaptive-header.befit-brand-page-active>.box>h1 .befit-brand-action-row .befit-header-client{width:34px!important;min-width:34px!important;max-width:34px!important;flex-basis:34px!important}
body.befit-adaptive-header.befit-brand-page-active>.box>h1 .befit-brand-action-row .befit-client-icon-picker{width:34px!important}
body.befit-adaptive-header.befit-brand-page-active>.box>h1 .befit-brand-action-row button.befit-refresh-action,body.befit-adaptive-header.befit-brand-page-active>.box>h1 .befit-brand-action-row button.befit-client-search-icon,body.befit-adaptive-header.befit-brand-page-active>.box>h1 .befit-brand-action-row button.befit-text-client-search-icon,body.befit-adaptive-header.befit-brand-page-active>.box>h1 .befit-brand-action-row button.training-refresh-icon{width:34px!important;min-width:34px!important;flex-basis:34px!important;padding:8px!important;background:transparent!important}
body.befit-adaptive-header.befit-brand-page-active>.box>h1 .befit-brand-action-row svg{width:16px!important;height:16px!important}
body.befit-adaptive-header.befit-brand-page-active>.box>h1{grid-template-columns:minmax(0,1fr) auto 34px!important;grid-template-rows:44px auto!important;background-size:100px auto!important;background-position:center 5px!important;column-gap:8px!important;row-gap:10px!important;padding-top:0!important;padding-bottom:10px!important}
body.befit-adaptive-header.befit-brand-page-active>.box>h1:before{content:'';display:block;grid-column:1/-1;grid-row:1;height:44px}
body.befit-adaptive-header.befit-brand-page-active>.box>h1 .befit-brand-identity-row{grid-column:1;grid-row:2;min-height:42px;gap:2px 7px}
body.befit-adaptive-header.befit-brand-page-active>.box>h1 .befit-brand-identity-row.has-photo{grid-template-columns:30px minmax(0,1fr)}
body.befit-adaptive-header.befit-brand-page-active>.box>h1 .befit-brand-identity-row .befit-header-pt-photo{width:30px!important;min-width:30px!important;height:36px!important;flex-basis:30px!important}
body.befit-adaptive-header.befit-brand-page-active>.box>h1 .befit-brand-title{font-size:19px!important;line-height:1.2!important}
body.befit-adaptive-header.befit-brand-page-active>.box>h1 .befit-brand-caption{font-size:7px!important;letter-spacing:.8px!important}
body.befit-adaptive-header.befit-brand-page-active>.box>h1 .befit-brand-action-row{grid-column:2;grid-row:2;width:auto!important;min-height:0!important;padding:0!important;border:0!important;align-self:center}
body.befit-adaptive-header.befit-brand-page-active>.box>h1 .befit-mobile-menu-toggle{grid-column:3;grid-row:2;width:34px!important;height:34px!important;min-height:34px!important;padding:7px!important}
body.befit-adaptive-header.befit-brand-page-active>.box>h1 .befit-brand-action-row button{font-size:10px!important;padding:6px 8px!important;white-space:normal!important}
body.befit-adaptive-header.befit-brand-page-active>.box>h1 .befit-header-student-name{font-size:10px!important}
body.befit-adaptive-header #befit-brand-header{background-position:center 5px!important;background-size:100px auto!important}
body.befit-adaptive-header #befit-brand-header .befit-brand-action-row button.befit-mobile-text-action{width:34px!important;min-width:34px!important;flex:0 0 34px!important;padding:6px!important}
body.befit-adaptive-header #befit-brand-header .befit-mobile-text-action .befit-action-text{display:none}
body.befit-adaptive-header #befit-brand-header .befit-mobile-text-action .befit-mobile-action-symbol{display:inline;font-size:20px;line-height:1}
body.befit-adaptive-header #befit-brand-header .befit-brand-title{font-size:18px!important;overflow-wrap:normal!important;word-break:normal}
body.befit-adaptive-header #befit-brand-header{grid-template-rows:60px auto!important;background-size:140px auto!important;background-position:center 4px!important;row-gap:6px!important;padding-bottom:8px!important}
body.befit-adaptive-header #befit-brand-header:before{height:60px!important}
body.befit-adaptive-header.befit-brand-page-active>.box{padding-top:16px!important}
body.befit-adaptive-header #befit-brand-header{grid-template-rows:64px auto!important;background-size:160px auto!important;background-position:center -4px!important;row-gap:4px!important}
body.befit-adaptive-header #befit-brand-header:before{height:64px!important}
body.befit-adaptive-header.befit-brand-page-active>.box{padding-top:10px!important}
body.befit-adaptive-header #befit-brand-header{grid-template-rows:52px auto!important;background-size:214px auto!important;background-position:center -49px!important;row-gap:4px!important;padding-top:0!important;padding-bottom:6px!important;margin-bottom:10px!important}
body.befit-adaptive-header #befit-brand-header:before{height:52px!important}
body.befit-adaptive-header #befit-brand-header .befit-brand-count{display:none!important}
body.befit-adaptive-header:not(.befit-brand-page-active) #befit-brand-header{display:block!important;min-height:58px!important;height:58px!important;background-size:214px auto!important;background-position:center -49px!important;padding:0!important;margin:0 0 16px!important}
body.befit-adaptive-header:not(.befit-brand-page-active) #befit-brand-header:before{display:none!important;content:none!important}
body.befit-adaptive-header.befit-brand-page-active #befit-brand-header{background-position:center -39px!important}

body .befit-home-icon{display:inline-flex;align-items:center;justify-content:center;width:40px!important;min-width:40px!important;height:40px!important;padding:9px!important;margin:0 8px 0 0!important;flex:0 0 40px}
body .befit-home-icon[hidden]{display:none!important}
.befit-welcome-hero{position:relative;overflow:hidden;border:1px solid #8aa15b44;border-radius:20px;padding:44px 32px;background:linear-gradient(90deg,#10200ff2,#10200f9c),url('befit-espaco.jpeg') center 39%/cover;box-shadow:0 18px 40px #0003,inset 0 1px #d9efa51c}
.befit-welcome-hero>span{font-size:10px;letter-spacing:3px;color:#c4e48e}
body #panel .befit-welcome-hero h2{background:none!important;border:0!important;box-shadow:none!important;color:#eff6e4!important;font-size:clamp(25px,3vw,39px)!important;line-height:1.2!important;max-width:700px;margin:18px 0!important;padding:0!important;text-transform:none!important;letter-spacing:-.7px!important}
.befit-welcome-hero p{color:#c3d2b6;max-width:600px;line-height:1.65;font-size:16px;margin:0}
.befit-welcome-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:20px}
body #panel .befit-welcome-links button{position:relative;text-align:left;white-space:normal;background:linear-gradient(145deg,#283820,#162313)!important;border:1px solid #8ba25d44;color:#e7f1db;padding:23px 48px 23px 22px;border-radius:16px;box-shadow:0 7px 18px #0002,inset 0 1px #e4f5bc12;min-width:0;width:100%}
.befit-welcome-links strong{display:block;font-size:18px;font-weight:600;margin-bottom:8px}.befit-welcome-links span{display:block;font-size:13px;line-height:1.5;color:#b6c6a6;font-weight:400}.befit-welcome-links i{position:absolute;right:21px;top:22px;font-style:normal;font-size:22px;color:#c8e791}
@media(max-width:700px){.befit-welcome-hero{padding:28px 20px;border-radius:16px}.befit-welcome-links{grid-template-columns:1fr;gap:10px}.befit-welcome-hero p{font-size:14px}body #befit-brand-header .befit-home-icon{width:34px!important;min-width:34px!important;height:34px!important;flex-basis:34px!important;padding:8px!important;margin:0 6px 0 0!important}}
body.befit-brand-page-active #befit-brand-header .befit-home-icon:not([hidden]){margin-left:auto!important}
body.befit-brand-page-active #befit-brand-header .befit-home-icon:not([hidden])~.befit-header-client{margin-left:0!important}

body #panel .befit-welcome-links strong{color:#e7f1db!important}body #panel .befit-welcome-links span{color:#b6c6a6!important}

/* Home uses the same visual weight and dimensions as the other header icons. */
body.befit-brand-page-active #befit-brand-header .befit-home-icon{width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;flex:0 0 44px!important;padding:10px!important;border:1px solid #71845b55!important;border-radius:10px!important;background:#24301e!important;color:#dce7d0!important;box-shadow:none!important;font-weight:500;line-height:1}
body.befit-brand-page-active #befit-brand-header .befit-home-icon svg{width:20px;height:20px}
@media(max-width:1099px){body.befit-brand-page-active #befit-brand-header .befit-home-icon{margin-right:8px!important}}
@media(max-width:700px){body.befit-brand-page-active #befit-brand-header .befit-home-icon{width:34px!important;min-width:34px!important;height:34px!important;min-height:34px!important;flex-basis:34px!important;padding:8px!important;background:transparent!important;margin-right:8px!important}body.befit-brand-page-active #befit-brand-header .befit-home-icon svg{width:16px!important;height:16px!important}}
body.befit-adaptive-header.befit-brand-page-active #befit-brand-header .befit-home-icon{width:34px!important;min-width:34px!important;height:34px!important;min-height:34px!important;flex-basis:34px!important;padding:8px!important;background:transparent!important}body.befit-adaptive-header #befit-brand-header .befit-home-icon svg{width:16px!important;height:16px!important}
body #account-navigation .befit-fullscreen-status{font-size:12px;line-height:1.5;color:#becfb0;white-space:normal;margin:8px 6px}
body #account-navigation .befit-fullscreen-status:empty{display:none}

body #panel .befit-welcome-links button{padding-right:22px}
/* Keep Home in the same right-aligned icon group for the student. */
body.befit-student-layout.befit-brand-page-active #befit-brand-header .befit-brand-action-row{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-left:auto}
body.befit-student-layout.befit-brand-page-active #befit-brand-header .befit-brand-action-row .befit-home-icon:not([hidden]){margin:0!important}
body.befit-student-layout.befit-brand-page-active #befit-brand-header .befit-brand-action-row .befit-brand-actions{margin-left:0!important;padding-left:0!important}
body.befit-student-layout.befit-brand-page-active #befit-brand-header .befit-brand-action-row .befit-header-client{margin-left:0!important}
@media(max-width:1099px){body.befit-student-layout.befit-brand-page-active #befit-brand-header .befit-brand-action-row{gap:8px!important}body.befit-student-layout.befit-brand-page-active #befit-brand-header .befit-brand-action-row>.befit-header-client:not([hidden])+.befit-brand-actions{margin-left:0!important}}
body.befit-student-layout.befit-no-flex-gap.befit-brand-page-active #befit-brand-header .befit-brand-action-row .befit-home-icon:not([hidden]){margin-right:8px!important}

/* Every header action, including Home, shares a single icon container. */
body.befit-brand-page-active #befit-brand-header .befit-brand-action-row .befit-brand-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;flex:0 0 auto!important;width:auto!important;margin:0!important;padding:0!important;gap:8px!important}
body.befit-brand-page-active #befit-brand-header .befit-brand-action-row .befit-brand-actions>.befit-home-icon:not([hidden]){margin:0!important}
body.befit-brand-page-active #befit-brand-header .befit-brand-action-row .befit-brand-actions>button{margin-left:0!important;margin-right:0!important}
body.befit-no-flex-gap.befit-brand-page-active #befit-brand-header .befit-brand-action-row .befit-brand-actions{gap:0!important}
body.befit-no-flex-gap.befit-brand-page-active #befit-brand-header .befit-brand-action-row .befit-brand-actions>button:not([hidden])~button:not([hidden]){margin-left:8px!important}

/* Touch tablet header only: readable scale without changing page content. */
@media(min-width:701px) and (max-width:1099px){
body.befit-adaptive-header.befit-brand-page-active #befit-brand-header{grid-template-rows:66px auto!important;background-size:240px auto!important;background-position:center -55px!important;row-gap:8px!important}
body.befit-adaptive-header.befit-brand-page-active #befit-brand-header:before{height:66px!important}
body.befit-adaptive-header.befit-brand-page-active #befit-brand-header .befit-brand-title{font-size:24px!important;line-height:1.25!important}
body.befit-adaptive-header.befit-brand-page-active #befit-brand-header .befit-brand-caption{font-size:10px!important;letter-spacing:1px!important}
body.befit-adaptive-header.befit-brand-page-active #befit-brand-header .befit-header-student-name{font-size:13px!important}
body.befit-adaptive-header.befit-brand-page-active #befit-brand-header .befit-brand-identity-row.has-photo{grid-template-columns:42px minmax(0,1fr)!important;column-gap:10px!important}
body.befit-adaptive-header.befit-brand-page-active #befit-brand-header .befit-header-pt-photo{width:42px!important;height:48px!important;min-width:42px!important}
body.befit-adaptive-header.befit-brand-page-active #befit-brand-header .befit-brand-action-row .befit-brand-actions>button,body.befit-adaptive-header.befit-brand-page-active #befit-brand-header .befit-brand-action-row .befit-brand-actions>button.befit-home-icon{width:40px!important;min-width:40px!important;height:40px!important;min-height:40px!important;flex-basis:40px!important;padding:9px!important}
body.befit-adaptive-header.befit-brand-page-active #befit-brand-header .befit-brand-action-row svg{width:20px!important;height:20px!important}
body.befit-adaptive-header.befit-brand-page-active #befit-brand-header .befit-mobile-menu-toggle{width:40px!important;height:40px!important;min-height:40px!important;grid-column:3}
body.befit-adaptive-header.befit-brand-page-active #befit-brand-header{grid-template-columns:minmax(0,1fr) auto 40px!important}
}
/* Dimensional welcome cards with a restrained sports identity. */
body #panel .befit-welcome-links{gap:18px;margin-top:24px}
body #panel .befit-welcome-links button{display:grid;grid-template-columns:58px minmax(0,1fr);grid-template-rows:auto auto;column-gap:20px;align-content:center;min-height:148px;padding:25px!important;overflow:hidden;isolation:isolate;background:radial-gradient(ellipse at 0 0,#b5dc6520,transparent 60%),linear-gradient(145deg,#304229,#172516 65%,#121e12)!important;border:1px solid #9ab76a5c;border-bottom:3px solid #0a150c;border-radius:20px;box-shadow:0 9px 0 #09130d99,0 18px 30px #0004,inset 0 1px 0 #e9ffd72e,inset -1px -1px 0 #0007!important;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
body #panel .befit-welcome-links button:before{content:'';position:absolute;top:0;left:0;right:0;height:1px;background:linear-gradient(90deg,transparent,#d9f7aa66,transparent);pointer-events:none}
body #panel .befit-welcome-links button:after{content:'';position:absolute;width:120px;height:120px;right:-55px;bottom:-70px;border:1px solid #c5e98f20;border-radius:50%;box-shadow:0 0 0 18px #c5e98f06,0 0 0 36px #c5e98f04;z-index:-1;pointer-events:none}
body #panel .befit-welcome-links .befit-welcome-icon{grid-column:1;grid-row:1/span 2;display:flex;align-items:center;justify-content:center;width:58px;height:62px;margin:0;background:linear-gradient(145deg,#d8f1a6,#a3c96e)!important;color:#25391a!important;border:1px solid #edffca88;border-radius:16px;box-shadow:0 5px 0 #648144,0 10px 18px #0004,inset 0 2px 0 #f3ffdd77;transform:perspective(250px) rotateY(-9deg) rotateX(5deg)}
body #panel .befit-welcome-links .befit-welcome-icon svg{width:27px;height:27px}
body #panel .befit-welcome-links strong{grid-column:2;font-size:20px;line-height:1.25;margin:0 0 7px;color:#f0f6e8!important;letter-spacing:-.3px}
body #panel .befit-welcome-links button>span:not(.befit-welcome-icon){grid-column:2;font-size:13px;line-height:1.5;color:#b9cbb0!important}
@media(hover:hover) and (prefers-reduced-motion:no-preference){body #panel .befit-welcome-links button:hover{transform:translateY(-4px);border-color:#c6e88b88;box-shadow:0 12px 0 #09130d99,0 24px 36px #0005,inset 0 1px 0 #e9ffd744!important}}
@media(max-width:700px){body #panel .befit-welcome-links{gap:16px}body #panel .befit-welcome-links button{grid-template-columns:48px minmax(0,1fr);column-gap:16px;min-height:126px;padding:21px 18px!important;border-radius:18px}body #panel .befit-welcome-links .befit-welcome-icon{width:48px;height:52px;border-radius:13px}body #panel .befit-welcome-links strong{font-size:18px}}
@media(prefers-reduced-motion:reduce){body #panel .befit-welcome-links button{transition:none!important}body #panel .befit-welcome-links .befit-welcome-icon{transform:none}}
body.befit-no-flex-gap.befit-brand-page-active #befit-brand-header .befit-brand-action-row .befit-brand-actions>.befit-home-icon:not([hidden]){margin-left:0!important;margin-right:0!important}
