:root{--hub-primary:#5768f3;--hub-ink:#243047;--hub-muted:#7b8498;--hub-line:#e8ecf3}
body.hub-body{color:var(--hub-ink)}.hub-body .content-wrapper{background:#f3f5fa;padding:2rem}.hub-body .card{border:1px solid var(--hub-line);border-radius:12px;box-shadow:0 3px 14px #202e4a06}.hub-body .card-body{padding:1.5rem}.hub-body h1{font-size:1.75rem;font-weight:700;margin-bottom:.55rem}.hub-body .card-title{font-size:1rem;text-transform:none;line-height:1.5}.hub-body .btn{border-radius:7px;line-height:1.5}.hub-body .form-control,.hub-body .form-select{min-height:42px;border-radius:7px;border-color:#dde3ed;font-size:.875rem;color:var(--hub-ink)}.hub-body label{font-size:.83rem;font-weight:600;margin-bottom:.5rem}.hub-brand{display:flex!important;align-items:center;gap:10px;color:var(--hub-ink)!important;font-size:20px!important;font-weight:700}.hub-brand small{display:block;font-size:8px;letter-spacing:1.3px;margin-top:5px}.hub-brand-mark{display:inline-flex;align-items:center;justify-content:center;background:var(--hub-primary);color:white;width:36px;height:36px;border-radius:10px;font-weight:800;font-size:24px}.hub-body .navbar-brand-wrapper{gap:12px}.hub-body .navbar-menu-wrapper{box-shadow:0 2px 10px #00000006}.hub-role-label{font-size:.85rem;font-weight:600}.hub-nav-profile{display:flex;align-items:center;gap:10px}.hub-body .sidebar .nav .nav-item .nav-link .menu-title{white-space:normal;line-height:1.5;font-size:.82rem}.hub-body .sidebar .nav .nav-item .nav-link{padding:12px 20px}.hub-body .sidebar .nav .nav-item.active>.nav-link{background:#eef0ff;color:var(--hub-primary);border-left:3px solid var(--hub-primary)}.hub-page-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:1.5rem}.hub-eyebrow{font-size:.65rem;letter-spacing:1.4px;font-weight:700;color:var(--hub-muted);margin-bottom:.6rem}.hub-date{font-size:.75rem;color:var(--hub-muted);white-space:nowrap}.hub-stat{margin-bottom:1.5rem}.hub-stat .card-body{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:132px}.hub-stat-label{font-size:.78rem;color:var(--hub-muted);margin-bottom:.6rem}.hub-stat-value{font-size:1.65rem;font-weight:700;margin:0;overflow-wrap:anywhere}.hub-stat-note{font-size:.7rem;color:var(--hub-muted);margin-top:.4rem}.hub-stat-icon{width:46px;height:46px;flex-shrink:0;display:grid;place-items:center;border-radius:12px;background:#eef0ff;color:var(--hub-primary);font-size:20px}.hub-welcome{background:linear-gradient(120deg,#5665e8,#7f6bef);color:#fff;border:0!important}.hub-welcome .card-body{display:flex;align-items:center;justify-content:space-between;padding:2rem}.hub-welcome .hub-eyebrow{color:#dee0ff}.hub-welcome h2{font-size:1.6rem;font-weight:700}.hub-welcome p{color:#e2e5ff}.hub-welcome-icon{font-size:80px;opacity:.35;padding:0 2rem}.hub-card-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:1.5rem}.hub-card-heading>a{font-size:.8rem}.hub-shortcuts>a{display:flex;align-items:center;gap:12px;padding:12px 0;color:var(--hub-ink);font-size:.8rem;text-decoration:none;border-bottom:1px solid var(--hub-line)}.hub-shortcuts>a>i:last-child{margin-left:auto;font-size:.7rem}.hub-shortcut-icon{display:grid;place-items:center;width:36px;height:36px;background:#eef0ff;color:var(--hub-primary);border-radius:8px;flex-shrink:0}.hub-split{display:flex;gap:10px}.hub-split>span{flex:1;background:#f5f6ff;border-radius:8px;padding:16px;font-size:1.5rem;font-weight:700;color:var(--hub-primary)}.hub-split small{display:block;font-size:.7rem;margin-top:8px;font-weight:400}.hub-chart{height:220px;margin-bottom:24px}.hub-actions{display:flex;gap:8px;flex-wrap:wrap}.hub-table-toolbar{display:flex;justify-content:space-between;gap:16px;margin-bottom:20px}.hub-search{position:relative;flex:1;max-width:420px}.hub-search>i{position:absolute;top:14px;left:14px;font-size:14px;color:var(--hub-muted)}.hub-search>input{padding-left:38px}.hub-table-toolbar>.form-select{width:180px}.hub-table thead th{background:#f8f9fc;color:#788396;font-size:.72rem;font-weight:600;border-bottom:1px solid var(--hub-line)}.hub-table td{font-size:.8rem;line-height:1.5;padding:16px 12px;max-width:260px}.hub-table th{padding:14px 12px}.hub-table td.hub-wrap{white-space:normal;min-width:200px}.hub-table td:last-child{white-space:nowrap}.hub-table-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:20px}.hub-badge{display:inline-block;border-radius:6px;padding:5px 10px;font-size:.7rem;background:#eef0ff;color:#5562c2}.hub-badge.success{background:#e7f6ef;color:#238760}.hub-badge.warning{background:#fff2db;color:#a66a08}.hub-badge.danger{background:#fdeced;color:#c44e5a}.hub-empty{padding:40px!important;text-align:center;color:var(--hub-muted)}.hub-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.hub-price{font-size:1.8rem;font-weight:700;color:var(--hub-primary);margin:20px 0}.hub-price small{font-size:.75rem;font-weight:400;color:var(--hub-muted)}.hub-package-details{list-style:none;padding:0;font-size:.83rem;color:var(--hub-muted)}.hub-package-details li{padding:8px 0}.hub-package-details i{color:#23a282;margin-right:10px}.hub-photo{max-width:100%;max-height:240px;border-radius:8px;object-fit:contain}.hub-photo-thumb{width:60px;height:45px;object-fit:cover!important;border-radius:6px!important}.hub-body .modal-content{border:0;border-radius:12px}.hub-body .modal-body{padding:24px}.hub-body .modal-footer{padding:16px 24px}.hub-backdrop{display:none}.hub-login{min-height:100vh;background:#f3f5fa;display:grid;place-items:center;padding:24px}.hub-login-layout{width:100%;max-width:940px;display:grid;grid-template-columns:1fr 1fr;background:#fff;border-radius:18px;overflow:hidden;box-shadow:0 12px 50px #28396614}.hub-login-intro{background:linear-gradient(140deg,#5365e9,#826cef);color:#fff;padding:52px 40px;display:flex;flex-direction:column;justify-content:center}.hub-login-intro h1{font-size:2.3rem;font-weight:700;line-height:1.25}.hub-login-intro p{color:#e4e6ff;line-height:1.8}.hub-login-form{padding:42px}.hub-login-form h2{font-size:1.6rem;font-weight:700}.hub-login-form label{display:block}.hub-login-form .btn{width:100%}.hub-login-form .hub-brand{margin-bottom:32px}.hub-login-note{font-size:.78rem;line-height:1.7;color:var(--hub-muted);margin-top:20px}.hub-body a:focus-visible,.hub-body button:focus-visible{outline:3px solid #93a3ff;outline-offset:3px}.hub-avatar{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;flex-shrink:0;border-radius:50%;background:#eef0ff;color:#5768f3;font-size:12px;font-weight:700}.hub-body .sidebar .profile-image{position:relative}.hub-body .sidebar .nav-profile .profile-image{width:36px;height:36px}.hub-body .navbar-brand-wrapper{background:#fff}.hub-body .navbar-brand.brand-logo-mini{display:none}.hub-body .navbar .navbar-brand-wrapper .navbar-brand{line-height:1.2;padding:0;margin:0}.hub-body .navbar .navbar-brand-wrapper .navbar-brand.brand-logo{flex-shrink:0}.hub-body .navbar .navbar-brand-wrapper .navbar-brand.brand-logo-mini{display:none}.hub-body .hub-brand-mark{flex-shrink:0}.hub-body .navbar .navbar-menu-wrapper{min-width:0}.hub-body .navbar .navbar-menu-wrapper .navbar-toggler{padding:0 8px;height:44px}.hub-body .sidebar .nav .nav-item.active:not(.navbar-brand-mini-wrapper)>.nav-link .menu-title,.hub-body .sidebar .nav .nav-item.active:not(.navbar-brand-mini-wrapper)>.nav-link i{color:#5768f3}.hub-body .sidebar .nav .nav-item.nav-category .nav-link{color:#adb7d4}.hub-body .hub-stat:last-child .hub-stat-value{font-size:1.15rem}
/* Tab halaman yang digabung, menggunakan komponen nav Bootstrap. */
.hub-section-tabs{gap:6px;border-bottom:1px solid #dce2ee}
.hub-section-tabs .nav-link{border-radius:8px 8px 0 0;font-size:.83rem;padding:12px 18px;color:#707c94}
.hub-section-tabs .nav-link.active{color:#5768f3;background:#fff;border-color:#dce2ee #dce2ee #fff;font-weight:600}
.hub-section-tabs .nav-link:hover{color:#5768f3}

/* All roles share the same viewport-safe popup layout. */
.hub-body .hub-record-modal .modal-dialog{
 width:calc(100% - 24px);
 max-width:800px;
 margin:12px auto;
 height:calc(100% - 24px);
 height:calc(100dvh - 24px);
}
.hub-body .hub-record-modal .modal-dialog .modal-content{max-height:100%;overflow:hidden}
.hub-body .hub-record-modal .modal-dialog .modal-content .modal-body{min-height:0;overflow-y:auto}
.hub-body .hub-record-modal .modal-dialog .modal-content .modal-footer{flex-wrap:nowrap}
.hub-body .hub-record-modal .modal-dialog .modal-content .modal-footer > .btn{min-height:44px}


/* Ketetapan hari latihan dan pengingat sesi PT. */
.hub-training-picker{border:1px solid #dfe5f5;border-radius:12px;padding:18px;background:#f8f9ff;min-width:0}
.hub-training-picker legend{float:none;width:auto;font-size:.92rem;font-weight:700;margin-bottom:8px}
.hub-training-picker legend i{color:var(--hub-primary);margin-right:6px}
.hub-day-options{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}
.hub-body .hub-day-choice{position:relative;margin:0;cursor:pointer;min-width:0}
.hub-day-choice input{position:absolute;opacity:0;width:1px;height:1px}
.hub-day-choice span{display:flex;justify-content:center;align-items:center;min-height:44px;background:#fff;border:1px solid #dce2ee;border-radius:9px;font-size:.76rem;transition:background .15s}
.hub-day-choice input:checked+span{background:var(--hub-primary);border-color:var(--hub-primary);color:#fff;box-shadow:0 3px 8px #5768f326}
.hub-day-choice input:focus-visible+span{outline:3px solid #93a3ff;outline-offset:2px}
.hub-training-frequency{color:var(--hub-primary);font-size:.8rem;font-weight:600;margin:12px 0}
.hub-body .hub-auto-schedule{display:flex;align-items:center;gap:9px;line-height:1.5}
.hub-auto-schedule input{accent-color:var(--hub-primary);width:18px;height:18px;flex-shrink:0}
.hub-training-preview{border-top:1px solid #e2e7f3;padding-top:12px;margin-top:12px;font-size:.78rem;line-height:1.7;color:#53628b}
.hub-training-days{display:flex;flex-wrap:wrap;gap:5px;min-width:170px;white-space:normal}
.hub-body .hub-notification-toggle{position:relative;min-width:38px;min-height:44px;display:grid;place-items:center;font-size:19px;color:var(--hub-ink);padding:0 8px}
.hub-body .hub-notification-badge{position:absolute;top:2px;right:0;background:#ec5264;color:#fff;min-width:17px;height:17px;border-radius:20px;padding:0 4px;font-size:9px;font-weight:700;display:grid;place-items:center;border:2px solid #fff}
.hub-notification-badge[hidden],.hub-reminders[hidden]{display:none!important}
.hub-body .hub-notification-menu{width:360px;max-width:calc(100vw - 24px);padding:0;border:1px solid var(--hub-line);border-radius:14px;box-shadow:0 12px 40px #24304726;overflow:hidden}
.hub-notification-header{padding:18px;background:#f8f9ff;border-bottom:1px solid var(--hub-line)}
.hub-notification-header strong{display:block;font-size:.92rem}.hub-notification-header span{display:block;color:var(--hub-muted);font-size:.73rem;margin-top:6px}
.hub-notification-list{margin:0;padding:0;list-style:none;max-height:min(420px,60dvh);overflow-y:auto;overscroll-behavior:contain}
.hub-notification-item{padding:16px 18px;border-bottom:1px solid var(--hub-line)}
.hub-notification-member{display:flex;align-items:center;gap:10px}
.hub-notification-member>div{min-width:0}
.hub-notification-member strong{display:block;font-size:.83rem;overflow-wrap:anywhere}
.hub-notification-member small{display:block;font-size:.7rem;line-height:1.7;color:var(--hub-muted);margin-top:4px}
.hub-notification-item p{font-size:.73rem;color:#9c6a20;margin:10px 0}
.hub-notification-actions{display:flex;align-items:center;justify-content:space-between;gap:10px}
.hub-notification-actions a,.hub-notification-footer a{font-size:.75rem;text-decoration:none}
.hub-notification-footer{padding:14px 18px;background:#f8f9ff;text-align:center}
.hub-notification-empty{padding:30px 18px;text-align:center;display:grid;gap:12px;color:var(--hub-muted)}
.hub-notification-empty i{font-size:24px;color:#238760}.hub-notification-empty strong{font-size:.8rem}.hub-notification-empty span{font-size:.72rem;line-height:1.6}
.hub-body .hub-reminders{border-color:#ead8ad;background:linear-gradient(110deg,#fffcf3,#fff)}
.hub-reminder-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:6px}
.hub-reminder-heading h2{font-size:1.1rem;font-weight:700;margin-bottom:6px}.hub-reminder-heading p{font-size:.78rem;color:var(--hub-muted);margin-bottom:12px}
.hub-reminder-row{display:flex;align-items:center;gap:14px;padding:16px 0;border-top:1px solid #eee5d2}
.hub-reminder-icon{display:grid;place-items:center;flex-shrink:0;width:38px;height:38px;color:#af7a14;background:#fff0cb;border-radius:11px}
.hub-reminder-detail{flex:1;min-width:0}.hub-reminder-detail strong{display:block;font-size:.9rem;overflow-wrap:anywhere}
.hub-reminder-detail span{display:block;font-size:.75rem;color:var(--hub-muted);margin-top:6px;line-height:1.6}
.hub-reminder-detail small{display:block;color:#a47113;font-size:.72rem;margin-top:5px}
.hub-reminder-row .btn{flex-shrink:0}.hub-reminder-footnote{font-size:.7rem;line-height:1.7;color:var(--hub-muted);margin:4px 0 0}
@media(max-width:767px){.hub-day-options{grid-template-columns:repeat(4,minmax(0,1fr))}.hub-training-picker{padding:14px}.hub-reminder-row{flex-wrap:wrap;gap:10px}.hub-reminder-row>.btn{width:100%;min-height:44px}.hub-notification-dropdown{position:static!important}.hub-body .hub-notification-menu{position:fixed!important;top:68px!important;right:12px!important;left:auto!important;transform:none!important}.hub-notification-list{max-height:calc(100dvh - 230px)}}
@media print{.hub-reminders,.hub-notification-dropdown{display:none!important}}

/* Package usage and early leave confirmation. */
.hub-notification-title{display:flex;justify-content:space-between;align-items:center;gap:12px}
.hub-notification-title .btn{flex-shrink:0;min-height:36px;display:inline-flex;align-items:center;gap:6px}
.hub-notification-actions{flex-wrap:wrap;justify-content:flex-start;gap:8px}
.hub-notification-actions>.btn{min-height:40px;display:inline-flex;align-items:center;gap:6px;white-space:normal}
.hub-reminder-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;max-width:100%}
.hub-reminder-actions .btn{min-height:40px;white-space:normal}
.hub-session-legend{display:flex;flex-wrap:wrap;gap:10px 18px;margin:18px 0 22px;font-size:.75rem;color:var(--hub-muted)}
.hub-session-legend>span{display:inline-flex;align-items:center;gap:7px}
.hub-session-legend>span:before{content:"";width:9px;height:9px;border-radius:50%;background:#238760;flex-shrink:0}
.hub-session-legend>.warning:before{background:#e1aa20}.hub-session-legend>.danger:before{background:#df4f64}
.hub-session-progress-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.hub-session-member{--session-color:#238760;min-width:0;padding:20px;border:1px solid var(--hub-line);border-radius:12px;background:#fff}
.hub-session-member.warning{--session-color:#e1aa20}.hub-session-member.danger{--session-color:#df4f64;border-color:#f2d3d9}.hub-session-member.neutral{--session-color:#8793a9}
.hub-session-member-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.hub-session-member-heading>div{min-width:0}.hub-session-member-heading h3{font-size:.95rem;font-weight:700;margin:0 0 7px;overflow-wrap:anywhere}
.hub-session-member-heading p,.hub-session-package{font-size:.76rem;color:var(--hub-muted);line-height:1.6;margin:0;overflow-wrap:anywhere}
.hub-session-member-heading .hub-badge{white-space:normal;flex-shrink:0;max-width:45%;text-align:center;line-height:1.5}
.hub-session-package{margin:12px 0}
.hub-session-numbers{display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:.8rem;margin-bottom:10px}
.hub-session-track{height:11px;border-radius:20px;overflow:hidden;background:#eef1f6}
.hub-session-track>span{display:block;height:100%;border-radius:inherit;background:var(--session-color)}
.hub-session-member-footer{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;margin-top:14px;font-size:.76rem;color:var(--hub-muted)}
.hub-session-member-footer .btn{min-height:40px;white-space:normal;line-height:1.5}
.hub-session-contact-missing{font-size:.72rem;overflow-wrap:anywhere}
@media(max-width:767px){
 .hub-session-progress-grid{grid-template-columns:minmax(0,1fr);gap:14px}
 .hub-session-member{padding:16px}
 .hub-session-member-footer .btn{width:100%;min-height:44px}
 .hub-reminder-actions{width:100%;justify-content:flex-start}
 .hub-reminder-actions .btn{flex:1 1 140px;min-height:44px}
 .hub-notification-actions>.btn{flex:1 1 120px;min-height:44px;justify-content:center}
}
/* Consistent table controls and report filter actions. */
.hub-filter-notice{font-size:.76rem;line-height:1.6;color:var(--hub-muted);margin:12px 0 18px}
.hub-filter-actions{flex-shrink:0;align-items:center}
.hub-filters+.hub-filter-notice+.hub-filter-actions,.hub-filters+.hub-filter-actions{margin-top:16px}
.hub-table-toolbar{flex-wrap:wrap;align-items:center}
.hub-table-toolbar .hub-search{min-width:180px}
.hub-table-toolbar .btn,.hub-table-footer .btn,.hub-filter-actions .btn{min-height:42px}
.hub-aux-toolbar{margin:18px 0 14px}
.hub-aux-toolbar .hub-search{max-width:420px}
.hub-aux-toolbar+.table-responsive{max-width:100%}
.hub-table tr[hidden],.hub-session-progress-grid>[hidden],#slotTrainers>[hidden],.hub-empty[hidden]{display:none!important}
.hub-table-footer>span{line-height:1.7}
.hub-slot-controls .hub-filter-actions{margin-top:20px}
@media(max-width:767px){
 .hub-table-toolbar{gap:10px}
 .hub-table-toolbar .hub-search{flex:1 1 100%;max-width:none;min-width:0;width:100%}
 .hub-table-toolbar>.form-select{width:100%;flex:1 1 100%}
 .hub-table-toolbar .hub-actions,.hub-filter-actions{width:100%}
 .hub-table-toolbar .hub-actions>.btn,.hub-filter-actions>.btn{flex:1;min-height:44px}
 .hub-table-footer{flex-wrap:wrap;gap:10px}
 .hub-table-footer>span{flex:1 1 100%}
 .hub-table-footer .hub-actions{width:100%}
 .hub-table-footer .hub-actions>.btn{flex:1;min-height:44px}
 .hub-slot-controls .hub-filter-actions{margin-top:0}
}
@media print{.hub-filter-actions,.hub-filter-notice,.hub-aux-toolbar,.hub-table-footer{display:none!important}}

/* Five-card summary rows: desktop slider, normal responsive rows on mobile. */
.hub-stat-carousel{min-width:0;margin-bottom:24px}
.hub-stat-carousel-controls{display:flex;justify-content:flex-end;align-items:center;gap:8px;margin-bottom:10px}
.hub-stat-carousel-controls[hidden]{display:none!important}
.hub-stat-carousel-controls>span{font-size:.75rem;color:#71809a;margin-right:4px}
.hub-stat-carousel-controls>.btn{display:grid;place-items:center;width:44px;height:44px;padding:0;border-radius:50%}
@media(min-width:992px){
 .hub-body .hub-stats-carousel-track.row{display:flex;flex-wrap:nowrap;gap:20px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#c3cbea #edf0f7;margin:0;padding:4px 2px 14px;min-width:0}
 .hub-body .hub-stats-carousel-track.row>.hub-stat{flex:0 0 340px;width:340px;max-width:340px;margin-bottom:0;padding:0;scroll-snap-align:start}
 .hub-stats-carousel-track{cursor:grab}
 .hub-stats-carousel-track.is-dragging{cursor:grabbing;user-select:none;scroll-snap-type:none!important}
 .hub-stats-carousel-track::-webkit-scrollbar{height:7px}
 .hub-stats-carousel-track::-webkit-scrollbar-track{background:#edf0f7;border-radius:6px}
 .hub-stats-carousel-track::-webkit-scrollbar-thumb{background:#c3cbea;border-radius:6px}
}
@media(max-width:991.98px){.hub-stat-carousel-controls{display:none}.hub-stat-carousel{margin-bottom:0}}
@media print{.hub-stat-carousel-controls{display:none!important}.hub-body .hub-stats-carousel-track.row{display:flex!important;flex-wrap:wrap!important;overflow:visible!important}.hub-body .hub-stats-carousel-track.row>.hub-stat{flex:1 1 30%;width:auto;max-width:none}}

/* Compact, accessible row actions shared by every role. */
.hub-body .hub-table .hub-action-column{width:1%;max-width:none;white-space:nowrap}
.hub-row-actions{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.hub-body .hub-icon-action{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;min-height:44px;padding:0;font-size:17px}
.hub-body .hub-training-menu{position:fixed;z-index:1040;width:220px;max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);overflow-y:auto;padding:6px;background:#fff;border:1px solid var(--hub-line);border-radius:10px;box-shadow:0 12px 36px #24304726}
.hub-body .hub-training-menu-item{display:flex;align-items:center;gap:12px;width:100%;min-height:44px;padding:10px 12px;border:0;border-radius:6px;background:transparent;color:var(--hub-ink);font-size:.82rem;text-align:left;line-height:1.5}
.hub-training-menu-item i{color:var(--hub-primary);font-size:16px;flex-shrink:0}
.hub-body .hub-training-menu-item:hover,.hub-body .hub-training-menu-item:focus-visible{background:#eef0ff;color:var(--hub-primary)}
.hub-body .hub-training-menu-item:focus-visible{outline-offset:-3px}
.hub-filter-notice[hidden],#reportSummary[hidden]{display:none!important}
@media print{.hub-training-menu{display:none!important}}

/* Shared logo keeps its proportions in every header and on the login page. */
.hub-body img.hub-brand-logo{display:block;flex-shrink:0;object-fit:contain;border-radius:50%;background:#fff}
.hub-body .navbar .navbar-brand-wrapper .navbar-brand.brand-logo{width:auto;max-width:100%;min-width:0}
.hub-body .navbar .navbar-brand-wrapper .navbar-brand img.hub-brand-logo{width:46px;height:46px}
.hub-body .navbar .navbar-brand-wrapper .navbar-brand.brand-logo-mini{width:32px;min-width:32px}
.hub-body .navbar .navbar-brand-wrapper .navbar-brand.brand-logo-mini img.hub-brand-logo{width:32px;height:32px}
.hub-body .navbar .hub-brand{gap:8px}
.hub-login-form .hub-brand{gap:12px;text-decoration:none}
.hub-login-form img.hub-brand-logo{width:64px;height:64px}
@media(max-width:480px){
 .hub-body .navbar .navbar-brand-wrapper .navbar-brand.brand-logo img.hub-brand-logo{width:38px;height:38px}
 .hub-login-form img.hub-brand-logo{width:56px;height:56px}
}
@media(max-width:360px){
 .hub-body .navbar .navbar-brand-wrapper .navbar-brand.brand-logo img.hub-brand-logo{width:34px;height:34px}
}

/* Account profile photos keep the same footprint in navigation and tables. */
img.hub-profile-photo{display:inline-block;object-fit:cover!important;object-position:center;border-radius:50%!important;flex-shrink:0;background:#eef0ff}
.hub-body .navbar .hub-nav-profile img.hub-profile-photo,.hub-body .sidebar .profile-image img.hub-profile-photo{width:36px!important;height:36px!important;max-width:none}
.hub-profile-table-photo{width:40px!important;height:40px!important;max-width:none}
.hub-profile-heading{display:flex;align-items:center;gap:18px;min-width:0}
.hub-profile-heading>div{min-width:0}.hub-profile-heading h2,.hub-profile-heading p{overflow-wrap:anywhere}
.hub-profile-overview-photo{width:80px;height:80px;border:3px solid #eef0ff}
.hub-profile-role{font-size:.76rem;color:#6273a1;margin:0 0 6px}
.hub-profile-uploader{display:flex;align-items:center;gap:22px;padding:18px;border:1px solid #e1e6f0;border-radius:12px;background:#f8f9fd}
.hub-profile-preview{width:112px!important;height:112px!important}
.hub-profile-upload-controls{min-width:0;flex:1}
.hub-profile-upload-controls .btn{min-height:44px;white-space:normal}
.hub-profile-upload-controls .form-control{width:100%;max-width:100%;padding:10px;font-size:.8rem}
.hub-profile-upload-controls [hidden]{display:none!important}
@media(max-width:767px){.hub-profile-heading{gap:12px}.hub-profile-overview-photo{width:64px;height:64px}.hub-profile-uploader{flex-direction:column;align-items:stretch;gap:16px;padding:16px}.hub-profile-preview{align-self:center}.hub-profile-upload-controls .btn{width:100%}.hub-body[data-role] .hub-card-heading:has(.hub-profile-heading){align-items:flex-start;flex-direction:column}.hub-card-heading:has(.hub-profile-heading)>.hub-actions{width:100%}.hub-card-heading:has(.hub-profile-heading)>.hub-actions .btn{width:100%}}

/* Keep the PT photo reachable alongside notifications on compact headers. */
.hub-body .navbar .hub-nav-profile img.hub-profile-photo{margin:0!important}
@media(max-width:480px){
 .hub-body[data-role="personal-trainer"] .navbar .navbar-menu-wrapper .navbar-nav .hub-profile-item{display:block}
 .hub-body .navbar .navbar-menu-wrapper .hub-nav-profile{gap:0;padding:0;min-width:36px;min-height:44px}
}
@media(max-width:360px){
 .hub-body[data-role="personal-trainer"] .navbar .navbar-menu-wrapper .navbar-nav .nav-item{margin:0}
 .hub-body[data-role="personal-trainer"] .navbar .navbar-menu-wrapper .navbar-nav .nav-item .nav-link{margin:0}
}
