/* 1.0.211: Attestati, Audit, Utenti and Rubrica without boxes inside boxes.
   The big white cards lose shadow and rounded frame and sit flat on the white page;
   sections are separated by a thin line, like Posta (1.0.209). Rows keep their alternating greys. */
body.portal-shell:not(#flat211)>main :is(.system-card.history75-filters,.system-card.history75-results,.system-card.audit-filters,.system-card.audit-results),
body.portal-shell:not(#flat211)>main>section.card:has(>.contact-row),
body.portal-shell:not(#flat211)>main:has(>section.card.user-create)>section.card{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(#flat211)>main :is(.system-card.history75-filters,.system-card.audit-filters){border-bottom:1px solid #e6ebf1!important;padding-top:4px!important;padding-bottom:18px!important;margin-bottom:8px!important}
body.portal-shell:not(#flat211)>main .history75-selection{background:transparent!important;border-top:1px solid #e6ebf1!important;border-bottom:1px solid #e6ebf1!important;padding-left:0!important;padding-right:0!important}
body.portal-shell:not(#flat211)>main>section.card.user-create{border-top:1px solid #e6ebf1!important;margin-top:8px!important;padding-top:22px!important}
/* 1.0.212: the table heading that stays at the top while scrolling (Tipi corso, Clienti, Istruttori, Attestati…)
   has a solid white background, so the rows pass under it instead of showing through. */
body.portal-shell:not(#flat211)>main .ui-directory-page :is(.directory-table-card,.standard-directory-table,.catalog-table-wrap,.certificate-table-wrap) thead th{background:#fff!important;box-shadow:0 1px 0 #dce6eb!important}
/* 1.0.213: no padding above the table inside its box, so the fixed heading sits on the top edge
   and no row peeks out above it while scrolling. */
body.portal-shell:not(#flat211)>main .ui-directory-page :is(.directory-table-card,.catalog-table-wrap,.certificate-table-wrap):has(thead th){padding-top:0!important}
