/* 1.0.216: no boxes inside boxes anywhere in the gestionale (like Posta in 1.0.209 and Attestati/Audit/Utenti/Rubrica in 1.0.211).
   The white cards with shadow and rounded frame sit flat on the white page; sections are separated by a thin line.
   Not touched: the chat, the left menu, the login, coloured notices, Posta (already flat). */
body.portal-shell:not(#flat216):not(.chat-iframe-mode)>main :is(.card,.system-card):not(.login-card,.system-notice,.backup-outbound-warning,.issue-send-skipped,.training-removal-option,.chat-sidebar,.chat-main,.chat-mail-card,.message-card,.success-card,.compose-card,.sent-list,.sent-toolbar,.draft-list,.search-results,.mail-detail,.trash-detail,.signature-editor-card,.certificate-editor-palette,.certificate-editor-properties){background:transparent!important;box-shadow:none!important;border:0!important;border-radius:0!important;padding-left:0!important;padding-right:0!important}
body.portal-shell:not(#flat216):not(.chat-iframe-mode)>main :is(.card,.system-card):not(.login-card,.system-notice,.backup-outbound-warning,.issue-send-skipped,.training-removal-option,.chat-sidebar,.chat-main,.chat-mail-card,.message-card,.success-card,.compose-card,.sent-list,.sent-toolbar,.draft-list,.search-results,.mail-detail,.trash-detail,.signature-editor-card,.certificate-editor-palette,.certificate-editor-properties)~:is(.card,.system-card):not(.login-card,.system-notice,.backup-outbound-warning,.issue-send-skipped,.training-removal-option,.chat-sidebar,.chat-main,.chat-mail-card,.message-card,.success-card,.compose-card,.sent-list,.sent-toolbar,.draft-list,.search-results,.mail-detail,.trash-detail,.signature-editor-card,.certificate-editor-palette,.certificate-editor-properties){border-top:1px solid #e6ebf1!important}
/* Groups of fields inside a form: a title on a thin line instead of a framed box. */
body.portal-shell:not(#flat216):not(.chat-iframe-mode)>main fieldset:not(.chat-page *):not([hidden]){border:0!important;border-top:1px solid #e6ebf1!important;border-radius:0!important;padding-left:0!important;padding-right:0!important;background:transparent!important;box-shadow:none!important}
