/* Enterprise patterns. Source: DS governance 14B-R, official master v1.3. */
.enterprise-workspace{--enterprise-line:color-mix(in srgb,var(--ubyra-navy) 14%,var(--ubyra-white));--enterprise-muted:color-mix(in srgb,var(--ubyra-navy) 70%,var(--ubyra-white));--org-accent:var(--ubyra-green);--org-accent-interactive:var(--ubyra-navy);--org-accent-subtle:color-mix(in srgb,var(--org-accent) 9%,var(--ubyra-white));font:var(--type-body);color:var(--ubyra-navy);background:var(--ubyra-cloud);min-height:100vh;display:block}
.enterprise-workspace *{box-sizing:border-box}.enterprise-workspace a{color:var(--ubyra-navy);text-underline-offset:3px}.enterprise-workspace button,.enterprise-workspace input,.enterprise-workspace select,.enterprise-workspace textarea{font-family:var(--font-body)}
.enterprise-workspace :focus-visible{outline:3px solid var(--ubyra-info);outline-offset:3px}.enterprise-workspace h1{font:var(--type-h1);letter-spacing:-.035em;margin:0}.enterprise-workspace h2{font:var(--type-h3);margin:0}.enterprise-workspace h3{font:var(--type-body-l);font-weight:600;margin:0}.enterprise-workspace p{margin:8px 0 16px}.enterprise-workspace small{font:var(--type-caption);color:var(--enterprise-muted)}
.enterprise-workspace .ui-icon{width:20px;height:20px;flex-shrink:0;vertical-align:middle}.enterprise-workspace .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.enterprise-workspace .primary-button,.enterprise-workspace .ghost-button,.enterprise-workspace .enterprise-text-button{min-height:44px;border-radius:var(--radius-sm);font:var(--type-label);display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 16px;cursor:pointer;text-decoration:none;max-width:100%;text-align:center}
.enterprise-workspace .primary-button{background:var(--ubyra-navy);color:var(--ubyra-white);border:1px solid var(--ubyra-navy)}.enterprise-workspace .primary-button:hover{background:var(--ubyra-graphite)}.enterprise-workspace .ghost-button{background:var(--ubyra-white);color:var(--ubyra-navy);border:1px solid var(--enterprise-line)}.enterprise-workspace .ghost-button:hover{background:var(--ubyra-cloud)}.enterprise-workspace .enterprise-text-button{background:transparent;border:0;color:var(--ubyra-navy)}.enterprise-workspace button:disabled{opacity:.58;cursor:not-allowed}
.enterprise-workspace .enterprise-header{height:80px;position:sticky;top:0;z-index:30;display:flex;align-items:center;justify-content:space-between;background:var(--ubyra-white);border-bottom:1px solid var(--enterprise-line);padding:0 32px 0 24px;gap:24px}
.enterprise-workspace .enterprise-platform{display:flex;align-items:center;gap:24px;flex-shrink:0}.enterprise-workspace .enterprise-platform .brand{display:flex;margin:0;min-width:0;padding:0;background:none}.enterprise-workspace .enterprise-platform .brand-logo{width:120px;height:40px;object-fit:contain;display:block}.enterprise-workspace .enterprise-product{font:var(--type-label);color:var(--enterprise-muted);border-left:1px solid var(--enterprise-line);padding-left:24px}
.enterprise-workspace .enterprise-header-actions{display:flex;align-items:center;gap:8px;min-width:0}.enterprise-workspace .enterprise-search-button{display:flex;align-items:center;gap:12px;width:300px;max-width:32vw;min-height:44px;background:var(--ubyra-cloud);border:1px solid var(--enterprise-line);border-radius:var(--radius-sm);padding:10px 12px;color:var(--enterprise-muted);font:var(--type-body-s);cursor:pointer;margin-right:16px}.enterprise-workspace kbd{font:var(--type-caption);border:1px solid var(--enterprise-line);border-radius:4px;background:var(--ubyra-white);padding:1px 5px;margin-left:auto;white-space:nowrap}
.enterprise-workspace .enterprise-icon-button{border:0;background:transparent;color:var(--ubyra-navy);width:44px;height:44px;min-width:44px;display:inline-flex;align-items:center;justify-content:center;border-radius:var(--radius-sm);cursor:pointer;text-decoration:none;padding:0}.enterprise-workspace .enterprise-icon-button:hover{background:var(--ubyra-cloud)}
.enterprise-workspace .enterprise-account{position:relative;margin-left:8px}.enterprise-workspace .enterprise-account>summary{display:flex;align-items:center;gap:8px;min-height:44px;padding:8px 12px;border:1px solid var(--enterprise-line);border-radius:var(--radius-sm);font:var(--type-label);cursor:pointer;list-style:none}.enterprise-workspace .enterprise-account-menu{position:absolute;right:0;top:52px;min-width:220px;background:var(--ubyra-white);border:1px solid var(--enterprise-line);border-radius:var(--radius-md);box-shadow:var(--shadow-2);padding:8px}.enterprise-workspace .enterprise-account-menu a,.enterprise-workspace .enterprise-account-menu button{display:block;padding:12px;text-decoration:none;min-height:44px;font:var(--type-body-s);width:100%;border:0;text-align:left;background:transparent;color:var(--ubyra-navy);border-radius:var(--radius-sm)}.enterprise-workspace .enterprise-account-menu a:hover,.enterprise-workspace .enterprise-account-menu button:hover{background:var(--ubyra-cloud)}
.enterprise-workspace .enterprise-layout{display:grid;grid-template-columns:248px minmax(0,1fr);min-height:calc(100vh - 80px);max-width:none;margin:0}.enterprise-workspace .enterprise-layout:has(.enterprise-sidebar.is-collapsed){grid-template-columns:80px minmax(0,1fr)}
.enterprise-workspace .enterprise-sidebar{width:auto;min-width:0;background:var(--ubyra-white);color:var(--ubyra-navy);border-right:1px solid var(--enterprise-line);padding:16px 12px 24px;position:sticky;top:80px;height:calc(100vh - 80px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;align-self:start}.enterprise-workspace .enterprise-sidebar-tools{display:flex;justify-content:flex-end}.enterprise-workspace [data-enterprise-close]{display:none}
.enterprise-workspace .org-identity{padding:4px 12px 20px;margin:0 0 12px;border-bottom:1px solid var(--enterprise-line);background:transparent}.enterprise-workspace .org-context-label{font:var(--type-caption);color:var(--enterprise-muted);display:block;margin-bottom:12px;letter-spacing:.02em}.enterprise-workspace .org-identity-row{display:flex;align-items:center;gap:12px;min-width:0}.enterprise-workspace .org-identity strong{font:var(--type-label);font-weight:600;line-height:20px;overflow-wrap:anywhere;display:block;margin:0}.enterprise-workspace .org-avatar{border:1px solid var(--enterprise-line);border-top:3px solid var(--org-accent);background:var(--org-accent-subtle);color:var(--ubyra-navy);display:flex;align-items:center;justify-content:center;width:48px;height:48px;flex:0 0 48px;border-radius:var(--radius-sm);font:var(--type-label);overflow:hidden}.enterprise-workspace .org-avatar img{object-fit:contain;width:44px;height:44px}.enterprise-workspace .org-switch{display:flex;gap:4px;align-items:center;min-height:44px;font:var(--type-body-s);margin:4px 0 -8px 60px;text-decoration:none;white-space:nowrap}.enterprise-workspace .org-switch .ui-icon{width:14px;height:14px}
.enterprise-workspace .enterprise-sidebar nav>a,.enterprise-workspace .enterprise-nav-group>div>a{display:flex;align-items:center;gap:12px;min-height:44px;padding:10px 12px;border-radius:var(--radius-sm);font:var(--type-body-s);text-decoration:none;margin:2px 0;color:var(--ubyra-navy);border-left:3px solid transparent}.enterprise-workspace .enterprise-sidebar a[aria-current=page]{background:var(--org-accent-subtle);border-left-color:var(--org-accent-interactive);font-weight:600}.enterprise-workspace .enterprise-sidebar nav a:hover{background:var(--ubyra-cloud)}.enterprise-workspace .enterprise-nav-group{margin-top:12px}.enterprise-workspace .enterprise-nav-group>summary{display:flex;justify-content:space-between;align-items:center;font:var(--type-caption);color:var(--enterprise-muted);min-height:44px;padding:8px 12px;list-style:none;cursor:pointer}.enterprise-workspace .enterprise-nav-group>summary .ui-icon{width:14px;height:14px}.enterprise-workspace .enterprise-nav-group[open]>summary .ui-icon{transform:rotate(90deg)}
.enterprise-workspace .is-collapsed .org-context-label,.enterprise-workspace .is-collapsed .org-identity strong,.enterprise-workspace .is-collapsed .org-switch,.enterprise-workspace .is-collapsed .enterprise-nav-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.enterprise-workspace .is-collapsed .org-identity{padding:4px 0 16px}.enterprise-workspace .is-collapsed .enterprise-nav-group>summary span{font-size:0}.enterprise-workspace .is-collapsed .enterprise-nav-group{margin-top:0}.enterprise-workspace .is-collapsed .enterprise-nav-group>summary{justify-content:center;min-height:28px}.enterprise-workspace .is-collapsed .enterprise-nav-group>summary .ui-icon{width:12px;height:12px}.enterprise-workspace .is-collapsed .enterprise-sidebar-tools{justify-content:center}
.enterprise-workspace .enterprise-main{padding:32px;min-width:0;max-width:1600px;width:100%;margin:0 auto}.enterprise-workspace .enterprise-page-header{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:28px}.enterprise-workspace .enterprise-page-header p{font:var(--type-body);color:var(--enterprise-muted);margin:8px 0 0;max-width:70ch}.enterprise-workspace .enterprise-page-action{flex-shrink:0}.enterprise-workspace .enterprise-breadcrumbs{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font:var(--type-body-s);margin-bottom:16px;color:var(--enterprise-muted)}
.enterprise-workspace .panel{background:var(--ubyra-white);border:1px solid var(--enterprise-line);border-radius:var(--radius-md);padding:24px;box-shadow:none;margin:0 0 24px;min-width:0}.enterprise-workspace .enterprise-section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.enterprise-workspace .enterprise-section-head p{color:var(--enterprise-muted);font:var(--type-body-s);margin:8px 0 0}.enterprise-workspace .enterprise-section-head h2{font:var(--type-h3)}.enterprise-workspace .enterprise-section-head .ghost-button{flex-shrink:0}.enterprise-workspace .enterprise-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0 0 24px}.enterprise-workspace .enterprise-metric{background:var(--ubyra-white);border:1px solid var(--enterprise-line);border-radius:var(--radius-md);padding:20px;text-decoration:none;min-width:0}.enterprise-workspace .enterprise-metric>span{display:flex;justify-content:space-between;align-items:center;gap:8px;font:var(--type-body-s);color:var(--enterprise-muted)}.enterprise-workspace .enterprise-metric strong{display:block;font:var(--type-h2);margin:12px 0 8px}.enterprise-workspace .enterprise-metric small{font:var(--type-caption)}.enterprise-workspace .enterprise-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,340px);gap:24px;align-items:start}.enterprise-workspace .enterprise-task-list{list-style:none;margin:0;padding:0}.enterprise-workspace .enterprise-task-list li{padding:16px 0;border-top:1px solid var(--enterprise-line);display:flex;justify-content:space-between;gap:16px;align-items:center}.enterprise-workspace .enterprise-task-list a{text-decoration:none;font:var(--type-label)}.enterprise-workspace .enterprise-task-list small{display:block;margin-top:4px;font:var(--type-body-s)}
.enterprise-workspace .enterprise-setup h2{font:var(--type-body-l);font-weight:600}.enterprise-workspace .enterprise-setup .enterprise-section-head{margin-bottom:0}.enterprise-workspace .enterprise-setup p{font:var(--type-body-s);color:var(--enterprise-muted);margin:0 0 16px}.enterprise-workspace .enterprise-setup ol{list-style:none;margin:0 0 16px;padding:0}.enterprise-workspace .enterprise-setup li{display:flex;align-items:center;gap:12px;padding:10px 0;font:var(--type-body-s);min-height:44px}.enterprise-workspace .enterprise-setup li a{flex:1;text-decoration:none}.enterprise-workspace .enterprise-setup li>.ui-icon{width:14px;height:14px}.enterprise-workspace .setup-indicator{display:flex;color:var(--enterprise-muted)}.enterprise-workspace .setup-indicator.is-complete{background:var(--ubyra-green);color:var(--ubyra-navy);padding:2px;border-radius:999px}.enterprise-workspace .setup-indicator .ui-icon{width:16px;height:16px}
.enterprise-workspace .portal-table{width:100%;overflow:auto;border:1px solid var(--enterprise-line);border-radius:var(--radius-sm);margin:16px 0;max-height:65vh;scrollbar-width:thin}.enterprise-workspace .portal-table table{width:100%;border-collapse:collapse;text-align:left;font:var(--type-body-s);table-layout:auto}.enterprise-workspace .portal-table th{background:var(--ubyra-cloud);font:var(--type-label);position:sticky;top:0;z-index:1;white-space:nowrap}.enterprise-workspace .portal-table td,.enterprise-workspace .portal-table th{padding:14px 16px;border-bottom:1px solid var(--enterprise-line);vertical-align:middle}.enterprise-workspace .portal-table td{max-width:320px;overflow-wrap:anywhere}.enterprise-workspace .portal-table tr:last-child td{border-bottom:0}.enterprise-workspace .portal-table tbody tr:hover{background:color-mix(in srgb,var(--ubyra-cloud) 55%,var(--ubyra-white))}.enterprise-workspace .portal-table td strong{font-weight:600}.enterprise-workspace .portal-table td small{display:block;margin-top:4px}.enterprise-workspace .portal-table a{font-weight:600}.enterprise-workspace .badge{display:inline-flex;align-items:center;gap:6px;font:var(--type-caption);padding:4px 8px;border-radius:999px;white-space:nowrap;background:var(--ubyra-cloud);color:var(--ubyra-navy)}.enterprise-workspace .badge .ui-icon{width:14px;height:14px}.enterprise-workspace .status-positive{background:color-mix(in srgb,var(--ubyra-green) 14%,white)}.enterprise-workspace .status-danger{background:color-mix(in srgb,var(--ubyra-danger) 8%,white);color:var(--ubyra-danger)}.enterprise-workspace .status-info{background:color-mix(in srgb,var(--ubyra-info) 8%,white)}
.enterprise-workspace .enterprise-filter-bar{display:flex;gap:12px;align-items:flex-end;flex-wrap:wrap;margin:0 0 16px}.enterprise-workspace .enterprise-filter-bar>label{flex:1;min-width:160px}.enterprise-workspace label{display:flex;flex-direction:column;gap:8px;font:var(--type-label)}.enterprise-workspace input:not([type=checkbox]):not([type=radio]):not([type=color]),.enterprise-workspace select,.enterprise-workspace textarea{width:100%;min-height:44px;border:1px solid color-mix(in srgb,var(--ubyra-navy) 40%,white);border-radius:var(--radius-sm);padding:10px 12px;background:var(--ubyra-white);color:var(--ubyra-navy);font:var(--type-body-s)}.enterprise-workspace input::placeholder{color:var(--enterprise-muted);opacity:1}.enterprise-workspace textarea{min-height:100px;resize:vertical}.enterprise-workspace [aria-invalid=true]{border-color:var(--ubyra-danger)!important}.enterprise-workspace .enterprise-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.enterprise-workspace .enterprise-form-grid>label.wide{grid-column:1/-1}.enterprise-workspace .enterprise-form-footer{display:flex;align-items:center;justify-content:flex-end;gap:12px;border-top:1px solid var(--enterprise-line);padding-top:20px;margin-top:24px}.enterprise-workspace .enterprise-pagination{display:flex;align-items:center;justify-content:space-between;gap:16px;font:var(--type-body-s);color:var(--enterprise-muted)}.enterprise-workspace .enterprise-pagination>div{display:flex;gap:8px}
.enterprise-workspace .enterprise-tabs{display:flex;gap:24px;border-bottom:1px solid var(--enterprise-line);margin-bottom:24px;overflow-x:auto;white-space:nowrap;scrollbar-width:thin}.enterprise-workspace .enterprise-tabs a,.enterprise-workspace .enterprise-tabs button{min-height:48px;border:0;border-bottom:3px solid transparent;padding:12px 0;text-decoration:none;font:var(--type-label);background:none;color:var(--enterprise-muted);cursor:pointer}.enterprise-workspace .enterprise-tabs [aria-current=page],.enterprise-workspace .enterprise-tabs [aria-selected=true]{color:var(--ubyra-navy);border-bottom-color:var(--ubyra-navy)}
.enterprise-workspace .enterprise-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.enterprise-workspace .enterprise-settings-link{background:var(--ubyra-white);border:1px solid var(--enterprise-line);border-radius:var(--radius-md);padding:24px;display:flex;align-items:flex-start;gap:16px;text-decoration:none}.enterprise-workspace .enterprise-settings-link strong{display:block;font:var(--type-body-l);font-weight:600;margin:0 0 8px}.enterprise-workspace .enterprise-settings-link p{font:var(--type-body-s);color:var(--enterprise-muted);margin:0}.enterprise-workspace .enterprise-settings-link>.ui-icon{margin-top:4px}.enterprise-workspace .enterprise-empty{text-align:center;padding:40px 24px}.enterprise-workspace .enterprise-empty>.ui-icon{width:32px;height:32px;color:var(--enterprise-muted);margin-bottom:16px}.enterprise-workspace .enterprise-empty p{max-width:52ch;margin:8px auto 20px;color:var(--enterprise-muted)}
.enterprise-workspace .enterprise-brand-preview{background:var(--ubyra-cloud);padding:16px;border:1px solid var(--enterprise-line);border-radius:var(--radius-md)}.enterprise-workspace .enterprise-brand-preview>small{display:block;margin-bottom:12px}.enterprise-workspace .enterprise-brand-preview .preview-platform{background:white;padding:20px;border-bottom:1px solid var(--enterprise-line);border-radius:8px 8px 0 0;display:flex;align-items:center;gap:24px}.enterprise-workspace .enterprise-brand-preview .brand-logo{width:120px;height:40px;object-fit:contain}.enterprise-workspace .enterprise-brand-preview .org-identity{background:white;padding:20px;margin:0;border-radius:0 0 8px 8px}.enterprise-workspace .enterprise-brand-preview .org-switch{margin-left:60px}.enterprise-workspace .enterprise-note{display:flex;gap:12px;border:1px solid var(--enterprise-line);background:var(--ubyra-cloud);border-radius:var(--radius-sm);padding:16px;font:var(--type-body-s);margin:16px 0}.enterprise-workspace .enterprise-note p{margin:0}.enterprise-workspace .enterprise-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.enterprise-workspace .enterprise-detail-grid dt{font:var(--type-body-s);color:var(--enterprise-muted);margin-bottom:8px}.enterprise-workspace .enterprise-detail-grid dd{margin:0;font:var(--type-label)}
.enterprise-workspace .enterprise-mobile-context{display:none}.enterprise-workspace .enterprise-drawer-backdrop{position:fixed;inset:80px 0 0;background:rgba(7,31,51,.4);z-index:39}.enterprise-workspace .enterprise-login{display:grid;grid-template-columns:1fr 1fr;max-width:1080px;margin:64px auto;gap:80px;padding:32px}.enterprise-workspace .enterprise-login h1{margin-bottom:24px}.enterprise-workspace .enterprise-login .panel{padding:32px}.enterprise-workspace .enterprise-login form{display:grid;gap:20px}.enterprise-workspace .enterprise-login .primary-button{width:100%}.enterprise-workspace .enterprise-login ul{padding-left:24px}.enterprise-workspace .enterprise-login li{margin:16px 0}
.enterprise-workspace .portal-table{position:relative}
.enterprise-workspace .enterprise-sidebar{display:flex;flex-direction:column;overflow:hidden}
.enterprise-workspace .enterprise-sidebar-tools,.enterprise-workspace .enterprise-sidebar>.org-identity{flex-shrink:0}
.enterprise-workspace .enterprise-sidebar nav{display:block;overflow-y:auto;overflow-x:hidden;min-height:0;flex:1;position:relative;scrollbar-width:thin}
.enterprise-workspace .enterprise-sidebar nav a{font-size:15px;font-weight:600;min-height:46px;line-height:1.45}
.enterprise-workspace .enterprise-nav-group>summary{font-size:14px;font-weight:700;letter-spacing:.02em;color:var(--ubyra-navy);min-height:46px}
.enterprise-workspace .enterprise-sidebar nav{scrollbar-gutter:stable;overscroll-behavior:contain}
.enterprise-workspace .enterprise-entry-actions{display:grid;gap:12px;margin:20px 0}
.enterprise-workspace .enterprise-language{display:flex;flex-direction:row;align-items:center;gap:8px;font-size:13px}
.enterprise-workspace .enterprise-language select{width:auto;max-width:145px;min-height:40px;font-size:13px;padding:8px}
@media(max-width:1023px){.enterprise-workspace .enterprise-language>span{display:none}.enterprise-workspace .enterprise-language select{max-width:100px}}
@media(max-width:767px){.enterprise-workspace .enterprise-language select{max-width:85px}.enterprise-workspace .enterprise-header-actions{gap:0}.enterprise-workspace .enterprise-platform .brand-logo{width:100px}}
.enterprise-workspace .enterprise-entry-actions [aria-pressed=true]{border:2px solid var(--ubyra-navy);background:var(--ubyra-cloud)}
.enterprise-workspace .enterprise-entry-status{border-bottom:1px solid var(--enterprise-line);padding:16px 0;overflow-wrap:anywhere}
.enterprise-workspace .enterprise-entry-status:last-child{border:0}
.enterprise-workspace .account-main{max-width:1120px;margin:auto}
.enterprise-workspace .account-main .form-stack{display:grid;gap:20px}
.enterprise-workspace .account-main .form-stack>button{justify-self:start}
.enterprise-workspace .account-secret{display:block;overflow-wrap:anywhere;margin:20px 0;padding:16px;background:var(--ubyra-cloud)}
.enterprise-workspace .account-help summary{font-size:17px;font-weight:600;cursor:pointer;min-height:44px;display:flex;align-items:center}
.enterprise-workspace .account-help-content{margin-top:20px}
dialog.account-challenge{width:min(560px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:28px;border:1px solid var(--enterprise-line);border-radius:16px;color:var(--ubyra-navy);background:white}
dialog.account-challenge::backdrop{background:rgb(7 31 51 / 55%)}
dialog.account-challenge .form-stack{display:grid;gap:20px}
.enterprise-workspace .account-help .two-column,.enterprise-workspace .account-help .safety-dimensions{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:20px}
.enterprise-workspace .account-help .safety-hero,.enterprise-workspace .account-help .safety-emergency{padding:20px;border:1px solid var(--enterprise-line);border-radius:12px;background:var(--ubyra-cloud);margin-bottom:20px}
.enterprise-workspace .account-help .table-wrap{overflow:auto;max-width:100%}
.enterprise-workspace .account-help table{width:100%;border-collapse:collapse}
.enterprise-workspace .account-help td,.enterprise-workspace .account-help th{padding:12px;text-align:left;border-bottom:1px solid var(--enterprise-line)}
.enterprise-workspace .enterprise-breadcrumbs span::before{content:none}
.enterprise-workspace .enterprise-multiple{min-width:0;border:1px solid var(--enterprise-line);border-radius:var(--radius-sm);padding:16px;margin:12px 0}
.enterprise-workspace .enterprise-choice-list{display:grid;gap:4px;max-height:240px;overflow-y:auto;margin-top:12px}
.enterprise-workspace .enterprise-choice-list label{min-height:44px}
.enterprise-workspace [hidden]{display:none!important}
.enterprise-workspace .enterprise-company-picker{max-width:1120px}
.enterprise-workspace .enterprise-filter-form{margin-bottom:20px}
.enterprise-workspace .enterprise-filter-form>.portal-fields{grid-template-columns:minmax(180px,1fr) minmax(160px,240px)}
.enterprise-workspace .enterprise-filter-form>button{justify-self:start;background:var(--ubyra-white);color:var(--ubyra-navy);border-color:var(--enterprise-line)}
.enterprise-workspace .enterprise-grid-options{margin:8px 0 12px;display:flex;justify-content:flex-end}
.enterprise-workspace .enterprise-grid-options details{position:relative}
.enterprise-workspace .enterprise-grid-options summary{min-height:44px;padding:10px 12px;cursor:pointer;font:var(--type-body-s)}
.enterprise-workspace .enterprise-grid-options details>div{display:grid;gap:4px;position:absolute;right:0;z-index:5;min-width:220px;max-width:100%;padding:12px;background:var(--ubyra-white);border:1px solid var(--enterprise-line);border-radius:var(--radius-sm);box-shadow:var(--shadow-1)}
.enterprise-workspace .enterprise-scope-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:16px 0}
.enterprise-workspace .enterprise-scope-grid fieldset{margin:0;padding:16px;min-width:0;border:1px solid var(--enterprise-line);border-radius:var(--radius-sm)}
.enterprise-workspace .enterprise-scope-options{max-height:220px;overflow-y:auto;margin-top:12px;display:grid;gap:4px}
.enterprise-workspace label:has(>input[type=checkbox]){flex-direction:row;align-items:center;min-height:44px;gap:12px;font:var(--type-body-s)}
.enterprise-workspace input[type=checkbox]{width:20px;height:20px;min-height:20px;flex:0 0 20px;accent-color:var(--ubyra-navy)}
.enterprise-workspace .enterprise-brand-preview[data-preview-size=tablet]{max-width:300px;margin-inline:auto}
.enterprise-workspace .enterprise-brand-preview[data-preview-size=mobile]{max-width:250px;margin-inline:auto}
.enterprise-workspace .enterprise-brand-preview[data-preview-size=mobile] .org-identity-row{align-items:flex-start}
.enterprise-workspace .enterprise-brand-preview[data-preview-size=mobile] .org-switch{margin-left:0}
@media(max-width:767px){.enterprise-workspace .enterprise-data-grid table{min-width:0}.enterprise-workspace .enterprise-sidebar nav a{white-space:normal}.enterprise-workspace .enterprise-scope-grid{grid-template-columns:1fr}.enterprise-workspace .enterprise-filter-form>.portal-fields{grid-template-columns:1fr}.enterprise-workspace .enterprise-grid-options{display:none}}
@media(min-width:1600px){.enterprise-workspace .enterprise-main{padding:40px}}
@media(max-width:1279px){.enterprise-workspace .enterprise-main{padding:24px}.enterprise-workspace .enterprise-columns{grid-template-columns:minmax(0,1fr)}.enterprise-workspace .enterprise-setup ol{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px}.enterprise-workspace .enterprise-search-button{width:250px}.enterprise-workspace .enterprise-metrics{gap:12px}.enterprise-workspace .enterprise-metric{padding:16px}}
@media(max-width:1023px){.enterprise-workspace .enterprise-layout{grid-template-columns:220px minmax(0,1fr)}.enterprise-workspace .enterprise-header{padding:0 20px;gap:16px}.enterprise-workspace .enterprise-header-actions{gap:0}.enterprise-workspace .enterprise-account>summary>span{display:none}.enterprise-workspace .enterprise-search-button{width:44px;max-width:none;margin-right:4px;justify-content:center;padding:0}.enterprise-workspace .enterprise-search-button>span,.enterprise-workspace .enterprise-search-button>kbd{display:none}.enterprise-workspace .enterprise-page-header{align-items:flex-start}.enterprise-workspace .enterprise-page-action .primary-button{white-space:normal}.enterprise-workspace .enterprise-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.enterprise-workspace .enterprise-form-grid,.enterprise-workspace .enterprise-settings-grid{grid-template-columns:1fr}.enterprise-workspace .enterprise-login{gap:32px;margin:24px auto}.enterprise-workspace .enterprise-setup ol{grid-template-columns:1fr}}
@media(max-width:767px){.enterprise-workspace .enterprise-header{height:72px;padding:0 16px;gap:8px}.enterprise-workspace .enterprise-platform{gap:0}.enterprise-workspace .enterprise-product{display:none}.enterprise-workspace .enterprise-platform .brand-logo{width:120px;height:40px}.enterprise-workspace .enterprise-header-actions>a[aria-label=Ajuda]{display:none}.enterprise-workspace .enterprise-account{margin-left:0}.enterprise-workspace .enterprise-account>summary{padding:8px 10px}.enterprise-workspace .enterprise-layout,.enterprise-workspace .enterprise-layout:has(.is-collapsed){display:block;min-height:calc(100vh - 72px)}.enterprise-workspace .enterprise-mobile-context{display:flex;align-items:center;gap:12px;padding:12px 16px;border-bottom:1px solid var(--enterprise-line);background:white;min-width:0}.enterprise-workspace .enterprise-mobile-context>div{min-width:0}.enterprise-workspace .enterprise-mobile-context span{display:block;font:var(--type-caption);color:var(--enterprise-muted)}.enterprise-workspace .enterprise-mobile-context strong{display:block;font:var(--type-label);overflow-wrap:anywhere}.enterprise-workspace .enterprise-sidebar{display:none;position:fixed;top:72px;left:0;bottom:0;width:min(310px,90vw);height:calc(100dvh - 72px);z-index:40;padding:12px}.enterprise-workspace .enterprise-sidebar.is-open{display:flex}.enterprise-workspace .enterprise-sidebar-tools{justify-content:flex-end}.enterprise-workspace [data-enterprise-collapse]{display:none}.enterprise-workspace [data-enterprise-close]{display:inline-flex}.enterprise-workspace .enterprise-main{padding:24px 16px}.enterprise-workspace h1{font:var(--type-h1-mobile)}.enterprise-workspace .enterprise-page-header{display:block;margin-bottom:24px}.enterprise-workspace .enterprise-page-action{margin-top:20px}.enterprise-workspace .enterprise-page-header p{font:var(--type-body-s)}.enterprise-workspace .enterprise-metrics{gap:12px}.enterprise-workspace .enterprise-metric{padding:16px}.enterprise-workspace .enterprise-metric>span{font:var(--type-caption)}.enterprise-workspace .enterprise-metric>span>.ui-icon{display:none}.enterprise-workspace .enterprise-metric strong{font:var(--type-h3);margin:8px 0}.enterprise-workspace .panel{padding:20px 16px;margin-bottom:20px}.enterprise-workspace .enterprise-section-head{gap:8px}.enterprise-workspace .enterprise-section-head h2{font:var(--type-body-l);font-weight:600}.enterprise-workspace .enterprise-section-head .ghost-button{padding:8px}.enterprise-workspace .enterprise-pagination{flex-wrap:wrap}.enterprise-workspace .enterprise-pagination>div{margin-left:auto}.enterprise-workspace .enterprise-tabs{gap:20px}.enterprise-workspace .enterprise-data-grid{border:0;max-height:none;overflow:visible}.enterprise-workspace .enterprise-data-grid thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.enterprise-workspace .enterprise-data-grid table,.enterprise-workspace .enterprise-data-grid tbody,.enterprise-workspace .enterprise-data-grid tr,.enterprise-workspace .enterprise-data-grid td{display:block;width:100%;max-width:none}.enterprise-workspace .enterprise-data-grid tr{border:1px solid var(--enterprise-line);border-radius:var(--radius-sm);padding:12px;margin-bottom:12px}.enterprise-workspace .enterprise-data-grid td{padding:8px 0;border:0;display:flex;justify-content:space-between;gap:16px;text-align:right}.enterprise-workspace .enterprise-data-grid td::before{content:attr(data-label);font:var(--type-caption);color:var(--enterprise-muted);text-align:left;min-width:72px}.enterprise-workspace .enterprise-data-grid td.grid-secondary{display:none}.enterprise-workspace .enterprise-data-grid td small{display:none}.enterprise-workspace .enterprise-detail-grid{grid-template-columns:1fr}.enterprise-workspace .enterprise-form-footer{flex-wrap:wrap}.enterprise-workspace .enterprise-form-footer .primary-button{flex:1}.enterprise-workspace .enterprise-drawer-backdrop{top:72px}.enterprise-workspace .enterprise-login{display:block;margin:0;padding:24px 16px}.enterprise-workspace .enterprise-login .panel{padding:24px 16px;margin-top:32px}.enterprise-workspace .enterprise-login ul{display:none}}
@media(prefers-reduced-motion:reduce){.enterprise-workspace *,.enterprise-workspace *::before,.enterprise-workspace *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Keep all header controls within a 320px viewport, in every interface language. */
@media(max-width:767px){.enterprise-workspace .enterprise-header-actions>a[href$="/ajuda"]{display:none}}
@media(max-width:380px){.enterprise-workspace .enterprise-header{padding-inline:8px;gap:0}.enterprise-workspace .enterprise-platform .brand-logo{width:88px;height:32px}.enterprise-workspace .enterprise-search-button{margin-right:0}.enterprise-workspace .enterprise-language select{max-width:84px}}
