/* Team access page and the agent's note. Uses the existing colours. */
.acc-note { margin: 0 2px 14px; padding: 10px 14px; border-radius: 14px; background: #fff6e1; border: 1px solid #f3dfaa; color: #6a4700; font-size: .82rem; font-weight: 600; }
.acx-bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 0 2px 14px; }
.acx-bar label { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .85rem; }
.acx-bar select, .acx-ed select { height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); font: inherit; font-weight: 600; font-size: .85rem; }
.acx-hint { color: var(--muted); font-size: .8rem; }
.acx-err { margin: 0 2px 12px; padding: 10px 14px; border-radius: 12px; background: #fdecec; border: 1px solid #f6c9c7; color: #b3403c; font-weight: 600; font-size: .85rem; }
.acx-intro { border-radius: 22px; font-size: .88rem; line-height: 1.5; margin-bottom: 14px; }
.acx-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 16px 20px; margin-top: 10px; box-shadow: 0 1px 2px rgba(18, 28, 58, .04), 0 6px 22px rgba(18, 28, 58, .05); }
.acx-row.on { border-color: var(--primary); border-bottom-left-radius: 8px; border-bottom-right-radius: 8px; }
.acx-who b { font-size: 1rem; } .acx-who small { margin-left: 8px; color: var(--muted); font-weight: 600; font-size: .75rem; }
.acx-sum { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.acx-sum span { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; font-size: .72rem; font-weight: 600; color: #3a4565; }
.acx-ed { background: var(--surface); border: 1px solid var(--primary); border-top: 0; border-radius: 0 0 22px 22px; padding: 18px 20px 20px; margin-bottom: 4px; }
.acx-pre { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.acx-chip { border: 1.5px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; padding: 7px 16px; font: inherit; font-weight: 700; font-size: .8rem; cursor: pointer; }
.acx-chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.acx-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.acx-grid h4 { margin: 0 0 8px; font-size: .7rem; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.acx-f { display: flex; flex-direction: column; gap: 4px; font-size: .8rem; font-weight: 700; margin-bottom: 10px; }
.acx-c { display: flex; align-items: flex-start; gap: 10px; padding: 6px 0; font-size: .85rem; font-weight: 600; cursor: pointer; }
.acx-c.dis { opacity: .5; cursor: default; }
.acx-c input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--primary); }
.acx-c small { display: block; color: var(--muted); font-weight: 500; font-size: .72rem; }
.acx-warn { margin: 8px 0 0; padding: 8px 10px; border-radius: 10px; background: #fff6e1; color: #6a4700; font-size: .75rem; font-weight: 600; }
.acx-act { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.acx-act .btn { border-radius: 999px; padding: 10px 20px; font-weight: 700; width: auto; }
@media (max-width: 700px) { .acx-row { flex-direction: column; align-items: flex-start; } }

/* Viewers: only phone, email and revenue can be set (what they can do is fixed: look only) */
.acx-viewer .acx-pre, .acx-viewer .acx-grid > div:nth-child(1), .acx-viewer .acx-grid > div:nth-child(3), .acx-viewer .acx-grid > div:nth-child(4) { display: none; }
/* Roles at a glance (agency Admin) */
.acx-glance { padding: 0; }
.acx-glance > summary { display: flex; align-items: baseline; gap: 10px; padding: 16px 20px; cursor: pointer; list-style: none; }
.acx-glance > summary::-webkit-details-marker { display: none; }
.acx-glance > summary span { color: var(--muted); font-size: .8rem; }
.acx-glance > summary::after { content: "Show"; margin-left: auto; color: var(--primary); font-size: .8rem; font-weight: 700; }
.acx-glance[open] > summary::after { content: "Hide"; }
.acx-glance .tablewrap { margin: 0 20px; border: 1px solid var(--line); border-radius: 14px; overflow-x: auto; }
.acx-gt { width: 100%; border-collapse: collapse; font-size: .82rem; }
.acx-gt th { text-align: left; padding: 9px 12px; background: var(--paper, #F7F8FB); font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.acx-gt td { padding: 8px 12px; border-top: 1px solid var(--line); }
.acx-gn { margin: 12px 20px 18px; color: var(--muted); font-size: .8rem; }