.section.bm-workspace{width:100%;max-width:1800px;min-width:0;margin-left:auto;margin-right:auto;padding-left:clamp(16px,4vw,64px);padding-right:clamp(16px,4vw,64px)}.bm-exercises{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.bm-workspace small{display:block;line-height:1.5;margin-top:5px;font-weight:400;text-transform:none;letter-spacing:0}.bm-inline{display:inline-block;margin-left:15px!important}.bm-entry{width:max-content;min-width:100%}.bm-entry th[scope=row]{min-width:170px;background:#e8e2d8;position:sticky;left:0;z-index:1}.bm-entry td{min-width:150px;max-width:190px}.bm-entry td label{margin-bottom:12px;font-size:10px}.bm-entry input[type=number]{min-width:110px;width:100%;padding:11px 8px}.bm-entry input[readonly]{background:#eeeae2;color:#666}.bm-pagination{display:flex;flex-wrap:wrap;gap:10px;margin:25px 0}.bm-pagination [aria-current=page]{background:#701c38;color:white;border-color:#701c38}.bm-instructions{font-size:14px;background:#eae4d8;padding:20px;border-left:3px solid #701c38}.bm-filters{display:flex;flex-wrap:wrap}.bm-filters select{max-width:300px;min-width:190px}.bm-report th{min-width:190px}.bm-report th:first-child{min-width:230px}.bm-report td{white-space:nowrap}.bm-report th[scope=row]{background:#eeebe4;text-transform:none;font-size:12px;letter-spacing:0;position:sticky;left:0;z-index:1}.bm-up{color:#20603e;font-weight:700}.bm-down{color:#9a2942;font-weight:700}.bm-flat{color:#63594d}.bm-entry-form .table-wrap{margin-bottom:20px}.bm-module-link{display:block}.bm-module-link strong{font-size:12px;text-decoration:underline;color:#701c38}.bm-reload{display:inline-block;margin:0 0 20px;text-decoration:underline}.bm-upgrade-link{font-size:12px}.bm-report .badge{white-space:normal}@media(max-width:850px){.bm-exercises{grid-template-columns:1fr 1fr}.bm-inline{display:block;margin:10px 0 0!important}.bm-entry th[scope=row]{min-width:140px}.bm-entry td{min-width:130px}.bm-entry input[type=number]{min-width:100px}.bm-report th[scope=row]{position:static}}@media(max-width:580px){.bm-exercises{grid-template-columns:1fr}.bm-filters select{max-width:none;width:100%}.bm-entry th[scope=row]{min-width:110px;max-width:135px;font-size:10px}.bm-workspace .lead{font-size:16px}.bm-entry td{min-width:125px}}

.legacy-confirm{white-space:normal;align-items:flex-start;line-height:1.6}.legacy-confirm input{flex:0 0 16px;margin-top:2px}

/* Keep benchmarking controls within the viewport; wide data scrolls inside its table. */
.bm-workspace .filter-form{flex-wrap:wrap}
.bm-workspace .filter-form>label{flex:1 1 220px;min-width:0;max-width:100%}
.bm-workspace .filter-form select{width:100%;min-width:0;max-width:100%}
.bm-workspace .filter-form>button{flex:0 0 auto;max-width:100%;white-space:normal}
.bm-workspace .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.bm-workspace .form-grid>*,.bm-exercises>*,.bm-entry-form{min-width:0}
.bm-workspace .form-grid input,.bm-workspace .form-grid select{min-width:0;max-width:100%}
.bm-exercises .check{white-space:normal;overflow-wrap:anywhere}
.bm-exercises .check input{flex-shrink:0}
.bm-workspace .table-wrap{width:100%;min-width:0;-webkit-overflow-scrolling:touch}
.bm-workspace h1{overflow-wrap:anywhere}
@media(max-width:580px){.bm-workspace .form-grid{grid-template-columns:minmax(0,1fr)}.bm-workspace .filter-form>label{flex:0 1 auto;width:100%}.bm-workspace .filter-form>button{align-self:flex-start}.bm-workspace .panel{padding:16px}}

.bm-current-event{padding:12px 0;border-bottom:3px solid var(--primary);overflow-wrap:anywhere}.bm-workspace [data-bm-attempt] fieldset{min-width:0}.bm-workspace [data-bm-attempt] .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bm-workspace [data-bm-attempt] input{min-width:0;width:100%}.bm-workspace .module-list>a{min-height:60px;display:flex;align-items:center;justify-content:center;text-align:center;white-space:normal}

.bm-current-event{position:sticky;top:76px;z-index:20;background:var(--paper,#fff)}@media(max-width:850px){.bm-current-event{top:calc(68px + env(safe-area-inset-top));font-size:24px}}

.bm-workspace form[data-bm-attempt]{display:flex;flex-direction:column;align-items:stretch;gap:16px}.bm-workspace form[data-bm-attempt]>fieldset{display:block;width:100%;box-sizing:border-box;margin:0}.bm-workspace form[data-bm-attempt]>fieldset>.form-grid{width:100%}.bm-workspace form[data-bm-attempt] .form-grid>label{min-width:0}
