html,body{touch-action:pan-x pan-y;overscroll-behavior-x:none}
input,select,textarea{touch-action:manipulation}
body[data-page=monthly] #app>.stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
body .month-chart-scroll{overflow:visible;min-width:0;max-width:100%}
body .month-chart-scroll svg{display:block;min-width:0;width:100%;max-width:100%;height:auto}
body .profile-podiums .table-wrap{overflow:visible}
body .profile-podiums table{min-width:0;width:100%;table-layout:fixed;white-space:normal}
body .profile-podiums th,body .profile-podiums td{text-align:center;padding:14px 5px;overflow-wrap:anywhere}
body .profile-podiums th:first-child,body .profile-podiums td:first-child{text-align:left}
.competition-list{min-width:0;width:100%}.competition-list-heading,.competition-entry>summary{display:grid;grid-template-columns:80px minmax(0,1fr) 65px 16px;gap:15px;align-items:center}.competition-list-heading{padding:12px 0;font-size:11px;color:var(--muted);border-bottom:1px solid var(--line)}.competition-entry{border-bottom:1px solid var(--line)}.competition-entry>summary{list-style:none;cursor:pointer;padding:18px 0;font-size:14px}.competition-entry>summary::-webkit-details-marker{display:none}.competition-entry>summary:focus-visible{outline:2px solid var(--green);outline-offset:3px;border-radius:8px}.competition-entry time,.competition-entry-name{min-width:0}.competition-entry small{display:block;font-size:11px;color:var(--muted);margin-top:5px}.competition-entry-name b{display:block;overflow-wrap:anywhere;line-height:1.4}.competition-entry-place{font-weight:650;color:var(--green);overflow-wrap:anywhere}.competition-chevron{font-size:24px;transition:transform .2s;color:var(--muted)}.competition-entry[open] .competition-chevron{transform:rotate(90deg)}.competition-entry-details{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;padding:8px 0 24px}.competition-entry-details h3{font-size:11px;color:var(--muted);font-weight:550;margin:0 0 7px}.competition-entry-details p,.competition-entry-details a{font-size:13px;overflow-wrap:anywhere;white-space:normal}.competition-entry-details a{color:var(--green)}
@media(max-width:1000px),(max-height:600px){body.menu-open #dashboard-menu nav button[data-view]{transition-delay:var(--menu-stagger,180ms)}body.menu-open #dashboard-menu>.menu-theme-toggle{transition-delay:800ms}body.menu-open #dashboard-menu>.menu-quick-add{transition-delay:850ms}body.menu-open #dashboard-menu>.settings-launch{transition-delay:900ms}body.menu-open #dashboard-menu>.profile{transition-delay:980ms}}
@media(max-width:700px){
 body[data-page=monthly] #app>.stats>.card{padding:15px;min-width:0}
 body[data-page=monthly] #app>.stats .stat-label{font-size:12px;line-height:1.4}
 body[data-page=monthly] #app>.stats .stat-value{font-size:clamp(23px,7vw,30px);line-height:1.15;overflow-wrap:anywhere}
 body[data-page=monthly] #app>.stats .stat-value small{font-size:12px}
 body[data-page=monthly] #app>.stats .hint{font-size:11px;line-height:1.4}
 body .month-volume .legend{flex-wrap:wrap;gap:8px 14px}
 body .profile-podiums th{font-size:9px;letter-spacing:0;line-height:1.5}
 body .profile-podiums td{font-size:13px;padding:14px 3px}
 body input,body select,body textarea{font-size:16px!important}
 .competition-list-heading,.competition-entry>summary{grid-template-columns:57px minmax(0,1fr) 65px 12px;gap:8px}
 .competition-entry>summary{font-size:12px;padding:17px 0}
 .competition-entry small{font-size:10px}
 .competition-entry-details{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
}
@media(prefers-reduced-motion:reduce){body.menu-open aside nav button[data-view]{transition-delay:0s!important}.competition-chevron{transition:none}}

.competition-entry-actions{padding:0 16px 16px;display:flex;gap:10px;flex-wrap:wrap}.competition-entry-actions button{min-height:44px}body[data-auth-role="coach"] .competition-entry-actions{display:none!important}

.rating-help-button{display:inline-flex!important;align-items:center;justify-content:center;vertical-align:middle;flex-shrink:0;width:28px;height:28px;min-height:28px;padding:0!important;margin-left:5px;border:1px solid var(--border,#ccd4da);border-radius:50%!important;background:var(--panel,#fff);color:var(--text,#26343e);font-size:14px;font-weight:700;line-height:1;cursor:pointer;letter-spacing:normal;text-transform:none}.rating-help-button:focus-visible{outline:2px solid currentColor;outline-offset:3px}.rating-help-dialog{width:min(600px,calc(100vw - 32px));max-height:85dvh;overflow:auto;padding:24px;border-radius:20px}.rating-help-dialog h2{font-size:22px}.rating-help-dialog section{margin-top:20px}.rating-help-dialog h3{margin:0 0 8px;font-size:16px}.rating-help-dialog p{margin:8px 0;line-height:1.55}.rating-help-dialog .card-head{align-items:flex-start}.rating-help-dialog .card-head button{min-width:40px;min-height:40px}@media(max-width:600px){.rating-help-dialog{padding:20px}.rating-help-button{width:30px;height:30px;min-height:30px}}
