/* bis responsive workroom: no branding or source artwork changes. */
main,.panel,.document-grid,.document-grid>*,.heading>*,.panel-heading>*{min-width:0;max-width:100%}
.portal-table-block{width:100%;max-width:100%;min-width:0}
.table-swipe-cue{margin:12px 0 8px;color:var(--muted);font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.portal-table-region{width:100%;max-width:100%;min-width:0;overflow-x:auto;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;touch-action:pan-x pan-y}
.portal-table-region:focus-visible{outline:3px solid #c98bb9;outline-offset:2px}
.portal-table-region>table{min-width:640px;width:100%}
.table-scroll,.table-wrap{width:100%;max-width:100%;min-width:0;overflow:visible}
.table-scroll:after{display:none}
.judging-embed{overflow-x:visible;max-width:100%;min-width:0}
.judging-embed .table-wrap{margin-right:0;width:100%;max-width:100%;overflow:visible;min-width:0}
.judging-embed .panel,.judging-embed .portal-main{max-width:100%;min-width:0}
.judging-embed .portal-table-region>table.assignment-table{min-width:1150px}
.judging-embed .portal-table-region>table{min-width:850px}
.record-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.record-grid>div,.record-grid dd,.record-grid dt{min-width:0;max-width:100%;margin-inline:0;overflow-wrap:anywhere}
.record-grid a,.notice,.document-preview,.panel p,.panel code{overflow-wrap:anywhere;word-break:break-word}
pre,code{max-width:100%;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}
.button-row{flex-wrap:wrap;min-width:0;max-width:100%}
.button-row button,.panel button,.panel a,.audit-filters input,.audit-filters select{max-width:100%;min-width:0;white-space:normal}
.panel-heading{flex-wrap:wrap}
.document-preview .prose{white-space:pre-wrap}
@media(max-width:700px){
.heading,.judging-embed .page-heading{display:flex;flex-direction:column;align-items:stretch;gap:16px}
.heading>div,.judging-embed .page-heading>div:first-child{flex:0 0 auto;width:100%;min-width:0;max-width:100%}
.judging-embed .page-heading>a,.judging-embed .page-heading .btn{align-self:flex-start;white-space:normal;max-width:100%}
.record-grid{grid-template-columns:minmax(0,1fr)}
.panel-heading{display:flex;flex-direction:column;align-items:flex-start;gap:12px}
.audit-filters label{flex:1 1 140px;min-width:0}
.judging-embed .judge-create-grid{grid-template-columns:minmax(0,1fr)}
}
