/* Static permission placeholders are intentionally different from loading states. */
.dashboard-enterprise .dash-access-banner{position:relative;display:flex;align-items:center;gap:18px;padding:18px 48px 18px 20px;border:1px solid #c6dff9;border-radius:8px;background:#f0f7ff;color:#17334c;min-width:0}
.dash-access-icon{display:grid;place-items:center;flex:0 0 52px;width:52px;height:52px;background:#dfeeff;color:#1673da;border-radius:8px}
.dash-access-copy{flex:1;min-width:0}
.dash-access-copy h3{margin:0 0 5px;font-size:18px;line-height:1.3;color:#102b40;letter-spacing:0}
.dash-access-copy p{margin:0;font-size:12px;line-height:1.65;color:#53708c}
.dash-access-actions{display:flex;flex-wrap:wrap;gap:10px;flex-shrink:0}
.dash-access-actions button,.dash-access-dialog button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:40px;padding:10px 16px;border:1px solid #07845f;border-radius:6px;background:white;color:#087554;font-family:inherit;font-weight:600;font-size:12px;line-height:1.4;cursor:pointer;white-space:normal}
.dash-access-actions .dash-access-primary,.dash-access-dialog .dash-access-primary{background:#07845f;color:#fff}
.dashboard-enterprise .dash-access-dismiss{position:absolute;top:10px;right:10px;display:grid;place-items:center;width:28px;height:28px;padding:0;border:0;border-radius:4px;background:transparent;color:#61788e;cursor:pointer}
.dash-access-actions button:hover,.dash-access-dialog button:hover{filter:brightness(.96)}
.dashboard-enterprise button:focus-visible,.dash-access-dialog button:focus-visible,.dash-access-dialog textarea:focus-visible{outline:2px solid #1673da!important;outline-offset:3px}
.dashboard-enterprise .dash-is-locked,.dashboard-enterprise .dash-status-locked{position:relative}
.dashboard-enterprise .dash-lock{display:inline-flex;align-items:center;justify-content:center;color:#718299;font-style:normal;flex-shrink:0}
.dashboard-enterprise .dash-is-locked .dash-lock,.dashboard-enterprise .dash-status-locked .dash-lock{position:absolute;top:16px;right:16px}
.dashboard-enterprise .dash-mask{display:block;width:112px;max-width:60%;height:16px;margin:12px 0;border-radius:8px;background:#dce3e3;flex-shrink:0}
.dashboard-enterprise .dash-restricted-note{display:flex;align-items:center;gap:7px;margin:0;color:#61758b;font-size:11.5px;line-height:1.5;font-weight:400}
.dashboard-enterprise .dash-restricted-note svg{flex:0 0 14px;color:#527294}
.dashboard-enterprise .dash-restricted-note span{min-width:0;overflow-wrap:anywhere}
.dashboard-enterprise .dash-locked-bars{position:absolute;display:flex;align-items:flex-end;gap:9px;bottom:16px;right:18px;opacity:.6;pointer-events:none}
.dashboard-enterprise .dash-locked-bars i{display:block;width:12px;height:16px;background:#e0f3eb;border-radius:4px}
.dashboard-enterprise .dash-locked-bars i:nth-child(2){height:28px}
.dashboard-enterprise .dash-locked-bars i:nth-child(3){height:40px}
.dashboard-enterprise .dash-locked-bars i:nth-child(4){height:54px}
.dashboard-enterprise .dash-locked-body{display:flex;flex-direction:column;align-items:center;gap:12px;padding:0 18px 18px;text-align:center;min-width:0}
.dashboard-enterprise .dash-locked-body p{margin:0;max-width:270px;font-size:12px;line-height:1.5;color:#65788c}
.dashboard-enterprise .dash-locked-body .dash-restricted-note{font-weight:600;justify-content:center}
.dashboard-enterprise .dash-locked-bell{width:46px;height:46px;display:grid;place-items:center;background:#f0f3f6;color:#7c8ba0;border-radius:8px}
.dashboard-enterprise .dash-placeholder-lines{display:grid;gap:12px;width:100%;max-width:340px}
.dashboard-enterprise .dash-placeholder-lines i{position:relative;display:block;margin-left:25px;height:12px;background:#f0f3f6;border-radius:6px}
.dashboard-enterprise .dash-placeholder-lines i:before{position:absolute;left:-25px;top:-1px;content:'';width:14px;height:14px;background:#e4e9ed;border-radius:50%}
.dashboard-enterprise .dash-placeholder-lines i:nth-child(1){width:78%}
.dashboard-enterprise .dash-placeholder-lines i:nth-child(2){width:90%}
.dashboard-enterprise .dash-placeholder-lines i:nth-child(3){width:68%}
.dashboard-enterprise .dash-locked-alerts .dash-placeholder-lines{grid-template-columns:1fr 1fr;gap:8px}
.dashboard-enterprise .dash-locked-alerts .dash-placeholder-lines i{width:auto;height:9px}
.dashboard-enterprise .dash-locked-alerts .dash-placeholder-lines i:last-child{display:none}
.dashboard-enterprise .dash-locked-alerts .dash-placeholder-lines i:before{width:10px;height:10px}
.dashboard-enterprise .dash-risk-placeholder{width:100%;display:grid;grid-template-columns:108px minmax(0,1fr);gap:18px;align-items:center;margin:2px 0 12px}
.dashboard-enterprise .dash-locked-ring{box-sizing:border-box;display:grid;place-items:center;width:108px;height:108px;border:14px solid #e2e7ea;border-radius:50%;color:#647c92}
.dashboard-enterprise .dash-risk-placeholder .dash-placeholder-lines i:before{border-radius:3px;width:10px;height:10px;left:-19px;top:1px}
.dashboard-enterprise .dash-locked-activity .dash-placeholder-lines{margin:4px 0 18px}
.dashboard-enterprise .dash-bottom-layout{min-width:0}
.dashboard-enterprise .dash-access-help{display:flex;align-items:center;gap:20px;padding:18px 24px;border:1px solid #dae8e2;border-radius:8px;background:#f6fcf9;min-width:0}
.dashboard-enterprise .dash-access-help>span{display:grid;place-items:center;flex-shrink:0;width:60px;height:60px;background:#e6f6ee;color:#269771;border-radius:8px}
.dashboard-enterprise .dash-access-help strong{font-size:12px;color:#185541}
.dashboard-enterprise .dash-access-help p{margin:7px 0 0;color:#61778a;font-size:12px;line-height:1.55}
.dashboard-enterprise .dash-no-actions{grid-column:1/-1;font-size:12px;color:#65788c;padding:0 8px}

/* Extra specificity confines compatibility overrides to the approved access layout. */
#adminApp.admin-shell:has(.dashboard-enterprise) .dashboard-enterprise.dashboard-access-limited{gap:12px!important;container:dash-access / inline-size}
#adminApp.admin-shell:not(.hidden):not([hidden]):has(.dashboard-access-limited) .admin-top{display:none!important}
#adminApp.admin-shell:has(.dashboard-enterprise) .dashboard-enterprise.dashboard-access-limited .dashboard-grid-secondary{grid-template-columns:minmax(0,1fr) minmax(0,.92fr) minmax(0,1.18fr) minmax(0,1fr)!important}
#adminApp.admin-shell:has(.dashboard-enterprise) .dashboard-enterprise.dashboard-access-limited .dashboard-grid-secondary>.dashboard-card{height:auto!important;min-height:238px!important}
#adminApp.admin-shell:has(.dashboard-enterprise) .dashboard-enterprise.dashboard-access-limited .dashboard-card-head{flex-direction:row!important;align-items:center!important;text-align:left!important}
#adminApp.admin-shell:has(.dashboard-enterprise) .dashboard-enterprise.dashboard-access-limited .dashboard-quick-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;padding:0 16px 16px!important;gap:9px!important}
#adminApp.admin-shell:has(.dashboard-enterprise) .dashboard-enterprise .dashboard-start-actions button,
#adminApp.admin-shell:has(.dashboard-enterprise) .dashboard-enterprise .dashboard-quick-grid button{position:relative;min-width:0!important;white-space:normal!important}
#adminApp.admin-shell:has(.dashboard-enterprise) .dashboard-enterprise .dashboard-start-actions button:disabled,
#adminApp.admin-shell:has(.dashboard-enterprise) .dashboard-enterprise .dashboard-quick-grid button:disabled{background:#f7f9fb!important;border-color:#e5eaf0!important;color:#7b889a!important;box-shadow:none!important;opacity:1!important;cursor:not-allowed!important;transform:none!important}
.dashboard-enterprise .dash-action-lock{position:absolute;top:7px;right:7px;display:flex}
#adminApp.admin-shell:has(.dashboard-enterprise) .dashboard-enterprise .dashboard-start-actions .dash-action-lock svg{width:12px!important;height:12px!important}
#adminApp.admin-shell:has(.dashboard-enterprise) .dashboard-enterprise .dashboard-quick-grid .dash-action-lock svg{width:12px!important;height:12px!important;color:#73849a!important}
#adminApp.admin-shell:has(.dashboard-enterprise) .dashboard-enterprise .dashboard-quick-grid button:disabled svg{color:#73849a!important}
#adminApp.admin-shell:has(.dashboard-enterprise) .dashboard-enterprise.dashboard-counters-restricted .dashboard-first-experience{grid-template-columns:minmax(0,1.7fr) minmax(0,1fr)!important;min-height:150px!important}
#adminApp.admin-shell:has(.dashboard-enterprise) .dashboard-enterprise.dashboard-counters-restricted .dashboard-start-card{grid-template-columns:minmax(165px,.55fr) minmax(0,1fr)!important;padding:20px!important;gap:16px!important}
#adminApp.admin-shell:has(.dashboard-enterprise) .dashboard-enterprise.dashboard-counters-restricted .dashboard-start-copy h3{font-size:23px!important}
#adminApp.admin-shell:has(.dashboard-enterprise) .dashboard-enterprise.dashboard-counters-restricted .dashboard-start-status{padding:12px!important}
#adminApp.admin-shell:has(.dashboard-enterprise) .dashboard-enterprise.dashboard-counters-restricted .dashboard-start-status small{white-space:normal!important;line-height:1.4!important;overflow:visible!important;font-size:11px!important}
#adminApp.admin-shell:has(.dashboard-enterprise) .dashboard-enterprise.dashboard-counters-restricted .dashboard-start-status .dash-status-note{font-weight:400!important;color:#73869a!important}
#adminApp.admin-shell:has(.dashboard-enterprise) .dashboard-enterprise.dashboard-counters-restricted .dashboard-start-status .dash-mask{width:76px;height:14px;margin:5px 0 0}
#adminApp.admin-shell:has(.dashboard-enterprise) .dashboard-enterprise.dashboard-counters-restricted .dashboard-kpis{grid-template-columns:minmax(0,390px)!important;justify-content:center!important}
#adminApp.admin-shell:has(.dashboard-enterprise) .dashboard-enterprise.dashboard-counters-restricted .dashboard-kpi{max-width:none!important;min-height:124px!important;padding:16px 20px!important}
#adminApp.admin-shell:has(.dashboard-enterprise) .dashboard-enterprise.dashboard-access-limited .dash-is-locked .dashboard-kpi-head{padding-right:22px!important}
#adminApp.admin-shell:has(.dashboard-enterprise) .dashboard-enterprise.dashboard-access-limited .dash-is-locked .dashboard-kpi-icon{width:36px!important;height:36px!important;min-width:36px!important}
#adminApp.admin-shell:has(.dashboard-enterprise) .dashboard-enterprise.dashboard-access-limited .dashboard-kpi.dash-is-locked .dash-restricted-note{max-width:calc(100% - 76px)}
#adminApp.admin-shell:has(.dashboard-enterprise) .dashboard-enterprise.dashboard-counters-restricted .dash-bottom-layout{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(0,1fr);gap:12px}
#adminApp.admin-shell:has(.dashboard-enterprise) .dashboard-enterprise.dashboard-counters-restricted .dashboard-bottom-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important;height:auto!important;min-height:100px!important}
#adminApp.admin-shell:has(.dashboard-enterprise) .dashboard-enterprise.dashboard-access-limited .dashboard-bottom-strip .dash-mask{margin:10px 0 7px;height:14px;width:100px}
#adminApp.admin-shell:has(.dashboard-enterprise) .dashboard-enterprise.dashboard-access-limited .dashboard-bottom-strip .dash-restricted-note{display:flex!important;margin:0!important;font-size:11.5px!important;line-height:1.4!important}
#adminApp.admin-shell:has(.dashboard-enterprise) .dashboard-enterprise.dashboard-access-limited .dashboard-bottom-strip strong{padding-right:20px;line-height:1.4!important}
#adminApp.admin-shell:has(.dashboard-enterprise) .dashboard-enterprise.dashboard-access-limited .dashboard-kicker{letter-spacing:0!important}

.dash-access-dialog{box-sizing:border-box;width:540px;max-width:calc(100% - 32px);max-height:calc(100dvh - 32px);padding:24px;border:1px solid #dce5e5;border-radius:8px;background:#fff;color:#183344;box-shadow:0 24px 80px #092c3026;font-family:Inter,'Segoe UI',sans-serif;overflow:auto}
.dash-access-dialog::backdrop{background:#102c4059}
.dash-access-dialog header{display:flex;align-items:center;gap:14px}
.dash-access-dialog header h3{flex:1;margin:0;font-size:18px;letter-spacing:0}
.dash-access-dialog header button{padding:6px;border:0;color:#607388;min-width:32px;min-height:32px}
.dash-access-dialog p{font-size:13px;color:#607388;line-height:1.6;margin:18px 0}
.dash-access-dialog label{display:block;font-size:12px;font-weight:600;margin-bottom:8px}
.dash-access-dialog textarea{box-sizing:border-box;width:100%;padding:14px;border:1px solid #cfdae4;border-radius:6px;background:#f8fafc;font:13px/1.6 'Segoe UI',sans-serif;color:#314b60;resize:vertical}
.dash-access-dialog footer{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;margin-top:24px}
.dash-access-dialog dl{margin:20px 0}
.dash-access-dialog dl>div{display:flex;justify-content:space-between;gap:12px;padding:16px 0;border-bottom:1px solid #e6eded;font-size:13px}
.dash-access-dialog dd{display:flex;align-items:center;gap:6px;margin:0;color:#667b8e}
.dash-access-dialog dd.is-allowed{color:#07845f}
@media(max-width:1600px){
  #adminApp.admin-shell:has(.dashboard-enterprise) .dashboard-enterprise.dashboard-counters-restricted .dashboard-start-card{grid-template-columns:1fr!important;gap:14px!important;padding:16px!important}
  .dash-access-copy br{display:none}
  .dash-access-actions{flex-shrink:1}
}
@media(max-width:1250px){
  .dashboard-enterprise .dash-access-banner{flex-wrap:wrap}
  .dash-access-actions{padding-left:70px;width:100%}
  #adminApp.admin-shell:has(.dashboard-enterprise) .dashboard-enterprise.dashboard-access-limited .dashboard-grid-secondary{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  #adminApp.admin-shell:has(.dashboard-enterprise) .dashboard-enterprise.dashboard-counters-restricted .dashboard-first-experience{grid-template-columns:1fr!important}
  #adminApp.admin-shell:has(.dashboard-enterprise) .dashboard-enterprise.dashboard-counters-restricted .dashboard-start-card{grid-template-columns:minmax(165px,.5fr) minmax(0,1fr)!important}
  #adminApp.admin-shell:has(.dashboard-enterprise) .dashboard-enterprise.dashboard-counters-restricted .dash-bottom-layout{grid-template-columns:1fr}
}
@media(max-width:760px){
  #adminApp.admin-shell:has(.dashboard-enterprise) .dashboard-enterprise.dashboard-counters-restricted .dashboard-start-card{grid-template-columns:1fr!important}
  #adminApp.admin-shell:has(.dashboard-enterprise) .dashboard-enterprise.dashboard-counters-restricted .dashboard-start-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .dashboard-enterprise .dash-access-banner{gap:12px;padding:16px 36px 16px 16px;align-items:flex-start}
  .dash-access-icon{width:40px;height:40px;flex-basis:40px}
  .dash-access-actions{padding:0;gap:8px}
  .dash-access-actions button{flex:1;padding:10px;font-size:11px}
}
@media(max-width:540px){
  #adminApp.admin-shell:has(.dashboard-enterprise) .dashboard-enterprise.dashboard-access-limited .dashboard-grid-secondary{grid-template-columns:1fr!important}
  #adminApp.admin-shell:has(.dashboard-enterprise) .dashboard-enterprise.dashboard-counters-restricted .dashboard-start-status{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  #adminApp.admin-shell:has(.dashboard-enterprise) .dashboard-enterprise.dashboard-counters-restricted .dashboard-start-status>div:last-child{grid-column:1/-1!important}
  #adminApp.admin-shell:has(.dashboard-enterprise) .dashboard-enterprise.dashboard-counters-restricted .dashboard-bottom-strip{grid-template-columns:1fr!important}
  #adminApp.admin-shell:has(.dashboard-enterprise) .dashboard-enterprise.dashboard-access-limited .dashboard-bottom-strip{height:auto!important}
  #adminApp.admin-shell:has(.dashboard-enterprise) .dashboard-enterprise.dashboard-access-limited .dashboard-bottom-strip article{padding:18px!important;min-height:100px!important}
  #adminApp.admin-shell:has(.dashboard-enterprise) .dashboard-enterprise.dashboard-access-limited .dashboard-activity{grid-column:auto!important}
  .dashboard-enterprise .dash-access-help{padding:18px;gap:14px}
  .dash-access-dialog{padding:18px}
}
@container dash-access (max-width:660px){
  #adminApp.admin-shell:has(.dashboard-enterprise) .dashboard-enterprise.dashboard-access-limited .dashboard-grid-secondary{grid-template-columns:1fr!important}
  #adminApp.admin-shell:has(.dashboard-enterprise) .dashboard-enterprise.dashboard-counters-restricted .dashboard-start-card{grid-template-columns:1fr!important}
  #adminApp.admin-shell:has(.dashboard-enterprise) .dashboard-enterprise.dashboard-counters-restricted .dashboard-start-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@container dash-access (max-width:460px){
  #adminApp.admin-shell:has(.dashboard-enterprise) .dashboard-enterprise.dashboard-counters-restricted .dashboard-start-status{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  #adminApp.admin-shell:has(.dashboard-enterprise) .dashboard-enterprise.dashboard-counters-restricted .dashboard-start-status>div:last-child{grid-column:1/-1!important}
  #adminApp.admin-shell:has(.dashboard-enterprise) .dashboard-enterprise.dashboard-counters-restricted .dashboard-bottom-strip{grid-template-columns:1fr!important}
  .dash-access-actions{padding:0;width:100%}
  .dash-access-actions button{flex:1;padding:10px}
}
