:root{--wb-blue:#1268c4;--wb-dark:#101828;--wb-yellow:#ffd500;--wb-border:#d8e0ea;--wb-muted:#667085;--wb-bg:#f3f6fa;--wb-green:#138a4b;--wb-red:#c72c41}*{box-sizing:border-box}.wos-builder-body{margin:0;background:var(--wb-bg);color:var(--wb-dark);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.wos-builder-site-head{min-height:72px;background:#071a33;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:12px clamp(18px,4vw,64px);box-shadow:0 4px 18px rgba(15,23,42,.18)}.wos-builder-site-head>div{display:flex;align-items:center;gap:18px}.wos-builder-site-head>div>span{font-size:13px;text-transform:uppercase;letter-spacing:.12em;color:#b9cae0}.wos-builder-site-head nav{display:flex;align-items:center;gap:16px;font-size:14px}.wos-builder-site-head a{color:#fff;text-decoration:none}.wos-builder-logo{font-weight:950;font-size:27px;letter-spacing:-1.6px;color:#fff}.wos-builder-logo em{color:var(--wb-yellow);font-style:italic}.wos-builder-login{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 50% 0,#164f91 0,#071a33 45%,#030a14 100%)}.wos-builder-login-card{width:min(440px,100%);background:#fff;border-radius:18px;padding:38px;box-shadow:0 22px 80px rgba(0,0,0,.35)}.wos-builder-login-card .wos-builder-logo{display:inline-block;background:#071a33;padding:10px 16px;border-radius:10px}.wos-builder-kicker{margin:28px 0 6px;color:var(--wb-blue);font-weight:800;letter-spacing:.15em;font-size:12px}.wos-builder-login-card h1{font-size:32px;margin:0 0 8px}.wos-builder-login-card>p{color:var(--wb-muted);line-height:1.55}.wos-builder-login-card label{display:block;font-weight:750;font-size:14px;margin:18px 0 6px}.wos-builder-login-card input[type=text],.wos-builder-login-card input[type=password]{width:100%;height:48px;border:1px solid var(--wb-border);border-radius:8px;padding:0 13px;font-size:16px}.wos-builder-login-card .login-remember label{display:flex;gap:8px;align-items:center;font-weight:500}.wos-builder-login-card .button-primary,.wos-builder-primary-link{display:block;width:100%;border:0;background:var(--wb-blue);color:#fff;text-align:center;text-decoration:none;border-radius:8px;padding:14px 16px;font-weight:850;font-size:15px;cursor:pointer}.wos-builder-forgot{display:block;text-align:center;margin-top:18px;color:var(--wb-blue)}#wos-builder-app{width:min(1500px,calc(100% - 32px));margin:28px auto 70px}.wos-builder-loading{min-height:420px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;color:var(--wb-muted)}.wos-builder-loading span,.wb-spinner{width:38px;height:38px;border:4px solid #d7e1ec;border-top-color:var(--wb-blue);border-radius:50%;animation:wb-spin .8s linear infinite}@keyframes wb-spin{to{transform:rotate(360deg)}}.wb-hero{display:flex;justify-content:space-between;gap:24px;align-items:flex-end;margin-bottom:20px}.wb-hero p{color:var(--wb-blue);font-weight:850;letter-spacing:.12em;font-size:12px;margin:0 0 4px}.wb-hero h1{font-size:clamp(28px,4vw,44px);margin:0;letter-spacing:-1.5px}.wb-hero span{color:var(--wb-muted)}.wb-card{background:#fff;border:1px solid var(--wb-border);border-radius:14px;box-shadow:0 3px 12px rgba(16,24,40,.05);margin-bottom:18px;overflow:hidden}.wb-card-head{padding:20px 22px;border-bottom:1px solid #e7ecf2;display:flex;align-items:center;justify-content:space-between;gap:16px}.wb-card-head h2{margin:0;font-size:20px}.wb-card-head p{margin:4px 0 0;color:var(--wb-muted)}.wb-card-body{padding:22px}.wb-fields{display:grid;grid-template-columns:2fr 1fr 1fr 1fr 1fr;gap:14px}.wb-field label{display:block;font-size:12px;font-weight:850;text-transform:uppercase;letter-spacing:.06em;color:#475467;margin-bottom:7px}.wb-input,.wb-select{width:100%;height:44px;border:1px solid #cfd8e3;border-radius:8px;background:#fff;padding:0 11px;font:inherit;color:var(--wb-dark)}.wb-input:focus,.wb-select:focus{outline:3px solid rgba(18,104,196,.14);border-color:var(--wb-blue)}.wb-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px;border:1px solid #b9c6d5;background:#fff;color:#24344d;border-radius:8px;padding:9px 14px;font-weight:800;cursor:pointer}.wb-btn:hover{border-color:var(--wb-blue);color:var(--wb-blue)}.wb-btn:disabled{opacity:.45;cursor:not-allowed}.wb-btn.primary{background:var(--wb-blue);border-color:var(--wb-blue);color:#fff}.wb-btn.success{background:var(--wb-green);border-color:var(--wb-green);color:#fff}.wb-btn.danger{border-color:#efb2ba;color:var(--wb-red)}.wb-btn.large{min-height:50px;padding:12px 22px;font-size:16px}.wb-message{padding:14px 17px;border-radius:9px;margin-bottom:18px;background:#eaf3ff;border:1px solid #bad6f4;color:#174f89;font-weight:700}.wb-message.error{background:#fff0f1;border-color:#f4b8c0;color:#9f1d31}.wb-summary-strip{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}.wb-summary-strip span{background:#eef4fb;border-radius:999px;padding:7px 11px;font-size:13px;color:#36516f}.wb-division-list{display:grid;gap:10px}.wb-division{display:grid;grid-template-columns:42px minmax(210px,1fr) 100px 110px 110px 110px 120px 110px;align-items:end;gap:10px;padding:14px;border:1px solid var(--wb-border);border-radius:10px;background:#fbfcfe}.wb-division.active{border-color:#8db9e8;background:#f5faff}.wb-drag{align-self:center;font-size:21px;color:#7b8ca2;cursor:grab;text-align:center}.wb-division-name{align-self:center}.wb-division-name label{display:flex;align-items:center;gap:10px;font-weight:850}.wb-division-name small{display:block;color:var(--wb-muted);margin:5px 0 0 28px}.wb-check{width:18px;height:18px;accent-color:var(--wb-blue)}.wb-mini-field label{display:block;font-size:10px;line-height:1.2;text-transform:uppercase;letter-spacing:.04em;color:#667085;font-weight:800;margin-bottom:5px}.wb-mini-field input{width:100%;height:38px;border:1px solid #cfd8e3;border-radius:7px;padding:0 8px}.wb-feature-toggle{height:38px;display:flex;align-items:center;gap:6px;font-size:13px;font-weight:700}.wb-build-action{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:18px}.wb-build-action p{margin:0;color:var(--wb-muted)}.wb-preview-tools{display:flex;gap:10px;flex-wrap:wrap;align-items:end}.wb-info-fields{display:grid;grid-template-columns:minmax(220px,1fr) 120px auto;gap:9px;align-items:end;flex:1}.wb-table-wrap{overflow:auto}.wb-table{width:100%;border-collapse:collapse;min-width:820px}.wb-table th{background:#f2f5f8;text-align:left;font-size:11px;text-transform:uppercase;letter-spacing:.05em;color:#59687c;padding:10px;border-bottom:1px solid var(--wb-border)}.wb-table td{padding:8px;border-bottom:1px solid #e8edf3;vertical-align:middle}.wb-table tr.info{background:#fffbe8}.wb-table .wb-input{height:37px}.wb-order-buttons{display:flex;align-items:center;gap:4px}.wb-order-buttons b{width:25px}.wb-icon{width:29px;height:29px;border:1px solid #cbd5e1;background:#fff;border-radius:6px;cursor:pointer}.wb-table .division{color:#52657b;font-size:13px}.wb-preview-footer{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:18px 22px;background:#f9fbfd;border-top:1px solid var(--wb-border)}.wb-preview-footer strong{display:block;font-size:16px}.wb-preview-footer span{color:var(--wb-muted);font-size:13px}.wb-actions{display:flex;gap:10px;flex-wrap:wrap}.wb-empty{text-align:center;padding:36px;color:var(--wb-muted)}.wb-submissions{display:grid;gap:9px}.wb-submission{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:13px 15px;border:1px solid var(--wb-border);border-radius:9px}.wb-submission strong{display:block}.wb-submission small{color:var(--wb-muted)}.wb-status{display:inline-flex;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:900;text-transform:uppercase}.wb-status.draft{background:#e9eef5;color:#4b5e75}.wb-status.submitted{background:#fff0bf;color:#745600}.wb-status.approved{background:#d9f6e6;color:#116639}.wb-status.rejected{background:#ffe1e5;color:#9f1d31}@media(max-width:1150px){.wb-division{grid-template-columns:38px minmax(210px,1fr) repeat(3,95px);align-items:end}.wb-division .wb-mini-field:nth-last-child(-n+3),.wb-division .wb-feature-toggle{grid-column:auto}.wb-fields{grid-template-columns:2fr 1fr 1fr}.wb-fields .wb-field:nth-last-child(-n+2){grid-column:auto}}@media(max-width:760px){.wos-builder-site-head{align-items:flex-start;gap:12px}.wos-builder-site-head>div{display:block}.wos-builder-site-head>div>span{display:block;margin-top:2px}.wos-builder-site-head nav span{display:none}#wos-builder-app{width:min(100% - 20px,1500px);margin-top:16px}.wb-hero{display:block}.wb-hero>span{display:block;margin-top:8px}.wb-fields{grid-template-columns:1fr 1fr}.wb-fields .wb-field:first-child{grid-column:1/-1}.wb-division{grid-template-columns:30px 1fr 1fr;padding:12px}.wb-division-name{grid-column:2/-1}.wb-build-action,.wb-preview-footer,.wb-card-head{align-items:flex-start;flex-direction:column}.wb-info-fields{width:100%;grid-template-columns:1fr 90px}.wb-info-fields .wb-btn{grid-column:1/-1}.wb-actions{width:100%}.wb-actions .wb-btn{flex:1}.wb-submission{align-items:flex-start;flex-direction:column}.wos-builder-login-card{padding:28px 22px}}

/* Run-sheet builder 2.2.1: phone-first race editing. */
.wb-division{grid-template-columns:42px minmax(210px,1fr) 100px 110px 110px 66px 120px 110px}.wb-feature-field{max-width:66px}.wb-feature-field>.wb-feature-toggle{margin:0;width:62px;height:22px;border:1px solid #cfd8e3;border-radius:5px;background:#fff;padding:0 4px;justify-content:center;text-transform:none;letter-spacing:0;color:var(--wb-dark);font-size:10px;line-height:1}.wb-feature-field>.wb-feature-toggle .wb-check{width:13px;height:13px;margin:0}.wb-feature-field>label:first-child{font-size:9px;white-space:nowrap}
.wb-table th:nth-child(1){width:104px}.wb-table th:nth-child(2),.wb-table td:nth-child(2){width:104px}.wb-table th:nth-child(3){width:auto;font-size:13px;color:#26364d}.wb-table th:nth-child(4){width:170px}.wb-table th:nth-child(5){width:130px}.wb-table th:nth-child(6){width:44px}
.wb-table .wb-time-input{width:88px;padding:0 6px;font-size:13px}.wb-table .wb-race-input{min-width:300px;font-size:16px;font-weight:800}.wb-laps-cell{display:flex;align-items:center;gap:7px}.wb-laps-cell .wb-input{width:66px}.wb-laps-cell small{white-space:nowrap;color:var(--wb-muted);font-size:11px;font-weight:750}
@media(max-width:760px){.wb-card-body{padding:14px}.wb-division{gap:9px}.wb-feature-field>.wb-feature-toggle{height:24px}.wb-table{min-width:700px}.wb-table th:nth-child(1){width:88px}.wb-table th:nth-child(2),.wb-table td:nth-child(2){width:90px}.wb-table th:nth-child(4){width:120px}.wb-table th:nth-child(5){width:112px}.wb-table .wb-time-input{width:76px;font-size:12px}.wb-table .wb-race-input{min-width:270px}.wb-order-buttons{gap:2px}.wb-order-buttons b{width:20px}.wb-icon{width:27px}.wb-info-fields{grid-template-columns:minmax(0,1fr) 82px}}

/* Run-sheet builder 2.2.2: insert information at an event number. */
.wb-info-fields{grid-template-columns:minmax(210px,1fr) minmax(260px,1.2fr) 90px auto}.wb-insert-help{margin:8px 0 0;color:var(--wb-muted);font-size:13px}.wb-insert-position option{font-size:14px}
@media(max-width:760px){.wb-info-fields{grid-template-columns:minmax(0,1fr) 82px}.wb-info-fields>.wb-field:first-child,.wb-info-fields>.wb-insert-position{grid-column:1/-1}.wb-info-fields>.wb-duration-field{grid-column:1/2}.wb-insert-help{line-height:1.45}}

/* Run-sheet builder 2.2.3: nomination-based heat suggestions. */
.wb-division.needs-manual{border-color:#e6a23c;background:#fff9ed}.wb-division.needs-manual .wb-division-name small{color:#9a5a00;font-weight:800}.wb-division.needs-manual [data-field="heats"]{border-color:#db8b18;background:#fff}

/* Run-sheet builder 2.2.4: printable promoter run sheet. */
.wb-print-btn{border-color:#7f91a8;color:#172f50}
