.delegated-shell{max-width:1050px;margin:32px auto;padding:24px;color:#052463}.delegated-shell>.brand{margin-bottom:24px}.delegated-shell .card{margin:20px 0}.delegated-form{display:grid;gap:16px;max-width:620px;margin:24px 0}.delegated-form label{display:grid;gap:7px}.delegated-form .delegated-check{display:flex;gap:12px;align-items:flex-start;line-height:1.6}.delegated-check input{margin-top:6px;flex:0 0 auto}.delegated-qr{width:220px;height:220px;max-width:100%;object-fit:contain}.delegated-table{overflow:auto;margin:20px 0}.delegated-table table{width:100%;border-collapse:collapse;text-align:left}.delegated-table th,.delegated-table td{padding:12px;border-bottom:1px solid #dce7f2}.delegated-form .btn{justify-self:start}.delegated-shell details{margin:20px 0}.delegated-shell summary{cursor:pointer;font-weight:700}.delegated-shell .section-head{gap:16px;flex-wrap:wrap}@media(max-width:600px){.delegated-shell{margin:0;padding:20px}.delegated-form .btn{width:100%}}

.delegated-company-access{margin-top:24px;padding:20px;border:1px solid #cbdff4;border-radius:14px;background:#f4f9ff;color:#052463}
.delegated-company-access[hidden]{display:none!important}
.delegated-request{padding:18px;margin-top:12px;border:1px solid #dce6f0;border-radius:12px;background:#fff;overflow-wrap:anywhere}
.delegated-pending{border:2px solid #0068CC;background:#edf6ff}
.delegated-pending .delegated-status{color:#0068CC}
.delegated-status-grid{display:grid;grid-template-columns:minmax(140px,1fr) minmax(0,2fr);gap:8px 14px;font-size:13px}
.delegated-status-grid dt{color:#53657c}.delegated-status-grid dd{margin:0;font-weight:700}
@media(max-width:600px){.delegated-company-access{padding:14px}.delegated-status-grid{grid-template-columns:minmax(0,1fr)}.delegated-status-grid dd{margin-bottom:8px}}
.delegated-access-heading{display:flex;gap:14px;align-items:center}.delegated-access-heading h3{margin:3px 0 0;font-size:21px}.delegated-access-icon{display:grid;place-items:center;width:46px;height:46px;flex-shrink:0;border-radius:13px;background:#e3efff;color:#0068CC}.delegated-preview-note{padding:10px 12px;border-radius:9px;background:#fff7e1;color:#785312;font-size:13px;line-height:1.5}
.delegated-action-notice{display:grid;gap:5px;padding:15px 17px;border-radius:11px;background:#e5f0ff;border-left:4px solid #0068CC;font-size:14px}.delegated-action-notice span{font-size:13px;color:#52677d}.delegated-request-list{display:grid;gap:14px;margin-top:14px}.delegated-company-access .delegated-request{margin:0;padding:21px}.delegated-request-header{display:flex;justify-content:space-between;gap:16px;align-items:center;flex-wrap:wrap}.delegated-person{display:flex;align-items:center;gap:12px;min-width:0}.delegated-person h4{margin:0;font-size:17px;color:#052463}.delegated-person p{margin:4px 0 0;color:#52677d;font-size:13px}.delegated-avatar{display:grid;place-items:center;flex-shrink:0;width:42px;height:42px;border-radius:50%;background:#dcecff;color:#052463;font-size:19px;font-weight:700}.delegated-company-access .delegated-status{display:inline-flex;padding:7px 11px;border-radius:999px;background:#e4efff;color:#0068CC;font-size:12px}.delegated-company-access .delegated-status-active{background:#e6f6ee;color:#147053}.delegated-company-access .delegated-status-rejected{background:#fff0ef;color:#a12f37}.delegated-company-access .delegated-status-revoked{background:#edf0f5;color:#576477}
.delegated-request h5{font-size:12px;margin:20px 0 10px;color:#52677d}.delegated-scope-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 18px;margin:0;padding:0;list-style:none;font-size:13px;line-height:1.5}.delegated-scope-list li{display:flex;gap:8px}.delegated-scope-list li:before{content:'✓';color:#0068CC;font-weight:700}.delegated-progress{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:20px 0 0;padding:16px 0;border-top:1px solid #dce6f0;border-bottom:1px solid #dce6f0}.delegated-progress>div{padding-left:12px;border-left:3px solid #ccd8e7}.delegated-progress dt{font-size:11px;color:#52677d;line-height:1.5}.delegated-progress dd{margin:4px 0 0;font-size:13px;font-weight:700}.delegated-progress .is-done{border-color:#2a956f}.delegated-progress .is-done dd{color:#147053}.delegated-request-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-top:16px}.delegated-request-footer p{margin:0;font-size:12px;color:#52677d}.delegated-request-actions{display:flex;gap:8px;flex-wrap:wrap}.delegated-request-actions .btn{font-size:13px}.delegated-request-actions .btn:disabled{opacity:.55;cursor:default}.delegated-empty{padding:24px;border:1px dashed #bdcfe4;border-radius:12px;background:#fff;text-align:center}.delegated-empty p{color:#52677d;font-size:13px;margin-bottom:0}
@media(max-width:650px){.delegated-access-heading h3{font-size:18px}.delegated-company-access .delegated-request{padding:16px}.delegated-scope-list{grid-template-columns:minmax(0,1fr)}.delegated-progress{grid-template-columns:minmax(0,1fr);gap:14px}.delegated-request-actions{width:100%}.delegated-request-actions .btn{flex:1}.delegated-request-footer{align-items:stretch}}
