/* [nb_booking] and [nb_account]: plain on purpose, so they take on the theme's
   look. Every selector sits inside :where(), which has zero specificity, so any
   theme rule wins without a fight. */
:where(.nb-ui) [hidden] { display: none !important; }
:where(.nb-ui fieldset) { margin: 0 0 .75em; padding: 0; border: 0; }
:where(.nb-ui legend) { padding: 0; margin-bottom: .4em; }
:where(.nb-ui label) { display: inline-block; margin: 0 1.25em .75em 0; vertical-align: top; }
:where(.nb-ui label > input:not([type=radio], [type=checkbox]), .nb-ui label > select, .nb-ui label > textarea) { display: block; margin-top: .3em; min-width: 11em; }
:where(.nb-ui .nb-kind label, .nb-ui .nb-branch label, .nb-ui .nb-inline) { display: inline-flex; align-items: center; gap: .4em; }
:where(.nb-ui .nb-branch-address) { display: block; }
:where(.nb-ui .nb-preorder) { margin: 0 0 .75em; }
:where(.nb-ui .nb-preorder summary) { cursor: pointer; }
:where(.nb-ui .nb-preorder fieldset) { margin: .5em 0 0; }
:where(.nb-ui .nb-wide label) { display: block; margin-right: 0; }
:where(.nb-ui textarea) { width: 100%; max-width: 36em; box-sizing: border-box; }
:where(.nb-ui .nb-result, .nb-ui .nb-notice) { margin: 1em 0; padding: .75em 1em; border: 1px solid currentColor; }
/* Empty but still rendered: a live region that is display:none isn't read out when it fills. */
:where(.nb-ui .nb-result:empty) { margin: 0; padding: 0; border: 0; }
:where(.nb-ui .nb-result p) { margin: .3em 0; }
:where(.nb-ui .nb-result-title) { font-weight: 700; }
:where(.nb-ui .nb-result button) { margin: .3em .5em .3em 0; }
:where(.nb-ui .nb-error, .nb-ui .nb-warn) { font-weight: 600; }
:where(.nb-ui .nb-scroll) { overflow-x: auto; }
:where(.nb-ui .nb-mine) { width: 100%; border-collapse: collapse; }
:where(.nb-ui .nb-mine th, .nb-ui .nb-mine td) { text-align: left; padding: .45em .6em; border-bottom: 1px solid rgba(128, 128, 128, .35); white-space: nowrap; }
:where(.nb-ui .nb-mine .nb-change td, .nb-ui .nb-mine-note) { white-space: normal; }