/* 1.0.218: message windows (confirm, delete, install, restore, session) about a third of their old size:
   narrower, small icon and title, plain compact text and small buttons. Same look everywhere in the gestionale. */
html body:not(#d218):not(#d218b) .system-dialog{width:min(380px,calc(100vw - 24px))!important;max-width:calc(100vw - 24px)!important;padding:12px 14px!important;border-radius:10px!important;box-shadow:0 14px 40px #163b4b33!important}
html body:not(#d218):not(#d218b) .system-dialog::backdrop{backdrop-filter:none!important;background:#12303f59!important}
html body:not(#d218):not(#d218b) .system-dialog-head{gap:8px!important;align-items:center!important}
html body:not(#d218):not(#d218b) .system-dialog-icon{width:26px!important;height:26px!important;flex:0 0 26px!important;border-radius:6px!important}
html body:not(#d218):not(#d218b) .system-dialog-icon svg{width:14px!important;height:14px!important}
html body:not(#d218):not(#d218b) .system-dialog h2{font-size:14px!important;line-height:1.3!important;letter-spacing:0!important;margin:0!important;font-weight:650!important}
html body:not(#d218):not(#d218b) .system-dialog-head .system-meta{margin:1px 0 0!important}
html body:not(#d218):not(#d218b) .system-dialog-head>.system-button{width:22px!important;min-width:22px!important;min-height:22px!important;height:22px!important;padding:3px!important;border:0!important}
html body:not(#d218):not(#d218b) .system-dialog-head>.system-button svg{width:14px!important;height:14px!important}
html body:not(#d218):not(#d218b) .system-dialog-body{margin:8px 0 0!important;line-height:1.45!important;font-size:11.5px!important}
html body:not(#d218):not(#d218b) .system-dialog-body>p:first-child{background:transparent!important;border:0!important;padding:0!important;border-radius:0!important;font-size:11.5px!important;line-height:1.45!important;margin:0 0 4px!important}
html body:not(#d218):not(#d218b) .system-dialog p{font-size:11.5px!important;margin:0 0 4px!important}
html body:not(#d218):not(#d218b) .system-dialog .system-meta{font-size:10.5px!important}
html body:not(#d218):not(#d218b) .system-dialog details{font-size:11px!important}
html body:not(#d218):not(#d218b) .system-dialog-actions{margin:8px 0 0!important;padding-top:2px!important;border-top:0!important;gap:6px!important}
html body:not(#d218):not(#d218b) .system-dialog .system-button{min-height:26px!important;height:auto;padding:3px 10px!important;font-size:12px!important;border-radius:6px!important;gap:5px!important}
html body:not(#d218):not(#d218b) .system-dialog-actions .system-button{min-width:0!important;min-height:26px!important;flex:0 0 auto!important}
html body:not(#d218):not(#d218b) .system-dialog .system-button svg{width:13px!important;height:13px!important}
html body:not(#d218):not(#d218b) .system-dialog label{margin:6px 0 3px!important;font-size:11.5px!important}
html body:not(#d218):not(#d218b) .system-dialog :is(input[type=password],input[type=text]){min-height:28px!important;padding:4px 8px!important;border-radius:6px!important;font-size:12px!important}
html body:not(#d218):not(#d218b) .system-dialog>h2,html body:not(#d218):not(#d218b) .system-dialog>form>h2{margin-bottom:6px!important}
/* Other message windows */
html body:not(#d218):not(#d218b) .course-base-confirm{max-width:380px!important;padding:12px 14px!important;border-radius:10px!important;font-size:11.5px!important}
html body:not(#d218):not(#d218b) .course-base-confirm h2{font-size:14px!important;margin:0 0 6px!important}
html body:not(#d218):not(#d218b) .course-base-confirm ul{margin:6px 0 8px!important;padding-left:18px!important}
html body:not(#d218):not(#d218b) .course-base-confirm li{margin:2px 0!important}
html body:not(#d218):not(#d218b) .course-base-confirm :is(.system-button,button){min-height:26px!important;padding:3px 10px!important;font-size:12px!important}
html body:not(#d218):not(#d218b) .session-dialog{width:min(380px,100%)!important;padding:14px 16px!important;border-radius:10px!important}
html body:not(#d218):not(#d218b) .session-dialog-icon{width:26px!important;height:26px!important;border-radius:6px!important;margin-bottom:8px!important}
html body:not(#d218):not(#d218b) .session-dialog-icon svg{width:14px!important;height:14px!important}
html body:not(#d218):not(#d218b) .session-dialog h1{font-size:14px!important;margin:0 0 6px!important;letter-spacing:0!important}
html body:not(#d218):not(#d218b) .session-dialog p{font-size:11.5px!important;margin:0 0 6px!important}
html body:not(#d218):not(#d218b) .session-dialog .session-explanation{font-size:11px!important}
html body:not(#d218):not(#d218b) .session-dialog .session-conflict-changed{font-size:11.5px!important;padding:6px 8px!important}
html body:not(#d218):not(#d218b) .session-dialog-actions{margin-top:8px!important;gap:6px!important}
html body:not(#d218):not(#d218b) .session-dialog-actions :is(button,a){min-height:26px!important;padding:3px 10px!important;font-size:12px!important}
html body:not(#d218):not(#d218b) .session-overlay{backdrop-filter:none!important}
