/* One close-control shape for all Base dialogs, including dynamically created ones. */
body.look-apple.background-air dialog button.dialog-close.base-ui-close{
 --base-close-size:36px;
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 width:var(--base-close-size)!important;height:var(--base-close-size)!important;
 min-width:var(--base-close-size)!important;min-height:var(--base-close-size)!important;
 max-width:var(--base-close-size)!important;max-height:var(--base-close-size)!important;
 flex:0 0 var(--base-close-size)!important;padding:0!important;margin:0!important;
 border:0!important;border-radius:50%!important;background:#f4f4f6!important;color:#666a73!important;
 box-shadow:none!important;line-height:1!important;cursor:pointer;
}
body.look-apple.background-air dialog button.dialog-close.base-ui-close>svg{
 display:block!important;width:18px!important;height:18px!important;min-width:18px!important;
 margin:0!important;fill:none!important;stroke:currentColor!important;stroke-width:1.6!important;
 stroke-linecap:round;stroke-linejoin:round;pointer-events:none;
}
body.look-apple.background-air dialog button.dialog-close.base-ui-close:hover{background:#e9eaee!important;color:#202322!important}
body.look-apple.background-air dialog button.dialog-close.base-ui-close:focus-visible{outline:2px solid #202322!important;outline-offset:3px}
@media(max-width:650px){body.look-apple.background-air dialog button.dialog-close.base-ui-close{--base-close-size:44px}}
/* Nested actions share one row in their form; only the dialog rail is sticky. */
body.look-apple.background-air dialog .subphase-form .subphase-form-actions{grid-column:1/-1!important;display:flex!important;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:12px;padding:8px 0 0;margin:0;min-width:0}
body.look-apple.background-air dialog .subphase-form .subphase-form-actions>button{position:static!important;margin:0!important;min-height:44px!important;padding:10px 16px!important;max-width:100%;white-space:normal;grid-column:auto!important;grid-row:auto!important}
body.look-apple.background-air dialog .subphase-form .subphase-form-actions>.primary{order:1}
body.look-apple.background-air dialog [data-base-action-rail][hidden],body.look-apple.background-air dialog .subphase-form-actions>button[hidden]{display:none!important}
body.look-apple.background-air dialog [role=status]:empty{display:none!important}
@media(max-width:500px){body.look-apple.background-air dialog [data-base-action-rail]>button{flex:1 1 auto!important}body.look-apple.background-air dialog .subphase-form .subphase-form-actions>button{flex:1 1 auto}}
body.look-apple.background-air dialog form.subphase-form[hidden]{display:none!important}
