.ua-workspace{min-width:0;padding:14px 16px!important}.ua-topbar,.ua-actions,.ua-filters,.ua-list-meta,.ua-row-actions{display:flex;align-items:center;gap:8px}.ua-topbar{flex-wrap:wrap;margin-bottom:10px}.ua-actions{margin-left:auto;flex-wrap:wrap}.ua-workspace button,.ua-workspace input,.ua-workspace select{margin:0;min-height:32px}.ua-filters{flex-wrap:wrap;margin-bottom:8px}.ua-search{flex:1;min-width:220px}.ua-search input{width:100%}.ua-filters select{width:160px}.ua-list-meta{justify-content:space-between;margin:6px 0 10px;min-height:34px}.ua-workspace table{width:100%;table-layout:fixed}.ua-workspace th:nth-child(1){width:23%}.ua-workspace th:nth-child(2){width:24%}.ua-workspace th:nth-child(3){width:15%}.ua-workspace th:nth-child(4){width:14%}.ua-workspace th:nth-child(5){width:24%}.ua-workspace td{overflow-wrap:anywhere;padding:9px 10px!important;vertical-align:middle}.ua-workspace tbody tr:nth-child(even){background:#f6f9fd}.ua-workspace td small{display:block;color:#71849f;margin-top:4px}.ua-row-actions{flex-wrap:wrap}.ua-status{display:inline-block;border-radius:4px;padding:3px 7px;background:#eef2f7;color:#596a82}.ua-status.active{background:#e9f5f2;color:#17755f}.ua-status.disabled{background:#fff3e8;color:#a95b10}.ua-more{position:relative}.ua-more summary{cursor:pointer;font-size:12px;color:#1d5bc1;padding:4px 8px;border:1px solid #d2dff3;border-radius:5px}.ua-more[open] button{position:absolute;z-index:10;right:0;top:29px;white-space:nowrap;background:white;box-shadow:0 5px 18px #16263b26}.ua-empty{text-align:center;padding:30px!important}.ua-notice,.ua-dialog-message{padding:9px 12px;background:#edf6fa;border-radius:5px;margin:8px 0;color:#28587d}.ua-notice.is-error,.ua-dialog-message.is-error{background:#fff3ea;color:#a2410c}.ua-notice[hidden],.ua-dialog-message[hidden],.ua-form [hidden],.ua-template-impact[hidden]{display:none!important}.ua-modal{position:fixed;inset:0;z-index:1200;background:#14233866;display:flex;align-items:center;justify-content:center;padding:24px}.ua-dialog{background:white;border:1px solid #d7e1ef;border-radius:9px;box-shadow:0 18px 55px #17263b40;width:min(900px,100%);max-height:calc(100dvh - 48px);display:flex;flex-direction:column;min-height:0}.ua-dialog header{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:12px 18px;border-bottom:1px solid #e1e8f2;flex:none}.ua-dialog h3{margin:0!important;font-size:16px}.ua-dialog-message{margin:10px 18px 0;flex:none}.ua-modal-body{padding:16px 18px;overflow:auto;min-height:0;overscroll-behavior:contain}.ua-modal-footer{display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:12px 18px;border-top:1px solid #e1e8f2;flex:none}.ua-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px}.ua-field{display:flex;flex-direction:column;gap:6px;min-width:0}.ua-field>span{font-size:13px;font-weight:600;color:#304969}.ua-field input,.ua-field select{width:100%;height:36px;margin:0}.ua-wide{grid-column:1/-1}.ua-help{font-size:12px;color:#667e9e;line-height:1.6;margin:0 0 12px}.ua-form .ua-help{margin:0}.ua-modal .user-permission-head{display:block}.ua-modal .user-permission-badges{margin:8px 0}.ua-modal .user-permission-groups{display:block!important}.ua-permission-group{border:1px solid #dce5f1;border-radius:6px;margin:8px 0;overflow:hidden}.ua-permission-group>summary{cursor:pointer;background:#f4f7fb;padding:10px 12px;font-weight:600}.ua-modal .user-permission-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));padding:8px;gap:6px}.ua-modal .user-permission-item{min-width:0!important;padding:8px!important}.ua-template-impact{border:1px solid #c8d9f1;padding:12px;border-radius:6px;margin-top:12px}.ua-template-impact details{padding:6px 0}.ua-template-impact summary{cursor:pointer}.ua-draft{display:block;width:100%;text-align:left;margin-bottom:8px}.ua-workspace [data-ua-workflows] .cw-toolbar{display:contents}.ua-workspace [data-ua-workflows] .cw-toolbar>span{display:none}.ua-workspace .ua-workflow-menu{position:relative}.ua-workspace .ua-workflow-menu summary{cursor:pointer;padding:6px 10px;border:1px solid #d2dff3;border-radius:5px;color:#1d5bc1}.ua-workspace .ua-workflow-menu>div{position:absolute;right:0;top:36px;z-index:10;background:white;padding:8px;box-shadow:0 6px 20px #16263b26;border-radius:6px;min-width:160px}.ua-workspace .ua-workflow-menu button{display:block;white-space:nowrap;width:100%;text-align:left;margin:4px 0}.ua-modal button{min-height:34px}.ua-modal button:disabled{cursor:wait}.ua-modal input:disabled{cursor:default}.ua-modal .user-permission-item input:disabled{cursor:default}
@media(max-width:800px){.ua-topbar{align-items:flex-start}.ua-actions{margin-left:0}.ua-workspace table{min-width:790px}.ua-modal{padding:10px}.ua-dialog{max-height:calc(100dvh - 20px)}.ua-form{grid-template-columns:1fr}.ua-modal .user-permission-grid{grid-template-columns:1fr}.ua-filters select{flex:1;min-width:130px}.ua-list-meta{flex-wrap:wrap}.ua-modal-footer{flex-wrap:wrap}}
body .ua-workspace button,body .ua-dialog button{width:auto!important;flex:none!important;white-space:nowrap}
body .ua-workspace .ua-actions,body .ua-workspace .ua-filters{display:flex!important;align-items:center!important;flex-direction:row!important}
body .ua-workspace .ua-search{margin:0!important}.ua-workspace .sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.ua-role-toolbar{display:flex;align-items:center;flex:none;gap:10px;flex-wrap:wrap}.ua-role-toolbar>.ua-field{flex-direction:row;align-items:center;gap:10px}.ua-role-toolbar select{width:200px}.ua-role-base{font-size:12px;color:#6c7f99}.ua-role-tools{display:flex;gap:6px;align-items:center;margin-left:auto}.ua-role-form-host{flex:none;max-height:38%;overflow:auto}.ua-role-form-host[hidden]{display:none!important}.ua-role-form{padding:10px 12px;border:1px solid #cfdef2;border-radius:6px;background:#f6f9fe}.ua-role-form>strong{display:block;font-size:13px;margin-bottom:8px}.ua-role-form-fields{display:flex;gap:12px;align-items:flex-end}.ua-role-form-fields>.ua-field{flex:1}.ua-role-form-actions{display:flex;gap:6px;flex:none;padding-bottom:1px}.ua-role-form .ua-help{margin:8px 0 0}.ua-role-form [data-role-feedback]{color:#9b4b12;font-size:12px;line-height:1.5;margin-top:8px}.ua-role-form [data-role-feedback] button{margin-left:8px}.ua-permission-issues{padding:8px 10px;border:1px solid #f0d5ad;border-radius:5px;background:#fff9ee;margin-bottom:10px;color:#8c4c13}.ua-permission-issues ul{padding-left:20px;margin:6px 0}.ua-permission-issues p{margin:6px 0 0;font-size:12px}.ua-role-toolbar .ua-field>span{white-space:nowrap}.ua-role-form input,.ua-role-form select{font-size:13px}.ua-role-toolbar button{margin:0}
@media(max-width:800px){.ua-role-toolbar{gap:6px}.ua-role-toolbar>.ua-field{flex:1}.ua-role-toolbar select{width:100%;min-width:0}.ua-role-base{display:none}.ua-role-tools{margin-left:0}.ua-role-form-fields{flex-wrap:wrap;gap:8px}.ua-role-form-fields>.ua-field{min-width:140px}.ua-role-form-actions{margin-left:auto}.ua-role-form-host{max-height:44%}.ua-role-toolbar button{font-size:12px;padding:5px 8px}}
.ua-role-toolbar>.ua-field,.ua-role-form .ua-field{margin:0}.ua-role-form-actions{padding:0}.ua-role-form-actions button{margin:0;height:36px}
.ua-review-scroll{overflow:auto;max-width:100%}.ua-review-table{width:100%;border-collapse:collapse;font-size:12px;table-layout:fixed}.ua-review-table th,.ua-review-table td{padding:8px;border:1px solid #dce5f1;text-align:left;vertical-align:top;overflow-wrap:anywhere}.ua-review-table th{background:#f4f7fb}.ua-review-table tbody tr:nth-child(even){background:#f8fafd}.ua-review-table small{display:block;color:#657c99;margin-top:4px}.ua-review-table ul{padding-left:18px;margin:6px 0}.ua-review-table summary{cursor:pointer;color:#1d5bc1}.ua-role-change-impact{max-height:330px;overflow:auto}.ua-role-change-impact p{margin:8px 0}.ua-history-dialog{width:min(1000px,100%);height:min(760px,calc(100dvh - 48px))}.ua-history-dialog .ua-modal-body{display:flex;flex-direction:column;flex:1;gap:10px;overflow:hidden}.ua-history-dialog .ua-help{margin:0;flex:none}.ua-history-filters{display:flex;gap:8px;flex-wrap:wrap;align-items:center;flex:none}.ua-history-filters select{flex:1;min-width:140px;height:34px;margin:0}.ua-history-filters button{margin:0}.ua-history-results{overflow:auto;min-height:0;flex:1}.ua-history-count{margin-right:auto;font-size:12px;color:#657c99}.ua-history-table th:nth-child(1){width:22%}.ua-history-table th:nth-child(2){width:22%}.ua-history-table th:nth-child(3){width:42%}.ua-history-table th:nth-child(4){width:14%}.ua-dialog-message button{margin:6px 0 0 10px}.ua-template-impact [data-template-rebase]{margin-top:10px}.ua-template-impact>.ua-review-scroll{margin-top:10px}
@media(max-width:800px){.ua-history-dialog{height:calc(100dvh - 20px)}.ua-history-filters{gap:6px}.ua-history-table{min-width:600px}.ua-history-dialog .ua-modal-footer{gap:6px}.ua-review-table{font-size:12px}.ua-role-change-impact{max-height:38dvh}}
.ua-rebase-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;position:sticky;top:-12px;background:white;padding:6px 0}.ua-template-impact .ua-rebase-head [data-template-rebase]{margin:0}
.ua-template-impact .ua-rebase-head [data-personal-rebase]{margin:0}
.ua-template-review-head{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.ua-template-review-head>span{color:#647995;font-size:12px}.ua-template-changes th:first-child{width:44%}.ua-template-changes th:not(:first-child){width:28%}.ua-template-changes th,.ua-template-changes td{padding:6px 8px}.ua-template-changes small{margin-top:3px}.ua-template-members{margin-top:6px}.ua-template-members>details{margin-left:12px}

/* Password confirmation stays local to the form; saved passwords are never displayed. */
.ua-password-field>label{font-size:13px;font-weight:600;color:#304969;margin:0}
.ua-password-control{position:relative;min-width:0}
.ua-field .ua-password-control input{padding-right:62px!important;min-height:40px;height:40px}
body .ua-dialog .ua-password-toggle{position:absolute;right:3px;top:3px;bottom:3px;min-width:48px;min-height:34px;height:auto;margin:0;padding:4px 8px!important;border:0!important;box-shadow:none!important;background:transparent!important;color:#245c9d;font-size:13px;line-height:1.4}
.ua-password-toggle:focus-visible{outline:2px solid #245c9d;outline-offset:-2px}
@media(max-width:800px){.ua-field .ua-password-control input{min-height:44px;height:44px}.ua-dialog .ua-password-toggle{min-height:38px}}
