/* License registry layout: isolated from Teams and the existing application skin. */
.app-shell [data-panel="licenses"],
.app-shell [data-panel="installations"],
.licenses-manager,
.licenses-manager .license-list,
.licenses-manager .license-card,
.installations-panel,
.installations-panel .table-wrap{
  max-width:100%;
  min-width:0;
}
.installations-panel .table-wrap{overflow:auto;width:100%}
.licenses-manager .license-summary{
  grid-template-columns:28px minmax(0,1fr) auto;
}
.licenses-manager .license-title{
  min-width:0;
  overflow-wrap:anywhere;
}
.licenses-manager .license-meta{
  align-items:center;
  display:flex;
  flex-direction:row;
  flex-wrap:wrap;
  gap:10px;
  justify-content:flex-end;
  min-width:0;
}
.licenses-manager .license-authorization-count{
  color:var(--muted);
  font-size:13px;
  font-weight:800;
  overflow-wrap:anywhere;
}
.licenses-manager .license-meta .status-pill{flex:none}
.licenses-manager .license-details,
.licenses-manager .license-edit-form{min-width:0}
.licenses-manager .license-installations-box{
  background:rgba(255,255,255,.58);
  border:1px solid var(--line);
  border-radius:8px;
  display:grid;
  gap:12px;
  min-width:0;
  padding:14px;
}
.licenses-manager .license-installations-head{
  align-items:baseline;
  display:flex;
  flex-wrap:wrap;
  gap:8px 16px;
  justify-content:space-between;
}
.licenses-manager .license-installations-head strong{font-size:15px}
.licenses-manager .license-installations-head span{
  color:var(--muted);
  font-size:13px;
  font-weight:700;
}
.licenses-manager .license-installations-note,
.installations-registry-note{
  color:var(--muted);
  font-size:13px;
  line-height:1.5;
  margin:0;
}
.installations-registry-note{margin:0 0 16px}
.licenses-manager .license-installations-list{
  display:grid;
  gap:10px;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));
  list-style:none;
  margin:0;
  min-width:0;
  padding:0;
}
.licenses-manager .license-installations-list li{
  background:rgba(255,255,255,.7);
  border:1px solid var(--line);
  border-radius:6px;
  display:flex;
  flex-direction:column;
  gap:6px;
  min-width:0;
  padding:10px;
}
.licenses-manager .license-installation-domain{
  color:var(--ink);
  font-size:13px;
  font-weight:700;
  overflow-wrap:anywhere;
}
.licenses-manager .license-installation-state{
  align-self:flex-start;
  border-radius:4px;
  font-size:11px;
  font-weight:700;
  padding:3px 6px;
}
.licenses-manager .license-installation-state.is-assigned{background:#e8f9ee;color:#116329}
.licenses-manager .license-installation-state.is-inactive{background:#eef2f7;color:#657189}
.licenses-manager .license-installation-state.is-blocked{background:#fff0f2;color:#a32020}
.licenses-manager .license-domain-action{margin-top:3px;min-width:0}
.licenses-manager .license-domain-action summary{
  color:#a32020;
  cursor:pointer;
  font-size:12px;
  font-weight:700;
  padding:5px 0;
}
.licenses-manager .license-domain-action:has(input[value="allow_license_domain"]) summary{color:var(--ink)}
.licenses-manager .license-domain-form{
  border-top:1px solid var(--line);
  display:grid;
  font-size:12px;
  gap:10px;
  margin-top:6px;
  min-width:0;
  padding-top:10px;
}
.licenses-manager .license-domain-form p{color:var(--muted);line-height:1.5;margin:0;overflow-wrap:anywhere}
.licenses-manager .license-domain-confirm{align-items:flex-start;display:flex;gap:7px;line-height:1.5;margin:0}
.licenses-manager .license-domain-confirm input{flex:none;height:15px;margin:2px 0 0;width:15px}
.licenses-manager .license-domain-buttons{display:flex;flex-wrap:wrap;gap:7px}
.licenses-manager .license-domain-buttons .button{font-size:12px;min-height:36px;padding:8px 10px;white-space:normal}
.licenses-manager .license-domain-buttons .button:disabled{cursor:wait;opacity:.7;transform:none}
.licenses-manager .license-domain-buttons [hidden],
.licenses-manager .license-domain-progress[hidden]{display:none}
.licenses-manager .license-domain-progress{font-weight:700}
.licenses-manager .license-card[data-license-focus]{scroll-margin-top:18px}
@media(max-width:980px){
  .licenses-manager .license-summary{grid-template-columns:28px minmax(0,1fr)}
  .licenses-manager .license-meta{grid-column:2 / -1;justify-content:flex-start}
}
@media(max-width:480px){
  .licenses-manager .license-summary{gap:10px;padding:12px}
  .licenses-manager .license-title strong{font-size:17px}
}
