/* Unified list density and accessible controls; no permissions or data rules. */
html body button,html body input:not([type=checkbox]):not([type=radio]):not([type=hidden]),html body select,html body summary,html body a[data-media-path]{min-height:44px!important;box-sizing:border-box!important}
html body button,html body summary{min-width:44px!important;font-size:max(11px,1em)}
html body input,html body select,html body textarea{font-size:16px!important}
html body .ui-list-toolbar,html body .ui-list-pager{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:12px 0;font-size:13px}
.ui-list-toolbar label{display:flex;flex-direction:column;gap:5px;font-size:12px}
.ui-list-search{flex:1;min-width:180px}.ui-list-search input{width:100%}
.ui-list-count{font-size:13px}.ui-list-pager{justify-content:flex-end}.ui-list-pager span{font-size:13px}
.ui-record-menu{display:inline-block;position:relative}.ui-record-menu>summary{display:flex!important;align-items:center;justify-content:center;gap:6px;list-style:none;padding:9px 12px;border:1px solid #809ab1;border-radius:8px;cursor:pointer;font-size:13px!important;font-weight:650}
.ui-record-menu>summary::-webkit-details-marker{display:none}
.ui-record-menu-panel{position:fixed;z-index:60000;display:flex;flex-direction:column;gap:6px;padding:10px;border-radius:10px;border:1px solid #7a98b1;box-shadow:0 12px 32px #00194744;overflow:auto;background:#fff;color:#001947;box-sizing:border-box}
.ui-record-menu:not([open])>.ui-record-menu-panel{display:none!important}
html body .ui-record-menu-panel button{display:block!important;width:100%!important;text-align:start!important;white-space:normal!important;min-height:44px!important;font-size:13px!important;border-radius:6px!important;padding:10px!important}
html body .record-tools,html body .planner-actions,html body .case-actions,html body .signage-primary-actions,html body .report-actions,html body .manage-actions,html body .hh-actions,html body .w-user-actions{display:flex!important;flex-wrap:wrap!important;gap:8px!important;align-items:center!important;justify-content:flex-start!important}
html body .act-table th,html body .act-count,html body .act-status,html body .act-sub,html body .planner-kpis small,html body .hh-kpis small,html body .hh-summary-grid small,html body .signage-kpis small{font-size:12px!important}
html body .act-more,html body .insp-more,html body .ca-more{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important}
html body .hh-row{padding:14px!important}.ui-health-summary{font-size:14px;margin:10px 0;line-height:1.5}.ui-health-details>summary{width:fit-content;font-size:13px!important;padding:8px 0;cursor:pointer}
html body .ui-list-pager button:focus-visible,html body .ui-record-menu summary:focus-visible{outline:3px solid #008cca;outline-offset:3px}
@media(max-width:760px){
 .ui-list-toolbar{align-items:stretch}.ui-list-search{flex-basis:100%;min-width:0}.ui-list-pager{justify-content:space-between!important}
 html body .act-tablewrap{overflow:visible!important;border:0!important}
 html body .act-table{min-width:0!important;table-layout:auto!important;display:block!important}
 html body .act-table thead{display:none!important}
 html body .act-table tbody{display:grid!important;gap:12px!important}
 html body .act-table tr{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;border:1px solid #aac6dd;border-radius:12px;padding:14px!important;min-width:0!important}
 html body .act-table td{display:block!important;border:0!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;padding:0!important;min-width:0!important;overflow-wrap:anywhere}
 html body .act-table td:before{content:attr(data-label);display:block;font-size:12px;font-weight:650;margin-bottom:5px}
 html body .act-table td.act-name{grid-column:1/-1;font-size:16px!important}
 html body .act-table td.hide-sm{display:block!important}
 html body .reference-module-search{display:none!important}
 html body .reference-topbar{position:relative!important}
 html body .reference-brand small{font-size:16px!important;max-width:none!important}
 html body .reference-brand b{font-size:30px!important}
 html body .reference-activity-photo img{height:180px!important}
 html body .cb-reference-topbar .brand-text .sub{font-size:14px!important}
}

html body #mediaGalleryCard .media-card[hidden]{display:none!important}
html body #mediaGalleryCard .media-card:not([hidden]){display:flex!important}
html body .ui-record-menu-panel button{color:#001947!important;background:#edf6ff!important;border-color:#aac6dd!important}
html body .ui-record-menu-panel button.danger{color:#a72134!important;background:#fff0f2!important}

html body .ui-record-menu-panel{background:#0c2537;color:#edf6ff}
html body .ui-record-menu-panel button{background:#163b53!important;color:#edf6ff!important;border-color:#53768e!important}
html body .ui-record-menu-panel button.danger{color:#ffbdc5!important;background:#482733!important}
html body .ui-list-toolbar input,html body .ui-list-toolbar select{background:#12334b;color:#edf6ff;border:1px solid #648ca7;border-radius:8px;padding:8px}

html body.reference-layout-ready #wDashboard .w-module-launch{display:none!important}
html body.reference-layout-ready #wDashboard>.grid-stats{display:none!important}

@media(max-width:760px){html body.reference-layout-ready #referenceTopbar .reference-brand small{font-size:16px!important;max-width:none!important}html body.reference-layout-ready #referenceTopbar .reference-brand b{font-size:30px!important}html body.reference-layout-ready #referenceTopbar .reference-module-search{display:none!important}}

.ui-record-menu-panel{margin:0!important;inset:auto}
.ui-record-menu-panel[popover]:not(:popover-open){display:none!important}

html body input:not([type=checkbox]):not([type=radio]):not([type=hidden]),html body select{min-width:44px!important}
