/* AMI VISION v2.9.489 — Workspace and administration component styles. No workflow JS changes. */
body.ami-saas485 #content :is(.task22-card,.task22-hero,.task22-form,.task22-detail,.hrms192-topbar,.hrms194-record-filters,.hrms194-report-filters,.rzx256-settings-page,.rzx256-health,.rzx259-connection){box-sizing:border-box;max-width:100%;min-width:0}
/* Tasks: real task22 surfaces, actions, data entry and board columns */
body.ami-saas485 #content :is(.task22-card,.task22-form,.task22-detail){background:#fff;border:1px solid #dce5ef;border-radius:13px;box-shadow:0 2px 10px rgba(33,58,90,.035)}
body.ami-saas485 #content :is(.task22-card-head,.task22-hero,.task22-head-actions,.task22-filter-actions,.task22-form-actions){display:flex;align-items:center;gap:9px;flex-wrap:wrap;min-width:0;max-width:100%}
body.ami-saas485 #content .task22-card-head{padding:12px 14px}
body.ami-saas485 #content .task22-hero{padding:14px 16px;border:1px solid #dce5ef;background:#fff;border-radius:13px}
body.ami-saas485 #content :is(.task22-filter-grid,.task22-form-grid,.task22-create-layout){min-width:0;max-width:100%;box-sizing:border-box}
body.ami-saas485 #content :is(.task22-form,.task22-card) :is(input:not([type=checkbox]):not([type=radio]),select,textarea){max-width:100%;min-width:0;box-sizing:border-box;border-radius:9px}
body.ami-saas485 #content :is(.task22-head-actions,.task22-filter-actions,.task22-form-actions) .btn{border-radius:9px;min-height:34px;padding:7px 11px}
body.ami-saas485 #content :is(.task22-area-wrap,.task22-kanban-body){min-width:0;max-width:100%}
/* HRMS: forms, records, reports and filtering */
body.ami-saas485 #content :is(.hrms192-topbar,.hrms194-record-filters,.hrms194-report-filters){background:#fff;border:1px solid #dce5ef;border-radius:12px;padding:11px 13px;gap:9px}
body.ami-saas485 #content :is(.hrms194-record-filters,.hrms194-report-filters){display:flex;align-items:end;flex-wrap:wrap}
body.ami-saas485 #content :is(.hrms194-record-summary,.hrms194-report-kpis){max-width:100%;min-width:0;gap:10px}
body.ami-saas485 #content :is(.hrms194-report-table,.hrms194-reports){max-width:100%;min-width:0;overflow-x:auto;-webkit-overflow-scrolling:touch}
body.ami-saas485 #content [class^="hrms"] :is(input:not([type=checkbox]):not([type=radio]),select,textarea){max-width:100%;min-width:0;box-sizing:border-box;border-radius:9px}
/* Settings & admin: preserve access restrictions and live connection diagnostics */
body.ami-saas485 #content :is(.rzx256-settings-page .rzx36-record-toolbar,.rzx256-health,.rzx259-connection){background:#fff;border:1px solid #dce5ef;border-radius:12px;box-shadow:0 2px 9px rgba(33,58,90,.035)}
body.ami-saas485 #content .rzx256-settings-page .rzx36-record-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:10px}
body.ami-saas485 #content .rzx256-settings-page :is(input:not([type=checkbox]):not([type=radio]),select,textarea){box-sizing:border-box;min-width:0;max-width:100%;border-radius:9px}
body.ami-saas485 #content :is(.rzx256-settings-page,.rzx256-health,.rzx259-connection) .btn{border-radius:9px}
/* Notification bell/panel: avoid clipping on narrow viewports */
body.ami-saas485 :is([id*="notif"],[class*="notification-panel"],[class*="notif272"]){box-sizing:border-box;max-width:min(100%,100vw)}
@media(max-width:760px){body.ami-saas485 #content :is(.task22-hero,.task22-card-head){padding:10px 11px}body.ami-saas485 #content :is(.task22-head-actions,.task22-filter-actions,.task22-form-actions){gap:6px}body.ami-saas485 #content :is(.hrms192-topbar,.hrms194-record-filters,.hrms194-report-filters){padding:10px}body.ami-saas485 #content :is(.hrms194-record-filters,.hrms194-report-filters)>*{max-width:100%;min-width:0}}
@media print{body.ami-saas485 #content :is(.task22-hero,.task22-card,.rzx256-health){box-shadow:none}}
