.bad-app{--ba-orange:#f47720;--ba-dark:#121316;--ba-border:#e9e9ec;display:flex;min-height:85vh;background:#f5f5f7;color:#18191c;font-family:Inter,'Segoe UI',Arial,sans-serif;font-size:15px;line-height:1.5;border-radius:18px;overflow:hidden}.bad-app *{box-sizing:border-box}.bad-app a{text-decoration:none}.bad-sidebar{width:254px;flex:0 0 254px;background:#141517;color:#fff;display:flex;flex-direction:column;padding:25px 17px}.bad-brand{display:flex;align-items:center;gap:9px;padding:5px 5px 30px;border-bottom:1px solid #303034}.bad-brand img{width:62px;height:62px;object-fit:contain}.bad-brand span{font-size:17px;font-weight:900;letter-spacing:.3px;white-space:nowrap}.bad-brand b{color:#f47720}.bad-brand small{display:block;font-size:8px;letter-spacing:2px;color:#b4b4b6}.bad-nav-label{font-size:10px;color:#82858d;letter-spacing:2px;margin:29px 15px 12px}.bad-sidebar nav{display:flex;flex-direction:column;gap:7px}.bad-sidebar nav a{color:#b9bac0;padding:13px 14px;border-radius:12px;display:flex;align-items:center;gap:12px;font-weight:600}.bad-sidebar nav a:hover,.bad-sidebar nav a.active{background:#f47720;color:#fff}.bad-nav-dot{width:9px;height:9px;border:2px solid currentColor;border-radius:50%;flex-shrink:0}.bad-side-bottom{margin-top:auto;padding:35px 13px 5px;display:flex;flex-direction:column;gap:12px;font-size:12px;color:#9b9ba0}.bad-side-bottom a{color:#f47720}.bad-main{min-width:0;flex:1;padding:35px clamp(18px,3vw,48px)}.bad-top{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:29px}.bad-eyebrow{color:#ef7422;letter-spacing:2px;font-size:10px;font-weight:800;margin-bottom:6px}.bad-top h1{font-size:clamp(24px,2.3vw,34px);font-weight:800;margin:0;line-height:1.25}.bad-top p{margin:7px 0 0;color:#81828a}.bad-profile{display:flex;align-items:center;gap:10px;font-weight:700;white-space:nowrap}.bad-profile>span{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#f47720;color:#fff;font-weight:800}.bad-profile small{display:block;font-size:11px;color:#888;font-weight:400}.bad-hero{border-radius:22px;min-height:220px;padding:35px 38px;background:linear-gradient(110deg,#202125,#101114);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:20px;overflow:hidden;position:relative}.bad-hero:before{content:'';position:absolute;width:250px;height:250px;border:2px solid rgba(244,119,32,.28);border-radius:50%;right:7%;top:-90px}.bad-hero>div{position:relative;z-index:1}.bad-hero-tag{font-size:10px;color:#f9a46b;letter-spacing:2px;font-weight:800}.bad-hero h2{font-size:clamp(25px,3vw,39px);font-weight:850;margin:10px 0;max-width:570px;line-height:1.16;color:white}.bad-hero p{color:#c3c3c6;margin:0;max-width:550px}.bad-hero-mark{font-weight:900;font-style:italic;color:#f47720;font-size:90px;line-height:1;opacity:.7;letter-spacing:-9px}.bad-hero-mark span{display:block;font-size:18px;letter-spacing:8px;color:#fff;text-align:center}.bad-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:23px 0}.bad-stat,.bad-panel{background:#fff;border:1px solid var(--ba-border);border-radius:18px}.bad-stat{padding:24px;min-height:160px}.bad-stat small{display:block;font-size:11px;font-weight:800;color:#777b84;letter-spacing:1px}.bad-stat strong{display:block;font-size:42px;font-weight:850;margin:10px 0 0;line-height:1.1}.bad-stat strong.bad-word{font-size:23px}.bad-stat span{display:block;color:#92939a;font-size:12px;margin-top:12px}.bad-panel{padding:26px 29px;margin-bottom:24px}.bad-panel h2{font-size:21px;font-weight:800;margin:0 0 12px}.bad-panel>p{color:#777b84}.bad-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.bad-panel-head h2{margin:0}.bad-pill{display:inline-block;border-radius:50px;background:#fff0e6;color:#b95b17;padding:6px 11px;font-size:11px;font-weight:700;white-space:nowrap}.bad-list-row{display:flex;justify-content:space-between;align-items:center;gap:15px;border-top:1px solid #eeeef0;padding:17px 2px}.bad-list-row b{display:block;font-size:14px}.bad-list-row small{display:block;color:#96969b;margin-top:3px}.bad-footer{text-align:center;color:#999;font-size:11px;padding:10px}.bad-alert{padding:13px;background:#fff0df;border-radius:12px;margin:0 0 20px;color:#8b4c15}.bad-auth{background:#18191b;color:#fff;border-radius:20px;padding:45px;text-align:center}.bad-auth h2{color:#fff}.bad-auth a{display:inline-block;background:#f47720;color:#fff;padding:12px 24px;border-radius:9px}@media(max-width:960px){.bad-sidebar{width:210px;flex-basis:210px}.bad-hero-mark{display:none}.bad-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.bad-app{display:block;border-radius:12px}.bad-sidebar{width:auto;padding:12px}.bad-brand{padding:4px 8px 10px}.bad-brand img{height:43px;width:43px}.bad-nav-label,.bad-side-bottom{display:none}.bad-sidebar nav{flex-direction:row;overflow-x:auto;padding:8px 0}.bad-sidebar nav a{white-space:nowrap;font-size:12px;padding:10px}.bad-main{padding:20px 15px}.bad-top{align-items:flex-start}.bad-profile{display:none}.bad-hero{padding:25px;min-height:190px}.bad-stats{gap:10px}.bad-stat{padding:17px;min-height:135px}.bad-stat strong{font-size:30px}.bad-panel{padding:20px 16px}.bad-panel-head{flex-wrap:wrap}}@media(max-width:400px){.bad-stats{grid-template-columns:1fr}}

/* Elementor modular components */
.bad-block{--ba-orange:#f47720;--ba-border:#e9e9ec;color:#18191c;font-family:Inter,'Segoe UI',Arial,sans-serif;box-sizing:border-box;line-height:1.5}.bad-block *{box-sizing:border-box}.bad-block .bad-hero{min-height:190px}.bad-block .bad-stats{margin-bottom:0}.bad-block .bad-panel{margin-bottom:0}.bad-mod-menu{background:#141517;border-radius:18px;padding:18px;color:white}.bad-mod-logo{text-align:center;border-bottom:1px solid #333;padding:10px 0 20px}.bad-mod-logo img{max-width:185px;max-height:135px;object-fit:contain}.bad-mod-menu nav{display:flex;flex-direction:column;gap:5px;padding-top:15px}.bad-mod-menu nav a{display:block;color:#ddd;text-decoration:none;padding:12px 14px;border-radius:10px;font-weight:600}.bad-mod-menu nav a:hover{background:#f47720;color:#fff}.bad-mod-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 4px}.bad-mod-header small{color:#f47720;font-weight:800;letter-spacing:2px}.bad-mod-header h2{font-size:30px;margin:5px 0;color:#18191c}.bad-mod-header p{color:#777;margin:0}.bad-mod-avatar{background:#f47720;color:#fff;border-radius:50%;width:48px;height:48px;display:grid;place-items:center;font-weight:800}.bad-mod-section{scroll-margin-top:25px}.bad-block .bad-panel{background:#fff;border:1px solid #e9e9ec;border-radius:18px;padding:25px}.bad-block .bad-list-row{display:flex;justify-content:space-between;gap:15px;border-top:1px solid #eee;padding:15px 0}.bad-block .bad-list-row b,.bad-block .bad-list-row small{display:block}.bad-block .bad-list-row small{color:#888}.bad-block .bad-hero h2{color:#fff}@media(max-width:700px){.bad-mod-menu nav{flex-direction:row;overflow-x:auto}.bad-mod-menu nav a{white-space:nowrap}.bad-block .bad-stats{grid-template-columns:1fr}.bad-mod-header h2{font-size:24px}}

/* v0.2.1: modular menu and accessible student dashboard preview */
.bad-block-menu .bad-mod-menu{padding:10px 12px}
.bad-block-menu .bad-mod-menu nav{padding-top:0}
.bad-block.bad-auth{background:#fff;color:#242424;border:1px solid #e9e9ec;border-radius:14px;padding:20px;text-align:left}

/* v0.2.2 Elementor content switching */
.bad-mod-menu nav .bad-tab-button{width:100%;display:block;border:0;background:transparent;color:#ddd;text-align:left;padding:12px 14px;border-radius:10px;font:inherit;font-weight:600;cursor:pointer}
.bad-mod-menu nav .bad-tab-button:hover,.bad-mod-menu nav .bad-tab-button.is-active{background:#f47720;color:#fff}
.bad-block[data-ba-tab-panel][hidden]{display:none!important}
@media(max-width:700px){.bad-mod-menu nav .bad-tab-button{white-space:nowrap;width:auto}}

/* v0.3.0 - Exercise CRUD */
.bad-ex-manager{margin-top:16px}.bad-ex-editor{border:1px solid #e9e9ec;border-radius:12px;padding:14px;margin-bottom:20px}.bad-ex-editor summary{cursor:pointer;font-weight:700;color:#d5671a}.bad-ex-editor form{padding-top:14px}.bad-ex-editor label{display:block;margin-bottom:12px;font-weight:600}.bad-ex-editor input,.bad-ex-editor textarea,.bad-ex-search input{width:100%;display:block;margin-top:5px;padding:10px;border:1px solid #ccc;border-radius:8px;color:#222;background:white}.bad-ex-primary,.bad-ex-search button{background:#f47720;color:white;border:0;border-radius:8px;padding:10px 16px;cursor:pointer}.bad-ex-search{display:flex;align-items:end;gap:10px;margin-bottom:15px}.bad-ex-search input{flex:1}.bad-ex-actions{display:flex;align-items:center;gap:12px}.bad-ex-actions form{margin:0}.bad-ex-danger{background:#fff0eb;color:#9c2f1c;border:0;border-radius:7px;padding:8px 12px;cursor:pointer}.bad-ex-notice{background:#fff2e6;border-radius:8px;padding:12px}.bad-ex-row{flex-wrap:wrap}
/* v0.3.1 media gallery */
.bad-media-box{border:1px solid #e9e9ec;border-radius:10px;padding:14px;margin:14px 0}.bad-media-box p{font-size:12px;color:#666}.bad-media-row{display:flex;align-items:center;gap:9px;flex-wrap:wrap;border-top:1px solid #eee;padding:8px 0}.bad-media-row span:first-child{flex:1;overflow-wrap:anywhere}.bad-media-row input[type=radio]{width:auto;margin:0}.bad-media-box button{border:1px solid #ddd;background:#fff;color:#222;border-radius:7px;padding:7px 10px;cursor:pointer}.bad-media-box .bad-media-add{background:#f47720;color:white;border-color:#f47720}

/* v0.3.2: consistent action controls and transient notices */
.bad-block .bad-ex-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.bad-block .bad-ex-actions form{margin:0}
.bad-block .bad-ex-actions .bad-ex-edit,.bad-block .bad-ex-actions .bad-ex-danger{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:9px 16px;border-radius:8px;font:inherit;font-size:13px;font-weight:700;text-decoration:none;cursor:pointer;line-height:1.2;box-shadow:none}
.bad-block .bad-ex-actions .bad-ex-edit{background:#f47720;color:#fff;border:1px solid #f47720}
.bad-block .bad-ex-actions .bad-ex-edit:hover{background:#db6410;color:#fff}
.bad-block .bad-ex-actions .bad-ex-danger{background:#fff;border:1px solid #c94a36;color:#ad3523}
.bad-block .bad-ex-actions .bad-ex-danger:hover{background:#fff0eb}
.bad-block .bad-ex-notice{background:#fff2e6;color:#7c4117;border-radius:8px;padding:12px;margin:10px 0}
.bad-block .bad-ex-notice.is-error{background:#ffe7e5;color:#a51e1e}

.bad-ex-row[hidden],.bad-ex-no-results[hidden]{display:none!important}.bad-ex-search{display:block}.bad-ex-search input{width:100%;margin-top:0}

/* v0.3.4: ensure Elementor/theme display rules cannot override live filtering */
.bad-ex-manager .bad-ex-row[hidden],.bad-ex-manager .bad-ex-no-results[hidden]{display:none!important}
/* v0.4.0: workout CRUD and consistent focus styling */
.bad-block input:focus,.bad-block textarea:focus,.bad-block select:focus{border-color:#f47720!important;outline:2px solid #f47720!important;outline-offset:0;box-shadow:0 0 0 3px rgba(244,119,32,.12)!important}
.bad-workout-manager{margin-top:16px}.bad-workout-search{width:100%;padding:11px;border:1px solid #ccc;border-radius:8px;margin:0 0 16px;background:#fff;color:#222}.bad-workout-row[hidden],.bad-workout-no-results[hidden],.bad-workout-empty[hidden]{display:none!important}.bad-workout-entry{border:1px solid #e9e9ec;border-radius:10px;padding:14px;margin:12px 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.bad-workout-entry>select,.bad-workout-entry>label:has(textarea){grid-column:1/-1}.bad-workout-entry label{font-size:13px}.bad-workout-entry input,.bad-workout-entry textarea,.bad-workout-entry select,.bad-workout-editor input{width:100%;padding:10px;border:1px solid #ccc;border-radius:8px;background:#fff;color:#222}.bad-workout-entry-actions{grid-column:1/-1;display:flex;gap:8px}.bad-workout-entry-actions button,.bad-workout-add,.bad-workout-cancel{border:1px solid #f47720;background:#fff;color:#c85d12;border-radius:8px;padding:9px 13px;cursor:pointer}.bad-workout-hint{color:#777;font-size:12px}.bad-workout-editor h3{font-size:16px}.bad-workout-manager .bad-ex-actions button{font:inherit;font-size:13px;font-weight:700;min-height:38px;padding:9px 16px;border-radius:8px;cursor:pointer}.bad-workout-manager .bad-ex-edit{background:#f47720;color:#fff;border:1px solid #f47720}.bad-workout-manager .bad-ex-danger{background:#fff;color:#ad3523;border:1px solid #c94a36}@media(max-width:700px){.bad-workout-entry{grid-template-columns:1fr}}

/* v0.4.1: visualização de treino, sem alterar a listagem nem o editor */
.bad-workout-manager>[data-bad-preview-hidden]{display:none!important}
.bad-workout-manager .bad-workout-view{background:#fff;border:1px solid #f47720;color:#bf5a15;border-radius:8px;padding:9px 14px;font:inherit;font-size:13px;font-weight:700;cursor:pointer;min-height:38px}
.bad-workout-manager .bad-workout-view:hover{background:#fff1e6}
.bad-workout-preview{max-width:900px;margin:0 auto;color:#24252a}
.bad-preview-back{border:0;background:transparent;color:#c35b14;font:inherit;font-weight:700;cursor:pointer;padding:9px 0;margin-bottom:10px}
.bad-preview-mode{font-size:11px;letter-spacing:1.2px;color:#c15c15;font-weight:800}
.bad-preview-header{background:linear-gradient(110deg,#202125,#111214);color:white;border-radius:15px;padding:25px;margin:14px 0 22px}
.bad-preview-header small{color:#f5a26c;font-weight:800}.bad-preview-header h3{font-size:clamp(22px,3vw,30px);color:white;margin:6px 0}.bad-preview-header p{color:#c8c8ca;margin:0}
.bad-preview-exercise{border:1px solid #e9e9ec;border-radius:14px;padding:20px;margin:18px 0;background:white}
.bad-preview-exercise-title{display:flex;align-items:center;gap:12px}.bad-preview-number{background:#f47720;color:white;border-radius:10px;padding:10px;font-weight:800}
.bad-preview-exercise h4{font-size:19px;margin:0;color:#24252a}.bad-preview-exercise-title small{color:#888}.bad-preview-exercise h5{font-size:15px;margin:17px 0 10px}
.bad-preview-specs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:16px 0}
.bad-preview-specs>div{border-radius:10px;background:#f6f6f8;padding:12px}.bad-preview-specs small{display:block;font-size:11px;color:#777}.bad-preview-specs strong{font-size:17px}
.bad-preview-notes{margin:14px 0;color:#45464c}.bad-preview-notes p{margin:5px 0}.bad-preview-gallery{display:grid;gap:14px}.bad-preview-media{margin:0;border-radius:12px;overflow:hidden;background:#171719}.bad-preview-media img,.bad-preview-media video{display:block;width:100%;max-height:520px;object-fit:contain}.bad-preview-embed{position:relative;aspect-ratio:16/9}.bad-preview-embed iframe{width:100%;height:100%;position:absolute;inset:0;border:0}.bad-preview-muted{color:#888;font-size:13px}
@media(max-width:600px){.bad-preview-specs{grid-template-columns:1fr 1fr}.bad-preview-exercise{padding:14px}}

/* v0.4.2: estados de lista e demonstracoes recolhidas */
.bad-workout-manager .bad-workout-empty[hidden],.bad-workout-manager .bad-workout-no-results[hidden],.bad-workout-manager .bad-workout-row[hidden]{display:none!important}
.bad-workout-manager .bad-preview-media-toggle{border:1px solid #e9e9ec;border-radius:10px;margin-top:18px;overflow:hidden}
.bad-workout-manager .bad-preview-media-toggle>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 15px;cursor:pointer;color:#c35b14;font-weight:700;list-style:none}
.bad-workout-manager .bad-preview-media-toggle>summary::-webkit-details-marker{display:none}
.bad-workout-manager .bad-preview-media-toggle>summary:after{content:'▾';margin-left:auto}
.bad-workout-manager .bad-preview-media-toggle[open]>summary:after{content:'▴'}
.bad-workout-manager .bad-preview-media-toggle>summary span{font-size:12px;color:#777;font-weight:500}
.bad-workout-manager .bad-preview-media-content{padding:0 15px 15px}

/* v0.4.4: loading feedback and consistent back button */
.bad-workout-manager .bad-preview-back,.bad-workout-manager .bad-preview-back:hover,.bad-workout-manager .bad-preview-back:focus,.bad-workout-manager .bad-preview-back:active{background:#fff!important;color:#c35b14!important;border:1px solid #f47720!important;border-radius:9px!important;padding:10px 15px!important;box-shadow:none!important;text-decoration:none!important;transform:none!important;font:inherit!important;font-weight:700!important;cursor:pointer!important}
.bad-workout-manager .bad-preview-back:hover{background:#fff3e9!important}
.bad-workout-manager .bad-preview-back:focus-visible{outline:2px solid #f47720!important;outline-offset:3px!important}
.bad-workout-manager .bad-preview-loading{display:flex;align-items:center;gap:12px;padding:20px;margin:12px 0;border:1px solid #e9e9ec;border-radius:12px;color:#5c5e65;font-weight:600;background:#fafafa}
.bad-preview-spinner{width:22px;height:22px;border:3px solid #f8d7be;border-top-color:#f47720;border-radius:50%;animation:bad-preview-spin .8s linear infinite;flex-shrink:0}
@keyframes bad-preview-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.bad-preview-spinner{animation:none;border-top-color:#f47720}}
/* v0.5.0: student management */
.bad-student-manager{margin-top:16px}.bad-student-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.bad-student-fields label,.bad-student-assignment-form label,.bad-student-personalize label{display:block;font-size:13px;font-weight:600}.bad-student-fields input,.bad-student-fields textarea,.bad-student-search,.bad-student-assignment-form select,.bad-student-personalize input,.bad-student-personalize textarea{width:100%;padding:10px;border:1px solid #ccc;border-radius:8px;background:#fff;color:#222;margin-top:5px}.bad-student-wide{grid-column:1/-1}.bad-student-search{margin:12px 0 16px}.bad-student-row[hidden],.bad-student-no-results[hidden],.bad-student-assignments[hidden],.bad-student-editor[hidden],.bad-student-search[hidden]{display:none!important}.bad-student-row{flex-wrap:wrap}.bad-student-row .bad-ex-actions{gap:6px}.bad-student-row .bad-ex-actions button{font-size:12px;min-height:36px;padding:7px 11px}.bad-student-assignment-form{border:1px solid #e9e9ec;border-radius:10px;padding:16px;margin:16px 0}.bad-student-assignment-form button{margin-top:12px}.bad-student-back{background:#fff!important;border:1px solid #f47720!important;color:#c35b14!important;border-radius:9px;padding:10px 15px;cursor:pointer}.bad-student-personalize{border:1px solid #f47720;border-radius:12px;padding:16px;margin:12px 0}.bad-student-prescription-row{border:1px solid #e9e9ec;border-radius:9px;padding:12px;margin:12px 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.bad-student-prescription-row strong{grid-column:1/-1}@media(max-width:700px){.bad-student-fields,.bad-student-prescription-row{grid-template-columns:1fr}}

/* v0.5.1: controles de Alunos e página de senha */
.bad-student-manager .bad-student-cancel,
.bad-student-manager .bad-student-row .bad-student-assign,
.bad-student-manager .bad-student-row .bad-student-password,
.bad-student-manager .bad-student-row .bad-student-edit,
.bad-student-manager .bad-student-row .bad-student-toggle,
.bad-student-manager .bad-student-assignment-form button {font:inherit!important;font-size:13px!important;font-weight:700!important;border-radius:8px!important;min-height:38px!important;padding:9px 14px!important;box-shadow:none!important;cursor:pointer!important;transition:background .15s ease!important}
.bad-student-manager .bad-student-cancel,
.bad-student-manager .bad-student-row .bad-student-assign,
.bad-student-manager .bad-student-row .bad-student-password {background:#fff!important;color:#c35b14!important;border:1px solid #f47720!important}
.bad-student-manager .bad-student-cancel:hover,
.bad-student-manager .bad-student-row .bad-student-assign:hover,
.bad-student-manager .bad-student-row .bad-student-password:hover {background:#fff3e9!important;color:#c35b14!important}
.bad-student-manager .bad-student-row .bad-student-edit {background:#f47720!important;color:#fff!important;border:1px solid #f47720!important}
.bad-student-manager .bad-student-row .bad-student-edit:hover {background:#dc6512!important}
.bad-student-manager .bad-student-row .bad-student-toggle {background:#fff!important;color:#ad3523!important;border:1px solid #c94a36!important}
.bad-student-manager .bad-student-row .bad-student-toggle:hover {background:#fff0eb!important}
.bad-student-manager button:focus-visible {outline:2px solid #f47720!important;outline-offset:2px!important}
.bad-password-page {max-width:480px;margin:45px auto;border:1px solid #e9e9ec;border-radius:16px;overflow:hidden;background:#fff;color:#222;box-shadow:0 10px 35px rgba(0,0,0,.06);font-family:inherit}
.bad-password-brand {background:#141517;color:#fff;text-align:center;padding:30px 20px;display:flex;flex-direction:column;gap:4px}
.bad-password-brand strong {font-size:26px;letter-spacing:1px}.bad-password-brand span{color:#f47720}.bad-password-brand small{letter-spacing:3px;color:#d5d5d5}
.bad-password-content{padding:28px}.bad-password-content h2{font-size:23px;margin:0 0 12px;color:#202125}.bad-password-content p{color:#60626a;font-size:14px}
.bad-password-content form{display:flex;flex-direction:column;gap:11px}.bad-password-content label{font-weight:700;font-size:13px;color:#303039}
.bad-password-content input{display:block;width:100%;padding:12px;border:1px solid #cdd0d5;border-radius:8px;background:#fff;color:#222}
.bad-password-content input:focus{outline:2px solid #f47720!important;border-color:#f47720!important;box-shadow:none!important}
.bad-password-content .bad-password-primary{display:block;width:100%;margin-top:14px;background:#f47720!important;color:#fff!important;border:1px solid #f47720!important;border-radius:8px;padding:13px 15px;text-align:center;text-decoration:none!important;font-weight:700;cursor:pointer}
.bad-password-content .bad-password-primary:hover{background:#db6410!important;color:#fff!important}
.bad-password-content .bad-password-error{color:#a51e1e;background:#ffe7e5;border-radius:8px;padding:12px}
.bad-password-content .bad-password-hint{font-size:12px;margin:0}
@media(max-width:540px){.bad-password-page{margin:15px 10px}.bad-password-content{padding:20px}}

/* Bruno Alpha v0.5.3 - páginas públicas */
.bad-public-links{display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between;margin-top:18px}
.bad-public-links a,.bad-public-check a{color:#F47720;text-decoration:underline}
.bad-password-content .bad-public-check{display:flex;align-items:flex-start;gap:9px;margin:16px 0;font-weight:400}
.bad-public-check input[type="checkbox"]{width:auto!important;min-width:16px;margin-top:4px;accent-color:#F47720}
.bad-public-hp{position:absolute!important;left:-9999px!important;opacity:0!important;pointer-events:none!important}
.bad-password-content button.bad-password-primary,.bad-password-content a.bad-password-primary{background:#F47720!important;border-color:#F47720!important;color:#fff!important}
.bad-password-content button.bad-password-primary:hover,.bad-password-content a.bad-password-primary:hover{background:#d95e0d!important}
.bad-student-assignment-form button.bad-ex-primary{background:#F47720!important;border:1px solid #F47720!important;color:#fff!important}
/* v0.5.4 - Botões Bruno Alpha e calendários */
.bad-block .bad-student-personalize button[type="submit"],.bad-block .bad-student-assignment-form button[type="submit"],.bad-block .bad-ex-primary,.bad-block .bad-cal-primary{background:#F47720!important;border:1px solid #F47720!important;color:#fff!important;border-radius:8px!important;font-weight:700!important;padding:10px 16px!important;cursor:pointer!important;box-shadow:none!important}
.bad-block .bad-student-personalize button[type="submit"]:hover,.bad-block .bad-student-assignment-form button[type="submit"]:hover,.bad-block .bad-ex-primary:hover,.bad-block .bad-cal-primary:hover{background:#DC6515!important;border-color:#DC6515!important}
.bad-block .bad-ex-edit,.bad-block .bad-student-back{border-color:#F47720!important;color:#c35b14!important}
.bad-block .bad-ex-danger,.bad-block .bad-cal-danger{background:#fff0eb!important;border:1px solid #c94a36!important;color:#ad3523!important;border-radius:8px!important;padding:9px 14px!important;cursor:pointer!important}
.bad-cal-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:18px 0 26px}.bad-cal-form>label{display:flex;flex-direction:column;gap:5px;font-weight:650}.bad-cal-form input:not([type=checkbox]),.bad-cal-form select{width:100%;padding:10px;border:1px solid #ccc;border-radius:8px;background:#fff;color:#222}.bad-cal-form fieldset{grid-column:1/-1;border:1px solid #e9e9ec;border-radius:10px;padding:12px}.bad-cal-form legend{font-weight:700;padding:0 5px}.bad-cal-check{display:inline-flex;align-items:center;gap:6px;margin:6px 14px 6px 0}.bad-cal-check input{accent-color:#F47720}.bad-cal-hint{font-size:12px;color:#777}.bad-cal-form>button{justify-self:start}.bad-cal-notice{padding:12px;background:#fff2e6;border-radius:8px;color:#814111}.bad-cal-item{border-top:1px solid #e9e9ec;padding:18px 0}.bad-cal-item h3{margin:0 0 5px}.bad-cal-item>p{color:#666}.bad-cal-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px;margin:15px 0}.bad-cal-day{background:#fff5ed;border:1px solid #f6c9aa;border-radius:9px;padding:9px 5px;display:flex;flex-direction:column;gap:6px;min-width:0;overflow-wrap:anywhere;text-align:center}.bad-cal-day strong{font-size:12px}.bad-cal-day span{font-size:12px}.bad-cal-day small{font-size:11px;color:#98551f}@media(max-width:700px){.bad-cal-form{grid-template-columns:1fr}.bad-cal-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* v0.5.5 — Menu lateral Bruno Alpha com ícones */
.bad-block-menu .bad-mod-menu-v2{background:#141517!important;color:#fff;border-radius:16px;padding:18px 12px 22px;box-shadow:0 8px 24px rgba(0,0,0,.08)}
.bad-mod-menu-v2 .bad-menu-brand{display:flex;align-items:center;gap:10px;padding:6px 10px 18px;border-bottom:1px solid #343538;color:#fff;font-size:14px;font-weight:850;letter-spacing:.4px;line-height:1.15}
.bad-mod-menu-v2 .bad-menu-brand b{color:#F47720}
.bad-mod-menu-v2 .bad-menu-brand small{display:block;margin-top:5px;color:#aaa;font-size:9px;letter-spacing:1.2px;font-weight:600}
.bad-mod-menu-v2 .bad-menu-brand-icon{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:10px;background:#F47720;color:#fff;font-size:13px;font-weight:900}
.bad-mod-menu-v2 .bad-menu-caption{padding:20px 12px 10px;font-size:10px;font-weight:750;letter-spacing:1.8px;color:#8c8d91}
.bad-block-menu .bad-mod-menu-v2 nav{display:flex;flex-direction:column;gap:5px;padding:0}
.bad-block-menu .bad-mod-menu-v2 nav .bad-tab-button{display:flex!important;align-items:center!important;gap:13px!important;width:100%!important;min-height:45px;text-align:left!important;border:0!important;border-radius:9px!important;padding:11px 13px!important;background:#202124!important;color:#f2f2f2!important;font:inherit!important;font-size:14px!important;font-weight:600!important;cursor:pointer!important;box-shadow:none!important;transition:background .15s ease}
.bad-block-menu .bad-mod-menu-v2 nav .bad-tab-button:hover,.bad-block-menu .bad-mod-menu-v2 nav .bad-tab-button.is-active{background:#F47720!important;color:#fff!important}
.bad-mod-menu-v2 .bad-menu-icon{display:block;flex:0 0 20px}
@media(max-width:700px){.bad-block-menu .bad-mod-menu-v2 nav{flex-direction:column;overflow:visible}.bad-block-menu .bad-mod-menu-v2 nav .bad-tab-button{width:100%!important;white-space:normal}}
/* v0.5.6: calendários, estados e controles Bruno Alpha */
.bad-cal-v56{color:#141517}.bad-cal-v56 h3{margin:22px 0 10px}.bad-cal-v56 .bad-cal-form{margin:14px 0 25px}
.bad-cal-v56 .bad-cal-form [hidden],.bad-cal-v56 .bad-cal-students label[hidden]{display:none!important}
.bad-cal-v56 input:not([type=checkbox]),.bad-cal-v56 select,.bad-cal-v56 textarea{background:#fff!important;color:#141517!important;border:1px solid #c9c9cd!important;border-radius:8px!important;padding:10px!important;box-shadow:none!important}
.bad-cal-v56 select:focus,.bad-cal-v56 input:focus,.bad-cal-v56 textarea:focus{outline:2px solid #F47720!important;outline-offset:1px;box-shadow:none!important}
.bad-cal-v56 input[type=checkbox]{accent-color:#F47720!important}
.bad-cal-v56 button.bad-cal-primary,.bad-cal-v56 button.bad-cal-secondary,.bad-cal-v56 button.bad-cal-danger{border-radius:8px!important;padding:10px 14px!important;font-weight:700!important;cursor:pointer!important;box-shadow:none!important}
.bad-cal-v56 button.bad-cal-primary{background:#F47720!important;border:1px solid #F47720!important;color:#fff!important}
.bad-cal-v56 button.bad-cal-primary:hover{background:#DC6515!important}
.bad-cal-v56 button.bad-cal-secondary{background:#fff!important;border:1px solid #F47720!important;color:#b95511!important}
.bad-cal-v56 button.bad-cal-secondary:hover{background:#fff1e7!important}
.bad-cal-v56 button.bad-cal-danger{background:#fff0eb!important;border:1px solid #c94a36!important;color:#ad3523!important}
.bad-cal-v56 .bad-cal-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin:12px 0}
.bad-cal-v56 .bad-cal-actions form,.bad-cal-v56 .bad-cal-review{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.bad-cal-v56 .bad-cal-students,.bad-cal-v56 .bad-cal-workouts{display:flex;flex-wrap:wrap;gap:5px;max-height:230px;overflow:auto}
.bad-cal-v56 .bad-cal-students label,.bad-cal-v56 .bad-cal-workouts label{padding:5px 8px;border-radius:7px;background:#f6f6f7}
.bad-cal-v56 .bad-cal-search{width:100%;margin-bottom:10px}
.bad-cal-v56 .bad-cal-error{background:#ffebeb;color:#a22121}
.bad-cal-v56 .bad-cal-request form{display:grid;gap:10px;padding:12px}
.bad-cal-v56 .bad-cal-request label{display:grid;gap:5px}
.bad-cal-v56 .bad-cal-request summary{cursor:pointer;color:#b95511;font-weight:700}
.bad-cal-v56 .bad-cal-item{border-bottom:1px solid #e9e9ec}
.bad-cal-v56 .bad-cal-model-list{display:grid;gap:8px}
/* Bruno Alpha: gestão limpa de calendários e seletores personalizados */
.bad-cal-v56 .bad-cal-toolbar{display:flex;gap:12px;align-items:center;margin:16px 0 22px}.bad-cal-v56 .bad-cal-toolbar input{flex:1;min-width:0}.bad-cal-v56 .bad-cal-model-row{padding:18px 0}.bad-cal-v56 .bad-cal-model-row>div:first-child{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.bad-cal-v56 .bad-cal-model-row small{color:#666}.bad-cal-v56 .bad-cal-link-panel{margin-top:15px;padding:16px;background:#fafafa;border-radius:12px;border:1px solid #ececec}.bad-cal-v56 .bad-cal-link-form{display:grid;gap:12px}.bad-cal-v56 .bad-cal-editor-wrap{border:1px solid #e6e6e6;border-radius:12px;padding:20px;margin:16px 0}.bad-cal-v56 [hidden],.bad-student-calendar-panel[hidden]{display:none!important}.bad-cal-v56 .bad-cal-native{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;left:0;top:0}.bad-cal-v56 .bad-cal-picker{position:relative;width:100%;min-width:140px}.bad-cal-v56 .bad-cal-picker-trigger{display:block;width:100%;background:#fff!important;color:#141517!important;border:1px solid #c9c9cd!important;border-radius:9px!important;padding:11px 36px 11px 12px!important;text-align:left;position:relative;font-weight:400!important;min-height:44px}.bad-cal-v56 .bad-cal-picker-trigger:after{content:'⌄';position:absolute;right:13px;top:8px;color:#F47720;font-size:21px}.bad-cal-v56 .bad-cal-picker-trigger:focus-visible{outline:2px solid #F47720!important}.bad-cal-v56 .bad-cal-picker-list{position:absolute;top:calc(100% + 4px);left:0;right:0;max-height:220px;overflow-y:auto;z-index:50;background:#fff;border:1px solid #e0d5cb;border-radius:10px;box-shadow:0 12px 28px #0002;padding:5px}.bad-cal-v56 .bad-cal-picker-option{display:block;width:100%;text-align:left;border:0!important;background:#fff!important;color:#141517!important;padding:10px 12px!important;border-radius:7px!important;font-weight:400!important;cursor:pointer}.bad-cal-v56 .bad-cal-picker-option:hover,.bad-cal-v56 .bad-cal-picker-option:focus-visible,.bad-cal-v56 .bad-cal-picker-option[aria-selected=true]{background:#fff0e4!important;color:#a94c0b!important;outline:none!important}.bad-student-calendar-panel{padding:15px 0}.bad-student-calendar-content .bad-cal-student-link{display:flex;gap:10px;flex-wrap:wrap;align-items:end}.bad-student-calendar-content .bad-cal-student-link label{display:grid;gap:6px}.bad-student-calendar-content .bad-cal-actions form{display:flex;gap:7px;flex-wrap:wrap;align-items:center}.bad-student-calendar-content .bad-cal-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}@media(max-width:700px){.bad-cal-v56 .bad-cal-toolbar{flex-wrap:wrap}.bad-cal-v56 .bad-cal-toolbar input{flex-basis:100%}}

/* v0.5.7: consistent Bruno Alpha actions */
.bad-student-manager .bad-student-row .bad-student-calendars,
.bad-student-manager .bad-student-row .bad-student-assign,
.bad-student-manager .bad-student-row .bad-student-password,
.bad-student-manager .bad-student-row .bad-student-edit {
 background:#fff!important;color:#c45b12!important;border:1px solid #F47720!important;
 border-radius:9px!important;box-shadow:none!important;
}
.bad-student-manager .bad-student-row .bad-student-calendars:hover,
.bad-student-manager .bad-student-row .bad-student-assign:hover,
.bad-student-manager .bad-student-row .bad-student-password:hover,
.bad-student-manager .bad-student-row .bad-student-edit:hover {
 background:#fff0e5!important;color:#9b460c!important;border-color:#dc6515!important;
}
.bad-student-manager .bad-student-row .bad-student-toggle,
.bad-cal-v56 .bad-cal-danger {background:#fff!important;color:#c42b1e!important;border:1px solid #dc3a2b!important;border-radius:9px!important;}
.bad-student-manager .bad-student-row .bad-student-toggle:hover,
.bad-cal-v56 .bad-cal-danger:hover {background:#fff0ee!important;color:#a72115!important;}
.bad-student-calendar-content .bad-cal-actions{margin-top:12px}
.bad-cal-v56 .bad-cal-notice{transition:opacity .2s}

/* v0.5.8: expansão do resumo de datas */
.bad-cal-more {margin:12px 0;}
.bad-cal-more summary {cursor:pointer;color:#F47720;font-weight:600;padding:8px 0;}
.bad-cal-more[open] .bad-cal-grid {margin-top:10px;}

/* v0.5.9: ações consistentes, incluindo os botões de voltar das telas AJAX */
.bad-student-manager button.bad-student-back,
.bad-student-manager button.bad-student-calendar-back,
.bad-student-manager .bad-student-row button,
.bad-student-manager .bad-student-calendar-panel button,
.bad-student-manager .bad-student-assignments button {
 font-family:inherit!important;font-size:14px!important;font-weight:600!important;
 line-height:1.3!important;letter-spacing:0!important;border-radius:9px!important;
 padding:10px 14px!important;box-shadow:none!important;text-transform:none!important;
}
.bad-student-manager button.bad-student-back,
.bad-student-manager button.bad-student-calendar-back {
 background:#fff!important;color:#b95511!important;border:1px solid #F47720!important;
}
.bad-student-manager button.bad-student-back:hover,
.bad-student-manager button.bad-student-calendar-back:hover {background:#fff1e7!important;color:#a24b10!important;}
.bad-student-manager .bad-student-row button.bad-student-edit {background:#fff!important;color:#b95511!important;border:1px solid #F47720!important;}
.bad-student-manager .bad-student-row button.bad-student-toggle {background:#fff!important;color:#bd3024!important;border:1px solid #dc3a2b!important;}
.bad-cal-two-weeks{margin:18px 0 12px;padding:16px;border:1px solid #ece5df;border-radius:14px;background:#fff}
.bad-cal-two-weeks-heading{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:6px;margin-bottom:16px}
.bad-cal-two-weeks-heading strong{font-size:17px;color:#141517}.bad-cal-two-weeks-heading small{color:#747474}
.bad-cal-week+.bad-cal-week{margin-top:18px}.bad-cal-week-title{font-size:12px;font-weight:700;color:#a85a24;margin-bottom:8px}
.bad-cal-week-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px}
.bad-cal-week-day{min-width:0;min-height:100px;border-radius:10px;border:1px solid #e9e9eb;background:#f8f8f9;padding:9px 6px;text-align:center;overflow-wrap:anywhere}
.bad-cal-week-day.has-training{background:#fff4ec;border-color:#f9c49e}.bad-cal-week-day.is-today{outline:2px solid #F47720;outline-offset:1px}
.bad-cal-week-date{display:flex;flex-direction:column;gap:3px;margin-bottom:9px}.bad-cal-week-date span{font-size:11px;color:#6b6b70}.bad-cal-week-date strong{font-size:13px;color:#141517}
.bad-cal-week-workout{display:flex;flex-direction:column;gap:4px;margin:5px 0;padding:6px 3px;border-radius:6px;background:#fff;border:1px solid #f9d6bb;font-size:11px}
.bad-cal-week-workout small{color:#a65b27;font-size:10px}.bad-cal-week-rest{color:#94949a;font-size:11px}
@media(max-width:720px){.bad-cal-week-grid{gap:3px}.bad-cal-week-day{padding:7px 2px;min-height:85px}.bad-cal-week-workout{font-size:9px}.bad-cal-week-workout small{font-size:9px}.bad-cal-week-date strong{font-size:11px}}

/* v0.5.10: calendário consolidado */
.bad-cal-consolidated .bad-cal-week-workout span{font-weight:650;color:#141517}
.bad-cal-consolidated .bad-cal-workout-name{color:#666;font-weight:400}
.bad-cal-assigned-list{margin-top:20px}
.bad-cal-assigned-list h4{margin:0 0 8px;color:#141517}
.bad-cal-assigned-row{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.bad-cal-assigned-row>div{display:flex;flex-direction:column;gap:5px}
.bad-cal-assigned-row small{color:#6b6b70}

/* v0.5.14: escolha e ordenação de treinos do ciclo */
.bad-cal-v56 .bad-cal-ordered-workouts{display:flex;flex-direction:column;flex-wrap:nowrap;gap:7px;max-height:360px;overflow:auto}
.bad-cal-v56 .bad-cal-workout-row{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #e7e7eb;border-radius:9px;padding:7px 10px;background:#fff}
.bad-cal-v56 .bad-cal-workout-row.is-selected{border-color:#f4b286;background:#fff8f2}
.bad-cal-v56 .bad-cal-workout-row .bad-cal-check{margin:0;padding:5px 0;background:transparent;min-width:0;flex:1}
.bad-cal-workout-order-controls{display:flex;align-items:center;gap:5px}
.bad-cal-order-number{font-size:12px;color:#bd5511;font-weight:700;min-width:26px;text-align:center}
.bad-cal-workout-order-controls button{width:34px;height:32px;border:1px solid #f47720;border-radius:7px;background:#fff;color:#c65912;cursor:pointer;font:700 17px/1 inherit}
.bad-cal-workout-order-controls button:disabled{opacity:.3;cursor:not-allowed}
.bad-cal-workout-order-controls button:not(:disabled):hover{background:#f47720;color:#fff}
.bad-cal-order-preview{font-weight:600;overflow-wrap:anywhere}
/* v0.5.15 — perfil do aluno e calendário consolidado */
.bad-profile-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:22px 0}
.bad-profile-fields label{display:flex;flex-direction:column;gap:7px;font-weight:600;color:#141517}
.bad-profile-fields input,.bad-profile-fields textarea{width:100%;box-sizing:border-box;border:1px solid #d6d7db;border-radius:9px;padding:11px 13px;background:#fff;color:#141517;font:inherit}
.bad-profile-fields input:focus,.bad-profile-fields textarea:focus{outline:2px solid #F47720;outline-offset:1px}
.bad-profile-fields input:disabled{background:#f5f5f6;color:#777}
.bad-profile-wide{grid-column:1/-1}
.bad-profile-hint{font-size:13px;color:#707078}
.bad-profile-actions{display:flex;gap:18px;align-items:center;flex-wrap:wrap}
.bad-profile-actions a{color:#c55d12;text-decoration:underline}
.bad-profile-message{padding:12px;background:#fff1e5;border-radius:8px;margin-top:15px}
.bad-profile-error{color:#a32828!important}
.bad-cal-consolidated .bad-cal-week-workout span{font-weight:650;color:#141517}
.bad-cal-consolidated .bad-cal-workout-name{color:#666;font-weight:400}
@media(max-width:650px){.bad-profile-fields{grid-template-columns:1fr}}

/* v0.6.0 — programação do aluno */
.bad-student-schedule{display:grid;gap:10px;margin:16px 0}
.bad-student-schedule-row{display:grid;grid-template-columns:minmax(90px,110px) repeat(2,minmax(0,1fr)) auto;gap:12px;align-items:center;border:1px solid #e5e7eb;border-radius:10px;padding:14px;color:#141517}
.bad-student-schedule-row small{color:#a95413}
.bad-student-plan-warning{background:#fff4e9;border:1px solid #ffd7b8;border-radius:9px;padding:13px;color:#8b440e}
@media(max-width:700px){.bad-student-schedule-row{grid-template-columns:1fr 1fr}.bad-student-schedule-row span{overflow-wrap:anywhere}}

/* Bruno Alpha 0.6.1 */
.bad-custom-icon{display:inline-flex;vertical-align:middle;align-items:center;justify-content:center;margin-right:7px;font-size:1.12em;line-height:1.2}
.bad-icon-label{display:block;margin:12px 0}.bad-icon-select{display:block;width:100%;max-width:100%;margin-top:5px;border:1px solid #d5d5d8;border-radius:9px;padding:11px;background:#fff;color:#141517}
.bad-plan-locked{border:1px solid #f3d3bf;border-radius:16px;background:#fffaf6;padding:38px 22px;text-align:center;color:#141517}.bad-plan-lock-icon{font-size:38px;display:block;margin-bottom:12px}.bad-plan-locked h3{font-size:22px;margin:0 0 10px}.bad-plan-locked p{color:#60636a}.bad-plan-locked-note{font-size:13px}
.bad-next-activity{display:block;margin-top:7px;font-size:13px;font-weight:500;color:#f47720}
.bad-abono-list{margin-top:20px}.bad-abono-intro{color:#74767c;font-size:14px}.bad-abono-list details.bad-cal-request{border:1px solid #e5e5e9!important;border-radius:12px!important;padding:0!important;margin:12px 0!important;overflow:hidden;background:#fff}.bad-abono-list details.bad-cal-request summary{display:flex;flex-direction:column;gap:4px;padding:17px 20px;cursor:pointer;color:#141517!important;font-weight:700;list-style:none}.bad-abono-list details.bad-cal-request summary::-webkit-details-marker{display:none}.bad-abono-list details.bad-cal-request summary:after{content:'⌄';position:absolute;right:20px;top:19px;color:#f47720}.bad-abono-list details.bad-cal-request{position:relative}.bad-abono-caption{font-weight:400;color:#777b83;font-size:13px}.bad-abono-list details.bad-cal-request form,.bad-abono-list details.bad-cal-request>p{padding:12px 20px 20px;margin:0}.bad-abono-list details.bad-cal-request[open]{border-color:#f47720!important}.bad-abono-list details.bad-cal-request summary:hover{background:#fff6ef}
.bad-profile-section .bad-profile-password button,.bad-profile-section .bad-profile-password button:hover,.bad-profile-section .bad-password-send,.bad-profile-section .bad-password-send:hover{background:#f47720!important;color:#fff!important;border-color:#f47720!important;font-family:inherit!important;font-weight:600!important;border-radius:8px!important}

.bad-profile-section .bad-profile-reset,.bad-profile-section .bad-profile-reset:hover{background:#f47720!important;color:#fff!important;border:1px solid #f47720!important;border-radius:8px!important;font-family:inherit!important;font-weight:600!important;box-shadow:none!important}

/* v0.6.2 — controles uniformes e compatibilidade Elementor/Astra */
.bad-block{--bad-orange:#F47720;--bad-orange-dark:#c95e12}
.bad-block button:not(.bad-tab-button):not(.bad-cal-picker-option):not(.bad-cal-picker-trigger),
.bad-block input[type=button],.bad-block input[type=submit]{
 box-sizing:border-box!important;min-height:42px!important;height:auto!important;
 font-family:inherit!important;font-size:14px!important;font-weight:600!important;
 line-height:1.35!important;letter-spacing:0!important;text-transform:none!important;
 padding:10px 16px!important;border-radius:9px!important;box-shadow:none!important;
 vertical-align:middle!important;white-space:normal!important;
}
.bad-block .bad-profile-actions{gap:10px!important;align-items:center!important}
.bad-block .bad-profile-actions button{min-width:165px!important}
.bad-block .bad-profile-actions .bad-cal-primary,
.bad-block .bad-profile-actions .bad-profile-reset,
.bad-block .bad-media-box .bad-media-add,
.bad-block .bad-ex-primary,.bad-block .bad-cal-primary{
 background:#F47720!important;color:#fff!important;border:1px solid #F47720!important;
}
.bad-block .bad-profile-actions .bad-cal-primary:hover,
.bad-block .bad-profile-actions .bad-profile-reset:hover,
.bad-block .bad-media-box .bad-media-add:hover,
.bad-block .bad-ex-primary:hover,.bad-block .bad-cal-primary:hover{background:#d96517!important;border-color:#d96517!important}
.bad-block .bad-media-box button:not(.bad-media-add),
.bad-block .bad-workout-cancel,.bad-block .bad-cal-secondary{
 background:#fff!important;color:#b95612!important;border:1px solid #F47720!important;
}
.bad-block .bad-media-box button:not(.bad-media-add):hover,
.bad-block .bad-workout-cancel:hover,.bad-block .bad-cal-secondary:hover{background:#fff2e8!important}
.bad-block .bad-ex-danger,.bad-block .bad-cal-danger{background:#fff5f2!important;color:#b32b1b!important;border:1px solid #db3f2b!important}
.bad-block .bad-ex-editor .bad-icon-label,
.bad-block .bad-workout-editor .bad-icon-label{display:flex!important;flex-direction:column!important;gap:6px!important;margin:12px 0 16px!important;min-width:0}
.bad-block select.bad-icon-select,.bad-block .bad-ex-editor select.bad-icon-select,
.bad-block .bad-workout-editor select.bad-icon-select{
 box-sizing:border-box!important;display:block!important;width:100%!important;max-width:100%!important;
 min-height:46px!important;height:46px!important;line-height:normal!important;
 padding:9px 38px 9px 13px!important;font-family:inherit!important;font-size:14px!important;
 font-weight:400!important;color:#141517!important;background-color:#fff!important;
 border:1px solid #c9c9cd!important;border-radius:9px!important;
 text-indent:0!important;letter-spacing:0!important;overflow:visible!important;
}
.bad-block select.bad-icon-select:focus{outline:2px solid #F47720!important;outline-offset:1px}
.bad-cal-v56 .bad-cal-form>label{min-width:0!important;justify-content:flex-start!important}
.bad-cal-v56 .bad-cal-form>label select,.bad-cal-v56 .bad-cal-form>label input{
 box-sizing:border-box!important;min-width:0!important;width:100%!important;min-height:44px!important;
 font-family:inherit!important;font-size:14px!important;line-height:normal!important;
}
.bad-cal-v56 .bad-cal-form{align-items:start!important}
.bad-cal-v56 .bad-cal-form .bad-cal-picker-trigger{box-sizing:border-box!important;min-height:44px!important;line-height:1.4!important}
.bad-cal-v56 .bad-cal-form .bad-cal-picker{min-width:0!important}
.bad-abono-list details.bad-cal-request summary{padding-right:48px!important}
@media(max-width:650px){.bad-block .bad-profile-actions button{width:100%!important}}

/* v0.6.3 — carregamento não bloqueante e resumo no menu */
.bad-loading-overlay[hidden]{display:none!important}
.bad-loading-overlay{position:fixed;z-index:999999;right:24px;bottom:24px;display:flex;align-items:center;gap:12px;max-width:min(360px,calc(100vw - 32px));padding:15px 20px;background:#141517;color:#fff;border:1px solid #343434;border-radius:12px;box-shadow:0 12px 35px #0003;font:600 14px/1.4 inherit}
.bad-loading-spinner{display:block;flex:none;width:22px;height:22px;border:3px solid #ffffff55;border-top-color:#F47720;border-radius:50%;animation:bad-loading-spin .75s linear infinite}
@keyframes bad-loading-spin{to{transform:rotate(360deg)}}
.bad-is-submitting{opacity:.75;cursor:progress!important}
@media(prefers-reduced-motion:reduce){.bad-loading-spinner{animation-duration:2s}}

/* v0.6.5 — componentes alinhados e modalidades */
.bad-block .bad-mod-choices{display:flex;flex-wrap:wrap;gap:10px 20px;border:1px solid #e5e7eb;border-radius:10px;padding:14px 16px;margin:12px 0;min-width:0}
.bad-block .bad-mod-choices legend{font-weight:700;padding:0 7px;color:#172033}
.bad-block .bad-mod-choices .bad-cal-check{display:inline-flex;align-items:center;gap:7px;width:auto;margin:0;font-size:14px}
.bad-block .bad-mod-choices input[type=checkbox]{accent-color:#f47720;width:16px;height:16px;flex:none}
.bad-block .bad-cal-form button,.bad-block .bad-cal-actions button,.bad-block .bad-cal-link-form button,.bad-block .bad-cal-review button,.bad-block .bad-student-assignment-form button,.bad-block .bad-student-assignments button,.bad-block .bad-modalities button{min-height:42px;padding:10px 16px;line-height:1.2;vertical-align:middle}
.bad-block .bad-cal-form{align-items:end}
.bad-block .bad-cal-form>.bad-cal-primary,.bad-block .bad-cal-form>.bad-cal-secondary{margin:8px 8px 0 0}
.bad-block .bad-cal-form select,.bad-block .bad-cal-form input:not([type=checkbox]),.bad-block .bad-modalities input{min-height:44px;border-radius:9px;box-sizing:border-box}
.bad-block .bad-cal-picker{min-width:0;max-width:100%}
.bad-block .bad-cal-picker-list{z-index:1000;max-height:250px;overflow-y:auto}
.bad-block .bad-modalities .bad-mod-form{display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin:16px 0}
.bad-block .bad-modalities .bad-mod-form label{flex:1;min-width:200px}
.bad-block .bad-mod-notice{margin:8px 0;color:#256b3e;font-weight:600}
.bad-block .bad-mod-notice.is-error{color:#bd2828}
.bad-block .bad-student-template-choices{margin-bottom:20px}
.bad-block button[aria-busy=true],.bad-block button.bad-is-submitting{opacity:.7;cursor:progress}
.bad-block button:disabled{cursor:not-allowed;opacity:.55}

/* v0.6.6 — formulário de modalidades e perfil individual */
.bad-block .bad-modalities .bad-mod-form{display:grid!important;grid-template-columns:minmax(0,1fr) auto auto!important;gap:12px!important;align-items:end!important;margin:20px 0!important}
.bad-block .bad-modalities .bad-mod-form>label{display:flex!important;flex-direction:column!important;gap:8px!important;min-width:0!important;font-weight:600!important;color:#141517!important}
.bad-block .bad-modalities .bad-mod-form input[name="name"]{display:block!important;width:100%!important;min-width:0!important;box-sizing:border-box!important;min-height:44px!important;border:1px solid #c9c9cd!important;border-radius:9px!important;padding:10px 12px!important;background:#fff!important;color:#141517!important}
.bad-block .bad-modalities .bad-mod-form button{min-height:44px!important;white-space:nowrap!important}
.bad-student-profile[hidden],.bad-student-profile [hidden]{display:none!important}
.bad-student-profile{padding:8px 0 24px}.bad-student-profile-head{display:flex;align-items:center;gap:16px;margin:20px 0}.bad-student-profile-avatar{display:grid;place-items:center;width:60px;height:60px;border-radius:50%;background:#fff0e4;color:#f47720;font-size:30px}.bad-student-profile-head h3{margin:0 0 4px}.bad-student-profile-head p{margin:0 0 5px;color:#64748b}.bad-student-profile-status{font-size:12px;color:#b65b12;font-weight:600}.bad-student-profile-tabs{display:flex;gap:8px;flex-wrap:wrap;border-bottom:1px solid #e5e7eb;padding-bottom:15px;margin-bottom:22px}.bad-student-profile-tabs button{background:#fff!important;color:#a65316!important;border:1px solid #f47720!important;border-radius:9px!important;padding:10px 15px!important;min-height:42px!important;cursor:pointer}.bad-student-profile-tabs button.is-active{background:#f47720!important;color:#fff!important}.bad-student-profile-data{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.bad-student-profile-data>div{display:flex;flex-direction:column;gap:6px;padding:12px;border:1px solid #e5e7eb;border-radius:9px;overflow-wrap:anywhere}.bad-student-profile-data strong{font-size:12px;color:#64748b}.bad-student-profile-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.bad-student-profile .bad-student-back,.bad-student-profile .bad-student-calendar-back{display:none!important}
@media(max-width:720px){.bad-block .bad-modalities .bad-mod-form{grid-template-columns:1fr 1fr!important}.bad-block .bad-modalities .bad-mod-form>label{grid-column:1/-1}.bad-student-profile-data{grid-template-columns:1fr}}

/* v0.6.7 — edição inline do perfil e vínculos de treino */
.bad-student-profile-edit-form[hidden],.bad-student-profile-data[hidden],.bad-student-profile-actions[hidden]{display:none!important}
.bad-student-profile-edit-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:16px 0}
.bad-student-profile-edit-fields label{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:600;color:#172033}
.bad-student-profile-edit-fields input,.bad-student-profile-edit-fields textarea{width:100%;box-sizing:border-box;min-height:44px;padding:10px 12px;border:1px solid #c9c9cd;border-radius:9px;background:#fff;color:#141517}
.bad-student-profile-edit-fields input[readonly]{background:#f3f4f6;color:#64748b;cursor:not-allowed}
.bad-student-profile-edit-fields label:last-child{grid-column:1/-1}
.bad-student-profile-edit-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end;margin-top:16px}
.bad-student-choice-hint{width:100%;margin:0 0 8px;font-size:13px;color:#64748b}
.bad-student-assignment-update{margin:0 0 16px!important}
@media(max-width:650px){.bad-student-profile-edit-fields{grid-template-columns:1fr}}
/* v0.6.8 — situação do plano, notificações e chat */
.bad-student-indicators{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:8px}
.bad-plan-indicator,.bad-alert-indicator,.bad-chat-indicator{display:inline-flex;align-items:center;gap:3px;border-radius:8px;padding:5px 9px;font-weight:700;font-size:13px}
.bad-plan-indicator.is-ok,.bad-chat-indicator.is-answered{background:#e6f5ea;color:#167a35}
.bad-plan-indicator.is-not-ok,.bad-chat-indicator.is-unread{background:#fde9e9;color:#b42318}
.bad-chat-indicator.is-waiting,.bad-alert-indicator{background:#fff2d8;color:#955500}
.bad-chat{max-width:100%;display:grid;gap:15px}
.bad-chat-messages{min-height:230px;max-height:420px;overflow-y:auto;display:flex;flex-direction:column;gap:12px;padding:18px;background:#f6f7f9;border:1px solid #e5e7eb;border-radius:14px}
.bad-chat-message{max-width:82%;align-self:flex-start;background:white;border:1px solid #e5e7eb;border-radius:14px;padding:10px 13px;overflow-wrap:anywhere}
.bad-chat-message.is-mine{align-self:flex-end;background:#fff0e4;border-color:#f9c39d}
.bad-chat-message p{margin:0 0 6px;white-space:pre-wrap}.bad-chat-message small{display:block;color:#6b7280;font-size:11px;text-align:right}
.bad-chat-message img{max-width:100%;max-height:280px;object-fit:contain;border-radius:8px;margin:7px 0}
.bad-chat-form{display:flex;gap:10px;align-items:flex-end;flex-wrap:wrap}.bad-chat-form textarea{flex:1 1 230px;min-height:76px}.bad-chat-image-label{display:flex;flex-direction:column;gap:4px;font-size:13px}.bad-chat-image-label input{max-width:190px;font-size:12px}
.bad-chat-feedback{color:#b42318;font-size:13px;margin:0}.bad-student-review-form{display:flex;flex-wrap:wrap;gap:12px;align-items:end}.bad-student-review-form label{flex:1 1 150px;display:grid;gap:5px}

/* v0.6.9 — indicadores junto das ações e estado do perfil robusto */
.bad-student-row .bad-ex-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.bad-student-row .bad-student-indicators{display:inline-flex;align-items:center;gap:8px;margin:0 8px 0 0;flex-wrap:wrap}
.bad-student-row .bad-plan-indicator{font-size:15px;line-height:1.2;white-space:nowrap}
.bad-student-row .bad-plan-indicator.is-ok{background:#e6f5ea;color:#167a35}
.bad-student-row .bad-plan-indicator.is-not-ok{background:#fde9e9;color:#b42318}
@media(max-width:680px){.bad-student-row .bad-ex-actions{justify-content:flex-start;width:100%}}

/* v0.7.0: criação e edição de modalidades em painéis separados */
.bad-modalities .bad-mod-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap;margin-bottom:18px}
.bad-modalities .bad-mod-heading h2{margin:0 0 8px}
.bad-modalities .bad-mod-heading p{margin:0}
.bad-modalities .bad-mod-editor{padding:22px;border:1px solid #e5e7eb;border-radius:12px;margin:18px 0;background:#fff}
.bad-modalities .bad-mod-editor[hidden]{display:none!important}
.bad-modalities .bad-mod-editor-title{margin:0 0 16px}
.bad-modalities .bad-mod-form{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:16px!important}
.bad-modalities .bad-mod-form>label{display:flex!important;flex-direction:column!important;gap:8px!important;width:100%!important;max-width:none!important}
.bad-modalities .bad-mod-form input[name=name]{display:block!important;width:100%!important;max-width:none!important;min-height:46px!important;box-sizing:border-box!important}
.bad-modalities .bad-mod-form-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.bad-modalities .bad-mod-notice:empty{display:none}
@media(max-width:600px){.bad-modalities .bad-mod-heading{align-items:stretch}.bad-modalities .bad-mod-heading button{width:100%}}

/* v0.7.2: confirmações e separadores no chat */
.bad-chat-date{align-self:center;padding:4px 12px;border-radius:12px;background:#e9e9ec;color:#555;font-size:12px;font-weight:600}
.bad-chat-receipt{display:inline-block;margin-left:8px;letter-spacing:-3px;font-weight:800;font-size:15px;color:#6b7280;vertical-align:middle}
.bad-chat-receipt.is-read{color:#1681c4}
.bad-history-toolbar{display:flex;flex-wrap:wrap;gap:12px;align-items:end;margin:16px 0}
.bad-history-toolbar label{display:grid;gap:5px;flex:1 1 160px}
.bad-history-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:12px;margin:15px 0}
.bad-history-stats>div,.bad-overview-stat{padding:14px;border:1px solid #e5e7eb;border-radius:12px;background:#fff}
.bad-history-stats strong,.bad-overview-stat strong{display:block;font-size:25px;color:#141517}
.bad-history-stats small,.bad-overview-stat small{font-size:12px;color:#64748b}
.bad-history-event{padding:14px;border:1px solid #e5e7eb;border-radius:12px;margin:10px 0}
.bad-history-event strong{display:block}
.bad-overview-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;margin-top:18px}
.bad-overview-pending{margin-top:20px}.bad-overview-pending a{color:#b34d0a;text-decoration:underline}
/* v0.7.3 — Planos e execução híbrida */
.bad-plans .bad-plan-form,.bad-plans .bad-grant-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px;margin:18px 0}.bad-plans label,.bad-exec-exercise>label{display:flex;flex-direction:column;gap:6px;font-weight:600}.bad-plans input:not([type=checkbox]),.bad-plans select,.bad-plans textarea,.bad-exec-form input:not([type=checkbox]),.bad-exec-form textarea{width:100%;padding:10px;border:1px solid #cfd1d5;border-radius:8px;background:#fff;color:#141517}.bad-plans button,.bad-exec-form button{cursor:pointer}.bad-plans h3{margin-top:25px}.bad-plan-message,.bad-exec-feedback{color:#ad4e00;font-weight:600}.bad-plan-editor{padding:14px;border:1px solid #e1e1e1;border-radius:10px}.bad-plan-editor summary{cursor:pointer;color:#f47720;font-weight:700}.bad-exec-form{border:1px solid #ddd;border-radius:12px;padding:18px;margin:18px 0}.bad-exec-exercise{border-top:1px solid #ddd;padding:14px 0}.bad-exec-set{display:grid;grid-template-columns:65px minmax(80px,1fr) minmax(80px,1fr) 90px;gap:10px;align-items:center;margin:8px 0}.bad-exec-set label{font-size:12px}.bad-exec-set label:last-child{display:flex;align-items:center;gap:5px}.bad-exec-set input[type=checkbox]{accent-color:#f47720}.bad-exec-actions{display:flex;gap:12px;margin-top:16px}.bad-exec-history details{border-bottom:1px solid #ddd;padding:10px 0}.bad-exec-history summary{cursor:pointer;font-weight:600}@media(max-width:650px){.bad-exec-set{grid-template-columns:1fr 1fr}.bad-exec-set>span{grid-column:1/-1}}

/* v0.7.4 — Campos de planos: largura, texto e responsividade */
.bad-plans .bad-plan-form,.bad-plans .bad-grant-form{grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));align-items:end;max-width:100%;}
.bad-plans .bad-plan-form>label,.bad-plans .bad-grant-form>label{min-width:0;max-width:100%;overflow:visible;}
.bad-plans .bad-plan-form :is(input,select,textarea),.bad-plans .bad-grant-form :is(input,select,textarea){box-sizing:border-box!important;min-width:0!important;max-width:100%!important;width:100%!important;height:auto;min-height:44px;line-height:1.4;padding:10px 14px!important;font-size:14px;text-indent:0!important;letter-spacing:normal!important;overflow:visible;}
.bad-plans .bad-plan-form select,.bad-plans .bad-grant-form select{padding-right:34px!important;text-overflow:ellipsis;white-space:nowrap;appearance:auto;}
@media(max-width:600px){.bad-plans .bad-plan-form,.bad-plans .bad-grant-form{grid-template-columns:minmax(0,1fr);}}

/* v0.7.5 — Layout dos planos e concessões: alinhamento independente do Elementor */
.bad-plans{min-width:0;max-width:100%;box-sizing:border-box}
.bad-plans *{box-sizing:border-box}
.bad-plans .bad-plan-editor{margin:18px 0 22px;padding:20px;border:1px solid #e2e2e2;border-radius:12px;background:#fff}
.bad-plans .bad-plan-editor summary{padding:2px 0;font-size:15px}
.bad-plans .bad-plan-form{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px 20px!important;align-items:start!important;margin:20px 0 0!important}
.bad-plans .bad-plan-form>label,.bad-plans .bad-grant-form>label{display:flex!important;flex-direction:column!important;gap:8px!important;margin:0!important;min-width:0!important;font-size:13px;line-height:1.4;color:#141517}
.bad-plans .bad-plan-form :is(input:not([type=checkbox]),select,textarea),.bad-plans .bad-grant-form :is(input,select,textarea){display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;min-height:46px!important;margin:0!important;padding:11px 13px!important;border:1px solid #d4d7dc!important;border-radius:9px!important;background:#fff!important;color:#141517!important;font-size:14px!important;line-height:1.45!important;box-shadow:none!important}
.bad-plans .bad-plan-form textarea{min-height:94px!important;resize:vertical}
.bad-plans .bad-plan-active{display:flex!important;flex-direction:row!important;align-items:center!important;gap:9px!important;min-height:46px}
.bad-plans .bad-plan-active input[type=checkbox]{width:18px!important;min-width:18px!important;height:18px!important;min-height:18px!important;margin:0!important;accent-color:#f47720}
.bad-plans .bad-plan-form-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;grid-column:1/-1;flex-wrap:wrap}
.bad-plans .bad-plan-form-actions button{min-width:145px}
.bad-plans .bad-plan-section{padding:22px 0;border-top:1px solid #ececec}
.bad-plans .bad-plan-section h3{margin:0 0 8px!important;font-size:21px;color:#141517}
.bad-plans .bad-plan-hint{margin:0 0 18px;color:#687078;font-size:13px}
.bad-plans .bad-grant-form{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px 18px!important;align-items:end!important;margin:0!important}
.bad-plans .bad-grant-actions{display:flex;justify-content:flex-end;align-items:end;grid-column:1/-1}
.bad-plans .bad-grant-actions button{min-height:46px;min-width:210px;background:#f47720!important;border:0!important;color:#fff!important;border-radius:9px!important;font-weight:700}
.bad-plans .bad-plan-form-actions .bad-ex-primary{background:#f47720!important;color:#fff!important;border:0!important}
.bad-plans .bad-plan-form-actions .bad-plan-cancel{background:#f1f2f4!important;color:#141517!important;border:1px solid #d4d7dc!important}
.bad-plans .bad-plan-message:not(:empty){padding:12px 14px;border-radius:8px;background:#fff4e9;color:#a84b00;margin:10px 0}
.bad-plans .bad-plan-message.is-error{background:#fff0f0;color:#ae2020}
.bad-plans .bad-plan-row{gap:12px;flex-wrap:wrap}
.bad-plans .bad-plan-row .bad-ex-actions{display:flex;gap:8px;margin:0}
.bad-plans .bad-plan-row .bad-ex-actions button,.bad-plans .bad-grant-revoke{min-height:40px;border-radius:8px;padding:8px 14px}
@media(max-width:850px){.bad-plans .bad-grant-form{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:580px){.bad-plans .bad-plan-form,.bad-plans .bad-grant-form{grid-template-columns:minmax(0,1fr)!important}.bad-plans .bad-plan-form-actions,.bad-plans .bad-grant-actions{justify-content:stretch}.bad-plans .bad-plan-form-actions button,.bad-plans .bad-grant-actions button{flex:1;min-width:0}}

/* v0.7.6 — layout consistente e execução centrada no treino do dia */
.bad-block .bad-cal-v56 .bad-cal-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 14px;align-items:end}
.bad-block .bad-cal-v56 .bad-cal-form>.bad-cal-hint,.bad-block .bad-cal-v56 .bad-cal-form>fieldset{grid-column:1/-1}
.bad-block .bad-cal-v56 .bad-cal-form>.bad-cal-primary,.bad-block .bad-cal-v56 .bad-cal-form>.bad-cal-secondary{grid-column:auto;justify-self:start;margin:0!important}
.bad-block .bad-cal-v56 .bad-cal-form>.bad-cal-primary{grid-column:1;grid-row:auto;justify-self:end}
.bad-block .bad-cal-v56 .bad-cal-form>.bad-cal-secondary{grid-column:2;justify-self:start}
.bad-block .bad-cal-v56 .bad-cal-form>label{min-width:0}
.bad-block .bad-cal-v56 .bad-cal-form>label input,.bad-block .bad-cal-v56 .bad-cal-form>label select{width:100%;min-width:0}
.bad-training-home{border:1px solid #e8e8e8;border-radius:14px;padding:20px;margin:16px 0;background:#fff}
.bad-training-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}
.bad-training-heading h3{margin:3px 0}.bad-training-heading p{margin:0;color:#747474;font-size:13px}
.bad-training-eyebrow{color:#e56b16;font-size:11px;font-weight:800;letter-spacing:.08em}
.bad-training-count{border-radius:30px;background:#fff0e6;color:#b44f0a;padding:7px 12px;font-size:12px;font-weight:700}
.bad-training-today{border:1px solid #ead9ca;border-radius:12px;padding:17px;display:flex;align-items:center;justify-content:space-between;gap:16px;margin:10px 0}
.bad-training-today strong{display:block;font-size:17px;color:#141517}.bad-training-today small{display:block;color:#666;margin-top:6px}
.bad-training-open{background:#F47720!important;color:white!important;border:1px solid #F47720!important;border-radius:9px!important;padding:11px 16px!important;font-weight:700!important;cursor:pointer;flex-shrink:0}
.bad-training-rest{padding:20px;background:#fafafa;border-radius:10px;color:#666}
.bad-training-upcoming{border:1px solid #e8e8e8;border-radius:12px;margin:15px 0;overflow:hidden}
.bad-training-upcoming>summary{cursor:pointer;padding:17px;font-weight:700;color:#141517}.bad-training-upcoming>summary span{font-size:12px;color:#777;font-weight:400;margin-left:10px}
.bad-training-list{padding:0 17px 12px}.bad-training-upcoming-row{display:flex;align-items:center;gap:15px;border-top:1px solid #eee;padding:13px 0}
.bad-training-upcoming-row>span{background:#f6f6f6;border-radius:8px;padding:9px;font-weight:700;min-width:54px;text-align:center}
.bad-training-upcoming-row>div{flex:1}.bad-training-upcoming-row strong,.bad-training-upcoming-row small{display:block}.bad-training-upcoming-row small{color:#777;font-size:12px;margin-top:3px}
.bad-exec-form[hidden]{display:none!important}.bad-executions{margin-top:18px}.bad-executions>h3{font-size:18px}
@media(max-width:650px){.bad-block .bad-cal-v56 .bad-cal-form{grid-template-columns:minmax(0,1fr)}.bad-block .bad-cal-v56 .bad-cal-form>.bad-cal-hint,.bad-block .bad-cal-v56 .bad-cal-form>fieldset{grid-column:1}.bad-block .bad-cal-v56 .bad-cal-form>.bad-cal-primary,.bad-block .bad-cal-v56 .bad-cal-form>.bad-cal-secondary{grid-column:1;justify-self:stretch;width:100%}.bad-training-today{flex-direction:column;align-items:stretch}.bad-training-open{width:100%}.bad-training-heading{align-items:flex-start}}

/* v0.7.7: ações do calendário agrupadas e consistentes em qualquer largura. */
.bad-block .bad-cal-v56 .bad-cal-form .bad-cal-form-buttons{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:10px;margin-top:4px;min-width:0}
.bad-block .bad-cal-v56 .bad-cal-form .bad-cal-form-buttons>button{margin:0!important;justify-self:auto!important;width:auto;min-width:140px;min-height:42px}
.bad-block .bad-cal-v56 .bad-cal-live-error{border:1px solid #efb3b3;background:#fff1f1;color:#9f2525;margin:10px 0}
@media(max-width:480px){.bad-block .bad-cal-v56 .bad-cal-form .bad-cal-form-buttons>button{flex:1 1 100%;width:100%}}

/* v0.7.8: student workout wizard */
.bad-exec-wizard{max-width:900px;margin:20px auto!important;padding:clamp(16px,3vw,28px)!important;background:#fff;color:#141517}
.bad-exec-wizard [hidden]{display:none!important}
.bad-exec-top{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex-wrap:wrap;border-bottom:1px solid #eee;padding-bottom:16px}
.bad-exec-top h4{font-size:24px;margin:4px 0;color:#141517}.bad-exec-top small{color:#777}
.bad-exec-kicker,.bad-exec-position{font-size:11px;font-weight:800;letter-spacing:.09em;color:#c55a10}
.bad-exec-progress{height:9px;background:#eee;border-radius:20px;overflow:hidden;margin:18px 0 8px}
.bad-exec-progress-bar{display:block;background:#f47720;height:100%;width:0;transition:width .2s}
.bad-exec-progress-label{font-size:13px;color:#666;margin:0 0 18px}
.bad-exec-wizard .bad-exec-exercise{border:0;padding:0}
.bad-exec-exercise-head h5{font-size:23px;margin:5px 0 16px;color:#141517}
.bad-exec-media{margin:16px 0}.bad-exec-media>strong{display:block;margin-bottom:10px}
.bad-exec-media-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:12px}
.bad-exec-media-grid img,.bad-exec-media-grid video{width:100%;max-height:340px;object-fit:contain;border-radius:12px;background:#141517}
.bad-exec-media-grid a{display:block}.bad-exec-embed{aspect-ratio:16/9;max-width:100%;overflow:hidden;border-radius:12px}.bad-exec-embed iframe{width:100%;height:100%}
.bad-exec-instructions,.bad-exec-extra{border:1px solid #eee;border-radius:10px;padding:12px;margin:14px 0}.bad-exec-instructions summary,.bad-exec-extra summary{cursor:pointer;font-weight:700}
.bad-exec-prescription{background:#fff7f1;border:1px solid #f6dfcf;border-radius:12px;padding:14px;margin:14px 0}.bad-exec-prescription p{margin:6px 0 0}
.bad-exec-set-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}
.bad-exec-wizard .bad-exec-set-tab{padding:10px 14px;border-radius:10px;border:1px solid #ddd;background:#f7f7f7;color:#333;font-weight:700}
.bad-exec-wizard .bad-exec-set-tab.is-active{border-color:#f47720;background:#fff1e7;color:#b84f09}.bad-exec-wizard .bad-exec-set-tab.is-done:before{content:'✓ ';color:#168344}
.bad-exec-wizard .bad-exec-set{display:block;border:1px solid #e8e8e8;border-radius:12px;padding:16px;margin:10px 0}
.bad-exec-wizard .bad-exec-set h6{font-size:18px;margin:0 0 14px}.bad-exec-set-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.bad-exec-wizard .bad-exec-set-fields label,.bad-exec-wizard .bad-exec-notes{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:700}
.bad-exec-wizard .bad-exec-check{display:flex!important;flex-direction:row!important;align-items:center!important;gap:10px!important;font-size:14px!important;margin:16px 0 0}.bad-exec-check input{width:20px;height:20px;accent-color:#f47720}
.bad-exec-notes{margin:16px 0}.bad-exec-navigation{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:18px 0}
.bad-exec-navigation button,.bad-exec-actions button{margin:0!important;min-height:44px}.bad-exec-navigation button:disabled{opacity:.45;cursor:not-allowed}
.bad-exec-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;margin-top:20px;border-top:1px solid #eee;padding-top:16px}
@media(max-width:600px){.bad-exec-set-fields{grid-template-columns:1fr}.bad-exec-navigation button{flex:1 1 130px}.bad-exec-actions button{flex:1 1 140px}.bad-exec-top .bad-exec-close{width:100%}}

/* v0.7.9 — referências por série, histórico e resumo */
.bad-exec-reference-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0}
.bad-exec-reference-grid>div{padding:14px;border:1px solid #e8e8e8;border-radius:12px;background:#fafafa}
.bad-exec-reference-grid strong{font-size:13px;color:#141517}.bad-exec-reference-grid p{margin:8px 0 0;font-size:13px}
.bad-exec-modes{border:0;padding:0;margin:15px 0;display:flex;flex-direction:column;gap:10px}
.bad-exec-modes legend{font-weight:700;margin-bottom:8px}.bad-exec-modes label{display:flex;align-items:center;gap:9px;cursor:pointer}
.bad-exec-modes input{accent-color:#f47720}.bad-exec-selected-values{padding:12px;background:#fff7f1;border-radius:10px}
.bad-exec-set-fields[hidden],.bad-exec-selected-values[hidden]{display:none!important}
.bad-exec-evolution,.bad-exec-finished,.bad-exec-summary-ex{padding:14px;border:1px solid #e8e8e8;border-radius:12px;margin:12px 0}
.bad-exec-evolution summary{cursor:pointer;font-weight:700}.bad-exec-evolution-list p{border-bottom:1px solid #eee;padding-bottom:8px}
.bad-exec-reset{margin:8px 0 20px!important}.bad-exec-summary-panel[hidden]{display:none!important}
@media(max-width:600px){.bad-exec-reference-grid{grid-template-columns:1fr}}

.bad-exec-chart{display:flex;align-items:flex-end;gap:8px;min-height:180px;overflow-x:auto;padding:18px 8px 8px;border-bottom:1px solid #ddd}.bad-exec-chart-col{display:flex;flex:1 0 42px;min-width:42px;height:150px;flex-direction:column;align-items:center;justify-content:flex-end;gap:5px}.bad-exec-chart-col span{font-size:11px;white-space:nowrap}.bad-exec-chart-bar{width:80%;background:#f47720;border-radius:5px 5px 0 0;min-height:4px}.bad-exec-chart-col small{font-size:10px}

/* v0.7.10 — navegação dedicada e ações simplificadas */
#ba-treinos.bad-execution-active>h2{display:none}
#ba-treinos .bad-training-home[hidden],#ba-treinos .bad-training-upcoming[hidden],#ba-treinos .bad-executions[hidden],#ba-treinos .bad-exec-finished[hidden]{display:none!important}
#ba-treinos.bad-execution-active .bad-executions{margin:0}
.bad-exec-wizard{max-width:1000px;margin:0 auto!important}
.bad-exec-exercise-list h5{font-size:21px;margin:24px 0 4px}
.bad-exec-exercise-list>p{color:#697078;margin:0 0 16px}
.bad-exec-exercise-cards{display:grid;gap:10px}
.bad-exec-wizard .bad-exec-exercise-card{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;text-align:left;padding:16px 18px;border:1px solid #e3e4e6;border-radius:12px;background:#fff;color:#141517;transition:border-color .15s,background .15s}
.bad-exec-exercise-card:hover,.bad-exec-exercise-card:focus-visible{border-color:#f47720;background:#fff9f4}
.bad-exec-exercise-card span:first-child{display:flex;flex-direction:column;gap:5px}
.bad-exec-exercise-card small{color:#697078}
.bad-exec-card-status{font-size:12px;font-weight:700;color:#c55a10;white-space:nowrap}
.bad-exec-workout-actions{display:flex;flex-wrap:wrap;gap:12px;margin:22px 0 0;padding-top:18px;border-top:1px solid #eee}
.bad-exec-workout-actions button{min-height:46px}
.bad-exec-workout-actions button:disabled{opacity:.45;cursor:not-allowed}
.bad-exec-back-exercises{margin:12px 0 22px!important}
.bad-exec-demonstration{border:1px solid #e6e6e6;border-radius:12px;padding:14px 16px;margin:14px 0}
.bad-exec-demonstration summary{cursor:pointer;font-weight:700;color:#141517}
.bad-exec-demonstration .bad-exec-media{margin:18px 0}
.bad-exec-prescription{padding:12px 16px}
.bad-exec-prescription:not(:has(p)){display:none}
.bad-exec-wizard .bad-exec-set{padding:clamp(14px,3vw,22px)}
.bad-exec-modes{display:grid;gap:8px}
.bad-exec-modes label{display:flex!important;flex-direction:row!important;justify-content:flex-start!important;align-items:center!important;gap:10px!important;width:100%;padding:11px 12px;border:1px solid #e6e6e6;border-radius:9px;font-size:14px;line-height:1.35}
.bad-exec-modes input[type=radio]{width:17px!important;min-width:17px!important;height:17px!important;margin:0!important;flex:0 0 17px;accent-color:#f47720}
.bad-exec-modes label:has(input:checked){border-color:#f47720;background:#fff7f1}
.bad-exec-modes label:has(input:disabled){opacity:.55}
.bad-exec-navigation{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.bad-exec-navigation button{min-height:48px!important}
.bad-exec-set-tab.is-skipped:before{content:'↷ ';color:#b66a16}
.bad-exec-finished{max-width:1000px;margin:0 auto}
@media(max-width:550px){.bad-exec-workout-actions button{flex:1 1 100%}.bad-exec-navigation{grid-template-columns:1fr 1fr}.bad-exec-exercise-card{flex-wrap:wrap}.bad-exec-reference-grid{grid-template-columns:1fr}}

/* v0.7.11 — series controls only inside an open exercise */
.bad-exec-wizard .bad-exec-navigation[hidden]{display:none!important}
.bad-exec-wizard .bad-exec-exercise[hidden],.bad-exec-wizard .bad-exec-exercise-list[hidden]{display:none!important}
