.retell-dashboard #accessPanel { max-width: 1080px; }
.access-tabs { display: flex; gap: 26px; border-bottom: 1px solid #e5eaf3; margin: -6px 0 30px; }
.retell-dashboard .access-tabs button { min-height: 44px; position: relative; padding: 10px 0 16px; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: #8792a5; font-size: 13px; white-space: nowrap; }
.retell-dashboard .access-tabs button[aria-selected="true"] { color: #315aff; font-weight: 550; }
.access-tabs button[aria-selected="true"]::after { content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 2px; background: #315aff; }
.retell-dashboard #accessPanel h2 { font-size: 21px; letter-spacing: -.5px; margin: 0 0 10px; }
.access-intro { max-width: 650px; margin-bottom: 24px; }
.access-intro p, .access-lead { font-size: 13px; color: #8190a7; line-height: 1.75; margin: 0 0 10px; max-width: 65ch; }
.retell-dashboard .access-team-link { min-height: 30px; border: 0; background: transparent; padding: 0; color: #5279cf; font-size: 12px; }
.retell-dashboard #accessPanel .access-composer { padding: 0; margin: 0 0 20px; border: 0; background: transparent; border-radius: 0; }
.access-composer > summary { display: inline-flex; align-items: center; cursor: pointer; list-style: none; padding: 11px 17px; border-radius: 8px; background: #315aff; color: white; font-size: 13px; font-weight: 500; }
.access-composer > summary::before { content: '+'; font-size: 18px; font-weight: 400; margin-right: 9px; line-height: 1; }
.access-composer[open] > summary::before { content: '−'; }
.access-composer > summary::-webkit-details-marker { display: none; }
.access-composer-body { max-width: 720px; padding: 24px; border: 1px solid #e2e9f6; border-radius: 12px; background: #f8faff; margin-top: 18px; }
.access-composer-body h3 { font-size: 16px; margin: 0 0 20px; color: #344764; }
.retell-dashboard #teamPage #accessGrantForm { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 20px; padding: 0; margin: 0; }
.retell-dashboard #accessPanel #accessRoleHint { display: block; min-height: 34px; font-size: 11px; color: #8293ae; line-height: 1.6; font-weight: 400; }
.retell-dashboard #accessPanel .access-note { grid-column: 1 / -1; font-size: 12px; color: #8392a8; line-height: 1.7; margin: 0; max-width: 58ch; }
.access-form-actions { display: flex; grid-column: 1 / -1; align-items: center; gap: 14px; padding-top: 4px; }
.retell-dashboard #accessPanel #cancelAccessGrant { padding: 7px; border: 0; background: transparent; color: #8090a8; }
.access-empty { display: flex; align-items: center; flex-direction: column; justify-content: center; min-height: 325px; border: 1px solid #e6ecf7; border-radius: 12px; background: radial-gradient(ellipse at 50% 35%,#f3f7ff,#fff 70%); padding: 26px; text-align: center; }
.access-empty h3 { font-size: 17px; font-weight: 500; color: #405577; margin: 8px 0 12px; }
.access-empty p { max-width: 375px; font-size: 12px; line-height: 1.8; color: #8a99b0; margin: 0; }
.access-composer[open] ~ #accessGrantsList:has(.access-empty) { display: none; }
.retell-dashboard #accessPanel #accessGrantsList .list-row { border: 1px solid #e5ebf5; border-radius: 10px; padding: 18px 20px; margin-bottom: 10px; gap: 18px; }
.retell-dashboard #accessPanel #accessGrantsList small { line-height: 1.7; font-size: 12px; color: #8292aa; }
.retell-dashboard #teamPage .access-security-card, .retell-dashboard #teamPage .access-join-card { max-width: 680px; padding: 0; }
.security-setting { padding: 24px 0; border-bottom: 1px solid #e5ebf5; }
.retell-dashboard #accessPanel .security-setting .status-line { margin: 0 0 15px; padding: 0; border: 0; }
.retell-dashboard #accessPanel .security-setting button { min-height: 36px; width: auto; }
.retell-dashboard #accessPanel .security-setting .status-line > span { font-size: 14px; color: #455672; }
.retell-dashboard #accessPanel #mfaSetup { padding: 20px; border-radius: 12px; background: #f5f8ff; margin-top: 18px; }
.retell-dashboard #accessPanel #mfaSetup .inline-form { display: flex; align-items: start; flex-direction: column; gap: 10px; }
.retell-dashboard #accessPanel #mfaEnableCode { max-width: 230px; }
.retell-dashboard #accessPanel #acceptAccessForm { display: flex; flex-direction: column; gap: 13px; margin-top: 28px; max-width: 480px; padding: 24px; border: 1px solid #e4ebf7; border-radius: 12px; background: #f8faff; }
.retell-dashboard #accessPanel #acceptAccessForm .primary { align-self: start; width: auto; }
.retell-dashboard #accessPanel #acceptAccessCode { letter-spacing: .06em; }
.retell-dashboard #accessPanel .secret { overflow-wrap: anywhere; }
@media (max-width:600px) {
 .access-tabs { gap: 18px; overflow-x: auto; margin-bottom: 24px; }
 .retell-dashboard .access-tabs button { font-size: 12px; }
 .retell-dashboard #teamPage #accessGrantForm { grid-template-columns: 1fr; gap: 18px; }
 .access-composer-body { padding: 18px; }
 .retell-dashboard #accessPanel h2 { font-size: 20px; }
 .retell-dashboard #accessPanel #acceptAccessForm { padding: 18px; }
 .retell-dashboard #accessPanel #accessGrantsList .list-row { align-items: start; flex-direction: column; }
}
