/* One quiet management surface; forms stay behind explicit disclosures. */
.workspace-settings [data-enterprise-settings]{max-width:760px;min-width:0}
.workspace-settings .enterprise-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}
.workspace-settings .enterprise-refresh{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:32px;padding:5px 8px;border:0;border-radius:7px;background:transparent;font-size:12px;color:var(--text-tertiary)}
.enterprise-refresh svg{width:15px;height:15px;flex:none}.enterprise-refresh[aria-busy="true"] svg{display:none}
.enterprise-refresh[aria-busy="true"]::before{width:15px!important;height:15px!important}
.enterprise-refresh:hover{background:var(--surface-subtle)}
.enterprise-space-identity{display:flex;align-items:center;gap:12px;min-height:82px;padding:3px 0 23px;border-bottom:1px solid var(--border-subtle)}
.enterprise-space-mark{display:grid;place-items:center;flex:none;width:38px;height:38px;border:1px solid var(--border-subtle);border-radius:10px;color:var(--text-secondary)}
.enterprise-space-mark svg{width:19px;height:19px}.enterprise-space-copy{display:grid;gap:3px;min-width:0;flex:1}
.enterprise-space-label{font-size:11px;color:var(--text-tertiary)}
.enterprise-space-copy strong{font-size:14px;font-weight:550;line-height:1.6;overflow-wrap:anywhere}
.enterprise-role-badge{flex:none;font-size:11px;line-height:1.6;color:var(--text-tertiary)}
.enterprise-switch{display:flex;align-items:end;gap:10px;padding:0 0 24px;border-bottom:1px solid var(--border-subtle)}
.enterprise-switch>.portal-field{flex:1;max-width:510px}.enterprise-switch>.portal-button{margin-bottom:2px;min-height:38px}
.enterprise-feedback{display:flex;align-items:center;flex-wrap:wrap;gap:4px 12px}
.enterprise-feedback:has([data-enterprise-status]:empty):not(:has([data-enterprise-retry]:not([hidden]))){display:none}
[data-enterprise-status]{margin:12px 0;font-size:12px;line-height:1.7;color:var(--text-secondary);overflow-wrap:anywhere}
[data-enterprise-status][data-error="true"]{color:var(--status-error)}
.enterprise-plan-state{padding:31px 0 8px;max-width:570px}
.workspace-settings .enterprise-plan-state h3{margin:0 0 8px;font-size:22px;font-weight:550;line-height:1.6;letter-spacing:-.025em}
.enterprise-capabilities{margin:25px 0 27px;display:grid;gap:20px}
.enterprise-capability{display:flex;align-items:flex-start;gap:13px}
.enterprise-capability>.ui-icon{width:18px;height:18px;margin-top:2px;flex:none;color:var(--text-secondary)}
.enterprise-capability strong{font-size:13px;font-weight:500;line-height:1.6}
.enterprise-capability p{margin:3px 0 0;font-size:12px;line-height:1.7;color:var(--text-tertiary)}
.workspace-settings .enterprise-plan-action{display:inline-flex;align-items:center;gap:22px;min-height:38px;padding:9px 15px}
.enterprise-plan-action .ui-icon{width:15px;height:15px}
.enterprise-plan-summary{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:21px 0;color:var(--text-secondary);font-size:12px}
.enterprise-plan-summary strong{font-size:12px;font-weight:500;color:var(--text-secondary)}
.enterprise-seat-count{font-variant-numeric:tabular-nums;color:var(--text-tertiary)}
.enterprise-members-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:12px;padding-bottom:4px}
.enterprise-members-heading h3{margin:0;font-size:14px;font-weight:550}.enterprise-members-heading>span{font-size:11px;color:var(--text-tertiary)}
.enterprise-member{display:flex;align-items:center;gap:12px;min-height:74px;padding:14px 0;border-bottom:1px solid var(--border-subtle);font-size:13px}
.enterprise-member-avatar{display:grid;place-items:center;width:32px;height:32px;flex:none;border-radius:50%;background:#f5f6f7;color:var(--text-tertiary)}
.enterprise-member-avatar .ui-icon{width:16px;height:16px}.enterprise-member-copy{flex:1;min-width:0}
.enterprise-member-copy strong{font-size:13px;font-weight:500;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.enterprise-member-copy small{display:block;margin-top:3px;font-size:11px;color:var(--text-tertiary)}
.enterprise-member .enterprise-member-role{width:130px;flex:none}
.enterprise-member-role>.portal-label{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%)}
.workspace-settings .enterprise-member .select-menu-trigger{min-height:34px;font-size:12px}
.workspace-settings .enterprise-member>.portal-button{min-height:34px}
.enterprise-section{margin:0;border:0;border-bottom:1px solid var(--border-subtle);padding:0}
.enterprise-section>summary{display:flex;align-items:center;gap:12px;min-height:64px;margin:0;padding:18px 0;list-style:none;cursor:pointer}
.enterprise-section>summary::-webkit-details-marker{display:none}
.enterprise-section>summary::after{content:'';width:6px;height:6px;flex:none;margin:0 3px 3px 0;border-right:1.4px solid var(--text-tertiary);border-bottom:1.4px solid var(--text-tertiary);transform:rotate(45deg);transition:transform .16s}
.enterprise-section[open]>summary::after{transform:rotate(225deg);margin-bottom:-3px}
.enterprise-section-title{flex:1;font-size:13px;font-weight:500}.enterprise-section-state{font-size:11px;color:var(--text-tertiary)}
.enterprise-section>summary:focus-visible{outline:2px solid #9ba2ad;outline-offset:3px;border-radius:6px}
.enterprise-section-body{padding:2px 0 22px;animation:enterprise-enter .16s ease-out}
.enterprise-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 20px}
.enterprise-form-grid>.portal-field{display:block}.workspace-settings .enterprise-form-grid .portal-label{display:block}
.enterprise-section-body>.portal-button{margin-top:20px}
.enterprise-note{margin:0 0 20px;font-size:12px;line-height:1.85;color:var(--text-tertiary)}
.enterprise-form-grid+.enterprise-note{margin:16px 0 0;max-width:560px}
.enterprise-query-controls{display:flex;align-items:end;gap:10px;margin-top:26px;padding-top:23px;border-top:1px solid var(--border-subtle)}
.enterprise-query-controls>.portal-field{flex:1}.enterprise-query-controls>.portal-button{margin-bottom:2px;min-height:38px}
.enterprise-query-result{padding:14px 0;border-bottom:1px solid var(--border-subtle);font-size:12px;line-height:1.8;overflow-wrap:anywhere}
.enterprise-query-result>strong{display:block;font-size:13px;font-weight:500}.enterprise-query-result>span{display:block;color:var(--text-tertiary)}
.enterprise-query-result>p{margin:4px 0 0;color:var(--text-secondary)}.enterprise-query>p{margin:16px 0 0;font-size:12px;color:var(--text-tertiary)}
.enterprise-invitation{display:flex;align-items:center;gap:12px;padding:15px 0;border-bottom:1px solid var(--border-subtle)}
.enterprise-invitation>.ui-icon{width:17px;height:17px;color:var(--text-tertiary)}.enterprise-invitation>div{flex:1}
.enterprise-invitation strong{font-size:12px;font-weight:500}.enterprise-invitation small{display:block;font-size:11px;margin-top:3px;color:var(--text-tertiary)}
.enterprise-invite-result{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px;padding:21px 0;border-bottom:1px solid var(--border-subtle)}
.enterprise-invite-result>strong{grid-column:1/-1;font-size:13px;font-weight:500}.enterprise-invite-result>p{grid-column:1/-1;margin:0;font-size:11px;color:var(--text-tertiary)}
.enterprise-invite-result .portal-label{display:none}
[data-enterprise-content]>.ui-load-state.is-initial{padding:24px 0;max-width:570px;background:#fff}
[data-enterprise-content] .ui-skeleton-grid{gap:12px}[data-enterprise-content] .ui-skeleton-card{min-height:68px;padding:12px 0;border:0;background:none}
[data-enterprise-content] .ui-skeleton-icon{display:none}
@keyframes enterprise-enter{from{opacity:.5;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:760px){.workspace-settings .enterprise-heading{margin-bottom:19px}.enterprise-plan-state{padding-top:26px}.workspace-settings .enterprise-plan-state h3{font-size:20px}.enterprise-plan-summary{padding-block:18px}}
@media(max-width:520px){.enterprise-role-badge{display:none}.enterprise-form-grid{grid-template-columns:minmax(0,1fr);gap:16px}.enterprise-switch,.enterprise-query-controls{flex-wrap:wrap;gap:10px}.enterprise-switch>.portal-field,.enterprise-query-controls>.portal-field{flex-basis:100%;max-width:none}.enterprise-switch>.portal-button,.enterprise-query-controls>.portal-button{margin-left:auto}.enterprise-member{gap:9px;flex-wrap:wrap}.enterprise-member-copy{flex-basis:calc(100% - 45px)}.enterprise-member .enterprise-member-role{margin-left:41px;flex:1;width:auto}.enterprise-member>.portal-button{flex:none}.enterprise-invite-result{grid-template-columns:minmax(0,1fr)}.enterprise-invite-result>.portal-button{justify-self:start}.enterprise-plan-state{max-width:none}}
@media(prefers-reduced-motion:reduce){.enterprise-section-body{animation:none}.enterprise-section>summary::after{transition:none}}
.enterprise-shared-body{max-width:800px;margin:32px auto;padding:32px 0}.enterprise-shared-body h1{font-size:24px}.enterprise-shared-body h2{font-size:19px;margin-top:32px}.enterprise-shared-body p{color:var(--text-secondary);font-size:14px}.enterprise-shared-body .portal-button{display:inline-flex;margin-top:16px}
