/*
 * PKL: undo Bricks' base styles so the prototype renders as it does on its own.
 * Bricks puts its reset in @layer bricks (frontend-layer.min.css). Any unlayered rule beats a layered one, so these
 * :where() rules (specificity 0) send each property Bricks sets back to the browser default ("revert").
 * Loaded after Bricks and BEFORE site.css, so the prototype's own rules still win every tie.
 * Not reverted: body margin (the prototype's page CSS sets it to 0) and Bricks' textarea line-height (layered !important).
 * Source list: Bricks 2.4.5 element-level rules in @layer bricks.
 */
:where(html){-webkit-text-size-adjust:revert;text-size-adjust:revert;line-height:revert;font-size:revert;box-sizing:revert}
:where(*){box-sizing:revert;border-color:revert}
*::before,*::after{box-sizing:revert;outline:revert}
:where(body){-webkit-font-smoothing:revert;-moz-osx-font-smoothing:revert;background-color:revert;background-position:revert;color:revert;font-family:revert;font-size:revert;line-height:revert;transition:revert}

:where(a){border-color:revert;color:revert;cursor:revert;text-decoration:revert}
:where(p){margin-block:revert}
:where(h1,h2,h3,h4,h5,h6){margin:revert;text-rendering:revert;font-size:revert;line-height:revert}
:where(h1,h2,h3,h4,h5,h6) :where(a){color:revert}

:where(article,aside,figcaption,figure,footer,header,main,nav,section,details,menu,summary,canvas,audio,video,progress){display:revert}
:where(audio:not([controls])){display:revert;height:revert}
:where(figure){margin:revert}
:where(figcaption){color:revert;font-size:revert;margin:revert;text-align:revert}
:where(img){border-style:revert;height:revert;max-width:revert;outline:revert;vertical-align:revert}
:where(audio,iframe){max-width:revert}
:where(svg:not([width])){min-width:revert}
:where(svg:not([height])){min-height:revert}
:where(table){width:revert}

:where(button,input,optgroup,select,textarea){font-family:revert;font-size:revert;line-height:revert;margin:revert;text-align:revert}
:where(button,input){overflow:revert}
:where(button,select){text-transform:revert}
:where(button,[type=button],[type=reset],[type=submit]){-webkit-appearance:revert}
:where(button){border:revert;cursor:revert;outline:revert;padding:revert}
:where([type=checkbox],[type=radio]){box-sizing:revert;padding:revert}
:where(input[type=button],input[type=checkbox],input[type=radio]){width:revert}
:where(input[type=checkbox],input[type=radio],input[type=submit],select){cursor:revert}
:where(input[type=range]){border:revert;height:revert;line-height:revert;padding:revert}
:where([type=search]){-webkit-appearance:revert;outline-offset:revert}
:where(select){-webkit-appearance:revert;appearance:revert;background-color:revert;background-image:revert;background-position:revert;background-repeat:revert;background-size:revert;border-radius:revert}
:where(textarea){height:revert;min-height:revert;padding:revert;overflow:revert}
::placeholder{color:revert}
::-webkit-file-upload-button{-webkit-appearance:revert;font:revert}
:where(label){color:revert;display:revert;font-weight:revert;margin-bottom:revert}
:where(fieldset){padding:revert}
:where(legend){box-sizing:revert;color:revert;display:revert;max-width:revert;padding:revert;white-space:revert}

:where(hr){box-sizing:revert;height:revert;overflow:revert;border:revert;border-top:revert;margin:revert}
:where(blockquote){border-left-style:revert;border-left-width:revert;font-family:revert;font-size:revert;margin:revert;padding:revert;position:revert}
:where(blockquote cite){display:revert;font-size:revert;font-style:revert;margin-top:revert;opacity:revert;text-transform:revert}
:where(pre){background-color:revert;color:revert;font-family:revert;font-size:revert;margin:revert;padding:revert;white-space:revert}
:where(code,kbd,samp){font-family:revert;font-size:revert}
:where(abbr[title]){border-bottom:revert;text-decoration:revert}
:where(small){font-size:revert}
:where(sub,sup){font-size:revert;line-height:revert;position:revert;vertical-align:revert}
:where(sub){bottom:revert}
:where(sup){top:revert}
:where(mark){background-color:revert;color:revert}
:where(dfn){font-style:revert}

/* Native Bricks elements (NATIVE-BUILD Level 1) carry the prototype's classes; undo Bricks' element defaults too. */
:where([class*=brxe-]){max-width:revert}
:where(span[class*=brxe-]){width:revert}
:where(.brxe-heading){margin:revert}
:where(.brxe-div){transition:revert}
:where(.brxe-code){width:revert}
:where(.brxe-text-link){display:revert;align-items:revert;gap:revert}
:where(.brxe-text-link span){display:revert;align-items:revert;justify-content:revert}
