:root{--ink:#202a35;--muted:#737f8e;--red:#b72b35;--line:#e4e8ed;--bg:#f6f8fa;--card:#fff;--radius:18px}*{box-sizing:border-box}body{margin:0;font-family:Inter,Arial,"Segoe UI",sans-serif;color:var(--ink);background:linear-gradient(160deg,#f5f7f9,#fafbfc 55%,#f2f4f6);min-height:100vh}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:inherit}button:disabled{opacity:.55;cursor:not-allowed}.apphead{height:85px;background:#fff;border-bottom:1px solid var(--line);padding:10px clamp(20px,4vw,65px);display:flex;align-items:center;justify-content:space-between;gap:20px;position:sticky;top:0;z-index:20}.brand img{height:60px;width:116px;object-fit:contain}.head-tag{font-size:11px;letter-spacing:1.8px;color:#8993a0;font-weight:650}.head-tag b{color:var(--red)}#head-actions{display:flex;gap:10px;align-items:center}main{max-width:1280px;margin:0 auto;padding:clamp(24px,4vw,55px) 24px 85px}h1,h2,h3,p{margin-top:0}h1{letter-spacing:-1.6px;font-size:clamp(30px,4vw,43px);line-height:1.15}h2{letter-spacing:-.6px;font-size:22px}h3{font-size:16px}.eyebrow{text-transform:uppercase;font-size:10px;letter-spacing:2px;color:var(--red);font-weight:800;margin-bottom:11px}.muted{color:var(--muted)}.lead{max-width:730px;color:var(--muted);line-height:1.65}.btn{border:1px solid var(--line);background:#fff;border-radius:10px;color:var(--ink);padding:11px 17px;font-weight:700;font-size:12px;display:inline-flex;align-items:center;justify-content:center;gap:9px;text-decoration:none;min-height:41px;transition:.2s}.btn:hover{background:#f7f7f8}.btn-red{background:var(--red);border-color:var(--red);color:#fff}.btn-red:hover{background:#9e222b}.btn-dark{background:#2b3540;border-color:#2b3540;color:#fff}.btn-small{font-size:11px;padding:8px 12px;min-height:34px}.card{background:#fff;border:1px solid var(--line);box-shadow:0 15px 45px rgba(35,46,60,.035);border-radius:var(--radius);padding:clamp(19px,2.2vw,29px)}.auth{max-width:600px;margin:30px auto}.auth-card{padding:40px}.auth-card h1{font-size:33px}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.field{display:flex;flex-direction:column;gap:8px;min-width:0}.field.wide{grid-column:1/-1}.field label{font-size:12px;font-weight:750}.field input,.field textarea,.field select{border:1px solid #dbe1e7;padding:12px 13px;border-radius:10px;background:#fff;width:100%;min-height:44px;color:var(--ink);outline-offset:2px}.field textarea{resize:vertical;line-height:1.6;min-height:110px}.field input:focus,.field select:focus,.field textarea:focus{outline:2px solid #eed3d5;border-color:#ca7277}.helper{font-size:11px;line-height:1.65;color:var(--muted)}.actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:21px}.switch{border:0;background:none;text-decoration:underline;cursor:pointer;color:var(--red);font-size:12px}.alert{padding:14px 17px;background:#fff7ea;border:1px solid #f0dfbd;color:#70552d;border-radius:11px;font-size:12px;line-height:1.65}.alert.error{background:#fff0f1;color:#8b2630;border-color:#eac8cc}.alert.good{background:#eff8f1;color:#246338;border-color:#d5e9d8}.alert.info{background:#f2f6fa;color:#566779;border-color:#e4e9f0}#notice:empty{display:none}#notice{position:fixed;right:16px;top:97px;z-index:60;max-width:430px;box-shadow:0 16px 40px #0001;border-radius:11px}#notice:not(:empty){background:#fff;padding:14px 20px;border:1px solid var(--line);font-size:13px}.appgrid{display:grid;grid-template-columns:236px minmax(0,1fr);gap:26px}.sidebar{background:#fff;border:1px solid var(--line);border-radius:17px;align-self:start;position:sticky;top:110px;padding:20px}.sidebar-label{font-size:10px;letter-spacing:1.7px;font-weight:800;color:#9ba3ae;margin-bottom:15px}.navbtn{display:flex;gap:11px;width:100%;text-align:left;padding:14px;border:0;border-radius:10px;color:#6d7884;background:transparent;margin:2px 0;font-size:12px;font-weight:700}.navbtn.active{background:#fbedef;color:var(--red)}.dashboard-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:15px;margin-bottom:26px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-bottom:22px}.stat{padding:23px;background:#fff;border:1px solid var(--line);border-radius:15px}.stat strong{font-size:32px;display:block;letter-spacing:-1px;margin:10px 0}.stat span{font-size:11px;color:var(--muted)}.tablewrap{overflow:auto}.gridcards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.item{border:1px solid var(--line);background:#fff;border-radius:14px;padding:19px}.item h3{margin:0 0 9px}.item p{font-size:12px;color:var(--muted);line-height:1.65;margin-bottom:14px}.pill{font-size:10px;color:#5f6f7c;background:#f1f4f6;border-radius:20px;padding:6px 9px;display:inline-block;margin:2px 4px 7px 0}.table{border-collapse:collapse;min-width:660px;width:100%;font-size:12px}.table th{color:#8a96a2;background:#f8fafb;text-transform:uppercase;font-size:10px;letter-spacing:.4px;text-align:left;padding:14px}.table td{padding:16px 14px;border-bottom:1px solid var(--line);line-height:1.55}.table tr:last-child td{border-bottom:0}.sectionbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:22px}.sectionbar h2{margin:0}.tools{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:23px}.tools select,.tools input{padding:11px;border:1px solid var(--line);border-radius:9px;min-width:170px;flex:1}.editor-session{padding:15px;border:1px solid var(--line);border-radius:13px;margin-top:16px}.editor-row{display:grid;grid-template-columns:2fr .65fr .8fr .95fr 48px;gap:8px;align-items:center;margin-top:10px}.editor-row input,.editor-row select{border:1px solid var(--line);border-radius:8px;padding:10px;min-width:0;width:100%;font-size:11px}.editor-row .mini{background:#f7f7f8;border:1px solid var(--line);border-radius:8px;padding:10px;font-size:12px}.editor-row-label{font-size:10px;color:#9aa5ae;font-weight:800}.check{display:flex;gap:9px;align-items:flex-start;font-size:12px;color:#52616e;line-height:1.6}.check input{margin-top:3px}.line{border-top:1px solid var(--line);margin:22px 0}.mini-info{display:flex;align-items:center;gap:15px;font-size:12px;color:var(--muted);flex-wrap:wrap}.empty{padding:45px 15px;text-align:center;color:#96a0ab}.pending{background:#fff1ed;color:#a04b34}.published{background:#e6f5ed;color:#25784a}.mono{font-variant-numeric:tabular-nums}.tophero{padding:32px;border-radius:19px;background:linear-gradient(112deg,#fff,#f9f5f5);border:1px solid #ece6e6;margin-bottom:27px}.warn-band{margin:20px 0}.minor-box{padding:13px;border:1px solid #ebd9b4;background:#fffcf4;border-radius:10px}#print-layout{display:none}.print-sheet{background:white;color:#222;font-family:Arial,sans-serif;padding:15mm;max-width:210mm;margin:auto}.print-brand{display:flex;justify-content:space-between;align-items:center;border-bottom:3px solid #ba2730;padding-bottom:15px;margin-bottom:17px}.print-brand img{width:90px;height:57px;object-fit:contain}.print-header{font-size:12px;line-height:1.8;display:flex;flex-wrap:wrap;gap:8px 30px}.print-session{break-inside:avoid;margin:20px 0}.print-session h3{background:#252525;color:#fff;padding:9px 11px;font-size:13px}.print-table{border-collapse:collapse;width:100%;font-size:10px}.print-table th,.print-table td{border-bottom:1px solid #ddd;padding:6px;text-align:left}.print-table img{width:48px;height:42px;object-fit:contain}.print-notes{margin-top:19px;font-size:10px}.print-foot{border-top:1px solid #ddd;padding-top:10px;margin-top:20px;font-size:9px;color:#555}@media(max-width:900px){.appgrid{display:block}.sidebar{position:static;margin-bottom:21px;display:flex;flex-wrap:wrap;gap:6px}.sidebar-label{width:100%}.navbtn{width:auto}.stats{grid-template-columns:repeat(2,1fr)}.editor-row{grid-template-columns:minmax(0,1fr) 60px 80px 80px 40px}}@media(max-width:620px){.apphead{height:72px;padding:8px 16px}.brand img{height:51px;width:84px}.head-tag{display:none}main{padding:25px 15px 55px}.auth{margin:5px auto}.auth-card{padding:24px}.formgrid,.stats,.gridcards{grid-template-columns:1fr}.editor-row{grid-template-columns:1fr 1fr}.editor-row>select{grid-column:1/-1}.editor-row-label{display:none}.editor-row input{min-height:39px}}@media print{@page{size:A4;margin:10mm}body{background:white!important}body>*:not(#print-layout){display:none!important}#print-layout{display:block!important}.print-sheet{padding:0;max-width:none}.print-session{break-inside:avoid}}

/* PH HIT V8: biblioteca operacional */
.session-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.session-title h3{margin:0}.item{box-shadow:0 10px 30px rgba(32,42,53,.025);transition:transform .16s,box-shadow .16s}.item:hover{transform:translateY(-2px);box-shadow:0 16px 38px rgba(32,42,53,.075)}.sidebar .navbtn{transition:.15s}.sidebar .navbtn:hover{background:#f6f7f9}.gridcards>.item .actions{margin-top:15px}.sectionbar .helper{margin-left:auto}.sidebar{box-shadow:0 12px 38px rgba(32,42,53,.025)}.tophero{position:relative;overflow:hidden}.tophero:after{content:"";position:absolute;right:-50px;top:-55px;width:250px;height:250px;border-radius:50%;border:29px solid rgba(170,42,50,.035);pointer-events:none}@media(max-width:640px){.sectionbar{display:block}.sectionbar .helper{display:block;margin-top:8px}}
/* V9: orientação em vídeo e QR Codes imprimíveis, sem serviços externos para gerar QR. */
.video-editor{margin:9px 0 18px;padding:10px 12px;border:1px solid #e7e9ef;border-radius:11px;background:#fafbfc;display:flex;gap:14px;align-items:center}.video-thumb{flex:none;width:67px;height:67px;border:1px solid #e6e8eb;border-radius:7px;background:#fff;display:grid;place-items:center}.video-thumb svg{max-width:100%;height:auto}.video-editor-info{font-size:10px;letter-spacing:.65px;font-weight:800;display:flex;flex-direction:column;gap:5px;flex:1;min-width:0}.video-editor-info small{letter-spacing:0;font-size:10px;color:#858f9b;font-weight:500}.video-editor-info input{width:100%;min-width:0;border:1px solid #dfe4e9;background:#fff;border-radius:7px;padding:9px;color:#465565;font-size:11px}.video-editor-info a{color:#bd2e39;text-decoration:none}.video-editor-info a:hover{text-decoration:underline}.qr-empty{font-size:8px;text-align:center;line-height:1.4;color:#aab0b8}.print-table{table-layout:fixed;font-size:9px}.print-table th{font-size:8px;letter-spacing:.15px}.print-table th:nth-child(1){width:12%}.print-table th:nth-child(2){width:29%}.print-table th:nth-child(3){width:10%}.print-table th:nth-child(4){width:11%}.print-table th:nth-child(5){width:12%}.print-table th:nth-child(6){width:26%}.print-table td{vertical-align:middle;padding:6px 4px}.print-table .photo-cell img{width:51px;height:50px;object-fit:contain}.print-ex-name{font-weight:bold;word-break:break-word}.print-source{display:block;font-size:7px;font-weight:400;color:#777;margin-top:3px}.print-qr{text-align:center!important}.print-qr svg{width:76px;height:76px;max-width:100%;display:block;margin:0 auto 3px}.print-qr a{color:#b82934;font-size:8px;font-weight:bold;text-decoration:underline;display:block;white-space:nowrap}.print-qr small{font-size:7px}.print-intro{font-size:9px;color:#555;line-height:1.55;margin:10px 0 2px}.print-session{margin:14px 0}.print-session h3{margin-bottom:0}.print-notes{line-height:1.6}.print-foot{line-height:1.55}.print-sheet{padding:12mm}@media(max-width:640px){.video-editor{align-items:flex-start}.video-editor-info input{font-size:11px}}@media print{@page{size:A4;margin:9mm}.print-sheet{padding:0!important;max-width:none}.print-qr svg{width:19mm;height:19mm}.print-session{break-inside:auto}.print-table tr{break-inside:avoid}.print-table thead{display:table-header-group}.print-intro{font-size:9px}}

/* V10: atualização de contatos em cadastros já existentes */
.contact-card{border:1px solid #e0e6ec;box-shadow:0 16px 40px rgba(24,42,59,.06);background:#fff}
.contact-card .sectionbar{flex-wrap:wrap}.contact-card .field label{color:#354251}.contact-card .helper{margin-top:0}
.table td .pill.pending{white-space:nowrap}.table td .btn{white-space:nowrap}
@media(max-width:700px){.contact-card .formgrid{grid-template-columns:1fr}.contact-card .field{grid-column:1/-1}}

/* ===== V11: montador, área do aluno e ficha ===== */
.head-user{font-size:11px}
.auth-foot{margin-top:18px}
.auth-foot a,.check a{color:var(--red)}
.stats-4{grid-template-columns:repeat(4,1fr)}
.stat-alert{border-color:#f0c3c6!important;background:#fff5f5!important}
.stat-alert strong{color:var(--red)}
.row-alert td{background:#fff8f8}
.alert-pill{background:#fde8ea;color:#a3212b;font-weight:800}
.formgrid-3{grid-template-columns:repeat(3,1fr)}
.inline-search{margin-left:auto;padding:9px 11px;border:1px solid var(--line);border-radius:9px;min-width:200px}
.student-box{margin-top:16px;padding:16px;border:1px solid #dfe6ee;border-radius:13px;background:#fafcfe;display:flex;gap:16px;justify-content:space-between;align-items:flex-start}
.student-box p{margin:8px 0 0;font-size:13px;line-height:1.55}
.student-box.is-alert{border-color:#f0c3c6;background:#fff7f7}
.student-actions{display:flex;flex-direction:column;gap:8px;min-width:220px}
.editor-grid{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:18px;align-items:start;margin-top:4px}
.editor-side{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:12px;margin-top:16px;align-items:start}.issues.ok p{margin:6px 0 0}
.editor-session{background:#fff}
.session-title{flex-wrap:wrap}
.session-name{flex:1;min-width:180px;border:1px solid var(--line);border-radius:8px;padding:9px 11px;font-weight:600}
.apply-all{display:flex;flex-wrap:wrap;gap:6px;align-items:center;font-size:11px;color:var(--muted);background:#f7f9fb;border-radius:9px;padding:8px 10px;margin-bottom:6px}
.apply-all input{width:84px;border:1px solid var(--line);border-radius:7px;padding:7px 8px;font-size:11px}
.ex-head,.ex-main{display:grid;grid-template-columns:22px 46px minmax(0,1fr) 58px 92px 92px 128px;gap:7px;align-items:center}
.ex-head{font-size:10px;color:#9aa5ae;font-weight:800;margin-top:10px}
.ex-card{border:1px solid #edf0f3;border-radius:11px;padding:8px;margin-top:8px;background:#fff}
.ex-card.is-cardio{background:#f8fbf9}
.ex-card input,.ex-card select{border:1px solid var(--line);border-radius:8px;padding:9px;min-width:0;width:100%;font-size:12px;background:#fff}
.ex-num{font-size:11px;font-weight:800;color:#9aa5ae;text-align:center}
.ex-photo img,.ex-ph{width:44px;height:40px;object-fit:contain;border-radius:6px;display:grid;place-items:center}
.ex-ph{background:#f1f3f6;color:#7c8794;font-size:11px;font-weight:800;letter-spacing:.5px}
.ex-tools{display:flex;gap:4px}
.mini{background:#f7f7f8;border:1px solid var(--line);border-radius:7px;padding:7px 0;font-size:12px;flex:1;min-width:28px}
.mini:disabled{opacity:.35}
.mini.danger:hover{background:#fde8ea;color:#a3212b}
.ex-extra{display:grid;grid-template-columns:130px 170px minmax(0,1fr) 92px;gap:7px;margin-top:7px;padding-left:75px;align-items:start}
.ex-video summary{cursor:pointer;font-size:11px;font-weight:700;padding:9px 6px;border:1px solid var(--line);border-radius:8px;text-align:center;list-style:none;color:#5c6875}
.ex-video[open]{grid-column:1/-1}
.ex-video[open] summary{display:inline-block;padding:6px 12px}
.ex-video .video-editor{margin:8px 0 0}
.add-ex{margin-top:10px}
.add-ex select{width:100%;border:1px dashed #c9d1da;border-radius:9px;padding:10px;font-size:12px;background:#fbfcfd;color:#4b5866;font-weight:600}
.volume,.issues{border:1px solid var(--line);border-radius:13px;padding:13px;background:#fff;font-size:12px}
.volume-head{margin-bottom:9px}.volume{columns:2;column-gap:22px}.volume-head{column-span:all}.vrow{break-inside:avoid}
.volume-head .helper{display:block;font-size:10px;margin-top:3px}
.vrow{display:grid;grid-template-columns:86px 1fr 30px;gap:7px;align-items:center;margin:5px 0}
.vrow span{color:#4b5866}
.vbar{height:7px;background:#eef1f4;border-radius:5px;overflow:hidden}
.vbar i{display:block;height:100%;background:#7b8794;border-radius:5px}
.vrow.low i{background:#d9a23c}.vrow.high i{background:var(--red)}
.vrow b{text-align:right;font-variant-numeric:tabular-nums}
.issues ul{margin:8px 0 0;padding-left:17px;line-height:1.5;color:#7a4a17}
.issues.ok{color:#25784a;background:#f3faf6;border-color:#cfe9db}
.publish-bar{position:sticky;bottom:0;z-index:5;display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:18px;padding:12px;background:rgba(255,255,255,.96);border:1px solid var(--line);border-radius:14px;box-shadow:0 -8px 24px rgba(32,42,53,.06)}
.session-tabs{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px;margin-bottom:14px}
.stab{border:1px solid var(--line);background:#fff;border-radius:12px;padding:10px 16px;display:flex;flex-direction:column;align-items:flex-start;min-width:110px;text-align:left}
.stab b{font-size:18px}.stab span{font-size:11px;color:var(--muted)}
.stab.active{border-color:var(--red);background:#fff6f6}
.stab.active b{color:var(--red)}
.treino-list{display:flex;flex-direction:column;gap:10px}
.treino-card{display:grid;grid-template-columns:26px 74px 1fr;gap:12px;align-items:start;background:#fff;border:1px solid var(--line);border-radius:14px;padding:12px}
.treino-n{font-weight:800;color:var(--red);font-size:15px;padding-top:4px}
.treino-photo img,.treino-photo .ex-ph{width:74px;height:66px;object-fit:contain;border-radius:8px;display:grid;place-items:center}
.treino-body h3{margin:2px 0 6px;font-size:15px}
.treino-params{display:flex;flex-wrap:wrap;gap:6px 14px;font-size:13px;color:#4b5866}
.treino-params b{color:var(--ink)}
.treino-met{margin:6px 0 0;font-size:12px;font-weight:700;color:#7a4a17}
.treino-obs{margin:6px 0 0;font-size:12px;color:#5c6875}
.treino-body .btn{margin-top:9px}
.treino-notes{margin-top:16px}
.treino-notes p{margin:6px 0 0;line-height:1.6;color:#4b5866;font-size:13px}
.print-table th:nth-child(1){width:11%}.print-table th:nth-child(2){width:31%}.print-table th:nth-child(3){width:8%}.print-table th:nth-child(4){width:10%}.print-table th:nth-child(5){width:10%}.print-table th:nth-child(6){width:10%}.print-table th:nth-child(7){width:20%}
.print-table{font-size:10px}
.print-ex-name{font-size:11.5px}
.print-source{font-size:8.5px}
.print-load{border-left:1px dashed #ccc}
.print-table .ex-ph{width:48px;height:44px;font-size:10px;background:#f2f2f2;color:#888}
@media (max-width:1100px){.editor-side{grid-template-columns:1fr}}@media (max-width:620px){.volume{columns:1}}
@media (max-width:900px){.stats-4{grid-template-columns:repeat(2,1fr)}.ex-head{display:none}.ex-main{grid-template-columns:repeat(6,minmax(0,1fr))}.ex-num{display:none}.ex-photo{grid-column:1/2}.ex-main select{grid-column:2/-1}.ex-main input{grid-column:span 2}.ex-tools{grid-column:1/-1}.ex-extra{padding-left:0;grid-template-columns:1fr 1fr}.ex-notes{grid-column:1/-1}.student-box{flex-direction:column}.student-actions{min-width:0;width:100%}.formgrid-3{grid-template-columns:1fr}}
@media (max-width:620px){.treino-card{grid-template-columns:22px 58px 1fr;gap:9px}.treino-photo img,.treino-photo .ex-ph{width:58px;height:54px}.inline-search{min-width:0;width:100%;margin-top:8px}}
@media print{.print-session+.print-session{break-before:page}.print-table th{font-size:8.5px}}
@media (max-width:620px){.publish-bar{position:static;box-shadow:none}}

/* V12: mesma tipografia do site */
@font-face{font-family:'Archivo Black';src:url(assets/fonts/archivo-black.woff) format('woff');font-weight:400;font-display:swap}
@font-face{font-family:'DM Sans';src:url(assets/fonts/dm-sans.woff) format('woff');font-weight:100 1000;font-display:swap}
body,button,input,select,textarea{font-family:'DM Sans','Helvetica Neue',Arial,sans-serif}
h1{font-family:'Archivo Black','Arial Black',sans-serif;font-weight:400;letter-spacing:-.03em}
.stab b,.treino-n{font-family:'Archivo Black','Arial Black',sans-serif;font-weight:400}

/* ===== V13: vídeo de todos os exercícios, QR por link curto, etiquetas para as máquinas ===== */
.treino-photo{position:relative;display:block;text-decoration:none;border-radius:10px}
a.treino-photo:focus-visible,.btn-video:focus-visible,.vcard a:focus-visible{outline:3px solid #f2b8bd;outline-offset:2px}
.treino-photo .play-dot{position:absolute;right:-4px;bottom:-4px;width:26px;height:26px;border-radius:50%;background:var(--red);color:#fff;font-size:10px;display:grid;place-items:center;box-shadow:0 3px 10px rgba(183,43,53,.35);padding-left:2px}
.btn-video{margin-top:10px;min-height:44px;font-size:13px;letter-spacing:.2px}
@media (max-width:620px){.btn-video{width:100%}}
.vgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:12px}
.vcard{border:1px solid var(--line);border-radius:14px;padding:14px;background:#fff;display:flex;flex-direction:column;gap:12px}
.vcard-top{display:grid;grid-template-columns:52px 1fr;gap:11px;align-items:start}
.vcard-top h3{margin:0 0 3px;font-size:14px;line-height:1.3}
.vcard-top p{margin:0 0 6px;font-size:11px;color:var(--muted)}
.vcard-photo img,.vcard-photo .ex-ph{width:52px;height:48px;object-fit:contain;border-radius:8px}
.vcard-bottom{display:grid;grid-template-columns:88px 1fr;gap:12px;align-items:center;border-top:1px dashed var(--line);padding-top:12px}
.vcard-qr{width:88px;height:88px;border:1px solid #eceef1;border-radius:8px;display:grid;place-items:center;background:#fff}
.vcard-qr svg{width:80px;height:80px}
.vcard-actions{display:flex;flex-direction:column;gap:6px;min-width:0}
.vcard-actions small{font-size:10px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.print-howto{display:grid;grid-template-columns:24mm 1fr;gap:5mm;align-items:center;border:1px solid #e3e3e3;border-left:3px solid #b82934;border-radius:3mm;padding:3mm 4mm;margin:10px 0 4px;font-size:9px;line-height:1.5;color:#333}
.print-howto-qr svg{width:24mm;height:24mm;display:block}
.print-howto ol{margin:3px 0 4px;padding-left:15px}
.print-howto span{color:#666;font-size:8px}
.print-ex-name a,.photo-cell a{color:inherit;text-decoration:none}
.print-qr-link{display:block;text-decoration:none!important;color:#b82934}
.print-play{display:block;font-size:8px;font-weight:bold;text-decoration:underline;white-space:nowrap}
.label-sheet{display:grid;grid-template-columns:1fr 1fr;gap:6mm;font-family:Arial,sans-serif;color:#1b1c1f}
.label-card{border:1.5px dashed #9a9a9a;border-radius:4mm;padding:6mm 5mm;text-align:center;display:flex;flex-direction:column;align-items:center;gap:2mm;break-inside:avoid;height:85mm}
.label-logo{height:11mm;width:auto;object-fit:contain}
.label-qr svg{width:44mm;height:44mm;display:block}
.label-card strong{font-size:14px;line-height:1.2}
.label-card span{font-size:10px;color:#444}
.label-card small{font-size:8px;color:#888}
.cat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:4mm;margin-top:6mm}
.cat-item{border:1px solid #e2e2e2;border-radius:2mm;padding:3mm;text-align:center;break-inside:avoid;font-size:9px;display:flex;flex-direction:column;align-items:center;gap:1.5mm}
.cat-item svg{width:28mm;height:28mm}
.cat-item small{font-size:7px;color:#777}
@media print{.label-sheet{gap:5mm}.label-card{page-break-inside:avoid}}

/* ===== V14: escolha da divisão e banco de treinos ===== */
.split-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:10px;margin-top:8px}
.split-card{position:relative;display:flex;gap:10px;align-items:flex-start;border:1.5px solid var(--line);border-radius:13px;padding:13px 14px;background:#fff;cursor:pointer;transition:border-color .15s,background .15s}
.split-card:hover{border-color:#d9b9bc}
.split-card input{margin-top:3px;accent-color:var(--red);flex:none}
.split-card:has(input:checked){border-color:var(--red);background:#fff8f8}
.split-card:has(input:focus-visible){outline:3px solid #f2b8bd;outline-offset:2px}
.split-body{display:flex;flex-direction:column;gap:5px;min-width:0}
.split-title{font-weight:800;font-size:13px;line-height:1.3;display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.split-title em{font-style:normal;font-size:10px;font-weight:800;color:#25784a;background:#e6f5ed;border-radius:20px;padding:3px 8px}
.split-desc{font-size:12px;line-height:1.55;color:#3d4955}
.split-meta{font-size:11px;line-height:1.55;color:var(--muted)}
.split-meta b{color:#52616e}
.bank-panel{margin-top:12px;border:1px solid #dfe9e2;background:#f7fbf8;border-radius:13px;padding:13px 15px;font-size:12px}
.bank-head{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.bank-head .pill{margin:0}
.bank-panel ul{margin:8px 0 4px;padding-left:18px;line-height:1.6;color:#41505d}
.chips{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-top:8px}
.chips>span{font-size:10px;font-weight:800;color:#8a96a2;letter-spacing:.4px;text-transform:uppercase;margin-right:2px}
.chip{border:1px solid var(--line);background:#fff;border-radius:20px;padding:6px 11px;font-size:11px;font-weight:700;color:#4b5866}
.chip small{font-weight:500;color:#8a96a2}
.chip.on{background:var(--red);border-color:var(--red);color:#fff}
.chip.on small{color:#fde3e5}
.bank-tools select{min-width:150px}
[hidden]{display:none!important}
.field .split-card input[type=radio]{width:18px!important;height:18px;min-height:0!important;padding:0!important;border:0;margin:2px 0 0;flex:none}
.field label.split-card{font-weight:400}
.field label.check{flex-direction:row;font-weight:500}.field .check input[type=checkbox]{width:18px!important;height:18px;min-height:0!important;padding:0!important;flex:none;accent-color:var(--red)}
/* V18: imagem de todos os exercícios, maior, na coluna da esquerda da ficha */
.print-table th:nth-child(1){width:15%}
.print-table th:nth-child(2){width:28%}
.print-table .photo-cell img{width:78px;height:65px;object-fit:contain;display:block;border-radius:4px}
.print-table .photo-cell{padding:4px 6px 4px 0}
/* V19: condições de saúde */
.treino-notes p,.print-notes{white-space:pre-line}
.health-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:8px;margin-top:8px}
.field label.health-opt{display:flex;gap:9px;align-items:flex-start;border:1.5px solid var(--line);border-radius:11px;padding:11px 12px;background:#fff;font-weight:500;font-size:12px;line-height:1.45;cursor:pointer}
.field .health-opt input[type=checkbox]{width:18px!important;height:18px;min-height:0!important;padding:0!important;flex:none;margin:0;accent-color:var(--red)}
.health-opt:has(input:checked){border-color:var(--red);background:#fff8f8}
.health-opt:has(input:focus-visible){outline:3px solid #f2b8bd;outline-offset:2px}
.alert-pill{background:#fff1ed;color:#a04b34;font-weight:700}
.cond-box{margin-top:12px;border-top:1px dashed #cfe0d5;padding-top:10px}
.cond-box strong{display:block;color:#8b2630;margin-bottom:4px}
.cond-box p{margin:6px 0 2px;line-height:1.55;color:#41505d}
/* V20: app instalável */
.install-card{display:flex;gap:16px;align-items:flex-start;border-color:#f0d6d8;background:linear-gradient(135deg,#fff,#fff7f7)}
.install-card img{border-radius:14px;flex:none;box-shadow:0 6px 16px rgba(27,28,31,.12)}
.install-card h2{margin-bottom:6px}
