/* Compact shared-module presentation only inside the agent shell. */
.agent-embedded-view .agent-provisioning-grid { grid-template-columns: minmax(240px, .7fr) minmax(0, 1.6fr); }
.agent-embedded-view .agent-provisioning-grid > *,
.agent-embedded-view .agent-provisioning-form label { min-width: 0; }
.agent-embedded-view .agent-user-create-form { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.agent-embedded-view .agent-provisioning-heading { flex-wrap: wrap; }
.agent-embedded-view .agent-provisioning-heading > span { white-space: normal; }
.agent-embedded-view .agent-subdepartment-list article { flex-wrap: wrap; }
/* Listing dialogs intentionally use listing-compact.css unchanged in both editions. */
@media (max-width: 1200px) {
  .agent-embedded-view .agent-provisioning-grid { grid-template-columns: minmax(0, 1fr); }
  .agent-embedded-view .agent-user-create-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .agent-embedded-view .agent-subdepartment-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.agent-embedded-view .handbook-hero { min-height: 0; padding: 22px 24px; background: #f7f5ff; border-bottom: 1px solid #e8e3fa; }
.agent-embedded-view .handbook-hero::before,
.agent-embedded-view .handbook-hero::after { display: none; }
.agent-embedded-view .handbook-title-row h2 { font-size: clamp(22px, 2.1vw, 30px); }
.agent-embedded-view .handbook-hero .eyebrow { color: #6255d9; }
.agent-embedded-view .handbook-topic-badge,
.agent-embedded-view .handbook-result-count { color: #6255d9; background: #eee9ff; border-color: #dcd2ff; }
.agent-embedded-view .ai-edit-cost-card,
.agent-embedded-view .ai-edit-model-picker { border-color: #e2ddf5; background: #faf9ff; }
.agent-embedded-view .ai-edit-modes button.active { border-color: #8c7bf0; background: #f3efff; box-shadow: 0 0 0 2px #eee9ff; }
@media (max-width: 720px) {
  .agent-embedded-view .handbook-hero { padding: 18px; gap: 12px; }
}
