:root{--accent:#d12030;--bg:#f5f6fa;--card:#fff;--text:#1c2737;--muted:#758197;--border:#e6e9f0}#pac-operations{position:fixed;inset:0;z-index:100000;background:var(--bg);color:var(--text);font:14px 'IBM Plex Sans',Arial,sans-serif;overflow:auto;direction:rtl}#pac-operations *{box-sizing:border-box}#pac-operations .sidebar{position:fixed;right:0;top:0;bottom:0;width:242px;background:var(--card);border-left:1px solid var(--border);padding:26px 16px;overflow:auto;display:flex;flex-direction:column;gap:6px}#pac-operations .brand{display:flex;gap:12px;align-items:center;margin-bottom:23px}#pac-operations .brand img{width:95px}#pac-operations .brand small{color:var(--muted);font-size:11px}#pac-operations .navgroup{font-size:11px;color:var(--muted);margin:20px 12px 8px;letter-spacing:.04em}#pac-operations .nav{display:flex;align-items:center;gap:11px;text-align:right;border:0;border-radius:8px;background:transparent;color:var(--text);padding:11px 13px;font:inherit;cursor:pointer}#pac-operations .nav.active{background:#fff0f1;color:var(--accent);font-weight:600}#pac-operations .dot{width:7px;height:7px;border-radius:50%;background:#98a2b3}#pac-operations .nav.active .dot{background:var(--accent)}#pac-operations .shell{margin-right:242px}#pac-operations header{background:var(--card);border-bottom:1px solid var(--border);padding:20px 32px;display:flex;gap:12px;align-items:center;flex-wrap:wrap}#pac-operations main{max-width:1450px;margin:28px auto;padding:0 32px}#pac-operations button.btn{background:var(--accent);border:0;color:white;border-radius:8px;padding:10px 16px;cursor:pointer;font:inherit}#pac-operations button.secondary{background:var(--card);color:var(--text);border:1px solid #d7dde6}#pac-operations input,#pac-operations select,#pac-operations textarea{width:100%;padding:10px;border:1px solid #d7dde6;border-radius:7px;margin:7px 0 16px;font:inherit;background:var(--card);color:var(--text)}#pac-operations textarea{min-height:82px}#pac-operations .card{background:var(--card);border:1px solid var(--border);border-radius:12px;padding:23px;margin:18px 0}#pac-operations .grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(185px,1fr));gap:16px}#pac-operations .grid .card{margin:0}#pac-operations h1{font-size:23px;margin:0;letter-spacing:-.4px}#pac-operations h2{font-size:17px;margin:0 0 15px}#pac-operations h3{font-size:14px}#pac-operations .kpi{font-size:31px;font-weight:600;margin:12px 0 5px}#pac-operations table{width:100%;border-collapse:collapse;text-align:right;white-space:nowrap}#pac-operations th{background:var(--bg);font-size:12px;color:var(--muted)}#pac-operations th,#pac-operations td{padding:13px;border-bottom:1px solid var(--border)}#pac-operations .scroll{overflow:auto}#pac-operations .muted{color:var(--muted);font-size:12px}#pac-operations .error{background:#ffe6e8;color:#9a1623;padding:12px;border-radius:8px;margin:10px 0}#pac-operations .tag{display:inline-block;background:#eef2f7;padding:5px 10px;border-radius:20px;font-size:12px}#pac-operations .tag.Closed{background:#e6f8ee;color:#19804c}#pac-operations .tag.Pending{background:#fff3d7;color:#9b6d00}#pac-operations .tag.Rejected,#pac-operations .tag.Returned{background:#fcebed;color:#b42333}#pac-operations .empty{text-align:center;padding:40px;color:var(--muted)}#pac-operations .toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:18px}#pac-operations .toolbar input,#pac-operations .toolbar select{margin:0;max-width:230px}#pac-operations .bar{height:7px;border-radius:5px;background:#edf0f5;overflow:hidden}#pac-operations .bar span{display:block;height:100%;background:var(--accent)}#pac-operations .timeline{border-right:2px solid var(--border);padding:10px 18px;margin:0}#pac-operations a{color:var(--accent)}#pac-live-open{position:fixed;bottom:35px;right:20px;z-index:99999;border:0;background:var(--accent);color:#fff;border-radius:8px;padding:12px;cursor:pointer}#pac-operations .menu{display:none}#pac-operations .note{padding:12px;background:#fff8e6;border:1px solid #f5e7b8;border-radius:8px;margin:12px 0;font-size:12px}#pac-operations footer{text-align:center;padding:30px;font-size:11px;color:var(--muted)}#pac-operations .metricline{display:flex;justify-content:space-between;gap:20px;margin:15px 0 8px}#pac-operations label{display:block}#pac-operations .checkitem{border-top:1px solid var(--border);padding-top:16px;margin-top:15px}#pac-operations .checkitem select{max-width:190px}#pac-operations .checkitem .grid{grid-template-columns:220px 1fr}@media(max-width:800px){#pac-operations .sidebar{transform:translateX(100%);z-index:2;width:242px;box-shadow:-8px 0 30px #0002}#pac-operations .sidebar.open{transform:none}#pac-operations .shell{margin-right:0}#pac-operations .menu{display:block}#pac-operations header{padding:15px}#pac-operations main{padding:0 14px}#pac-operations .card{padding:17px}#pac-operations .checkitem .grid{grid-template-columns:1fr}#pac-operations .grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media print{body>*:not(#pac-operations){display:none!important}#pac-operations{position:static;overflow:visible;background:white}#pac-operations .sidebar,#pac-operations button,#pac-operations .toolbar,#pac-operations footer{display:none!important}#pac-operations .shell{margin:0}#pac-operations main{padding:0}#pac-operations .card{break-inside:avoid}}
/* Workflow navigation and focused overview */
#pac-operations .sidebar{width:258px;padding:28px 18px;gap:8px}#pac-operations .shell{margin-right:258px}#pac-operations .brand{padding-bottom:24px;border-bottom:1px solid var(--border);margin-bottom:4px}#pac-operations .nav{padding:13px 12px;min-height:48px}#pac-operations .nav-icon{font-size:20px;width:25px;text-align:center;color:var(--muted)}#pac-operations .nav.active .nav-icon{color:var(--accent)}#pac-operations .nav-count{margin-inline-start:auto;background:var(--accent);color:white;padding:2px 7px;border-radius:6px;font-size:11px}#pac-operations .prototype-link{background:none;border:0;color:var(--muted);font:inherit;font-size:11px;padding:14px 0;cursor:pointer}#pac-operations header{padding:24px 36px}#pac-operations header h1{margin-bottom:6px}#pac-operations main{max-width:1420px;padding:0 36px;margin-top:24px}#pac-operations .page-tabs{display:flex;gap:25px;overflow:auto;border-bottom:1px solid var(--border);margin-bottom:28px;white-space:nowrap}#pac-operations .page-tabs button{border:0;border-bottom:3px solid transparent;background:none;color:var(--muted);font:inherit;padding:12px 3px 15px;cursor:pointer}#pac-operations .page-tabs button.active{color:var(--accent);border-bottom-color:var(--accent);font-weight:600}#pac-operations .welcome{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:6px 0 28px}#pac-operations .welcome h2{font-size:28px;margin:9px 0}#pac-operations .welcome p{color:var(--muted);margin:0;line-height:1.8}#pac-operations .eyebrow{font-size:12px;color:var(--muted)}#pac-operations .dashboard-layout{display:grid;grid-template-columns:minmax(0,2.4fr) minmax(240px,1fr);gap:22px;margin-top:8px}#pac-operations .dashboard-layout>div{min-width:0}#pac-operations .section-heading h2{margin-bottom:8px}#pac-operations .section-heading p{margin:0 0 18px}#pac-operations .task-row{display:flex;width:100%;gap:14px;align-items:center;padding:18px 0;background:none;border:0;border-top:1px solid var(--border);font:inherit;color:var(--text);text-align:right;cursor:pointer}#pac-operations .task-row small{display:block;color:var(--muted);font-size:12px;margin-top:6px}#pac-operations .task-row b{margin-inline-start:auto;font-size:23px;padding:0 14px}#pac-operations .task-symbol{display:grid;place-items:center;background:#f0f3f8;border-radius:11px;width:42px;height:42px;font-size:22px;flex-shrink:0}#pac-operations .task-symbol.warning{background:#fff3dd;color:#a56b09}#pac-operations .compliance{border-top:3px solid var(--accent);padding:28px}#pac-operations .compliance .kpi{font-size:50px;margin:20px 0 12px}#pac-operations .compliance p{line-height:1.9;margin-bottom:22px}#pac-operations .quick-links{display:grid}#pac-operations .quick-links button{background:none;border:0;border-bottom:1px solid var(--border);padding:16px 0;text-align:right;font:inherit;color:var(--text);cursor:pointer}#pac-operations .quick-links button:last-child{border:0}#pac-operations .quick-links span{float:left;color:var(--muted)}#pac-operations .toolbar{background:white;border:1px solid var(--border);padding:15px;border-radius:12px;gap:12px}#pac-operations .toolbar input{flex:1;max-width:380px;min-width:170px}#pac-operations .toolbar #csv{margin-inline-start:auto}#pac-operations button:hover{filter:brightness(.97)}#pac-operations button:focus-visible,#pac-operations a:focus-visible{outline:3px solid #eaa7ae;outline-offset:3px}#pac-operations .muted{line-height:1.8}#pac-operations th{padding-top:15px;padding-bottom:15px}#pac-operations .empty{padding:50px 20px;line-height:1.9}#pac-operations .note{background:#f0f3f8;border-color:var(--border);color:#586579}
@media(max-width:1100px){#pac-operations .dashboard-layout{grid-template-columns:minmax(0,1.8fr) minmax(220px,1fr)}#pac-operations main{padding:0 22px}#pac-operations header{padding:20px 22px}}
@media(max-width:800px){#pac-operations .shell{margin-right:0}#pac-operations .sidebar{width:258px}#pac-operations main{padding:0 16px;margin-top:16px}#pac-operations header{padding:16px}#pac-operations header h1{font-size:20px}#pac-operations header .tag{display:none}#pac-operations .welcome{align-items:flex-start;padding-bottom:22px}#pac-operations .welcome h2{font-size:23px}#pac-operations .welcome p{font-size:12px}#pac-operations .welcome .btn{white-space:nowrap;padding:10px 12px}#pac-operations .dashboard-layout{grid-template-columns:1fr;gap:0}#pac-operations .page-tabs{gap:20px;margin-bottom:20px}#pac-operations .toolbar #csv{margin-inline-start:0}#pac-operations .toolbar select{max-width:none}#pac-operations .task-row small{font-size:11px}#pac-operations .task-row b{padding:0 5px}#pac-operations .grid .card{padding:17px}#pac-operations .kpi{font-size:27px}}
@media print{#pac-operations .shell{margin:0}#pac-operations .page-tabs,#pac-operations .prototype-link{display:none}#pac-operations .dashboard-layout{display:block}}
#pac-operations .region-cards{grid-template-columns:repeat(auto-fit,minmax(285px,1fr));margin-top:24px}#pac-operations details{line-height:2;color:var(--muted)}#pac-operations summary{cursor:pointer}#pac-operations .employee-row{grid-template-columns:1fr 1.5fr 1.5fr auto;align-items:center;border-bottom:1px solid var(--border);padding-top:12px}#pac-operations .employee-row button{margin-top:8px}@media(max-width:800px){#pac-operations .employee-row{grid-template-columns:1fr 1fr}#pac-operations .region-cards{grid-template-columns:1fr}}
#pac-operations .download-link{display:inline-block;background:var(--accent);color:white;padding:12px 22px;border-radius:8px;text-decoration:none;font-weight:600}#pac-operations #download-receipt{border-color:#bddacb;background:#f4fbf7}
#pac-operations .compact-dashboard{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:24px}#pac-operations .mini-metric{background:white;border:1px solid var(--border);border-radius:10px;padding:16px;display:flex;align-items:center;justify-content:space-between;gap:12px}#pac-operations .mini-metric span{color:var(--muted);font-size:12px}#pac-operations .mini-metric strong{font-size:25px}#pac-operations .branch-info{background:#f7f8fa;padding:30px;border-radius:12px}#pac-operations .branch-info-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px 36px;margin:28px 0}#pac-operations .branch-info-grid label{color:var(--muted);font-size:13px}#pac-operations .branch-info-grid strong{display:block;margin-top:12px;font-size:17px;color:var(--text)}#pac-operations .branch-info-grid input,#pac-operations .branch-info-grid select{margin:12px 0 0}#pac-operations .ideal-level{color:#15916c!important}#pac-operations .branch-map{border:2px dashed #dce1e8;border-radius:10px;min-height:150px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;padding:22px;margin-bottom:20px;color:var(--muted)}#pac-operations .branch-map input{max-width:600px;margin:0;direction:ltr}#pac-operations .gallery-title{margin-top:32px}#pac-operations .branch-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}#pac-operations .photo-slot{border:2px dashed #dce1e8;border-radius:10px;background:#fff;min-height:155px;padding:18px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;text-align:center;overflow:hidden}#pac-operations .photo-slot img{width:100%;height:120px;object-fit:cover;border-radius:5px}#pac-operations .photo-placeholder{font-size:28px;color:#a4adba}#pac-operations .photo-slot strong{font-size:13px}#pac-operations .photo-upload{font-size:11px;color:var(--accent);cursor:pointer}#pac-operations .photo-upload input{display:block;width:100%;font-size:10px;padding:5px;margin:8px 0 0}#pac-operations td input,#pac-operations td select{min-width:125px;margin:0;padding:8px}#pac-operations td input[type=file]{max-width:220px;font-size:11px}#pac-operations td{white-space:normal;min-width:90px}#pac-operations td:first-child{min-width:170px}#pac-operations .audit-table td{min-width:140px}#pac-operations .audit-table td:first-child{min-width:250px}@media(max-width:1050px){#pac-operations .compact-dashboard{grid-template-columns:repeat(2,1fr)}#pac-operations .branch-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){#pac-operations .branch-info{padding:18px}#pac-operations .branch-info-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 18px}#pac-operations .mini-metric{padding:12px}#pac-operations .mini-metric strong{font-size:21px}}
#pac-operations:has(.requirements-table) main{max-width:none;padding:0 16px}#pac-operations:has(.requirements-table) .card{padding:16px}#pac-operations .requirements-table{table-layout:fixed;width:100%;white-space:normal;font-size:11px;line-height:1.6}#pac-operations .requirements-table th,#pac-operations .requirements-table td{min-width:0!important;padding:8px 4px;white-space:normal;overflow-wrap:anywhere;vertical-align:top}#pac-operations .requirements-table th{font-size:10px}#pac-operations .requirements-table th:first-child{width:13%}#pac-operations .requirements-table input,#pac-operations .requirements-table select,#pac-operations .requirements-table textarea{min-width:0!important;width:100%;max-width:100%;font-size:11px;padding:5px;margin:0 0 5px}#pac-operations .requirements-table textarea{min-height:60px}#pac-operations .requirements-table .btn{font-size:10px;line-height:1.6;padding:6px 4px;display:block;width:100%;margin:0 0 6px}#pac-operations .requirements-table .tag{padding:4px;font-size:10px;white-space:normal}#pac-operations .single-evidence{display:block;position:relative;padding:7px 3px;color:var(--accent);border:1px solid #d7dde6;border-radius:6px;margin-top:8px;cursor:pointer;text-align:center}#pac-operations .single-evidence input[type=file]{position:absolute;inset:0;opacity:0;cursor:pointer;height:100%;width:100%;margin:0}#pac-operations .requirements-table td:nth-child(8){width:5%}#pac-operations .requirements-expanded .sidebar{display:none}#pac-operations .requirements-expanded .shell{margin-right:0}@media(max-width:1200px){#pac-operations .requirements-table thead{display:none}#pac-operations .requirements-table,#pac-operations .requirements-table tbody{display:block}#pac-operations .requirements-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid var(--border);border-radius:10px;margin-bottom:16px;overflow:hidden}#pac-operations .requirements-table td{width:auto!important;padding:10px!important}#pac-operations .requirements-table td:before{content:attr(data-label);display:block;font-weight:600;color:var(--muted);margin-bottom:5px}#pac-operations .requirements-table td:first-child{grid-column:1/-1;background:var(--bg)}#pac-operations .requirements-table .btn{font-size:12px;padding:8px}#pac-operations .requirements-table{font-size:13px}}@media(min-width:1201px){#pac-operations .requirements-expanded .requirements-table{font-size:12px}#pac-operations .requirements-expanded .requirements-table th{font-size:11px}}
#pac-operations .compliance-table{table-layout:fixed;white-space:normal}#pac-operations .compliance-table td,#pac-operations .compliance-table th{min-width:0!important;overflow-wrap:anywhere;white-space:normal;padding:10px 6px;font-size:12px}#pac-operations .compliance-table th:first-child{width:19%}#pac-operations .compliance-table td input{min-width:0;width:100%;font-size:12px;padding:7px}#pac-operations .compliance-table .btn{padding:7px;font-size:12px}#pac-operations .compliance-table .single-evidence input{opacity:0}

#pac-operations .audit-filters{display:grid;grid-template-columns:repeat(5,minmax(0,1fr)) auto;gap:16px;align-items:end;background:var(--bg);border:1px solid var(--border);border-radius:10px;padding:16px;margin:12px 0 20px}#pac-operations .audit-filters label{display:flex;flex-direction:column;gap:8px;min-width:0;margin:0;font-size:12px;font-weight:600}#pac-operations .audit-filters select{display:block;box-sizing:border-box;width:100%;min-width:0;height:42px;margin:0;padding:8px 10px;font-size:13px;text-overflow:ellipsis}#pac-operations .audit-filters .btn{height:42px;margin:0;padding:8px 14px;white-space:nowrap;font-size:12px}@media(max-width:1450px){#pac-operations .audit-filters{grid-template-columns:repeat(3,minmax(0,1fr))}#pac-operations .audit-filters .btn{justify-self:start}}@media(max-width:750px){#pac-operations .audit-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:12px}}@media(max-width:420px){#pac-operations .audit-filters{grid-template-columns:minmax(0,1fr)}#pac-operations .audit-filters .btn{width:100%}}

#pac-operations .compliance-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}#pac-operations .compliance-filter-grid .btn{justify-self:start}@media(max-width:750px){#pac-operations .compliance-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:420px){#pac-operations .compliance-filter-grid{grid-template-columns:minmax(0,1fr)}}

.audit-excel-box{min-width:180px;min-height:54px;border-radius:12px;padding:14px 22px;margin-inline-start:auto}

#pac-operations:has(.employee-fit-table) main{max-width:none;padding:0 16px}
#pac-operations .employee-fit-table{table-layout:fixed;width:100%;white-space:normal;font-size:12px;line-height:1.6}
#pac-operations .employee-fit-table th,#pac-operations .employee-fit-table td{min-width:0!important;padding:10px 6px;white-space:normal;overflow-wrap:anywhere;vertical-align:top}
#pac-operations .employee-fit-table th:first-child{width:13%}
#pac-operations .employee-fit-table .btn{display:block;width:100%;font-size:11px;padding:8px 5px;margin-bottom:8px;white-space:normal}
#pac-operations button.employee-edit{background:#186d87;color:#fff;border:1px solid #186d87}
#pac-operations button.employee-delete{background:#b42335;color:#fff;border:1px solid #b42335}
@media(max-width:1050px){#pac-operations .employee-fit-table thead{display:none}#pac-operations .employee-fit-table,#pac-operations .employee-fit-table tbody{display:block}#pac-operations .employee-fit-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid var(--border);border-radius:10px;margin-bottom:16px;overflow:hidden}#pac-operations .employee-fit-table td:before{content:attr(data-label);display:block;color:var(--muted);font-weight:600;margin-bottom:5px}#pac-operations .employee-fit-table td:first-child{grid-column:1/-1;background:var(--bg)}}

#pac-operations .report-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}#pac-operations .report-tabs button{font:inherit;font-size:12px;padding:9px 14px;border:1px solid var(--border);border-radius:8px;background:white;color:var(--text);cursor:pointer}#pac-operations .report-tabs button.active{background:var(--accent);border-color:var(--accent);color:white}#pac-operations .report-preview{font-size:12px;white-space:normal}#pac-operations .report-preview th,#pac-operations .report-preview td{padding:9px;overflow-wrap:anywhere;min-width:100px}

#pac-operations [hidden]{display:none!important}
:root #pac-operations[dir=ltr]{direction:ltr}
:root #pac-operations[dir=ltr] .sidebar{right:auto;left:0;border-left:0;border-right:1px solid var(--border)}
:root #pac-operations[dir=ltr] .shell{margin-right:0;margin-left:258px}
:root #pac-operations[dir=ltr] .nav,:root #pac-operations[dir=ltr] table{text-align:left}
:root #pac-operations[dir=ltr] .timeline{border-right:0;border-left:2px solid var(--border)}
#pac-operations .language-switch{white-space:nowrap;margin-inline-start:auto}
#pac-operations main>.card>.language-switch{display:block;margin-bottom:12px}
@media(max-width:800px){:root #pac-operations[dir=ltr] .sidebar{transform:translateX(-100%)}:root #pac-operations[dir=ltr] .sidebar.open{transform:none}:root #pac-operations[dir=ltr] .shell{margin-left:0}}

#pac-operations .branch-map:has(iframe){border:1px solid #dce1e8;padding:0;overflow:hidden;background:#fff;gap:12px;padding-bottom:16px}#pac-operations .branch-map:has(iframe)>span{padding-top:16px}#pac-operations .branch-map-frame{width:100%;height:320px;border:0;display:block}#pac-operations .branch-map:has(iframe) input{width:calc(100% - 32px)}@media(max-width:600px){#pac-operations .branch-map-frame{height:250px}}
/* PAC colour hierarchy: primary actions, information, review and completion. */
#pac-operations{--bg:#f3f5f8;--border:#dfe5ec;--muted:#596980;--info:#1762a6;--success:#16734f;--warning:#925c0b}
#pac-operations .card{box-shadow:0 3px 14px #20334a06}
#pac-operations .nav:hover{background:#f0f4f8}
#pac-operations .nav.active{background:#fff0f2;box-shadow:inset 3px 0 0 var(--accent)}
#pac-operations table thead th{background:#eaf0f6;color:#34475e;font-weight:600;padding-top:16px;padding-bottom:16px;border-bottom:2px solid #cdd8e4}
#pac-operations table tbody tr:nth-child(even)>td{background:#f8fafc}
#pac-operations table tbody tr:hover>td{background:#edf5fc}
#pac-operations .document-group th{background:#eaf3fa;color:#235b87;border-inline-start:4px solid #438dc3;padding:14px}
#pac-operations td{line-height:1.55}
#pac-operations .audit-filters{background:#f5f8fc;border:1px solid #e0e8f0;border-radius:12px;padding:16px}
#pac-operations a{color:var(--info);text-underline-offset:3px}
#pac-operations a.btn{display:inline-flex;align-items:center;justify-content:center;padding:9px 15px;border-radius:8px;font-weight:600;text-decoration:none;background:#eaf3fc;color:#175c98;border:1px solid #bed5ec}
#pac-operations button.secondary{background:#eff5fb;color:#23567f;border-color:#c5d9eb}
#pac-operations .tag{font-weight:600;background:#edf1f6;color:#53647b;border:1px solid #dbe3ed}
#pac-operations .tag.Closed{background:#e5f6ed;color:#12613f;border-color:#bde4cf}
#pac-operations .tag.Pending{background:#fff2d9;color:#85520b;border-color:#f2d79f}
#pac-operations .tag.Rejected,#pac-operations .tag.Returned{background:#fdebee;color:#aa253c;border-color:#f4c7d0}
#pac-operations button[data-action=approve],#pac-operations button[data-profile-action=approve],#pac-operations button[data-requirement-action=approve]{background:#16734f;color:white;border-color:#16734f}
#pac-operations button[data-action=return],#pac-operations button[data-profile-action=return],#pac-operations button[data-requirement-action=return]{background:#fff0d4;color:#85520b;border:1px solid #eac883}
#pac-operations button[data-action=reject],#pac-operations button[data-requirement-action=reject]{background:#fdebee;color:#aa253c;border:1px solid #edb8c4}
#pac-operations .mini-metric{border-top:3px solid #4b86b4;background:linear-gradient(145deg,#fff,#f4f8fc)}
#pac-operations .mini-metric:nth-child(2){border-top-color:#26a075;background:linear-gradient(145deg,#fff,#eff9f4)}
#pac-operations .mini-metric:nth-child(3){border-top-color:#d6a042;background:linear-gradient(145deg,#fff,#fffaee)}
#pac-operations .mini-metric:nth-child(4){border-top-color:#d12030;background:linear-gradient(145deg,#fff,#fff2f4)}
#pac-operations input:focus,#pac-operations select:focus,#pac-operations textarea:focus{outline:2px solid #77a8d7;outline-offset:2px;border-color:#4784be}
#pac-operations .btn:focus-visible,#pac-operations .nav:focus-visible{outline:3px solid #77a8d7;outline-offset:3px}
@media print{#pac-operations .card{box-shadow:none}#pac-operations table tbody tr>td{background:white}}
#pac-operations .knowledge-folders{display:grid;gap:14px}#pac-operations .knowledge-folder{border:1px solid #dce5ef;border-radius:12px;overflow:hidden;background:#fff}#pac-operations .knowledge-folder summary{display:flex;gap:14px;align-items:center;cursor:pointer;padding:20px;background:#f4f8fc;list-style:none}#pac-operations .knowledge-folder summary::-webkit-details-marker{display:none}#pac-operations .knowledge-folder summary:after{content:'+';margin-inline-start:auto;font-size:22px;color:#4a6583}#pac-operations .knowledge-folder[open] summary:after{content:'−'}#pac-operations .knowledge-folder summary:hover{background:#eaf3fc}#pac-operations .knowledge-folder summary:focus-visible{outline:3px solid #77a8d7;outline-offset:-3px}#pac-operations .folder-icon{font-size:27px}#pac-operations .knowledge-folder td:first-child{width:45%}#pac-operations .knowledge-folder td:last-child{min-width:220px}
#pac-operations .knowledge-video{display:block;width:100%;max-width:440px;max-height:260px;border-radius:10px;background:#172333;margin-bottom:10px}
#pac-operations .knowledge-folder-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:24px 0}#pac-operations .knowledge-folder-tile{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;min-height:165px;border:1px solid #dce5ef;border-radius:14px;background:#f8fafc;padding:22px 16px;color:#34475e;font:inherit;text-align:center;cursor:pointer;transition:border-color .15s,background .15s,box-shadow .15s}#pac-operations .knowledge-folder-tile .folder-icon{font-size:46px;line-height:1}#pac-operations .knowledge-folder-tile strong{font-size:14px;line-height:1.5}#pac-operations .knowledge-folder-tile .tag{position:absolute;top:12px;inset-inline-end:12px}#pac-operations .knowledge-folder-tile:hover{border-color:#77a8d7;background:#edf5fc;box-shadow:0 5px 16px #20334a0c}#pac-operations .knowledge-folder-tile.selected{border:2px solid #327ab5;background:#eaf3fc}#pac-operations .knowledge-folder-tile:focus-visible{outline:3px solid #77a8d7;outline-offset:3px}#pac-operations .knowledge-folder-content{padding-top:20px;border-top:1px solid #dce5ef}#pac-operations .knowledge-folder-content td:first-child{width:45%}#pac-operations .knowledge-folder-content td:last-child{min-width:220px}@media(max-width:800px){#pac-operations .knowledge-folder-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}#pac-operations .knowledge-folder-tile{min-height:150px}}@media(max-width:380px){#pac-operations .knowledge-folder-grid{grid-template-columns:1fr}}
/* Compact folder tiles with a bounded width instead of stretching across the page. */
#pac-operations .knowledge-folder-grid{grid-template-columns:repeat(auto-fill,minmax(180px,220px));gap:12px;margin:18px 0;justify-content:start}
#pac-operations .knowledge-folder-tile{min-height:116px;padding:16px 12px 12px;gap:9px;border-radius:10px}
#pac-operations .knowledge-folder-tile .folder-icon{font-size:32px}
#pac-operations .knowledge-folder-tile strong{font-size:12px;line-height:1.4;max-width:185px}
#pac-operations .knowledge-folder-tile .tag{top:8px;inset-inline-end:8px;padding:3px 7px;font-size:11px}
@media(max-width:800px){#pac-operations .knowledge-folder-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}#pac-operations .knowledge-folder-tile{min-height:110px}}@media(max-width:380px){#pac-operations .knowledge-folder-grid{grid-template-columns:1fr}}
/* Approved PAC Audit identity — charcoal, white and restrained brand red. */
#pac-operations{--accent:#e31837;--bg:#f4f5f7;--card:#fff;--text:#24282e;--muted:#656b75;--border:#dfe2e7;--info:#454b55;font-family:Arial,'IBM Plex Sans',sans-serif;font-size:14px}
#pac-operations .sidebar{background:#292d32;border-color:#373c43;padding:24px 16px;gap:5px}
#pac-operations .brand{border-color:#454a51;padding-bottom:22px;gap:10px}
#pac-operations .brand img{background:white;border-radius:4px;padding:6px;width:105px}
#pac-operations .brand small{color:#d6d9df;font-size:11px;line-height:1.7}
#pac-operations .sidebar .muted,#pac-operations .navgroup{color:#b6bbc4}
#pac-operations .nav{color:#e8eaee;border-radius:5px;min-height:44px;padding:11px 13px}
#pac-operations .nav-icon{color:#d5d8df;display:inline-flex;align-items:center;justify-content:center}
#pac-operations .nav-icon svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#pac-operations .nav:hover{background:#383e46}
#pac-operations .nav.active{background:var(--accent);color:#fff;box-shadow:none}
#pac-operations .nav.active .nav-icon{color:#fff}
#pac-operations header{padding:22px 30px;background:white}
#pac-operations h1{font-size:25px;font-weight:700;letter-spacing:-.5px}
#pac-operations h2{font-size:17px;font-weight:700}
#pac-operations main{max-width:1600px;padding:0 28px}
#pac-operations .card{border-radius:7px;padding:20px;box-shadow:0 2px 6px #24282e04}
#pac-operations .compact-dashboard{gap:14px;margin:18px 0 22px}
#pac-operations .mini-metric:nth-child(n){background:white;border:1px solid var(--border);border-radius:6px;padding:19px 17px;min-height:87px;box-shadow:none}
#pac-operations .mini-metric strong{font-size:29px;font-weight:700;line-height:1.1;color:#24282e}
#pac-operations .mini-metric span{font-size:12px;color:#656b75}
#pac-operations table thead th{background:#f1f2f4;color:#424852;font-weight:600;border-bottom:1px solid #d8dce2;padding:12px 14px}
#pac-operations td{padding:12px 14px;font-size:13px;line-height:1.6}
#pac-operations table tbody tr:nth-child(even)>td{background:#fafafa}
#pac-operations table tbody tr:hover>td{background:#f4f5f7}
#pac-operations .document-group th{background:#edeff2;color:#454b55;border-inline-start:3px solid #7b818a}
#pac-operations .audit-filters,#pac-operations .toolbar{background:#fff;border-color:var(--border);border-radius:7px;padding:16px;gap:14px}
#pac-operations label{font-weight:600;font-size:12px;color:#424852}
#pac-operations input,#pac-operations select,#pac-operations textarea{border-color:#d2d6dc;border-radius:5px;padding:10px 12px;font-weight:400;font-size:13px}
#pac-operations button.btn,#pac-operations a.btn{border-radius:5px;font-size:13px;font-weight:600;min-height:36px}
#pac-operations button.secondary,#pac-operations a.btn{background:#fff;color:#424852;border:1px solid #bfc5ce}
#pac-operations button.secondary:hover,#pac-operations a.btn:hover{background:#f0f1f3}
#pac-operations a{color:#424852;text-decoration-color:#a0a6af}
#pac-operations a:hover{color:var(--accent)}
#pac-operations .tag{background:#f0f1f3;color:#656b75;border-color:#e1e3e8;padding:5px 10px;font-weight:500}
#pac-operations .tag.Closed{background:#e8f5ed;color:#247347;border-color:#d4ebde}
#pac-operations .tag.Pending{background:#fff4de;color:#96680c;border-color:#f4e4be}
#pac-operations .tag.Returned,#pac-operations .tag.Rejected{background:#fce9ed;color:#b12b43;border-color:#f4d0d8}
#pac-operations .note{background:#f1f2f4;color:#5f6670;border-color:#dfe2e7;border-radius:6px}
#pac-operations .task-symbol{background:#f0f1f3;color:#636b77;border-radius:6px}
#pac-operations .branch-info,#pac-operations .knowledge-folder summary{background:#f4f5f7}
#pac-operations .knowledge-folder summary:hover{background:#eceef1}
#pac-operations .knowledge-folder-tile{border-color:var(--border);background:#fff;border-radius:7px}
#pac-operations .knowledge-folder-tile:hover{background:#f5f5f6;border-color:#a4abb5}
#pac-operations input:focus,#pac-operations select:focus,#pac-operations textarea:focus{outline:2px solid #aeb4bd;border-color:#646c78;outline-offset:2px}
#pac-operations .btn:focus-visible,#pac-operations .nav:focus-visible,#pac-operations a:focus-visible{outline:3px solid #aeb4bd;outline-offset:3px}
#pac-operations .regional-summary .bar{min-width:100px;height:7px;background:#e6e8ed}
#pac-operations .regional-summary .bar span{background:#68717e}
#pac-operations .regional-summary td:nth-child(2){min-width:175px}
#pac-operations .completion-deadline{font-size:12px;margin-bottom:16px}
@media(max-width:800px){#pac-operations main{padding:0 14px}#pac-operations header{padding:16px}#pac-operations .compact-dashboard{gap:10px}#pac-operations .mini-metric:nth-child(n){padding:14px;min-height:77px}#pac-operations .mini-metric strong{font-size:25px}}
@media print{#pac-operations{--bg:white}#pac-operations .card{box-shadow:none}}

#pac-operations .photo-folders{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}#pac-operations .photo-folder{border:1px solid var(--line,#dce1e8);border-radius:12px;background:#fff;overflow:hidden}#pac-operations .photo-folder[open]{grid-column:1/-1}#pac-operations .photo-folder>summary{cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:10px;padding:22px;list-style:none}#pac-operations .photo-folder>summary::-webkit-details-marker{display:none}#pac-operations .folder-icon{color:#a49173;font-size:36px;line-height:1;border-radius:5px;background:#f5f1e9;padding:8px 16px}#pac-operations .folder-content{border-top:1px solid #e4e6e9;padding:20px}#pac-operations .folder-photos{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:18px}#pac-operations .folder-photo{margin:0;border:1px solid #e4e6e9;border-radius:10px;padding:12px;min-width:0}#pac-operations .folder-photo img{width:100%;height:190px;object-fit:cover;border-radius:6px}#pac-operations .folder-photo figcaption{font-weight:600;margin:12px 0;overflow-wrap:anywhere}#pac-operations .folder-photo label{font-size:12px}#pac-operations .folder-photo input{width:100%;box-sizing:border-box}#pac-operations .folder-upload{border-top:1px solid #e4e6e9;margin-top:22px;padding-top:18px}#pac-operations .photo-feedback{font-size:12px;overflow-wrap:anywhere}@media(max-width:850px){#pac-operations .photo-folders{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){#pac-operations .folder-photos{grid-template-columns:1fr}#pac-operations .folder-content{padding:12px}}

#pac-operations .requirement-folder{min-width:220px;max-width:520px}#pac-operations .requirement-folder>summary{cursor:pointer;font-weight:600;padding:12px;border:1px solid #dce1e8;border-radius:8px}#pac-operations .requirement-folder[open]{padding:10px;background:#fff}#pac-operations .requirement-folder .folder-photos{margin-top:12px;grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}@media(max-width:600px){#pac-operations .requirement-folder{min-width:0;max-width:100%;width:100%}#pac-operations .requirement-folder .folder-photos{grid-template-columns:1fr}}

/* Room for real audit work: stable columns, compact actions and a separate evidence dialog. */
#pac-operations [data-multi-source]{display:none!important}
#pac-operations .multi-filter{position:relative;min-width:180px;margin:7px 0 16px;font-weight:400}
#pac-operations .multi-filter>summary{list-style:none;cursor:pointer;border:1px solid #d7dde6;border-radius:7px;padding:10px 30px 10px 10px;background:#fff;white-space:normal;min-height:42px}
#pac-operations .multi-filter>summary:after{content:'▾';position:absolute;inset-inline-end:12px;top:10px}
#pac-operations .multi-filter-options{position:absolute;inset-inline:0;top:100%;z-index:100;background:#fff;border:1px solid #d7dde6;box-shadow:0 8px 20px #0002;border-radius:8px;max-height:300px;overflow:auto;padding:8px;min-width:220px}
#pac-operations .multi-filter-options label{display:flex;align-items:center;gap:10px;padding:8px;cursor:pointer;font-weight:400}
#pac-operations .multi-filter-options input[type=checkbox]{width:16px;min-width:16px;margin:0;accent-color:#e31837}
#pac-operations .requirements-table{min-width:1740px;table-layout:auto;font-size:13px;line-height:1.5}
#pac-operations .requirements-table th,#pac-operations .requirements-table td{padding:12px!important;min-width:110px!important;overflow-wrap:normal;word-break:normal}
#pac-operations .requirements-table th{font-size:12px;white-space:nowrap}
#pac-operations .requirements-table td:nth-child(2){min-width:230px!important}
#pac-operations .requirements-table td:nth-child(14){min-width:190px!important}
#pac-operations .requirements-table textarea{min-width:180px!important}
#pac-operations .requirements-table .btn{font-size:12px;padding:8px;word-break:normal;white-space:normal}
#pac-operations .requirement-dialog{width:min(1000px,94vw);max-height:88vh;border:1px solid #d7dde6;border-radius:14px;padding:24px;color:var(--text);background:#fff;overflow:auto}
#pac-operations .requirement-dialog::backdrop{background:#0007}
#pac-operations .requirement-dialog table,#pac-operations .requirement-dialog td{width:100%;border:0;white-space:normal;padding:0}
#pac-operations .requirement-dialog .requirement-folder{min-width:0;max-width:none}
#pac-operations .requirement-dialog .folder-photos{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}
#pac-operations .requirement-dialog .folder-photo img{width:100%;height:200px;object-fit:contain}
#pac-operations .account-previews>summary{cursor:pointer;font-weight:600}
#pac-operations .account-previews .card{box-shadow:none;margin:12px 0}
@media(max-width:1200px){#pac-operations .requirements-table{min-width:0}#pac-operations .requirements-table td{min-width:0!important}#pac-operations .requirements-table td:nth-child(2),#pac-operations .requirements-table td:nth-child(14){min-width:0!important}}

/* Approved Audit overview dashboard. */
#pac-operations:has(.dashboard-home) main{max-width:1560px;margin:26px auto;padding:0 28px}
#pac-operations .dashboard-home{display:grid;gap:20px}
#pac-operations .dashboard-home .card{margin:0;padding:22px;border:1px solid #dfe2e7;border-radius:12px;box-shadow:0 2px 4px #17212e05}
#pac-operations .dash-filter-row{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}
#pac-operations .dash-filters{display:grid;grid-template-columns:minmax(200px,280px) minmax(220px,340px);gap:16px;flex:1}
#pac-operations .dash-filters label{font-weight:600;font-size:13px}
#pac-operations .dash-filters .multi-filter{margin-bottom:0}
#pac-operations .dash-deadline{display:flex;align-items:center;gap:10px;padding:12px 15px;border:1px solid #dfe2e7;border-radius:8px;background:#fff;font-size:13px}
#pac-operations .dashboard-home svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
#pac-operations .dash-hero{display:grid;grid-template-columns:1.05fr 1fr;gap:30px;align-items:center}
#pac-operations .dash-overall-value{display:flex;align-items:center;gap:22px;margin:14px 0;color:#5b6069;font-size:14px}
#pac-operations .dash-overall-value>strong{font-size:58px;line-height:1;color:#e31837;letter-spacing:-2px}
#pac-operations .dash-overall-bar{height:13px;background:#eceef1;border-radius:10px;overflow:hidden;margin:18px 0 0}
#pac-operations .dash-overall-bar span{height:100%;background:#e31837;border-radius:10px;display:block}
#pac-operations .dash-workflow{border-inline-start:1px solid #dfe2e7;padding-inline-start:30px}
#pac-operations .dash-workflow h3{margin:0 0 18px;font-size:14px}
#pac-operations .dash-workflow-steps{display:flex;align-items:center;justify-content:space-between;gap:10px}
#pac-operations .dash-workflow-steps>div{display:flex;align-items:center;gap:10px;padding:13px;border-radius:10px;flex:1;font-size:13px;background:#f0f1f3}
#pac-operations .dash-workflow-steps>div.pending{background:#fff5e5}
#pac-operations .dash-workflow-steps>div.approved{background:#edf4ee}
#pac-operations .dash-workflow-steps strong{display:block;margin-top:3px;font-size:15px}
#pac-operations .dash-workflow-steps i{width:14px;height:14px;border-radius:50%;background:#b9bec4;flex-shrink:0}
#pac-operations .dash-workflow-steps .pending i{background:#c79b54}
#pac-operations .dash-workflow-steps .approved i{background:#7e9a83}
#pac-operations .dash-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
#pac-operations .dash-kpi{display:grid;grid-template-columns:30px minmax(0,1fr) 15px;gap:12px;text-align:start;color:var(--text);font:inherit;cursor:pointer;background:#fff}
#pac-operations .dash-kpi svg{grid-row:1/3;color:#626873;margin-top:2px}
#pac-operations .dash-kpi.pending svg{color:#ad803d}
#pac-operations .dash-kpi-label{font-size:13px;line-height:1.5}
#pac-operations .dash-kpi>strong{grid-column:2;font-size:34px;line-height:1.2}
#pac-operations .dash-kpi>.dash-arrow{grid-column:3;grid-row:2;align-self:center;color:#727780}
#pac-operations .dash-kpi:hover,#pac-operations .dash-action-row:hover{border-color:#abb1ba;background:#fafbfc}
#pac-operations .dash-kpi:focus-visible,#pac-operations .dash-action-row:focus-visible{outline:2px solid #e31837;outline-offset:3px}
#pac-operations .dash-bottom-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(280px,1fr);gap:18px}
#pac-operations .dash-region-table th{white-space:nowrap;font-size:12px;background:#f1f3f5}
#pac-operations .dash-region-table td{font-size:13px;padding:15px 12px}
#pac-operations .dash-region-progress{display:flex;align-items:center;gap:12px;min-width:125px}
#pac-operations .dash-region-progress .bar{width:110px;height:7px;margin:0;border-radius:8px;background:#eceef1}
#pac-operations .dash-region-progress .bar span{background:#e31837;height:100%;display:block;border-radius:8px}
#pac-operations .dash-region-progress>strong{min-width:30px}
#pac-operations .dash-score-note{line-height:1.6;margin:16px 0 0}
#pac-operations .dash-action-row{display:flex;align-items:center;gap:12px;padding:14px 12px;border:1px solid #e0e3e7;border-radius:9px;width:100%;margin:12px 0 0;background:#fff;color:var(--text);font:inherit;text-align:start;cursor:pointer}
#pac-operations .dash-action-row>span:not(.dash-arrow){flex:1;font-size:13px}
#pac-operations .dash-action-row>strong{padding:4px 10px;border-radius:6px;background:#f0f1f3;font-size:14px}
#pac-operations .dash-action-row:first-of-type>strong{background:#fff5e5;color:#8b632e}
#pac-operations .dash-quick>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
#pac-operations .dash-quick button{display:flex;justify-content:center;align-items:center;gap:12px;padding:13px;font-weight:600;background:#fff}
#pac-operations[dir=ltr] .dash-arrow,#pac-operations[dir=ltr] .dash-workflow-steps>b{transform:scaleX(-1)}
@media(max-width:1150px){#pac-operations .dash-hero{grid-template-columns:1fr}#pac-operations .dash-workflow{border-inline-start:0;border-top:1px solid #dfe2e7;padding:20px 0 0}#pac-operations .dash-bottom-grid{grid-template-columns:1fr}#pac-operations .dash-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){#pac-operations:has(.dashboard-home) main{padding:0 12px;margin:18px auto}#pac-operations .dashboard-home .card{padding:16px}#pac-operations .dash-filters{grid-template-columns:1fr;width:100%}#pac-operations .dash-overall-value{align-items:flex-start;flex-direction:column;gap:12px}#pac-operations .dash-overall-value>strong{font-size:48px}#pac-operations .dash-workflow-steps{gap:6px}#pac-operations .dash-workflow-steps>div{padding:9px 6px;font-size:11px;gap:6px}#pac-operations .dash-workflow-steps i{width:9px;height:9px}#pac-operations .dash-kpi-grid{gap:10px}#pac-operations .dash-kpi{grid-template-columns:1fr 13px;gap:8px}#pac-operations .dash-kpi svg{display:none}#pac-operations .dash-kpi>strong{grid-column:1;font-size:29px}#pac-operations .dash-kpi>.dash-arrow{grid-column:2}#pac-operations .dash-quick>div{grid-template-columns:1fr}#pac-operations .dash-deadline{width:100%}}

#pac-operations .dash-region-table table{table-layout:fixed;white-space:normal}
#pac-operations .dash-region-table th,#pac-operations .dash-region-table td{min-width:0;white-space:normal;padding:13px 8px;overflow-wrap:normal}
#pac-operations .dash-region-table td:nth-child(2){min-width:0}
#pac-operations .dash-region-table th:first-child{width:26%}
#pac-operations .dash-region-table th:nth-child(2){width:12%}
#pac-operations .dash-region-table th:nth-child(3){width:13%}
#pac-operations .dash-region-table th:nth-child(4){width:25%}
#pac-operations .dash-region-table th:last-child{width:24%}
#pac-operations .dash-region-table .dash-region-progress{min-width:0;gap:7px}
#pac-operations .dash-region-table .dash-region-progress .bar{min-width:0;width:auto;flex:1}
@media(max-width:600px){#pac-operations .dash-region-table table{min-width:450px}}

/* Filters keep labels and controls on separate rows, but each checkbox beside its option. */
#pac-operations .audit-filters{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 20px;align-items:start;background:#f7f8fa;border:1px solid #dce0e6;padding:20px}
#pac-operations .audit-filters .multi-filter{min-width:0;margin:0;width:100%}
#pac-operations .audit-filters .multi-filter>summary{background:#fff;border-color:#bac2cd;min-height:46px;padding-block:12px;font-weight:400;color:#343c48}
#pac-operations .audit-filters .multi-filter-options label,#pac-operations .multi-filter-options label{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:12px!important;padding:10px 12px!important;text-align:start;line-height:1.5;width:100%}
#pac-operations .multi-filter-options label>span{flex:1;min-width:0}
#pac-operations .audit-filters .multi-filter-options input[type=checkbox],#pac-operations .multi-filter-options input[type=checkbox]{display:inline-block!important;width:17px!important;height:17px!important;min-width:17px!important;max-width:17px!important;flex:0 0 17px!important;margin:0!important;padding:0!important}
#pac-operations .multi-filter-options label:has(input:checked){background:#fff0f2;color:#8b1830;border-radius:6px}
#pac-operations .multi-filter-options label:hover{background:#f2f4f7}
#pac-operations .audit-filters:has(#audit-region)>.btn{grid-column:1/-1;width:auto;justify-self:end}
#pac-operations .compliance-filter-grid:has(#compliance-region),#pac-operations .compliance-filter-grid:has(#report-region){grid-template-columns:repeat(4,minmax(0,1fr))}
#pac-operations .result-total{font-size:13px;font-weight:400;color:#677180}
#pac-operations .requirements-table{min-width:1480px}
#pac-operations .requirements-table th{background:#e8ecf1;color:#344255;font-weight:700;border-bottom:2px solid #c9d1dc}
#pac-operations .requirements-table tbody tr:nth-child(even){background:#f7f9fc}
#pac-operations .requirements-table tbody tr:hover{background:#edf3fa}
#pac-operations .requirements-table td:first-child{border-inline-start:4px solid #c2cad5}
#pac-operations .requirements-table .requirement-state-Pending td:first-child{border-inline-start-color:#c39646}
#pac-operations .requirements-table .requirement-state-Approved td:first-child{border-inline-start-color:#648974}
#pac-operations .requirements-table .requirement-state-Returned td:first-child,#pac-operations .requirements-table .requirement-state-Rejected td:first-child{border-inline-start-color:#cf5b69}
#pac-operations .audit-status,#pac-operations .audit-priority{display:inline-block;font-size:12px;line-height:1.5;border-radius:6px;padding:5px 9px;font-weight:600;background:#edf0f5;color:#4b5768}
#pac-operations .audit-status-Pending{background:#fff2d9;color:#835b1c}
#pac-operations .audit-status-Approved{background:#e4f1e9;color:#2e6349}
#pac-operations .audit-status-Returned,#pac-operations .audit-status-Rejected{background:#fce8ed;color:#9b324c}
#pac-operations .audit-priority-Critical{background:#fae3e8;color:#9a2944}
#pac-operations .audit-priority-High{background:#fff0de;color:#8e5b23}
#pac-operations .audit-priority-Medium{background:#eaf0fa;color:#466084}
#pac-operations .audit-priority-Low{background:#edf2f0;color:#536b60}
#pac-operations .requirements-table td:last-child{min-width:185px!important}
#pac-operations .folder-responsibility{padding:12px 16px;background:#f0f3f8;border-radius:8px;line-height:1.7}
#pac-operations .initial-loading{min-height:65vh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:18px;text-align:center}
#pac-operations .initial-loading img{width:150px;background:white;padding:12px;border-radius:10px}
#pac-operations .initial-loading h1{font-size:22px}
#pac-operations .initial-loading p{color:#667180;margin:0}
#pac-operations .loading-spinner{width:30px;height:30px;border:3px solid #dce1e8;border-top-color:#e31837;border-radius:50%;animation:audit-spin .8s linear infinite}
@keyframes audit-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){#pac-operations .loading-spinner{animation:none}}
#pac-operations .dash-branch-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;width:100%;padding:12px;margin-top:10px;border:1px solid #dde3eb;border-radius:8px;background:#fff;text-align:start;font:inherit;color:var(--text);cursor:pointer}
#pac-operations .dash-branch-row:hover{background:#f5f7fa;border-color:#aebdce}
#pac-operations .dash-branch-row div>strong{display:block;font-size:13px;line-height:1.4}
#pac-operations .dash-branch-row div>span{font-size:12px;color:#687384}
#pac-operations .dash-branch-row>b{font-size:18px;color:#4b586c}
#pac-operations .dash-branch-row small{grid-column:1/-1;font-size:11px;color:#596779}
#pac-operations .dash-expiry-link{display:flex;gap:10px;align-items:center;margin-top:16px;padding:10px 14px;border:1px solid #e3d0aa;border-radius:8px;background:#fff8ec;color:#805e2a;font:inherit;cursor:pointer}
@media(max-width:1000px){#pac-operations .compliance-filter-grid:has(#compliance-region),#pac-operations .compliance-filter-grid:has(#report-region){grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){#pac-operations .audit-filters{grid-template-columns:repeat(2,minmax(0,1fr));padding:14px;gap:12px}}
@media(max-width:450px){#pac-operations .audit-filters,#pac-operations .compliance-filter-grid:has(#compliance-region),#pac-operations .compliance-filter-grid:has(#report-region){grid-template-columns:1fr}#pac-operations .requirements-table{min-width:0}}

#pac-operations .requirements-table{min-width:1360px}#pac-operations .folder-due{max-width:280px;margin:0 0 16px}#pac-operations .folder-due label{display:flex;flex-direction:column;gap:8px}#pac-operations .folder-due input{margin:0}@media(max-width:1200px){#pac-operations .requirements-table{min-width:0}}

#pac-operations .data-missing{display:inline-block;padding:4px 8px;background:#fff4df;color:#805e2a;border-radius:6px;font-size:12px}#pac-operations .staffing-data-note{color:#596b82;background:#f0f4fa;border:1px solid #dce5f1;border-radius:7px;padding:10px 14px;font-size:13px;line-height:1.7}

#pac-operations .dash-module-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
#pac-operations .dash-module{border-top:4px solid #7589a5!important}
#pac-operations .dash-module.audit{border-top-color:#d54056!important}
#pac-operations .dash-module.documents{border-top-color:#ac8b53!important}
#pac-operations .dash-module.profiles{border-top-color:#638779!important}
#pac-operations .dash-module-heading{display:flex;align-items:center;gap:10px;width:100%;background:none;border:0;padding:0;color:var(--text);font:inherit;text-align:start;cursor:pointer}
#pac-operations .dash-module-heading h2{flex:1;margin:0;line-height:1.5;font-size:17px}
#pac-operations .dash-module>p{margin:12px 0 18px;line-height:1.5}
#pac-operations .dash-module-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:22px 0;gap:10px}
#pac-operations .dash-module-counts>div{min-width:0;border-inline-end:1px solid #e0e5eb;padding-inline-end:10px}
#pac-operations .dash-module-counts>div:last-child{border:0;padding:0}
#pac-operations .dash-module-counts span{display:block;font-size:12px;color:#606e80;line-height:1.5;margin-bottom:7px}
#pac-operations .dash-module-counts strong{font-size:28px;font-weight:700;line-height:1.2}
#pac-operations .dash-module .bar{height:9px;border-radius:6px;background:#e8edf2;overflow:hidden;margin:0}
#pac-operations .dash-module .bar span{height:100%;display:block;background:#d54056;border-radius:6px}
#pac-operations .dash-module.documents .bar span{background:#ac8b53}
#pac-operations .dash-module.profiles .bar span{background:#638779}
#pac-operations .dash-module-note{min-height:30px;margin:16px 0 0!important;font-size:12px;color:#667386;line-height:1.5}
#pac-operations button.dash-module-note{width:100%;border:0;background:#fff4df;padding:8px 10px;border-radius:6px;display:flex;gap:10px;justify-content:space-between;color:#805d27;cursor:pointer}
#pac-operations .section-region-count{display:block;font-size:11px;color:#6a7687;margin-top:5px}
#pac-operations[dir=ltr] .dash-module-heading>span{transform:scaleX(-1)}
@media(max-width:1100px){#pac-operations .dash-module-grid{grid-template-columns:1fr}#pac-operations .dash-module-counts strong{font-size:30px}}
@media(max-width:600px){#pac-operations .dash-module-counts strong{font-size:26px}}

#pac-operations .dash-module-heading{min-height:48px}#pac-operations .dash-module>p.muted{min-height:36px}
.employee-view-tabs{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:.75rem}
.card[hidden],.audit-filters label[hidden]{display:none!important}

/* Shared action sizing, including compact table controls and attachment pickers. */
#pac-operations :is(button.btn,a.btn,.attachment-picker,.report-tabs button){
  box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;
  gap:.4rem;min-height:40px;padding:.55rem .9rem;border-radius:9px;
  font-size:13px;font-weight:650;line-height:1.25;text-align:center;
  transition:background-color .15s,border-color .15s,color .15s;
}
#pac-operations :is(button.secondary,a.btn,.attachment-picker,.report-tabs button:not(.active)){
  background:#fff;color:#283340;border:1px solid #d8dee6;
}
#pac-operations :is(button.secondary,a.btn,.attachment-picker,.report-tabs button:not(.active)):hover{
  background:#f4f6f8;border-color:#b7c1cd;filter:none;
}
#pac-operations :is(button.btn,.report-tabs button):disabled{opacity:.55;cursor:not-allowed;filter:none}
#pac-operations :is(.btn,.nav,.report-tabs button):focus-visible,#pac-operations .attachment-picker:focus-within{
  outline:2px solid #3a6a91;outline-offset:3px;
}
#pac-operations .nav{border-radius:9px}
#pac-operations :is(.requirements-table,.compliance-table,.employee-fit-table) .btn{
  display:inline-flex;width:auto;max-width:100%;min-height:34px;padding:.4rem .65rem;
  margin:0 .15rem .25rem 0;font-size:12px;white-space:normal;vertical-align:middle;
}
#pac-operations button.employee-edit{background:#e9f4f6;color:#175567;border-color:#c4dfe6}
#pac-operations :is(button.employee-delete,button[data-remove-requirement-file]){
  color:#a11931;background:#fff;border:1px solid #eccbd2;
}
#pac-operations :is(button.employee-delete,button[data-remove-requirement-file]):hover{
  background:#fff0f2;border-color:#dd9dac;
}
#pac-operations .attachment-actions{
  display:flex;align-items:center;flex-wrap:wrap;gap:.5rem;margin-top:.65rem;
  padding-top:.65rem;border-top:1px solid #e8ecf0;
}
#pac-operations .attachment-picker{position:relative;isolation:isolate;cursor:pointer;margin:0;max-width:100%}
#pac-operations .attachment-picker input[type=file]{
  position:absolute;inset:0;width:100%;height:100%;margin:0;padding:0;opacity:0;cursor:pointer;
}
#pac-operations .attachment-picker:has(input:disabled){opacity:.55;cursor:not-allowed}
#pac-operations .attachment-picker-primary{
  background:var(--accent);border-color:var(--accent);color:white;
}
#pac-operations .attachment-picker-primary:hover{
  background:#b9192a;border-color:#b9192a;color:white;
}
#pac-operations .attachment-download{display:inline-block;margin-bottom:.6rem;font-size:12px;font-weight:650;text-underline-offset:3px}
#pac-operations .requirement-dialog [data-photo-caption-form] .btn{margin-top:.45rem}
#pac-operations .requirement-dialog [data-photo-caption-form] .photo-feedback:empty{display:none}
@media (max-width:600px){
  #pac-operations :is(button.btn,a.btn,.attachment-picker,.report-tabs button),
  #pac-operations :is(.requirements-table,.compliance-table,.employee-fit-table) .btn{min-height:44px}
}
@media (prefers-reduced-motion:reduce){
  #pac-operations :is(button.btn,a.btn,.attachment-picker,.report-tabs button){transition:none}
}

#pac-operations .audit-hold-dialog{width:min(680px,94vw)}
#pac-operations .audit-hold-form{display:grid;gap:14px}
#pac-operations .audit-hold-form fieldset{min-width:0;margin:0;padding:0;border:0}
#pac-operations .audit-hold-form legend{font-weight:700;margin-bottom:8px}
#pac-operations .audit-hold-list{max-height:34vh;overflow:auto;border:1px solid #d7dde6;border-radius:10px}
#pac-operations .audit-hold-list>.muted{margin:12px}
#pac-operations .audit-hold-item{display:flex;align-items:flex-start;gap:10px;margin:0;padding:9px 12px}
#pac-operations .audit-hold-item+.audit-hold-item{border-top:1px solid #e7ebef}
#pac-operations .audit-hold-item input[type=checkbox]{width:1rem;height:1rem;min-height:0;flex:none;margin:3px 0 0;accent-color:var(--red,#c8102e)}
#pac-operations .audit-hold-item small{display:block;font-weight:400;overflow-wrap:anywhere}
#pac-operations .audit-hold-fields{display:grid;gap:8px}
#pac-operations .audit-hold-fields :is(input,textarea){display:block;width:100%}
#pac-operations .audit-hold-notice{color:#315344;background:#edf6ef;border-radius:8px;padding:8px 12px}
/* PAC training workspace */
#pac-training{min-width:0}
.tr-shell{display:grid;gap:14px}
.tr-banner,.tr-head,.tr-controls,.tr-tabs,.tr-callouts{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.tr-banner,.tr-head{justify-content:space-between}
.tr-banner{padding:20px 24px;background:#fff;border-inline-start:4px solid #d51232}
.tr-banner h2,.tr-head h2,.tr-section h2,.tr-dialog h2{margin:0}
.tr-banner p{margin:6px 0;color:#536071}
.tr-banner .tr-eyebrow{font-size:11px;font-weight:750;letter-spacing:.12em;color:#9b1934}
.tr-banner .tr-controls{align-items:end}
.tr-banner input{width:112px}
.tr-tabs{padding-bottom:8px;border-bottom:1px solid #dbe1e7}
.tr-section{margin:0;padding:18px 20px}
.tr-section>h2,.tr-section>.tr-head{margin-bottom:12px}
.tr-filters,.tr-form{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;align-items:end}
.tr-filters{margin-bottom:12px}
.tr-form{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:12px}
.tr-field{display:flex;flex-direction:column;gap:6px;min-width:0;margin:0}
.tr-field>span:first-child{font-weight:650}
.tr-field input,.tr-field select,.tr-field textarea{max-width:100%;margin:0}
.tr-check,.tr-form>[data-tr-warnings],.tr-form>p,.tr-form>div,.tr-form>button{grid-column:1/-1}
.tr-form>button{justify-self:start}
.tr-check{display:flex;align-items:center;gap:8px}
.tr-check input[type=checkbox]{width:1rem;height:1rem;flex:none;margin:0;accent-color:#d51232}
.tr-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
.tr-kpi{background:#fff;border:1px solid #dce2e8;border-radius:12px;padding:14px;display:grid;align-content:start;gap:6px}
.tr-kpi strong{font-size:27px;line-height:1.1;color:#2a3442;font-variant-numeric:tabular-nums}
.tr-kpi span,.tr-kpi small{color:#526176}
.tr-kpi progress,.tr-table progress{width:100%;height:6px;accent-color:#a71936}
.tr-table progress{display:block;max-width:90px}
.tr-table{overflow:auto;max-width:100%}
.tr-table table{margin:0;width:100%}
.tr-table td,.tr-table th{vertical-align:top;text-align:start}
.tr-table td small{display:block;color:#526176;margin-top:3px}
.tr-callouts>span,.tr-state{display:inline-block;border-radius:7px;background:#eef2f6;padding:4px 8px;font-size:13px}
.tr-passed,.tr-attended{background:#e5f4eb;color:#145a36}
.tr-scheduled{background:#e6effc;color:#174c81}
.tr-on_hold,.tr-failed{background:#fff0d8;color:#744410}
.tr-absent{background:#fde9e9;color:#8c252b}
.tr-note,.tr-message:not(.error){background:#eef4fa;border-radius:9px;padding:9px 12px}
.tr-message[hidden]{display:none}
.tr-steps{padding-inline-start:25px}
.tr-preview{padding-top:14px}
.tr-dialog{box-sizing:border-box;width:min(900px,95vw);max-height:88vh;overflow:auto;padding:20px;border:1px solid #d8dfe7;border-radius:14px;color:#273240}
.tr-dialog::backdrop{background:#0007}
.tr-dialog .tr-controls{margin:10px 0 16px}
.tr-dialog [data-tr-dialog-msg]:empty{display:none}
#tr-print{display:none}
@media(max-width:1100px){.tr-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){.tr-kpis,.tr-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.tr-form{grid-template-columns:1fr}.tr-section,.tr-banner,.tr-dialog{padding:13px}.tr-kpi strong{font-size:22px}}
@media print{
  @page trainingBrief{size:A4 landscape;margin:12mm}
  body:has(#tr-print)>:not(#tr-print){display:none!important}
  #tr-print{page:trainingBrief;display:block!important;background:white;color:#101620;font:13px system-ui}
  #tr-print h1{font-size:30px;margin:0 0 8px;color:#8f1530}
  #tr-print h2{break-after:avoid;margin-top:20px}
  #tr-print .tr-kpis{grid-template-columns:repeat(6,minmax(0,1fr))}
  #tr-print .tr-kpi{break-inside:avoid}
  #tr-print table{width:100%;border-collapse:collapse}
  #tr-print th,#tr-print td{padding:6px;border-bottom:1px solid #d8dfe5;text-align:start}
  #tr-print tr{break-inside:avoid}
  #tr-print thead{display:table-header-group}
}

.tr-pagination{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;margin-block-start:12px;color:#526176}
.tr-pagination [aria-current="page"]{background:#f8eaf0;border-color:#a71936;color:#81172e;font-weight:700}
