.auth-loading{text-align:center;padding:4rem}.login-page{background:#f1f4f8;min-height:100dvh}.login-brand{background:#1e306e;padding:1rem 2rem}.login-brand img{width:260px;max-width:80vw}.login-card{background:#fff;border:1px solid #d6deeb;border-radius:10px;width:min(480px,100% - 32px);margin:6vh auto;padding:28px}.login-card h1{margin:0 0 24px;font-size:1.25rem}.login-card h2{font-size:1.1rem}.login-card form,.auth-form{gap:16px;display:grid}.login-card label,.auth-form label{gap:7px;font-weight:600;display:grid}.login-card input,.auth-form input,.auth-form select{background:#fff;border:1px solid #bbc8df;border-radius:5px;width:100%;min-height:44px;padding:9px 12px}.login-card p{overflow-wrap:anywhere;line-height:1.7}.login-card .button{justify-content:center;min-height:44px}.muted{color:#52617a;font-size:.875rem}.auth-actions{flex-wrap:wrap;align-items:center;gap:14px;display:flex}.passkey-login{border-top:1px solid #d6deeb;margin-top:24px;padding-top:22px}.passkey-login>.button{width:100%}.header-account{flex-shrink:0;align-items:center;gap:8px;margin-left:auto;display:flex}.header-account button{white-space:nowrap;color:#fff;background:0 0;border:1px solid #fff5;border-radius:5px;justify-content:center;align-items:center;gap:8px;height:36px;padding:6px 10px;display:inline-flex}.header-account small{color:#d8e2ff;flex-shrink:0;font-size:11px;display:inline}.account-identity{margin:0 0 20px;line-height:1.7}.auth-list{border-collapse:collapse;width:100%}.auth-list th,.auth-list td{text-align:left;vertical-align:middle;border-bottom:1px solid #dde3ee;padding:10px 8px}.auth-list td{overflow-wrap:anywhere}.auth-scroll{overflow-x:auto}.auth-list .button{white-space:nowrap}.auth-panel{border-top:1px solid #dde3ee;margin-top:18px;padding-top:16px}.auth-form .check-label{align-items:center;display:flex}.auth-form .check-label input{width:auto;min-height:auto}.guest-qr{width:240px;max-width:100%;height:240px;margin:16px auto;display:block}.guest-url{resize:vertical;word-break:break-all;width:100%;font:inherit;border:1px solid #bbc8df;border-radius:5px;padding:10px}.auth-message{color:#1f5831;background:#eaf5ed;border-radius:5px;padding:10px}.guest-badge{color:#dbe5ff;font-size:12px}.readonly-notice{color:#52617a;font-size:13px}.auth-form.two-cols{grid-template-columns:1fr 1fr}.auth-form.two-cols .full-width{grid-column:1/-1}@media (width<=760px){.header-account{flex-wrap:wrap;justify-content:flex-end;gap:5px}.header-account button{padding:5px 7px;font-size:12px}.header-account .account-name{text-overflow:ellipsis;white-space:nowrap;max-width:100px;overflow:hidden}.login-card{padding:20px}.auth-form.two-cols{grid-template-columns:1fr}.header-top{flex-wrap:wrap}}.user-row-actions{align-items:center;gap:4px;display:flex}.user-filters{grid-template-columns:minmax(0,2fr) repeat(2,minmax(0,1fr));gap:12px;margin:20px 0 12px;display:grid}.user-filters label{gap:7px;min-width:0;font-size:13px;font-weight:600;display:grid}.user-filters input,.user-filters select{width:100%;min-width:0;min-height:44px;font:inherit;background:#fff;border:1px solid #bbc8df;border-radius:5px;padding:9px 10px}.user-filter-summary{grid-column:1/-1;justify-content:space-between;align-items:center;gap:12px;display:flex}.auth-list .user-empty{text-align:center;padding:24px 8px}@media (width<=760px){.user-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.user-filters .user-search{grid-column:1/-1}}:root{color:#233047;font-synthesis:none;--navy:#1b2d7a;--muted:#617087;--border:#d9e0ea;background:#f4f6fa;font-family:Noto Sans JP,Hiragino Kaku Gothic ProN,Yu Gothic,Meiryo,system-ui,sans-serif;font-size:14px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:default}a{color:inherit;text-decoration:none}button,input,select,textarea,a{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,[tabindex]:focus-visible{outline-offset:2px;outline:3px solid #7396e6}input:focus,select:focus,textarea:focus{border-color:var(--navy);outline:3px solid #dce6ff}button{transition:background .12s}h1,h2,h3,p{margin-top:0}.app-shell{flex-direction:column;height:100dvh;display:flex;overflow:hidden}.app-header{background:var(--navy);color:#fff;justify-content:space-between;align-items:center;gap:24px;height:64px;min-height:64px;padding:0 24px;display:flex}.official-brand{flex-shrink:0;align-items:center;gap:18px;display:flex}.official-brand img{width:220px;height:auto;display:block}.official-brand span{border-left:1px solid #ffffff50;padding-left:18px;font-size:12px}.desktop-nav{gap:5px;height:100%;display:flex}.desktop-nav a{color:#e3e9ff;white-space:nowrap;border-bottom:3px solid #0000;align-items:center;gap:7px;padding:3px 14px 0;font-size:13px;display:flex}.desktop-nav a:hover{background:#ffffff10}.desktop-nav a[aria-current=page]{color:#fff;background:#ffffff17;border-bottom-color:#fff;font-weight:700}.mobile-nav{display:none}.list-screen{flex-direction:column;flex:1;min-height:0;padding:0 20px 14px;display:flex}.list-heading{flex-shrink:0;justify-content:space-between;align-items:center;gap:16px;padding:18px 2px 16px;display:flex}.list-heading h1{align-items:center;gap:14px;margin:0 0 5px;font-size:22px;display:flex}.record-count{color:var(--muted);font-variant-numeric:tabular-nums;background:#e8edf5;border-radius:4px;padding:3px 7px;font-size:12px;font-weight:500}.list-heading p{color:var(--muted);margin:0;font-size:12px;line-height:1.7}.button{white-space:nowrap;border:1px solid #0000;border-radius:5px;justify-content:center;align-items:center;gap:7px;min-height:42px;padding:9px 15px;font-size:13px;font-weight:600;display:inline-flex}.primary{background:var(--navy);color:#fff}.primary:hover:not(:disabled){background:#152360}.secondary{color:#354862;background:#fff;border-color:#c6d0e1}.secondary:hover:not(:disabled){background:#edf2fa}.danger{color:#fff;background:#af2534}.danger:hover{background:#901e2b}.text-danger{color:#a72232;background:0 0}.text-danger:hover{background:#fff0f1}.icon-button{color:#5a6b84;background:0 0;border:0;border-radius:5px;flex-shrink:0;justify-content:center;align-items:center;width:38px;height:38px;display:inline-flex}.icon-button:hover:not(:disabled){color:var(--navy);background:#e9effa}.danger-icon:hover:not(:disabled){color:#b42332;background:#fff0f1}.list-panel{border:1px solid var(--border);background:#fff;border-radius:6px;flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}.table-toolbar{border-bottom:1px solid var(--border);flex-wrap:wrap;flex-shrink:0;align-items:center;gap:10px;padding:12px 14px;display:flex}.search{color:#738198;border:1px solid #c6d0df;border-radius:5px;align-items:center;gap:8px;width:300px;min-width:200px;max-width:100%;height:40px;padding:0 10px;display:flex}.search:focus-within{border-color:var(--navy);outline:3px solid #dce6ff}.search input{background:0 0;border:0;width:100%;min-width:0;height:100%;min-height:0;padding:0;font-size:13px;outline:none!important}.search .icon-button{width:24px;height:30px}.list-filters{flex-wrap:wrap;flex:1;align-items:center;gap:8px;min-width:0;display:flex}.list-filters select{max-width:230px;height:40px;min-height:40px;padding:8px 28px 8px 10px;font-size:12px}.refresh{border:1px solid var(--border);width:40px;height:40px;margin-left:auto}.text-button{color:var(--navy);text-align:left;background:0 0;border:0;align-items:center;gap:6px;padding:8px 0;font-size:13px;display:inline-flex}.text-button:hover{text-decoration:underline}.clear-filters{white-space:nowrap;font-size:12px}.table-scroll{scrollbar-width:thin;scrollbar-color:#afbed3 #f4f6fa;flex:1;min-height:0;overflow:auto}.table-scroll:focus-visible{outline-offset:-3px}table{border-collapse:separate;border-spacing:0;text-align:left;white-space:nowrap;width:100%;font-size:13px}th{color:#495c77;z-index:2;white-space:nowrap;background:#edf1f7;border-bottom:1px solid #cfd8e6;height:43px;padding:0 14px;font-size:12px;font-weight:600;position:sticky;top:0}td{background:#fff;border-bottom:1px solid #e5eaf1;height:54px;padding:9px 14px;line-height:1.7}tbody tr:hover td{background:#f4f7fc}th:first-child,td:first-child{padding-left:20px}.column-sort{color:inherit;text-align:left;background:0 0;border:0;justify-content:space-between;align-items:center;gap:10px;width:100%;min-height:43px;padding:0;font-weight:600;display:inline-flex}.column-sort svg{color:#7d8da5;flex-shrink:0}th[aria-sort=ascending],th[aria-sort=descending]{color:var(--navy);background:#e7edf9}th[aria-sort=ascending] svg,th[aria-sort=descending] svg,.column-sort:hover{color:var(--navy)}.table-athletes,.table-entries{min-width:1040px}.table-categories{min-width:600px}.bib-cell{font-variant-numeric:tabular-nums;text-overflow:ellipsis;width:100px;max-width:120px;font-weight:650;overflow:hidden}.athlete-row{cursor:pointer}.athlete-name{color:var(--navy);text-align:left;background:0 0;border:0;justify-content:space-between;align-items:center;gap:8px;max-width:260px;min-height:25px;padding:0;font-size:13px;font-weight:650;display:flex}.athlete-name:hover{text-decoration:underline}.athlete-name svg{color:#8392ac;flex-shrink:0}.kana{color:var(--muted);text-overflow:ellipsis;max-width:240px;font-size:11px;overflow:hidden}.stack-line{align-items:center;gap:6px;min-height:26px;display:flex}.notes-cell{text-overflow:ellipsis;color:#5e6d84;max-width:220px;font-size:12px;overflow:hidden}.person-name{font-weight:600}.action-col{text-align:right;width:100px}.row-actions{justify-content:flex-end;gap:4px;display:flex}.change-badge{color:#845205;vertical-align:middle;white-space:nowrap;background:#fff1d8;border-radius:3px;align-items:center;gap:4px;margin-left:6px;padding:1px 5px;font-size:11px;font-weight:600;display:inline-flex}.stack-line .change-badge{margin-left:0}.attendance-toggle{white-space:nowrap;color:#5b687d;background:0 0;border:0;align-items:center;gap:8px;min-width:83px;min-height:40px;padding:5px 0;font-size:12px;font-weight:600;display:inline-flex}.attendance-toggle.on{color:var(--navy)}.switch-track{background:#bdc7d5;border-radius:20px;flex-shrink:0;align-items:center;width:33px;height:19px;padding:3px;display:flex}.switch-track>span{background:#fff;border-radius:50%;width:13px;height:13px;transition:transform .12s;box-shadow:0 1px 2px #0002}.on .switch-track{background:var(--navy)}.on .switch-track>span{transform:translate(14px)}.table-footer{border-top:1px solid var(--border);color:var(--muted);background:#fff;flex-shrink:0;justify-content:space-between;align-items:center;gap:15px;min-height:57px;padding:8px 14px;font-size:12px;display:flex}.pagination{font-variant-numeric:tabular-nums;align-items:center;gap:10px;display:flex}.pagination>.icon-button{border:1px solid var(--border);width:34px;height:34px}.page-size{white-space:nowrap;align-items:center;gap:8px;margin-right:10px;font-size:12px;font-weight:400;display:flex}.page-size select{height:34px;min-height:34px;padding:4px 25px 4px 8px;font-size:12px;width:auto!important;margin:0!important}.empty-state{text-align:center;color:var(--muted);flex-direction:column;flex:1;justify-content:center;align-items:center;gap:12px;padding:44px 20px;display:flex}.empty-state h2{color:#3d4d68;margin:0;font-size:16px}.empty-state p{margin:0;font-size:13px;line-height:1.8}.dashboard{flex:1;min-height:0;padding:28px 32px;overflow:auto}.dashboard-heading{justify-content:space-between;align-items:center;margin-bottom:24px;display:flex}.dashboard h1{margin:0 0 8px;font-size:25px}.dashboard-heading p{color:var(--muted);margin:0;font-size:13px}.stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:28px;display:grid}.stat{border:1px solid var(--border);text-align:left;color:inherit;background:#fff;border-radius:6px;padding:20px}.stat:hover{background:#edf2fc;border-color:#9aadd0}.stat-label{color:#596b86;justify-content:space-between;align-items:center;font-size:13px;font-weight:600;display:flex}.stat-value{font-variant-numeric:tabular-nums;color:#243d6b;margin:13px 0 9px;font-size:32px;font-weight:650}.stat-value span{color:var(--muted);margin-left:7px;font-size:12px;font-weight:400}.stat-value .slash{margin:0 12px;font-size:22px}.stat>span{color:#556986;align-items:center;gap:5px;font-size:12px;line-height:1.8;display:flex}.dashboard-categories{border:1px solid var(--border);background:#fff;border-radius:6px;margin-bottom:24px;overflow:hidden}.dashboard-categories h2{margin:20px 20px 8px;font-size:17px}.dashboard-categories>p{color:var(--muted);margin:0 20px 20px;font-size:12px}.dashboard-table-scroll{overflow:auto}.dashboard table{min-width:600px}.dashboard th{padding:10px 20px}.dashboard td{font-variant-numeric:tabular-nums;height:48px;padding:8px 20px}dialog{border:1px solid var(--border);color:#233047;border-radius:8px;width:min(600px,100% - 32px);max-height:calc(100dvh - 40px);padding:0;box-shadow:0 20px 80px #0f224644}dialog::backdrop{background:#14223d80}.wide-dialog{width:min(1050px,100% - 40px)}.modal>header{border-bottom:1px solid var(--border);z-index:5;background:#fff;justify-content:space-between;align-items:center;padding:18px 24px;display:flex;position:sticky;top:0}.eyebrow{letter-spacing:1.2px;color:#5d6b82;font-size:9px}.modal h2{margin:4px 0 0;font-size:20px}.form-body{padding:22px 24px}.form-body>p{font-size:13px;line-height:1.8}.form-description{color:var(--muted);margin:0 0 20px;font-size:12px}.form-grid{grid-template-columns:1fr 1fr;gap:18px 16px;display:grid}.form-stack{flex-direction:column;gap:18px;display:flex}fieldset{border:0;min-width:0;margin:0;padding:0}label{color:#394a65;font-size:12px;font-weight:600;line-height:1.6;display:block}input,select,textarea{color:#25344f;background:#fff;border:1px solid #c5cede;border-radius:5px;max-width:100%;min-height:44px;padding:10px 12px;font-size:14px}label input:not([type=checkbox]),label select,label textarea{width:100%;margin-top:7px;display:block}select:disabled{opacity:1;color:#5b6880;background:#f0f3f8;border-color:#dce2eb}input::placeholder,textarea::placeholder{color:#77849b;font-size:12px}textarea{resize:vertical;line-height:1.7}.required{color:#52658c;background:#edf1f9;border-radius:3px;margin-left:7px;padding:2px 4px;font-size:9px;font-weight:500}.field-hint{color:var(--muted);margin:8px 0 0;font-size:12px;font-weight:400;line-height:1.8;display:block}.notes-field{margin-top:20px}.notes-field .field-hint{text-align:right}.checkbox-row{border:1px solid var(--border);cursor:pointer;border-radius:5px;align-items:center;gap:12px;padding:12px;display:flex}.checkbox-row input{width:20px;height:20px;min-height:20px;accent-color:var(--navy);margin:0}.checkbox-row small{color:var(--muted);margin-top:4px;font-size:11px;font-weight:400;display:block}.notice{color:#526481;background:#f0f4fb;border-radius:5px;align-items:flex-start;gap:8px;padding:12px;font-size:12px;line-height:1.8;display:flex}.notice svg{flex-shrink:0;margin-top:3px}.amber{color:#80510b;background:#fff5e3}.error{color:#9c2230;background:#fff0f2;border:1px solid #edc1c7;border-radius:5px;align-items:center;gap:8px;margin:12px 0;padding:12px;font-size:13px;line-height:1.8;display:flex}.list-panel>.error{margin:8px 14px}.modal-footer{border-top:1px solid var(--border);z-index:4;background:#f9fafc;justify-content:flex-end;gap:10px;padding:16px 24px;display:flex;position:sticky;bottom:0}.athlete-detail{padding:24px}.profile-title{justify-content:space-between;align-items:center;gap:20px;display:flex}.profile-bib{color:var(--navy);margin-bottom:8px;font-size:12px;font-weight:650;display:block}.profile h3{margin:0 0 5px;font-size:23px}.profile p{color:var(--muted);margin:0;font-size:13px}.profile dl{border-top:1px solid var(--border);border-bottom:1px solid var(--border);grid-template-columns:100px 1fr;gap:20px;margin:22px 0 0;padding:18px 0;display:grid}dt{color:var(--muted);margin-bottom:5px;font-size:12px}dd{margin:0;font-size:13px}.preserve-lines{white-space:pre-wrap;overflow-wrap:anywhere}.detail-entries{margin-top:24px}.section-heading{justify-content:space-between;align-items:center;gap:15px;margin-bottom:14px;display:flex}.section-heading h3{margin:0;font-size:16px}.section-heading h3 span{color:var(--muted);margin-left:6px;font-size:12px;font-weight:400}.detail-table-scroll{border:1px solid var(--border);border-radius:5px;max-height:45dvh;overflow:auto}.detail-table-scroll table{min-width:780px}.detail-table-scroll td{height:60px}.detail-table-scroll th:first-child,.detail-table-scroll td:first-child{padding-left:14px}.detail-table-scroll th:first-child{min-width:160px}.detail-table-scroll th:nth-child(2){min-width:180px}.detail-table-scroll .notes-cell{max-width:200px}.detail-footer{justify-content:space-between}.toast{z-index:10;color:#fff;background:#20355d;border-radius:6px;align-items:center;gap:10px;max-width:calc(100% - 24px);padding:10px 12px 10px 18px;font-size:13px;display:flex;position:fixed;bottom:20px;left:50%;transform:translate(-50%);box-shadow:0 4px 24px #172b4f33}.toast .icon-button{color:#fff;width:28px;height:28px}.toast .icon-button:hover{background:#fff2}.spin{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@media (width<=1100px){.app-header{gap:16px;padding:0 20px}.official-brand span{display:none}.desktop-nav{gap:0}.desktop-nav a{padding:0 11px;font-size:12px}.official-brand img{width:195px}.table-toolbar{flex-wrap:wrap}.search{width:260px}.list-filters select{max-width:190px}.list-filters{flex:1;min-width:350px}.row-actions .icon-button{width:44px;height:44px}.attendance-toggle{min-height:44px}.table-athletes :is(th,td):nth-child(2),.table-entries :is(th,td):nth-child(2){border-right:1px solid var(--border);z-index:1;min-width:180px;max-width:220px;position:sticky;left:0}.table-athletes th:nth-child(2),.table-entries th:nth-child(2){z-index:3}.table-athletes .athlete-name,.table-entries .athlete-name{max-width:180px}.table-classes td:first-child,.table-categories td:first-child{border-right:1px solid var(--border);position:sticky;left:0}.pagination>.icon-button{width:40px;height:40px}}@media (width<=900px){.desktop-nav{display:none}.mobile-nav{color:#fff;background:#263c8d;border-color:#6979b5;max-width:230px;min-height:40px;padding:8px 28px 8px 12px;font-size:13px;display:block}.mobile-nav option{color:#24314b;background:#fff}.search{flex:1;width:auto}.list-filters{flex-basis:100%;order:3;grid-template-columns:repeat(3,minmax(0,1fr));min-width:0;display:grid}.list-filters select{width:100%;min-width:0;max-width:none}.list-filters:empty{display:none}.refresh{order:2}.list-screen{padding:0 14px 12px}.dashboard{padding:24px}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-title{align-items:flex-start}.detail-table-scroll table{min-width:800px}.detail-table-scroll th:first-child,.detail-table-scroll td:first-child{z-index:1;white-space:normal;border-right:1px solid var(--border);max-width:190px;position:sticky;left:0}.detail-table-scroll th:first-child{z-index:3}}@media (width<=640px){.app-header{gap:12px;height:62px;min-height:62px;padding:0 12px}.official-brand img{width:169px}.mobile-nav{width:142px;min-width:0;max-width:155px;padding:8px 20px 8px 8px;font-size:12px}.list-screen{padding:0 8px 8px}.list-heading{gap:8px;padding:12px 4px}.list-heading h1{flex-wrap:wrap;gap:8px;margin:0;font-size:19px}.record-count{padding:2px 5px;font-size:11px}.list-heading p{display:none}.list-heading .button{gap:4px;min-height:44px;padding:9px 10px;font-size:12px}.list-heading .button svg{width:16px}.table-toolbar{gap:8px;padding:9px 10px}.search{height:44px}.search input{font-size:16px}.search input::placeholder{font-size:12px}.list-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.list-filters select{height:40px;min-height:40px;padding:7px 20px 7px 8px;font-size:12px}.clear-filters{justify-content:flex-end;padding:8px}.refresh{width:44px;height:44px}.table-footer{flex-wrap:wrap;gap:6px;padding:7px 9px;font-size:11px}.pagination{gap:6px;margin-left:auto}.page-size{gap:0;margin-right:3px;font-size:0}.page-size select{height:40px;min-height:40px;font-size:12px}.pagination>.icon-button{width:38px;height:40px}.column-sort{min-height:44px}th{height:44px}td{padding:8px 12px}.athlete-name{min-height:30px;font-size:14px}.table-athletes :is(th,td):nth-child(2),.table-entries :is(th,td):nth-child(2){min-width:170px;max-width:190px}.table-scroll .kana{max-width:165px}.dashboard{padding:20px 14px}.dashboard-heading{margin-bottom:20px}.dashboard h1{font-size:22px}.dashboard-heading p{font-size:12px}.stats{gap:10px;margin-bottom:20px}.stat{padding:14px}.stat-label{font-size:12px}.stat-value{margin:9px 0;font-size:28px}.stat>span{flex-wrap:wrap;font-size:11px}.dashboard-categories h2{margin:16px 14px 8px;font-size:16px}.dashboard-categories>p{margin:0 14px 16px;line-height:1.8}dialog,.wide-dialog{border:0;border-radius:0;width:100%;max-width:100%;height:100dvh;max-height:100dvh;margin:0}.modal{flex-direction:column;min-height:100%;display:flex}.modal>header{padding:14px 18px}.modal>header .icon-button{width:44px;height:44px}.modal h2{font-size:19px}.modal form{flex-direction:column;flex:1;display:flex}.form-body{flex:1;padding:20px}.form-grid{grid-template-columns:1fr;gap:16px}label{font-size:13px}input,select,textarea{min-height:48px;font-size:16px}.modal-footer{padding:14px 18px max(14px, env(safe-area-inset-bottom));margin-top:auto}.modal-footer .button{flex:1;min-height:46px;padding:10px;font-size:13px}.athlete-detail{flex:1;padding:20px 16px}.profile-title{display:block}.profile-title .button{width:100%;min-height:44px;margin-top:16px}.profile dl{grid-template-columns:60px 1fr;gap:16px;margin-top:20px}.profile h3{font-size:24px}.section-heading{flex-wrap:wrap;gap:10px}.section-heading .button{min-height:44px;padding:9px 10px;font-size:12px}.section-heading h3{font-size:16px}.detail-table-scroll{max-height:50dvh}.detail-table-scroll th:first-child,.detail-table-scroll td:first-child{min-width:145px;max-width:145px;font-size:12px}.detail-footer .text-danger{flex:1.4}.toast{gap:7px;font-size:12px;bottom:14px}.empty-state{padding:32px 16px}.empty-state h2{font-size:14px}}@media (width<=360px){.official-brand img{width:142px}.mobile-nav{width:137px}.list-heading h1{font-size:17px}.list-heading .button{font-size:11px}.record-count,.table-footer{font-size:10px}.pagination{gap:4px}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation-duration:.01ms!important}}@media (width<=640px){.detail-table-scroll{border:0;border-radius:0;max-height:none;overflow:visible}.detail-table-scroll table{white-space:normal;min-width:0;display:block}.detail-table-scroll thead{clip-path:inset(50%);width:1px;height:1px;margin:-1px;position:absolute;overflow:hidden}.detail-table-scroll tbody{display:block}.detail-table-scroll tr{border:1px solid var(--border);background:#fff;border-radius:5px;grid-template-columns:minmax(0,1fr) auto;gap:0 10px;margin-bottom:10px;padding:12px;display:grid}.detail-table-scroll td{overflow-wrap:anywhere;border:0;height:auto;min-height:0;padding:3px 0;background:0 0!important}.detail-table-scroll td:first-child{min-width:0;max-width:none;color:var(--muted);border:0;grid-area:1/1;padding:0;font-size:12px;position:static}.detail-table-scroll td:nth-child(2){grid-area:2/1;font-size:14px;font-weight:600}.detail-table-scroll td:nth-child(3){grid-area:1/2/3;align-self:center}.detail-table-scroll td:nth-child(4){white-space:pre-wrap;grid-area:3/1;align-self:center;max-width:none;font-size:12px}.detail-table-scroll td:nth-child(5){grid-area:3/2}.detail-table-scroll .row-actions{justify-content:flex-end;gap:4px}.detail-table-scroll .change-badge{margin-left:0;margin-right:6px;display:inline-flex}}.schedule-caption{color:var(--muted);margin-top:3px;font-size:11px;font-weight:400;line-height:1.7}.table-days{min-width:600px}.table-sections{min-width:750px}.table-classes{min-width:950px}@media (width<=1380px){.desktop-nav{display:none}.mobile-nav{color:#fff;background:#263c8d;border-color:#6979b5;max-width:230px;min-height:40px;padding:8px 28px 8px 12px;font-size:13px;display:block}.mobile-nav option{color:#24314b;background:#fff}}@media (width<=640px){.mobile-nav{width:142px;max-width:155px;padding:8px 20px 8px 8px;font-size:12px}.schedule-caption{font-size:12px}}@media (width<=1100px){.table-classes :is(th,td):first-child,.table-categories :is(th,td):first-child,.table-days :is(th,td):first-child,.table-sections :is(th,td):first-child{border-right:1px solid var(--border);z-index:1;min-width:170px;max-width:240px;position:sticky;left:0}.table-classes th:first-child,.table-categories th:first-child,.table-days th:first-child,.table-sections th:first-child{z-index:3}}.competition-delete-body>p{overflow-wrap:anywhere}.deletion-counts{grid-template-columns:1fr 1fr;gap:0 24px;margin:20px 0;display:grid}.deletion-counts>div{border-bottom:1px solid #dde2e9;justify-content:space-between;align-items:center;padding:9px 0;display:flex}.deletion-counts dt{font-size:13px}.deletion-counts dd{font-variant-numeric:tabular-nums;margin:0;font-weight:700}.no-competition{flex:1}@media (width<=640px){.deletion-counts{gap:0 14px}}.import-body{flex-direction:column;gap:16px;display:flex}.import-body>p{margin:0}.import-target{overflow-wrap:anywhere}.import-dropzone{text-align:center;background:#f6f8fc;border:2px dashed #a8b7cb;border-radius:8px;flex-direction:column;align-items:center;gap:12px;padding:24px 16px;display:flex}.import-dropzone.dragging{background:#e9eefb;border-color:#1b2d7a}.import-dropzone p{margin:0}.import-dropzone small{color:var(--muted)}.import-dropzone label{cursor:pointer;position:relative}.import-dropzone input{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.import-dropzone label:focus-within{outline-offset:2px;outline:3px solid #8c9fdb}.import-files{margin:0;padding:0;list-style:none}.import-files li{border-bottom:1px solid var(--border);align-items:center;gap:10px;padding:8px 0;display:flex}.import-files li>span{overflow-wrap:anywhere;flex:1;min-width:0}.import-files small{color:var(--muted);display:block}.import-count-scroll{overflow-x:auto}.import-counts{width:100%;min-width:310px}.import-counts tbody th{white-space:normal;font-weight:500}.import-counts td{font-variant-numeric:tabular-nums}.import-notes{border:1px solid var(--border);border-radius:6px;padding:12px}.import-notes summary{cursor:pointer;font-weight:600}.import-notes ul{margin-bottom:0;padding-left:20px;font-size:13px}.import-notes li{overflow-wrap:anywhere;margin-top:6px}.duplicate-groups{gap:12px;display:grid}.duplicate-groups section{border:1px solid var(--border);border-radius:6px;padding:12px 16px}.duplicate-groups h3{margin:0;font-size:15px}.duplicate-groups h3 span{color:var(--muted);margin-left:8px;font-size:13px}.duplicate-groups ul{margin:12px 0 0;padding:0;list-style:none}.duplicate-groups li{margin-top:8px}.duplicate-groups small{color:var(--muted);display:block}@media (width<=640px){.import-footer{flex-wrap:wrap}.import-footer>button{flex:auto}.import-footer>button:last-child{flex-basis:100%}}.costume-screen .list-heading h1{font-size:23px}.costume-filters{border:1px solid var(--border);background:#fff;border-radius:8px;flex-shrink:0;align-items:flex-start;gap:20px;margin-bottom:12px;padding:12px 16px;display:flex}.costume-day{flex-shrink:0;gap:6px;width:230px;font-size:13px;font-weight:600;display:grid}.costume-filters fieldset{border:0;min-width:0;margin:0;padding:0}.costume-filters legend{margin-bottom:6px;padding:0;font-size:13px;font-weight:600}.costume-sections{flex:1}.costume-genders{flex:0 0 170px}.choice-actions{gap:14px;margin-bottom:4px;display:flex}.choice-actions button{min-height:28px;font-size:12px}.costume-choices{flex-wrap:wrap;gap:8px;max-height:110px;display:flex;overflow-y:auto}.costume-choices label{border:1px solid var(--border);cursor:pointer;border-radius:5px;flex-direction:row;align-items:center;gap:8px;min-height:38px;padding:5px 9px;font-size:13px;display:flex}.costume-choices label:has(input:checked){background:#eef2fc;border-color:#8294c7}.costume-choices input{width:17px;height:17px;accent-color:var(--navy);margin:0}.costume-progress{white-space:nowrap;margin:0 0 0 auto;font-size:13px}.costume-progress span{color:var(--muted);font-size:12px;display:block}.table-costume{min-width:900px}.table-costume th:first-child{width:90px}.table-costume td:nth-child(2){min-width:170px}.table-costume .costume-toggle-cell{width:156px;min-width:156px;box-shadow:-1px 0 0 var(--border);z-index:2;background:#fff;position:sticky;right:0}.table-costume th.costume-toggle-cell{z-index:5;background:#edf1f7}.costume-toggle-cell .attendance-toggle{white-space:nowrap}.costume-entry-cell{min-height:43px;padding:4px 0}.costume-entry-cell small{color:var(--muted);font-size:11px;display:block}.costume-confirm-bib{margin:0;font-size:16px}.costume-confirm-bib strong{margin-left:8px;font-size:28px}.costume-confirm h3{margin:12px 0 0;font-size:24px}.costume-confirm-gender{margin-left:12px}.costume-confirm h4{margin:22px 0 8px}.costume-confirm-entries{margin:0;padding:0;list-style:none}.costume-confirm-entries li{border-bottom:1px solid var(--border);padding:10px 0}.costume-confirm-entries li>span,.costume-confirm-entries strong,.costume-confirm-entries small{overflow-wrap:anywhere;display:block}.costume-confirm-entries li>span{color:var(--muted);font-size:12px}.costume-confirm-entries strong{margin:2px 0}.costume-confirm-entries small{color:var(--muted)}.active-competition-badge{color:#1b2d7a;background:#eef1fb;border-radius:3px;margin-top:5px;padding:2px 6px;font-size:11px;display:inline-block}.costume-confirm-entries .active-competition-badge{margin-left:8px}@media (width>=1381px) and (width<=1600px){.desktop-nav{gap:0}.desktop-nav a{gap:5px;padding-inline:9px}.app-header{gap:16px}.official-brand{gap:12px}.official-brand img{width:195px}.official-brand span{padding-left:12px}}@media (width<=1100px){.costume-filters{flex-wrap:wrap;gap:12px 18px}.costume-genders{flex-basis:auto}.costume-progress{margin-left:0}}@media (width<=640px){.costume-screen .list-heading h1{font-size:18px}.costume-screen .list-heading{align-items:flex-start;gap:8px}.costume-screen .list-heading>button{min-width:58px;padding:8px}.costume-screen .list-heading p{display:none}.costume-filters{gap:8px 12px;margin-bottom:8px;padding:9px 10px}.costume-day{width:calc(100% - 172px);min-width:140px}.costume-day select{width:100%;min-width:0}.costume-sections{flex-basis:100%;order:3}.costume-genders{flex:1}.costume-genders .costume-choices{gap:4px}.costume-choices label{min-height:40px;padding:5px 7px}.costume-sections legend{float:left;margin-right:12px}.costume-sections .choice-actions{justify-content:flex-end;gap:12px}.costume-sections .costume-choices{clear:both;max-height:86px}.costume-screen .table-toolbar{gap:8px;padding:10px}.costume-screen .search{width:100%}.costume-screen .table-toolbar>select{flex:1;min-width:130px;font-size:12px}.costume-progress{font-size:11px}.costume-progress span{font-size:10px}.table-costume .costume-toggle-cell{width:142px;min-width:142px;padding:8px}.table-costume .attendance-toggle{font-size:12px}.costume-screen .table-footer{padding:8px}}.costume-heading-actions{flex-shrink:0;gap:8px;display:flex}.costume-choices input{min-height:17px;padding:0}.costume-filter-summary{border:1px solid var(--border);white-space:nowrap;text-overflow:ellipsis;background:#fff;border-radius:6px;flex-shrink:0;margin-bottom:10px;padding:8px 12px;font-size:12px;overflow:hidden}@media (width<=640px){.costume-screen .list-heading h1{margin-bottom:0;font-size:17px}.costume-screen .record-count{display:none}.costume-heading-actions{gap:5px}.costume-heading-actions button{min-width:42px;padding:8px;font-size:12px}.costume-heading-actions svg{display:none}.costume-entry-cell{min-height:38px}}.app-header.page-header{flex-direction:column;flex-shrink:0;align-items:stretch;gap:0;height:auto;min-height:64px;padding:0}.header-top{align-items:center;gap:28px;min-width:0;min-height:64px;padding:10px 24px;display:flex}.header-top .official-brand{flex-shrink:0}.header-competition-context{flex:1;align-items:center;gap:20px;min-width:0;display:flex}.competition-home-link{color:#e3e9ff;flex-shrink:0;align-items:center;gap:4px;min-height:34px;font-size:12px;display:inline-flex}.competition-home-link:hover{color:#fff;text-decoration:underline}.header-competition-name{overflow-wrap:anywhere;min-width:0;font-size:17px;font-weight:600;line-height:1.45}.page-header .desktop-nav{border-top:1px solid #ffffff25;flex-shrink:0;height:45px;min-height:45px;padding:0 24px}.page-header .desktop-nav a{padding:0 16px}.competition-name-link{white-space:normal;text-align:left;overflow-wrap:anywhere;max-width:420px}.competition-row-import{width:fit-content;min-height:36px;margin-top:9px;padding:6px 10px;font-size:12px;display:flex}.table-competitions td:first-child{min-width:235px}.no-competition .button{margin-top:10px}@media (width<=1380px){.header-top{gap:18px}.header-competition-context{gap:12px}.page-header .mobile-nav{flex-shrink:0}}@media (width<=800px){.header-top{flex-wrap:wrap;gap:0 14px;padding:8px 14px}.header-top .official-brand{margin-right:auto}.header-competition-context{border-top:1px solid #ffffff25;flex-basis:100%;order:3;align-items:flex-start;gap:12px;margin-top:8px;padding:7px 0 0}.header-competition-name{padding:6px 0;font-size:14px}.header-top .mobile-nav{margin-left:auto}.competition-name-link{max-width:270px}.competition-row-import{min-height:42px}}.filter-controls{flex-wrap:wrap;flex:1;align-items:center;gap:10px;min-width:0;display:flex}.mobile-filter-toggle,.mobile-bib-label{display:none}.tree-table{min-width:620px}.tree-name{color:var(--navy);text-align:left;background:0 0;border:0;align-items:center;gap:9px;min-height:42px;padding:8px 0;font-weight:600;display:flex}.tree-name svg{flex-shrink:0}.expandable-row{cursor:pointer}.tree-table .expanded-content>td{background:#f4f6fa;min-width:0;max-width:none;padding:12px 16px;position:static}.nested-table-scroll{border:1px solid var(--border);background:#fff;border-radius:5px;max-width:100%;overflow:auto}.nested-table{min-width:600px}.tree-table .nested-table :is(th,td),.master-children .nested-table :is(th,td){min-width:0;max-width:none;position:static}.nested-table th{font-size:12px}.nested-table td{font-size:13px}.nested-table td:first-child{min-width:160px}.nested-empty{color:var(--muted);margin:0;padding:18px}.master-children{min-width:0;margin-top:24px}.children-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;display:flex}.children-heading h3{margin:0;font-size:16px}.class-choice{border-bottom:1px solid var(--border);flex-direction:row;align-items:center;gap:12px;min-height:52px;padding:10px 4px;display:flex}.class-choice input{width:20px;height:20px;min-height:20px;accent-color:var(--navy);flex-shrink:0}.class-choice small{color:var(--muted);margin-top:4px;font-size:12px;display:block}.class-picker h3{background:#edf1f7;margin:18px 0 0;padding:10px;font-size:14px}.class-picker>input{width:100%}.transfer-list{padding-left:20px}.transfer-list li{padding:10px 0}.transfer-list span{margin-top:6px;font-size:13px;display:block}.costume-search-controls{flex-wrap:wrap;flex-basis:100%;align-items:center;gap:10px;display:flex}.costume-search-controls>select{max-width:100%}.costume-filters{flex-wrap:wrap}dialog .costume-filters{border:0;margin:0;padding:0}.table-costume .costume-toggle-cell{width:60px;min-width:60px;max-width:60px;box-shadow:1px 0 0 var(--border);z-index:2;padding:8px;position:sticky;left:0;right:auto}.table-costume :is(th,td):nth-child(2){z-index:2;background:#fff;width:88px;min-width:88px;max-width:88px;position:sticky;left:60px}.table-costume :is(th,td):nth-child(3){min-width:180px}.table-costume th.costume-toggle-cell,.table-costume th:nth-child(2){z-index:5;background:#edf1f7}.table-costume .attendance-toggle{justify-content:center;width:44px;min-width:44px;min-height:44px;padding:0}.table-costume tbody tr.checked-row>td{background:#e6f3ee}.table-costume tbody tr.checked-row:hover>td{background:#d8ece3}.table-costume tbody tr.checked-row .bib-cell{color:#18553b}.table-costume td{vertical-align:middle}@media (width<=640px){.mobile-filter-toggle{display:inline-flex}.filter-controls{flex-basis:100%;order:3;display:none}.filter-controls.is-open{display:flex}.filter-controls .search{flex-basis:100%;width:100%}.desktop-bib-label{display:none}.mobile-bib-label{display:inline}.table-costume :is(th,td):nth-child(2){width:66px;min-width:66px;max-width:66px}.table-costume :is(th,td):nth-child(3){min-width:160px}.costume-search-controls>.search{flex-basis:100%}.costume-search-controls>select{flex:1;width:100%}.children-heading{flex-wrap:wrap}.tree-table .expanded-content>td{padding:8px}}@media (width>=901px){.page-header .desktop-nav{display:flex}.page-header .mobile-nav{display:none}}.costume-filters{grid-template-columns:minmax(180px,230px) minmax(0,1fr) 170px;align-items:start;gap:20px;display:grid}.costume-filters .costume-day{flex-direction:column;gap:8px;width:auto;min-width:0;margin:0;line-height:20px;display:flex}.costume-filters legend{float:none;width:auto;margin:0 0 8px;line-height:20px}.costume-filters .costume-day select,.costume-filters .costume-choices label{box-sizing:border-box;height:44px;min-height:44px;margin:0;padding-block:8px}.costume-filters .costume-choices{clear:none;gap:8px;max-height:148px}.costume-filters .choice-actions{justify-content:flex-start;gap:14px;margin:6px 0 0}dialog.compact-dialog{border:1px solid var(--border);border-radius:10px;width:min(520px,100% - 32px);height:fit-content;max-height:calc(100dvh - 32px);margin:auto;overflow:hidden}.compact-dialog .modal{flex-direction:column;min-height:0;max-height:calc(100dvh - 34px);display:flex}.compact-dialog .modal>header{flex-shrink:0;padding:12px 16px}.compact-dialog .eyebrow{display:none}.compact-dialog .modal h2{margin:0;font-size:18px;line-height:1.5}.compact-dialog .form-body{flex:0 auto;min-height:0;padding:16px 20px;overflow-y:auto}.compact-dialog .modal-footer{flex-shrink:0;margin:0;padding:12px 16px}.compact-dialog .costume-confirm h3{margin:8px 0 0;font-size:22px}.compact-dialog .costume-confirm h4{color:var(--muted);margin:18px 0 6px;font-size:13px}.compact-dialog .costume-confirm-entries li{padding:8px 0}.compact-dialog .costume-confirm-entries li:last-child{border-bottom:0}@media (width<=640px){.costume-filters{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px 12px}.costume-filters .costume-day{grid-area:1/1}.costume-filters .costume-genders{grid-area:1/2}.costume-filters .costume-sections{order:0;grid-area:2/1/auto/-1}.costume-filters .costume-choices{gap:6px}.costume-filters .costume-day select{font-size:14px}.costume-filters legend,.costume-filters .costume-day{font-size:12px}}.list-heading-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.entry-attendance-cell{align-items:center;gap:8px;display:flex}.table-entries .attendance-pending-row td{background:#fff8e6}.table-entries .attendance-toggle:disabled{opacity:.8}.issue-filters{flex-wrap:wrap;align-items:center;gap:8px;margin:0 20px 16px;display:flex}.issue-filters>span{color:var(--muted);font-size:12px}.dashboard .issue-detail-row>td{background:#f2f5fa;padding:12px 20px}.issue-detail-row table{border:1px solid var(--border);background:#fff}@media (width<=640px){.list-heading:has(.list-heading-actions){flex-wrap:wrap;gap:10px}.list-heading-actions{justify-content:flex-end;width:100%}.issue-filters{gap:6px;margin:0 12px 12px}.issue-filters .button{min-height:44px;padding:8px;font-size:12px}.dashboard .issue-detail-row>td{padding:8px}}.attendance-mode{--navy:#78500d;--muted:#6c5d42;--border:#dfca98;background:#fff1cd}.attendance-mode .app-header{background:#705015}.attendance-mode .page-header .mobile-nav{background:#805e21}.attendance-mode .desktop-nav a,.attendance-mode .competition-home-link{color:#fff4d9}.attendance-mode :is(.list-panel,.table-toolbar,.pagination){background:#fff9e9}.attendance-mode .table-entries td{background:#fffbed}.attendance-mode .table-entries th{color:#59401c;background:#f5dfa9}.attendance-mode .table-entries tbody tr:hover td{background:#fff0c6}.attendance-mode .table-entries .attendance-pending-row td{background:#ffe3a0}.attendance-mode .table-entries .athlete-name:disabled{opacity:1;color:#59401c}.attendance-mode .record-count{color:#624513;background:#eedaa8}.attendance-mode .primary:hover:not(:disabled){background:#5a3b06}.attendance-mode-label{color:#68470c;font-size:12px;font-weight:700}.attendance-leave-actions{flex-wrap:wrap}.competition-list-heading{justify-content:flex-end}.sr-only{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.issues-back{min-height:36px;margin-bottom:18px}.issues-screen .dashboard-issues{padding-top:20px}.issues-screen .dashboard-heading{gap:12px}.issues-screen .dashboard-heading h1{margin:0}@media (width<=640px){.attendance-mode .list-heading-actions{width:auto;margin-left:auto}.attendance-mode .list-heading{gap:8px}.attendance-mode .list-heading .button{padding:9px 10px}.attendance-leave-actions .button{flex:auto}.issues-screen .dashboard-heading h1{font-size:19px}}.issue-roster+.issue-roster{margin-top:20px}.issue-roster h3{border:1px solid var(--border);background:#e5ebf4;border-bottom:0;align-items:center;gap:10px;margin:0;padding:10px 14px;font-size:14px;display:flex}.issue-roster h3 span{font-size:12px;font-weight:400}.issue-incoming-roster h3{color:#254967;background:#dceaf6}.issue-class-change{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.issue-status{border-radius:4px;padding:2px 8px;font-size:12px;font-weight:700;display:inline-block}.issue-status-outgoing{color:#69430b;background:#f7dca5}.issue-status-absent{color:#932735;background:#f8d5d8}.dashboard .issue-roster .issue-outgoing>td{background:#fff3d9}.dashboard .issue-roster .issue-outgoing>td:first-child{box-shadow:inset 4px 0 #b27b27}.dashboard .issue-roster .issue-absent>td{background:#fff0f1}.dashboard .issue-roster .issue-absent>td:first-child{box-shadow:inset 4px 0 #ba4957}.dashboard .issue-roster :is(.issue-absent,.issue-outgoing)>td:nth-child(2){font-weight:700}.dashboard .issue-roster-empty{color:var(--muted);text-align:center}.list-panel>.table-scroll th,.dashboard th,.nested-table th,.roster-order-table th{height:34px;padding:5px 10px}.list-panel>.table-scroll td,.dashboard td,.nested-table td,.roster-order-table td{height:36px;padding:4px 10px;line-height:1.4}.list-panel .stack-line,.list-panel .athlete-name{min-height:20px}.list-panel .kana{line-height:1.3}.list-panel .row-actions .icon-button,.nested-table .row-actions .icon-button,.roster-order-table .icon-button{width:30px;height:30px}.list-panel .attendance-toggle{min-height:30px}.tree-name{min-height:30px;padding:4px 0}.table-costume .costume-entry-cell{min-height:28px;padding:2px 0}.list-panel .table-costume .costume-toggle-cell{padding:2px 8px}.list-panel .table-costume .attendance-toggle{min-height:36px}.nested-table.class-children td:first-child{min-width:50px}.section-actions{justify-content:flex-end;align-items:center;gap:6px;display:flex}.section-actions .button{min-height:30px;padding:4px 8px;font-size:12px}.roster-order-scroll{border:1px solid var(--border);border-radius:5px;max-height:45dvh;margin:14px 0;overflow:auto}.roster-order-table{min-width:540px}.roster-order-table td:nth-child(2){white-space:normal;min-width:230px}.roster-dialog-body h3{margin-bottom:10px}.roster-dialog-body .field-hint{line-height:1.7}.roster-footer{flex-wrap:wrap}@media (width<=1100px){.list-panel .row-actions .icon-button,.nested-table .row-actions .icon-button,.roster-order-table .icon-button{width:36px;height:36px}.list-panel .attendance-toggle,.section-actions .button,.tree-name{min-height:36px}.list-panel .table-athletes .athlete-name,.list-panel .table-entries .athlete-name{padding:2px 4px}}@media (width<=640px){.roster-order-table{table-layout:fixed;min-width:0}.roster-order-table :is(th,td):first-child{width:32px;padding-inline:6px}.roster-order-table td:nth-child(2){overflow-wrap:anywhere;min-width:0}.roster-order-table :is(th,td):nth-child(3){display:none}.roster-order-table :is(th,td):last-child{width:90px;padding-inline:5px}.roster-footer .button{flex:auto}.section-actions{flex-wrap:wrap}}.sync-indicator{white-space:nowrap;color:#e7ecfc;align-items:center;gap:5px;font-size:11px;display:inline-flex}.sync-indicator>span{background:#f4c56a;border-radius:50%;width:7px;height:7px}.sync-live>span{background:#8be1b7}.sync-offline>span{background:#f69c9c}.roster-drag-handle{cursor:grab;align-items:center;gap:4px;display:inline-flex}.roster-dragging{opacity:.45}.roster-drop-target{outline:2px solid var(--navy);outline-offset:-2px;background:#edf2ff}.roster-order-table tr[draggable=true]{cursor:grab}.pdf-preview-toolbar,.pdf-page-controls,.pdf-output-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.pdf-preview-toolbar{z-index:1;background:#fff;justify-content:space-between;padding:8px 0;position:sticky;top:0}.pdf-page-controls label{white-space:nowrap;align-items:center;gap:6px;font-size:13px;display:flex}.pdf-page-controls select{width:auto;min-height:36px;padding:4px 8px}.pdf-canvas-container{text-align:center;background:#e8ebf1;min-height:200px;margin-top:8px;padding:8px;overflow:auto}.pdf-canvas-container canvas{background:#fff;max-width:none;height:auto;box-shadow:0 1px 5px #0002}.pdf-print-frame{border:0;width:800px;height:1000px;position:fixed;top:0;left:-10000px}@media (width<=640px){.page-header .sync-indicator{flex-shrink:0;font-size:10px}.roster-order-table :is(th,td):first-child{width:48px}.pdf-preview-toolbar{position:static}.pdf-output-actions{width:100%}.pdf-output-actions .button{flex:1}}.header-competition-context .sync-indicator{flex-shrink:0;align-self:center;margin-left:auto}.pdf-zoom{align-items:center;gap:6px;font-size:12px;display:flex}.pdf-zoom select{width:auto;min-height:36px;padding:4px 8px}.competition-list-heading{height:0;min-height:0;padding:0}.competition-list-heading .list-heading-actions{display:none}.list-screen:has(.competition-list-heading){padding-top:16px}.competition-create{white-space:nowrap;order:2;height:40px;margin-left:auto}.competition-create+.refresh{order:3;margin-left:0}.table-competitions{min-width:720px}.table-competitions .action-col{width:180px}.table-competitions .row-actions{gap:2px}.nav-mobile-label{display:none}@media (width>=801px){.page-header .desktop-nav{display:flex}}@media (width<=800px){.competition-page{padding-bottom:calc(60px + env(safe-area-inset-bottom,0px))}.competition-page .page-header .desktop-nav{z-index:20;grid-template-columns:repeat(var(--nav-count,6), minmax(0, 1fr));height:calc(60px + env(safe-area-inset-bottom,0px));min-height:60px;padding:0 0 env(safe-area-inset-bottom,0px);background:var(--navy);gap:0;display:grid;position:fixed;inset:auto 0 0;box-shadow:0 -2px 8px #17295712}.competition-page .desktop-nav a{border-top:3px solid #0000;border-bottom:0;flex-direction:column;justify-content:center;gap:5px;min-width:0;padding:6px 2px}.competition-page .desktop-nav a[aria-current=page]{background:#ffffff20;border-top-color:#fff}.competition-page .desktop-nav .nav-label{display:none}.competition-page .nav-mobile-label{white-space:nowrap;font-size:clamp(7px,2.15vw,10px);line-height:1.2;display:block}.competition-page .desktop-nav svg{flex-shrink:0;width:20px;height:20px}.competition-page .toast{bottom:calc(74px + env(safe-area-inset-bottom,0px))}.attendance-mode .page-header .desktop-nav{background:#705015}.competition-create{height:44px}.table-competitions th:last-child,.table-competitions td:last-child{border-left:1px solid var(--border);padding-inline:6px;position:sticky;right:0}.table-competitions th:last-child{z-index:4}.table-competitions td:last-child{z-index:2}.table-competitions .row-actions .icon-button{width:38px;min-width:38px;height:40px}}.toolbar-actions{order:2;align-items:center;gap:8px;margin-left:auto;display:flex}@media (width<=360px){.competition-create{gap:6px;padding-inline:8px;font-size:12px}.list-screen:has(.competition-list-heading) .mobile-filter-toggle{padding-inline:8px;font-size:12px}}.athlete-gender-field legend{color:#394a65;font-size:12px;font-weight:600;line-height:1.6}.athlete-gender-options{align-items:center;gap:20px;min-height:44px;margin-top:7px;display:flex}.athlete-gender-options label{cursor:pointer;align-items:center;gap:8px;min-height:44px;display:inline-flex}.athlete-gender-options input[type=radio]{width:18px;height:18px;min-height:18px;accent-color:var(--navy);margin:0;padding:0}.entry-athlete-select{align-items:flex-end;gap:8px;display:flex}.entry-athlete-select>label{flex:1;min-width:0}.entry-athlete-select .button{flex-shrink:0;height:44px}@media (width<=640px){.entry-athlete-select .button{height:48px}}.athlete-picker .search{width:100%;max-width:none;display:flex}.athlete-picker .search input{margin:0}.athlete-picker-list{border:1px solid var(--border);max-height:50dvh;overflow:auto}.athlete-picker-list table{width:100%;min-width:0}.athlete-picker-list th:first-child,.athlete-picker-list td:first-child,.athlete-picker-list th:last-child,.athlete-picker-list td:last-child{white-space:nowrap;width:1%}.athlete-picker-list .selected-athlete-row td{background:#edf1fb}.athlete-picker-list .button{min-height:40px}.costume-screen .list-heading{flex-wrap:wrap;gap:10px}.costume-heading-actions{margin-left:auto}.table-costume{table-layout:auto;min-width:0}.table-costume :is(th,td):nth-child(3),.table-costume :is(th,td):nth-child(4){white-space:nowrap;width:1%;min-width:0}.table-costume .kana{width:0;min-width:100%;max-width:none}.table-costume .costume-categories{white-space:nowrap}.judging-screen,.judge-screen{color:#20314c;flex:1;width:100%;max-width:1800px;min-height:0;margin:0 auto;padding:24px;overflow:auto}.judging-view-tabs{flex-wrap:wrap;gap:8px;display:flex}.judging-view-tabs button{color:#20314c;background:#fff;border:1px solid #bbc8df;border-radius:5px;padding:12px 16px}.judging-view-tabs button[aria-selected=true]{color:#fff;background:#1d306e;border-color:#1d306e}.judging-plan{background:#fff;border:1px solid #d6deeb;border-radius:6px;padding:20px}.judging-plan h2{margin:0;font-size:19px}.judging-plan-table small{color:#617087;margin-top:6px;display:block}.judging-class-category{color:#617087;margin-bottom:4px;font-size:12px;display:block}.judging-plan-table td.judging-plan-skipped{background:#f5f6f8}.judging-plan-table th:first-child{z-index:1;background:#fff;min-width:200px;position:sticky;left:0}.judging-plan-table thead th:first-child{background:#edf1f7}.judging-plan-footer,.judging-control-summary{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin:16px 0;display:flex}.judging-plan-footer p{margin:0}.judging-control-layout{grid-template-columns:270px minmax(0,1fr);align-items:start;gap:20px;display:grid}.judging-class-list{gap:8px;max-height:calc(100dvh - 170px);padding:4px;display:grid;position:sticky;top:0;overflow:auto}.judging-class-list h2{margin:0 0 4px;font-size:16px}.judging-class-list button{text-align:left;color:#20314c;overflow-wrap:anywhere;background:#fff;border:1px solid #c6d1e5;border-radius:5px;gap:5px;min-height:85px;padding:12px;display:grid}.judging-class-list button[aria-pressed=true]{background:#eaf0fc;border:2px solid #1d306e;padding:11px}.judging-class-list button>span:not(.judging-class-category),.judging-class-list small{font-size:12px}.judging-current-badge{color:#1d5c3b;font-weight:700}.judging-control-detail{min-width:0}.judging-control-detail>.judging-panel:first-child{margin-top:0}.judging-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px;display:flex}.judging-heading h1{margin:0;font-size:24px}.judging-heading h2{margin:0;font-size:19px}.judging-heading p{margin:8px 0 0}.judging-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.judging-round-actions{align-items:flex-end}.judging-round-actions>.button,.judging-round-actions select{height:44px;min-height:44px}.judging-round-actions>label select{margin-top:0}.judging-toolbar{flex-wrap:wrap;align-items:end;gap:16px;margin:20px 0;display:flex}.judging-screen label,.judge-screen label,.judging-settings label{gap:7px;font-size:13px;font-weight:600;display:grid}.judging-screen select,.judge-screen select,.judging-settings input,.judging-settings select{max-width:100%;min-height:44px;font:inherit;color:inherit;background:#fff;border:1px solid #bbc8df;border-radius:5px;padding:9px 12px}.judging-toolbar label{flex:1;min-width:200px}.judging-toolbar .button{min-height:44px}.judging-panel,.judge-workspace{background:#fff;border:1px solid #d6deeb;border-radius:6px;margin:18px 0;padding:20px}.judging-empty{text-align:center;background:#fff;border:1px dashed #a6b5cf;border-radius:6px;margin:24px 0;padding:40px 24px}.judging-status{background:#edf0f6;border-radius:4px;padding:6px 10px}.judging-status.finished{color:#1d5c3b;background:#e0f0e6}.judging-status.open{color:#1b2d7a;background:#e4eaff}.judging-judge-status{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin:20px 0;display:grid}.judging-judge-status>div{border:1px solid #d6deeb;border-radius:5px;gap:10px;padding:12px;display:grid}.judging-judge-status span{font-size:12px}.judging-table-scroll{max-width:100%;margin:16px 0;overflow:auto}.judging-table-scroll table{border-collapse:collapse;width:100%}.judging-table-scroll th,.judging-table-scroll td{text-align:left;white-space:nowrap;border-bottom:1px solid #dbe2ed;padding:8px 10px}.judging-table-scroll thead{background:#edf1f7}.judging-table-scroll td.dropped-score{color:#8190a7;text-decoration:line-through}.judging-reset{border-top:1px solid #d6deeb;margin-top:20px;padding-top:16px}.judging-reset p{font-size:13px}.judging-reset summary,.judge-previous summary{cursor:pointer}.judging-events{margin:0;padding:0;list-style:none}.judging-events li{border-bottom:1px solid #e4e9f1;padding:10px 0;font-size:13px}.judging-events time{color:#5b6c89}.judging-events pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:320px;overflow:auto}.judging-settings{gap:16px;display:grid}.judging-settings .judging-table-scroll{margin:0}.judging-settings table input{width:120px}.judging-judge-names{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.score-edit-mode{background:#fff8eb}.score-edit-mode .modal-footer{background:#fff2d9}.score-edit-mode .score-grid th,.score-edit-mode .score-grid td{z-index:auto;height:auto;padding:3px 7px;font-size:13px;line-height:1.35;position:static;top:auto}.score-edit-mode .score-grid tbody th{background:#fff}.score-grid-scroll{max-height:calc(100dvh - 310px)}.score-edit-mode .score-grid thead th{z-index:3;background:#edf1f7;position:sticky;top:0}.score-edit-mode .score-grid tfoot th,.score-edit-mode .score-grid tfoot td{z-index:2;white-space:normal;background:#fff2d9;padding:6px 7px;position:sticky;bottom:0}.score-grid tfoot small{margin-top:2px;font-size:11px;display:block}.score-edit-mode .score-grid tfoot .score-input-ok{color:#1d5c3b;background:#e3f1e9}.score-edit-mode .score-grid tfoot .score-input-invalid{color:#9b431e}.score-edit-mode .score-grid input{width:72px;height:28px;min-height:28px;font:inherit;text-align:right;border:1px solid #b6c3d9;border-radius:4px;padding:3px 6px}.score-grid input:focus{outline:3px solid #436ac8}.score-grid th:nth-child(2){max-width:150px}.judge-preview-bar{background:#e9eef7;border-radius:5px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;margin-bottom:20px;padding:12px;font-size:13px;display:flex}.judge-preview-bar label{align-items:center;gap:8px;display:flex}.judge-board{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;display:grid}.judge-board.pickup{grid-template-columns:minmax(0,2fr) minmax(220px,1fr)}.judge-zone{background:#f6f8fb;border:1px solid #ccd7e8;border-radius:6px;min-width:0;padding:12px}.judge-zone h3{margin:4px 0 12px;font-size:16px}.judge-zone p{font-size:12px;line-height:1.5}.judge-zone-scroll{overscroll-behavior:auto;min-height:220px;max-height:calc(100dvh - 330px);padding:4px;overflow:auto}.judge-pool{grid-template-columns:repeat(auto-fill,minmax(185px,1fr));align-content:start;gap:10px;display:grid}.judge-card{cursor:grab;touch-action:none;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;color:#20314c;background:#fff;border:2px solid #c9d4e5;border-radius:7px;flex-wrap:wrap;align-items:center;gap:8px;min-height:60px;margin-bottom:8px;padding:10px;display:flex;position:relative}.judge-pool .judge-card{margin-bottom:0}.judge-card strong{overflow-wrap:anywhere;font-size:16px}.judge-bib{color:#172a66;min-width:35px;font-size:23px;font-weight:750}.judge-card.picked{background:#e3f1e9;border-color:#216145}.judge-card.held{background:#fff9e9;border-color:#bf933b}.judge-card.held-placeholder{color:#87909e;background:#e7e9ed;border-color:#c8cdd4}.judge-card.held-placeholder .judge-bib{color:#87909e}.judge-card.dragging{opacity:.45}.judge-card:focus-visible{outline:3px solid #5577cd}.judge-card[aria-disabled=true]{cursor:default;touch-action:pan-y}.judge-holding{background:#fffcf4}.judge-drop-hint{color:#647590;border:1px dashed #b8c7dd;border-radius:5px;justify-content:center;align-items:center;min-height:60px;font-size:13px;display:flex}.judge-rank-slot{align-items:center;gap:10px;min-height:64px;margin-bottom:10px;display:flex}.judge-rank-slot>.judge-card,.judge-rank-slot>.judge-drop-hint{flex:1;margin:0}.judge-rank-number{color:#1d306e;flex-shrink:0;width:28px;font-size:24px;font-weight:700}.judge-save-status{color:#4e617f;font-size:13px}.judge-drag-layer{pointer-events:none;display:contents}.judge-card.judge-drag-ghost{pointer-events:none;z-index:1000;box-sizing:border-box;margin:0;position:fixed;box-shadow:0 6px 20px #182e6640}@media (width<=760px){.judging-screen,.judge-screen{padding:14px 10px 24px}.judging-heading h1{font-size:21px}.judging-panel,.judge-workspace{padding:12px}.judging-toolbar{gap:10px}.judging-control-layout{grid-template-columns:minmax(0,1fr);gap:14px}.judging-class-list{max-height:240px;position:static}.judging-class-list button{min-height:70px}.judging-plan{padding:12px}.judging-plan-table th:first-child{white-space:normal;min-width:145px;max-width:170px}.judging-view-tabs button{flex:1;padding:10px 8px;font-size:12px}.judging-toolbar label{min-width:150px}.judging-judge-names{grid-template-columns:1fr}.judge-board,.judge-board.pickup{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}.judge-zone{padding:7px}.judge-zone h3{font-size:13px}.judge-zone-scroll{min-height:160px;max-height:65dvh;padding:1px}.judge-pool{grid-template-columns:1fr;gap:7px}.judge-card{gap:5px;min-height:60px;padding:8px}.judge-card strong{font-size:13px}.judge-bib{font-size:20px}.judge-rank-slot{gap:3px}.judge-rank-number{width:21px;font-size:19px}.judge-preview-bar{padding:10px}.judging-table-scroll th,.judging-table-scroll td{padding:8px}.judge-board .judge-drop-hint{font-size:11px}}@media (width>=761px) and (width<=1050px){.judge-pool{grid-template-columns:repeat(auto-fill,minmax(165px,1fr))}}.judging-application{--navy:#780c27;--border:#e5d6db;background:#faf5f6;padding-bottom:0}.judging-application .app-header{background:#780c27}.judging-application .primary:hover:not(:disabled){background:#5c071c}.judging-application .judging-view-tabs button[aria-selected=true]{background:#780c27;border-color:#780c27}.judging-application .judging-class-list button[aria-pressed=true]{background:#fae9ee;border-color:#780c27}.judging-application .judging-status.open{color:#780c27;background:#fae9ee}.judging-application .judging-table-scroll thead,.judging-application .judging-plan-table thead th:first-child,.judging-application .judge-preview-bar{background:#f1e5e9}.judging-application .judge-bib,.judging-application .judge-rank-number{color:#780c27}.judging-application .judge-card.held-placeholder .judge-bib{color:#87909e}.judging-application :is(button,a,input,select,[tabindex]):focus-visible{outline-color:#c16c82}.judging-application .judge-drag-ghost{border-color:#780c27;box-shadow:0 6px 20px #780c2740}.judging-application .judging-screen,.judging-application .judge-screen{color:#34252b}.judging-header-label{white-space:nowrap;border:1px solid #ffffff70;border-radius:4px;padding:5px 8px;font-size:12px}.judging-launch{white-space:nowrap;gap:6px}.judging-launch-error{margin:0;padding:12px}.judging-operating-area{border:0;min-width:0;margin:0;padding:0}.judging-operating-area:disabled{opacity:.55}.judging-count-choice{border:0;margin:0;padding:0}.judging-count-choice legend,.judging-settings h3{margin:0 0 8px;padding:0;font-size:15px;font-weight:700}.judging-settings .judging-count-choice label{border:1px solid var(--border);border-radius:5px;align-items:center;gap:8px;padding:9px 18px;display:flex}.judging-settings .judging-count-choice input{width:18px;height:18px;min-height:18px;accent-color:var(--navy);margin:0;padding:0}.judging-advance-control{flex-wrap:wrap;align-items:center;gap:12px;margin:12px 0 18px;font-size:13px;display:flex}.judging-advance-control .button{min-height:36px}.judging-plan-class{align-items:center;gap:8px;display:flex}.judging-order-handle{color:#780c27;touch-action:none;cursor:grab;background:#fff;border:1px solid #dac5cd;border-radius:4px;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:42px;padding:0;display:flex}.judging-order-handle:active{cursor:grabbing}.judging-order-dragging{opacity:.45}.judging-plan-table .judging-order-target>:is(th,td){background:#fae9ee;box-shadow:inset 0 3px #780c27}@media (width<=800px){.header-account:has(.judging-launch){flex-wrap:wrap;justify-content:flex-end}.header-account .judging-launch{padding:6px 8px;font-size:11px}.judging-application .header-competition-context{flex-wrap:wrap;gap:8px}.judging-application .toast{bottom:14px}}.judging-section-actions{white-space:nowrap;align-items:center;gap:8px;display:flex}.judging-view-tabs{border-bottom:2px solid #dcc7cd}.judging-view-tabs button{border-bottom:3px solid #0000;border-radius:6px 6px 0 0}.judging-view-tabs button[aria-selected=true]{border-bottom-color:var(--navy)}.judging-sections th,.judging-sections td{padding:10px 12px}.judging-class-names{border:1px solid #dcc7cd;border-radius:6px;margin-top:10px;padding:12px}.judging-class-names summary{cursor:pointer;font-weight:600}.judging-class-names .form-grid{margin-top:12px}.judging-setup-body{overflow-y:auto}.judging-plan-judges{white-space:normal;min-width:140px;max-width:200px}.judging-plan-judges small{white-space:normal}.class-judge-fields{border:1px solid var(--line);border-radius:6px;min-width:0;padding:12px}.class-judge-fields legend{font-weight:600}@media (width<=600px){.judging-section-actions{gap:5px}.judging-section-actions .button{padding:8px;font-size:12px}.judging-sections th,.judging-sections td{padding:8px 6px}.judging-sections th:nth-child(3),.judging-sections td:nth-child(3){display:none}}.wide-dialog:has(.judging-setup-body){overflow:hidden}.wide-dialog:has(.judging-setup-body)>.modal{flex-direction:column;min-height:0;max-height:calc(100dvh - 42px);display:flex}.wide-dialog:has(.judging-setup-body) .modal>header{flex-shrink:0}.wide-dialog:has(.judging-setup-body) .modal>.modal-footer{flex-shrink:0}.judging-setup-body{overscroll-behavior-y:contain;flex:1;min-height:0}@media (width<=640px){.wide-dialog:has(.judging-setup-body)>.modal{height:100dvh;max-height:100dvh}}.judge-card.pickup-card.picked:not(.held-placeholder){color:#fff;background:#780c27;border-color:#780c27}.judge-card.pickup-card.picked:not(.held-placeholder) .judge-bib{color:inherit}.judge-pickup-over{color:#c21d30;font-weight:700}.judge-pickup-complete,.judge-pickup-ok{color:#174fba;font-weight:700}.judge-pickup-ok{margin-left:10px}.judge-drop-active{outline-offset:-3px;outline:3px solid #a54a62}.judge-class-controls{grid-template-columns:minmax(0,1fr) auto;align-items:end;width:min(100%,600px);max-width:100%;display:grid}.judge-class-controls label{flex-direction:column;gap:8px;min-width:0;display:flex}.judge-class-controls select,.judge-class-controls>.button{box-sizing:border-box;height:44px;min-height:44px;margin:0}.judging-judge-status>div{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 8px}.judging-judge-confirmed{color:#216145;grid-column:1}.judging-judge-status .judging-lock-button{grid-area:1/2/span 2;width:44px;min-width:44px;height:44px;min-height:44px;padding:9px}.judging-lock-glyph{display:inline-flex;position:relative}.judging-unlock-slash{fill:none;stroke:currentColor;stroke-width:2.5px;stroke-linecap:round;width:22px;height:22px;position:absolute;inset:0}.judging-judge-csv-actions{flex-wrap:wrap;gap:8px;display:flex}.master-heading-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.master-mobile-csv{display:none}.judge-csv-cleared{color:#a72232;display:block}@media (width<=640px){.master-desktop-csv{display:none}.master-mobile-csv{margin-left:auto;display:block}.master-mobile-csv .judging-judge-csv-actions{flex-wrap:nowrap}.master-mobile-csv .button{width:44px;height:44px;min-height:44px;padding:0}.master-mobile-csv .button>span{display:none}.master-mobile-csv+.refresh{margin-left:0}}.judge-csv-body{min-height:0;overflow:auto}.judge-csv-preview{max-height:44dvh}.judge-csv-preview td small,.judge-csv-preview td strong{display:block}.judge-csv-summary{overflow-wrap:anywhere}
