/* access.css - extracted from mesh-PO_sheet.html */

.acl-topbar { height: 44px; border-bottom: 1px solid #e5e7eb; display: flex; align-items: center; padding: 0 14px; flex-shrink: 0; gap: 10px; }
.acl-title { font-size: 13px; font-weight: 600; color: #111827; }
.acl-sub { font-size: 11px; color: #9ca3af; }
.acl-legend { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; color: #9ca3af; }
.acl-legend-sw { display: inline-block; width: 9px; height: 9px; border: 1px dashed #f59e0b; border-radius: 2px; background: #fffbeb; }
.acl-toolbar { height: 40px; border-bottom: 1px solid #e5e7eb; display: flex; align-items: center; padding: 0 14px; gap: 10px; flex-shrink: 0; background: #fafafa; }
.acl-search { position: relative; width: 220px; }
.acl-search input { width: 100%; height: 26px; border: 1px solid #e5e7eb; border-radius: 6px; padding: 0 8px 0 26px; font-size: 11.5px; color: #374151; background: white; outline: none; font-family: inherit; }
.acl-search input:focus { border-color: #4f6ef7; box-shadow: 0 0 0 2px rgba(79,110,247,0.08); }
.acl-search svg { position: absolute; left: 8px; top: 6px; color: #c4c9d4; pointer-events: none; }
.acl-tabs { display: flex; gap: 2px; }
.acl-tab { padding: 4px 10px; border-radius: 5px; font-size: 11.5px; color: #6b7280; cursor: pointer; font-weight: 500; }
.acl-tab:hover { background: #f3f4f6; color: #374151; }
.acl-tab.on { background: #eef2ff; color: #4f6ef7; }
.acl-tab .acl-fc { font-weight: 400; color: #9ca3af; margin-left: 4px; font-size: 10.5px; }
.acl-tab.on .acl-fc { color: #93a3f8; }
.acl-sep { width: 1px; height: 18px; background: #e5e7eb; }
.acl-count { font-size: 11px; color: #9ca3af; margin-left: auto; }
.acl-invite { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 12px; border: none; border-radius: 6px; background: #4f6ef7; color: white; font-size: 11.5px; font-weight: 500; cursor: pointer; font-family: inherit; }
.acl-invite:hover { background: #3d5bd9; }
.acl-table-wrap { flex: 1; overflow: auto; background: white; box-shadow: inset -1px 0 0 #e5e7eb; }
.acl-mcell { display: flex; align-items: center; gap: 9px; }
.acl-mav { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 9.5px; font-weight: 600; flex-shrink: 0; }
.acl-mname { font-size: 12px; font-weight: 500; color: #111827; display: flex; align-items: center; gap: 5px; }
.acl-myou { font-size: 9px; color: #6b7280; background: #f3f4f6; padding: 1px 5px; border-radius: 3px; font-weight: 500; }
.acl-memail { font-size: 10.5px; color: #9ca3af; margin-top: 2px; }
.acl-roleb { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 5px; font-size: 10px; font-weight: 600; cursor: pointer; border: none; font-family: inherit; position: relative; }
.acl-roleb svg { opacity: 0.45; }
.acl-roleb:hover svg { opacity: 0.85; }
.acl-rb-controller { background: #fef2f2; color: #dc2626; }
.acl-rb-sr_accountant { background: #eef2ff; color: #4f6ef7; }
.acl-rb-accountant { background: #f0fdf4; color: #16a34a; }
.acl-rb-viewer { background: #f9fafb; color: #6b7280; }
.acl-rdd { position: absolute; top: calc(100% + 4px); left: 0; background: white; border: 1px solid #e5e7eb; border-radius: 8px; box-shadow: 0 6px 20px rgba(0,0,0,0.12); z-index: 50; min-width: 170px; padding: 4px; display: none; }
.acl-rdd.open { display: block; }
.acl-rdd-i { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 5px; cursor: pointer; font-size: 11.5px; color: #374151; }
.acl-rdd-i:hover { background: #f3f4f6; }
.acl-rdd-i .acl-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.acl-rdd-i .acl-chk { margin-left: auto; color: #4f6ef7; opacity: 0; }
.acl-rdd-i.on .acl-chk { opacity: 1; }
.acl-chips { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.acl-ch { display: inline-flex; align-items: center; gap: 2px; padding: 2px 7px; border-radius: 4px; font-size: 10.5px; font-weight: 500; cursor: default; border: 1px solid transparent; line-height: 1.4; }
.acl-ch .acl-cx { cursor: pointer; opacity: 0; font-size: 11px; margin-left: 1px; }
.acl-ch:hover .acl-cx { opacity: 0.4; }
.acl-ch:hover .acl-cx:hover { opacity: 1; }
.acl-ch-admin { background: #f1f5f9; color: #475569; }
.acl-ch-accruals { background: #eef2ff; color: #4338ca; }
.acl-ch-outreach { background: #faf5ff; color: #7c3aed; }
.acl-ch.acl-ov { border: 1px dashed #f59e0b; }
.acl-ch-blocked { background: #f9fafb; color: #d1d5db; font-style: italic; font-weight: 400; }
.acl-add { display: inline-flex; align-items: center; gap: 3px; padding: 2.5px 8px; border-radius: 4px; font-size: 10.5px; font-weight: 600; color: #4f6ef7; border: 1px solid #c7d2fe; background: #eef2ff; cursor: pointer; font-family: inherit; opacity: 0; pointer-events: none; transition: opacity 0.15s ease, background 0.12s, border-color 0.12s; }
.acl-add:hover { background: #dde4ff; border-color: #4f6ef7; }
.acl-add-dd { position: absolute; background: white; border: 1px solid #e5e7eb; border-radius: 8px; box-shadow: 0 6px 20px rgba(0,0,0,0.12); z-index: 60; min-width: 180px; padding: 4px; display: none; margin-top: 4px; }
.acl-add-dd.open { display: block; }
.acl-add-i { padding: 5px 10px; border-radius: 5px; cursor: pointer; font-size: 11.5px; color: #374151; }
.acl-add-i:hover { background: #f3f4f6; }
.acl-foot { height: 30px; border-top: 1px solid #e5e7eb; display: flex; align-items: center; padding: 0 14px; font-size: 10.5px; color: #9ca3af; flex-shrink: 0; background: #fafafa; gap: 5px; }
