/* Dialog actions stay in place while their options scroll. */
dialog.modal-shell201[open]{position:fixed;left:0;right:0;top:var(--sme-modal-top201,0px);bottom:var(--sme-modal-bottom201,0px);margin:auto;display:flex;flex-direction:column;overflow:hidden!important;max-height:calc(100dvh - 28px);max-height:calc(var(--sme-modal-viewport201,100dvh) - 28px);min-height:0;padding:20px;gap:0}
dialog.modal-shell201 .modal-heading201{flex:0 0 auto;margin-top:0;min-width:0}
dialog.modal-shell201 .modal-form201{display:flex;flex-direction:column;flex:1 1 auto;min-height:0;min-width:0;margin:0;max-height:100%;overflow:hidden}
dialog.modal-shell201 .modal-body201{flex:1 1 auto;min-height:0;min-width:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;padding:2px 5px 16px 1px;scrollbar-gutter:stable}
dialog.modal-shell201 .modal-form-wrap201{display:flex;flex-direction:column;flex:1 1 auto;min-height:0;min-width:0;overflow:hidden;max-height:100%}
dialog.modal-shell201 .modal-footer201{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:flex-end;flex:0 0 auto;background:var(--sme-surface);border-top:1px solid var(--sme-border);padding:14px 0 0;margin:0;min-width:0;position:relative;z-index:1}
dialog.modal-shell201 .modal-footer201>button{flex:1 1 100px;min-height:44px;min-width:0;margin:0;white-space:normal;overflow-wrap:anywhere;font-size:13px}
dialog.modal-shell201 .modal-footer201 .modal-status201{flex-basis:100%;min-width:0;margin:0;font-size:12px;max-height:20vh;overflow:auto}
dialog.modal-shell201 .modal-footer201 .modal-status201:empty{display:none}
dialog.modal-shell201 .modal-body201 input,dialog.modal-shell201 .modal-body201 select,dialog.modal-shell201 .modal-body201 textarea{scroll-margin-top:15px;scroll-margin-bottom:15px}
dialog.modal-shell201 .dashboard-help176{margin-top:0}.dashboard-modal176.modal-shell201 .actions [data-save]{grid-column:auto}
@media(max-width:420px){dialog.modal-shell201[open]{padding:16px;max-height:calc(100dvh - 20px);max-height:calc(var(--sme-modal-viewport201,100dvh) - 20px);width:min(100% - 20px,650px)}dialog.modal-shell201 .modal-footer201{padding-top:12px;gap:7px}dialog.modal-shell201 .modal-footer201>button{font-size:12px;flex-basis:85px;padding:10px 8px}}
@media(max-height:440px){dialog.modal-shell201[open]{padding:12px;max-height:calc(100dvh - 12px);max-height:calc(var(--sme-modal-viewport201,100dvh) - 12px)}dialog.modal-shell201 .modal-footer201{padding-top:8px}dialog.modal-shell201 .modal-heading201{margin-bottom:7px}dialog.modal-shell201 .modal-heading201 h2{margin:3px 0;font-size:18px}}
