@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');*{box-sizing:border-box}body{margin:0;background:#f5f6f8;color:#1d2433;font-family:Inter,Arial,sans-serif}aside{position:fixed;left:0;top:0;bottom:0;width:230px;background:#111820;color:#fff;padding:28px 18px}.brand{display:flex;gap:12px;align-items:center;font-weight:800;letter-spacing:1px;margin:0 10px 35px}.brand>span{background:#b5232c;width:42px;height:42px;border-radius:12px;display:grid;place-items:center;font-size:22px}.brand small{display:block;font-size:9px;letter-spacing:3px;color:#9ba5b2;margin-top:3px}nav{display:grid;gap:8px;max-height:calc(100vh - 150px);overflow:auto}.sidebar-version{position:absolute;left:18px;right:18px;bottom:14px;padding-top:10px;border-top:1px solid #27313c;color:#7f8a97;font-size:10px;letter-spacing:.7px;text-align:center}.sidebar-version span{color:#596572}@media(max-width:900px){.sidebar-version{left:8px;right:8px;font-size:9px}.sidebar-version span{display:none}}nav a{color:#bfc7d0;text-decoration:none;padding:13px 14px;border-radius:10px;font-size:14px;display:flex;gap:12px}nav a:hover{background:#1d2732;color:#fff}main{margin-left:230px;min-height:100vh}header{height:78px;background:#fff;border-bottom:1px solid #e7e9ed;padding:0 34px;display:flex;align-items:center;justify-content:space-between}header b{display:block}header small{display:block;color:#8a93a1;margin-top:3px}.avatar{width:38px;height:38px;border-radius:50%;background:#e9edf1;display:grid;place-items:center;font-weight:700}section{padding:30px 34px;max-width:1450px;margin:auto}.hero{background:linear-gradient(120deg,#151d27,#263444);border-radius:18px;color:#fff;padding:30px 34px;margin-bottom:20px}.hero small{color:#d4a9ab;font-weight:700;letter-spacing:2px}.hero h1{margin:8px 0 5px;font-size:30px}.hero p{margin:0;color:#b9c1ca}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:20px}.card,.panel{background:#fff;border:1px solid #e6e9ed;border-radius:14px;box-shadow:0 2px 8px #1d243308}.card{padding:22px}.card small{font-size:11px;color:#788392;font-weight:700;letter-spacing:.7px}.card strong{display:block;font-size:26px;margin-top:10px}.card em{display:block;font-size:11px;color:#8b95a1;font-style:normal;margin-top:4px}.panel{padding:20px;margin-bottom:20px}.panelhead,.toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.toolbar h1,.panel h2{margin:0}.toolbar p{color:#7d8794;margin:5px 0 0}.panelhead a{color:#a61e27;text-decoration:none;font-size:13px}table{width:100%;border-collapse:collapse;font-size:13px}th{text-align:left;color:#77818e;font-size:10px;letter-spacing:.7px;text-transform:uppercase;padding:12px;border-bottom:1px solid #eceef1}td{padding:13px 12px;border-bottom:1px solid #f0f1f3}.tag{display:inline-block;padding:5px 9px;border-radius:20px;background:#edf0f3;font-size:11px}.tag.ok{background:#e4f5eb;color:#207642}.tag.warn{background:#fff0df;color:#9b5c0c}.empty{text-align:center;color:#929aa5;padding:25px}button{border:0;background:#a51f28;color:#fff;padding:11px 16px;border-radius:9px;font-weight:600;cursor:pointer}button.small{padding:7px 10px;font-size:11px}input,select{width:100%;padding:11px 12px;border:1px solid #dfe3e8;border-radius:8px;background:#fff;margin-top:6px;font:inherit}label{font-size:12px;color:#606a77}.formgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}#form{display:none}#form.show{display:block}.formgrid h2{grid-column:1/-1}.inline{display:flex;gap:8px}.inline input{margin:0}.notice{background:#fff8e9;border:1px solid #f0dfb5;padding:13px 16px;border-radius:10px;margin-bottom:18px;font-size:13px}.split{display:grid;grid-template-columns:1fr 1fr;gap:20px}.rowitem{padding:12px 0;border-bottom:1px solid #eee}.rowitem b,.rowitem span{display:block}.rowitem span{font-size:12px;color:#7e8792;margin-top:4px}.settings{max-width:600px;display:grid;gap:16px}.flash{background:#e7f5ec;color:#1d6c3b;padding:12px 15px;border-radius:10px;margin-bottom:16px}@media(max-width:900px){aside{width:70px;padding:20px 10px}.brand div,nav span{display:none}.brand{margin:0 4px 30px}.brand>span{width:42px}main{margin-left:70px}.cards{grid-template-columns:1fr 1fr}.split{grid-template-columns:1fr}.formgrid{grid-template-columns:1fr 1fr}}@media(max-width:600px){section{padding:20px 14px}header{padding:0 16px}.cards{grid-template-columns:1fr}.toolbar{align-items:flex-start;gap:12px;flex-direction:column}.formgrid{grid-template-columns:1fr}.panel{overflow:auto}}
.headright{display:flex;align-items:center;gap:12px}.dojo-select select{width:auto;min-width:190px;margin:0;padding:9px 34px 9px 11px}.logout{font-size:12px;color:#7b8591;text-decoration:none}.loginbody{min-height:100vh;display:grid;place-items:center;background:#eef1f4}.loginbox{width:min(420px,92vw);background:#fff;border:1px solid #e1e5e9;border-radius:18px;padding:34px;box-shadow:0 18px 50px #18222d18}.loginbox h1{margin:20px 0 5px}.loginbox>p{color:#7b8591;margin-top:0}.loginbox form{display:grid;gap:16px}.loginbox button{margin-top:4px}.loginbrand{color:#18222d;margin:0}.hint{display:block;color:#8b95a1;margin-top:18px}
.actions{display:flex;gap:8px;flex-wrap:wrap}.btnlink{display:inline-block;background:#18251f;color:#fff;padding:9px 13px;border-radius:10px;text-decoration:none;font-size:13px}.btnsecondary{background:#eef2ef;color:#18251f}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:18px}.metric{font-size:28px;font-weight:800}.muted{color:#718078}.danger{color:#a43b35}.profilehead{display:flex;justify-content:space-between;align-items:flex-start;gap:15px}.timeline{border-left:2px solid #dce4df;padding-left:18px}.timeline div{margin:0 0 14px}.checklist{display:grid;gap:9px}.checkrow{display:grid;grid-template-columns:28px 1fr 180px;align-items:center;gap:10px;padding:9px;border-bottom:1px solid #edf0ee}.pill{padding:4px 9px;border-radius:999px;background:#eef2ef;font-size:12px}.whatsapp{background:#1d7a52}.kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.kpi{padding:14px;background:#f7f9f8;border-radius:12px}@media(max-width:900px){.grid2,.kpis{grid-template-columns:1fr}.checkrow{grid-template-columns:28px 1fr}}
/* V1.6 - identidade visual por dojo */
button,.brand>span{background:var(--primary)}.panelhead a{color:var(--primary)}
.dojo-logo-side{width:46px;height:46px;object-fit:contain;background:#fff;border-radius:12px;padding:4px}.dojo-logo-head{width:42px;height:42px;object-fit:contain;border-radius:10px;background:#fff;border:1px solid #e5e7eb;padding:3px}.header-title{display:flex;align-items:center;gap:12px}.logo-mini{width:38px;height:38px;object-fit:contain;border-radius:8px;border:1px solid #e5e7eb;padding:2px;background:#fff}.swatch{display:block;width:28px;height:28px;border-radius:8px}.form-section{grid-column:1/-1;border-top:1px solid #eceef1;padding-top:8px}.form-section h3{margin:0}.logo-preview-wrap{display:flex;align-items:center;justify-content:center;border:1px dashed #ccd2d9;border-radius:12px;min-height:120px;background:#fafbfc}.logo-preview{width:110px;height:110px;object-fit:contain;border-radius:12px;background:#fff;border:1px solid #e4e7eb;padding:6px}.logo-preview:not([src]){visibility:hidden}.identity-editor{display:flex;gap:18px;align-items:center}.identity-editor>div{flex:1}.theme-demo{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid #e5e7eb;border-radius:12px}.theme-demo span{width:32px;height:32px;border-radius:9px;background:var(--primary)}
html[data-theme="escuro"] body{background:#11161d;color:#edf1f5}html[data-theme="escuro"] header,html[data-theme="escuro"] .panel,html[data-theme="escuro"] .card{background:#1a222c;border-color:#2a3542}html[data-theme="escuro"] input,html[data-theme="escuro"] select{background:#131a22;color:#edf1f5;border-color:#364352}html[data-theme="escuro"] td,html[data-theme="escuro"] th{border-color:#2b3540}html[data-theme="escuro"] .toolbar p,html[data-theme="escuro"] label,html[data-theme="escuro"] header small{color:#aeb7c2}
@media(prefers-color-scheme:dark){html[data-theme="automatico"] body{background:#11161d;color:#edf1f5}html[data-theme="automatico"] header,html[data-theme="automatico"] .panel,html[data-theme="automatico"] .card{background:#1a222c;border-color:#2a3542}html[data-theme="automatico"] input,html[data-theme="automatico"] select{background:#131a22;color:#edf1f5;border-color:#364352}}
.danger{background:#fff1f2!important;color:#9f1239!important;border:1px solid #fecdd3!important}.secondary{background:#fff!important;color:#374151!important;border:1px solid #d1d5db!important}.status-inactive{opacity:.68}.audit{font-size:13px}.audit td{vertical-align:top}.reason-box{padding:14px;background:#fff7ed;border:1px solid #fed7aa;border-radius:12px;margin:12px 0}.actions{display:flex;gap:7px;flex-wrap:wrap;align-items:center}.actions form{margin:0}.btnlink{display:inline-block;text-decoration:none}.modalbox{max-width:760px}.field-full{grid-column:1/-1}
textarea{width:100%;box-sizing:border-box;border:1px solid var(--line,#ddd);border-radius:10px;padding:10px;font:inherit;background:var(--surface,#fff);color:inherit} h3{margin-top:22px;margin-bottom:10px}
/* V1.13 - chaves visuais */
.bracket-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.bracket-head h1{margin:6px 0}.bracket-wrap{overflow:auto;background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:18px}.bracket{display:flex;gap:34px;min-width:max-content;align-items:stretch}.round{width:285px;display:flex;flex-direction:column;justify-content:space-around;gap:18px}.round h3{text-align:center;margin:0 0 8px;color:#667085}.match{position:relative;border:1px solid #d9dee5;border-radius:10px;background:#fff;box-shadow:0 2px 8px #1118270b;overflow:hidden}.fighter{min-height:48px;display:grid;grid-template-columns:48px 1fr 32px;align-items:center;color:#fff}.fighter+.fighter{border-top:2px solid #fff}.fighter.aka{background:#df2027}.fighter.ao{background:#174fd1}.fighter .side{font-size:10px;font-weight:800;text-align:center;opacity:.9}.fighter b{display:block;font-size:13px}.fighter small{display:block;font-size:9px;opacity:.9;margin-top:2px}.fighter strong{text-align:center}.fighter.winner{outline:3px solid #f3c94a;outline-offset:-3px}.resultform{padding:8px;display:grid;grid-template-columns:65px 65px 1fr auto;gap:6px;background:#f8fafc}.resultform input,.resultform select{margin:0;padding:7px;font-size:11px}.bye{font-size:10px;padding:6px;text-align:center;color:#667085;background:#f8fafc}.print-footer{display:grid;grid-template-columns:2fr 2fr 1fr 1fr 1fr;gap:20px;margin-top:24px;font-size:12px}.print-footer>div{border-top:1px solid #555;padding-top:7px}

/* V1.141 - navegação operacional de chaves grandes */
.bracket-tools{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:12px 14px;margin:0 0 14px;box-shadow:0 2px 8px #1118270a;position:sticky;top:10px;z-index:8}.bracket-tools-main{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.bracket-tools button{white-space:nowrap}.bracket-tools .secondary{background:#fff!important;color:#374151!important;border:1px solid #d1d5db!important}.bracket-mode.active,.bracket-round-btn.active{background:var(--primary)!important;color:#fff!important;border-color:var(--primary)!important}.bracket-nav-group,.bracket-zoom-group{display:flex;gap:5px;align-items:center}.bracket-zoom-group span{min-width:48px;text-align:center;font-size:11px;font-weight:800;color:#667085}.bracket-search{display:flex;align-items:center;gap:6px;margin-left:auto;min-width:220px}.bracket-search input{margin:0;padding:8px 10px;font-size:12px}.bracket-round-nav{display:flex;gap:6px;overflow-x:auto;padding:10px 0 2px;scrollbar-width:thin}.bracket-round-btn{padding:7px 10px!important;font-size:11px!important;border-radius:999px!important}.bracket-help{display:flex;justify-content:space-between;gap:15px;margin-top:8px;font-size:10px;color:#7b8591}.bracket-help span:first-child{font-weight:800;color:#344054}.bracket-minimap-toggle-row{display:flex;justify-content:flex-end;align-items:center;margin-top:8px}.bracket-minimap-toggle-row button{font-size:11px!important}.bracket-minimap{display:flex;gap:4px;align-items:flex-end;overflow-x:auto;padding-top:10px;min-height:28px;max-height:150px;overflow-y:auto}.bracket-minimap.minimap-collapsed{display:none}.mini-round{display:flex;flex-direction:column;align-items:center;gap:2px;min-width:28px}.mini-round>span{font-size:7px;color:#8a93a1;font-weight:800}.mini-match{width:10px!important;height:5px!important;min-width:10px!important;padding:0!important;border-radius:2px!important;background:#d7dde4!important;border:0!important;cursor:pointer;position:relative}.mini-match.current{width:18px!important;height:9px!important;min-width:18px!important;background:#d71920!important;outline:2px solid #fff!important;box-shadow:0 0 0 2px #d71920!important;z-index:4}.mini-match.next{width:18px!important;height:9px!important;min-width:18px!important;background:#e1b400!important;outline:2px solid #fff!important;box-shadow:0 0 0 2px #e1b400!important;z-index:3}.mini-match.current::after,.mini-match.next::after{position:absolute;left:50%;top:100%;transform:translateX(-50%);margin-top:3px;font-size:6px;line-height:1;font-weight:1000;white-space:nowrap;pointer-events:none}.mini-match.current::after{content:"ATUAL";color:#a40810}.mini-match.next::after{content:"PRÓXIMA";color:#7d6200}.mini-match.selected{background:var(--primary)!important;outline:2px solid #f2c94c}.mini-match.current.selected{background:#d71920!important}.mini-match.next.selected{background:#e1b400!important}.mini-match.pending{background:#d8a928!important}.mini-match.selected{background:var(--primary)!important;outline:2px solid #f2c94c}.round-hidden{display:none!important}.bracket-hidden{display:none!important}.match-selected{box-shadow:0 0 0 3px #f2c94c,0 6px 18px #11182722!important;z-index:3}.search-hit{outline:3px solid #f2c94c!important;outline-offset:2px}.bracket-wrap{scroll-behavior:smooth}@media(max-width:900px){.bracket-search{margin-left:0;min-width:180px;flex:1}.bracket-help{flex-direction:column;gap:4px}.bracket-tools{top:0}}
@media print{@page{size:A4 landscape;margin:8mm}aside,header,.noprint{display:none!important}main{margin:0!important}section{padding:0!important;max-width:none!important}.bracket-head{margin:0 0 4mm}.bracket-head h1{font-size:16px}.bracket-head p{font-size:10px;margin:2px 0}.bracket-wrap{border:0;padding:0;overflow:visible}.bracket{gap:8mm;transform-origin:top left}.round{width:58mm;gap:3mm}.round h3{font-size:10px}.match{box-shadow:none;border-radius:2px;break-inside:avoid}.fighter{min-height:8mm;grid-template-columns:12mm 1fr 8mm}.fighter b{font-size:8px}.fighter small,.fighter .side{font-size:6px}.print-footer{font-size:7px;margin-top:5mm}.panel{box-shadow:none}body{background:#fff;color:#111}}
/* V1.14 - modelos de categorias */
.inline-save-set{display:flex;gap:10px;align-items:end;margin-top:18px;padding-top:16px;border-top:1px solid var(--line,#e5e7eb)}.inline-save-set input{max-width:260px}.category-cards{display:grid;gap:14px}.category-template{border:1px solid #e5e7eb;border-radius:14px;padding:14px;background:rgba(255,255,255,.45)}.pickline{display:flex;gap:10px;align-items:center;margin-bottom:12px}.pickline input{width:auto}.formgrid.compact{grid-template-columns:repeat(3,minmax(150px,1fr));gap:10px}.import-tools{position:sticky;top:72px;z-index:3}.span2{grid-column:span 2}@media(max-width:900px){.formgrid.compact{grid-template-columns:1fr 1fr}.inline-save-set{flex-direction:column;align-items:stretch}.inline-save-set input{max-width:none}}
/* V1.16 - inscrições em lote e pagamentos de competição */
.competition-kpis{grid-template-columns:repeat(4,1fr);margin-bottom:20px}.batch-table{overflow:auto;max-height:620px;border:1px solid #e5e7eb;border-radius:12px}.batch-table thead{position:sticky;top:0;background:var(--surface,#fff);z-index:2}.grid-input{min-width:95px;margin:0;padding:8px}.grid-check{width:20px;height:20px;margin:0}.center{text-align:center}.batch-submit{position:sticky;bottom:0;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px 0 0;background:var(--surface,#fff);font-weight:700}.pay-inline{display:grid;grid-template-columns:130px 120px auto auto;gap:6px;min-width:440px}.pay-inline input,.pay-inline select{margin:0;padding:7px}@media(max-width:900px){.competition-kpis{grid-template-columns:1fr 1fr}.batch-submit{align-items:stretch;flex-direction:column}}

/* V1.19 - foto do aluno e identidade visual */
.student-form-head{display:flex;align-items:center;gap:20px;margin-bottom:18px;padding-bottom:18px;border-bottom:1px solid #e5e7eb}
.student-form-head h3{margin:0 0 5px}.photo-picker{flex:0 0 auto}.photo-input{display:none}
.photo-preview{width:132px;height:132px;border-radius:24px;overflow:hidden;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;border:2px solid color-mix(in srgb,var(--primary) 35%,#d8dee6);background:color-mix(in srgb,var(--primary) 5%,#fff);cursor:pointer;box-shadow:0 8px 24px #11182712}
.photo-preview img{width:100%;height:100%;object-fit:cover}.photo-preview.placeholder span{font-size:28px}.photo-preview.placeholder b{font-size:12px}.photo-preview.placeholder small{font-size:9px;color:#7b8591}
.photo-overlay{position:absolute;left:0;right:0;bottom:0;padding:8px;text-align:center;background:#111827b8;color:#fff;font-size:10px;font-weight:700}
.student-name-cell,.profile-identity{display:flex;align-items:center;gap:11px}.student-thumb{width:38px;height:38px;border-radius:12px;object-fit:cover;flex:0 0 auto}.initials{display:grid;place-items:center;background:color-mix(in srgb,var(--primary) 14%,#eef2f5);color:var(--primary);font-weight:800}
.profile-photo{width:112px;height:112px;border-radius:26px;object-fit:cover;box-shadow:0 10px 28px #11182718;border:3px solid #fff}.profile-identity{align-items:flex-start;gap:18px}
@media(max-width:600px){.student-form-head,.profile-identity{align-items:flex-start}.photo-preview{width:104px;height:104px}.profile-photo{width:86px;height:86px;border-radius:20px}}

/* V1.20 */
.settlement-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(330px,1fr));gap:14px}.settlement-card{border:1px solid #e3e8ee;border-radius:18px;padding:16px}.settlement-title{display:flex;justify-content:space-between;gap:12px}.settlement-title small{display:block;color:#7b8591;margin-top:4px}.settlement-values{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:14px 0}.settlement-values span{font-size:10px;color:#7b8591;padding:9px;border:1px solid #edf0f3;border-radius:12px}.settlement-values b{display:block;font-size:14px;color:#202833}.settlement-form{display:grid;grid-template-columns:1fr 1fr;gap:8px}.settlement-form button,.settlement-form input[name=notes]{grid-column:1/-1}.payment-history{margin-top:18px}.payment-history summary{cursor:pointer;font-weight:700}.settlement-status-bar{display:flex;flex-wrap:wrap;gap:10px;padding:12px 16px;margin:10px 0 18px;border-radius:14px;border:1px solid #e3e8ee}@media(max-width:600px){.settlement-values,.settlement-form{grid-template-columns:1fr}.settlement-form>*{grid-column:1!important}}

/* V1.32 - pódio da categoria */
.podium-panel{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:20px;margin-top:20px}.podium-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.podium-card{display:flex;gap:12px;align-items:flex-start;border:1px solid #e6e9ed;border-radius:14px;padding:16px;min-height:105px}.podium-card.gold{border-top:4px solid #d6aa18}.podium-card.silver{border-top:4px solid #9aa3ad}.podium-card.bronze{border-top:4px solid #b46b3c}.podium-card.fourth{border-top:4px solid #667085}.podium-medal{font-size:28px;line-height:1}.podium-card small{display:block;font-size:10px;font-weight:800;letter-spacing:.7px;color:#7b8591;margin-bottom:6px}.podium-card b{display:block;font-size:14px}.podium-card span:not(.podium-medal):not(.podium-empty){display:block;color:#667085;font-size:11px;margin-top:3px}.podium-empty{display:block;color:#98a1ac;font-size:11px;line-height:1.4}.podium-bronze{margin-top:18px}.bronze-match{display:flex;gap:12px;align-items:center;padding:10px 0;border-bottom:1px solid #edf0f3}.bronze-match:last-child{border-bottom:0}@media(max-width:900px){.podium-grid{grid-template-columns:1fr 1fr}}@media(max-width:600px){.podium-grid{grid-template-columns:1fr}}@media print{.podium-panel,.podium-bronze{break-inside:avoid}.podium-grid{grid-template-columns:repeat(4,1fr);gap:3mm}.podium-card{min-height:22mm;padding:3mm}.podium-medal{font-size:15px}.podium-card b{font-size:8px}.podium-card span:not(.podium-medal):not(.podium-empty),.podium-card small,.podium-empty{font-size:6px}}
/* V1.57 - treinamentos e exames */
.kcards{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin:16px 0}.kcard{background:#fff;border:1px solid #e1e5ea;border-radius:12px;padding:15px}.kcard small{color:#667085}.kcard strong{display:block;font-size:23px;margin-top:6px}.positive{color:#16803c}.negative{color:#b4232f}.pending{color:#2457a6}.settlement-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.dojo-card{border:1px solid #e1e5ea;border-radius:12px;padding:16px;background:#fff}.dojo-head{display:flex;justify-content:space-between;gap:12px;align-items:center}.dojo-head h3{margin:0}.dojo-meta{color:#667085;font-size:13px}.money-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:14px 0}.money-box{background:#f8fafc;border-radius:9px;padding:10px}.money-box small{display:block;color:#667085}.money-box strong{font-size:18px}.status{display:inline-block;padding:5px 9px;border-radius:999px;font-size:12px;font-weight:700}.status.ok{background:#e7f6ec;color:#137333}.status.warn{background:#fff2df;color:#a15c00}.status.partial{background:#e8f0ff;color:#2457a6}.pay-form{display:grid;grid-template-columns:1fr 1fr;gap:8px}.pay-form input,.pay-form select{width:100%}.pay-form button{grid-column:1/-1}.batch-table{overflow:auto;max-height:620px;border:1px solid #e5e7eb;border-radius:12px}.batch-table table{margin:0}.batch-submit{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px 0 0;background:var(--surface,#fff);font-weight:700}.select-all,.row-check{width:18px;height:18px}.card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:15px}.card strong{display:block;font-size:20px;margin-top:5px}@media(max-width:1000px){.kcards{grid-template-columns:repeat(2,1fr)}.settlement-grid{grid-template-columns:1fr}.money-grid{grid-template-columns:1fr}}@media(max-width:600px){.kcards{grid-template-columns:1fr}.batch-submit{align-items:stretch;flex-direction:column}.pay-form{grid-template-columns:1fr}.pay-form button{grid-column:auto}}
/* V1.60 - Portal do Aluno */
.portalbody{margin:0;background:#f5f7fa;color:#1d2433;font-family:Inter,Arial,sans-serif}.portal-header{height:76px;background:#fff;border-bottom:1px solid #e6e9ee;padding:0 5vw;display:flex;align-items:center;justify-content:space-between}.portal-brand{display:flex;align-items:center;gap:12px}.portal-brand img{width:48px;height:48px;object-fit:contain;border-radius:12px}.portal-brand>span{width:44px;height:44px;border-radius:12px;background:#a51f28;color:#fff;display:grid;place-items:center;font-size:22px}.portal-brand b{display:block;font-size:16px}.portal-brand small{display:block;color:#8993a1;font-size:9px;letter-spacing:2px;margin-top:3px}.portal-user{display:flex;align-items:center;gap:18px;font-size:13px}.portal-user a{color:#a51f28;text-decoration:none;font-weight:700}.portal-main{max-width:1250px;margin:0 auto;padding:30px 24px}.portal-hero{background:linear-gradient(120deg,#151e29,#2b3949);border-radius:20px;color:#fff;padding:30px;display:flex;align-items:center;justify-content:space-between;gap:20px}.portal-hero small{color:#d9a9ad;font-weight:800;letter-spacing:2px}.portal-hero h1{margin:8px 0 6px;font-size:30px}.portal-hero p{margin:0;color:#cbd3dc}.portal-belt{border:1px solid #ffffff33;background:#ffffff12;padding:18px 24px;border-radius:14px;font-weight:800}.portal-kpis{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin:18px 0}.portal-kpis>div{background:#fff;border:1px solid #e3e7ec;border-radius:14px;padding:16px}.portal-kpis small{display:block;color:#7b8592;font-size:10px;font-weight:800;letter-spacing:.6px}.portal-kpis strong{display:block;font-size:23px;margin-top:7px}.portal-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.portal-card{background:#fff;border:1px solid #e3e7ec;border-radius:16px;padding:20px;margin-bottom:18px;box-shadow:0 2px 8px #11182708}.portal-card h2{margin:0 0 14px}.portal-card h3{font-size:14px;margin:18px 0 8px}.portal-card-head{display:flex;justify-content:space-between}.portal-item{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:13px 0;border-bottom:1px solid #edf0f3}.portal-item:last-child{border-bottom:0}.portal-item b,.portal-item span{display:block}.portal-item span{color:#7c8794;font-size:11px;margin-top:4px}.portal-detail{max-width:1000px;margin-top:18px}.portal-price-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:18px 0}.portal-price-grid>div,.portal-price-grid>label{border:1px solid #e3e7ec;border-radius:12px;padding:15px;background:#fafbfc}.portal-price-grid span{display:block;color:#7a8490;margin-top:6px}.portal-option-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:18px}.portal-ranking-notice{background:#fff8e9;border:1px solid #eeddb5;border-radius:12px;padding:14px 16px;margin-top:18px;color:#6b5a2d}.muted{color:#7c8794}.portal-main .btnlink{display:inline-block}.portal-main .btnlink.small{padding:8px 11px}.portal-main .notice{margin-top:18px}@media(max-width:900px){.portal-kpis{grid-template-columns:repeat(2,1fr)}.portal-grid,.portal-option-grid{grid-template-columns:1fr}.portal-price-grid{grid-template-columns:1fr}.portal-hero{align-items:flex-start;flex-direction:column}}@media(max-width:600px){.portal-header{padding:0 16px}.portal-main{padding:20px 14px}.portal-kpis{grid-template-columns:1fr 1fr}.portal-user b{display:none}}
.portal-profile-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.portal-profile-grid>div{background:#f8fafc;border-radius:10px;padding:12px}.portal-profile-grid small{display:block;color:#7c8794;font-size:10px;text-transform:uppercase;font-weight:800;letter-spacing:.5px}.portal-profile-grid b{display:block;margin-top:5px;font-size:13px}@media(max-width:700px){.portal-profile-grid{grid-template-columns:1fr 1fr}}

.portal-actions{display:flex;gap:8px;align-items:center;justify-content:flex-end;flex-wrap:wrap}

/* V1.66 — representação visual das faixas */
.belt-badge{display:inline-flex;align-items:center;gap:9px;vertical-align:middle;line-height:1.2;white-space:nowrap}
.belt-visual{position:relative;display:inline-block;width:58px;height:14px;border-radius:3px;box-shadow:0 1px 2px rgba(15,23,42,.22);border:1px solid rgba(15,23,42,.20);flex:0 0 auto}
.belt-visual::before{content:"";position:absolute;left:17px;top:-1px;width:22px;height:14px;background:inherit;border-left:1px solid rgba(255,255,255,.22);border-right:1px solid rgba(15,23,42,.18)}
.belt-visual::after{content:"";position:absolute;right:-1px;top:-1px;width:10px;height:14px;background:inherit;border-left:2px solid rgba(255,255,255,.3);border-radius:0 3px 3px 0}
.belt-visual i{position:absolute;left:22px;top:2px;width:12px;height:9px;border-left:2px solid rgba(15,23,42,.35);border-bottom:2px solid rgba(15,23,42,.35);transform:rotate(-45deg);opacity:.7}
.belt-white{background:linear-gradient(#fff,#e9edf1)}
.belt-yellow{background:linear-gradient(#f8df32,#d5b900)}
.belt-orange{background:linear-gradient(#ff9b22,#e56d00)}
.belt-red{background:linear-gradient(#d83a43,#a91f2a)}
.belt-blue{background:linear-gradient(#326ed1,#1848a0)}
.belt-green{background:linear-gradient(#39a958,#18783a)}
.belt-purple{background:linear-gradient(#8a4bc1,#5d278f)}
.belt-brown{background:linear-gradient(#9a6335,#69401e)}
.belt-black{background:linear-gradient(#333941,#111418)}
.belt-label{font-weight:600}
.belt-badge .belt-label{color:inherit}
/* Em tabelas compactas, a faixa visual não deve aumentar excessivamente a linha. */
td .belt-badge, .rowitem .belt-badge{min-height:24px}
@media(max-width:600px){.belt-visual{width:48px;height:12px}.belt-visual::before{left:14px;width:18px;height:12px}.belt-visual::after{width:8px;height:12px}.belt-visual i{left:18px;top:2px;width:10px;height:7px}}


/* V1.67 — Portal do Responsável: layout familiar refinado, mantendo a experiência aprovada da V1.64 */
.portal-family-page{background:#f4f6f9}
.portal-family-main{max-width:1120px;padding-top:28px;padding-bottom:44px}
.family-hero{min-height:126px;padding:28px 30px;border-radius:20px;box-shadow:0 8px 24px rgba(15,23,42,.08)}
.family-hero h1{font-size:31px;letter-spacing:-.6px}
.family-hero-mark{width:62px;height:62px;border-radius:16px;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.08);display:grid;place-items:center;font-size:28px}

.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:18px}
.section-heading h2{margin:3px 0 5px;font-size:22px;letter-spacing:-.25px}
.section-heading p{margin:0;color:#7c8794;font-size:13px}
.section-eyebrow{font-size:10px;font-weight:800;letter-spacing:1.5px;color:#a51f28}
.student-count{background:#f0f2f5;border:1px solid #e1e5ea;border-radius:999px;padding:7px 12px;font-size:12px;font-weight:700;color:#687383;white-space:nowrap}

.family-finance-panel{background:#fff;border:1px solid #e1e6ec;border-radius:18px;padding:25px;margin-top:18px;box-shadow:0 3px 14px rgba(15,23,42,.045)}
.family-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;margin-top:18px}
.family-kpi{border:1px solid #e5e9ee;border-radius:14px;padding:17px;display:flex;align-items:center;gap:13px;min-height:73px}
.family-kpi .kpi-icon{width:39px;height:39px;border-radius:11px;display:grid;place-items:center;font-weight:900;font-size:14px;background:#f4f6f8;color:#495568;flex:0 0 auto}
.family-kpi small{display:block;font-size:10px;letter-spacing:.7px;font-weight:800;color:#7b8592}
.family-kpi strong{display:block;font-size:22px;margin-top:3px;letter-spacing:-.3px}
.family-kpi>div>span{display:block;color:#8993a0;font-size:11px;margin-top:3px}
.family-kpi-open{background:#fff9f8;border-color:#f0dddd}.family-kpi-open .kpi-icon{background:#f8e7e5;color:#a51f28}.family-kpi-open strong{color:#a51f28}
.family-kpi-paid{background:#f7fcf9;border-color:#dceee3}.family-kpi-paid .kpi-icon{background:#e3f4e8;color:#15803d}.family-kpi-paid strong{color:#15803d}
.family-kpi-total{background:#f8faff;border-color:#dfe7f4}.family-kpi-total .kpi-icon{background:#e9effa;color:#315ea8}.family-kpi-total strong{color:#315ea8}

.family-finance-block{margin-top:25px}
.block-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:11px}
.block-title h3{margin:0;font-size:15px;color:#202938}
.block-title p{margin:3px 0 0;color:#7c8794;font-size:12px}
.block-title>span{font-size:11px;color:#8a94a1}

.finance-kind-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.finance-kind-card{border:1px solid #e7ebef;border-radius:12px;padding:13px;background:#fbfcfd}
.kind-top{display:flex;justify-content:space-between;align-items:flex-start}
.kind-top strong{display:block;font-size:13px}
.kind-top small{display:block;color:#8a94a1;margin-top:3px;font-size:10px}
.kind-arrow{font-size:20px;color:#b1b8c1;line-height:12px}
.kind-values{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px;padding-top:10px;border-top:1px solid #edf0f3}
.kind-values small{display:block;color:#8993a0;font-size:9px;text-transform:uppercase;letter-spacing:.4px}
.kind-values b{display:block;margin-top:3px;font-size:12px;color:#344052}
.text-danger{color:#b4232f!important}

.finance-child-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.finance-child-summary{border:1px solid #e7ebef;border-radius:12px;padding:13px;background:#fff}
.child-summary-identity{display:flex;align-items:center;gap:9px}
.child-summary-identity img,.child-avatar{width:38px;height:38px;border-radius:10px;object-fit:cover;flex:0 0 auto}
.child-avatar{background:#eef1f4;display:grid;place-items:center;font-weight:800;color:#677382}
.child-summary-identity strong{display:block;font-size:12px}
.child-summary-identity small{display:block;color:#8a94a1;font-size:10px;margin-top:2px}
.child-summary-values{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}
.child-summary-values small{display:block;color:#8993a0;font-size:9px;text-transform:uppercase}
.child-summary-values strong{display:block;margin-top:3px;font-size:13px}

.family-open-area{margin-top:25px;border:1px solid #ece3d2;border-radius:13px;background:#fffcf6;padding:15px}
.open-count{background:#fff0d4;color:#8a5a00;border:1px solid #f2dbad;border-radius:999px;padding:5px 9px;font-weight:800;font-size:10px}
.family-open-area .finance-table-wrap{background:#fff;border-radius:10px;border:1px solid #eee9df;overflow:auto}
.family-all-paid{margin-top:24px;border:1px solid #d9eadf;background:#f6fcf8;border-radius:13px;padding:15px;display:flex;align-items:center;gap:12px}
.all-paid-icon{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#dff3e5;color:#16803d;font-weight:900}
.family-all-paid strong{display:block;color:#176b38;font-size:13px}
.family-all-paid span{display:block;color:#6e7d73;font-size:11px;margin-top:3px}

.students-family-section{margin-top:26px}
.students-heading{align-items:flex-end}
.family-student-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}
.family-student-card{background:#fff;border:1px solid #e0e5ea;border-radius:17px;padding:16px;box-shadow:0 3px 12px rgba(15,23,42,.045);transition:transform .15s ease,box-shadow .15s ease}
.family-student-card:hover{transform:translateY(-1px);box-shadow:0 7px 20px rgba(15,23,42,.08)}
.student-card-top{display:flex;align-items:center;gap:13px}
.student-photo-wrap{width:78px;height:78px;flex:0 0 auto}
.student-family-photo{width:78px;height:78px;border-radius:15px;object-fit:cover;display:block;border:1px solid #e2e6eb}
.student-photo-placeholder{display:grid;place-items:center;background:linear-gradient(135deg,#eef1f5,#dfe4ea);font-size:25px;font-weight:800;color:#697585}
.student-card-identity{min-width:0}
.student-card-identity h3{margin:0;font-size:17px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.student-card-identity span{display:block;color:#697585;font-size:11px;margin-top:4px}
.student-card-identity small{display:block;color:#929aa5;font-size:10px;margin-top:5px}
.student-belt-box{margin-top:14px;border-top:1px solid #edf0f3;padding-top:12px}
.student-belt-box>span{display:block;color:#8b95a1;font-size:9px;letter-spacing:1px;font-weight:800;margin-bottom:6px}
.student-belt-line{min-height:27px;display:flex;align-items:center}
.student-belt-line .belt-badge{font-size:12px;gap:8px}
.student-belt-line .belt-visual{width:72px;height:17px}
.student-belt-line .belt-visual::before{left:21px;width:28px;height:17px}
.student-belt-line .belt-visual::after{width:12px;height:17px}
.student-belt-line .belt-visual i{left:27px;top:3px;width:13px;height:10px}
.student-access-btn{display:flex;align-items:center;justify-content:space-between;margin-top:14px;background:#17231f;color:#fff;text-decoration:none;border-radius:10px;padding:10px 12px;font-size:12px;font-weight:800}
.student-access-btn:hover{background:#26372f}
.student-access-btn span{font-size:17px;line-height:10px}
.empty-family{grid-column:1/-1;background:#fff;border:1px dashed #d9dee4;border-radius:13px;padding:25px;text-align:center;color:#7c8794}

.portal-family-page .portal-ranking-notice{display:flex;flex-direction:column;gap:3px;margin-top:18px}
.portal-family-page .portal-ranking-notice strong{font-size:12px;color:#6b5a2d}
.portal-family-page .portal-ranking-notice span{font-size:11px}

@media(max-width:1000px){
  .family-student-grid,.finance-child-grid{grid-template-columns:repeat(2,1fr)}
  .finance-kind-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:760px){
  .family-kpis,.family-student-grid,.finance-child-grid,.finance-kind-grid{grid-template-columns:1fr}
  .section-heading{align-items:flex-start;flex-direction:column}
  .family-hero{align-items:flex-start;flex-direction:row}
}
@media(max-width:560px){
  .portal-family-main{padding:18px 13px 35px}
  .family-finance-panel{padding:17px}
  .family-hero{padding:23px 20px}
  .family-hero-mark{display:none}
}


/* V1.67 — faixa visual refinada */
.belt-badge .belt-visual{
  width:72px;height:16px;border-radius:4px;position:relative;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.28),0 1px 3px rgba(15,23,42,.22);
  overflow:visible;
}
.belt-badge .belt-visual::before{
  content:"";position:absolute;left:22px;top:-1px;width:28px;height:16px;
  background:inherit;border-left:1px solid rgba(255,255,255,.22);
  border-right:1px solid rgba(15,23,42,.18);box-shadow:inset 0 -1px rgba(0,0,0,.08);
}
.belt-badge .belt-visual::after{
  content:"";position:absolute;right:-8px;top:2px;width:13px;height:11px;
  background:inherit;border-radius:1px 4px 4px 1px;
  transform:skewY(-18deg);border-right:1px solid rgba(15,23,42,.16);
}
.belt-badge .belt-visual i{
  position:absolute;left:27px;top:3px;width:16px;height:9px;
  border:0;border-radius:2px;background:rgba(255,255,255,.13);
  transform:skewX(-18deg);opacity:1;
}
.belt-badge .belt-black{box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 3px rgba(15,23,42,.3)}
/* V1.69 - Portal de inscrições e controle do responsável */
.portal-event-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}.portal-event-badge{display:inline-flex;align-items:center;border:1px solid #dbe3ea;border-radius:999px;padding:7px 12px;font-size:12px;font-weight:800;letter-spacing:.5px;background:#f8fafc;color:#334155}.portal-total{display:flex;justify-content:space-between;align-items:center;margin:18px 0;padding:16px 18px;border-radius:14px;background:#f5f7fa;border:1px solid #e2e8f0}.portal-total span{font-weight:700;color:#475569}.portal-total strong{font-size:25px;color:#172033}.portal-warning{margin:16px 0;padding:14px 16px;border:1px solid #f0c36d;background:#fff8e8;border-radius:12px;color:#704b00}.portal-upload{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.portal-upload input[type=file]{flex:1;min-width:240px}.portal-attachments{display:flex;flex-direction:column;gap:8px;margin-top:15px}.portal-attachments a{padding:10px 12px;border:1px solid #e2e8f0;border-radius:9px;text-decoration:none;background:#fafcff}.access-student-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:8px;padding:12px;border:1px solid #e2e8f0;border-radius:10px;background:#fafbfd}.access-student-grid label{padding:7px 8px;border-radius:7px;background:#fff;border:1px solid #edf0f4}.field-full{grid-column:1/-1}@media(max-width:800px){.access-student-grid{grid-template-columns:1fr 1fr}.portal-event-head{flex-direction:column}}

/* V1.70 — protocolo da competição */
.protocol-toolbar{align-items:center}.protocol-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:14px 0}.protocol-summary>div{background:#fff;border:1px solid #e1e6eb;border-radius:14px;padding:15px}.protocol-summary strong{display:block;font-size:24px}.protocol-summary span{color:#778391;font-size:11px}.protocol-list{display:grid;gap:14px}.protocol-card{background:#fff;border:1px solid #dfe5ea;border-radius:16px;padding:18px;box-shadow:0 3px 12px rgba(15,23,42,.045)}.protocol-card.protocol-alert{border:2px solid #d8a900;box-shadow:0 5px 22px rgba(216,169,0,.14)}.protocol-card.protocol-ready{border-color:#d8c35b}.protocol-card-head{display:flex;justify-content:space-between;gap:15px;align-items:flex-start}.protocol-modality{text-transform:uppercase;letter-spacing:1px;font-size:10px;font-weight:800;color:#8b95a1}.protocol-card h2{margin:4px 0 3px}.protocol-card p{margin:0;color:#74808d;font-size:12px}.protocol-status{white-space:nowrap}.protocol-podium{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px;margin-top:16px}.protocol-place{border-radius:12px;padding:15px;min-height:90px;border:1px solid #e2e7eb}.protocol-place small{display:block;font-weight:900;letter-spacing:.7px;font-size:10px;margin-bottom:10px}.protocol-place div{margin-bottom:7px}.protocol-place div:last-child{margin-bottom:0}.protocol-place b{display:block;font-size:14px}.protocol-place span{display:block;color:#6f7a86;font-size:11px;margin-top:2px}.protocol-gold{background:#fff9dc;border-color:#ead36d}.protocol-silver{background:#f5f7f9;border-color:#d3d9df}.protocol-bronze{background:#fff2e8;border-color:#e5b18a}.protocol-script{margin-top:13px;padding:12px 14px;background:#f7f9fb;border-radius:10px;font-size:12px;line-height:1.55}.protocol-script b{display:block;margin-bottom:4px}.protocol-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px;align-items:center}.protocol-primary,.protocol-podium-btn{border:0;border-radius:9px;padding:10px 14px;font-weight:800;cursor:pointer}.protocol-primary{background:#b3232d;color:#fff}.protocol-podium-btn{background:#17231f;color:#fff}.protocol-wait{margin-top:14px;padding:14px;border-radius:10px;background:#f7f8fa;color:#778391;font-size:12px}@media(max-width:850px){.protocol-summary{grid-template-columns:repeat(2,1fr)}.protocol-podium{grid-template-columns:1fr}.protocol-card-head{flex-direction:column}.protocol-status{white-space:normal}}
/* V1.70 — critérios de graduação em treinamentos */
.training-restriction-box{padding:14px;background:#f8fafc;border:1px solid #e2e7ec;border-radius:12px}.training-restriction-box h3{margin:0 0 4px}.training-restriction-box p{font-size:12px;color:#75808d;margin:0 0 10px}.training-restriction-summary{border-left:4px solid #b3232d}.portal-training-info{display:flex;gap:22px;flex-wrap:wrap;margin:12px 0;padding:12px 14px;background:#f7f9fb;border-radius:10px;color:#6f7a86;font-size:12px}.portal-training-info b{color:#26313d}.portal-price-grid label{cursor:pointer}

/* V1.72 — protocolo visual com fotos e controle de telão */
.protocol-page{max-width:1500px;margin:0 auto}.protocol-eyebrow{display:block;font-size:11px;font-weight:900;letter-spacing:1.5px;color:#a51f28}.protocol-toolbar h1{margin:3px 0}.protocol-toolbar p{margin:0;color:#6e7b88}.protocol-live{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin:12px 0;padding:10px 13px;border:1px solid #d8e4df;background:#f3faf6;border-radius:12px;color:#476258;font-size:12px}.protocol-live #protocol-countdown{margin-left:auto;font-weight:900;color:#17231f}.live-dot{width:8px;height:8px;border-radius:50%;background:#23a765;box-shadow:0 0 0 4px #d8f2e4}.protocol-summary .sum-alert{border-color:#eed07a;background:#fffaf0}.protocol-summary .sum-blue{border-color:#cbdcf5;background:#f5f9ff}.protocol-summary .sum-green{border-color:#c7ead8;background:#f4fbf7}.protocol-grid{display:grid;grid-template-columns:270px minmax(0,1fr);gap:16px;align-items:start}.protocol-sidebar{position:sticky;top:15px;background:#fff;border:1px solid #e0e6eb;border-radius:15px;padding:10px;max-height:calc(100vh - 170px);overflow:auto}.protocol-sidebar-title{font-size:12px;text-transform:uppercase;font-weight:900;letter-spacing:1px;color:#778391;padding:8px}.protocol-nav{display:block;text-decoration:none;color:#24303b;border:1px solid transparent;border-radius:10px;padding:10px;margin:3px 0}.protocol-nav:hover{background:#f6f8fa}.protocol-nav span{display:block;font-size:12px;font-weight:800;line-height:1.25}.protocol-nav small{display:block;color:#7b8793;font-size:10px;margin-top:5px}.protocol-nav.pending{border-color:#efd170;background:#fff9e6}.protocol-nav.announced{border-color:#cbdcf5;background:#f5f9ff}.protocol-nav.done{border-color:#c7ead8;background:#f3fbf7}.protocol-main{display:grid;gap:14px}.protocol-card{margin:0}.protocol-podium-photos{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:10px;margin-top:16px}.protocol-medal-group{border-radius:14px;padding:12px;border:1px solid #e2e7eb}.protocol-medal-group.gold{background:#fff9dc;border-color:#ead36d}.protocol-medal-group.silver{background:#f5f7f9;border-color:#d3d9df}.protocol-medal-group.bronze{background:#fff2e8;border-color:#e5b18a}.medal-title{font-weight:900;font-size:11px;letter-spacing:.7px;margin-bottom:10px}.protocol-athlete{display:flex;gap:10px;align-items:center;padding:7px 0;border-top:1px solid rgba(0,0,0,.07)}.protocol-photo-wrap{width:58px;height:58px;flex:0 0 58px;border-radius:12px;overflow:hidden;background:#e8edf2}.protocol-photo-wrap img{width:100%;height:100%;object-fit:cover}.protocol-photo-empty{width:100%;height:100%;display:grid;place-items:center;font-size:22px;font-weight:900;color:#73808d}.protocol-athlete b{display:block;font-size:14px}.protocol-athlete span{display:block;color:#6f7a86;font-size:11px;margin-top:3px}.protocol-empty-medal{color:#778391;font-size:12px;padding:12px 0}.protocol-screen-btn{border:1px solid #2d7be8;background:#fff;color:#1d5fb8;border-radius:9px;padding:10px 14px;font-weight:800;cursor:pointer}.protocol-screen-btn.active{background:#1769d0;color:#fff;box-shadow:0 4px 12px rgba(23,105,208,.22)}@media(max-width:1050px){.protocol-grid{grid-template-columns:1fr}.protocol-sidebar{position:relative;max-height:240px}.protocol-podium-photos{grid-template-columns:1fr}} 
.org-map{height:560px;border-radius:16px;overflow:hidden;border:1px solid var(--border,#dbe2ea);background:#eef2f5}.map-toolbar{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:12px}.map-toolbar small{display:block;color:#6b7280;margin-top:3px}.map-legend{display:flex;gap:14px;color:#6b7280;font-size:12px}.map-help{display:flex;gap:12px;align-items:flex-start;background:#f6fbff}.map-help span{color:#5b6573}.map-popup{min-width:210px;display:flex;flex-direction:column;gap:4px}.map-popup b{font-size:15px}.map-popup small{color:#4b5563}.map-popup .map-status{margin-top:5px;padding-top:5px;border-top:1px solid #e5e7eb;font-size:11px;color:#6b7280}.leaflet-popup-content{margin:12px}.stat{padding:16px 18px;border:1px solid var(--border,#dbe2ea);border-radius:14px;background:#fff;display:flex;flex-direction:column;gap:4px}.stat b{font-size:24px}.stat span{color:#6b7280;font-size:12px}.grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:14px}@media(max-width:900px){.grid3{grid-template-columns:1fr}.map-toolbar{align-items:flex-start;flex-direction:column}.org-map{height:460px}}
.role-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.role-option{border:1px solid #dfe5ea;border-radius:10px;padding:10px;background:#fff}.chips{display:flex;flex-wrap:wrap;gap:5px;margin:7px 0}.chip{font-size:.78rem;border:1px solid #d8e0e7;background:#f4f7f9;border-radius:999px;padding:4px 8px}.actions{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.notice{padding:10px 12px;border-radius:10px;background:#fff8e8;border:1px solid #f0dfaa;color:#6b571d}.rowitem{gap:14px}.rowitem>div:first-child{flex:1}.rowitem .actions{min-width:230px;justify-content:flex-end}@media(max-width:800px){.role-grid{grid-template-columns:1fr}.rowitem{flex-direction:column}.rowitem .actions{justify-content:flex-start}}
.person-search-results{display:grid;gap:6px;margin-top:6px;max-height:220px;overflow:auto}.person-result{display:flex;flex-direction:column;text-align:left;padding:9px 10px;border:1px solid #dfe3e8;background:#fff;border-radius:8px;cursor:pointer}.person-result:hover{background:#f5f7f9}.person-result span{font-size:12px;color:#6b7280;margin-top:2px}
.person-role-summary{margin-top:7px;padding:9px 10px;border:1px solid #dfe3e8;background:#f7f9fb;border-radius:8px;font-size:12px;line-height:1.45}.warning-text{color:#9a6700;font-weight:600}
.btn-secondary{display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;border:1px solid #dfe3e8;border-radius:9px;background:#fff;color:#4b5563;text-decoration:none;font-weight:600;font-size:13px}.status-inactive{color:#8a93a1}.muted-row{opacity:.65}
.btn-secondary{display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;border:1px solid #dfe3e8;border-radius:9px;background:#fff;color:#4b5563;text-decoration:none;font-weight:600;font-size:13px}.muted-row{opacity:.65}
/* V1.103 - indicador do escopo global */
.scope-badge{font-size:11px;font-weight:700;color:#5f6d78;background:#f2f5f7;border:1px solid #dde4e9;border-radius:999px;padding:7px 10px;white-space:nowrap}

/* V1.146 - posição operacional da chave Kumite */
.bracket-live-legend{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px;font-size:10px;font-weight:900}.bracket-live-legend span{padding:5px 8px;border-radius:999px}.legend-current{background:#ffe5e5;color:#a40810;border:1px solid #f1a4a8}.legend-next{background:#fff5cf;color:#7d6200;border:1px solid #e8c95c}.legend-done{background:#edf8f1;color:#217044;border:1px solid #b9dec6}.match-live-current{box-shadow:0 0 0 4px #d71920,0 12px 28px rgba(215,25,32,.24)!important;z-index:6}.match-live-next{box-shadow:0 0 0 4px #e1b400,0 10px 24px rgba(225,180,0,.20)!important;z-index:5}.match-live-current.match-selected{box-shadow:0 0 0 4px #d71920,0 0 0 7px #f2c94c,0 12px 28px rgba(215,25,32,.24)!important}.match-live-badge{font-size:9px;font-weight:1000;letter-spacing:.5px;padding:4px 7px;border-radius:6px;margin:-2px -2px 5px;text-align:center}.match-live-badge.current{background:#d71920;color:#fff}.match-live-badge.next{background:#e1b400;color:#111827}.match-live-current .fighter,.match-live-next .fighter{border-left-width:5px}

/* V1.171 - vitrine moderna e disponibilidade de competições */
.competition-visibility-box{padding:14px 16px;border:1px solid #e5e7eb;border-radius:12px;background:#fafbfc}.visibility-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px}.visibility-options label,.manual-dojo-grid label{display:flex;align-items:center;gap:7px;font-size:13px}.manual-dojo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:7px}.import-box{margin:0 0 14px;padding:14px;border:1px dashed #cbd5e1;border-radius:12px;background:#f8fafc}.import-form{align-items:flex-end;flex-wrap:wrap}.import-form label{min-width:220px}.shop-grid{grid-template-columns:repeat(auto-fit,minmax(310px,1fr))!important;gap:24px!important}.shop-card{overflow:hidden;border:1px solid #e5e7eb!important;border-radius:18px!important;background:#fff;box-shadow:0 8px 24px rgba(15,23,42,.07)!important;transition:transform .18s ease,box-shadow .18s ease}.shop-card:hover{transform:translateY(-2px);box-shadow:0 14px 32px rgba(15,23,42,.11)!important}.shop-card form{background:#f8fafc;border-top:1px solid #eef0f3;padding:18px!important;border-radius:0!important}.shop-card h2{font-size:20px;margin:8px 18px}.shop-card>small,.shop-card>.shop-price,.shop-card>.shop-stock,.shop-card>.shop-description,.shop-card>.backorder-badge{margin-left:18px;margin-right:18px}.shop-price{font-size:25px!important;font-weight:900}.backorder-badge{display:inline-block;margin-top:8px!important;padding:5px 9px;border-radius:999px;background:#fff4d6;color:#7a5a00;font-size:12px;font-weight:800}.shop-main-photo{border-radius:14px!important}.shop-buy-label{font-weight:900!important}.shop-card select,.shop-card input,.shop-card textarea{background:#fff}.order-card{border:1px solid #e5e7eb!important;border-radius:12px!important;padding:14px!important;background:#fff}
@media(max-width:800px){.visibility-options,.manual-dojo-grid{grid-template-columns:1fr}}

/* V1.173 - Cabeçalho da competição e seletor de participantes */
.competition-page{max-width:1400px;margin:0 auto}.competition-back{display:inline-flex;align-items:center;gap:5px;margin:2px 0 10px;color:#53606d;font-size:13px;font-weight:700;text-decoration:none}.competition-back:hover{text-decoration:underline}.competition-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px;align-items:center;padding:22px 24px;margin-bottom:14px;border:1px solid #e1e6eb;border-radius:18px;background:linear-gradient(135deg,#fff 0%,#f8fafc 100%);box-shadow:0 8px 24px rgba(15,23,42,.05)}.competition-hero-main h1{margin:3px 0 6px;font-size:32px;line-height:1.1}.competition-hero-main p{margin:0;color:#667381;font-size:13px}.competition-hero-main p span{margin:0 5px;color:#a0a8b0}.competition-eyebrow{font-size:10px;letter-spacing:1.4px;font-weight:900;color:var(--primary,#a51f28)}.competition-badges{display:flex;gap:7px;flex-wrap:wrap;margin-top:11px}.competition-hero-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;max-width:470px}.competition-hero-actions .btnlink{white-space:nowrap}.competition-event-link{display:flex;align-items:center;gap:10px;padding:11px 14px;margin-bottom:14px;border:1px solid #e5e7eb;border-radius:12px;background:#fff}.competition-event-link span{color:#6b7280;font-size:12px;flex:1}.competition-event-link .btnlink{padding:7px 10px}
.participant-visibility{margin-top:14px;padding:18px;border:1px solid #e1e6eb;border-radius:16px;background:#fff}.participant-visibility-title{display:flex;justify-content:space-between;gap:15px;align-items:flex-start}.participant-visibility-title h3{margin:0 0 4px}.participant-visibility-title p{margin:0;color:#667381;font-size:12px}.visibility-options-v172{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:15px 0}.visibility-option-v172{display:flex!important;align-items:center!important;gap:10px!important;padding:11px 12px;border:1px solid #e0e5ea;border-radius:11px;background:#fff;cursor:pointer;font-size:13px!important;font-weight:700}.visibility-option-v172:hover{border-color:#b8c2cc;background:#fafbfc}.visibility-option-v172 input{margin:0;width:17px;height:17px;accent-color:var(--primary,#a51f28)}.visibility-option-v172:has(input:checked){border-color:var(--primary,#a51f28);background:#fff8f8;box-shadow:0 0 0 1px rgba(165,31,40,.08)}.dojo-picker-v172{margin-top:12px;border:1px solid #dfe5ea;border-radius:14px;background:#f8fafc;overflow:hidden}.dojo-picker-head{display:flex;gap:12px;align-items:center;padding:12px;border-bottom:1px solid #e1e6eb;background:#fff}.dojo-search-v172{flex:1;min-width:180px}.dojo-search-v172 input{width:100%;box-sizing:border-box;padding:10px 12px;border:1px solid #d7dde3;border-radius:10px;background:#fff}.dojo-select-all-v172{display:flex;align-items:center;gap:8px;white-space:nowrap;font-size:12px;font-weight:800}.dojo-select-all-v172 input{width:17px;height:17px;accent-color:var(--primary,#a51f28)}.dojo-picker-meta{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:8px 12px;color:#667381;font-size:11px}.dojo-picker-list-v172{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:0 12px 12px;max-height:410px;overflow:auto}.dojo-choice-v172{display:flex!important;align-items:center!important;gap:9px!important;min-width:0;padding:10px 11px;border:1px solid #e0e5ea;border-radius:10px;background:#fff;cursor:pointer;font-size:12px!important}.dojo-choice-v172:hover{border-color:#bdc7d1;background:#fbfcfd}.dojo-choice-v172 input{width:17px;height:17px;flex:0 0 auto;margin:0;accent-color:var(--primary,#a51f28)}.dojo-choice-v172 .dojo-choice-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:800}.dojo-choice-v172.is-hidden{display:none!important}.dojo-picker-disabled{opacity:.68}.dojo-picker-disabled .dojo-choice-v172{cursor:default}.dojo-picker-disabled .dojo-choice-v172 input{cursor:not-allowed}.participant-selection-summary{display:flex;align-items:center;gap:8px;margin-top:10px;padding:9px 11px;border-radius:10px;background:#eef6ff;border:1px solid #d7e7f6;color:#31506b;font-size:12px}.participant-selection-summary strong{font-size:13px}.participant-selection-hint{margin-top:8px;color:#667381;font-size:11px}.participant-selection-hint b{color:#46515c}
@media(max-width:1000px){.competition-hero{grid-template-columns:1fr}.competition-hero-actions{justify-content:flex-start;max-width:none}.dojo-picker-list-v172{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.visibility-options-v172,.dojo-picker-list-v172{grid-template-columns:1fr}.dojo-picker-head{flex-direction:column;align-items:stretch}.competition-hero-main h1{font-size:27px}.competition-event-link{align-items:flex-start;flex-wrap:wrap}.competition-event-link span{flex-basis:100%}}

.regulation-panel{border:1px solid #dfe4ea;border-radius:16px;padding:18px;background:#fff}.regulation-panel textarea{width:100%;min-height:170px;margin-top:8px}.regulation-checks{display:grid;grid-template-columns:repeat(3,minmax(180px,1fr));gap:8px;margin-top:10px}.regulation-checks label{display:flex;align-items:center;gap:7px;background:#f8fafc;border:1px solid #e5e7eb;border-radius:10px;padding:9px}.regulation-preview{margin-top:16px}.regulation-preview pre,.regulation-public pre{white-space:pre-wrap;font-family:inherit;line-height:1.55;background:#f8fafc;border:1px solid #e5e7eb;border-radius:12px;padding:16px;overflow:auto}.regulation-public{max-width:1000px;margin:0 auto}@media(max-width:900px){.regulation-checks{grid-template-columns:1fr 1fr}}
/* V1.195 - destaques do minimapa forçados e independentes de estilos globais */
#bracketMinimap .mini-match[data-live="current"]{background:#d71920!important;width:18px!important;height:9px!important;min-width:18px!important;box-shadow:0 0 0 3px #d71920!important;z-index:20!important}
#bracketMinimap .mini-match[data-live="next"]{background:#e1b400!important;width:18px!important;height:9px!important;min-width:18px!important;box-shadow:0 0 0 3px #e1b400!important;z-index:19!important}


/* V1.195 - minimapa operacional: quatro estados inequívocos. */
.bracket-live-legend{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px;font-size:10px;font-weight:900}
.bracket-live-legend span{padding:6px 10px;border-radius:999px;line-height:1}
.legend-current{background:#ffe5e5;color:#a40810;border:1px solid #f1a4a8}
.legend-next{background:#fff5cf;color:#7d6200;border:1px solid #e8c95c}
.legend-done{background:#edf8f1;color:#217044;border:1px solid #b9dec6}
.legend-pending{background:#e9f2ff;color:#1764b0;border:1px solid #a9c9ef}
.bracket-minimap{gap:7px;align-items:flex-end;overflow-x:auto;padding:14px 8px 12px;min-height:70px;max-height:180px;overflow-y:auto;background:#fff}
.mini-round{min-width:34px;gap:4px}
.mini-round>span{font-size:8px;color:#667085;font-weight:900}
.mini-match{width:12px!important;height:7px!important;min-width:12px!important;border-radius:3px!important;background:#c9d8ea!important;transition:transform .12s ease,box-shadow .12s ease,background .12s ease}
.mini-match.pending{background:#5b9bea!important;box-shadow:0 1px 2px #1764b01f!important}
.mini-match.done{background:#4aa56a!important;box-shadow:0 1px 2px #2170441f!important}
.mini-match.current{width:20px!important;height:11px!important;min-width:20px!important;background:#d71920!important;box-shadow:0 0 0 3px #fff,0 0 0 5px #d71920,0 3px 8px #d7192040!important;z-index:20!important}
.mini-match.next{width:20px!important;height:11px!important;min-width:20px!important;background:#e1b400!important;box-shadow:0 0 0 3px #fff,0 0 0 5px #e1b400,0 3px 8px #e1b40040!important;z-index:19!important}
.mini-match.current::after,.mini-match.next::after{display:none!important}
.mini-match.selected{outline:2px solid #344054!important;outline-offset:2px}
.mini-match.current.selected{background:#d71920!important}
.mini-match.next.selected{background:#e1b400!important}
.bracket-live-position-label{font-weight:900}
@media(max-width:900px){.bracket-minimap{padding-left:4px;padding-right:4px}}

/* V1.195 - destaque definitivo do minimapa: baseado no ID da luta, nao apenas em classe. */
#bracketMinimap .mini-match[data-live="current"]{background:#d71920!important;color:#fff!important;width:20px!important;height:11px!important;min-width:20px!important;box-shadow:0 0 0 3px #fff,0 0 0 5px #d71920,0 3px 8px #d7192040!important;transform:scale(1.05)}
#bracketMinimap .mini-match[data-live="next"]{background:#e1b400!important;color:#fff!important;width:20px!important;height:11px!important;min-width:20px!important;box-shadow:0 0 0 3px #fff,0 0 0 5px #e1b400,0 3px 8px #e1b40040!important;transform:scale(1.05)}
#bracketMinimap .mini-match[data-live="done"]{background:#4aa56a!important}
#bracketMinimap .mini-match[data-live="pending"]{background:#5b9bea!important}

/* V1.203 — estados exclusivos e lutas não realizadas no mini mapa */
#bracketMinimap .mini-match.current{background:#d71920!important;width:20px!important;height:11px!important;min-width:20px!important;box-shadow:0 0 0 3px #fff,0 0 0 5px #d71920,0 3px 8px #d7192040!important;z-index:30!important}
#bracketMinimap .mini-match.next{background:#e1b400!important;width:20px!important;height:11px!important;min-width:20px!important;box-shadow:0 0 0 3px #fff,0 0 0 5px #e1b400,0 3px 8px #e1b40040!important;z-index:29!important}
#bracketMinimap .mini-match.skip{background:#aeb4bb!important;box-shadow:none!important;opacity:.95!important}
#bracketMinimap .mini-match.done{background:#4aa56a!important}
#bracketMinimap .mini-match.pending{background:#5b9bea!important}
#bracketMinimap .mini-match[data-live="current"]{background:#d71920!important}
#bracketMinimap .mini-match[data-live="next"]{background:#e1b400!important}
#bracketMinimap .mini-match[data-live="skip"]{background:#aeb4bb!important}
#bracketMinimap .mini-match[data-live="done"]{background:#4aa56a!important}
#bracketMinimap .mini-match[data-live="pending"]{background:#5b9bea!important}

/* V1.203 — estados canônicos do mini mapa; prevalece sobre regras históricas. */
#bracketMinimap .mini-match{background:#c9d8ea!important;width:12px!important;height:7px!important;min-width:12px!important;border-radius:3px!important;box-shadow:none!important;opacity:1!important}
#bracketMinimap .mini-match.pending{background:#5b9bea!important}
#bracketMinimap .mini-match.done{background:#4aa56a!important}
#bracketMinimap .mini-match.skip{background:#aeb4bb!important;opacity:.95!important}
#bracketMinimap .mini-match.current{background:#d71920!important;width:20px!important;height:11px!important;min-width:20px!important;box-shadow:0 0 0 3px #fff,0 0 0 5px #d71920,0 3px 8px #d7192040!important;z-index:30!important}
#bracketMinimap .mini-match.next{background:#e1b400!important;width:20px!important;height:11px!important;min-width:20px!important;box-shadow:0 0 0 3px #fff,0 0 0 5px #e1b400,0 3px 8px #e1b40040!important;z-index:29!important}
#bracketMinimap .mini-match[data-live="current"]{background:#d71920!important}
#bracketMinimap .mini-match[data-live="next"]{background:#e1b400!important}
#bracketMinimap .mini-match[data-live="skip"]{background:#aeb4bb!important}
#bracketMinimap .mini-match[data-live="done"]{background:#4aa56a!important}
#bracketMinimap .mini-match[data-live="pending"]{background:#5b9bea!important}


/* V1.204 — viewport fixo + acompanhamento automático do minimapa. */
.bracket-minimap-actions{display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.bracket-minimap-follow-active{background:#eef7ff!important;color:#1764b0!important;border-color:#9fc5ed!important}
.bracket-minimap-viewport{position:relative;min-height:70px;max-height:180px;overflow:auto;background:#fff;border-radius:10px;scroll-behavior:smooth;overscroll-behavior:contain;scrollbar-width:thin}
.bracket-minimap-viewport.minimap-collapsed{display:none}
.bracket-minimap-viewport::-webkit-scrollbar{width:9px;height:9px}
.bracket-minimap{display:flex;gap:7px;align-items:flex-end;min-height:70px;width:max-content;min-width:100%;padding:14px 8px 12px;overflow:visible;background:#fff}
.bracket-minimap .mini-round{flex:0 0 34px}
.bracket-minimap .mini-match{scroll-margin-block:70px}
@media(max-width:900px){.bracket-minimap{padding-left:4px;padding-right:4px}.bracket-minimap-viewport{max-height:160px}}


/* V1.205 — viewport vertical realmente navegável e foco operacional robusto. */
.bracket-minimap-viewport{height:150px!important;min-height:150px!important;max-height:150px!important;overflow-y:scroll!important;overflow-x:auto!important;position:relative;background:#fff;border-radius:10px;scroll-behavior:smooth;overscroll-behavior:contain;scrollbar-width:auto!important;scrollbar-color:#98a2b3 #eef1f4}
.bracket-minimap-viewport::-webkit-scrollbar{width:12px;height:10px}
.bracket-minimap-viewport::-webkit-scrollbar-track{background:#eef1f4;border-radius:8px}
.bracket-minimap-viewport::-webkit-scrollbar-thumb{background:#98a2b3;border-radius:8px;border:2px solid #eef1f4}
.bracket-minimap{display:flex!important;align-items:flex-start!important;width:max-content!important;min-width:100%;min-height:max-content!important;height:max-content!important;overflow:visible!important;padding:12px 10px 16px!important;gap:8px!important}
.bracket-minimap .mini-round{flex:0 0 34px!important;align-self:flex-start!important}
.bracket-minimap .mini-match{scroll-margin-block:55px}
.bracket-minimap-actions{display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.minimap-scroll-btn{min-width:34px!important;padding:6px 9px!important;font-weight:900!important}
@media(max-width:900px){.bracket-minimap-viewport{height:130px!important;min-height:130px!important;max-height:130px!important}.bracket-minimap{padding-left:5px!important;padding-right:5px!important}}

/* DOJOKUN_PORTAL_FAMILIA_V03_START */
/* Identidade visual responsiva do Portal da Família — isolada da operação */
.portal-family-page {
  --family-navy: #193b57;
  --family-navy-deep: #142f47;
  --family-blue: #2878e5;
  --family-text: #172334;
  --family-muted: #6b7b8f;
  --family-border: #dce5ef;
  --family-surface: #ffffff;
  background: #f3f6fb !important;
  color: var(--family-text);
  min-height: 100vh;
  overflow-x: clip;
}
.portal-family-page .portal-header {
  min-height: 76px;
  height: auto;
  padding: 13px clamp(16px, 4vw, 42px);
  background: var(--family-navy) !important;
  color: #fff;
  border-bottom: 0;
  box-shadow: 0 5px 18px rgba(17, 45, 70, .13);
  gap: 14px;
}
.portal-family-page .portal-brand { min-width: 0; gap: 11px; }
.portal-family-page .portal-brand > span {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  background: #ef3348;
  color: #fff;
  border-radius: 14px;
  box-shadow: 0 5px 12px rgba(0,0,0,.12);
}
.portal-family-page .portal-brand b {
  color: #fff;
  font-size: 16px;
  letter-spacing: -.2px;
}
.portal-family-page .portal-brand small {
  color: #d6e3ef;
  letter-spacing: .6px;
  font-size: 10px;
}
.portal-family-page .portal-user { gap: 12px; min-width: 0; }
.portal-family-page .portal-user b {
  color: #fff;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.portal-family-page .portal-user a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 13px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 11px;
  color: #fff;
  background: rgba(255,255,255,.08);
}
.portal-family-page .portal-user a:hover {
  background: rgba(255,255,255,.16);
}
.portal-family-page .portal-family-main {
  width: min(1120px, 100%);
  max-width: 1120px;
  padding: 24px clamp(14px, 2.6vw, 28px) 42px;
  margin-inline: auto;
}
.portal-family-page .family-hero {
  position: relative;
  isolation: isolate;
  min-height: 150px;
  padding: clamp(22px, 3.4vw, 34px);
  margin-bottom: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 22px;
  background: linear-gradient(118deg, #193b57 0%, #205273 68%, #2878a0 100%);
  box-shadow: 0 10px 26px rgba(25,59,87,.16);
}
.portal-family-page .family-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 220px;
  height: 220px;
  right: 5%;
  top: -110px;
  border: 30px solid rgba(255,255,255,.055);
  border-radius: 50%;
  pointer-events: none;
}
.portal-family-page .family-hero small {
  color: #b9dcff;
  font-size: 10px;
  letter-spacing: 1.8px;
}
.portal-family-page .family-hero h1 {
  margin: 8px 0 7px;
  color: #fff;
  font-size: clamp(25px, 3.2vw, 32px);
  line-height: 1.15;
  letter-spacing: -.7px;
}
.portal-family-page .family-hero p {
  max-width: 610px;
  color: #e0edf7;
  font-size: 14px;
  line-height: 1.5;
}
.portal-family-page .family-hero-mark {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  border-radius: 19px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.12);
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
}
.portal-family-page .family-finance-panel,
.portal-family-page .family-shop-hero {
  min-width: 0;
  border: 1px solid var(--family-border);
  border-radius: 20px;
  background: var(--family-surface);
  box-shadow: 0 4px 16px rgba(24,48,75,.045);
}
.portal-family-page .family-finance-panel {
  margin-top: 18px;
  padding: clamp(16px, 2.4vw, 26px);
}
.portal-family-page .section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 17px;
}
.portal-family-page .section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #2878e5;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.45px;
}
.portal-family-page .section-heading h2,
.portal-family-page .family-finance-panel h2,
.portal-family-page .students-family-section h2 {
  margin: 5px 0 6px;
  color: #172334;
  font-size: clamp(21px, 2.3vw, 27px);
  line-height: 1.2;
  letter-spacing: -.45px;
}
.portal-family-page .section-heading p {
  margin: 0;
  color: var(--family-muted);
  font-size: 13px;
  line-height: 1.55;
}
.portal-family-page .family-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0 22px;
}
.portal-family-page .family-kpi {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--family-border);
  border-radius: 16px;
  background: #fff;
}
.portal-family-page .family-kpi-open { background: #fff8f0; border-color: #f5dfc7; }
.portal-family-page .family-kpi-paid { background: #f1fbf5; border-color: #d2efdd; }
.portal-family-page .family-kpi-total { background: #f2f7ff; border-color: #d6e5fb; }
.portal-family-page .kpi-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 13px;
  background: #ffead7;
  color: #b85b15;
  font-size: 15px;
  font-weight: 900;
}
.portal-family-page .family-kpi-paid .kpi-icon { background: #d9f5e4; color: #18834b; }
.portal-family-page .family-kpi-total .kpi-icon { background: #dceaff; color: #2468c8; }
.portal-family-page .family-kpi > div { min-width: 0; }
.portal-family-page .family-kpi small {
  display: block;
  color: #6d7c8e;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .7px;
}
.portal-family-page .family-kpi strong {
  display: block;
  margin-top: 5px;
  color: #172334;
  font-size: clamp(17px, 1.8vw, 22px);
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.portal-family-page .family-kpi span:not(.kpi-icon) {
  display: block;
  margin-top: 5px;
  color: #728095;
  font-size: 11px;
  line-height: 1.4;
}
.portal-family-page .family-finance-block { margin-top: 22px; }
.portal-family-page .block-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.portal-family-page .block-title h3 {
  margin: 0;
  color: #243448;
  font-size: 15px;
  letter-spacing: -.2px;
}
.portal-family-page .block-title > span {
  color: #718198;
  font-size: 11px;
}
.portal-family-page .finance-kind-grid,
.portal-family-page .finance-child-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.portal-family-page .finance-kind-card,
.portal-family-page .finance-child-summary {
  min-width: 0;
  padding: 14px;
  border: 1px solid #e4eaf2;
  border-radius: 14px;
  background: #fbfcfe;
}
.portal-family-page .kind-top,
.portal-family-page .child-summary-identity {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.portal-family-page .kind-top strong { font-size: 13px; overflow-wrap: anywhere; }
.portal-family-page .kind-top small,
.portal-family-page .child-summary-identity small {
  display: block;
  margin-top: 4px;
  color: #748398;
  font-size: 11px;
}
.portal-family-page .kind-arrow {
  color: #2878e5;
  font-size: 22px;
}
.portal-family-page .kind-values,
.portal-family-page .child-summary-values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 8px;
  margin-top: 13px;
  padding-top: 11px;
  border-top: 1px solid #e8edf3;
}
.portal-family-page .kind-values small,
.portal-family-page .child-summary-values small {
  display: block;
  color: #748398;
  font-size: 10px;
}
.portal-family-page .kind-values b,
.portal-family-page .child-summary-values strong {
  display: block;
  margin-top: 4px;
  color: #26364a;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.portal-family-page .child-summary-identity { justify-content: flex-start; }
.portal-family-page .child-summary-identity img,
.portal-family-page .child-avatar {
  width: 43px;
  height: 43px;
  flex: 0 0 43px;
  border-radius: 13px;
  object-fit: cover;
}
.portal-family-page .child-avatar {
  display: grid;
  place-items: center;
  background: #e4efff;
  color: #2b68ba;
  font-weight: 900;
  font-size: 17px;
}
.portal-family-page .child-summary-values { margin-top: 11px; }
.portal-family-page .family-open-area {
  margin-top: 22px;
  padding: 15px;
  border: 1px solid #e4eaf2;
  border-radius: 15px;
  background: #fbfcfe;
}
.portal-family-page .open-count {
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff0e7;
  color: #a84c13 !important;
  font-weight: 800;
  white-space: nowrap;
}
.portal-family-page .finance-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid #e5eaf1;
  border-radius: 12px;
}
.portal-family-page .finance-family-table { min-width: 540px; background: #fff; }
.portal-family-page .finance-family-table th {
  background: #f5f8fc;
  color: #6d7c90;
  font-size: 10px;
}
.portal-family-page .finance-family-table td { color: #33445a; }
.portal-family-page .finance-family-table td small {
  display: block;
  margin-top: 3px;
  color: #7b899b;
}
.portal-family-page .family-all-paid {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 20px;
  padding: 17px;
  border: 1px solid #ccebd8;
  border-radius: 15px;
  background: #f2fbf5;
}
.portal-family-page .all-paid-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
  background: #d8f5e3;
  color: #19834b;
  font-size: 22px;
  font-weight: 900;
}
.portal-family-page .family-all-paid strong,
.portal-family-page .family-all-paid span { display: block; }
.portal-family-page .family-all-paid strong { color: #226944; font-size: 14px; }
.portal-family-page .family-all-paid span {
  margin-top: 4px;
  color: #657b70;
  font-size: 12px;
  line-height: 1.45;
}
.portal-family-page .students-family-section {
  min-width: 0;
  margin-top: 28px;
}
.portal-family-page .students-heading { align-items: flex-end; }
.portal-family-page .student-count {
  flex: 0 0 auto;
  padding: 7px 11px;
  border: 1px solid #dce6f2;
  border-radius: 999px;
  background: #fff;
  color: #60738c;
  font-size: 11px;
  font-weight: 800;
}
.portal-family-page .family-student-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.portal-family-page .family-student-card {
  min-width: 0;
  padding: 17px;
  border: 1px solid #dce5ef;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(24,48,75,.045);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.portal-family-page .family-student-card:hover {
  transform: translateY(-2px);
  border-color: #bfd5f1;
  box-shadow: 0 9px 22px rgba(24,48,75,.09);
}
.portal-family-page .student-card-top {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}
.portal-family-page .student-photo-wrap {
  width: 66px;
  height: 66px;
  flex: 0 0 66px;
  overflow: hidden;
  border-radius: 17px;
  background: #edf3fb;
}
.portal-family-page .student-family-photo {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.portal-family-page .student-photo-placeholder {
  background: linear-gradient(145deg, #eaf2ff, #dce8fa);
  color: #426ca7;
  font-size: 25px;
  font-weight: 900;
}
.portal-family-page .student-card-identity { min-width: 0; }
.portal-family-page .student-card-identity h3 {
  margin: 0;
  color: #1c2b3e;
  font-size: 17px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.portal-family-page .student-card-identity span,
.portal-family-page .student-card-identity small {
  display: block;
  margin-top: 5px;
  color: #6d7e93;
  font-size: 12px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.portal-family-page .student-belt-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 15px;
  padding-top: 13px;
  border-top: 1px solid #edf1f6;
}
.portal-family-page .student-belt-box > span {
  color: #8290a1;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1px;
}
.portal-family-page .student-belt-line {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #26364a;
  font-size: 12px;
  font-weight: 800;
  text-align: right;
}
.portal-family-page .student-access-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 44px;
  margin-top: 15px;
  padding: 11px 14px;
  border: 1px solid #193b57;
  border-radius: 12px;
  background: #193b57;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  transition: background .15s ease, transform .15s ease;
}
.portal-family-page .student-access-btn:hover {
  background: #245273;
  transform: translateY(-1px);
}
.portal-family-page .student-access-btn span { font-size: 17px; }
.portal-family-page .portal-ranking-notice {
  border: 1px solid #f0dfb5;
  border-radius: 14px;
  background: #fff9ec;
  padding: 14px 16px;
}
.portal-family-page .family-shop-hero {
  margin-top: 18px;
  padding: clamp(16px, 2.4vw, 24px);
}
.portal-family-page .family-shop-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #2878e5;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
}
.portal-family-page .family-shop-cta:hover { background: #1e64c4; }
.portal-family-page .family-shop-mini {
  border-color: #e1e8f1;
  border-radius: 14px;
}
.portal-family-page .family-shop-mini-buy { color: #2878e5; }
.portal-family-page .empty-family {
  grid-column: 1/-1;
  padding: 24px;
  border: 1px dashed #cbd8e7;
  border-radius: 15px;
  background: #fff;
  color: #718198;
  text-align: center;
}
@media (min-width: 1200px) {
  .portal-family-page .family-student-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .portal-family-page .portal-family-main { padding-top: 18px; }
  .portal-family-page .family-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .portal-family-page .family-kpi { padding: 13px; gap: 9px; }
  .portal-family-page .kpi-icon { width: 35px; height: 35px; flex-basis: 35px; }
  .portal-family-page .family-student-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .portal-family-page .portal-header {
    min-height: 68px;
    padding: 10px 14px;
    border-radius: 0 0 16px 16px;
  }
  .portal-family-page .portal-brand { gap: 9px; }
  .portal-family-page .portal-brand > span { width: 40px; height: 40px; flex-basis: 40px; border-radius: 12px; }
  .portal-family-page .portal-brand b { font-size: 15px; }
  .portal-family-page .portal-brand small { font-size: 9px; }
  .portal-family-page .portal-user { gap: 7px; }
  .portal-family-page .portal-user b { display: none; }
  .portal-family-page .portal-user a { min-height: 34px; padding: 7px 10px; font-size: 12px; }
  .portal-family-page .portal-family-main { padding: 15px 12px 30px; }
  .portal-family-page .family-hero {
    min-height: 0;
    padding: 22px 19px;
    border-radius: 18px;
    gap: 10px;
  }
  .portal-family-page .family-hero h1 { font-size: 26px; }
  .portal-family-page .family-hero p { font-size: 12px; }
  .portal-family-page .family-hero-mark { display: grid; width: 45px; height: 45px; flex-basis: 45px; border-radius: 14px; font-size: 21px; }
  .portal-family-page .family-finance-panel,
  .portal-family-page .family-shop-hero { border-radius: 17px; }
  .portal-family-page .family-finance-panel { padding: 15px; }
  .portal-family-page .family-kpis { grid-template-columns: 1fr; gap: 8px; }
  .portal-family-page .family-kpi { align-items: center; padding: 12px; }
  .portal-family-page .family-kpi strong { font-size: 19px; }
  .portal-family-page .family-kpi span:not(.kpi-icon) { font-size: 10px; }
  .portal-family-page .finance-kind-grid,
  .portal-family-page .finance-child-grid { grid-template-columns: 1fr; }
  .portal-family-page .family-open-area { padding: 11px; }
  .portal-family-page .students-family-section { margin-top: 24px; }
  .portal-family-page .students-heading { align-items: flex-start; }
  .portal-family-page .section-heading h2,
  .portal-family-page .students-family-section h2 { font-size: 23px; }
  .portal-family-page .section-heading p { font-size: 12px; }
  .portal-family-page .family-student-grid { grid-template-columns: minmax(0, 1fr); gap: 11px; }
  .portal-family-page .family-student-card { padding: 14px; border-radius: 16px; }
  .portal-family-page .student-photo-wrap { width: 58px; height: 58px; flex-basis: 58px; border-radius: 15px; }
  .portal-family-page .student-card-identity h3 { font-size: 16px; }
  .portal-family-page .student-belt-box { align-items: flex-start; flex-direction: column; gap: 8px; }
  .portal-family-page .student-belt-line { text-align: left; }
  .portal-family-page .student-access-btn { min-height: 46px; }
  .portal-family-page .portal-ranking-notice { padding: 12px; }
  .portal-family-page .family-shop-mini { flex-basis: 82%; }
}
@media (max-width: 360px) {
  .portal-family-page .portal-family-main { padding-inline: 9px; }
  .portal-family-page .family-hero { padding: 19px 15px; }
  .portal-family-page .family-hero-mark { display: none; }
  .portal-family-page .student-count { font-size: 10px; padding: 6px 8px; }
}
/* DOJOKUN_PORTAL_FAMILIA_V03_END */

/* DOJOKUN_PORTAL_ATLETA_V04_START */
/* Escopo exclusivo: página inicial do Portal do Atleta */
body.portal-athlete-home {
  --athlete-navy: #173a56;
  --athlete-navy-deep: #102c43;
  --athlete-blue: #2878e5;
  --athlete-ink: #172536;
  --athlete-muted: #718096;
  --athlete-line: #e1e8f0;
  --athlete-surface: #ffffff;
  margin: 0;
  min-height: 100vh;
  background: #f3f6fb;
  color: var(--athlete-ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.portal-athlete-home .portal-header {
  min-height: 76px;
  height: auto;
  box-sizing: border-box;
  padding: 12px clamp(16px, 4vw, 52px);
  background: var(--athlete-navy);
  color: #fff;
  border: 0;
  box-shadow: 0 4px 18px rgba(16, 44, 67, .12);
}
body.portal-athlete-home .portal-brand { gap: 12px; min-width: 0; }
body.portal-athlete-home .portal-brand img,
body.portal-athlete-home .portal-brand > span {
  width: 46px; height: 46px; flex: 0 0 46px;
  border-radius: 14px;
}
body.portal-athlete-home .portal-brand > span {
  background: #ed2945; color: #fff;
  box-shadow: 0 5px 14px rgba(237, 41, 69, .22);
}
body.portal-athlete-home .portal-brand b {
  color: #fff; font-size: 16px; letter-spacing: -.2px;
}
body.portal-athlete-home .portal-brand small {
  color: #d3e0ed; font-size: 9px; letter-spacing: 1.5px;
}
body.portal-athlete-home .portal-user { gap: 16px; flex-wrap: wrap; }
body.portal-athlete-home .portal-user b {
  color: #fff; font-weight: 650; max-width: 230px;
  overflow-wrap: anywhere;
}
body.portal-athlete-home .portal-user a {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 38px; padding: 8px 13px; border-radius: 11px;
  color: #fff; text-decoration: none; font-weight: 700;
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.18);
  transition: background .18s ease, transform .18s ease;
}
body.portal-athlete-home .portal-user a:hover {
  background: rgba(255,255,255,.18); transform: translateY(-1px);
}
body.portal-athlete-home .portal-main {
  width: min(1160px, 100%); box-sizing: border-box;
  margin: 0 auto; padding: clamp(16px, 3vw, 32px) clamp(12px, 3vw, 26px) 42px;
}
body.portal-athlete-home .portal-hero {
  position: relative; overflow: hidden; isolation: isolate;
  box-sizing: border-box; min-height: 210px;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px;
  background: linear-gradient(118deg, #142332 0%, #1b3b55 66%, #24506b 100%);
  box-shadow: 0 12px 28px rgba(22, 47, 70, .12);
  gap: 24px;
}
body.portal-athlete-home .portal-hero::after {
  content: ""; position: absolute; z-index: -1;
  width: 270px; height: 270px; right: -72px; top: -118px;
  border-radius: 50%; border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 0 0 28px rgba(255,255,255,.025), 0 0 0 58px rgba(255,255,255,.02);
}
body.portal-athlete-home .portal-hero small {
  display: inline-block; color: #ffb7c1; font-size: 11px;
  font-weight: 850; letter-spacing: 2px;
}
body.portal-athlete-home .portal-hero h1 {
  margin: 10px 0 8px; color: #fff;
  font-size: clamp(27px, 4vw, 40px); line-height: 1.12;
  letter-spacing: -.8px; overflow-wrap: anywhere;
}
body.portal-athlete-home .portal-hero p {
  color: #dce7f1; font-size: 15px; line-height: 1.55;
}
body.portal-athlete-home .portal-hero p b { color: #fff; }
body.portal-athlete-home .portal-belt {
  flex: 0 0 auto; max-width: 100%; box-sizing: border-box;
  padding: 15px 18px; border-radius: 16px;
  color: #fff; background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(8px); overflow-wrap: anywhere;
}
body.portal-athlete-home .portal-kpis {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 13px; margin: 18px 0 22px;
}
body.portal-athlete-home .portal-kpis > div {
  position: relative; display: flex; flex-direction: column;
  justify-content: center; min-width: 0; min-height: 112px;
  box-sizing: border-box; padding: 17px 17px 16px 65px;
  background: var(--athlete-surface); border: 1px solid var(--athlete-line);
  border-radius: 18px; box-shadow: 0 3px 12px rgba(25, 47, 70, .035);
  transition: transform .18s ease, box-shadow .18s ease;
}
body.portal-athlete-home .portal-kpis > div:hover {
  transform: translateY(-2px); box-shadow: 0 9px 22px rgba(25,47,70,.08);
}
body.portal-athlete-home .portal-kpis > div::before {
  position: absolute; left: 16px; top: 18px;
  display: grid; place-items: center; width: 37px; height: 37px;
  border-radius: 12px; font-size: 19px; line-height: 1;
  background: #eaf2ff; color: #2878e5;
}
body.portal-athlete-home .portal-kpis > div:nth-child(1)::before { content: "⭐"; background: #fff3d9; }
body.portal-athlete-home .portal-kpis > div:nth-child(2)::before { content: "🥋"; background: #f0eaff; }
body.portal-athlete-home .portal-kpis > div:nth-child(3)::before { content: "🏆"; background: #e4f7ed; }
body.portal-athlete-home .portal-kpis > div:nth-child(4)::before { content: "📅"; background: #e5f3ff; }
body.portal-athlete-home .portal-kpis > div:nth-child(5)::before { content: "📈"; background: #ffe8ed; }
body.portal-athlete-home .portal-kpis small {
  color: #7b8998; font-size: 10px; font-weight: 850;
  letter-spacing: .65px; line-height: 1.4;
}
body.portal-athlete-home .portal-kpis strong {
  margin-top: 7px; color: var(--athlete-ink);
  font-size: clamp(21px, 2.5vw, 27px); line-height: 1.1;
  overflow-wrap: anywhere;
}
body.portal-athlete-home .portal-card {
  box-sizing: border-box; min-width: 0; padding: clamp(16px, 2.4vw, 24px);
  margin-bottom: 18px; background: #fff;
  border: 1px solid var(--athlete-line); border-radius: 20px;
  box-shadow: 0 4px 16px rgba(25, 47, 70, .035);
}
body.portal-athlete-home .portal-card h2 {
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 17px; color: var(--athlete-ink);
  font-size: clamp(18px, 2.4vw, 23px); line-height: 1.25;
  letter-spacing: -.35px;
}
body.portal-athlete-home .portal-card h2::before {
  content: "✦"; display: inline-grid; place-items: center;
  width: 34px; height: 34px; flex: 0 0 34px;
  border-radius: 11px; color: #2878e5; background: #eaf2ff;
  font-size: 17px;
}
body.portal-athlete-home .portal-card:nth-of-type(1) h2::before { content: "👤"; background: #eaf2ff; }
body.portal-athlete-home .portal-card h3 {
  display: flex; align-items: center; gap: 8px;
  color: #23364a; font-size: 15px; margin: 20px 0 9px;
}
body.portal-athlete-home .portal-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start; gap: 18px;
}
body.portal-athlete-home .portal-item {
  display: flex; align-items: center; justify-content: space-between;
  min-width: 0; gap: 14px; padding: 14px 0;
  border-bottom: 1px solid #edf1f6;
}
body.portal-athlete-home .portal-item:last-child { border-bottom: 0; }
body.portal-athlete-home .portal-item > div { min-width: 0; flex: 1 1 auto; }
body.portal-athlete-home .portal-item b {
  color: #223449; line-height: 1.4; overflow-wrap: anywhere;
}
body.portal-athlete-home .portal-item span {
  color: var(--athlete-muted); font-size: 12px; line-height: 1.5;
  overflow-wrap: anywhere;
}
body.portal-athlete-home .portal-item > strong {
  flex: 0 0 auto; text-align: right; overflow-wrap: anywhere;
}
body.portal-athlete-home .portal-profile-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px;
}
body.portal-athlete-home .portal-profile-grid > div {
  min-width: 0; padding: 14px 15px; border-radius: 14px;
  background: #f6f8fb; border: 1px solid #eef2f6;
}
body.portal-athlete-home .portal-profile-grid small {
  display: block; margin-bottom: 6px; color: #7c8997;
  text-transform: uppercase; letter-spacing: .55px;
  font-size: 10px; font-weight: 850;
}
body.portal-athlete-home .portal-profile-grid b {
  display: block; color: #223449; font-size: 14px;
  line-height: 1.45; overflow-wrap: anywhere;
}
body.portal-athlete-home .portal-main .btnlink {
  max-width: 100%; box-sizing: border-box; text-align: center;
  border-radius: 11px; background: var(--athlete-blue);
  color: #fff; font-weight: 750; text-decoration: none;
  transition: filter .18s ease, transform .18s ease;
}
body.portal-athlete-home .portal-main .btnlink:hover { filter: brightness(.96); transform: translateY(-1px); }
body.portal-athlete-home .portal-main .btnlink.secondary {
  background: #eef4fc; color: #2865b3; border: 1px solid #dbe7f8;
}
body.portal-athlete-home .tag {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 9px; border-radius: 999px; background: #edf4ff;
  color: #2865b3; font-size: 11px; font-weight: 750;
}
body.portal-athlete-home .tag.warn { background: #fff4dc; color: #956400; }
body.portal-athlete-home .portal-ranking-notice {
  border-radius: 16px; padding: 16px 18px; margin-top: 18px;
  background: #edf5ff; border: 1px solid #d8e8ff; color: #345675;
  line-height: 1.55;
}
body.portal-athlete-home .empty {
  margin: 12px 0 0; padding: 15px; border-radius: 13px;
  color: #718096; background: #f7f9fc; line-height: 1.5;
}
body.portal-athlete-home .positive { color: #14804a; }
body.portal-athlete-home .negative { color: #c2414b; }
body.portal-athlete-home .flash {
  padding: 13px 16px; margin-bottom: 14px; border-radius: 12px;
}
@media (min-width: 1000px) {
  body.portal-athlete-home .portal-main { padding-top: 30px; }
}
@media (max-width: 760px) {
  body.portal-athlete-home .portal-header { padding: 11px 14px; gap: 10px; }
  body.portal-athlete-home .portal-brand { gap: 9px; }
  body.portal-athlete-home .portal-brand img,
  body.portal-athlete-home .portal-brand > span { width: 40px; height: 40px; flex-basis: 40px; border-radius: 12px; }
  body.portal-athlete-home .portal-brand b { font-size: 14px; }
  body.portal-athlete-home .portal-brand small { font-size: 8px; letter-spacing: 1px; }
  body.portal-athlete-home .portal-user { gap: 6px; font-size: 12px; }
  body.portal-athlete-home .portal-user a { min-height: 34px; padding: 7px 9px; font-size: 11px; }
  body.portal-athlete-home .portal-main { padding: 15px 12px 30px; }
  body.portal-athlete-home .portal-hero { min-height: 0; padding: 23px 19px; border-radius: 20px; gap: 16px; }
  body.portal-athlete-home .portal-hero h1 { font-size: clamp(26px, 7vw, 34px); }
  body.portal-athlete-home .portal-hero p { font-size: 13px; }
  body.portal-athlete-home .portal-belt { padding: 11px 13px; }
  body.portal-athlete-home .portal-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin: 12px 0 15px; }
  body.portal-athlete-home .portal-kpis > div { min-height: 94px; padding: 14px 10px 13px 53px; border-radius: 15px; }
  body.portal-athlete-home .portal-kpis > div::before { left: 10px; top: 15px; width: 33px; height: 33px; border-radius: 10px; font-size: 16px; }
  body.portal-athlete-home .portal-kpis small { font-size: 9px; letter-spacing: .35px; }
  body.portal-athlete-home .portal-kpis strong { font-size: 22px; }
  body.portal-athlete-home .portal-card { padding: 16px; margin-bottom: 13px; border-radius: 17px; }
  body.portal-athlete-home .portal-card h2 { font-size: 19px; gap: 8px; }
  body.portal-athlete-home .portal-card h2::before { width: 31px; height: 31px; flex-basis: 31px; }
  body.portal-athlete-home .portal-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  body.portal-athlete-home .portal-profile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  body.portal-athlete-home .portal-profile-grid > div { padding: 12px; }
  body.portal-athlete-home .portal-profile-grid b { font-size: 13px; }
  body.portal-athlete-home .portal-item { align-items: flex-start; gap: 10px; flex-wrap: wrap; }
  body.portal-athlete-home .portal-item .btnlink { margin-left: auto; }
}
@media (max-width: 380px) {
  body.portal-athlete-home .portal-header { align-items: flex-start; }
  body.portal-athlete-home .portal-brand img,
  body.portal-athlete-home .portal-brand > span { width: 35px; height: 35px; flex-basis: 35px; }
  body.portal-athlete-home .portal-user { flex-direction: column; align-items: stretch; }
  body.portal-athlete-home .portal-user a { justify-content: center; }
  body.portal-athlete-home .portal-main { padding-inline: 9px; }
  body.portal-athlete-home .portal-hero { padding: 19px 15px; }
  body.portal-athlete-home .portal-kpis > div { padding-left: 47px; }
  body.portal-athlete-home .portal-kpis > div::before { left: 8px; width: 30px; height: 30px; }
  body.portal-athlete-home .portal-profile-grid { grid-template-columns: minmax(0, 1fr); }
  body.portal-athlete-home .portal-item > strong { text-align: left; }
}
/* DOJOKUN_PORTAL_ATLETA_V04_END */

/* DOJOKUN_PORTAL_ATLETA_V06_START */
.portalbody .portal-hero{position:relative;overflow:hidden;isolation:isolate;display:flex;flex-direction:column;align-items:stretch;gap:22px;min-width:0;padding:clamp(22px,4vw,46px);border-radius:28px;color:#fff;background:radial-gradient(circle at 100% 0%,rgba(42,112,159,.48),transparent 42%),linear-gradient(120deg,#0b2036 0%,#153c5b 100%);box-shadow:0 14px 34px rgba(15,43,70,.12)}
.portalbody .portal-hero:after{content:"";position:absolute;z-index:-1;width:44vw;height:44vw;min-width:240px;min-height:240px;right:-15%;top:-65%;border:1px solid rgba(255,255,255,.055);border-radius:50%;box-shadow:0 0 0 35px rgba(255,255,255,.018),0 0 0 70px rgba(255,255,255,.014)}
.portalbody .portal-hero>div:first-child{min-width:0}
.portalbody .portal-hero>div:first-child>small{color:#ff9eae;font-size:12px;font-weight:800;letter-spacing:.22em}
.portalbody .portal-hero h1{color:#fff;font-size:clamp(30px,4.4vw,48px);line-height:1.08;letter-spacing:-.035em;margin:14px 0 12px}
.portalbody .portal-hero p{color:#d4e4f4;font-size:clamp(14px,2vw,19px);line-height:1.45;margin:0}
.portalbody .portal-belt-display{display:flex;align-items:center;justify-content:flex-start;gap:clamp(12px,2.5vw,24px);width:100%;min-width:0;margin:0;padding:clamp(14px,2.5vw,22px);border:1px solid rgba(220,237,250,.28);border-radius:24px;background:rgba(255,255,255,.105);box-shadow:inset 0 1px 0 rgba(255,255,255,.06)}
.portalbody .portal-belt-image{display:block;width:42%;max-width:360px;max-height:155px;min-width:0;object-fit:contain;object-position:center;flex:0 1 42%;filter:drop-shadow(0 8px 10px rgba(0,0,0,.18))}
.portalbody .portal-belt-label{display:block;flex:1 1 0;min-width:0;max-width:100%;border-left:2px solid rgba(205,226,244,.35);padding:8px 0 8px clamp(12px,2.2vw,24px);color:#fff;font-size:clamp(18px,2.8vw,34px);font-weight:800;line-height:1.18;overflow-wrap:anywhere;word-break:normal;white-space:normal}
.portalbody .portal-kpis{gap:14px}
.portalbody .portal-kpis>div,.portalbody .portal-card{border:1px solid #e0e8f2;border-radius:22px;box-shadow:0 5px 18px rgba(20,47,75,.045)}
.portalbody .portal-profile-grid>div{min-width:0;overflow-wrap:anywhere;border-radius:18px;background:#f4f7fb}
@media(min-width:760px){.portalbody .portal-hero{min-height:300px;justify-content:center}.portalbody .portal-belt-display{max-width:720px}.portalbody .portal-belt-image{width:44%;max-height:180px;flex-basis:44%}}
@media(max-width:520px){.portalbody .portal-main{padding:14px 12px 28px}.portalbody .portal-hero{padding:24px 20px;gap:18px;border-radius:23px}.portalbody .portal-hero h1{font-size:32px}.portalbody .portal-belt-display{gap:10px;padding:14px 12px;border-radius:19px}.portalbody .portal-belt-image{width:40%;max-height:112px;flex-basis:40%}.portalbody .portal-belt-label{padding:7px 0 7px 10px;font-size:clamp(16px,4.25vw,22px);line-height:1.2}.portalbody .portal-kpis{gap:10px}.portalbody .portal-kpis>div{min-width:0;padding:14px 12px}.portalbody .portal-profile-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.portalbody .portal-profile-grid>div{padding:14px 12px}}
@media(max-width:360px){.portalbody .portal-hero{padding:20px 15px}.portalbody .portal-belt-display{gap:8px;padding:12px 9px}.portalbody .portal-belt-image{width:37%;max-height:94px;flex-basis:37%}.portalbody .portal-belt-label{font-size:16px;padding-left:8px}}
/* DOJOKUN_PORTAL_ATLETA_V06_END */

/* DOJOKUN_LOJA_V01_START — vitrine comercial integrada ao Portal do Responsável */
.portal-family-page .family-shop-hero{
  position:relative; isolation:isolate; overflow:hidden;
  display:grid; grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);
  align-items:center; gap:clamp(18px,2.6vw,34px);
  margin:18px 0; padding:clamp(20px,3vw,34px);
  border:1px solid #dce7f5; border-radius:24px;
  background:linear-gradient(125deg,#fff 0%,#f6f9ff 58%,#edf4ff 100%);
  box-shadow:0 10px 30px rgba(16,29,48,.07);
}
.portal-family-page .family-shop-hero:before{
  content:""; position:absolute; z-index:-1; width:300px; height:300px;
  right:-110px; top:-160px; border-radius:50%;
  background:radial-gradient(circle,rgba(52,126,232,.13),rgba(52,126,232,0) 70%);
}
.portal-family-page .family-shop-copy{min-width:0}
.portal-family-page .family-shop-copy .section-eyebrow{
  display:inline-flex; align-items:center; gap:7px; width:max-content; max-width:100%;
  padding:7px 11px; border:1px solid #d6e5fb; border-radius:999px;
  background:#eaf2ff; color:#205eb2; font-size:10px; font-weight:850;
  letter-spacing:.9px; line-height:1.3;
}
.portal-family-page .family-shop-copy h2{
  margin:14px 0 9px; max-width:470px; color:#14243b;
  font-size:clamp(22px,2.4vw,31px); line-height:1.14; letter-spacing:-.7px;
}
.portal-family-page .family-shop-copy p{
  max-width:490px; margin:0; color:#637187; font-size:13px; line-height:1.65;
}
.portal-family-page .family-shop-benefits{
  display:flex; flex-wrap:wrap; gap:7px; margin:16px 0 19px;
}
.portal-family-page .family-shop-benefits span{
  display:inline-flex; align-items:center; gap:5px; padding:7px 9px;
  border:1px solid #e1e8f1; border-radius:9px; background:rgba(255,255,255,.8);
  color:#506078; font-size:10px; font-weight:650;
}
.portal-family-page .family-shop-cta{
  display:inline-flex; align-items:center; justify-content:center; gap:14px;
  min-height:46px; padding:12px 17px; border-radius:13px;
  background:linear-gradient(135deg,#2478e5,#165bc1); color:#fff;
  box-shadow:0 7px 15px rgba(36,120,229,.22);
  text-decoration:none; font-size:13px; font-weight:800;
  transition:transform .16s ease,box-shadow .16s ease;
}
.portal-family-page .family-shop-cta:hover{transform:translateY(-1px);box-shadow:0 10px 20px rgba(36,120,229,.27)}
.portal-family-page .family-shop-cta span{font-size:20px;line-height:1}
.portal-family-page .family-shop-carousel{position:relative; min-width:0; padding:3px 22px 24px}
.portal-family-page .family-shop-track{
  display:grid; grid-auto-flow:column; grid-auto-columns:minmax(0,calc(50% - 8px));
  gap:12px; overflow-x:auto; overscroll-behavior-x:contain; scroll-snap-type:x mandatory;
  scrollbar-width:none; padding:2px 2px 8px;
}
.portal-family-page .family-shop-track::-webkit-scrollbar{display:none}
.portal-family-page .family-shop-mini{
  min-width:0; overflow:hidden; display:flex; flex-direction:column; align-items:stretch;
  padding:10px; border:1px solid #e2e8f0; border-radius:17px; background:#fff;
  box-shadow:0 5px 15px rgba(18,35,60,.055); cursor:pointer;
  scroll-snap-align:start; transition:transform .16s ease,box-shadow .16s ease;
}
.portal-family-page .family-shop-mini:hover{transform:translateY(-2px);box-shadow:0 10px 22px rgba(18,35,60,.10)}
.portal-family-page .family-shop-mini-photo{
  display:grid; place-items:center; overflow:hidden; aspect-ratio:1/1; width:100%;
  margin-bottom:10px; border-radius:12px; background:linear-gradient(145deg,#f7f9fc,#edf2f8);
}
.portal-family-page .family-shop-mini-photo img{display:block;width:100%;height:100%;object-fit:contain;padding:5px}
.portal-family-page .family-shop-mini-photo>span{font-size:38px}
.portal-family-page .family-shop-mini strong{
  display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden;
  min-height:34px; color:#1d2c42; font-size:12px; line-height:1.4; overflow-wrap:anywhere;
}
.portal-family-page .family-shop-mini>b{margin-top:7px;color:#14243b;font-size:15px;font-weight:850}
.portal-family-page .family-shop-mini-buy{margin-top:9px;color:#216bd0;font-size:11px;font-weight:800}
.portal-family-page .family-shop-arrow{
  position:absolute; z-index:2; top:38%; display:grid; place-items:center;
  width:31px;height:31px;border:1px solid #dce5f0;border-radius:50%;
  background:#fff;color:#245fae;box-shadow:0 3px 10px #172b460f;font-size:22px;cursor:pointer;
}
.portal-family-page .family-shop-arrow.prev{left:-1px}
.portal-family-page .family-shop-arrow.next{right:-1px}
.portal-family-page .family-shop-dots{position:absolute;bottom:0;left:0;right:0;display:flex;justify-content:center;gap:5px}
.portal-family-page .family-shop-dots>*{width:6px;height:6px;border-radius:50%;background:#c8d5e6}
.portal-family-page .family-shop-dots>*.active{background:#2478e5}
@media(max-width:900px){
  .portal-family-page .family-shop-hero{grid-template-columns:1fr;gap:19px}
  .portal-family-page .family-shop-copy h2{max-width:640px}
  .portal-family-page .family-shop-carousel{padding-left:22px;padding-right:22px}
  .portal-family-page .family-shop-track{grid-auto-columns:minmax(0,calc(33.333% - 8px))}
}
@media(max-width:600px){
  .portal-family-page .family-shop-hero{margin:14px 0;padding:17px 14px;border-radius:18px;gap:16px}
  .portal-family-page .family-shop-copy .section-eyebrow{font-size:9px}
  .portal-family-page .family-shop-copy h2{font-size:23px;letter-spacing:-.45px;margin-top:11px}
  .portal-family-page .family-shop-copy p{font-size:12px;line-height:1.55}
  .portal-family-page .family-shop-benefits{gap:6px;margin:12px 0 15px}
  .portal-family-page .family-shop-benefits span{font-size:9px;padding:6px 7px}
  .portal-family-page .family-shop-cta{width:100%;min-height:45px}
  .portal-family-page .family-shop-carousel{padding:2px 17px 22px}
  .portal-family-page .family-shop-track{grid-auto-columns:minmax(0,calc(50% - 6px));gap:10px}
  .portal-family-page .family-shop-mini{padding:8px;border-radius:14px}
  .portal-family-page .family-shop-mini-photo{border-radius:10px}
  .portal-family-page .family-shop-mini strong{font-size:11px;min-height:31px}
  .portal-family-page .family-shop-mini>b{font-size:14px}
  .portal-family-page .family-shop-arrow{width:27px;height:27px;font-size:19px}
}
@media(max-width:360px){
  .portal-family-page .family-shop-hero{padding:14px 11px}
  .portal-family-page .family-shop-copy h2{font-size:21px}
  .portal-family-page .family-shop-benefits span{font-size:8px}
  .portal-family-page .family-shop-track{grid-auto-columns:85%}
}
/* DOJOKUN_LOJA_V01_END */
