.bjm-app{
    --bjm-blue:#16315f;
    --bjm-blue-2:#b5162b;
    --bjm-red:#b5162b;
    --bjm-red-dark:#8f1021;
    --bjm-ink:#17213f;
    --bjm-muted:#7a8499;
    --bjm-line:#e7ebf5;
    --bjm-soft:#f6f8fc;
    --bjm-white:#ffffff;
    --bjm-participants-bg:#edf7ff;
    --bjm-groups-bg:#fff6df;
    --bjm-stations-bg:#fff0e8;
    --bjm-points-bg:#ebfaef;
    max-width:430px;
    margin:18px auto 32px;
    padding:0 14px 24px;
    color:var(--bjm-ink);
    font-family:Arial,sans-serif;
    line-height:1.35;
    position:relative;
}
.bjm-app *{box-sizing:border-box}
.bjm-app:before{
    content:"";
    position:fixed;
    inset:0;
    z-index:-1;
    background:
        radial-gradient(circle at 10% 10%,rgba(181,22,43,.1),transparent 30%),
        radial-gradient(circle at 90% 24%,rgba(22,49,95,.14),transparent 34%),
        linear-gradient(145deg,#eef6ff 0%,#f6f8fc 52%,#eef6ff 100%);
}
.bjm-app-header{
    background:linear-gradient(135deg,var(--bjm-blue),var(--bjm-blue-2));
    color:#fff;
    border-radius:18px 18px 0 0;
    padding:20px 18px 30px;
    margin-bottom:-12px;
    display:flex;
    justify-content:flex-start;
    align-items:center;
    gap:12px;
    border-left:0;
    box-shadow:0 18px 42px rgba(31,66,216,.24);
    min-height:88px;
}
.bjm-brand{
    display:flex;
    align-items:center;
    gap:9px;
    color:#fff;
    text-decoration:none;
}
.bjm-brand-mark{
    width:32px;
    height:32px;
    border-radius:50%;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:#39d976;
    color:var(--bjm-blue);
    background:#fff;
    font-weight:900;
    border:3px solid rgba(255,255,255,.8);
    box-shadow:0 4px 12px rgba(0,0,0,.12);
}
.bjm-app-title{
    color:#fff;
    text-decoration:none;
    font-weight:800;
    font-size:13px;
    line-height:1.1;
    display:block;
}
.bjm-app-subtitle{
    color:#e5ecff;
    font-size:11px;
    font-weight:700;
    text-align:left;
    display:block;
}
.bjm-card{
    background:var(--bjm-white);
    border:1px solid rgba(231,235,245,.86);
    border-radius:12px;
    padding:14px;
    margin-bottom:10px;
    box-shadow:0 8px 20px rgba(33,45,82,.07);
    transition:border-color .18s ease,box-shadow .18s ease,background-color .18s ease,transform .18s ease;
}
.bjm-hero-card{
    border-top:0;
    border-radius:14px;
    position:relative;
    z-index:1;
}
.bjm-kicker{
    display:inline-block;
    color:var(--bjm-red);
    font-size:11px;
    font-weight:800;
    letter-spacing:0;
    text-transform:uppercase;
    margin-bottom:5px;
}
.bjm-app h1,.bjm-app h2{
    color:var(--bjm-blue);
    line-height:1.15;
    margin:0 0 10px;
    overflow-wrap:anywhere;
    letter-spacing:0;
}
.bjm-app h1{font-size:22px}
.bjm-app h2{font-size:13px;text-transform:uppercase;letter-spacing:0}
.bjm-heading-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:12px;
}
.bjm-hero-card > .bjm-heading-row{
    display:grid;
    grid-template-columns:1fr;
    gap:2px;
}
.bjm-collapsible-head{
    align-items:center;
}
.bjm-collapsible-head h2{
    margin-bottom:3px;
}
.bjm-collapsible-body[hidden]{
    display:none;
}
.bjm-section-card{
    border-left:0;
    padding:0;
    overflow:hidden;
}
.bjm-section-card:focus-within{
    border-color:#9bb6dc;
    box-shadow:0 10px 28px rgba(21,49,95,.14);
    transform:translateY(-1px);
}
.bjm-section-participants{
    background:var(--bjm-participants-bg);
}
.bjm-section-groups{
    background:var(--bjm-groups-bg);
    border-left-color:#d9a900;
}
.bjm-section-stations{
    background:var(--bjm-stations-bg);
    border-left-color:#b57a3a;
}
.bjm-section-points{
    background:var(--bjm-points-bg);
    border-left-color:#2f8f46;
}
.bjm-section-card .bjm-checkrow,
.bjm-section-card .bjm-score-row,
.bjm-section-card .bjm-editrow,
.bjm-section-card .bjm-score-config,
.bjm-section-card .bjm-score-table-wrap{
    background:rgba(255,255,255,.82);
}
.bjm-section-card .bjm-collapsible-head{
    padding:13px 14px;
    min-height:58px;
}
.bjm-section-card .bjm-collapsible-body{
    padding:0 14px 14px;
}
.bjm-section-card .bjm-toggle-section{
    width:32px;
    min-width:32px;
    height:32px;
    min-height:32px;
    border-radius:50%;
    padding:0;
    color:#fff;
    border-color:transparent;
    font-size:0;
}
.bjm-section-card .bjm-toggle-section:before{
    content:"";
    width:8px;
    height:8px;
    border-right:2px solid currentColor;
    border-bottom:2px solid currentColor;
    transform:rotate(45deg) translateY(-2px);
}
.bjm-section-card .bjm-toggle-section[aria-expanded="false"]:before{
    transform:rotate(-45deg);
}
.bjm-section-participants .bjm-toggle-section{background:#2486e8}
.bjm-section-groups .bjm-toggle-section{background:#e1ad10}
.bjm-section-stations .bjm-toggle-section{background:#f36b2c}
.bjm-section-points .bjm-toggle-section{background:#22a55a}
.bjm-section-card h2{
    margin-bottom:1px;
}
.bjm-section-participants h2{color:#2486e8}
.bjm-section-groups h2{color:#ad7d00}
.bjm-section-stations h2{color:#df642c}
.bjm-section-points h2{color:#1f8f46}
.bjm-section-card .bjm-checkrow:focus-within,
.bjm-section-card .bjm-score-row:focus-within,
.bjm-section-card .bjm-editrow:focus-within,
.bjm-section-card .bjm-score-config:focus-within{
    border-color:#95a9c7;
    box-shadow:0 0 0 3px rgba(35,75,143,.1);
}
.bjm-head-actions{
    display:flex;
    gap:8px;
    align-items:center;
    flex-wrap:nowrap;
    justify-content:flex-end;
    margin-left:auto;
}
.bjm-head-actions .bjm-btn:not(.bjm-toggle-section){
    min-width:124px;
}
.bjm-muted{
    color:var(--bjm-muted);
    font-size:12px;
}
.bjm-btn{
    appearance:none;
    border:1px solid var(--bjm-line);
    background:var(--bjm-soft);
    color:var(--bjm-blue);
    border-radius:8px;
    padding:10px 13px;
    min-height:40px;
    font-size:13px;
    font-weight:800;
    cursor:pointer;
    text-decoration:none;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    transition:background .15s ease,color .15s ease,border-color .15s ease;
}
.bjm-btn:hover{background:#e8edf6;color:var(--bjm-blue)}
.bjm-btn-primary{
    background:var(--bjm-red);
    color:#fff;
    border-color:var(--bjm-red);
    width:100%;
    box-shadow:0 7px 18px rgba(181,22,43,.24);
}
.bjm-btn-primary:hover{
    background:var(--bjm-red-dark);
    color:#fff;
    border-color:var(--bjm-red-dark);
}
.bjm-btn-danger{
    border-color:#f0b7bd;
    color:var(--bjm-red);
    background:#fff5f6;
}
.bjm-btn-small{
    padding:8px 10px;
    min-height:38px;
    font-size:14px;
}
.bjm-label{
    display:block;
    margin:12px 0 6px;
    color:var(--bjm-red);
    font-weight:800;
    font-size:12px;
}
.bjm-input{
    width:100%;
    border:1px solid #cbd5e1;
    border-radius:8px;
    padding:10px 11px;
    min-height:40px;
    font-size:14px;
    background:#fff;
    color:var(--bjm-ink);
    transition:border-color .16s ease,box-shadow .16s ease,background-color .16s ease;
}
.bjm-input:focus{
    outline:2px solid rgba(199,31,45,.25);
    border-color:var(--bjm-red);
}
.bjm-inline-edit{
    display:grid;
    grid-template-columns:1fr;
    gap:10px;
    align-items:stretch;
}
.bjm-inline-edit .bjm-input{flex:1}
.bjm-inline-status{
    margin-top:8px;
    font-size:14px;
    color:#344054;
    min-height:20px;
}
.bjm-list,.bjm-stack{
    display:flex;
    flex-direction:column;
    gap:10px;
}
.bjm-back-link{
    grid-column:1/-1;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    min-height:38px;
    margin-top:8px;
    padding:9px 12px;
    border-radius:8px;
    background:#f2f5fb;
    color:var(--bjm-ink);
    text-decoration:none;
    font-size:13px;
    font-weight:800;
}
.bjm-back-link span{
    margin-left:auto;
    color:var(--bjm-blue);
    font-size:18px;
    line-height:1;
}
.bjm-checkrow,.bjm-score-row,.bjm-editrow,.bjm-note-row,.bjm-evening-item,.bjm-stat{
    border:1px solid var(--bjm-line);
    border-radius:8px;
    background:var(--bjm-soft);
}
.bjm-checkrow,.bjm-score-row{
    display:flex;
    justify-content:space-between;
    gap:12px;
    align-items:center;
    padding:13px;
}
.bjm-checkrow strong{
    display:block;
    color:var(--bjm-blue);
    font-size:16px;
    margin-bottom:3px;
}
.bjm-checkrow small{
    display:block;
    color:var(--bjm-muted);
    font-size:13px;
    line-height:1.35;
    overflow-wrap:anywhere;
}
.bjm-checkrow input[type=checkbox]{
    width:28px;
    height:28px;
    flex:0 0 auto;
    accent-color:var(--bjm-red);
}
.bjm-editrow{
    display:flex;
    gap:8px;
    align-items:center;
    padding:10px;
    flex-wrap:wrap;
}
.bjm-editrow .bjm-input{flex:1}
.bjm-editrow select.bjm-input,
.bjm-editrow .bjm-station-score-label{
    flex:0 1 180px;
}
.bjm-mini-check{
    display:inline-flex;
    align-items:center;
    gap:7px;
    color:var(--bjm-blue);
    font-weight:800;
    min-height:44px;
    white-space:nowrap;
}
.bjm-mini-check input{
    width:20px;
    height:20px;
    accent-color:var(--bjm-red);
}
.bjm-evening-list{
    display:flex;
    flex-direction:column;
    gap:10px;
}
.bjm-evening-row{
    display:grid;
    grid-template-columns:1fr auto;
    gap:10px;
    align-items:stretch;
}
.bjm-evening-item{
    display:grid;
    grid-template-columns:1fr auto;
    gap:3px 12px;
    padding:13px;
    text-decoration:none;
    color:inherit;
    border-left:4px solid var(--bjm-red);
}
.bjm-evening-row .bjm-delete-evening{
    align-self:stretch;
    min-width:96px;
}
.bjm-evening-item:hover{background:#eef3fb}
.bjm-evening-date{
    font-size:14px;
    color:var(--bjm-red);
    font-weight:800;
}
.bjm-evening-item strong{
    color:var(--bjm-blue);
    grid-column:1/-1;
}
.bjm-evening-item .bjm-muted{grid-column:1/-1}
.bjm-stat-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
}
.bjm-stat{
    padding:14px;
    display:flex;
    flex-direction:column;
    border-left:4px solid var(--bjm-blue);
}
.bjm-stat strong{
    color:var(--bjm-red);
    font-size:28px;
    line-height:1;
}
.bjm-stat span{font-weight:700;color:var(--bjm-blue)}
.bjm-jumpnav{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
    margin:12px 0 6px;
}
.bjm-jumpnav a{
    border:0;
    border-radius:8px;
    background:#eef7ff;
    color:var(--bjm-blue);
    padding:10px 11px;
    text-decoration:none;
    font-weight:800;
    font-size:12px;
    text-align:center;
}
.bjm-jumpnav a:nth-child(2){
    background:#fff6df;
    color:#ad7d00;
}
.bjm-jumpnav a:nth-child(3){
    background:#fff0e8;
    color:#df642c;
}
.bjm-jumpnav a:nth-child(4){
    background:#ebfaef;
    color:#1f8f46;
}
.bjm-score-table-wrap{
    overflow:auto;
    border:1px solid var(--bjm-line);
    border-radius:8px;
}
.bjm-score-table{
    width:100%;
    border-collapse:collapse;
    background:#fff;
}
.bjm-score-table th,.bjm-score-table td{
    padding:10px;
    border-bottom:1px solid var(--bjm-line);
    text-align:left;
}
.bjm-score-table th{
    color:var(--bjm-blue);
    background:var(--bjm-soft);
}
.bjm-score-table input{min-width:118px}
.bjm-score-config{
    display:grid;
    grid-template-columns:1fr;
    gap:12px;
    align-items:stretch;
    border:1px solid var(--bjm-line);
    border-left:4px solid var(--bjm-red);
    border-radius:8px;
    background:var(--bjm-soft);
    padding:12px;
    margin:10px 0 14px;
}
.bjm-score-config .bjm-label{
    margin-top:0;
}
.bjm-score-config-check{
    align-self:stretch;
    min-height:42px;
    border:1px solid var(--bjm-line);
    border-radius:8px;
    background:#fff;
    padding:10px 12px;
}
.bjm-score-config > .bjm-btn{
    width:100%;
}
.bjm-score-control{
    display:flex;
    flex-direction:column;
    gap:8px;
    min-width:170px;
    border-radius:8px;
    padding:3px;
    transition:background-color .18s ease,box-shadow .18s ease;
}
.bjm-score-control:focus-within{
    background:rgba(255,255,255,.86);
    box-shadow:0 0 0 3px rgba(47,143,70,.12);
}
.bjm-score-control.is-saving{
    background:#fffbea;
    box-shadow:0 0 0 3px rgba(217,169,0,.18);
}
.bjm-score-control.is-saved{
    background:#edfdf3;
    box-shadow:0 0 0 3px rgba(47,143,70,.22);
}
.bjm-score-control.is-error{
    background:#fff5f6;
    box-shadow:0 0 0 3px rgba(199,31,45,.18);
}
.bjm-score-control.is-saving .bjm-score-input,
.bjm-score-control.is-saving .bjm-score-part{
    border-color:#d9a900;
}
.bjm-score-control.is-saved .bjm-score-input,
.bjm-score-control.is-saved .bjm-score-part{
    border-color:#2f8f46;
}
.bjm-score-control.is-error .bjm-score-input,
.bjm-score-control.is-error .bjm-score-part{
    border-color:var(--bjm-red);
}
.bjm-field-status{
    min-height:18px;
    color:#2f8f46;
    font-size:12px;
    font-weight:800;
    line-height:1.2;
    opacity:0;
    transition:opacity .15s ease;
}
.bjm-score-control.is-saving .bjm-field-status,
.bjm-score-control.is-saved .bjm-field-status,
.bjm-score-control.is-error .bjm-field-status{
    opacity:1;
}
.bjm-score-control.is-saving .bjm-field-status{
    color:#8a6a00;
}
.bjm-score-control.is-error .bjm-field-status{
    color:var(--bjm-red);
}
.bjm-score-label{
    color:var(--bjm-blue);
    font-size:13px;
    font-weight:800;
}
.bjm-score-parts{
    display:flex;
    flex-wrap:wrap;
    gap:6px;
    align-items:center;
}
.bjm-score-parts .bjm-score-part{
    width:96px;
    min-width:96px;
    padding:8px;
    min-height:38px;
}
.bjm-score-total{
    color:var(--bjm-red);
    font-weight:800;
    font-size:14px;
    white-space:nowrap;
}
.bjm-timer{
    display:flex;
    flex-wrap:wrap;
    gap:6px;
    align-items:center;
}
.bjm-time-display{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:78px;
    min-height:38px;
    border-radius:8px;
    background:var(--bjm-blue);
    color:#fff;
    font-weight:800;
    font-variant-numeric:tabular-nums;
}
.bjm-ranking{
    margin:0;
    padding-left:0;
    list-style:none;
}
.bjm-ranking li{
    display:flex;
    justify-content:space-between;
    gap:10px;
    padding:8px 0;
    border-bottom:1px solid #edf1f7;
    font-size:12px;
}
.bjm-ranking strong{color:var(--bjm-blue)}
.bjm-ranking span{color:var(--bjm-red);font-weight:800}
.bjm-login-wrap{
    max-width:420px;
    margin:30px auto;
    padding:18px;
    border:1px solid var(--bjm-line);
    border-radius:8px;
    background:#fff;
    box-shadow:0 8px 24px rgba(21,49,95,.08);
}
.bjm-login-wrap form p{margin-bottom:14px}
.bjm-login-wrap input[type=text],.bjm-login-wrap input[type=password]{
    width:100%;
    padding:10px 12px;
    min-height:44px;
    border:1px solid #cbd5e1;
    border-radius:8px;
}
.bjm-empty{
    color:var(--bjm-muted);
    margin:0;
}
.bjm-subsection-head{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:10px;
    margin:18px 0 8px;
}
.bjm-subsection-head h2{
    margin:0;
    font-size:13px;
}
.bjm-note-row{
    display:flex;
    flex-direction:column;
    gap:8px;
    padding:12px;
    background:#f8fbff;
}
.bjm-note-actions{
    display:flex;
    gap:8px;
    flex-wrap:wrap;
}
.bjm-note-row textarea{
    min-height:90px;
    resize:vertical;
}
@media (max-width:700px){
    .bjm-app{
        margin:8px auto;
        padding:0 6px 18px;
    }
    .bjm-app-header{
        align-items:center;
        flex-direction:row;
        padding:18px 15px 34px;
        gap:10px;
        margin-bottom:-12px;
        min-height:92px;
    }
    .bjm-app-title{font-size:14px}
    .bjm-app-subtitle{
        text-align:left;
        font-size:11px;
    }
    .bjm-card{
        padding:12px;
        margin-bottom:9px;
        box-shadow:0 6px 16px rgba(33,45,82,.06);
    }
    .bjm-app h1{font-size:24px}
    .bjm-app h2{font-size:13px}
    .bjm-heading-row,.bjm-inline-edit,.bjm-editrow,.bjm-subsection-head,.bjm-note-actions{
        flex-direction:column;
        align-items:stretch;
    }
    .bjm-collapsible-head{
        align-items:stretch;
    }
    .bjm-head-actions{
        justify-content:flex-end;
        flex-wrap:nowrap;
        margin-left:auto;
    }
    .bjm-head-actions .bjm-btn{
        flex:0 0 auto;
    }
    .bjm-head-actions .bjm-btn:not(.bjm-toggle-section){
        min-width:124px;
    }
    .bjm-section-card .bjm-toggle-section{
        width:32px;
        min-width:32px;
        flex:0 0 32px;
    }
    .bjm-section-card .bjm-collapsible-head{
        padding:11px 12px;
        min-height:54px;
    }
    .bjm-section-card .bjm-collapsible-body{
        padding:0 8px 10px;
    }
    .bjm-list,.bjm-stack{
        gap:8px;
    }
    .bjm-section-card > .bjm-collapsible-head{
        flex-direction:row;
        align-items:center;
    }
    .bjm-editrow select.bjm-input,
    .bjm-editrow .bjm-station-score-label{
        flex:auto;
    }
    .bjm-mini-check{
        white-space:normal;
    }
    .bjm-score-config{
        grid-template-columns:1fr;
    }
    .bjm-score-config-check{
        align-self:stretch;
    }
    .bjm-evening-row{
        grid-template-columns:1fr;
    }
    .bjm-btn{
        width:100%;
        text-align:center;
    }
    .bjm-stat-grid{grid-template-columns:1fr 1fr}
    .bjm-checkrow,.bjm-score-row{
        align-items:center;
        padding:10px;
    }
    .bjm-jumpnav{
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
    .bjm-jumpnav a{
        text-align:center;
        padding:9px 6px;
    }
    .bjm-score-row{
        align-items:stretch;
        flex-direction:column;
    }
    .bjm-note-row,
    .bjm-editrow,
    .bjm-score-config{
        padding:10px;
    }
    .bjm-score-control{
        min-width:0;
    }
    .bjm-score-table input{
        min-width:126px;
    }
    .bjm-score-parts .bjm-score-part{
        width:108px;
        min-width:108px;
    }
    .bjm-timer .bjm-btn{
        width:auto;
        flex:1 1 70px;
    }
}
@media (max-width:420px){
    .bjm-stat-grid{grid-template-columns:1fr}
    .bjm-jumpnav{grid-template-columns:1fr}
}
@media (prefers-reduced-motion:reduce){
    .bjm-card,
    .bjm-input,
    .bjm-score-control,
    .bjm-field-status{
        transition:none;
    }
    .bjm-section-card:focus-within{
        transform:none;
    }
}

/* Accessibility and responsive polish: 1.3.1 */
.bjm-app{box-sizing:border-box;--bjm-blue:#142d57;--bjm-red:#a51226;--bjm-red-dark:#7f0d1c;--bjm-ink:#17213a;--bjm-muted:#566176;--bjm-line:#dce3ee;max-width:760px;padding:0 12px 24px;font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;line-height:1.5;color-scheme:light}
.bjm-app:before{display:none}
.bjm-app-header{background:var(--bjm-blue);border:1px solid #0f2448;border-bottom:4px solid var(--bjm-red);border-radius:8px 8px 0 0;padding:18px 20px 26px;min-height:82px;box-shadow:0 12px 28px rgba(20,45,87,.18)}
.bjm-brand-mark{width:36px;height:36px;color:var(--bjm-red);border-width:2px;box-shadow:none}
.bjm-app-title{font-size:15px}.bjm-app-subtitle{color:#dfe8f7;font-size:12px}
.bjm-card,.bjm-hero-card,.bjm-login-wrap{border-radius:8px}
.bjm-card{padding:18px;margin-bottom:12px;box-shadow:0 5px 16px rgba(23,33,58,.07)}
.bjm-app h1{font-size:clamp(1.55rem,1.35rem + .7vw,2rem);line-height:1.15}.bjm-app h2{font-size:14px}.bjm-muted{color:var(--bjm-muted)}
.bjm-btn{min-height:44px;padding:10px 14px}.bjm-btn-small{min-height:42px}.bjm-input{min-height:44px;font-size:16px}
.bjm-section-card .bjm-toggle-section{width:44px;min-width:44px;height:44px;min-height:44px;border-radius:8px}.bjm-section-card .bjm-toggle-section:before{width:9px;height:9px}
.bjm-section-card .bjm-collapsible-head{min-height:66px;padding:11px 14px}.bjm-section-card .bjm-collapsible-body{padding:0 14px 14px}
.bjm-checkrow{min-height:58px}.bjm-checkrow input[type=checkbox]{width:30px;height:30px}.bjm-mini-check input{width:22px;height:22px}
.bjm-inline-status{color:#344054;font-weight:700}.bjm-inline-status.is-error{color:#a51226}
.bjm-back-link:hover,.bjm-jumpnav a:hover{filter:brightness(.97)}
.bjm-evening-item:focus-visible,.bjm-back-link:focus-visible,.bjm-jumpnav a:focus-visible,.bjm-brand:focus-visible,.bjm-btn:focus-visible,.bjm-input:focus-visible,.bjm-checkrow input:focus-visible,.bjm-mini-check input:focus-visible{outline:3px solid #f0a7b2;outline-offset:2px}
.bjm-input:focus{outline:none;border-color:var(--bjm-red);box-shadow:0 0 0 3px rgba(165,18,38,.14)}
.bjm-btn:disabled,.bjm-input:disabled{cursor:not-allowed;opacity:.62}
.bjm-visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.bjm-score-table-wrap{overscroll-behavior-inline:contain}.bjm-score-table th:first-child{position:sticky;left:0;z-index:2;min-width:110px;box-shadow:1px 0 0 var(--bjm-line)}
.bjm-score-table thead th{position:sticky;top:0;z-index:3}.bjm-score-table thead th:first-child{z-index:4}
.bjm-ranking li{min-height:42px;align-items:center;font-size:13px}.bjm-ranking span{text-align:right}.bjm-ranking-note{color:var(--bjm-muted)}
@media (min-width:701px){.bjm-hero-card>.bjm-heading-row{grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:start}.bjm-back-link{grid-column:auto;min-width:180px;margin-top:0}.bjm-inline-edit{grid-template-columns:minmax(0,1fr) auto}.bjm-inline-edit .bjm-btn-primary{width:auto;min-width:180px}.bjm-stat{min-height:104px}.bjm-editrow .bjm-save-group,.bjm-editrow .bjm-save-station{margin-left:auto}}
@media (max-width:700px){.bjm-app{width:100%;margin:6px auto;padding:0 4px 16px}.bjm-app-header{padding:16px 14px 26px;min-height:84px}.bjm-card{padding:12px;margin-bottom:8px}.bjm-section-card .bjm-collapsible-head{padding:8px 10px;min-height:60px}.bjm-section-card .bjm-collapsible-body{padding:0 6px 8px}.bjm-section-card .bjm-toggle-section{width:44px;min-width:44px;flex:0 0 44px}.bjm-head-actions{gap:6px}.bjm-head-actions .bjm-btn:not(.bjm-toggle-section){min-width:108px}.bjm-checkrow,.bjm-score-row{padding:9px}.bjm-checkrow strong{font-size:15px}.bjm-checkrow small{font-size:12px}.bjm-jumpnav{grid-template-columns:repeat(2,minmax(0,1fr))}.bjm-jumpnav a{min-height:42px;display:flex;align-items:center;justify-content:center}.bjm-note-actions{display:grid;grid-template-columns:1fr 1fr}.bjm-note-actions .bjm-btn{width:100%}.bjm-evening-row .bjm-delete-evening{min-height:44px}.bjm-score-table th,.bjm-score-table td{padding:8px}.bjm-score-table input{min-width:112px}}
@media (max-width:360px){.bjm-app{padding-inline:2px}.bjm-card{padding:10px}.bjm-head-actions .bjm-btn:not(.bjm-toggle-section){min-width:96px;padding-inline:8px}.bjm-stat-grid{grid-template-columns:1fr}}
@media (forced-colors:active){.bjm-btn,.bjm-input,.bjm-card,.bjm-section-card,.bjm-checkrow{border:1px solid CanvasText}.bjm-time-display{border:1px solid CanvasText}}
/* Standalone login and semantic content */
.bjm-login-wrap,.bjm-card{--bjm-blue:#142d57;--bjm-red:#a51226;--bjm-red-dark:#7f0d1c;--bjm-ink:#17213a;--bjm-muted:#566176;--bjm-line:#dce3ee;--bjm-soft:#f6f8fc}
.bjm-app-content{display:block}
.bjm-login-wrap{font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;color:#17213a}
.bjm-login-wrap label{display:block;margin-bottom:5px;font-weight:700;color:#142d57}
.bjm-login-wrap input[type=text],.bjm-login-wrap input[type=password]{font-size:16px;color:#17213a}
.bjm-login-wrap input[type=submit]{appearance:none;width:100%;min-height:44px;border:1px solid #a51226;border-radius:8px;background:#a51226;color:#fff;font-size:15px;font-weight:800;cursor:pointer}
.bjm-login-wrap input[type=submit]:hover{background:#7f0d1c;border-color:#7f0d1c}
.bjm-login-wrap input:focus-visible{outline:3px solid #f0a7b2;outline-offset:2px}
/* WCAG contrast corrections for coded work areas */
.bjm-section-participants h2,.bjm-jumpnav a:nth-child(1){color:#1769aa}
.bjm-section-groups h2,.bjm-jumpnav a:nth-child(2){color:#765300}
.bjm-section-stations h2,.bjm-jumpnav a:nth-child(3){color:#9e3f17}
.bjm-section-points h2,.bjm-jumpnav a:nth-child(4){color:#176c35}
.bjm-section-participants .bjm-toggle-section{background:#1769aa}
.bjm-section-groups .bjm-toggle-section{background:#765300}
.bjm-section-stations .bjm-toggle-section{background:#9e3f17}
.bjm-section-points .bjm-toggle-section{background:#176c35}
.bjm-score-control.is-saved .bjm-field-status{color:#176c35}
.bjm-evening-item:focus-visible,.bjm-back-link:focus-visible,.bjm-jumpnav a:focus-visible,.bjm-brand:focus-visible,.bjm-btn:focus-visible,.bjm-input:focus-visible,.bjm-checkrow input:focus-visible,.bjm-mini-check input:focus-visible{outline-color:#142d57;box-shadow:0 0 0 2px #fff}