:root{--blue:#075da8;--navy:#06365f;--ink:#172b40;--muted:#718196;--line:#e2e9ef;--bg:#f4f7fa}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:15px Inter,system-ui,sans-serif}.shell{min-height:100vh;display:grid;grid-template-columns:250px 1fr}aside{position:sticky;top:0;height:100vh;padding:24px 16px;background:linear-gradient(180deg,#075792,#052e55);color:#fff;display:flex;flex-direction:column}.brand{display:flex;gap:12px;align-items:center;padding:0 8px 24px;border-bottom:1px solid #ffffff28}.brand img{width:49px;height:49px;object-fit:contain;background:#fff;border-radius:50%}.brand b,.brand small{display:block}.brand b{font-size:19px}.brand small{font-size:12px;color:#c8dcef;margin-top:3px}nav{display:grid;gap:6px;margin-top:24px}nav a{display:flex;gap:12px;align-items:center;color:#dceafa;text-decoration:none;padding:13px;border-radius:10px}nav a:hover,nav a.active{background:#ffffff18;color:#fff}.side-user{margin-top:auto;padding:14px;background:#ffffff10;border-radius:12px}.side-user b,.side-user small{display:block}.side-user small{color:#bfd5e9;margin:3px 0 10px}.side-user a{color:white;font-size:12px}main{min-width:0}header{height:82px;background:#fff;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 32px;position:sticky;top:0;z-index:3}header small{color:var(--blue);font-weight:700;text-transform:uppercase;letter-spacing:.08em}h1{margin:3px 0 0;font-size:25px}.avatar{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#dcebf7;color:var(--blue);font-weight:800}.content{padding:28px;max-width:1500px;margin:auto}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:18px}.metrics article,.panel{background:#fff;border:1px solid var(--line);border-radius:15px;box-shadow:0 5px 18px #15304b08}.metrics article{padding:20px}.metrics span,.metrics strong{display:block}.metrics span{color:var(--muted);font-size:13px}.metrics strong{font-size:29px;margin-top:7px}.panel{overflow:hidden}.panel-head{min-height:65px;padding:18px 20px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center}.panel h2{margin:0;font-size:17px}.panel-head a{color:var(--blue);text-decoration:none}.grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(300px,.7fr);gap:18px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:13px 17px;border-top:1px solid #edf1f4;white-space:nowrap}th{font-size:11px;text-transform:uppercase;color:#778797;background:#f8fafc}td{font-size:13px}td small{display:block;color:var(--muted);margin-top:3px}td em{font-style:normal;color:#168154;background:#e8f7ef;border-radius:99px;padding:5px 8px}.form{padding-bottom:20px}.form>h2{padding:20px;border-bottom:1px solid var(--line)}form{display:grid;gap:13px;padding:0 20px}label{display:grid;gap:6px;color:#506277;font-size:12px;font-weight:700}input,select,textarea{width:100%;border:1px solid #dbe4eb;border-radius:9px;padding:10px;background:#fff;color:var(--ink)}textarea{resize:vertical}button{border:0;border-radius:9px;padding:12px;background:var(--blue);color:white;font-weight:700;cursor:pointer}.search{width:230px}.alert{padding:12px 15px;border-radius:9px;margin-bottom:18px}.alert.success{background:#e8f7ef;color:#176641}.alert.error{background:#fff0f0;color:#9b3030}.login-body{min-height:100vh;display:grid;place-items:center;background:linear-gradient(135deg,#eef5fb,#d7e8f6)}.login-card{width:min(410px,calc(100% - 32px));padding:32px;background:#fff;border-radius:20px;box-shadow:0 24px 70px #0a3b6722}.login-card img{width:92px;height:92px;object-fit:contain;display:block;margin:auto}.login-card h1{text-align:center;font-size:29px}.login-card>p{text-align:center;color:var(--muted);margin-bottom:20px}
.collapse{margin-left:auto;width:34px;height:34px;padding:0;background:#ffffff15;font-size:25px;line-height:1}.brand{position:relative}.brand .collapse{position:absolute;right:-5px;top:8px}.sidebar-tooltip{display:none}nav a i{font-style:normal}.collapsed{grid-template-columns:78px 1fr}.collapsed aside{padding-left:12px;padding-right:12px}.collapsed .brand>div,.collapsed nav a i{display:none}.collapsed .brand img{width:42px;height:42px}.collapsed .brand .collapse{right:-9px;top:8px;width:25px;height:30px}.collapsed nav a{justify-content:center}.collapsed nav a span{font-size:18px}.collapsed .side-user{display:none}.season-filter{margin-left:auto;padding:0;display:block}.season-filter select{min-width:120px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.form h3{margin:5px 20px;color:var(--blue);font-size:14px}.form table{margin-top:20px}.table-link{color:var(--blue);text-decoration:none}.table-link:hover{text-decoration:underline}.standalone{min-height:100vh}.standalone header{position:static}.back{color:var(--blue);text-decoration:none;font-weight:700}.athlete-profile{display:grid;grid-template-columns:280px 1fr;gap:18px;margin-bottom:18px}.athlete-photo{padding:24px;text-align:center}.athlete-photo img,.photo-placeholder{width:210px;height:250px;border-radius:14px;object-fit:cover;margin:0 auto 16px;background:#e8eef4}.photo-placeholder{display:grid;place-items:center;color:var(--muted)}.athlete-photo b,.athlete-photo span{display:block}.athlete-photo span{color:var(--muted);margin-top:5px}.form-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.edit-card{width:min(560px,calc(100% - 30px));padding-bottom:20px}.edit-card .back{display:block;padding:15px 20px}.danger{background:#b4232b}
.filters{display:flex;gap:8px;align-items:center}.filters select{min-width:155px}.sortable th{cursor:pointer;user-select:none}.sortable th:hover{color:var(--blue);background:rgb(237 245 251)}.sortable th[data-dir="asc"]::after{content:" ▲"}.sortable th[data-dir="desc"]::after{content:" ▼"}#feeNotice,#athleteFeeNotice{color:var(--blue);font-weight:500}.athlete-photo form{padding:10px 0 0}.stack{display:grid;gap:18px;align-content:start}.count-badge,.status-badge{display:inline-flex;align-items:center;border-radius:99px;padding:4px 9px;font-size:11px;font-weight:800}.count-badge{background:#e9f2fa;color:var(--blue)}.empty-state{padding:25px;color:var(--muted);text-align:center}.sponsor-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:15px;padding:18px}.sponsor-card{border:1px solid var(--line);border-radius:13px;overflow:hidden;background:#fff}.sponsor-card.inactive{opacity:.62}.sponsor-card>img,.sponsor-placeholder{width:100%;height:145px;object-fit:contain;background:#f5f7f9}.sponsor-placeholder{display:grid;place-items:center;color:var(--muted)}.sponsor-info{display:grid;gap:7px;padding:14px}.sponsor-info>div{display:flex;justify-content:space-between;gap:8px}.sponsor-info small{color:var(--muted)}.status-badge.active{background:#e8f7ef;color:#168154}.status-badge.inactive{background:#eef1f4;color:#687789}.check-row{display:flex;grid-template-columns:auto 1fr;align-items:center;gap:9px}.check-row input{width:auto}.sponsor-edit{margin:auto}.sponsor-edit-image{display:block;width:220px;height:140px;object-fit:contain;margin:20px auto;border:1px solid var(--line);border-radius:12px;background:#f8fafc}.sponsor-edit>.back{display:block;padding:15px 20px}@media(max-width:1000px){.metrics{grid-template-columns:1fr 1fr}.grid,.settings-grid{grid-template-columns:1fr}}@media(max-width:720px){.shell,.collapsed{display:block}.collapse{display:none}aside{position:static;height:auto;padding:14px}.brand{padding-bottom:12px}.brand img{width:40px;height:40px}nav{display:flex;overflow:auto;margin-top:12px}nav a,.collapsed nav a:not(.active){white-space:nowrap;padding:10px;font-size:14px}.side-user{display:none}header{height:72px;padding:0 16px}.season-filter{display:none}.content{padding:16px}.metrics{grid-template-columns:1fr 1fr;gap:10px}.metrics article{padding:15px}.grid{gap:12px}.search{width:140px}.sponsor-grid{grid-template-columns:1fr}}
.audit-panel{overflow:visible}.audit-panel>.panel-head small{display:block;color:var(--muted);margin-top:5px}.audit-filters{display:grid;grid-template-columns:repeat(6,minmax(130px,1fr));gap:12px;padding:18px 20px;border-bottom:1px solid var(--line)}.audit-buttons{display:flex;gap:8px;align-items:end}.audit-buttons button,.secondary-button{height:39px;display:inline-flex;align-items:center;justify-content:center;padding:0 14px;border-radius:9px;text-decoration:none;font-size:12px;font-weight:700}.secondary-button{background:#eaf0f5;color:var(--ink)}.audit-table td{vertical-align:top}.audit-action{display:inline-flex;border-radius:99px;padding:5px 9px;background:#e9f2fa;color:var(--blue);font-size:11px;font-weight:800}.audit-action.apagar{background:#fff0f0;color:#a22b35}.audit-action.editar{background:#fff6df;color:#8c6500}.audit-action.login,.audit-action.logout{background:#f0ecff;color:#6042a8}.audit-details{white-space:normal;min-width:220px;max-width:430px}@media(max-width:1200px){.audit-filters{grid-template-columns:repeat(3,1fr)}}@media(max-width:720px){.audit-filters{grid-template-columns:1fr}.audit-buttons{align-items:center}}

/* v2.0.2: navegação consistente entre páginas administrativas e portal */
.shell>aside nav a{min-height:42px} .shell>main>.content{min-width:0} .shell>main>header h1{line-height:1.2} .shell>aside nav a span{width:20px;flex:0 0 20px;text-align:center} .shell>aside nav a i{min-width:0} @media(max-width:720px){.shell>aside nav{scrollbar-width:thin}.shell>aside nav a{flex:0 0 auto}}


/* v2.1.0 — acabamento visual profissional e responsivo */
:root{--navy:#10243a;--blue:#1769aa;--blue-dark:#124e80;--line:#e2e8f0;--muted:#64748b;--ink:#172b42;--surface:#fff;--page:#f3f6fa}
body{background:var(--page);color:var(--ink);font-family:Inter,"Segoe UI",Roboto,Arial,sans-serif;font-size:14px;line-height:1.5}
.shell>aside{background:linear-gradient(180deg,#10243a 0%,#142f4a 100%);box-shadow:4px 0 18px #0f27400d}
.brand{padding-top:5px;padding-bottom:20px}.brand b{letter-spacing:.2px;font-size:16px}.brand small{color:#b8c8d8}
nav{gap:5px}nav a{border:1px solid transparent;border-radius:10px;transition:background .18s ease,border-color .18s ease,transform .18s ease}nav a:hover{background:#ffffff12;border-color:#ffffff12;transform:translateX(2px)}nav a.active{background:#ffffff1b;border-color:#ffffff24;box-shadow:inset 3px 0 #70b7f0;color:#fff}
.side-user{border-top:1px solid #ffffff20;padding-top:15px}.side-user small{color:#bdcad8}.side-user a{color:#cfe5f8}
.shell>main{min-width:0}header{background:#ffffffeb;backdrop-filter:blur(12px);border-bottom:1px solid var(--line);box-shadow:0 3px 14px #10243a05}header h1{font-size:clamp(21px,2vw,27px);letter-spacing:-.5px;color:var(--navy)}header small{color:var(--muted);font-weight:600;letter-spacing:.15px}
.content{padding:26px;max-width:1680px;width:100%;margin:0 auto}.panel,.metrics article{border:1px solid var(--line);border-radius:15px;box-shadow:0 5px 20px #10243a07;background:var(--surface)}.panel-head{padding:19px 21px;border-bottom:1px solid #edf1f5}.panel h2,.panel-head h2{font-size:16px;letter-spacing:-.15px;color:var(--navy)}
.metrics{gap:16px}.metrics article{padding:21px}.metrics article span{font-size:12px;color:var(--muted);font-weight:650}.metrics article strong{font-size:clamp(22px,2.4vw,30px);letter-spacing:-.6px;color:var(--navy)}
button,.primary-button{border-radius:9px;box-shadow:0 2px 4px #124e8015;transition:background .15s ease,transform .15s ease}button:hover,.primary-button:hover{background:var(--blue-dark);transform:translateY(-1px)}input,select,textarea{border-color:#d8e1eb;border-radius:9px;background:#fff;min-height:39px}input:focus,select:focus,textarea:focus{outline:3px solid #1769aa1a;border-color:var(--blue)}
table{border-collapse:separate;border-spacing:0}th{background:#f6f8fb;color:#526579;font-size:11px;text-transform:uppercase;letter-spacing:.45px}td,th{padding:12px 14px;border-bottom:1px solid #edf1f5}tbody tr:hover{background:#f8fbfe}tbody tr:last-child td{border-bottom:0}.table-wrap{max-width:100%;overflow:auto}
.alert{border-radius:10px;padding:13px 16px;margin-bottom:18px}.avatar{box-shadow:0 0 0 4px #1769aa12;font-weight:800}
.login-body{background:radial-gradient(circle at 15% 10%,#dcecf9 0,transparent 35%),linear-gradient(135deg,#f3f6fa,#e8eef5)}.login-card{border:1px solid #ffffff;border-radius:20px;box-shadow:0 25px 70px #10243a18;padding:32px}.login-card button{width:100%;margin-top:6px}
@media(max-width:720px){.content{padding:14px}.panel{border-radius:12px}.panel-head{padding:15px}.metrics article{padding:14px}.shell>aside{background:#10243a}nav a.active{box-shadow:inset 0 -3px #70b7f0}.shell>main>header{padding:0 15px}.login-card{padding:24px}}

/* v2.2.5 — navegação consistente na ficha do atleta e editores isolados */
.shell .collapse{flex:0 0 34px;display:inline-grid;place-items:center}.shell.collapsed .brand .collapse{right:-9px}.shell.collapsed nav a i{display:none}.shell.collapsed nav a span{display:block}@media(max-width:720px){.shell .collapse{display:none}}

/* v2.2.6 — barra lateral robusta e responsiva */
.brand .collapse{z-index:5;cursor:pointer;border:1px solid #ffffff35;color:#fff;display:inline-grid;place-items:center;flex:0 0 34px;min-width:34px}
.brand .collapse:focus-visible{outline:3px solid #fff;outline-offset:3px}
.shell.collapsed{grid-template-columns:78px minmax(0,1fr)}
.shell.collapsed aside{min-width:0}
@media(max-width:720px){
  .shell,.shell.collapsed{display:block}
  .shell aside{height:auto;min-height:0;position:relative;padding:14px}
  .shell .brand{padding:0 38px 12px 4px;min-height:48px}
  .shell .brand .collapse{right:0;top:6px;display:inline-grid}
  .shell nav{display:flex;overflow:auto;margin-top:12px}
  .shell.collapsed nav{display:none}
  .shell.collapsed .brand>div{display:block}
  .shell.collapsed .brand img{width:40px;height:40px}
  .shell.collapsed .side-user{display:none}
}


/* v2.2.8 — controlo da barra lateral mais visível e acessível */
.shell .brand{padding-right:0;gap:10px}
.shell .brand .collapse{
  position:relative;inset:auto;flex:0 0 auto;min-width:0;width:auto;height:42px;
  padding:0 12px;display:inline-flex;align-items:center;justify-content:center;gap:8px;
  border:2px solid #b9e5ff;border-radius:12px;background:#e7f5ff;color:#06365f;
  box-shadow:0 3px 0 #031f3b55,0 0 0 3px #ffffff16;font-size:13px;font-weight:800;
  line-height:1;white-space:nowrap;transition:background .16s ease,transform .16s ease,box-shadow .16s ease;
}
.shell .brand .collapse:hover{background:#fff;transform:translateY(-1px);box-shadow:0 4px 0 #031f3b55,0 0 0 4px #ffffff20}
.shell .brand .collapse:active{transform:translateY(1px);box-shadow:0 1px 0 #031f3b55}
.shell .brand .collapse-icon{font-size:23px;font-weight:900;line-height:.8;letter-spacing:-5px;padding-right:4px}
.shell .brand .collapse-label{font-size:11px;letter-spacing:.1px}
.shell.collapsed .brand{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;padding:0 0 18px}
.shell.collapsed .brand .collapse{width:48px;height:44px;padding:0;border-radius:13px}
.shell.collapsed .brand .collapse-label{display:none}
.shell.collapsed .brand .collapse-icon{font-size:28px;letter-spacing:-6px;padding-right:5px}
.shell.collapsed .brand img{width:42px;height:42px}
.shell .brand .collapse:focus-visible{outline:3px solid #ffd166;outline-offset:3px}
@media(max-width:720px){
  .shell .brand{padding:0 0 12px;min-height:48px;flex-wrap:wrap}
  .shell .brand .collapse{position:absolute;right:0;top:4px;width:auto;height:38px;padding:0 10px}
  .shell .brand .collapse-label{display:inline}
  .shell.collapsed .brand{justify-content:flex-start;padding-right:120px}
  .shell.collapsed .brand .collapse{right:0;top:4px;width:auto;height:38px;padding:0 10px}
  .shell.collapsed .brand .collapse-label{display:inline}
}

/* v2.2.8 — controlo discreto da barra lateral */
.shell .brand .collapse{
  position:absolute;right:-8px;top:12px;inset-block:auto;flex:0 0 27px;
  width:27px;min-width:27px;height:27px;padding:0;display:inline-flex;
  align-items:center;justify-content:center;gap:0;border:1px solid #ffffff45;
  border-radius:7px;background:#ffffff0b;color:#dceafa;box-shadow:none;
  font-size:12px;font-weight:500;line-height:1;transition:background .15s ease,color .15s ease,border-color .15s ease;
}
.shell .brand .collapse:hover{background:#ffffff20;color:#fff;border-color:#ffffff80;transform:none;box-shadow:none}
.shell .brand .collapse:active{transform:none;box-shadow:none}
.shell .brand .collapse-icon{font-size:19px;font-weight:400;line-height:1;letter-spacing:0;padding:0}
.shell .brand .collapse-label{display:none}
.shell .brand .collapse:focus-visible{outline:2px solid #dceafa;outline-offset:2px}
.shell.collapsed .brand{position:relative;display:flex;flex-wrap:nowrap;justify-content:center;gap:10px;padding:0 0 18px}
.shell.collapsed .brand .collapse{right:-7px;top:8px;width:25px;min-width:25px;height:25px;border-radius:7px;padding:0}
.shell.collapsed .brand .collapse-icon{font-size:19px;letter-spacing:0;padding:0}
@media(max-width:720px){
  .shell .brand .collapse{position:absolute;right:0;top:6px;width:27px;min-width:27px;height:27px;padding:0}
  .shell .brand .collapse-label{display:none}
  .shell.collapsed .brand{justify-content:flex-start;padding-right:38px}
  .shell.collapsed .brand .collapse{right:0;top:6px;width:27px;min-width:27px;height:27px;padding:0}
}

/* v2.2.14 — painel financeiro por perfil */
.finance-intro{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.finance-intro h2{font-size:24px;margin:5px 0}.finance-intro p{color:#64748b;margin:0}.finance-eyebrow{font-size:11px;font-weight:700;letter-spacing:1.1px;color:#376b95}.finance-link{text-decoration:none;font-weight:650;color:#175b97;white-space:nowrap}.finance-metrics article small{display:block;color:#64748b;margin-top:8px;font-size:11px}.finance-metrics strong{font-size:clamp(19px,2vw,27px)}.finance-chart-panel{margin:18px 0}.finance-chart-legend{font-size:12px;color:#64748b;display:flex;align-items:center;gap:7px}.finance-chart-legend i{width:9px;height:9px;border-radius:2px;display:inline-block}.income-dot{background:#286c9a}.expense-dot{background:#dc9351}.finance-bars{overflow-x:auto;padding:28px 14px 5px}.finance-bars-inner{min-width:520px;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:8px;height:225px;border-bottom:1px solid #dce5ed;align-items:end}.finance-month{display:flex;flex-direction:column;height:100%;gap:9px;align-items:center;justify-content:flex-end}.finance-bar-pair{display:flex;align-items:flex-end;justify-content:center;gap:3px;width:100%;height:185px}.finance-bar{min-height:0;width:16px;max-width:40%;border-radius:4px 4px 0 0}.finance-bar.income{background:#286c9a}.finance-bar.expense{background:#dc9351}.finance-month>span{font-size:11px;color:#64748b;white-space:nowrap}.finance-chart-note{font-size:11px;color:#64748b;margin:8px 16px 16px}@media(max-width:740px){.finance-intro{flex-direction:column;align-items:flex-start}.finance-bars{padding:15px 8px 3px}.finance-chart-legend{flex-wrap:wrap}}

/* v2.2.18 — centro de configurações e rodapé discreto */
.shell main{display:flex;flex-direction:column;min-width:0;min-height:100vh}.shell main>.content{flex:1;width:100%;box-sizing:border-box}.app-footer{padding:15px 26px 20px;text-align:center;font-size:12px;color:#8290a0;border-top:1px solid #e7edf3;margin-top:auto}.app-footer span{padding:0 6px;color:#a6b0bc}.settings-hub{margin-bottom:18px}.settings-links{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;padding:18px}.settings-link{display:flex;flex-direction:column;gap:5px;border:1px solid #dfe6ee;border-radius:10px;padding:18px;text-decoration:none;color:inherit;background:#fff}.settings-link:hover{background:#f6f9fc;border-color:#afc6dc}.settings-link b{font-size:14px;color:#163c5c}.settings-link small{font-size:12px;color:#6b7b8c}.settings-category{margin-bottom:18px;scroll-margin-top:20px}.settings-category .panel-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.settings-grid>section{scroll-margin-top:20px}@media(max-width:720px){.app-footer{padding:14px}.settings-links{grid-template-columns:1fr;padding:12px}}

/* 2.2.19 */
.avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}.settings-detail{max-width:980px;margin:16px 0}.settings-detail form{padding:18px}.settings-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.settings-fields label{min-width:0}@media(max-width:680px){.settings-fields{grid-template-columns:1fr}}

/* v2.2.20 — gestão de categorias financeiras */
.category-page{display:grid;gap:18px;max-width:1460px;margin:0 auto}.category-heading{display:flex;justify-content:space-between;gap:20px;align-items:center}.category-heading h2{margin:7px 0 4px;font-size:22px}.category-heading p{margin:0;color:#64748b}.category-back{font-size:13px;text-decoration:none;color:#315d81}.category-add{text-decoration:none;white-space:nowrap}.category-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.category-summary article{padding:19px;background:#fff;border:1px solid #e2e8f0;border-radius:12px;display:flex;flex-direction:column;gap:9px}.category-summary article span{font-size:12px;color:#64748b}.category-summary article strong{font-size:25px;color:#16364f;line-height:1.1}.category-filters{display:grid;grid-template-columns:2fr 1fr 1fr;gap:14px;padding:18px 20px}.category-filters label{margin:0;font-size:12px;font-weight:600;color:#526274}.category-filters input,.category-filters select{margin-top:6px;width:100%}.category-table{width:100%}.category-table th:last-child,.category-table td:last-child{text-align:right}.category-type,.category-status{display:inline-flex;align-items:center;border-radius:20px;padding:4px 10px;font-size:12px;font-weight:600}.category-type-receita{color:#1a7044;background:#e8f6ee}.category-type-despesa{color:#7c4c19;background:#fff3e3}.category-status.is-active{color:#256c45;background:#e8f6ee}.category-status.is-inactive{color:#6b7280;background:#eef0f3}.category-actions{display:flex;gap:13px;align-items:center;justify-content:flex-end}.category-actions form{display:inline;margin:0}.category-action-button{border:1px solid #d9e2ec;background:#fff;color:#344f67;box-shadow:none;font-weight:500;font-size:12px;padding:6px 10px}.category-action-button:hover{background:#f2f6fb;color:#163c5c;transform:none}.category-note{padding:12px 20px 18px;font-size:12px;color:#66758a}.category-editor{scroll-margin-top:18px}.category-form{padding:20px}.category-form-fields{display:grid;grid-template-columns:2fr 1fr;gap:18px;max-width:920px}.category-form-fields label{min-width:0}.category-form-footer{margin-top:12px}.category-row[hidden],#category-no-results[hidden]{display:none}@media(max-width:900px){.category-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.category-filters{grid-template-columns:1fr 1fr}.category-filters label:first-child{grid-column:1/-1}}@media(max-width:600px){.category-heading{align-items:stretch;flex-direction:column}.category-summary{gap:8px}.category-summary article{padding:13px}.category-filters,.category-form-fields{grid-template-columns:1fr}.category-filters label:first-child{grid-column:auto}.category-actions{flex-wrap:wrap}.category-form{padding:14px}}


/* v2.2.21: categorias financeiras — layout compacto e consistente */
.category-page{display:grid;gap:16px;max-width:1500px;margin:0 auto}
.category-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:4px 0 3px}
.category-heading>div{min-width:0}.category-heading h2{font-size:22px;line-height:1.2;margin:7px 0 5px;color:#17304c}
.category-heading p{margin:0;color:#64748b;font-size:13px}.category-back{color:#54708b;font-size:12px;text-decoration:none}
.category-page a.category-add{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:9px;background:#15669d;color:white!important;font-weight:650;font-size:13px;padding:10px 15px;min-height:41px;max-width:max-content;box-shadow:0 2px 6px #19527621;text-decoration:none;white-space:nowrap;border:1px solid #155c90}
.category-page a.category-add:hover{background:#104f7c;color:white!important;box-shadow:0 3px 8px #19527632}
.category-add span{font-size:19px;font-weight:400;line-height:1}
.category-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.category-summary article{padding:15px 17px;min-height:89px;background:white;border:1px solid #e0e7ef;border-radius:11px;display:flex;flex-direction:column;justify-content:space-between;gap:9px;box-shadow:0 2px 8px #112c4506}
.category-summary article span{font-size:12px;font-weight:600;color:#63758a}.category-summary article strong{font-size:27px;line-height:1;color:#18334e}
.category-list{overflow:hidden}.category-list>.panel-head{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:17px 20px}.category-list>.panel-head h2{margin:0 0 3px;font-size:16px}.category-list>.panel-head small{color:#64748b}.category-list #category-result-count{font-size:12px;color:#66758a;white-space:nowrap}
.category-filters{display:grid;grid-template-columns:minmax(200px,2fr) minmax(145px,1fr) minmax(145px,1fr);align-items:end;gap:13px;padding:16px 20px;background:#fbfcfe;border-bottom:1px solid #e8edf3}
.category-filters label{font-size:12px;font-weight:600;margin:0;color:#56677b;min-width:0;display:block}.category-filters input,.category-filters select{display:block;margin:6px 0 0;box-sizing:border-box;width:100%;height:42px;padding:9px 12px;font-size:13px;border:1px solid #d6e1ec;border-radius:8px;background:white}
.category-table{width:100%;border-collapse:collapse;table-layout:auto}.category-table th{text-align:left;font-size:11px;color:#61748a;padding:12px 18px;white-space:nowrap}.category-table td{vertical-align:middle;padding:11px 18px;border-bottom:1px solid #ecf0f4;font-size:13px;line-height:1.4}.category-table td:first-child{font-weight:600}.category-table th:last-child,.category-table td:last-child{text-align:right;width:190px}
.category-type,.category-status{display:inline-flex;align-items:center;border-radius:30px;padding:4px 9px;font-size:11px;font-weight:650}
.category-type-receita{color:#25714c;background:#e8f5ec}.category-type-despesa{color:#8f571e;background:#fcf0e1}.category-status.is-active{background:#eaf5ed;color:#28694a}.category-status.is-inactive{background:#f0f2f5;color:#737b85}
.category-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:nowrap}.category-actions form{margin:0;display:inline-flex;width:auto}.category-actions a.category-edit-link{display:inline-flex;align-items:center;justify-content:center;height:32px;padding:0 11px;color:#2b5c85;background:#f0f5fa;border:1px solid #dce7f0;border-radius:7px;font-size:12px;font-weight:650;text-decoration:none;white-space:nowrap}.category-actions a.category-edit-link:hover{background:#e5eff8}
.category-actions button.category-action-button{display:inline-flex;align-items:center;justify-content:center;width:auto!important;min-width:88px;max-width:none!important;height:32px!important;min-height:32px!important;padding:0 11px!important;font-size:12px;font-weight:650;border-radius:7px;box-shadow:none;line-height:1;transform:none}
.category-actions button.category-deactivate{color:#9b4a4a;background:#fff5f5;border:1px solid #f0d8d8}.category-actions button.category-deactivate:hover{background:#ffe8e8;color:#832d2d}.category-actions button.category-activate{color:#27734c;background:#eef8f0;border:1px solid #d7ebdc}.category-actions button.category-activate:hover{background:#ddf1e3;color:#1c613d}
.category-note{font-size:12px;color:#6c7e92;padding:12px 20px}.category-editor{scroll-margin-top:20px}.category-editor .panel-head{padding:16px 20px}.category-form{padding:18px 20px 20px}.category-form-fields{display:grid;grid-template-columns:2fr 1fr;gap:15px;max-width:800px}.category-form-fields label{margin:0;font-size:13px}.category-form-fields input,.category-form-fields select{width:100%;box-sizing:border-box}.category-form-footer{margin-top:18px}.category-form-footer button{width:auto!important;min-width:140px}
.category-row[hidden],#category-no-results[hidden]{display:none!important}
@media(max-width:850px){.category-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.category-filters{grid-template-columns:1fr 1fr}.category-filters label:first-child{grid-column:1/-1}.category-table th,.category-table td{padding:11px 12px}}
@media(max-width:600px){.category-heading{flex-direction:column;align-items:flex-start}.category-page a.category-add{align-self:stretch;max-width:none}.category-summary{gap:8px}.category-summary article{min-height:75px;padding:12px}.category-filters{grid-template-columns:1fr;padding:12px}.category-filters label:first-child{grid-column:auto}.category-table td,.category-table th{white-space:nowrap}.category-list .table-wrap{overflow-x:auto}.category-actions{gap:5px}.category-form-fields{grid-template-columns:1fr}.category-form{padding:14px}}

/* v2.2.22 — botões uniformizados na Tesouraria */
.finance-unified .finance-btn, .finance-unified .finance-top-actions .button, .finance-unified .finance-top-actions button,
.finance-unified .finance-filters button, .finance-unified .finance-filters>a,
.finance-unified .finance-new-form button[type=submit], .finance-unified .finance-create-page .button {
 display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;
 padding:8px 13px;border-radius:8px;border:1px solid transparent;box-sizing:border-box;
 font:600 13px/1.25 Inter,"Segoe UI",Arial,sans-serif;text-decoration:none;white-space:normal;
 width:auto;max-width:100%;margin:0;box-shadow:none;transition:background .15s,border-color .15s,color .15s;cursor:pointer;
}
.finance-unified .finance-btn-primary, .finance-unified .finance-top-actions .finance-btn-primary,
.finance-unified .finance-filters button, .finance-unified .finance-new-form button[type=submit],
.finance-unified .finance-top-actions button:not(.finance-btn-secondary) {background:#17669e;color:#fff;border-color:#17669e}
.finance-unified .finance-btn-primary:hover, .finance-unified .finance-filters button:hover,
.finance-unified .finance-new-form button[type=submit]:hover {background:#10547f;border-color:#10547f;color:#fff}
.finance-unified .finance-btn-secondary, .finance-unified .finance-top-actions .finance-btn-secondary,
.finance-unified .finance-filters>a, .finance-unified .finance-top-actions .button.secondary {background:#fff;color:#265578;border-color:#cbd8e4}
.finance-unified .finance-btn-secondary:hover, .finance-unified .finance-filters>a:hover {background:#eef5fa;border-color:#94b1c8;color:#173f5f}
.finance-unified .finance-top-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.finance-unified .finance-filters{gap:10px;align-items:end}
.finance-unified .finance-filters label{margin:0}
.finance-unified .finance-btn:focus-visible,.finance-unified button:focus-visible{outline:2px solid #1c7dbc;outline-offset:2px}
@media(max-width:640px){.finance-unified .finance-top-actions{width:100%}.finance-unified .finance-top-actions>a,.finance-unified .finance-top-actions>button{flex:1 1 auto}.finance-unified .finance-filters{align-items:stretch}}
@media print{.finance-unified .finance-top-actions,.finance-unified .finance-filters button{display:none!important}}

/* v2.2.35 — ficha do atleta organizada em separadores */
.athlete-tabs{display:flex;flex-wrap:wrap;gap:7px;padding:8px;background:#f3f6fb;border:1px solid #e1e8f0;border-radius:14px;margin:0 0 20px}
.athlete-tabs .athlete-tab{appearance:none;min-height:39px;border:1px solid transparent;border-radius:9px;background:transparent;color:#52647b;padding:9px 16px;font:inherit;font-size:13px;font-weight:650;cursor:pointer;box-shadow:none}
.athlete-tabs .athlete-tab:hover{background:#e8eff8;color:#173c62}
.athlete-tabs .athlete-tab.active{background:white;color:#174b7c;border-color:#d4e0ed;box-shadow:0 1px 5px rgba(20,40,70,.08)}
.athlete-section[hidden]{display:none!important}
.athlete-section>.panel{margin-bottom:18px}
@media(max-width:650px){.athlete-tabs{gap:4px;padding:6px}.athlete-tabs .athlete-tab{flex:1 1 auto;text-align:center;padding:9px 10px}}

/* v2.2.37 — registo de pagamento em destaque na ficha do atleta */
.athlete-section[data-athlete-section="payments"] .athlete-payment-register{border:1px solid #bad2e8;background:linear-gradient(180deg,#f0f7ff 0,#fff 125px);box-shadow:0 9px 25px rgba(22,77,130,.09);overflow:hidden}
.athlete-payment-register-head{display:flex;gap:14px;align-items:flex-start;margin:0 0 20px;padding:18px 18px 16px;border-bottom:1px solid #dce9f5}
.athlete-payment-register-icon{display:grid;place-items:center;flex:none;width:46px;height:46px;border-radius:12px;background:#17669e;color:#fff;font-size:25px;font-weight:750}
.athlete-payment-register-kicker{display:block;color:#31729e;letter-spacing:.06em;text-transform:uppercase;font-size:10px;font-weight:750;margin-bottom:5px}
.athlete-payment-register-head h2{margin:0;color:#173e64;font-size:20px;line-height:1.25}
.athlete-payment-register-head p{font-size:12px;line-height:1.55;color:#667b8e;margin:8px 0 0;max-width:370px}
.athlete-payment-register form{padding:0 18px 20px;display:grid;gap:13px}
.athlete-payment-register form label{margin:0;display:grid;gap:6px;color:#294862;font-weight:650;font-size:12px}
.athlete-payment-register form input,.athlete-payment-register form select{width:100%;min-height:43px;border:1px solid #c8d9e8;border-radius:9px;background:#fff;padding:9px 11px;box-sizing:border-box}
.athlete-payment-register form input:focus-visible,.athlete-payment-register form select:focus-visible{outline:2px solid #388bc3;outline-offset:1px}
.athlete-payment-register .athlete-payment-register-submit{display:flex;justify-content:center;align-items:center;gap:9px;width:100%;min-height:47px;border-radius:10px;background:#17669e;border:1px solid #17669e;color:#fff;font-size:13px;font-weight:750;cursor:pointer;margin-top:7px;box-shadow:0 4px 10px rgba(23,102,158,.17)}
.athlete-payment-register .athlete-payment-register-submit:hover{background:#125583;border-color:#125583}
.athlete-payment-register .athlete-payment-register-submit:focus-visible{outline:3px solid #8ac4ef;outline-offset:2px}
@media(max-width:680px){.athlete-payment-register-head{padding:16px;gap:10px}.athlete-payment-register form{padding:0 16px 18px}}


/* v2.2.38: formulário de pagamento maior, sem destaque visual excessivo */
.athlete-section[data-athlete-section="payments"] .finance-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}
.athlete-section[data-athlete-section="payments"] .finance-block > .athlete-payment-register {
  order: -1;
  width: 100%;
  max-width: none;
  min-width: 0;
  border: 1px solid #e0e6ee;
  background: #fff;
  box-shadow: none;
}
.athlete-section[data-athlete-section="payments"] .finance-block > .panel:not(.athlete-payment-register) {
  width: 100%;
  min-width: 0;
}
.athlete-section[data-athlete-section="payments"] .athlete-payment-register-head {
  padding: 20px 24px;
  margin: 0 0 16px;
  border-color: #e7edf3;
}
.athlete-section[data-athlete-section="payments"] .athlete-payment-register-head p {max-width: 760px}
.athlete-section[data-athlete-section="payments"] .athlete-payment-register form {
  padding: 0 24px 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 20px;
}
.athlete-section[data-athlete-section="payments"] .athlete-payment-register form > input[type="hidden"] { display: none; }
.athlete-section[data-athlete-section="payments"] .athlete-payment-register form label {min-width: 0}
.athlete-section[data-athlete-section="payments"] .athlete-payment-register .athlete-payment-register-submit {
  grid-column: 1 / -1;
  justify-self: start;
  width: auto;
  min-width: 260px;
  padding: 12px 22px;
  box-shadow: none;
}
@media(max-width: 650px) {
  .athlete-section[data-athlete-section="payments"] .athlete-payment-register form {
    grid-template-columns: 1fr;
    padding: 0 16px 20px;
    gap: 14px;
  }
  .athlete-section[data-athlete-section="payments"] .athlete-payment-register-head { padding: 16px; }
  .athlete-section[data-athlete-section="payments"] .athlete-payment-register .athlete-payment-register-submit {
    width: 100%;
    min-width: 0;
  }
}

/* v2.2.39 — título do registo uniformizado com os restantes painéis */
.athlete-section[data-athlete-section="payments"] .athlete-payment-register .athlete-payment-register-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 16px;
  padding: 18px 24px;
  border-bottom: 1px solid #e7edf3;
  background: #fff;
  gap: 10px;
}
.athlete-section[data-athlete-section="payments"] .athlete-payment-register .athlete-payment-register-head h2 {
  margin: 0;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
}
.athlete-section[data-athlete-section="payments"] .athlete-payment-register .athlete-payment-register-head small {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  color: #64748b;
  line-height: 1.5;
}
@media(max-width:650px){
  .athlete-section[data-athlete-section="payments"] .athlete-payment-register .athlete-payment-register-head {padding:16px;}
}

/* v2.2.40 — exatamente a mesma tipografia dos títulos de Documentação do atleta */
.athlete-section[data-athlete-section="payments"] .athlete-payment-register .athlete-payment-register-head h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.15px;
  line-height: normal;
  color: var(--navy);
  font-family: inherit;
}

/* v2.2.41 — Fotografia junto à imagem e número do jogador mais abaixo */
.athlete-photo .athlete-photo-upload{display:flex;flex-direction:column;align-items:stretch;gap:7px;width:100%;max-width:260px;margin:14px auto 4px;text-align:left;font-size:13px;font-weight:600;color:#475569}
.athlete-photo .athlete-photo-upload input[type=file]{width:100%;max-width:100%;font-size:12px;box-sizing:border-box}

/* v2.2.42 — lista de atletas e formulário independente */
.athletes-list-page,.athlete-create-page{display:grid;gap:18px}.athletes-list-page .panel{min-width:0}.athlete-list-tools{display:flex;align-items:center;flex-wrap:wrap;gap:12px}.athlete-list-tools .filters{display:flex;gap:9px;flex-wrap:wrap}.athlete-list-tools .button{white-space:nowrap;text-decoration:none}.athlete-create-page .finance-top{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.athlete-create-page .finance-top h2{margin:0}.athlete-create-page .finance-top p{margin:5px 0;color:#64748b}.athlete-create-form{max-width:1100px}.athlete-create-form form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;padding:22px}.athlete-create-form form>input[type=hidden]{display:none}.athlete-create-form form>label{min-width:0}.athlete-create-form form .document-fields,.athlete-create-form form .athlete-create-actions{grid-column:1/-1}.athlete-create-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}@media(max-width:720px){.athlete-create-form form{grid-template-columns:1fr;padding:16px}.athlete-list-tools{width:100%}.athlete-list-tools .filters{width:100%}.athlete-list-tools .filters>*{flex:1;min-width:140px}}

/* v2.2.44 — Pesquisa de pagamentos */
.payments-search{padding:0 18px 16px;display:flex;gap:10px;align-items:end;flex-wrap:wrap}
.payments-search label{min-width:220px;flex:1;display:grid;gap:6px;font-weight:600;color:#334155;font-size:13px}
.payments-search input{width:100%;min-height:42px}
.payments-search button,.payments-search .button{min-height:42px;display:inline-flex;align-items:center;justify-content:center;margin:0}
.payments-search-caption{font-size:12px;color:#64748b;padding:3px 18px 15px;margin:0}
@media(max-width:640px){.payments-search label{flex-basis:100%}.payments-search button,.payments-search .button{flex:1}}

/* v2.2.45 — Entrada institucional, isolada das páginas autenticadas */
body.estrela-login{background:#eef3f8;display:block;min-height:100vh;margin:0;color:#192d42}
.estrela-login .login-layout{min-height:100vh;display:grid;grid-template-columns:minmax(360px,48%) minmax(400px,52%);max-width:none;margin:0}
.estrela-login .login-intro{position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;background:linear-gradient(145deg,#08365d,#07558b 58%,#0874b6);color:#fff;padding:46px clamp(34px,5vw,92px)}
.estrela-login .login-intro::before{content:"";position:absolute;width:560px;height:560px;border:1px solid #ffffff27;border-radius:50%;right:-310px;top:20%}
.estrela-login .login-intro::after{content:"";position:absolute;width:410px;height:410px;border:1px solid #ffffff22;border-radius:50%;right:-235px;top:32%}
.estrela-login .login-brand,.estrela-login .login-intro-content,.estrela-login .login-intro-footer{position:relative;z-index:1}
.estrela-login .login-brand{display:flex;align-items:center;gap:16px}
.estrela-login .login-brand img{width:72px;height:72px;object-fit:contain;background:#fff;border-radius:15px;padding:6px}
.estrela-login .login-brand strong{display:block;font-size:19px;letter-spacing:.01em}
.estrela-login .login-brand span{display:block;font-size:12px;color:#c6e2f7;margin-top:5px}
.estrela-login .login-intro-content{max-width:490px;margin:60px 0}
.estrela-login .login-eyebrow{font-size:12px;font-weight:800;letter-spacing:.18em;color:#a9dbff;margin-bottom:22px}
.estrela-login .login-intro h1{font-size:clamp(35px,4vw,58px);line-height:1.12;letter-spacing:-.04em;margin:0 0 22px;color:#fff}
.estrela-login .login-intro-content p{font-size:17px;line-height:1.7;color:#d8eafa;max-width:440px}
.estrela-login .login-intro-rule{width:48px;height:3px;background:#8cd3ff;margin:35px 0 20px;border-radius:2px}
.estrela-login .login-intro-small,.estrela-login .login-intro-footer{color:#c6dff1;font-size:12px;letter-spacing:.025em}
.estrela-login .login-form-side{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:36px 32px;gap:22px}
.estrela-login .login-card{display:grid;gap:0;width:min(460px,100%);padding:45px 42px;background:#fff;border:1px solid #e6edf3;border-radius:22px;box-shadow:0 25px 70px #123a5a12;margin:auto 0}
.estrela-login .login-form-kicker{font-size:11px;font-weight:800;letter-spacing:.14em;color:#11679f;margin-bottom:13px}
.estrela-login .login-card h2{font-size:30px;letter-spacing:-.035em;color:#142e47;margin:0 0 9px;font-weight:800}
.estrela-login .login-form-subtitle{font-size:14px;color:#718397;line-height:1.6;margin:0 0 29px}
.estrela-login .login-card>label,.estrela-login .login-password-label label{font-size:13px;color:#344a61;font-weight:700;margin-bottom:9px}
.estrela-login .login-card input:not([type=hidden]){font-size:15px;border:1px solid #d8e2eb;border-radius:10px;height:49px;padding:0 14px;margin:0 0 22px;background:#fff;outline:none;transition:border-color .15s,box-shadow .15s}
.estrela-login .login-card input:focus{border-color:#0870b9;box-shadow:0 0 0 3px #0870b91c}
.estrela-login .login-password-label{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0}
.estrela-login .login-password-label a{font-size:12px;text-decoration:none;color:#11679f;font-weight:700;margin-bottom:9px}
.estrela-login .login-password-label a:hover{text-decoration:underline}
.estrela-login .login-password-wrap{position:relative}
.estrela-login .login-password-wrap input{padding-right:86px!important}
.estrela-login .login-reveal{position:absolute;right:8px;top:9px;background:transparent;color:#41617d;font-size:12px;border:0;padding:7px;min-width:60px;border-radius:6px;width:auto!important;margin:0!important}
.estrela-login .login-reveal:hover{background:#eef5fa}
.estrela-login .login-submit{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;height:52px;margin:5px 0 0;background:#0865a8;border-radius:10px;font-size:15px;box-shadow:none}
.estrela-login .login-submit:hover{background:#074f83}
.estrela-login .login-help{font-size:12px;color:#91a0af;text-align:center;margin:22px 0 0;line-height:1.55}
.estrela-login .login-side-footer{font-size:12px;color:#91a0af;text-align:center}
.estrela-login .login-side-footer span{margin:0 7px}
.estrela-login .login-mobile-brand{display:none}
.estrela-login .login-card .alert{margin-bottom:18px}
@media(max-width:850px){
 .estrela-login .login-layout{display:flex;flex-direction:column}
 .estrela-login .login-intro{display:none}
 .estrela-login .login-form-side{min-height:100vh;padding:30px 18px;gap:22px}
 .estrela-login .login-mobile-brand{display:flex;align-items:center;gap:12px;margin-top:auto}
 .estrela-login .login-mobile-brand img{height:55px;width:55px;object-fit:contain}
 .estrela-login .login-mobile-brand strong{font-size:20px;color:#123a5c}
 .estrela-login .login-card{margin:0;max-width:460px;padding:34px 27px}
 .estrela-login .login-side-footer{margin-bottom:auto}
}
@media(max-width:420px){.estrela-login .login-card{padding:28px 20px}.estrela-login .login-card h2{font-size:27px}.estrela-login .login-password-label{align-items:start;flex-direction:column;gap:0}.estrela-login .login-password-label a{margin:0 0 9px}}

/* v2.2.47 — Recuperação e ativação com layout do login */
.estrela-account-access .login-return{display:block;text-align:center;margin-top:22px;color:#11679f;text-decoration:none;font-size:13px;font-weight:700}
.estrela-account-access .login-return:hover{text-decoration:underline}
.estrela-account-access .login-access-info{font-size:13px;line-height:1.65;color:#52677c;background:#f1f6fa;border:1px solid #e0eaf2;padding:13px 15px;border-radius:10px;margin:0 0 22px}
.estrela-account-access .login-card .login-help{margin-top:15px}

/* v2.2.54 — Portal do atleta mobile-first */
.portal-mobile{max-width:1140px;margin:auto;display:grid;gap:26px;padding-bottom:24px}
.portal-welcome{background:linear-gradient(115deg,#113c66,#0b6098);color:#fff;border-radius:20px;padding:30px;box-shadow:0 16px 36px #103c681b}
.portal-eyebrow,.portal-section-head span{font-weight:800;font-size:11px;letter-spacing:.12em;color:#a9d6f5}
.portal-welcome h2{font-size:28px;color:#fff;margin:13px 0 9px}.portal-welcome p{color:#dbecf7;margin:0;line-height:1.6}
.portal-counts{display:flex;flex-wrap:wrap;gap:12px;margin-top:23px}.portal-counts span{border-radius:12px;background:#ffffff19;padding:12px 18px;font-size:12px;color:#e8f4fb}.portal-counts b{display:block;color:#fff;font-size:24px;margin-bottom:4px}
.portal-quicknav{display:flex;gap:10px;overflow:auto;padding:3px 1px 7px;scrollbar-width:thin}.portal-quicknav a{flex-shrink:0;border:1px solid #d6e2ee;background:#fff;border-radius:10px;padding:11px 16px;font-size:13px;font-weight:700;color:#245274;text-decoration:none}.portal-quicknav a:hover,.portal-quicknav a:focus-visible{background:#eaf4fc}
.portal-section{scroll-margin-top:24px;min-width:0}.portal-section-head{display:flex;justify-content:space-between;align-items:end;flex-wrap:wrap;gap:12px;margin-bottom:15px}.portal-section-head span{color:#63849d}.portal-section-head h2{font-size:21px;color:#193950;margin:6px 0 0}.portal-inline-link{font-size:13px;color:#136ba2;text-decoration:none;font-weight:700}
.portal-athlete-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:15px}.portal-athlete-card,.portal-event-card,.portal-payment-card,.portal-security{border:1px solid #e3ebf2;border-radius:16px;background:#fff;box-shadow:0 6px 20px #14395a08}.portal-athlete-card{padding:20px}.portal-athlete-top{display:flex;align-items:center;gap:13px}.portal-athlete-icon{width:52px;height:52px;border-radius:14px;background:#eaf3fb;display:grid;place-items:center;color:#1674ab;font-size:23px;flex-shrink:0}.portal-athlete-top h3,.portal-event-body h3,.portal-payment-card h3{margin:0;color:#19374f;font-size:16px}.portal-athlete-top p,.portal-payment-card p{font-size:13px;color:#6f8090;margin:6px 0 0}.portal-athlete-details{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}.portal-data{font-size:12px;padding:7px 10px;background:#edf3f8;border-radius:8px;color:#536c82}.portal-data.ok{background:#ecf8f1;color:#266e4e}.portal-data.expired{background:#fff0ed;color:#a54235}
.portal-list,.portal-payment-list{display:grid;gap:12px}.portal-event-card{display:flex;padding:17px;gap:17px}.portal-date{flex:0 0 55px;display:flex;align-items:center;flex-direction:column;justify-content:center;background:#eaf3fb;border-radius:11px;height:63px;color:#164d76}.portal-date b{font-size:23px}.portal-date span{font-size:11px;font-weight:800}.portal-event-body{flex:1;min-width:0}.portal-event-kicker{font-size:11px;font-weight:700;color:#367ca9;margin:2px 0 5px}.portal-event-meta{font-size:12px;color:#788998;margin-top:7px;line-height:1.6}.portal-response{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;align-items:end;gap:10px;margin-top:15px}.portal-response label,.portal-password-form label{font-size:12px;color:#486276;font-weight:700}.portal-response select,.portal-password-form input{display:block;min-width:0;width:100%;margin-top:6px;border-radius:9px;min-height:43px}.portal-response button{min-height:43px;white-space:nowrap}.portal-hint{font-size:13px;color:#708398;margin:-5px 0 15px}.portal-payment-card{display:flex;justify-content:space-between;gap:14px;padding:17px 20px;align-items:center}.portal-payment-right{display:grid;justify-items:end;gap:7px;white-space:nowrap}.portal-payment-right strong{font-size:17px;color:#193950}.portal-payment-state{font-size:11px;padding:5px 10px;border-radius:999px;background:#fff1df;color:#9c691e;font-weight:700}.portal-payment-state.paid{background:#e6f7ee;color:#24704a}.portal-security{padding:22px}.portal-password-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;align-items:end}.portal-password-form button{grid-column:1/-1;justify-self:start}.portal-empty{padding:25px;border:1px dashed #cbd9e6;border-radius:14px;background:#fbfdff;color:#698196;font-size:14px}
@media(max-width:760px){body:has(.portal-mobile) .shell{display:block}body:has(.portal-mobile) aside{display:none!important}body:has(.portal-mobile) main{width:100%;margin:0;min-width:0}body:has(.portal-mobile) header{padding:14px 18px}body:has(.portal-mobile) .content{padding:13px}body:has(.portal-mobile) .app-footer{font-size:11px;text-align:center}.portal-mobile{gap:21px}.portal-welcome{padding:21px;border-radius:15px}.portal-welcome h2{font-size:24px}.portal-counts{gap:7px}.portal-counts span{padding:10px;font-size:11px;flex:1}.portal-counts b{font-size:20px}.portal-section-head h2{font-size:19px}.portal-response{grid-template-columns:1fr}.portal-response button{width:100%}.portal-password-form{grid-template-columns:1fr}.portal-password-form button{width:100%}.portal-event-card{padding:13px;gap:11px}.portal-date{flex-basis:47px}.portal-payment-card{padding:15px}.portal-quicknav{position:sticky;top:0;background:#f6f9fc;z-index:5;padding:9px 2px}.portal-quicknav a{padding:9px 12px}}

/* v2.2.55: páginas independentes no Portal do Atleta */
.portal-page-nav{position:sticky;top:0;z-index:5;background:#fff;padding:10px;box-shadow:0 6px 22px #132e4311;display:flex;overflow-x:auto;gap:7px;scrollbar-width:thin;border-radius:12px}
.portal-page-nav a{white-space:nowrap;flex:0 0 auto;text-decoration:none}
.portal-page-nav a.active{background:#0c578b;color:#fff;border-color:#0c578b}
.portal-home-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:12px 0 22px}
.portal-home-links a{display:flex;flex-direction:column;gap:8px;padding:22px;border:1px solid #dfeaf2;border-radius:15px;background:#fff;text-decoration:none;color:#173b56;box-shadow:0 6px 20px #1336550c}
.portal-home-links a strong{font-size:17px}
.portal-home-links a span{font-size:13px;color:#70869a}
.portal-home-links a:focus-visible,.portal-home-links a:hover{border-color:#1176ba;background:#f7fbff}
@media(max-width:640px){.portal-home-links{grid-template-columns:1fr;gap:10px}.portal-home-links a{padding:19px}.portal-page-nav{margin:0 -8px;padding:9px 8px;border-radius:0}.portal-page-nav a{min-height:42px;display:inline-flex;align-items:center}}

/* v2.2.59 — Área Técnica e Formação */
.training-notes-card form,.sector-form form{padding:20px 24px}.training-notes-card textarea,.sector-form textarea{width:100%;min-height:150px;box-sizing:border-box}.notes-timestamp{font-size:12px;color:#64748b;padding:0 24px 18px}.technical-report-filters{display:flex;flex-wrap:wrap;gap:12px;align-items:end;padding:18px}.technical-report-filters label{flex:1;min-width:170px}.technical-report-filters button{min-height:42px}.sector-intro{margin:12px 0 22px}.sector-intro h2{margin:0 0 8px}.sector-intro p{color:#63768b}.sector-form{margin-bottom:22px}.sector-form .form-two{display:grid;grid-template-columns:1fr 1fr;gap:16px}.training-report-note{padding:18px 24px;line-height:1.7;overflow-wrap:anywhere}.report-attendance{padding:0 24px 18px;font-size:13px;color:#64748b}@media(max-width:680px){.sector-form .form-two{grid-template-columns:1fr}}

/* v2.2.60 · Relatórios mensais de equipa e setor */
.monthly-report-editor{padding:20px}.monthly-report-editor .panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.monthly-report-edit-form{display:grid;gap:15px;margin-top:15px}.monthly-report-edit-form label{display:grid;gap:7px;font-weight:650}.monthly-report-edit-form textarea{width:100%;min-height:105px;resize:vertical;padding:12px;border:1px solid #d8e2ed;border-radius:10px;font:inherit}.monthly-report-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.monthly-report-actions span{color:#63758a;font-size:13px}.monthly-report-readonly{padding:12px;white-space:pre-line}.report-team-hint{color:#657589;padding:8px 4px}

/* v2.2.61: descoberta dos formulários de relatório */
.technical-report-selector{padding:20px}.technical-report-selector .panel-head{margin-bottom:8px}.monthly-report-editor{border:1px solid #b9d4e9!important;box-shadow:0 8px 30px #123a5b0b}.monthly-report-editor .panel-head h2{font-size:18px}.report-team-empty{padding:25px 28px;background:#f4f9fd;border:1px dashed #a9c9df}.report-team-empty h2{margin:0 0 8px;font-size:18px;color:#174a73}.report-team-empty p{margin:0;color:#526b81;line-height:1.65}.monthly-report-readonly{background:#f6f8fb;border-radius:8px;margin:12px 0;padding:14px 16px}.monthly-report-edit-form textarea{min-height:155px}

/* v2.2.62 — consistência da navegação, scroll e menus extensos */
.shell aside{display:flex;flex-direction:column;min-height:0}
.shell aside nav{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin}
.shell aside .side-user{flex-shrink:0}
.shell aside nav a{min-height:40px}
@media(max-height:750px){.shell aside nav{padding-bottom:12px}}

/* v2.2.63 — menu por grupos e conta no cabeçalho */
.sidebar-group{margin:3px 0;color:inherit}
.sidebar-group summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:11px;padding:11px 13px;border-radius:9px;font-size:13px;font-weight:700;color:inherit;user-select:none}
.sidebar-group summary::-webkit-details-marker{display:none}
.sidebar-group summary:hover{background:#ffffff14}
.sidebar-group summary i{font-style:normal;flex:1;min-width:0}
.sidebar-group .sidebar-group-icon{display:inline-flex;justify-content:center;align-items:center;width:22px;flex:none;font-style:normal}
.sidebar-group .sidebar-chevron{margin-left:auto;opacity:.7;transition:transform .16s}
.sidebar-group[open] .sidebar-chevron{transform:rotate(180deg)}
.sidebar-submenu{display:flex;flex-direction:column;padding:2px 0 7px 29px;gap:2px}
.sidebar-submenu a{display:flex;min-height:36px;align-items:center;border-radius:7px;padding:7px 10px;font-size:12px;text-decoration:none}
.sidebar-submenu a i{font-style:normal;white-space:normal}
.sidebar-submenu a.active{font-weight:750}
.shell.collapsed .sidebar-group summary i,.shell.collapsed .sidebar-group .sidebar-chevron,.shell.collapsed .sidebar-submenu{display:none!important}
.shell.collapsed .sidebar-group summary{justify-content:center;padding:11px 3px}
.header-account{display:flex;gap:14px;align-items:center;flex-shrink:0;margin-left:auto}
.header-account-identity{display:flex;align-items:center;gap:10px;text-decoration:none;color:inherit}
.header-account-avatar{display:inline-flex;justify-content:center;align-items:center;border-radius:50%;width:37px;height:37px;background:#eaf2f9;color:#174d7b;font-weight:800}
.header-account-details{display:flex;flex-direction:column;line-height:1.25;gap:3px}
.header-account-details strong{font-size:12px;white-space:nowrap}
.header-account-details small{font-size:11px;color:#718398;max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.header-logout{text-decoration:none;color:#285985;font-size:12px;white-space:nowrap;padding:8px;border-radius:7px}
.header-logout:hover{background:#eef5fb}
.header-actions{display:flex;align-items:center;gap:15px;flex-wrap:wrap}
@media(max-width:900px){.header-account{gap:6px}.header-account-details small{display:none}}
@media(max-width:680px){.header-account-details{display:none}.header-logout{font-size:11px;padding:6px}.header-account-avatar{width:33px;height:33px}}

/* v2.2.64 — diretório visual por escalão */
.athletes-directory{display:grid;gap:24px}.athletes-directory-heading{padding:20px 24px}.athletes-directory-filters{display:flex;gap:15px;align-items:end;flex-wrap:wrap;margin-top:15px}.athletes-directory-filters label{display:grid;gap:6px;color:#506477;font-size:13px;font-weight:600;flex:1;min-width:190px}.athletes-directory-filters input,.athletes-directory-filters select{width:100%;min-height:42px;border:1px solid #d7e2ed;border-radius:10px;padding:9px 12px;background:#fff;color:#19374f}.athletes-directory-count{font-size:13px;color:#526c7c;padding-bottom:12px}.athlete-group-heading{display:flex;align-items:center;gap:13px;margin-bottom:14px}.athlete-group-heading h3{margin:0;font-size:19px;color:#183951}.athlete-group-counter{font-size:12px;color:#547087;background:#e9f1f8;border-radius:99px;padding:5px 11px}.athlete-cards-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:15px}.athlete-directory-card{display:flex;position:relative;flex-direction:column;overflow:hidden;text-decoration:none;background:#fff;border:1px solid #dde7ef;border-radius:15px;transition:transform .15s ease,box-shadow .15s ease;min-width:0;color:#16364e;box-shadow:0 5px 17px #14395a09}.athlete-directory-card:hover,.athlete-directory-card:focus-visible{transform:translateY(-2px);box-shadow:0 10px 24px #14395a1b;outline-color:#1674ab}.athlete-directory-photo{height:170px;background:linear-gradient(145deg,#edf4fa,#dce9f2);display:grid;place-items:center;overflow:hidden}.athlete-directory-photo img{width:100%;height:100%;object-fit:cover;object-position:center 25%}.athlete-directory-initial{width:80px;height:80px;border-radius:50%;display:grid;place-items:center;background:#fff;color:#397196;font-size:36px;font-weight:700}.athlete-directory-info{display:grid;gap:6px;padding:14px 32px 18px 15px}.athlete-directory-info strong{font-size:15px;line-height:1.3;overflow-wrap:anywhere}.athlete-directory-info small{font-size:12px;color:#658095}.athlete-directory-arrow{position:absolute;right:13px;bottom:16px;font-size:25px;color:#63869d}.athlete-directory-card[hidden],.athlete-group-section[hidden],#athletesDirectoryEmpty[hidden]{display:none!important}@media(max-width:640px){.athletes-directory-heading{padding:17px}.athlete-cards-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.athlete-directory-photo{height:135px}.athlete-directory-info{padding:12px 24px 15px 11px}.athlete-directory-info strong{font-size:13px}.athlete-directory-arrow{right:9px;bottom:13px}}

/* 2.2.66 — Avatares de atletas, uniformes em todos os ecrãs */
.athlete-directory-photo{height:155px;background:linear-gradient(145deg,#f5f9fc,#e8f1f7);display:flex;align-items:center;justify-content:center;padding:14px;box-sizing:border-box}
.athlete-directory-photo img,.athlete-directory-initial{width:116px;height:116px;min-width:116px;border-radius:50%;object-fit:cover;object-position:center 28%;box-shadow:0 5px 15px #153a5818;border:4px solid #fff;box-sizing:border-box}
.athlete-directory-initial{background:#dceaf6;color:#24567b;font-size:42px}
.athlete-photo img,.athlete-photo .photo-placeholder{width:174px;height:174px;max-width:100%;border-radius:50%;object-fit:cover;object-position:center 27%;border:5px solid #f2f7fb;box-shadow:0 5px 20px #14395a12;box-sizing:border-box}
.athlete-photo .photo-placeholder{background:#e5f0f8;color:#285c7f;font-weight:800;font-size:65px;display:grid;place-items:center}
.athlete-avatar-help{font-size:12px;line-height:1.5;color:#62798b;margin:12px auto 5px;max-width:225px}
@media(max-width:640px){.athlete-directory-photo{height:133px;padding:10px}.athlete-directory-photo img,.athlete-directory-initial{width:94px;height:94px;min-width:94px}.athlete-directory-initial{font-size:34px}}

/* v2.2.67 — separadores acessíveis e navegáveis sem JavaScript */
.athlete-tabs a.athlete-tab{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}
.athlete-tabs a.athlete-tab:focus-visible{outline:3px solid #2a72ab;outline-offset:2px}

/* v2.2.73 — conta no cabeçalho */
.header-account{gap:8px}.header-account-details small{display:none}.header-logout{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;padding:7px;color:#285985}.header-logout svg{display:block;flex:none}.header-logout:focus-visible{outline:2px solid #2583c0;outline-offset:2px}

/* v2.2.76 — estados do comprovativo na ficha do atleta */
.receipt-state{display:inline-block;padding:4px 9px;border-radius:999px;font-size:12px;font-weight:650;white-space:nowrap;background:#eef2f7;color:#45576c}
.receipt-state-sent{background:#dcf5e8;color:#136941}
.receipt-state-failed{background:#fee7e7;color:#a52c30}
.receipt-state-pending,.receipt-state-sending{background:#fff1cc;color:#856115}
.receipt-state-cancelled{background:#e8edf2;color:#566474}
.receipt-state-detail{display:block;font-size:11px;color:#64748b;margin-top:5px;white-space:nowrap}
.receipt-error{margin-top:5px;max-width:230px;font-size:12px}
.receipt-error summary{cursor:pointer;color:#a52c30;font-weight:600}
.receipt-error span{display:block;margin-top:5px;white-space:normal;overflow-wrap:anywhere;color:#6b3540}

/* Estrela 360 v2.3.0 — gestão da fila dentro da Auditoria */
.audit-mail-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px}.audit-mail-tabs a{padding:11px 15px;border:1px solid #d9e1e8;border-radius:11px;text-decoration:none;color:#234360;font-weight:700;background:#fff}.audit-mail-tabs a.active{background:#153653;color:#fff;border-color:#153653}.audit-mail-stats{display:flex;flex-wrap:wrap;gap:9px;margin:14px 20px}.audit-mail-stats span{padding:8px 12px;background:#f2f6f9;border-radius:9px;font-size:13px}.audit-mail-filters{display:flex;flex-wrap:wrap;align-items:end;gap:12px;padding:0 20px 20px}.audit-mail-filters label{flex:1 1 155px}.audit-mail-filters label:first-of-type{flex-basis:230px}.audit-mail-filters button,.audit-mail-filters .secondary-button{margin-bottom:2px}.audit-mail-panel .table-wrap{margin:0 18px 15px}.audit-mail-panel td{vertical-align:middle}.audit-mail-panel td small{display:block;margin-top:4px;color:#667}.audit-mail-state{display:inline-block;padding:5px 9px;border-radius:50px;background:#ebf2f7;font-size:12px;font-weight:700;white-space:nowrap}.audit-mail-sent{background:#e4f5ea;color:#16643e}.audit-mail-failed{background:#ffe8e6;color:#9c2422}.audit-mail-pending{background:#fff3d8;color:#8a5c0b}.audit-mail-error{max-width:300px;white-space:normal;overflow-wrap:anywhere;margin-top:8px;padding:9px;background:#fff5f1;border-radius:7px}.audit-mail-action{margin:0}.audit-mail-note{margin:0 20px 20px;color:#65768b;font-size:12px}@media(max-width:700px){.audit-mail-filters{display:grid;grid-template-columns:1fr}.audit-mail-tabs a{flex:1 1 auto;text-align:center}}


/* v2.3.1 — Navegação móvel uniforme, acionada pelo botão ☰ no cabeçalho. */
.mobile-nav-toggle,.mobile-nav-backdrop{display:none}
@media(max-width:760px){
  body:not(:has(.portal-mobile)) .shell,
  body:not(:has(.portal-mobile)) .shell.collapsed{display:block!important;grid-template-columns:none!important}
  body:not(:has(.portal-mobile)) .shell>main{width:100%!important;margin:0!important;min-width:0!important}
  body:not(:has(.portal-mobile)) .shell>aside{
    display:flex!important;position:fixed!important;top:0!important;bottom:0!important;left:0!important;
    z-index:1021!important;width:min(84vw,310px)!important;height:100dvh!important;
    padding:18px 14px!important;transform:translateX(-104%);transition:transform .22s ease;
    overflow-y:auto;overflow-x:hidden;box-shadow:12px 0 40px #07182f40;
    visibility:hidden;pointer-events:none;
  }
  body:not(:has(.portal-mobile)) .shell.mobile-nav-open>aside{
    transform:translateX(0);visibility:visible;pointer-events:auto;
  }
  body:not(:has(.portal-mobile)) .shell>aside .brand>div,
  body:not(:has(.portal-mobile)) .shell>aside nav a i,
  body:not(:has(.portal-mobile)) .shell>aside nav summary i{display:block!important}
  body:not(:has(.portal-mobile)) .shell>aside nav{display:flex!important;flex-direction:column!important;overflow:visible!important;gap:5px;margin-top:18px}
  body:not(:has(.portal-mobile)) .shell>aside nav a{white-space:normal!important;min-height:46px;padding:12px 14px;justify-content:flex-start!important}
  body:not(:has(.portal-mobile)) .shell>aside .collapse{display:none!important}
  body:not(:has(.portal-mobile)) .mobile-nav-toggle{display:inline-flex;align-items:center;justify-content:center;
    order:-1;flex:0 0 44px;width:44px;height:44px;padding:0;border-radius:11px;
    background:#edf4fa;color:#16496f;border:1px solid #d8e6f1;cursor:pointer}
  body:not(:has(.portal-mobile)) .mobile-nav-toggle svg{width:23px;height:23px}
  body:not(:has(.portal-mobile)) .mobile-nav-backdrop{display:block;position:fixed;inset:0;z-index:1020;
    background:rgba(9,29,48,.55);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .2s ease}
  body:not(:has(.portal-mobile)) .shell.mobile-nav-open .mobile-nav-backdrop{opacity:1;visibility:visible;pointer-events:auto}
  body.mobile-nav-lock{overflow:hidden}
  body:not(:has(.portal-mobile)) main>header{display:flex;gap:10px;min-height:73px;height:auto;padding:11px 14px;
    position:sticky!important;top:0!important;z-index:10;flex-wrap:wrap}
  body:not(:has(.portal-mobile)) main>header>div:first-child{min-width:0;flex:1 1 130px}
  body:not(:has(.portal-mobile)) main>header h1{font-size:clamp(17px,4.5vw,22px);overflow-wrap:anywhere}
  body:not(:has(.portal-mobile)) .header-account{flex:0 0 auto;gap:5px}
  body:not(:has(.portal-mobile)) .header-account-details{display:none}
  body:not(:has(.portal-mobile)) main>header .header-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
  body:not(:has(.portal-mobile)) main>header .back{font-size:12px}
  body:not(:has(.portal-mobile)) main>.content{padding:14px!important}
  body:not(:has(.portal-mobile)) .sidebar-group summary{min-height:48px}
  body:not(:has(.portal-mobile)) .sidebar-submenu a{min-height:44px!important}
}
@media(prefers-reduced-motion:reduce){.shell>aside,.mobile-nav-backdrop{transition:none!important}}
