.system-admin-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}
.system-admin-summary-grid>article{min-width:0;padding:15px 17px;border:1px solid var(--line);border-radius:15px;background:var(--panel);box-shadow:var(--shadow)}
.system-admin-summary-grid span,.system-admin-summary-grid strong{display:block}.system-admin-summary-grid span{color:var(--muted);font-size:12px}.system-admin-summary-grid strong{margin-top:4px;color:var(--navy);font-size:25px}
.system-admin-filters{display:grid;grid-template-columns:minmax(260px,1.4fr) minmax(190px,.6fr) auto;gap:12px;align-items:end;margin-bottom:16px}
.system-admin-search-control{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;border:1px solid var(--line);border-radius:var(--crm-control-radius);background:var(--panel);overflow:hidden}.system-admin-search-control:focus-within{outline:3px solid rgba(15,118,110,.2);border-color:var(--crm-focus-ring)}
.system-admin-search-control>.material-symbols-rounded{padding-left:12px;color:var(--muted);font-size:20px}.system-admin-search-control input{border:0;outline:0;min-width:0;width:100%;box-shadow:none}
.system-admin-table-panel{padding:0;min-width:0;overflow:hidden}.system-admin-section-head{margin:0;padding:15px 17px;border-bottom:1px solid var(--line);align-items:flex-start}.system-admin-section-head h2,.system-admin-section-head p{margin:0}.system-admin-section-head p{margin-top:4px;font-size:12px}
.system-admin-table-scroll{position:relative;max-width:100%;overflow:auto;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch}.system-admin-table{min-width:1040px}.system-admin-table tr{cursor:default}.system-admin-table td:first-child strong,.system-admin-table td:first-child small,.system-admin-table td:nth-child(2) strong,.system-admin-table td:nth-child(2) small{display:block;overflow-wrap:anywhere}.system-admin-table td small{margin-top:3px;color:var(--muted);font-size:11px}.system-admin-table td:last-child{width:1%;white-space:nowrap}
.system-admin-empty{padding:42px 20px;text-align:center;color:var(--muted)}.system-admin-empty>.material-symbols-rounded{font-size:42px;color:#7890ad}.system-admin-empty h3{margin:9px 0 4px;color:var(--navy)}.system-admin-empty p{margin:0}
.system-admin-status{display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:650;white-space:nowrap}.system-admin-status::before{content:"";width:8px;height:8px;border-radius:50%;background:#8090a5}.system-admin-status.is-active::before{background:#16845b}.system-admin-status.is-suspended::before,.system-admin-status.is-cancelled::before{background:#b43c3c}.system-admin-status.is-attention::before{background:#b7791f}
.system-admin-manage{width:auto;height:auto;min-height:40px;padding:7px 10px}.system-admin-manage .crm-icon-button-label{display:inline;font-size:11px}.system-admin-manage::after{display:none}
.system-admin-detail-head{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:15px;align-items:start;margin-bottom:15px}.system-admin-detail-head h2{margin:3px 0;font-size:26px}.system-admin-detail-head p{margin:0;overflow-wrap:anywhere}.system-admin-lifecycle-actions{display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap}
.system-admin-tabs{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain}.system-admin-tab-panel[hidden]{display:none}.system-admin-tab-panel{min-width:0}
.system-admin-overview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.system-admin-overview-card{min-width:0;padding:17px;border:1px solid var(--line);border-radius:16px;background:var(--panel)}.system-admin-overview-card h3{margin:0 0 12px;font-size:16px}.system-admin-detail-list{display:grid;gap:9px;margin:0}.system-admin-detail-list>div{display:grid;grid-template-columns:minmax(120px,.45fr) minmax(0,1fr);gap:12px;padding-bottom:8px;border-bottom:1px solid var(--line)}.system-admin-detail-list>div:last-child{padding-bottom:0;border:0}.system-admin-detail-list dt{color:var(--muted);font-size:12px}.system-admin-detail-list dd{margin:0;font-weight:600;overflow-wrap:anywhere}
.system-admin-overview-card textarea{width:100%;resize:vertical}.system-admin-readonly-field{display:flex;min-width:0;flex-direction:column;justify-content:center;padding:9px 11px;border:1px solid var(--line);border-radius:var(--crm-control-radius);background:#f7f9fc}.system-admin-readonly-field>span,.system-admin-readonly-field>small{color:var(--muted);font-size:11px}.system-admin-readonly-field>strong{margin:3px 0;color:var(--navy);font-size:13px}.system-admin-readonly-field>small{line-height:1.4}
.system-admin-feature-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:14px}.system-admin-feature-toolbar h3,.system-admin-feature-toolbar p{margin:0}.system-admin-feature-toolbar p{margin-top:4px;color:var(--muted);font-size:12px}.system-admin-feature-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.system-admin-feature-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.system-admin-feature-group{min-width:0;margin:0;padding:13px;border:1px solid var(--line);border-radius:14px;background:var(--panel)}.system-admin-feature-group legend{padding:0 6px;color:var(--navy);font-size:13px;font-weight:700}.system-admin-feature-group-header{display:flex;justify-content:flex-end;gap:6px;margin-bottom:7px}.system-admin-feature-group-header .btn{padding:6px 8px;font-size:10px}.system-admin-feature-options{display:grid;gap:8px}.system-admin-feature-option{display:grid!important;grid-template-columns:auto minmax(0,1fr);gap:10px;align-items:start;min-height:44px;padding:10px;border-radius:11px;background:#f7f9fc;cursor:pointer}.system-admin-feature-option input{width:19px;height:19px;margin:1px 0 0}.system-admin-feature-option strong,.system-admin-feature-option small{display:block}.system-admin-feature-option small{margin-top:3px;color:var(--muted);font-size:11px;font-weight:400;line-height:1.4}.system-admin-feature-option:has(input:disabled){cursor:not-allowed;opacity:.72}.system-admin-feature-option.is-readonly{cursor:default}.system-admin-feature-option.is-readonly.is-unavailable{opacity:.72}.system-admin-feature-readonly-icon{display:grid;place-items:center;width:20px;height:20px;margin-top:1px;color:#4b6580;font-size:19px}.system-admin-feature-option.is-effective .system-admin-feature-readonly-icon{color:#087f5b}.system-admin-catalogue-unavailable{display:grid;grid-template-columns:auto minmax(0,1fr);gap:13px;align-items:start}.system-admin-catalogue-unavailable>.material-symbols-rounded{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#fff2db;color:#9a5d00}.system-admin-catalogue-unavailable h3,.system-admin-catalogue-unavailable p{margin:0}.system-admin-catalogue-unavailable p{margin:5px 0 12px;color:var(--muted);line-height:1.5}.system-admin-features-status{margin:12px 0 0}
.system-admin-feature-group-help,.system-admin-module-parent-status{margin:0 0 9px;color:var(--muted);font-size:11px;line-height:1.45}.system-admin-module-parent-status{min-height:0;margin:9px 0 0}.system-admin-module-parent-status:empty{display:none}.system-admin-feature-meta{display:block;margin-top:4px;color:#315c7a;font-weight:650}
.system-admin-users-panel,.system-admin-billing-panel,.system-admin-audit-panel{padding:0;overflow:hidden}.system-admin-users-table,.system-admin-audit-table{min-width:760px}.system-admin-inline-empty{padding:22px;color:var(--muted);text-align:center}.system-admin-row-actions{display:flex;align-items:center;gap:6px;white-space:nowrap}
.system-admin-billing-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.system-admin-billing-grid article{padding:15px;border:1px solid var(--line);border-radius:14px;background:var(--panel)}.system-admin-billing-grid span,.system-admin-billing-grid strong,.system-admin-billing-grid small{display:block}.system-admin-billing-grid span,.system-admin-billing-grid small{color:var(--muted);font-size:11px}.system-admin-billing-grid strong{margin:5px 0;font-size:18px;overflow-wrap:anywhere}
.system-admin-create-modal{width:min(920px,calc(100vw - 28px));max-height:calc(100dvh - 32px);overflow:auto;overscroll-behavior:contain}.system-admin-create-modal .choice-head p,.system-admin-lifecycle-modal .choice-head p{margin:5px 0 0;color:var(--muted);line-height:1.45}.system-admin-create-fields{display:grid;gap:12px}.system-admin-create-fields fieldset{min-width:0;margin:0;padding:14px;border:1px solid var(--line);border-radius:14px}.system-admin-create-fields legend{padding:0 6px;color:var(--navy);font-weight:700}.system-admin-create-fields fieldset>p{margin:0 0 10px}.system-admin-invite-toggle{min-height:44px;margin-bottom:11px}.system-admin-create-fields .full-width{grid-column:1/-1}.system-admin-create-fields textarea{resize:vertical;width:100%}
.system-admin-lifecycle-modal{width:min(560px,calc(100vw - 28px));max-height:calc(100dvh - 32px);overflow:auto}.system-admin-confirm-summary{display:grid;gap:6px;margin-bottom:14px;padding:13px;border:1px solid var(--line);border-radius:13px;background:#f8fafc}.system-admin-confirm-summary strong,.system-admin-confirm-summary span{display:block}.system-admin-confirm-summary span{margin-top:3px;color:var(--muted);font-size:12px}.system-admin-lifecycle-modal textarea{width:100%;resize:vertical}
.workspace-unavailable-view.active{min-height:calc(100dvh - 120px);display:grid;place-items:center}.workspace-unavailable-card{width:min(620px,100%);padding:32px;border:1px solid var(--line);border-radius:22px;background:var(--panel);box-shadow:var(--shadow);text-align:center}.workspace-unavailable-icon{width:64px;height:64px;display:grid;place-items:center;margin:0 auto 13px;border-radius:20px;background:#fff2db;color:#9a5d00;font-size:32px}.workspace-unavailable-card h1{margin:5px 0 10px;font-size:29px}.workspace-unavailable-card>p:not(.request-create-eyebrow){margin:0 auto;max-width:510px;color:var(--muted);line-height:1.6}.workspace-unavailable-card .form-actions{justify-content:center}
html:is([data-workspace-status="suspended"],[data-workspace-status="cancelled"])[data-platform-admin="false"] .app-shell{grid-template-columns:minmax(0,1fr)}html:is([data-workspace-status="suspended"],[data-workspace-status="cancelled"])[data-platform-admin="false"] #crmSidebarMount,html:is([data-workspace-status="suspended"],[data-workspace-status="cancelled"])[data-platform-admin="false"] .topbar,html:is([data-workspace-status="suspended"],[data-workspace-status="cancelled"])[data-platform-admin="false"] .workspace-status-banner{display:none}html:is([data-workspace-status="suspended"],[data-workspace-status="cancelled"])[data-platform-admin="false"] main{padding:18px}
body.theme-dark .system-admin-feature-option,body.theme-dark .system-admin-confirm-summary,body.theme-dark .system-admin-readonly-field{background:#102039}
@media(max-width:1100px){.system-admin-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.system-admin-overview-grid{grid-template-columns:1fr}.system-admin-billing-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.system-admin-summary-grid,.system-admin-feature-groups,.system-admin-billing-grid{grid-template-columns:1fr}.system-admin-filters{grid-template-columns:1fr}.system-admin-filters .btn{width:100%;min-height:44px}.system-admin-section-head,.system-admin-detail-head,.system-admin-feature-toolbar{display:grid}.system-admin-detail-head{grid-template-columns:1fr}.system-admin-detail-head>#systemAdminBackBtn{width:max-content}.system-admin-lifecycle-actions,.system-admin-feature-actions{display:grid;grid-template-columns:1fr;width:100%}.system-admin-lifecycle-actions .btn,.system-admin-feature-actions .btn{width:100%;min-height:44px}.system-admin-detail-list>div{grid-template-columns:1fr;gap:3px}.system-admin-create-modal,.system-admin-lifecycle-modal{width:calc(100vw - 12px);max-width:none;max-height:calc(100dvh - 12px);padding:17px}.system-admin-create-fields .settings-grid{grid-template-columns:1fr}.system-admin-create-fields .full-width{grid-column:auto}.system-admin-modal-actions{display:grid;grid-template-columns:1fr}.system-admin-modal-actions .btn{width:100%;min-height:44px}.workspace-unavailable-card{padding:24px 18px}.workspace-unavailable-card h1{font-size:25px}}
@media(prefers-reduced-motion:reduce){.system-admin-table-scroll{scroll-behavior:auto}}
