/* Consistent action rows. Long labels wrap inside a button, rows wrap before colliding. */
html body :is(.gov-header-actions,.gov-form-actions,.gov-filters,.gov-case-tabs,.news-add-tools,.news-save-tools,.news-block-controls,.news-format-toolbar,.news-button-group,.admin-push-actions,.ff-confirm-actions){gap:12px!important;min-width:0;max-width:100%;flex-wrap:wrap;align-items:center}
html body :is(.government-app,.gov-dialog,.news-editor-layout,.news-page,.news-reader-dialog,.admin-push-test,.admin-broadcast-form,.ff-confirm-card) .p-btn{box-sizing:border-box;min-width:0;max-width:100%;height:auto!important;min-height:44px!important;line-height:1.4!important;white-space:normal!important;overflow-wrap:anywhere;text-align:center;gap:9px!important;flex-shrink:0}
html body :is(.gov-header-actions,.gov-form-actions,.gov-filters,.gov-case-tabs,.news-add-tools,.news-save-tools,.news-block-controls,.news-button-group,.admin-push-actions,.ff-confirm-actions)>.p-btn{margin:0!important;padding:11px 17px!important;flex:0 1 auto;position:relative}
html body :is(.government-app,.gov-dialog,.news-editor-layout,.news-reader-dialog) .p-btn>svg{flex:none!important;align-self:center}
html body :is(.gov-section-head,.news-manager-heading,.news-composer-heading){flex-wrap:wrap;row-gap:16px;min-width:0}
html body .gov-section-head>div:first-child{flex:1 1 auto;min-width:0}
html body :is(.gov-header-actions,.gov-form-actions){row-gap:12px!important}
html body .gov-case-layout aside .gov-form-actions>.p-btn{width:100%}
html body :is(.news-composer,.news-manager,.news-custom-button,.news-field-pair){min-width:0}
html body .news-preview-modes{gap:16px;align-items:end}
html body .news-cover-actions{margin:14px 0}
html body .gov-obligation>div{min-width:0}
html body .notification-item p{white-space:pre-line;overflow-wrap:anywhere}
@media(max-width:760px){
 html body :is(.gov-header-actions,.gov-form-actions){width:100%;display:flex;flex-wrap:wrap!important}
 html body :is(.gov-header-actions,.gov-form-actions)>.p-btn{flex:1 1 150px!important}
 html body .gov-filters>.p-btn{flex:1 1 150px!important}
 html body .gov-case-tabs>.p-btn{flex:1 1 120px!important}
 html body :is(.news-add-tools,.news-save-tools,.news-block-controls,.news-button-group)>.p-btn,html body .news-button-group>.news-action{flex:1 1 135px!important;min-width:0!important}
 html body .news-format-toolbar>.p-btn{flex:0 0 auto!important;min-width:44px!important;padding:10px!important}
 html body .news-manager-heading>.p-btn{margin-left:auto}
 html body .news-preview-modes>.p-btn{flex:1 1 140px}
 html body .news-preview-modes>.p-field{flex:1 1 180px;min-width:0}
 html body .ff-confirm-actions>.p-btn{flex:1 1 120px!important}
}

html body :is(.gov-header-actions,.gov-form-actions,.gov-filters,.gov-case-tabs,.news-add-tools,.news-save-tools,.news-block-controls,.news-button-group,.ff-confirm-actions){align-items:stretch!important}
