/*  RCD UI stylesheet — consolidated in 2026.09.01.039. Historical patch overrides are folded only where cascade-equivalent; rule order remains semantic.  */
:root{--bg:#f2f6f5;--side:#eaf0ef;--panel:#fbfdfd;--panel2:#f7faf9;--text:#26373d;--muted:#718086;--line:#dce6e4;--accent:#4e7380;--accent2:#41636d;--soft:#e5eeed;--green:#39745b;--greenSoft:#e8f4ed;--amber:#9b6627;--amberSoft:#fff2df;--red:#a24c47;--redSoft:#fbeceb;--blue:#506f92;--blueSoft:#eaf0f7;--shadow:0 14px 35px rgba(42,60,65,.10);--r:13px}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;font:17px/1.44 "Segoe UI Variable Text","Segoe UI Variable","Segoe UI",Arial,sans-serif;color:var(--text);background:var(--bg)}button,input,select,textarea{font:inherit;color:inherit}button,a{cursor:pointer}a{color:inherit}.app-shell{height:100vh;display:flex;overflow:hidden}.sidebar{width:242px;flex:0 0 242px;background:var(--side);border-right:1px solid #d4dfdc;display:flex;flex-direction:column}.app-brand{height:66px;padding:0 14px;display:flex;align-items:center;text-decoration:none;border-bottom:1px solid #d7e1df}.app-brand img{width:43px;height:43px;object-fit:cover;border-radius:9px;background:#123955}.app-brand div{margin-left:0}.app-brand strong{font-size:18px;display:block}.app-brand span{color:var(--muted);display:block}.side-nav{padding:11px 9px;overflow:auto}.side-nav>a{display:flex;align-items:center;border-radius:9px;text-decoration:none;color:#56666b;padding:0 10px;margin:2px 0}.side-nav>a i{font-style:normal;text-align:center;color:#708085}.side-nav>a:hover{background:rgba(255,255,255,.65);color:var(--text)}.side-nav>a.active{color:#293b41}.nav-label{margin:18px 10px 6px;text-transform:uppercase;letter-spacing:.08em;color:#89969a;font-weight:850}.side-foot{margin-top:auto;padding:11px;border-top:1px solid #d7e1df}.vault-widget{width:100%;border:1px solid #d7e1df;background:rgba(255,255,255,.62);border-radius:11px;min-height:58px;display:flex;align-items:center;text-align:left;padding:8px 10px;gap:10px;transition:background .16s,border-color .16s,box-shadow .16s}
.vault-widget:hover{background:#fff}
.vault-widget.open{background:#f1f8f4;border-color:#c8dfd2;box-shadow:inset 0 0 0 1px rgba(71,139,101,.03)}
.vault-widget b{display:block}
.vault-widget.open b{color:#2f7251}
.vault-widget small{display:block;color:#829095;margin-top:2px}
.vault-widget.open small{color:#6d8c7b}
.vault-icon{width:34px;height:34px;flex:0 0 34px;display:block}
.vault-icon svg{display:block;width:34px;height:34px;overflow:visible}
.vault-widget.closed .vault-icon-bg{stroke-width:1}
.vault-widget.closed .vault-shackle{fill:none;stroke-width:2.4;stroke-linecap:round}
.vault-widget.closed .vault-keyhole{fill:#f6f8f8;stroke:#f6f8f8;stroke-width:1.4;stroke-linecap:round}
.vault-widget.open .vault-icon-bg{fill:#e3f2e9;stroke:#c8e1d2;stroke-width:1}
.vault-widget.open .vault-body{fill:#3f8b62}
.vault-widget.open .vault-shackle{fill:none;stroke:#3f8b62;stroke-width:2.4;stroke-linecap:round}
.vault-widget.open .vault-keyhole{fill:#fff;stroke:#fff;stroke-width:1.4;stroke-linecap:round}
.workspace{flex:1;min-width:0;display:flex;flex-direction:column}.topbar{flex:0 0 58px;background:rgba(251,253,253,.96);backdrop-filter:blur(8px);border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 21px;gap:10px}.top-title{align-items:baseline;gap:9px;min-width:0}.top-title b{line-height:1;letter-spacing:-.02em;white-space:nowrap}.top-title span{color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-tools{display:flex;align-items:center;gap:7px}.global-search{display:flex;align-items:center;width:0;opacity:0;overflow:hidden;height:38px;border:1px solid var(--line);background:#f8fbfa;border-radius:9px;transition:.18s}.global-search.open{width:min(520px,42vw);opacity:1;padding:0 10px}.global-search input{border:0;background:transparent;outline:0;min-width:0;flex:1;padding-left:7px}.icon-button,.mini-icon,.more,.flag{border:1px solid var(--line);background:#fff;border-radius:8px;color:#65767b}.icon-button{width:38px;height:38px}.user-chip{height:38px;max-width:205px;border:1px solid var(--line);background:#fff;border-radius:9px;padding:0 9px;display:flex;align-items:center;gap:7px}.user-chip>span:last-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.content{flex:1;overflow:auto}.page-intro{margin-bottom:12px}.page-intro p{margin:0;color:var(--muted)}.metrics{display:grid;gap:11px;margin-bottom:15px}.metric{background:var(--panel);border:1px solid var(--line);border-radius:var(--r);padding:14px 15px;text-decoration:none}.metric span,.metric small{display:block;color:var(--muted);font-size:12px}.metric b{display:block;font-size:28px;margin:3px 0}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:13px}.panel{background:var(--panel);border:1px solid var(--line);border-radius:var(--r);overflow:hidden}.panel.padded{padding:16px}.panel-head{border-bottom:1px solid var(--line);display:flex;align-items:center;gap:10px}.panel-head h2{margin:0}.panel-head p{margin:3px 0 0;color:var(--muted);font-size:12.5px}.panel-head>a,.panel-head>div:last-child{margin-left:auto}.section-title{font-weight:800;margin-bottom:13px}.section-title small{font-weight:400;color:var(--muted)}.attention-list{padding:6px}.attention-row{display:flex;align-items:center;gap:10px;padding:10px;border-radius:9px;text-decoration:none}.attention-row:hover{background:#f3f7f6}.attention-icon{width:31px;height:31px;border-radius:8px;background:var(--amberSoft);color:var(--amber);display:grid;place-items:center;font-weight:850}.attention-row div{flex:1}.attention-row b{display:block}.attention-row small{display:block;color:var(--muted);font-size:12px;margin-top:2px}.activity-row{display:flex;gap:10px;padding:10px 2px;border-bottom:1px solid #edf1f0}.activity-row>i{width:8px;height:8px;border-radius:50%;background:#7a969c;margin-top:5px;flex:0 0 8px}.activity-row>div{min-width:0}.activity-row b{display:block}.activity-row small{display:block;color:var(--muted);font-size:12px;margin-top:2px}.audit-row details{margin-top:5px}.audit-row pre{white-space:pre-wrap;color:#5e6f74}.page-toolbar{min-height:49px;background:var(--panel);border:1px solid var(--line);border-radius:11px;padding:6px 8px;display:flex;align-items:center;gap:7px;margin-bottom:8px;flex-wrap:wrap}.wrap-tools select{min-width:205px}.page-toolbar select,.inline-select,.inline-input{height:35px;border:1px solid var(--line);background:#fff;border-radius:8px;padding:0 9px}.search-inline{height:36px;border:1px solid var(--line);background:#fff;border-radius:8px;display:flex;align-items:center;padding:0 9px;min-width:240px}.search-inline input{border:0;outline:0;min-width:0;flex:1;padding-left:7px}.spacer{flex:1}.primary,.secondary,.danger{height:36px;border-radius:8px;padding:0 11px;font-weight:650}.primary{background:var(--accent);border:1px solid var(--accent);color:#fff}.primary:hover{background:var(--accent2)}.secondary{background:#fff;border:1px solid #cad8d5;color:#44575d}.danger{background:#fff;border:1px solid #e0b7b4;color:var(--red)}.button-row{display:flex;gap:7px;flex-wrap:wrap}.table-card{background:var(--panel);border:1px solid var(--line);border-radius:11px}.table-card.borderless{border:0;border-radius:0}.data-table{min-width:900px}.data-table th{text-align:left;text-transform:uppercase;border-bottom:1px solid var(--line);white-space:nowrap}.data-table td{border-bottom:1px solid #eaf0ee;vertical-align:middle}.data-table tbody tr:hover td{background:#f8fbfa}.entity-main,.resource-cell{display:flex;align-items:center;gap:9px;text-decoration:none;min-width:0}.entity-main.compact .avatar{width:31px;height:31px}.entity-main b,.resource-cell b{display:block}.entity-main small,.resource-cell small,.block{display:block;color:var(--muted);margin-top:1px}.avatar{width:35px;height:35px;border-radius:9px;background:#e0e9e7;color:#51666d;display:grid;place-items:center;font-size:11px;font-weight:850;flex:0 0 auto}.avatar.large{width:51px;height:51px;border-radius:14px;font-size:15px}.avatar.tiny{width:25px;height:25px;border-radius:7px;font-size:9px}.resource-logo{width:35px;height:35px;display:grid;place-items:center;background:#fff;border:1px solid #e0e7e5;border-radius:9px;flex:0 0 35px;overflow:hidden}.resource-logo img{width:23px;height:23px;object-fit:contain}.resource-logo b{color:#566b71}.resource-logo.large{width:51px;height:51px;border-radius:13px;flex-basis:51px}.resource-logo.large img{width:33px;height:33px}.badge{display:inline-flex;align-items:center;padding:4px 8px;border-radius:999px;font-weight:750}.badge.ok{background:var(--greenSoft);color:var(--green)}.badge.warn{background:var(--amberSoft);color:var(--amber)}.badge.neutral{background:#edf2f1;color:#607176}.attention-pill{display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:var(--amberSoft);color:var(--amber);padding:4px 7px;border-radius:999px}.muted{color:#97a4a7}.flag{width:28px;height:28px;padding:0;border:0;background:transparent;color:#a5b0b3;font-size:17px}.flag.on{color:#ae762d}.flag:disabled{opacity:.45}.more{width:29px;height:29px;border:0;background:transparent;font-size:17px}.mini-icon{width:28px;height:28px;padding:0}.password-state{display:flex;align-items:center;gap:4px;white-space:nowrap}.password-state b{color:var(--green)}.password-reveal{font-family:ui-monospace,Consolas,monospace;word-break:break-all;max-width:210px;white-space:normal}.comment-cell{max-width:245px}.comment-preview{width:100%;border:0;background:transparent;text-align:left;padding:4px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#596a70}.comment-preview.wide{white-space:normal;line-height:1.45}.comment-preview:hover{text-decoration:underline dotted;text-underline-offset:3px}.hover-tip{display:none;position:fixed;z-index:190;max-width:390px;background:#26373d;color:#fff;border-radius:9px;padding:8px 10px;box-shadow:var(--shadow);font-size:12.5px;line-height:1.4;pointer-events:none}.hover-tip.show{display:block}.inline-value{border:0;background:transparent;padding:4px 6px;margin:-4px -6px;border-radius:7px;text-align:left}.inline-value:hover{background:#eef4f2}.inline-value i{font-style:normal;opacity:0}.inline-value:hover i{opacity:1}.inline-input{min-width:150px}.entity-hero{background:linear-gradient(135deg,#e9f1ef,#f8faf9);border:1px solid var(--line);border-radius:14px;display:flex;align-items:center;margin-bottom:10px}.entity-copy{flex:1;min-width:0}.entity-copy h1{margin:0 0 3px}.entity-copy p{margin:0;color:var(--muted)}.hero-actions{display:flex;gap:7px}.tabs{display:flex;gap:18px;border-bottom:1px solid var(--line);margin-bottom:12px}.tabs a{text-decoration:none;color:#738287;padding:9px 0 10px}.tabs a.active{color:#32484f;font-weight:750;border-bottom:2px solid #597e88}.tabs a span{color:#87969a}.editable-kv{display:grid;grid-template-columns:155px 1fr;gap:9px 11px;margin:0}.editable-kv dt{color:var(--muted)}.editable-kv dd{margin:0;font-weight:550}.subsection{margin-top:16px;padding-top:14px;border-top:1px solid var(--line)}.subsection h3{margin:0 0 8px}.rcd-access-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.rcd-access-row span{color:var(--muted)}.helper{color:var(--muted);line-height:1.45}.mini-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.mini-metrics>div{background:#f7faf9;border:1px solid var(--line);border-radius:10px;padding:11px}.mini-metrics span{display:block;color:var(--muted);font-size:11px}.mini-metrics b{display:block;font-size:20px;margin-top:2px}.soft-note{margin-top:11px;background:#eef4f2;border:1px solid #d8e4e1;border-radius:10px;padding:10px}.soft-note b,.soft-note span{display:block}.soft-note span{color:#607176;margin-top:3px}.issues-box{margin-top:13px;background:var(--amberSoft);border:1px solid #ead8b7;border-radius:9px;padding:9px 10px;color:#72583a}.issues-box ul{margin:5px 0 0;padding-left:18px}.extra-field{padding:8px 0;border-bottom:1px solid var(--line)}.extra-field span{color:var(--muted);font-size:11px;display:block}.resource-access-panel{margin-top:12px}.count{color:var(--muted);font-weight:500}.link-row{padding:9px 0;border-bottom:1px solid var(--line)}.link-row b{display:block}.link-row span{color:var(--muted)}.card-history{display:flex;flex-direction:column;gap:7px}.revision-row{width:100%;border:1px solid var(--line);background:#f9fbfb;border-radius:9px;padding:9px 10px;display:flex;align-items:center;text-align:left}.revision-row:hover{background:#f1f6f5}.revision-row span{flex:1}.revision-row b,.revision-row small{display:block}.revision-row small{color:var(--muted);font-size:11px;margin-top:2px}.revision-row i{font-size:19px;color:#88989c}.empty-state{padding:18px;color:var(--muted);text-align:center}.structure-actions{display:flex;align-items:center;gap:7px;margin-bottom:8px}.structure-actions p{margin:0;color:var(--muted);font-size:12.5px}.structure-layout{display:grid;grid-template-columns:minmax(330px,.72fr) minmax(520px,1.28fr);gap:12px;min-height:520px}.tree-pane,.preview-pane{background:var(--panel);border:1px solid var(--line);border-radius:12px;overflow:hidden;display:flex;flex-direction:column}.pane-head{height:45px;flex:0 0 45px;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 13px}.pane-head span{margin-left:auto;color:var(--muted);font-size:11px}.tree-scroll,.preview-scroll{overflow:auto;flex:1;padding:7px}.group-line{width:100%;height:36px;border:0;background:transparent;border-radius:8px;display:flex;align-items:center;gap:7px;padding:0 8px;text-align:left}.group-line:hover{background:#f1f6f5}.group-line i{font-style:normal;color:#78888d;width:14px}.group-line span{margin-left:auto;color:var(--muted);font-size:11px}.group-children{display:none;padding-left:17px}.group-children.open{display:block}.tree-resource{min-height:37px;display:flex;align-items:center;gap:8px;border-radius:8px;padding:3px 6px;cursor:pointer}.tree-resource:hover,.tree-resource.selected{background:#eef4f2}.tree-resource .resource-logo{width:28px;height:28px;flex-basis:28px;border-radius:7px}.tree-resource .resource-logo img{width:19px;height:19px}.tree-resource-name{flex:1}.issue-button{width:25px;height:25px;border:0;border-radius:50%;background:var(--amberSoft);color:var(--amber);font-weight:850}.empty-preview{padding:35px;text-align:center;color:var(--muted)}.preview-head{display:flex;align-items:center;gap:10px;margin-bottom:12px}.preview-head h2{font-size:20px;margin:0}.preview-head p{margin:2px 0 0;color:var(--muted);font-size:11px}.preview-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px}.preview-block{border:1px solid var(--line);background:#fafcfc;border-radius:10px;padding:12px}.preview-block h3{font-size:14px;margin:0 0 9px}.preview-kv{display:grid;grid-template-columns:125px 1fr;gap:7px 9px}.preview-kv span:nth-child(odd){color:var(--muted)}.preview-accesses{margin-top:11px;border:1px solid var(--line);border-radius:9px;overflow:hidden}.preview-access{display:grid;grid-template-columns:1fr .65fr 100px;gap:7px;align-items:center;padding:8px 9px;border-bottom:1px solid #eaf0ee}.preview-access:last-child{border-bottom:0}.preview-access small{display:block;color:var(--muted);font-size:10.5px}.issue-popover{display:none;position:fixed;z-index:210;width:min(330px,calc(100vw - 20px));background:#fff;border:1px solid var(--line);border-radius:10px;padding:10px 11px;box-shadow:var(--shadow)}.issue-popover.show{display:block}.issue-popover h4{margin:0 0 6px}.issue-popover ul{margin:0;padding-left:17px}.company-tree{max-width:1050px;background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:9px}.company-root{background:#e6efed;border-radius:9px;padding:12px;font-weight:850;font-size:16px}.company-node{margin:8px 0 8px 17px;border-left:2px solid #dbe5e3;padding-left:13px}.company-head,.manager-head{display:flex;align-items:center;background:#f6faf9;border-radius:8px;padding:8px 9px}.company-head span,.manager-head span{margin-left:auto;color:var(--muted);font-size:11px}.manager-node{margin:6px 0 0 12px}.manager-head{font-size:13px}.people-list{padding:4px 0 0 12px}.company-person{display:flex;align-items:center;gap:8px;text-decoration:none;padding:6px 7px;border-radius:7px}.company-person:hover{background:#f1f6f5}.company-person .avatar{width:29px;height:29px}.company-person b,.company-person small{display:block}.company-person small{color:var(--muted);font-size:11px}.modal{border:0;padding:0;border-radius:13px;box-shadow:0 24px 65px rgba(29,48,54,.25);width:min(760px,94vw)}.modal::backdrop{background:rgba(26,40,44,.35)}.small-modal{width:min(480px,94vw)}.modal-card{background:#fff}.modal-head{display:flex;align-items:center;padding:15px 18px;border-bottom:1px solid var(--line)}.modal-head h3{margin:0;font-size:17px}.modal-head button{margin-left:auto;border:0;background:transparent;font-size:24px}.modal-card>label,.form-grid label{display:flex;flex-direction:column;gap:5px;font-weight:650;color:#53676d}.modal-card>label{margin:15px 18px}.modal-card input,.modal-card select,.modal-card textarea{border:1px solid #c8d5d2;border-radius:8px;padding:8px 9px;background:#fff;min-height:39px}.modal-card textarea{min-height:72px;resize:vertical}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:16px 18px}.span2{grid-column:1/-1}.modal-actions{display:flex;justify-content:flex-end;gap:8px;padding:12px 18px;border-top:1px solid var(--line);background:#f8faf9}.modal-body{padding:16px 18px}.session-info{padding:16px 18px}.session-info p{color:var(--muted)}.toast{position:fixed;right:20px;bottom:20px;z-index:300;background:#2e454d;color:#fff;padding:10px 13px;border-radius:9px;box-shadow:var(--shadow);opacity:0;transform:translateY(14px);pointer-events:none;transition:.18s}.toast.show{opacity:1;transform:none}.toast.error{background:#8d403b}.login-page{min-height:100vh;display:grid;place-items:center;padding:20px;background:linear-gradient(135deg,#edf3f2,#f7faf9)}.login-card{width:min(450px,100%);background:#fbfdfd;border:1px solid var(--line);border-radius:18px;padding:24px;box-shadow:0 20px 50px rgba(43,61,65,.11)}.login-brand{display:flex;align-items:center;gap:11px;margin-bottom:20px}.login-brand img{width:54px;height:54px;border-radius:10px;object-fit:cover}.login-brand b{font-size:20px;display:block}.login-brand span{font-size:12px;color:var(--muted)}.login-card h1{font-size:23px;margin:0 0 6px}.login-card>p{color:var(--muted);margin:0 0 15px}.login-card label{display:flex;flex-direction:column;gap:5px;margin:12px 0;font-weight:650}.login-card input,.login-card select{height:43px;border:1px solid #cad7d4;border-radius:9px;background:#fff;padding:0 10px}.login-submit{width:100%;height:43px;margin-top:6px}.login-note{margin-top:13px;padding:9px 10px;border-radius:9px;background:#f5f1e9;color:#735f42;font-size:12px}.form-error{color:var(--red);font-size:13px;margin:6px 0}.review-status-pill{background:var(--amberSoft);color:var(--amber);padding:6px 9px;border-radius:999px}.review-summary{display:flex;gap:14px;background:#f5f8f7;padding:10px;border-radius:9px}.review-items{display:flex;flex-direction:column;gap:8px}.review-item{border:1px solid var(--line);border-left:4px solid #78959c;border-radius:9px;padding:12px;display:grid;grid-template-columns:1fr 190px;gap:10px}.review-item.state-accepted,.review-item.state-applied{border-left-color:#4b8c70}.review-item.state-rejected{border-left-color:#b65651}.review-item.state-clarify{border-left-color:#cf8d37;background:#fffaf2}.compare{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.compare>div{background:#f6f9f8;border-radius:7px;padding:8px}.compare small{display:block;color:var(--muted);font-size:10px}.review-item-actions{display:flex;flex-direction:column;gap:6px}.review-item-actions button{height:33px;border:1px solid var(--line);border-radius:7px;background:#fff}.review-footer{display:flex;justify-content:flex-end;gap:7px;margin:13px 0}.path-cell{font-size:11px}.top-gap{margin-top:13px}
@media(max-width:1050px){.metrics{grid-template-columns:repeat(2,1fr)}.two-col,.preview-grid{grid-template-columns:1fr}.structure-layout{grid-template-columns:1fr;height:auto}.tree-pane{height:48vh}.preview-pane{height:60vh}.form-grid{grid-template-columns:1fr}.span2{grid-column:auto}.review-item{grid-template-columns:1fr}}
@media(max-width:760px){.sidebar{display:none}.topbar{padding:0 11px}.content{padding:13px 10px 35px}.top-title span{display:none}.global-search.open{position:absolute;left:9px;right:9px;top:9px;width:auto;z-index:4}.user-chip{width:39px;padding:0;justify-content:center}.user-chip>span:last-child{display:none}.metrics{grid-template-columns:1fr 1fr}.entity-hero{align-items:flex-start;flex-wrap:wrap}.hero-actions{width:100%}.tabs{overflow:auto}.page-toolbar{align-items:stretch}.page-toolbar>*{min-width:0}.page-toolbar select,.search-inline{flex:1 1 180px}.editable-kv{grid-template-columns:115px 1fr}.mini-metrics{grid-template-columns:1fr}.structure-actions p{display:none}.preview-access{grid-template-columns:1fr}.preview-access>*:not(:first-child){display:none}}.inline-editor{width:min(360px,100%);min-height:36px;max-height:84px;border:1px solid #94aaa7;border-radius:8px;background:#fff;padding:7px 8px;resize:none;overflow:auto;outline:0}.inline-editor:focus{box-shadow:0 0 0 3px #e5eeec}.lifecycle{padding:10px;border-radius:9px;background:#f5f8f7}.simple-page{max-width:1400px;margin:0 auto}.crumb{margin-bottom:10px}.crumb a{text-decoration:none;color:#557884}.page-title-row{display:flex;align-items:flex-start;gap:12px;margin-bottom:12px}.page-title-row>div:first-child{flex:1}.page-title-row h1{font-size:22px;margin:0}.page-title-row p{margin:3px 0 0;color:var(--muted)}.info-card{background:var(--panel);border:1px solid var(--line);border-radius:var(--r);padding:14px;margin-top:12px}.info-card h2{font-size:16px;margin:0 0 10px}.clean-table{width:100%;border-collapse:collapse}.clean-table th{text-align:left;background:#f6faf9;color:#75858a;padding:9px;font-size:10.5px;text-transform:uppercase}.clean-table td{padding:9px;border-bottom:1px solid var(--line)}.buttonlike{display:inline-flex;align-items:center;text-decoration:none}.review-type{text-transform:uppercase;letter-spacing:.06em;color:#71848a;font-weight:850}.review-item h3{margin:4px 0 8px;font-size:15px}.question-box{margin-top:8px;padding:8px;border-radius:8px;background:#fff2da;color:#765b34}.state-label{text-align:center;color:var(--muted);font-size:11px}.conflict-text{color:#b87424}.tabs-inline{display:flex;gap:13px;padding:13px 18px 0}.tabs-inline label{display:flex;align-items:center;gap:5px}.path-cell{max-width:450px;word-break:break-all}.extra-field:last-of-type{margin-bottom:10px}

.extra-fields{margin-top:12px;padding-top:10px;border-top:1px solid var(--line)}
.extra-pair{display:grid;grid-template-columns:minmax(110px,.8fr) 1.2fr;gap:8px;padding:5px 0}
.extra-pair span{color:var(--muted);font-size:12px}.extra-pair b{font-weight:600;word-break:break-word}
.preview-comment{line-height:1.45;white-space:pre-wrap;word-break:break-word}
.soft-details{margin-top:12px;border:1px solid var(--line);border-radius:11px;background:var(--panel)}
.soft-details summary{padding:11px 12px;cursor:pointer;font-weight:700}.soft-details[open] summary{border-bottom:1px solid var(--line)}
.preview-links{padding:5px 10px}.preview-link{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center;padding:8px 3px;border-bottom:1px solid var(--line-soft)}
.preview-link:last-child{border-bottom:0}.preview-link small{display:block;color:var(--muted);margin-top:2px}.top-page-actions:empty{display:none}.top-page-actions:empty+.top-tools{margin-left:auto}.top-filter{height:38px;border:1px solid var(--line);border-radius:9px;background:#fff;padding:0 10px;min-width:155px}.compact-button{height:38px;padding:0 13px}
.content{padding:19px 30px 44px}.dashboard-main{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}.dashboard-main>.panel{min-height:330px}.dashboard-main .attention-list{padding:11px 14px}.dashboard-main .attention-row{padding:12px 6px}.panel-head{padding:14px 17px}.panel-head h2{font-size:18px}
.data-table th{position:sticky;top:0;z-index:4;padding:12px 12px;background:#e6eeec;color:#465e65;font-weight:800;letter-spacing:.025em}.data-table td{padding:11px 12px}.employees-table .data-table{min-width:1200px}.employees-table .comment-cell{min-width:190px;max-width:290px}.role-select{min-width:132px}
.state-pill{display:inline-flex;padding:4px 8px;border-radius:999px;font-size:11.5px;font-weight:760;white-space:nowrap}.state-ok{background:var(--greenSoft);color:var(--green)}.state-amber{background:var(--amberSoft);color:var(--amber)}.state-red{background:var(--redSoft);color:var(--red)}.state-blue{background:var(--blueSoft);color:var(--blue)}
.created-card-banner{padding:12px 14px;border:1px solid #c8dfd2;background:#f1f8f4;border-radius:11px;margin-bottom:14px}.created-card-banner b{display:block;color:#2f7251;font-size:15px}.created-card-banner span{display:block;color:var(--muted);font-size:12px;margin-top:3px;word-break:break-word}
.handoff-box{margin-top:15px;padding:13px 14px;border:1px solid var(--line);border-radius:11px;background:#f9fbfb}.handoff-title{font-weight:800;margin-bottom:9px}.handoff-row{display:grid;grid-template-columns:125px minmax(0,1fr) auto;gap:8px;align-items:center;padding:6px 0}.handoff-row>span:first-child{color:var(--muted);font-size:12px}.handoff-row>b{font-weight:600;word-break:break-all}.handoff-help{margin:9px 0 11px;color:var(--muted);font-size:12px;line-height:1.45}
.lifecycle{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:14px;color:var(--muted);font-size:12px}.lifecycle span{padding:4px 7px;border-radius:999px;background:#edf2f1;color:#5e7075}.lifecycle i{font-style:normal;color:#a1adaf}
.shutdown-screen{position:fixed;inset:0;background:#edf3f2;display:grid;place-items:center;padding:20px}.shutdown-screen>div{background:#fff;border:1px solid var(--line);border-radius:16px;padding:25px;max-width:470px;box-shadow:var(--shadow);text-align:center}.shutdown-screen b{display:block;font-size:22px}.shutdown-screen span{display:block;color:var(--muted);margin-top:7px}
@media(max-width:900px){.content{padding-left:18px;padding-right:18px}.top-title b{font-size:22px}.dashboard-main{grid-template-columns:1fr}}
@media(max-width:650px){.top-page-actions .compact-button{display:none}.top-filter{min-width:120px}.handoff-row{grid-template-columns:1fr auto}.handoff-row>span:first-child{grid-column:1/-1}}.content{padding-top:20px}
.data-table th{padding-top:12px;padding-bottom:12px}.entity-main small,.resource-cell small,.block,.panel-head p,.helper,.attention-row small,.activity-row small{font-size:13px}
.version-chip{width:100%;border:0;background:transparent;color:#839195;padding:7px 2px 0;text-align:center}.version-chip:hover{color:#4f6971}.version-kv{padding:6px 2px 2px}.path-value{word-break:break-all;font-family:Consolas,monospace;font-size:12px}
.employee-overview-grid{display:grid;grid-template-columns:minmax(520px,1.2fr) minmax(340px,.8fr);gap:13px}.employee-kv{grid-template-columns:165px 1fr}.employee-overview-value{max-width:100%;white-space:normal;text-align:left}.overview-actions{display:flex;gap:8px;margin-top:14px}.employee-hero{position:relative}
.resource-top{align-items:start}.resource-extra-panel{align-self:start;min-height:0}.resource-extra-panel .extra-field{display:flex;align-items:center;gap:12px}.resource-extra-panel .extra-field>span{min-width:135px}.resource-extra-panel .extra-field>div{display:flex;align-items:center;gap:6px;flex:1}.resource-extra-panel .extra-field b{flex:1;word-break:break-word}.hidden{display:none!important}
.assignment-modal{width:min(1440px,calc(100vw - 28px));max-width:none}.assignment-card{width:100%;max-height:92vh}.assignment-card .modal-head p{margin:3px 0 0;color:var(--muted)}.assignment-body{padding:12px 16px;overflow:auto;min-height:55vh}.assignment-tools{display:grid;grid-template-columns:minmax(280px,1.4fr) minmax(170px,.7fr) minmax(170px,.7fr);gap:8px;position:sticky;top:0;background:#fff;padding-bottom:10px;z-index:3}.assignment-tools select{height:38px;border:1px solid var(--line);border-radius:9px;background:#fff;padding:0 9px}.assignment-search{min-width:0;margin:0}.assignment-legend{display:flex;gap:18px;flex-wrap:wrap;color:var(--muted);margin-bottom:10px}.legend-dot{width:10px;height:10px;border-radius:50%;display:inline-block;margin-right:5px}.legend-dot.current{background:#6ca17c}.legend-dot.added{background:#d59a43}.legend-dot.removed{background:#c8635c}
.assignment-catalog{display:flex;flex-direction:column;gap:13px}.assignment-group{border:1px solid var(--line);border-radius:11px;background:#fbfdfd;overflow:hidden}.assignment-group h4{margin:0;padding:9px 12px;background:#edf3f1;font-size:14px}.assignment-options-grid{display:grid;grid-template-columns:repeat(3,minmax(250px,1fr));gap:0}.assignment-option{display:grid;grid-template-columns:28px 1fr;align-items:center;gap:8px;min-height:69px;padding:9px 11px;border-right:1px solid #e7eeec;border-bottom:1px solid #e7eeec;cursor:pointer;background:#fff}.assignment-option:hover{filter:brightness(.985)}.assignment-option.current{background:#eaf5ee}.assignment-option.added{background:#fff2dc}.assignment-option.removed{background:#fae9e7}.assignment-option input{width:18px;height:18px}.assignment-option b{display:block;font-size:15px}.assignment-option small{display:block;color:var(--muted);font-size:12.5px;margin-top:1px}.assignment-option em{display:block;color:#65777c;font-size:12px;font-style:normal;margin-top:3px}.assignment-footer{padding:10px 16px;border-top:1px solid var(--line);display:flex;align-items:center;gap:8px}.assignment-summary{margin-right:auto;font-weight:750;color:#536970}
.new-access-details{padding:12px 16px;overflow:auto}.new-access-row{border:1px solid var(--line);border-radius:11px;margin-bottom:10px;overflow:hidden}.new-access-title{background:#edf3f1;padding:9px 11px}.new-access-title b,.new-access-title span{display:block}.new-access-title span{color:var(--muted)}.new-access-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;padding:11px}.new-access-grid label{font-weight:700;color:#607278}.new-access-grid input,.new-access-grid select{width:100%;margin-top:3px;border:1px solid var(--line);border-radius:8px;background:#fff;padding:0 8px}
@media(max-width:1100px){.assignment-options-grid{grid-template-columns:repeat(2,minmax(240px,1fr))}.employee-overview-grid{grid-template-columns:1fr}.new-access-grid{grid-template-columns:1fr 1fr}}
@media(max-width:720px){html,body{font-size:16px}.top-title b{font-size:23px}.assignment-tools{grid-template-columns:1fr}.assignment-options-grid{grid-template-columns:1fr}.assignment-body{padding:9px}.new-access-grid{grid-template-columns:1fr}.employee-kv{grid-template-columns:125px 1fr}}
.app-brand span{font-size:14px}.vault-widget b{font-size:14px}.vault-widget small{font-size:13px}.top-title span{font-size:14px}.user-chip>span:last-child{font-size:14px}
.section-title{font-size:18px}.section-title small{font-size:14px}.attention-row b{font-size:15px}.attention-row small,.activity-row small{font-size:14px}.helper{font-size:14px}.soft-note span{font-size:14px}.link-row span{font-size:14px}
.entity-main small,.resource-cell small,.block{font-size:14px}.resource-logo b{font-size:12px}.badge{font-size:13px}.attention-pill{font-size:13px;max-width:230px}.password-state b{font-size:15px}.comment-preview{font-size:16px}
.entity-copy h1{font-size:25px}.entity-copy p{font-size:15px}.tabs a{font-size:16px}.editable-kv dt,.editable-kv dd{font-size:16px}.subsection h3{font-size:16px}.rcd-access-row span{font-size:14px}
.data-table th{font-size:14px}.data-table td{font-size:16px}.top-title b{font-size:28px}.page-toolbar select,.inline-select,.inline-input{font-size:16px}
.entity-hero{gap:14px;padding:14px 16px}.hero-metrics{display:flex;align-items:stretch;gap:7px;margin-left:auto}.hero-metrics>div{min-width:118px;background:rgba(255,255,255,.7);border:1px solid #d8e3e1;border-radius:9px;padding:7px 10px}.hero-metrics span{display:block;color:var(--muted);font-size:13px}.hero-metrics b{display:block;font-size:16px;margin-top:1px;white-space:nowrap}.compact-hero-metrics>div{min-width:145px}
.entity-tabs-with-action{align-items:center}.tabs-primary-action{margin-left:auto;margin-bottom:7px;height:38px;border:1px solid var(--accent);border-radius:8px;background:var(--accent);color:#fff;padding:0 14px;font-weight:750;box-shadow:0 2px 7px rgba(78,115,128,.12)}.tabs-primary-action:hover{background:var(--accent2);border-color:var(--accent2)}
.entity-overview-panel{margin-bottom:12px}.entity-field-columns{display:grid;grid-template-columns:1fr 1fr;gap:24px}.entity-field-columns .editable-kv{grid-template-columns:160px minmax(0,1fr)}.multiline-value{white-space:normal;text-align:left;line-height:1.35}.relationship-panel{margin-top:12px}.relationship-panel .panel-head{min-height:54px}
.resource-extra-compact{margin-top:14px;padding-top:12px;border-top:1px solid var(--line)}.compact-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:7px}.extra-field-row{display:grid;grid-template-columns:180px minmax(0,1fr);gap:12px;align-items:center;padding:7px 0;border-bottom:1px solid #edf1f0}.extra-field-row>span{color:var(--muted)}.extra-field-row>div{display:flex;align-items:center;gap:6px}.extra-field-row>div b{flex:1}.extra-field-row.comment-row{align-items:start}.extra-empty-row{padding:4px 0}.muted-action{color:var(--muted)}
.sort-head{border:0;background:transparent;padding:0;color:inherit;font-weight:800;text-transform:uppercase;letter-spacing:.025em}.sort-head i{font-style:normal;color:#8a989c;margin-left:3px}.sort-head.active{color:#334d55}.sort-head.active i{color:var(--accent)}
.access-open{font-size:24px;color:#58747c}.access-registry .inline-value.compact-value{max-width:190px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.management-head{display:flex;align-items:center;gap:18px;margin-bottom:10px}.management-head>div{flex:1}.management-head h2{margin:0 0 3px;font-size:20px}.management-head p{margin:0;color:var(--muted);font-size:15px}.view-switch{display:flex;background:#edf3f1;border:1px solid var(--line);border-radius:9px;padding:3px}.view-switch a{text-decoration:none;padding:7px 11px;border-radius:7px;color:#62747a}.view-switch a.active{background:#fff;color:#304950;font-weight:750;box-shadow:0 1px 3px rgba(32,55,62,.08)}.management-filters select{min-width:170px}.management-table .data-table{min-width:1150px}.role-stack{display:flex;flex-direction:column;align-items:flex-start;gap:4px}.role-person,.role-resource{display:inline-flex;text-decoration:none;border-radius:7px;padding:4px 7px;line-height:1.25;font-size:14px}.role-person.owner,.role-resource.owner{background:#fff0d8;color:#815926}.role-person.admin,.role-resource.admin{background:#e8f0f7;color:#476780}.role-person.user,.role-resource.user{background:#edf4f1;color:#4f6f60}.management-responsible{font-weight:650}.resource-roles{max-width:340px}
.relation-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}.relation-card{display:flex;align-items:center;gap:10px;text-decoration:none;background:var(--panel);border:1px solid var(--line);border-radius:11px;padding:11px 13px}.relation-card>div{flex:1}.relation-card small{display:block;color:var(--muted);font-size:14px}.relation-card b{display:block;font-size:16px}.relation-card>i{font-style:normal;font-size:24px;color:#70868d}.entity-extra-row{display:grid;grid-template-columns:160px minmax(0,1fr);gap:12px;align-items:start;margin-top:10px;padding-top:10px;border-top:1px solid var(--line)}.entity-extra-row>span{color:var(--muted)}
.version-chip{font-size:13px}
@media(max-width:1180px){.hero-metrics>div{min-width:105px}.entity-field-columns{gap:14px}.management-table{overflow:auto}}
@media(max-width:900px){.entity-hero{flex-wrap:wrap}.hero-metrics{order:3;width:100%;margin-left:0}.hero-actions{margin-left:auto}.entity-field-columns{grid-template-columns:1fr}.entity-tabs-with-action{flex-wrap:wrap}.tabs-primary-action{margin-left:auto}.management-head{align-items:flex-start;flex-direction:column}.relation-grid{grid-template-columns:1fr}}
@media(max-width:650px){.hero-metrics{display:grid;grid-template-columns:repeat(3,1fr)}.hero-metrics>div{min-width:0}.tabs{gap:13px;overflow-x:auto}.tabs-primary-action{position:sticky;right:0;flex:0 0 auto}.entity-field-columns .editable-kv{grid-template-columns:125px minmax(0,1fr)}.extra-field-row{grid-template-columns:1fr;gap:3px}.top-title b{font-size:24px}.management-filters{align-items:stretch}.management-filters .search-inline,.management-filters select{width:100%}}

/* Readability floor for secondary UI text */
.form-grid label,.modal-card>label,.modal-head p,.session-info p,.handoff-help,.created-card-banner span,.lifecycle,.extra-field span,.version-kv,.resource-comment,.soft-note,.helper,.activity-row small,.attention-row small{font-size:14px}
.table-card small,.panel small,.entity-copy small{font-size:14px}
.top-title{display:none}.top-page-actions{margin-left:0}.top-tools{margin-left:auto}.topbar{height:54px;flex-basis:54px}
.side-nav>a{font-size:17.5px;min-height:45px;height:auto;padding-top:9px;padding-bottom:9px;gap:11px}.side-nav>a i{width:23px;font-size:22px;line-height:1}.side-nav>a.active{font-size:18.5px;font-weight:800;background:#d7e4e1;box-shadow:inset 3px 0 0 var(--accent)}.nav-label{font-size:13px}
.vault-widget.closed{background:#edf3f8;border-color:#bfd0dc;box-shadow:inset 0 0 0 1px rgba(78,111,146,.04)}.vault-widget.closed:hover{background:#f4f8fb}.vault-widget.closed b{color:#49677b}.vault-widget.closed small{color:#6f8490}.vault-widget.closed .vault-icon-bg{fill:#e5eef5;stroke:#bfd0dc}.vault-widget.closed .vault-body{fill:#557990}.vault-widget.closed .vault-shackle{stroke:#557990}
.tabs-back-action{height:38px;margin-bottom:7px;border:1px solid #cbd8d5;background:#fff;color:#4a5f65;border-radius:8px;padding:0 12px;font-weight:700}.tabs-back-action:hover{background:#f5f8f7}
.inline-value i{font-size:15px;color:#7c9197}.inline-editor-wrap{display:inline-flex;align-items:flex-start;gap:5px;max-width:100%;padding:3px;border:1px solid transparent;border-radius:9px;background:#fff}.inline-editor-wrap .inline-editor{min-width:220px;max-width:min(520px,55vw);height:36px;min-height:36px;border:1px solid #9db3b9;border-radius:7px;background:#fff;padding:6px 8px;outline:0;resize:vertical}.inline-editor-wrap.unsaved-field{background:#eaf3fb;border-color:#8bb2d1;box-shadow:0 0 0 2px rgba(86,137,178,.08)}.inline-editor-save,.inline-editor-cancel{width:34px;height:34px;border-radius:7px;border:1px solid #cbd8d5;background:#fff;font-weight:800}.inline-editor-save{color:#2e7255}.inline-editor-cancel{color:#8a5b58}.unsaved-field:not(.inline-editor-wrap){background:#eaf3fb!important;border-color:#8bb2d1!important;box-shadow:0 0 0 2px rgba(86,137,178,.08)!important}
.three-actions{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px}.secondary-danger{color:var(--red);border-color:#e0b7b4}
.modal-head-actions{display:flex;align-items:center;gap:8px;margin-left:auto}.modal-head-actions .primary{height:38px}.modal-head-actions .icon-button{font-size:21px}
.new-access-title span{font-size:15px}.new-access-grid label{font-size:15px}.new-access-grid input,.new-access-grid select{font-size:16px;height:40px}.assignment-card .modal-head p{font-size:15px}.assignment-option small,.assignment-option em{font-size:14px}.assignment-legend{font-size:14px}
.email-warning{display:flex;flex-direction:column;gap:3px;margin-bottom:12px;padding:11px 13px;border:1px solid #e5bd7d;border-radius:10px;background:#fff4df;color:#79551f}.email-warning b{font-size:15px}.email-warning span{font-size:14px}
.review-control{display:flex;align-items:center;gap:18px;margin-bottom:10px}.review-control-copy{flex:1}.review-control-copy h2{margin:0 0 4px;font-size:21px}.review-control-copy p{margin:0;color:var(--muted);font-size:15px}.review-create-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.review-create-tools select{height:40px;min-width:310px;border:1px solid var(--line);border-radius:9px;background:#fff;padding:0 10px;font-size:16px}.review-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px}.danger-link{height:36px;border:1px solid #e1b7b4;border-radius:8px;background:#fff;color:var(--red);padding:0 10px;font-weight:650}.archived-review{opacity:.62}.review-toolbar{background:transparent;border:0;padding-left:0;padding-right:0}.form-grid input,.form-grid select,.form-grid textarea,.modal-card>label input,.modal-card>label textarea{font-size:16px}.form-grid label,.modal-card>label{font-size:15px}
@media(max-width:800px){.top-title{display:flex}.top-title b{font-size:20px}.top-title span{display:none}.review-control{align-items:stretch;flex-direction:column}.review-create-tools{align-items:stretch}.review-create-tools select{min-width:0;width:100%}.three-actions{grid-template-columns:1fr}.side-nav>a{font-size:17px}.side-nav>a.active{font-size:18px}}
small,.metric span,.metric small,.panel-head p,.attention-row small,.activity-row small,.entity-main small,.resource-cell small,.created-card-banner span,.handoff-row>span:first-child,.handoff-help,.lifecycle,.extra-pair span,.compare small,.state-label,.path-cell{font-size:14px!important}.review-type{font-size:13px}.review-title-actions{display:flex;align-items:center;gap:8px}.top-page-actions{display:flex;align-items:center;gap:8px}
.review-create-tools{grid-template-columns:minmax(260px,1fr) auto auto auto}.review-create-tools button:disabled{opacity:.45;cursor:not-allowed}
.review-tabs{margin:4px 0 10px}.review-tabs .tabs-back-link{margin-left:0}
.review-summary-with-card{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.review-card-password{display:inline-flex;align-items:center;gap:6px;margin-left:auto}.review-card-password>b{font-size:14px;color:var(--muted)}.review-card-password>span{min-width:78px;font-weight:700}
.review-history-table{min-width:1120px}.review-history-table .path-cell{max-width:360px}
.management-filters select[name="emp_id"]{min-width:230px}
.form-grid input[list]{background-color:#fff}
@media(max-width:900px){.review-create-tools{grid-template-columns:1fr 1fr}.review-card-password{margin-left:0}.management-filters select[name="emp_id"]{width:100%;min-width:0}}
@media(max-width:650px){.review-create-tools{grid-template-columns:1fr}.review-history-table{min-width:980px}}
.metrics{grid-template-columns:repeat(4,minmax(0,1fr));width:100%}.metric{min-width:0}.dashboard-main{width:100%}.dashboard-activity-list{width:100%}.dashboard-activity-row{display:grid;grid-template-columns:8px minmax(210px,1fr) minmax(140px,.55fr) 170px;align-items:center;gap:12px;padding:12px 16px}.dashboard-activity-row>i{margin-top:0}.dashboard-activity-row>b{min-width:0}.dashboard-activity-row .activity-actor{color:var(--muted);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dashboard-activity-row time{color:var(--muted);text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.hello-unlock-block{padding:0 18px 16px}.hello-or{font-size:14px}.hello-button{width:100%;min-height:56px;border:1px solid #a9c5d4;background:#eef6fa;border-radius:10px;display:flex;align-items:center;gap:11px;padding:9px 12px;color:#294b5a;text-align:left}.hello-button:hover{background:#e4f1f7;border-color:#88b3c8}.hello-fingerprint{width:36px;height:36px;border-radius:10px;background:#d9ebf3;display:grid;place-items:center;font-size:23px;font-weight:800}.hello-button b,.hello-button small{display:block}.hello-button b{font-size:15px}.hello-button small{font-size:14px;color:#607983;margin-top:1px}.hello-security-note,.hello-security-copy{font-size:14px;color:var(--muted);line-height:1.45}.hello-security-note{margin-top:9px}.hello-settings-status{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:10px;padding:11px 12px;background:#f7faf9}.hello-settings-status.configured{background:#edf7f1;border-color:#cce2d4}.hello-settings-status.not-configured{background:#f2f6f8;border-color:#d3e0e6}.hello-settings-icon{width:38px;height:38px;border-radius:10px;background:#dfecef;display:grid;place-items:center;font-size:24px}.hello-settings-status b,.hello-settings-status small{display:block}.hello-settings-status b{font-size:16px}.hello-settings-status small{font-size:14px;color:var(--muted);margin-top:2px}.hello-security-copy{margin:12px 0 0}.button-row button:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:1050px){.dashboard-activity-row{grid-template-columns:8px minmax(180px,1fr) 150px}.dashboard-activity-row .activity-actor{display:none}}
@media(max-width:760px){.dashboard-activity-row{grid-template-columns:8px 1fr;gap:8px}.dashboard-activity-row time{grid-column:2;text-align:left;font-size:14px}.metrics{grid-template-columns:1fr 1fr}}
.topbar{position:sticky;top:0;z-index:80;box-shadow:0 1px 0 rgba(60,80,86,.04)}
.data-table thead th{position:sticky;top:0;z-index:8}
.dashboard-activity-row .activity-action{font-weight:400;color:var(--text);min-width:0}
.dashboard-activity-row>b{font-weight:400}
.employee-live-search{height:38px;display:flex;align-items:center;border:1px solid var(--line);background:#fff;border-radius:9px;overflow:hidden;min-width:280px;margin-left:6px}
.employee-live-search input{height:100%;flex:1;min-width:0;border:0;outline:0;padding:0 10px;background:transparent}
.employee-live-search .icon-button{border:0;border-left:1px solid var(--line);border-radius:0;width:42px;height:100%;background:#f7faf9;font-size:19px}
.copyable-field{display:inline-flex;align-items:center;gap:6px;max-width:100%}
.copyable-field .inline-value{min-width:0}
.review-create-tools-v9{display:grid;grid-template-columns:minmax(300px,1.2fr) auto auto auto;gap:9px;align-items:center;width:100%}
.review-create-tools-v9 #reviewRevisionSelect{grid-column:1/2}
.review-create-tools-v9 #reviewRevisionOpen,.review-create-tools-v9 #reviewRevisionPassword,.review-create-tools-v9 #reviewRevisionSend{grid-row:2}
.review-create-tools-v9 #reviewRevisionSend{background:#fff;border-color:#9fb8b2;color:#385d55}
.dialog-field{display:flex;flex-direction:column;gap:6px;font-weight:700;color:#53676d}.dialog-field input{width:100%;height:42px;border:1px solid #c8d5d2;border-radius:9px;padding:0 10px}
.delivery-security-note{margin-top:11px;padding:9px 10px;border-radius:9px;background:#f5f1e9;color:#735f42;font-size:14px;line-height:1.45}
.settings-divider{border:0;border-top:1px solid var(--line);margin:17px 0}
.hello-diagnostics-box{margin-top:14px;padding:11px;border:1px solid var(--line);border-radius:10px;background:#f8fbfa}.hello-diagnostics-box>div{margin-top:9px;color:var(--muted);font-size:14px;line-height:1.55}
.login-hello-button{width:100%;margin-top:4px}.login-hello-button:disabled{opacity:.48;cursor:not-allowed}.login-hello-hint{margin-top:7px;color:var(--muted);font-size:14px}.hello-or{display:flex;align-items:center;gap:10px;margin:14px 0 10px;color:var(--muted)}.hello-or:before,.hello-or:after{content:"";height:1px;background:var(--line);flex:1}
.hello-button.not-configured{opacity:.72}
@media(max-width:1100px){.employee-live-search{min-width:220px}.review-create-tools-v9{grid-template-columns:1fr 1fr}.review-create-tools-v9 #reviewRevisionSelect{grid-column:1/-1}.review-create-tools-v9 #reviewRevisionOpen,.review-create-tools-v9 #reviewRevisionPassword,.review-create-tools-v9 #reviewRevisionSend{grid-row:auto}}
@media(max-width:760px){.employee-live-search{width:100%;min-width:0;order:3}.review-create-tools-v9{grid-template-columns:1fr}.review-create-tools-v9 #reviewRevisionSelect{grid-column:auto}}
.session-hello-button{margin-top:10px;width:100%}
.reference-combo-popup{position:fixed;z-index:1300;max-height:300px;overflow:auto;padding:5px;background:#fff;border:1px solid #bccdca;border-radius:10px;box-shadow:0 12px 28px rgba(28,50,56,.16)}
.reference-combo-option{display:block;width:100%;min-height:36px;padding:7px 10px;border:0;border-radius:7px;background:transparent;text-align:left;font:inherit;color:var(--text);cursor:pointer}
.reference-combo-option:hover,.reference-combo-option:focus{background:#eaf2f1;outline:0}
.responsible-input{min-width:220px}
.review-control-v12{display:grid;grid-template-columns:1fr;align-items:stretch;gap:14px;margin-bottom:10px}
.review-control-v12 .review-control-copy{display:flex;align-items:baseline;gap:18px;min-width:0}
.review-control-v12 .review-control-copy h2{flex:0 0 auto;margin:0;font-size:22px;white-space:nowrap}
.review-control-v12 .review-control-copy p{margin:0;max-width:none;line-height:1.45;font-size:16px;color:var(--muted)}
.review-create-tools-v12{display:grid;grid-template-columns:minmax(220px,300px) minmax(300px,1fr) auto auto auto;gap:8px;align-items:center;width:100%}
.review-create-tools-v12 select{min-width:0;width:100%;height:42px}
.review-employee-search{position:relative;min-width:0}
.review-employee-search input{width:100%;height:42px;border:1px solid var(--line);border-radius:9px;background:#fff;padding:0 42px 0 12px;font-size:16px;color:var(--text)}
.review-employee-search span{position:absolute;right:13px;top:50%;transform:translateY(-50%);font-size:20px;color:var(--muted);pointer-events:none}
.review-create-tools-v12 button{white-space:nowrap}
@media(max-width:1180px){
 .review-create-tools-v12{grid-template-columns:minmax(200px,280px) minmax(280px,1fr) auto auto}
 .review-create-tools-v12 #reviewEmployeeCardButton{grid-column:3}
 .review-create-tools-v12 .primary{grid-column:4}
 .review-create-tools-v12>button:nth-of-type(3){grid-column:4}
}
@media(max-width:900px){
 .review-control-v12 .review-control-copy{display:block}
 .review-control-v12 .review-control-copy h2{margin-bottom:5px}
 .review-create-tools-v12{grid-template-columns:1fr 1fr}
 .review-create-tools-v12 .review-employee-search,.review-create-tools-v12 #reviewEmployeeSelect{grid-column:auto}
 .review-create-tools-v12 button{width:100%}
}
@media(max-width:650px){
 .review-create-tools-v12{grid-template-columns:1fr}
 .review-create-tools-v12>*{grid-column:1!important}
}
.review-create-tools-v13{display:grid;grid-template-columns:minmax(360px,1fr) auto auto auto;gap:8px;align-items:center;width:100%}
.review-create-tools-v13 .review-employee-combobox{min-width:0}
.review-create-tools-v13 button{white-space:nowrap}
.review-employee-popup .reference-combo-option{display:flex;flex-direction:column;gap:2px}
.review-employee-popup .reference-combo-option small{font-size:13px;color:var(--muted);font-weight:400}
@media(max-width:1000px){
 .review-create-tools-v13{grid-template-columns:1fr 1fr}
 .review-create-tools-v13 .review-employee-combobox{grid-column:1 / -1}
 .review-create-tools-v13 button{width:100%}
}
@media(max-width:650px){
 .review-create-tools-v13{grid-template-columns:1fr}
 .review-create-tools-v13>*{grid-column:1!important}
}
.resources-page{position:relative}
.resource-toolbar{position:sticky;top:0;z-index:24;box-shadow:0 4px 12px rgba(38,55,61,.05)}.resources-table thead th{z-index:18}
.resources-table .flag.on{color:var(--red);border-color:#d9aaa6;background:var(--redSoft)}
.flag-sort-col{width:48px}
.flag-sort-button{display:inline-flex;align-items:center;gap:4px;border:0;background:transparent;color:#7b8a8f;font-weight:800;padding:2px 4px;border-radius:6px}
.flag-sort-button:hover,.flag-sort-button.active{background:#eef4f2;color:var(--text)}
.flag-sort-button span{font-size:17px;line-height:1}
.flag-sort-button i{font-style:normal;font-size:12px}
.resources-table .resource-row.flagged-resource td:first-child{box-shadow:inset 4px 0 0 var(--red)}
.resources-table .resource-row.flagged-resource:hover td{background:#fff8f7}
.invalid-reference{border-color:var(--red)!important;box-shadow:0 0 0 2px rgba(162,76,71,.10)!important}
.employee-dismissed{opacity:.48;filter:saturate(.55)}
.employee-dismissed:hover{opacity:.72}
.employee-dismissed-card{opacity:.72;filter:saturate(.7)}
.dismissed-badge{display:inline-flex;align-items:center;margin-left:8px;padding:3px 8px;border-radius:999px;background:#edf0f0;color:#718086;font-size:13px;font-weight:700;vertical-align:middle}
.company-tree-v14 .company-person-row{display:flex;align-items:center;gap:8px}
.company-tree-v14 .company-person-row .company-person{flex:1;min-width:0}
.company-person-menu{width:34px;height:34px;border:1px solid transparent;background:transparent;border-radius:8px;color:var(--muted);font-weight:800}
.company-person-menu:hover{background:#fff;border-color:var(--line);color:var(--text)}
.dismissed-company-block{margin:10px 14px 14px;border:1px solid #e1e7e6;border-radius:10px;background:#f6f8f8}
.dismissed-company-block summary{cursor:pointer;padding:10px 12px;color:#78878b;font-weight:750;list-style:none}
.dismissed-company-block summary::-webkit-details-marker{display:none}
.dismissed-company-block summary:before{content:'▸';display:inline-block;margin-right:7px;transition:.15s}
.dismissed-company-block[open] summary:before{transform:rotate(90deg)}
.dismissed-company-list{display:grid;gap:4px;padding:0 10px 10px}
.dismissed-company-list .company-person{border-radius:8px}
@media(max-width:760px){
 .resource-toolbar{top:0}
 .resources-table thead th{top:var(--resource-toolbar-sticky-height,102px)}
}

@media(max-width:1100px){.resources-table{overflow:auto}.resources-table thead th{top:0}}
.autosave-editor .inline-editor{min-width:220px}.saving-field{opacity:.72}.save-error-field .inline-editor{border-color:var(--red)!important}.row-removing{opacity:0;transform:translateX(-10px);transition:.2s}.employee-name-button{font:inherit;font-weight:inherit;font-size:inherit;color:inherit;background:transparent;border:0;padding:0;text-align:left}.employee-companies-popup{z-index:1400;max-height:360px;overflow:auto}.company-picker-head{display:flex;flex-direction:column;padding:8px 10px 10px;border-bottom:1px solid var(--line)}.company-picker-head small{color:var(--muted);font-size:13px}.company-picker-option{display:flex;gap:10px;align-items:center;padding:8px 10px;border-radius:7px;cursor:pointer}.company-picker-option:hover{background:#eef4f2}.company-picker-option input{width:17px;height:17px}.archived-resource{opacity:.56}.button-link{display:inline-flex;align-items:center;text-decoration:none}.employee-status-select{min-width:170px}
.top-page-actions{min-width:0;flex:1;overflow-x:auto;scrollbar-width:none;white-space:nowrap}
.top-page-actions::-webkit-scrollbar{display:none}
.top-page-actions .top-filter{flex:0 0 auto;max-width:210px}
.top-page-actions .employee-live-search{flex:1 1 280px;max-width:390px;min-width:220px;margin-left:4px}
.resource-live-search{min-width:270px!important}.access-live-search{min-width:250px!important}.structure-live-search{min-width:260px!important}.management-live-search{min-width:280px!important}
.structure-hint{margin:-3px 0 8px;color:var(--muted);font-size:14px}
.structure-layout{height:calc(100vh - 112px)}
.compact-view-switch{height:38px;flex:0 0 auto}.compact-view-switch a{display:flex;align-items:center;padding:0 10px}
.management-compact-head{display:flex;align-items:center;gap:12px;margin-bottom:9px;padding:7px 9px;border:1px solid var(--line);border-radius:10px;background:#f8fbfa}
.management-compact-head>span{font-weight:750;color:#50666d;white-space:nowrap}
.management-inline-filters{margin-left:auto;display:flex;align-items:center;gap:7px;min-width:0}
.management-inline-filters select{height:38px;min-width:155px;max-width:230px;border:1px solid var(--line);border-radius:9px;background:#fff;padding:0 9px}
.resource-manager-card{display:flex;flex-direction:column;overflow:hidden}
.resource-manager-body{padding:12px 15px 16px;display:flex;flex-direction:column;gap:9px;min-height:0;flex:1}
.resource-manager-tools{display:grid;gap:8px;align-items:center}
.resource-manager-tools .search-inline{width:100%;height:42px}.resource-manager-tools select{height:42px;border:1px solid var(--line);border-radius:9px;background:#fff;padding:0 9px;min-width:0}
.resource-manager-legend{font-size:14px;color:var(--muted);padding:0 2px}
.resource-manager-grid{overflow:auto;display:grid;gap:9px;padding:1px 2px 12px}
.resource-manager-item[open]{grid-column:span 2;border-color:#abc3be;box-shadow:0 5px 18px rgba(35,65,69,.08)}
.resource-manager-item>summary{list-style:none;cursor:pointer;display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:9px;padding:10px 11px;background:#f9fbfb}
.resource-manager-item>summary::-webkit-details-marker{display:none}.resource-manager-item>summary:hover{background:#f0f6f4}
.resource-manager-item>summary .resource-logo{width:38px;height:38px;flex-basis:38px}.resource-manager-item>summary small{display:block;color:var(--muted);font-size:13px;margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.resource-manager-item>summary b{display:block;overflow:hidden;text-overflow:ellipsis}
.resource-manager-fields{display:grid;grid-template-columns:1fr 1fr;gap:9px;padding:11px;border-top:1px solid var(--line)}
.resource-manager-fields label{font-size:13px;font-weight:750;color:#5b6f75}.resource-manager-fields label.span2{grid-column:1/-1}.resource-manager-fields input,.resource-manager-fields select,.resource-manager-fields textarea{width:100%;margin-top:4px;border:1px solid var(--line);border-radius:8px;background:#fff;padding:7px 9px;color:var(--text);font:inherit}.resource-manager-fields input,.resource-manager-fields select{height:39px}.resource-manager-fields textarea{min-height:58px;resize:vertical;line-height:1.35}
.resource-manager-actions{display:flex;justify-content:flex-end;gap:8px;padding:0 11px 11px}.resource-manager-actions .danger{margin-left:auto}
.pending-save{background:#fff7e8!important;border-color:#dca956!important}.saved-flash{background:#eef8f2!important;border-color:#93bea5!important}
@media(max-width:1250px){.resource-manager-grid{grid-template-columns:repeat(2,minmax(320px,1fr))}.resource-manager-item[open]{grid-column:span 2}.resource-manager-tools{grid-template-columns:1fr 1fr 1fr}.resource-manager-tools .search-inline{grid-column:1/3}.resource-manager-tools .primary{grid-column:3}}
@media(max-width:950px){.top-page-actions .top-filter{max-width:170px}.management-compact-head{align-items:flex-start;flex-direction:column}.management-inline-filters{margin-left:0;width:100%;overflow-x:auto}.resource-manager-grid{grid-template-columns:1fr}.resource-manager-item[open]{grid-column:1}.resource-manager-tools{grid-template-columns:1fr 1fr}.resource-manager-tools .search-inline{grid-column:1/-1}.resource-manager-tools .primary{grid-column:auto}}
@media(max-width:650px){.top-page-actions{gap:5px}.top-page-actions .employee-live-search{min-width:210px}.management-inline-filters select{min-width:145px}.resource-manager-tools{grid-template-columns:1fr}.resource-manager-tools>*{grid-column:1!important}.resource-manager-fields{grid-template-columns:1fr}.resource-manager-fields label.span2{grid-column:1}}
.resource-manager-modal{
  width:min(1440px,calc(100vw - 40px))!important;
  max-width:calc(100vw - 40px)!important;
  max-height:calc(100vh - 32px)!important;
  margin:auto!important;
  padding:0!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}
.resource-manager-modal .resource-manager-card{
  width:100%!important;
  max-width:100%!important;
  height:min(880px,calc(100vh - 32px))!important;
  max-height:calc(100vh - 32px)!important;
  min-width:0!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
}
.resource-manager-modal .modal-head{
  flex:0 0 auto;
  min-width:0;
  padding:14px 18px;
}
.resource-manager-modal .modal-head>div{min-width:0}
.resource-manager-modal .modal-head h3,
.resource-manager-modal .modal-head p{max-width:100%;overflow:hidden;text-overflow:ellipsis}
.resource-manager-body{
  min-width:0!important;
  overflow:hidden!important;
}
.resource-manager-tools{flex:0 0 auto;min-width:0}
.resource-manager-grid{
  min-width:0!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  align-items:start!important;
  align-content:start!important;
}
.resource-manager-item{
  display:block!important;
  min-width:0!important;
  min-height:64px!important;
  border:1px solid var(--line)!important;
  border-radius:11px!important;
  background:#fff!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}
.resource-manager-item.open{
  grid-column:span 2;
  border-color:#abc3be!important;
  box-shadow:0 5px 18px rgba(35,65,69,.08);
}
.resource-manager-summary{
  width:100%!important;
  min-height:64px!important;
  display:grid!important;
  grid-template-columns:42px minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:10px!important;
  padding:10px 12px!important;
  margin:0!important;
  border:0!important;
  background:#f9fbfb!important;
  color:var(--text)!important;
  text-align:left!important;
  cursor:pointer!important;
  box-sizing:border-box!important;
}
.resource-manager-summary:hover{background:#f0f6f4!important}
.resource-manager-summary .resource-logo{width:38px!important;height:38px!important;min-width:38px!important}
.rm-summary-copy{min-width:0}
.rm-summary-copy b{display:block;font-size:15px;line-height:1.25;white-space:normal;overflow:hidden}
.rm-summary-copy small{display:block;color:var(--muted);font-size:13px;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rm-summary-right{white-space:nowrap}
.rm-chevron{font-style:normal;font-size:18px;line-height:1;color:#6f8388;transition:transform .15s}
.resource-manager-item.open .rm-chevron{transform:rotate(180deg)}
.resource-manager-expanded{display:block;background:#fff;border-top:1px solid var(--line)}
.resource-manager-expanded[hidden]{display:none!important}
.resource-manager-empty{
  grid-column:1/-1;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  min-height:220px;border:1px dashed var(--line);border-radius:12px;
  color:var(--muted);background:#fafcfc;
}
.resource-manager-empty b{color:var(--text);font-size:18px;margin-bottom:5px}
.resource-manager-legend{display:flex;gap:14px;justify-content:space-between;flex-wrap:wrap}
@media(max-width:1250px){
 .resource-manager-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .resource-manager-item.open{grid-column:span 2}
}
@media(max-width:820px){
 .resource-manager-modal{width:calc(100vw - 20px)!important;max-width:calc(100vw - 20px)!important}
 .resource-manager-grid{grid-template-columns:1fr!important}
 .resource-manager-item.open{grid-column:1}
}
.resource-manager-item[hidden]{display:none!important}
.resource-manager-empty-filter[hidden]{display:none!important}
.resource-manager-reset[hidden]{display:none!important}
.resource-manager-tools{
  grid-template-columns:minmax(250px,1.25fr) minmax(165px,.7fr) minmax(165px,.7fr) minmax(135px,.55fr) auto auto!important;
}
.resource-manager-summary:focus-visible{outline:2px solid #648c96!important;outline-offset:-2px}
.rm-summary-right{display:flex!important;flex-direction:column;align-items:flex-end!important;gap:5px!important}
.rm-edit-action{display:inline-flex;align-items:center;gap:5px;color:#4f727b;font-size:12.5px;font-weight:750;line-height:1;white-space:nowrap}
.rm-edit-action i{font-style:normal;font-size:15px}
.resource-manager-summary:hover .rm-edit-action{color:#234c58}
.resource-manager-item.open .resource-manager-summary{background:#eef5f3!important}
.resource-manager-item.open .rm-edit-action{color:#315f69}
.rm-name-missing{color:#a46422!important}
.resource-manager-empty-filter{display:flex}
@media(max-width:1280px){
 .resource-manager-tools{grid-template-columns:1fr 1fr 1fr!important}
 .resource-manager-tools .search-inline{grid-column:1/3}
 .resource-manager-tools .primary{grid-column:3}
 .resource-manager-tools .resource-manager-reset{grid-column:auto}
}
@media(max-width:900px){
 .resource-manager-tools{grid-template-columns:1fr 1fr!important}
 .resource-manager-tools .search-inline{grid-column:1/-1}
 .resource-manager-tools .primary,.resource-manager-tools .resource-manager-reset{grid-column:auto}
}
@media(max-width:650px){
 .resource-manager-tools{grid-template-columns:1fr!important}
 .resource-manager-tools>*{grid-column:1!important}
}
.resource-manager-workspace{
  flex:1;min-height:0;display:grid;grid-template-columns:minmax(390px,42%) minmax(0,1fr);
  gap:12px;overflow:hidden;
}
.resource-manager-catalog{
  min-width:0;overflow-y:auto;overflow-x:hidden;border:1px solid var(--line);border-radius:11px;
  background:#f7faf9;padding:6px;
}
.resource-manager-row{
  width:100%;display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:10px;
  min-height:66px;padding:9px 10px;border:1px solid transparent;border-bottom-color:#e5ecea;
  border-radius:9px;background:transparent;color:var(--text);text-align:left;cursor:pointer;
}
.resource-manager-row:hover{background:#fff;border-color:#dbe6e3}
.resource-manager-row.selected{background:#eaf3f1;border-color:#9bbcb5;box-shadow:inset 4px 0 0 #557f87}
.resource-manager-row[hidden]{display:none!important}
.resource-manager-row .resource-logo{width:38px!important;height:38px!important;min-width:38px!important}
.rm-row-copy{min-width:0}
.rm-row-copy b{display:block;font-size:15px;line-height:1.25;white-space:normal}
.rm-row-copy small{display:block;margin-top:3px;color:var(--muted);font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rm-type-label{font-weight:750;color:#526c74}
.rm-row-state{display:flex;align-items:center;gap:8px;white-space:nowrap}
.rm-row-state>i{font-style:normal;color:#6e858a;font-size:22px;line-height:1}
.resource-manager-detail{
  min-width:0;min-height:0;overflow-y:auto;border:1px solid var(--line);border-radius:11px;background:#fff;
}
.resource-manager-detail-placeholder{
  height:100%;min-height:360px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;
  padding:36px;color:var(--muted);
}
.resource-manager-detail-placeholder[hidden]{display:none!important}
.resource-manager-detail-placeholder b{font-size:20px;color:var(--text);margin:10px 0 5px}
.resource-manager-detail-placeholder span{max-width:430px;line-height:1.45}
.rm-placeholder-icon{width:58px;height:58px;border-radius:16px;background:#edf4f2;display:grid;place-items:center;font-size:30px;color:#5f8189}
.resource-manager-editor{min-height:100%;display:flex;flex-direction:column}
.resource-manager-editor[hidden]{display:none!important}
.resource-manager-editor-head{
  display:grid;grid-template-columns:50px minmax(0,1fr) auto;gap:12px;align-items:center;
  padding:16px 18px;border-bottom:1px solid var(--line);background:#f6faf9;position:sticky;top:0;z-index:3;
}
.resource-manager-editor-head .resource-logo{width:48px!important;height:48px!important}
.rm-editor-title{min-width:0}
.rm-editor-eyebrow{display:block;color:var(--muted);font-size:13px;font-weight:650;margin-bottom:2px}
.rm-editor-title h4{margin:0;font-size:20px;line-height:1.2}
.rm-editor-title small{display:block;color:var(--muted);font-size:13px;margin-top:4px}
.resource-manager-editor .resource-manager-fields{
  grid-template-columns:1fr 1fr;padding:18px;gap:13px;
}
.resource-manager-editor .resource-manager-fields label{font-size:14px}
.resource-manager-editor .resource-manager-fields input,
.resource-manager-editor .resource-manager-fields select{height:42px}
.resource-manager-editor .resource-manager-fields textarea{min-height:86px}
.resource-manager-editor .resource-manager-actions{
  margin-top:auto;padding:14px 18px;border-top:1px solid var(--line);background:#fafcfc;
}
.resource-manager-legend{flex:0 0 auto}
.resource-manager-empty-filter{margin:8px;min-height:180px}
@media(max-width:1100px){
 .resource-manager-workspace{grid-template-columns:minmax(330px,44%) minmax(0,1fr)}
}
@media(max-width:800px){
 .resource-manager-workspace{grid-template-columns:1fr;overflow-y:auto}
 .resource-manager-catalog{max-height:42vh}
 .resource-manager-detail{min-height:48vh;overflow:visible}
 .resource-manager-editor-head{position:static}
}
.access-method-pill,.access-profile-label{
 display:inline-flex;align-items:center;min-height:28px;padding:4px 8px;border:1px solid #d6e2df;border-radius:999px;
 background:#f2f7f6;color:#49656c;font-size:13px;font-weight:750;line-height:1.2;white-space:normal
}
.attention-text{color:var(--red);font-weight:700}
.resource-shared-credentials,.resource-overview-credentials{
 border:1px solid #d6e3e0;border-radius:11px;background:#f7faf9;padding:11px 12px
}
.resource-shared-credentials[hidden],.resource-shared-credentials.hidden,.resource-overview-credentials.hidden{display:none!important}
.resource-credential-title{display:flex;align-items:baseline;gap:9px;flex-wrap:wrap;margin-bottom:9px}
.resource-credential-title b{font-size:15px;color:var(--text)}
.resource-credential-title span,.resource-credential-title small{font-size:13px;color:var(--muted)}
.resource-credential-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.resource-credential-grid label{display:flex;flex-direction:column;gap:5px;color:#5c6f75;font-size:14px;font-weight:700}
.resource-credential-grid input{width:100%;height:40px;border:1px solid var(--line);border-radius:8px;background:#fff;padding:0 9px;color:var(--text)}
.resource-secret-control{min-height:40px;display:flex;align-items:center;gap:6px;border:1px solid var(--line);border-radius:8px;background:#fff;padding:4px 7px;flex-wrap:wrap}
.resource-secret-control>b{margin-right:auto;color:#536b72}
.resource-overview-credentials{margin-top:12px}
.resource-overview-credentials .compact-title{margin-bottom:9px}
.resource-profile-select{font-weight:650}
@media(max-width:760px){.resource-credential-grid{grid-template-columns:1fr}}

.legacy-password>b{color:#9a6b28}.legacy-password{background:#fff9ee;border-radius:8px;padding:2px 4px}
.access-profile-guidance{
 margin:0 0 12px;display:flex;gap:10px;align-items:flex-start;padding:11px 13px;border:1px solid #cfdfdc;
 border-radius:12px;background:#f4f9f8;color:#4b636a
}
.access-profile-guidance-icon{
 width:26px;height:26px;flex:0 0 26px;border-radius:50%;display:grid;place-items:center;background:#dfecea;
 color:#41636a;font-weight:900
}
.access-profile-guidance b{display:block;margin-bottom:3px;color:#334f57}
.access-profile-guidance span{display:block;font-size:14px;line-height:1.4}
.resource-access-table-wrap{overflow-x:auto}
.resource-access-row{cursor:pointer;transition:background .14s ease,box-shadow .14s ease}
.resource-access-row:hover{background:#f5f9f8}
.resource-access-row:hover td:first-child{box-shadow:inset 3px 0 0 #6f9299}
.access-row-open{
 min-height:34px;border:1px solid #bfd2ce;border-radius:9px;background:#eef6f4;color:#3f6169;padding:3px 8px;
 display:inline-flex;align-items:center;gap:6px;font-weight:800;cursor:pointer;white-space:nowrap
}
.access-row-open span{width:20px;height:20px;border-radius:6px;background:#d8e7e4;display:grid;place-items:center;font-size:21px;line-height:1}
.access-row-open:hover{background:#e3f0ed;border-color:#98b8b2}
.resource-access-employee{display:flex;align-items:center;gap:7px;min-width:190px}
.access-missing-action{
 border:1px solid #deb99b;background:#fff7ef;color:#9a5a24;border-radius:8px;min-height:32px;padding:4px 9px;
 font-weight:800;text-align:left;cursor:pointer
}
.access-missing-action:hover{background:#fff0e2;border-color:#c99568}

.access-drawer{
 margin:0 0 0 auto;padding:0;border:0;width:min(620px,94vw);max-width:none;height:100vh;max-height:100vh;
 background:transparent
}
.access-drawer::backdrop{background:rgba(18,31,35,.34)}
.access-drawer[open]{display:block}
.access-drawer-card{
 height:100vh;background:#fff;display:flex;flex-direction:column;box-shadow:-16px 0 44px rgba(20,37,42,.22);
 border-left:1px solid #cfdbd9
}
.access-drawer-head{
 padding:18px 20px 15px;border-bottom:1px solid var(--line);display:flex;align-items:flex-start;justify-content:space-between;gap:12px
}
.access-drawer-head small{display:block;color:var(--muted);font-weight:700;margin-bottom:4px}
.access-drawer-head h3{margin:0 0 7px;font-size:22px;color:var(--text)}
.drawer-close{border:0;background:transparent;font-size:30px;line-height:1;cursor:pointer;color:#51676d;padding:0 4px}
.drawer-guidance{margin:14px 20px 0;padding:10px 12px;border:1px solid #d5e2df;border-radius:10px;background:#f5f9f8;color:#536c72;font-size:14px;line-height:1.4}
.drawer-guidance b{color:#34545c}
.access-drawer-body{padding:16px 20px 20px;overflow:auto;display:flex;flex-direction:column;gap:13px;flex:1}
.access-drawer-body>label,.drawer-two-col>label,.drawer-section>label{
 display:flex;flex-direction:column;gap:5px;color:#536970;font-size:14px;font-weight:750
}
.access-drawer-body input,.access-drawer-body select,.access-drawer-body textarea{
 width:100%;border:1px solid #cad8d5;border-radius:9px;background:#fff;padding:8px 10px;color:var(--text);font:inherit
}
.access-drawer-body input,.access-drawer-body select{height:42px}
.access-drawer-body textarea{resize:vertical;min-height:76px}
.drawer-two-col{display:grid;grid-template-columns:1fr 1fr;gap:11px}
.drawer-section{border:1px solid #d9e4e1;border-radius:11px;background:#f8fbfa;padding:12px;display:flex;flex-direction:column;gap:11px}
.drawer-section[hidden]{display:none!important}
.drawer-section-title{font-weight:900;color:#3d5961;font-size:14px;text-transform:uppercase;letter-spacing:.025em}
.drawer-readonly-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:7px 0;border-bottom:1px solid #e2e9e7}
.drawer-readonly-row:last-of-type{border-bottom:0}
.drawer-readonly-row span:first-child{color:var(--muted);font-size:14px}
.drawer-inline-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:3px}
.drawer-info-section b{display:block;color:#3c5961;margin-bottom:4px}
.drawer-info-section span{display:block;color:#63777c;font-size:14px;line-height:1.4}
.field-hint{font-size:12px;color:var(--muted);font-weight:500}
.password-reveal-inline{font-family:ui-monospace,Consolas,monospace;font-weight:800;color:#2f535c}
.access-drawer-actions{
 padding:12px 20px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:flex-end;gap:8px;background:#fbfcfc
}
.access-drawer-actions #radFullAccessLink{margin-right:auto}
@media(max-width:700px){
 .access-drawer{width:100vw}
 .drawer-two-col{grid-template-columns:1fr}
 .access-drawer-actions{flex-wrap:wrap}
 .access-drawer-actions #radFullAccessLink{width:100%;margin-right:0;text-align:center}
}

.resource-profile-modal-help{
 display:flex;align-items:center;gap:8px;flex-wrap:wrap;border:1px solid #d3dfdc;border-radius:10px;background:#f5f9f8;padding:10px 11px
}
.resource-profile-modal-help[hidden]{display:none!important}
.resource-profile-modal-help b{color:#3f5b63}
.resource-profile-modal-help span{color:var(--muted);font-size:14px;flex:1;min-width:220px}
.access-registry-focus{box-shadow:0 0 0 3px rgba(95,135,143,.18);transition:box-shadow .25s ease}
.resource-access-table .access-open-col{width:170px;min-width:170px}
.drawer-section.hidden,.drawer-info-section.hidden{display:none!important}
.drawer-state-value{font-weight:750;color:var(--text)}
.resource-access-table .access-method-pill{
  justify-content:center;
  text-align:center;
  line-height:1.25;
}
.access-row-open{
  justify-content:center;
  min-width:112px;
}
.access-row-open b{font-size:14px}
.drawer-system-meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  min-height:44px;
  padding:9px 11px;
  border:1px solid #d9e4e1;
  border-radius:9px;
  background:#f7faf9;
}
.drawer-system-meta span{
  color:var(--muted);
  font-size:14px;
  font-weight:750;
}
.drawer-system-meta b{
  color:#405a62;
  font-size:14px;
  text-align:right;
}
.access-source-row .system-meta-value{
  color:#536c72;
  font-weight:700;
}
*,*::before,*::after{box-sizing:border-box}
input,select,textarea,button{min-width:0;max-width:100%}
.form-grid>*,.resource-manager-fields>*,.entity-field-columns>*,.drawer-two-col>*,.resource-credential-grid>*{min-width:0}
.form-grid label,.resource-manager-fields label,.access-drawer-body label{
 line-height:1.25;
 overflow-wrap:anywhere;
}
.form-grid input,.form-grid select,.form-grid textarea,
.resource-manager-fields input,.resource-manager-fields select,.resource-manager-fields textarea,
.access-drawer-body input,.access-drawer-body select,.access-drawer-body textarea{
 width:100%;
 max-width:100%;
}
.form-grid textarea,.resource-manager-fields textarea,.access-drawer-body textarea{
 min-height:44px;
 line-height:1.3;
 overflow-wrap:anywhere;
 word-break:break-word;
 resize:vertical;
}
.table-card{overflow:auto}
.data-table{width:100%;border-collapse:separate;border-spacing:0}
.data-table th,.data-table td{
 vertical-align:middle;
 overflow-wrap:anywhere;
 word-break:normal;
}
.data-table .comment-cell,.data-table .comment-preview{min-width:150px}
.access-method-pill{
 justify-content:center;
 text-align:center;
 line-height:1.25;
 white-space:normal;
 overflow-wrap:anywhere;
}
.resource-access-table .access-method-pill{
 width:100%;
 min-width:0;
 max-width:190px;
}
.inline-value,.multiline-value,.static-resource-value,.system-meta-value{
 white-space:normal;
 overflow-wrap:anywhere;
 word-break:break-word;
 line-height:1.3;
}
.review-list-table .table-subline{
 display:block;
 margin-top:3px;
 color:var(--muted);
 font-size:12px;
 max-width:340px;
 overflow-wrap:anywhere;
}
.resource-review-link-field.hidden{display:none!important}
#radObjectAccountUrlWrap.hidden{display:none!important}
@media(max-width:1100px){
 .resource-manager-fields,.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .resource-manager-fields .span2,.form-grid .span2{grid-column:1/-1}
}
@media(max-width:720px){
 .resource-manager-fields,.form-grid,.drawer-two-col{grid-template-columns:1fr}
 .resource-manager-fields .span2,.form-grid .span2{grid-column:auto}
}
.settings-field{display:grid;gap:6px}
.settings-field input{width:100%;min-height:42px;border:1px solid var(--line);border-radius:9px;padding:8px 10px;background:#fff}
.settings-field small{color:var(--muted);line-height:1.4}
.settings-ok{color:#2d7550;font-weight:700}
.https-return-banner{
 display:flex;align-items:center;gap:14px;justify-content:space-between;
 margin:12px 0;padding:12px 14px;border:1px solid #b9d9c6;border-radius:11px;background:#eef8f1
}
.https-return-banner>div{min-width:0}
.https-return-banner b{display:block;margin-bottom:3px}
.https-return-banner span{display:block;color:var(--muted);line-height:1.35}
.review-https-note{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 14px;align-items:center;margin:8px 0 12px}
.review-https-note b,.review-https-note span{min-width:0}
.review-https-note span{overflow-wrap:anywhere}
.https-link-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap;min-width:170px}
.https-link-actions small{display:block;width:100%;color:var(--muted)}
.review-history-table th,.review-history-table td{min-width:110px}
.review-history-table th:nth-child(5),.review-history-table td:nth-child(5){min-width:150px}
.review-history-table th:nth-child(8),.review-history-table td:nth-child(8){min-width:190px}
@media(max-width:760px){
 .https-return-banner{align-items:stretch;flex-direction:column}
 .review-https-note{grid-template-columns:1fr}
}
.delivery-mode-box{
 border:1px solid var(--line);
 border-radius:10px;
 padding:10px 12px;
 margin:10px 0;
 display:grid;
 gap:8px;
}
.delivery-mode-box legend{
 padding:0 5px;
 font-weight:800;
 color:var(--text);
}
.delivery-mode-option{
 display:grid;
 grid-template-columns:auto minmax(0,1fr);
 gap:9px;
 align-items:start;
 padding:8px 9px;
 border:1px solid transparent;
 border-radius:9px;
 background:#f8fbfa;
 cursor:pointer;
}
.delivery-mode-option:has(input:checked){
 border-color:#a9c8c3;
 background:#eef6f4;
}
.delivery-mode-option:has(input:disabled){
 opacity:.55;
 cursor:not-allowed;
}
.delivery-mode-option input{
 margin-top:3px;
}
.delivery-mode-option span{
 display:grid;
 gap:2px;
 min-width:0;
}
.delivery-mode-option small{
 color:var(--muted);
 line-height:1.3;
 overflow-wrap:anywhere;
}
.password-change-button{
 margin-left:6px;
}
.password-dialog-toggle{
 display:flex;
 align-items:center;
 gap:8px;
 margin-top:6px;
 font-size:14px;
}
.password-dialog-toggle input{
 width:auto;
}
.resource-access-actions{display:flex;flex-direction:column;align-items:flex-start;gap:5px;white-space:nowrap}
.access-row-remove{border:0;background:transparent;color:#8b5555;font:inherit;font-size:12px;font-weight:750;line-height:1.2;padding:2px 4px;border-radius:6px;cursor:pointer;white-space:nowrap}
.access-row-remove:hover{background:#f8eeee;color:#742f2f;text-decoration:underline;text-underline-offset:2px}
.access-row-remove:focus-visible{outline:2px solid #b98282;outline-offset:2px}
.access-row-remove:disabled{opacity:.58;cursor:wait;text-decoration:none}
.resource-access-row.access-row-closing{opacity:.45;pointer-events:none;transition:opacity .18s ease}
.registry-content{
 display:flex;
 flex-direction:column;
 min-height:0;
 overflow:hidden;
}
.registry-content>.registry-scroll,
.registry-content>.registry-page-body,
.registry-content>.registry-page-body>.registry-scroll{
 min-height:0;
}
.registry-content>.registry-scroll{
 flex:1 1 auto;
 overflow:auto!important;
 max-height:none!important;
 overscroll-behavior:auto;
 scrollbar-gutter:stable both-edges;
}
.registry-page-body{
 display:flex;
 flex:1 1 auto;
 min-height:0;
 flex-direction:column;
}
.registry-page-body>.registry-scroll{
 flex:1 1 auto;
 overflow:auto!important;
 max-height:none!important;
 overscroll-behavior:auto;
 scrollbar-gutter:stable both-edges;
}
.registry-content .management-compact-head,
.registry-content .review-control,
.registry-content .review-toolbar{
 flex:0 0 auto;
}
/* The employees registry used this model first; the generic registry contract now owns height. */
.employees-table{max-height:none}
.resources-table{overflow:auto!important}
.resources-table thead th{top:0!important}

/* Wide relationship tables on entity cards keep one native scroll region.
   Short tables stay short; long tables stop at a viewport-aware height. */
.table-scroll-region{
 max-height:min(62vh,680px);
 overflow:auto!important;
 overscroll-behavior:auto;
 scrollbar-gutter:stable both-edges;
}

@media(max-width:900px){
 .registry-content{overflow:auto;display:block}
 .registry-content>.registry-scroll,
 .registry-content>.registry-page-body>.registry-scroll,
 .table-scroll-region{max-height:70vh!important;overflow:auto!important}
 .registry-page-body{display:block}
}
.resources-table .data-table{min-width:1580px}
.resources-table .data-table th:nth-child(2),.resources-table .data-table td:nth-child(2){min-width:260px}
.resources-table .data-table th:nth-child(3),.resources-table .data-table td:nth-child(3){min-width:170px}
.resources-table .data-table th:nth-child(4),.resources-table .data-table td:nth-child(4){min-width:190px}
.resources-table .data-table th:nth-child(5),.resources-table .data-table td:nth-child(5){min-width:230px}
.resources-table .data-table th:nth-child(6),.resources-table .data-table td:nth-child(6){min-width:130px}
.resources-table .data-table th:nth-child(7),.resources-table .data-table td:nth-child(7){min-width:230px}
.resources-table .data-table th:nth-child(8),.resources-table .data-table td:nth-child(8){min-width:100px}
.resources-table .data-table th:nth-child(9),.resources-table .data-table td:nth-child(9){min-width:220px}

.access-registry{min-width:1900px}
.access-registry th:nth-child(2),.access-registry td:nth-child(2){min-width:230px}
.access-registry th:nth-child(3),.access-registry td:nth-child(3){min-width:270px}
.access-registry th:nth-child(4),.access-registry td:nth-child(4){min-width:210px}
.access-registry th:nth-child(5),.access-registry td:nth-child(5){min-width:170px}
.access-registry th:nth-child(6),.access-registry td:nth-child(6){min-width:190px}
.access-registry th:nth-child(7),.access-registry td:nth-child(7){min-width:240px}
.access-registry th:nth-child(8),.access-registry td:nth-child(8){min-width:210px}
.access-registry th:nth-child(9),.access-registry td:nth-child(9){min-width:230px}
.access-registry th:nth-child(10),.access-registry td:nth-child(10){min-width:220px}

.resource-access-table{min-width:1640px}
.resource-access-table th:nth-child(2),.resource-access-table td:nth-child(2){min-width:220px}
.resource-access-table th:nth-child(3),.resource-access-table td:nth-child(3){min-width:190px}
.resource-access-table th:nth-child(4),.resource-access-table td:nth-child(4){min-width:140px}
.resource-access-table th:nth-child(5),.resource-access-table td:nth-child(5){min-width:180px}
.resource-access-table th:nth-child(6),.resource-access-table td:nth-child(6){min-width:240px}
.resource-access-table th:nth-child(7),.resource-access-table td:nth-child(7){min-width:200px}
.resource-access-table th:nth-child(8),.resource-access-table td:nth-child(8){min-width:220px}
.resource-access-table th:nth-child(9),.resource-access-table td:nth-child(9){min-width:210px}

.employee-access-table{min-width:1640px}
.employee-access-table th:nth-child(2),.employee-access-table td:nth-child(2){min-width:300px}
.employee-access-table th:nth-child(3),.employee-access-table td:nth-child(3){min-width:190px}
.employee-access-table th:nth-child(4),.employee-access-table td:nth-child(4){min-width:150px}
.employee-access-table th:nth-child(5),.employee-access-table td:nth-child(5){min-width:190px}
.employee-access-table th:nth-child(6),.employee-access-table td:nth-child(6){min-width:240px}
.employee-access-table th:nth-child(7),.employee-access-table td:nth-child(7){min-width:200px}
.employee-access-table th:nth-child(8),.employee-access-table td:nth-child(8){min-width:230px}
.employee-access-table th:nth-child(9),.employee-access-table td:nth-child(9){min-width:210px}

.review-list-table .data-table{min-width:1150px}
.backup-list{display:flex;flex-direction:column;gap:8px}.backup-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid var(--line,#dce5e3)}.backup-row:first-child{border-top:0}.backup-row>div{min-width:0}.backup-row b,.backup-row small{display:block}.backup-row small{margin-top:3px;color:var(--muted,#718085)}

.integrity-report{display:flex;flex-direction:column;gap:8px}.integrity-summary{padding:12px 14px;border:1px solid var(--line,#dce5e3);border-radius:12px;background:#f7faf9}.integrity-summary b,.integrity-summary small{display:block}.integrity-summary small{margin-top:4px;color:var(--muted,#718085)}.integrity-summary.attention{background:#fff8ee;border-color:#ead8b8}.integrity-summary.ok{background:#f1f8f5}.integrity-issue{border:1px solid var(--line,#dce5e3);border-radius:10px;padding:0 12px;background:#fff}.integrity-issue.critical{border-left:3px solid #b85050}.integrity-issue.warning{border-left:3px solid #c28b3b}.integrity-issue summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;cursor:pointer}.integrity-issue summary span{min-width:28px;text-align:center;border-radius:999px;background:#edf2f1;padding:2px 8px;font-weight:700}.integrity-issue p{margin:0 0 8px;color:var(--muted,#718085)}.integrity-issue ul{margin:0 0 12px;padding-left:20px;max-height:190px;overflow:auto}.integrity-issue li{margin:4px 0}

/* Resource completion indicator: one flag, four semantic colours. */
.resource-flag-cell{width:66px;min-width:66px}.resource-flag-control{display:inline-flex;align-items:center;gap:2px}.resources-table .resource-flag-control>.flag{width:34px;height:34px;font-size:23px;line-height:1;border-radius:9px}.resources-table .flag.completion-gray:not(.on){color:#9ba8ac}.resources-table .flag.completion-yellow:not(.on){color:#c98a12}.resources-table .flag.completion-green:not(.on){color:#2f7d5d}.resources-table .flag.on{color:var(--red);border-color:#d9aaa6;background:var(--redSoft)}
.resource-completion-menu-trigger{width:18px;height:24px;padding:0;border:0;background:transparent;color:#93a0a4;border-radius:5px;font-size:15px;line-height:1}.resource-completion-menu-trigger:hover{background:#eef4f2;color:#50646a}.resource-completion-popover{position:fixed;z-index:260;width:min(450px,calc(100vw - 20px));background:#fff;border:1px solid var(--line);border-radius:13px;box-shadow:0 18px 48px rgba(36,54,60,.18);padding:14px}.resource-completion-popover[hidden]{display:none}.resource-completion-popover-head{display:flex;align-items:flex-start;gap:10px;padding-bottom:10px;border-bottom:1px solid var(--line)}.resource-completion-popover-head>div{flex:1;min-width:0}.resource-completion-popover-head b,.resource-completion-popover-head span{display:block}.resource-completion-popover-head span{margin-top:2px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.resource-completion-diagnosis{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:11px 0 0;padding:10px 11px;border-radius:9px;background:#f6f9f8}.resource-completion-diagnosis span{color:var(--muted)}.resource-completion-diagnosis b{font-size:17px;text-align:right}.resource-completion-diagnosis b[data-state="green"]{color:#2f7d5d}.resource-completion-diagnosis b[data-state="yellow"]{color:#b87508}.resource-completion-diagnosis b[data-state="gray"]{color:#7e8d91}.resource-completion-issues{margin-top:10px;padding:10px 11px;border:1px solid #eadab9;border-radius:9px;background:#fff9ef;color:#5d6e73}.resource-completion-issues b{display:block;color:#76551d}.resource-completion-issues ul{margin:6px 0 0;padding-left:18px;max-height:145px;overflow:auto}.resource-completion-issues li{margin:3px 0}.resource-completion-issues p{margin:8px 0 0;color:var(--muted);font-size:12.5px}.completion-no-issues{color:#2f7d5d!important}.resource-completion-control-title{margin:12px 0 5px;color:#607176;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.resource-completion-options{display:flex;flex-direction:column;gap:3px}.resource-completion-options>button{width:100%;border:1px solid transparent;background:transparent;border-radius:8px;padding:7px 8px;display:grid;grid-template-columns:16px 1fr;gap:8px;align-items:center;text-align:left}.resource-completion-options>button:hover{background:#f5f8f7}.resource-completion-options>button.active{background:#edf4f2;border-color:#d5e2df}.resource-completion-options>button span{min-width:0}.resource-completion-options>button b,.resource-completion-options>button small{display:block}.resource-completion-options>button small{margin-top:1px;color:var(--muted);font-weight:400;font-size:12px}.completion-dot{width:11px;height:11px;border-radius:50%;display:inline-block;background:#a5b0b3;flex:0 0 11px}.completion-dot-auto{background:linear-gradient(135deg,#9ba8ac 0 31%,#c98a12 34% 64%,#2f7d5d 67% 100%)}.completion-dot-gray{background:#9ba8ac}.completion-dot-yellow{background:#c98a12}.completion-dot-green{background:#2f7d5d}.resource-completion-legend{margin-top:10px;padding-top:8px;border-top:1px solid var(--line);display:flex;align-items:center;gap:10px;flex-wrap:wrap;color:#7b898d;font-size:11.5px}.resource-completion-legend>span{display:inline-flex;align-items:center;gap:4px}.resource-completion-legend small{display:block;flex-basis:100%;font-size:11px;color:#8a979a}

/* Employee registry/detail geometry: keep names readable and let the table scroll instead of collapsing text. */
.employees-table .data-table{min-width:1450px}
.employees-table th:first-child,.employees-table td:first-child{min-width:210px}.employees-table .employee-list-person .person-name-surname{font-weight:800;color:var(--text)}.employees-table .employee-list-person .person-name-rest{font-weight:500;color:var(--text)}.person-name{display:inline;line-height:1.28}.person-name-surname,.person-name-rest{display:inline-block;white-space:nowrap}.resource-name-display{display:flex;flex-direction:column;align-items:flex-start;line-height:1.25}.resource-name-main{font-weight:800;white-space:nowrap}.resource-name-qualifier{font-weight:800;white-space:nowrap;margin-top:2px}.resources-table .resource-name-display,.employee-access-table .resource-name-display{max-width:100%}
.employee-access-table .resource-cell>span{min-width:0}
.employee-access-table .resource-cell b{white-space:normal;word-break:normal;overflow-wrap:normal;hyphens:none}
/* Readable business-integrity diagnostics page */
.settings-integrity-link{display:flex;align-items:center;justify-content:space-between;gap:22px}.settings-integrity-link p{margin:4px 0 0;color:var(--muted,#718085);max-width:920px}.integrity-page{display:flex;flex-direction:column;gap:14px}.integrity-intro{display:flex;align-items:flex-start;justify-content:space-between;gap:28px}.integrity-intro p{margin:5px 0 0;max-width:920px;color:var(--muted,#718085);line-height:1.5}.integrity-scan-time{min-width:190px;text-align:right}.integrity-scan-time span,.integrity-scan-time b{display:block}.integrity-scan-time span{font-size:12px;color:var(--muted,#718085);margin-bottom:4px}.integrity-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.integrity-metric{border:1px solid var(--line,#dce5e3);background:#fff;border-radius:14px;padding:15px 16px;min-height:104px}.integrity-metric span,.integrity-metric small{display:block}.integrity-metric span{font-size:13px;color:var(--muted,#718085)}.integrity-metric b{display:block;font-size:25px;margin:5px 0 2px}.integrity-metric small{font-size:12px;color:var(--muted,#718085)}.integrity-metric.danger{background:#fff4f2;border-color:#e7c5c0}.integrity-metric.warning,.integrity-metric.attention{background:#fff8ee;border-color:#ead8b8}.integrity-metric.ok{background:#f1f8f5;border-color:#cfe2da}.integrity-issues-list{display:flex;flex-direction:column;gap:12px}.integrity-card{overflow:hidden}.integrity-card.severity-critical{border-left:4px solid #b85050}.integrity-card.severity-warning{border-left:4px solid #c28b3b}.integrity-card-head{display:flex;justify-content:space-between;gap:24px;padding:17px 18px 13px}.integrity-card-head h2{font-size:18px;margin:4px 0 6px}.integrity-card-head p{margin:0;color:var(--muted,#718085);line-height:1.45;max-width:980px}.integrity-severity{display:inline-flex;padding:3px 8px;border-radius:999px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.03em;background:#edf2f1}.severity-critical .integrity-severity{background:#f8dfdc;color:#883b35}.severity-warning .integrity-severity{background:#faecd2;color:#835c22}.integrity-count{text-align:center;min-width:74px}.integrity-count b,.integrity-count span{display:block}.integrity-count b{font-size:24px}.integrity-count span{font-size:11px;color:var(--muted,#718085)}.integrity-action{display:grid;grid-template-columns:120px 1fr;gap:12px;padding:11px 18px;background:#f7faf9;border-top:1px solid var(--line,#dce5e3);border-bottom:1px solid var(--line,#dce5e3);line-height:1.4}.integrity-action b{font-size:13px}.integrity-action span{color:#405258}.integrity-table-wrap{overflow:auto;max-width:100%}.integrity-table{margin:0}.integrity-table th{white-space:nowrap}.integrity-table td{vertical-align:top}.integrity-entity-link{font-weight:700;text-decoration:none}.integrity-entity-link:hover{text-decoration:underline}.integrity-truncated{padding:9px 18px;color:var(--muted,#718085);font-size:12px;border-top:1px solid var(--line,#dce5e3)}.integrity-clean{display:flex;flex-direction:column;gap:4px;background:#f1f8f5}.integrity-clean span{color:var(--muted,#718085)}@media(max-width:1050px){.integrity-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.integrity-intro{flex-direction:column}.integrity-scan-time{text-align:left}.settings-integrity-link{align-items:flex-start;flex-direction:column}}@media(max-width:680px){.integrity-summary-grid{grid-template-columns:1fr}.integrity-action{grid-template-columns:1fr}.integrity-card-head{flex-direction:column}.integrity-count{text-align:left}}

/* Profile-aware ACC details after assignments */
.new-access-title small{display:block;margin-top:3px;color:var(--muted);font-size:12px;font-weight:700}.new-access-guidance{margin:10px 11px 0;padding:9px 10px;border:1px solid var(--line);border-radius:9px;background:#f7faf9;line-height:1.4}.new-access-guidance b,.new-access-guidance span{display:block}.new-access-guidance span{margin-top:2px;color:var(--muted)}.new-access-profile-section{grid-column:1/-1;border:1px solid var(--line);border-radius:9px;padding:10px;background:#fbfdfc}.new-access-profile-section[hidden]{display:none!important}.new-access-grid textarea{width:100%;margin-top:3px;border:1px solid var(--line);border-radius:8px;background:#fff;padding:8px;resize:vertical;font:inherit}.new-access-grid>.span2{grid-column:1/-1}.new-access-shared-state{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.new-access-shared-state>div{min-width:190px}.new-access-shared-state span,.new-access-shared-state b{display:block}.new-access-shared-state span{font-size:12px;color:var(--muted);font-weight:600}.new-access-shared-state b{margin-top:2px}.new-access-shared-state .button-link{margin-left:auto}.drawer-info-section b,.drawer-info-section span{display:block}.drawer-info-section span{margin-top:3px;color:var(--muted)}

/* Resource structure placement control */
.preview-group-field{min-width:0}.preview-group-select{width:100%;min-width:230px;max-width:420px;height:35px;border:1px solid var(--line);border-radius:8px;background:#fff;padding:0 9px;font:inherit;color:inherit}.preview-group-select:focus{outline:2px solid rgba(89,126,136,.18);outline-offset:1px}

/* Access-role and Meta resource guidance */
.new-access-static-value,.drawer-fixed-value{display:block;margin-top:3px;min-height:40px;padding:9px 10px;border:1px solid var(--line);border-radius:8px;background:#f7faf9;color:var(--text);font-weight:750}
.resource-meta-guidance{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin:8px 0 10px;padding:10px 12px;border:1px solid var(--line);border-radius:9px;background:#f7faf9}
.resource-meta-guidance b,.resource-meta-guidance span{display:block}.resource-meta-guidance span{margin-top:2px;color:var(--muted);line-height:1.4}.resource-meta-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end;flex:0 0 auto}
@media(max-width:720px){.resource-meta-guidance{display:block}.resource-meta-actions{margin-top:8px;justify-content:flex-start}}

/* Typed resources and contextual resource graph */
.resource-schema-fields{margin:8px 0 12px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:#f8fbfa}.resource-schema-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:4px}.resource-schema-head b,.resource-schema-head span{display:block}.resource-schema-head span{color:var(--muted);font-size:12px;margin-top:2px}.required-mark{color:#a24c47}.resource-kind-note{display:flex;flex-direction:column;gap:3px;margin:8px 0 12px;padding:10px 12px;border:1px dashed #c8d7d4;border-radius:10px;background:#fafcfc}.resource-kind-note span{color:var(--muted);font-size:13px}.schema-field-row>span{font-weight:650}.resource-link-editor{display:flex;align-items:end;gap:8px;flex-wrap:wrap;padding:10px 0 14px;border-bottom:1px solid var(--line);margin-bottom:8px}.resource-link-editor label{display:flex;flex-direction:column;gap:4px;min-width:280px;color:var(--muted);font-size:12px}.resource-link-editor select{height:36px;border:1px solid var(--line);border-radius:8px;background:#fff;padding:0 8px;color:var(--text)}.resource-link-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.resource-link-row>div{min-width:0}.resource-graph-panel{margin:0 0 14px;padding:12px;border:1px solid var(--line);border-radius:12px;background:#f8fbfa}.resource-graph-title{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:12px}.resource-graph-title span{color:var(--muted);font-size:12px}.resource-graph-canvas{overflow:auto;padding:4px 6px 12px;display:flex;justify-content:center;min-height:130px}.graph-branch{display:flex;flex-direction:column;align-items:center;position:relative;min-width:0}.graph-node{min-width:190px;max-width:250px;border:1px solid #cbdad7;background:#fff;border-radius:10px;padding:9px 11px;text-align:left;color:var(--text);cursor:pointer;box-shadow:0 2px 5px rgba(37,58,62,.04)}.graph-node b,.graph-node small{display:block;overflow:hidden;text-overflow:ellipsis}.graph-node b{white-space:nowrap}.graph-node small{color:var(--muted);font-size:11px;margin-top:2px}.graph-node.selected{border-color:#537b86;box-shadow:0 0 0 2px rgba(83,123,134,.12);background:#eef5f3}.graph-children{display:flex;gap:18px;align-items:flex-start;position:relative;padding-top:28px;margin-top:2px}.graph-children::before{content:"";position:absolute;top:0;left:50%;width:1px;height:14px;background:#aebfbc}.graph-children>.graph-branch::before{content:"";position:absolute;top:-14px;left:50%;width:1px;height:14px;background:#aebfbc}.graph-children>.graph-branch:not(:only-child)::after{content:"";position:absolute;top:-14px;height:1px;background:#aebfbc}.graph-children>.graph-branch:first-child::after{left:50%;right:-9px}.graph-children>.graph-branch:last-child::after{left:-9px;right:50%}.graph-children>.graph-branch:not(:first-child):not(:last-child)::after{left:-9px;right:-9px}.schema-preview-fields{margin-top:10px;padding-top:8px;border-top:1px solid var(--line)}
@media(max-width:760px){.resource-graph-title{display:block}.resource-graph-title span{display:block;margin-top:2px}.resource-graph-canvas{justify-content:flex-start}.graph-node{min-width:170px}.resource-link-editor label{min-width:100%;flex:1}}

/* Scalable Resources catalog: compact list + preview / grouped tiles. */
.resources-catalog-page{min-width:0;position:relative}
.resource-catalog-toolbar{background:#f8fbfa;border:1px solid var(--line);border-radius:12px;padding:10px 12px;margin-bottom:10px}
.resource-catalog-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:9px}
.resource-catalog-heading>div:first-child{display:flex;align-items:baseline;gap:9px;min-width:0}.resource-catalog-heading>div:first-child>b{font-size:20px}.resource-catalog-heading>div:first-child>span{color:var(--muted);font-size:13px}
.resource-view-toggle{display:inline-flex;border:1px solid var(--line);background:#fff;border-radius:9px;padding:3px;gap:2px}.resource-view-toggle button{height:32px;border:0;background:transparent;border-radius:7px;padding:0 10px;color:#61757b;font-weight:750;display:flex;align-items:center;gap:6px}.resource-view-toggle button.active{background:#e5efed;color:#244c57}.resource-view-toggle button:hover{background:#eef5f3}
.resource-catalog-filters{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.resource-catalog-filters select{height:37px;border:1px solid var(--line);border-radius:8px;background:#fff;padding:0 9px;min-width:155px;max-width:220px;color:var(--text)}.resource-catalog-filter-reset{margin-left:auto}
.resource-catalog-empty{min-height:240px;border:1px dashed #cad8d5;border-radius:12px;background:#fafcfc;color:var(--muted);display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px}.resource-catalog-empty[hidden]{display:none!important}.resource-catalog-empty b{color:var(--text);font-size:18px}
.resources-catalog-page{display:flex;flex:1 1 auto;min-height:0;overflow:hidden;flex-direction:column}.resource-catalog-toolbar{flex:0 0 auto}.resource-catalog-list-layout{display:grid;grid-template-columns:minmax(370px,41%) minmax(0,1fr);gap:10px;flex:1 1 auto;min-height:0;overflow:hidden}.resource-catalog-list-layout[hidden],.resource-catalog-tiles-view[hidden]{display:none!important}
.resource-catalog-list-pane,.resource-catalog-preview-pane{min-width:0;min-height:0;border:1px solid var(--line);border-radius:12px;background:#fff;overflow-y:auto;overscroll-behavior:auto;scrollbar-gutter:stable}.resource-catalog-list-pane{background:#f8fbfa}.resource-catalog-preview{min-height:100%}
.resource-catalog-preview-empty{min-height:440px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:var(--muted);padding:32px}.resource-catalog-preview-empty>span{width:58px;height:58px;border-radius:16px;background:#eaf2f0;display:grid;place-items:center;font-size:28px;color:#5f7f87;margin-bottom:9px}.resource-catalog-preview-empty b{color:var(--text);font-size:19px}.resource-catalog-preview-empty small{margin-top:4px;max-width:390px;line-height:1.4}.resource-catalog-preview-loading,.resource-catalog-preview-error{min-height:180px;display:grid;place-items:center;color:var(--muted)}.resource-catalog-preview-error{color:var(--red)}
.resource-catalog-group{min-width:0}.resource-catalog-group+.resource-catalog-group{border-top:1px solid #e7eeec}.resource-catalog-group-head{height:43px;padding:0 12px;display:flex;align-items:center;gap:8px;background:#f7faf9;position:sticky;top:0;z-index:2}.resource-catalog-group-head b{font-size:16px}.resource-catalog-group-head span{font-size:12px;color:var(--muted);background:#edf2f1;border-radius:999px;padding:3px 7px}
.resource-compact-group{padding:5px}.resource-compact-row{display:grid;grid-template-columns:50px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:72px;padding:8px 9px;border:1px solid transparent;border-bottom-color:#e6edeb;border-radius:10px;cursor:pointer;outline:0}.resource-compact-row:hover{background:#fff;border-color:#dbe6e3}.resource-compact-row.selected{background:#eaf3f1;border-color:#96b8b1;box-shadow:inset 4px 0 0 #547f87}.resource-compact-copy{min-width:0}.resource-compact-copy b{display:block;font-size:15.5px;line-height:1.25;white-space:normal}.resource-compact-copy small{display:block;color:var(--muted);font-size:12.5px;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.resource-compact-meta{display:flex;align-items:center;gap:6px;white-space:nowrap}.resource-compact-meta>span{font-size:12.5px;color:#60757b}
.resource-logo.catalog-logo-large{width:46px!important;height:46px!important;min-width:46px!important;flex-basis:46px!important;border-radius:12px}.resource-logo.catalog-logo-large img{width:31px!important;height:31px!important}.resource-logo.catalog-logo-large b{font-size:13px}.resource-logo.catalog-logo-compact{width:38px!important;height:38px!important;min-width:38px!important;flex-basis:38px!important}
.catalog-state{height:29px;padding:0 9px;border-radius:999px;font-size:12px;font-weight:800;border:1px solid transparent;white-space:nowrap}.catalog-state-normal{background:#e8f5ee;color:#2f7b57;border-color:#d4ebdf}.catalog-state-attention{background:#fff2df;color:#976329;border-color:#f1dfbf}.catalog-state-critical{background:#fdebea;color:#a24c47;border-color:#efcfcc}.catalog-state-untyped,.catalog-state-unreviewed,.catalog-state-deleted{background:#edf2f1;color:#687b80;border-color:#dfe7e5}.catalog-state-closed{background:#f2efef;color:#795c5a;border-color:#e5dada}.catalog-flag{width:29px;height:29px;border:0;background:transparent;border-radius:7px;color:#b1bdbf;font-size:17px;padding:0}.catalog-flag:hover{background:#eef4f2;color:#7f9296}.catalog-flag.on{color:#b0544d;background:#fff0ef}
.resource-catalog-tiles-view{min-width:0;min-height:0;flex:1 1 auto;overflow-y:auto;overscroll-behavior:auto;scrollbar-gutter:stable;padding-right:2px}.resource-catalog-tiles-view .resource-catalog-group{border:1px solid var(--line);border-radius:12px;background:#fff;overflow:hidden;margin-bottom:10px}.resource-catalog-tiles-view .resource-catalog-group+.resource-catalog-group{border-top:1px solid var(--line)}.resource-catalog-tiles-view .resource-catalog-group-head{position:static;height:48px;background:#f8fbfa}.resource-catalog-tiles-view .resource-catalog-group-head b{font-size:19px}.resource-tile-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(245px,1fr));gap:8px;padding:9px}.resource-tile{min-width:0;min-height:128px;border:1px solid #dce6e4;border-radius:11px;background:#fff;padding:11px 12px;display:flex;flex-direction:column;gap:11px;cursor:pointer;outline:0;transition:border-color .14s,box-shadow .14s,transform .14s}.resource-tile:hover{border-color:#a9c5c0;box-shadow:0 5px 16px rgba(38,67,71,.08);transform:translateY(-1px)}.resource-tile.selected{border-color:#5d8fa0;box-shadow:0 0 0 2px rgba(75,126,139,.10)}.resource-tile-head{display:grid;grid-template-columns:48px minmax(0,1fr) 30px;gap:9px;align-items:start}.resource-tile-copy{min-width:0}.resource-tile-copy b{display:block;font-size:15.5px;line-height:1.25;min-height:39px}.resource-tile-copy small{display:block;margin-top:3px;color:var(--muted);font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.resource-tile-foot{margin-top:auto;border-top:1px solid #edf1f0;padding-top:8px;display:flex;align-items:center;gap:7px}.resource-access-count{font-size:12.5px;color:#61757b;margin-right:auto}
.catalog-preview-card{padding:16px 17px}.catalog-preview-head{display:grid;grid-template-columns:54px minmax(0,1fr) auto;gap:12px;align-items:center;padding-bottom:12px;border-bottom:1px solid var(--line)}.catalog-preview-head .resource-logo{width:52px!important;height:52px!important;min-width:52px!important;flex-basis:52px!important;border-radius:14px}.catalog-preview-head .resource-logo img{width:35px!important;height:35px!important}.catalog-preview-head h3{margin:0;font-size:20px;line-height:1.2}.catalog-preview-head p{margin:3px 0 0;color:var(--muted);font-size:13px}.catalog-preview-state{align-self:start;padding:5px 8px;border-radius:999px;font-size:12px;font-weight:800}.catalog-preview-state.ok{background:#e8f5ee;color:#2f7b57}.catalog-preview-state.warn{background:#fff2df;color:#976329}.catalog-preview-facts{display:grid;grid-template-columns:150px minmax(0,1fr);gap:8px 12px;padding:13px 0}.catalog-preview-facts span{color:var(--muted);font-size:13px}.catalog-preview-facts b{min-width:0;overflow-wrap:anywhere}.catalog-preview-relations{padding:11px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.catalog-preview-relations>b{display:block;margin-bottom:7px}.catalog-preview-relations>div{display:flex;align-items:center;gap:7px;padding:4px 0}.catalog-preview-relations>div>span{color:#76939a}.catalog-preview-relations a{color:#315c67;text-decoration:none;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.catalog-preview-users{padding:12px 0}.catalog-preview-users>b{display:block;margin-bottom:6px}.catalog-preview-users>div{display:grid;grid-template-columns:27px minmax(0,1fr) auto;align-items:center;gap:8px;padding:5px 0}.catalog-preview-users strong{font-weight:650;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.catalog-preview-users em{font-style:normal;color:#4d6d75;background:#eef5f3;border-radius:999px;padding:4px 7px;font-size:12px}.catalog-preview-users>small{color:var(--muted)}.catalog-preview-actions{display:flex;align-items:center;gap:10px;padding-top:11px;border-top:1px solid var(--line)}.catalog-preview-open{margin-left:auto;text-decoration:none;color:#3f6f7b;font-weight:750}
.resource-hover-preview{position:fixed;z-index:1450;max-height:min(640px,calc(100vh - 20px));overflow:auto;background:#fff;border:1px solid #cddbd8;border-radius:13px;box-shadow:0 18px 44px rgba(28,48,52,.22)}.resource-hover-preview[hidden]{display:none!important}.resource-hover-preview .catalog-preview-card{padding:14px 15px}.resource-hover-preview .catalog-preview-head h3{font-size:18px}.resource-hover-preview .catalog-preview-facts{grid-template-columns:128px minmax(0,1fr)}
@media(max-width:1200px){.resource-catalog-list-layout{grid-template-columns:minmax(330px,44%) minmax(0,1fr)}.resource-catalog-filters select{min-width:140px;max-width:190px}.resource-tile-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}}
@media(max-width:900px){.resources-catalog-page{display:block;overflow:visible}.resource-catalog-list-layout{display:grid;grid-template-columns:1fr;min-height:0;overflow:visible}.resource-catalog-list-pane{max-height:48vh}.resource-catalog-preview-pane{min-height:420px;max-height:70vh}.resource-catalog-tiles-view{overflow:visible}.resource-catalog-filters select{flex:1 1 180px;max-width:none}.resource-catalog-filter-reset{margin-left:0}.resource-hover-preview{display:none!important}.resource-tile-grid{grid-template-columns:repeat(auto-fill,minmax(210px,1fr))}}
@media(max-width:620px){.resource-catalog-heading{align-items:flex-start;flex-direction:column}.resource-view-toggle{align-self:stretch}.resource-view-toggle button{flex:1;justify-content:center}.resource-catalog-filters{display:grid;grid-template-columns:1fr}.resource-catalog-filters>*{max-width:none!important;width:100%}.resource-compact-row{grid-template-columns:46px minmax(0,1fr);align-items:start}.resource-compact-meta{grid-column:2;flex-wrap:wrap}.resource-tile-grid{grid-template-columns:1fr}.catalog-preview-head{grid-template-columns:52px minmax(0,1fr)}.catalog-preview-state{grid-column:2}.catalog-preview-facts{grid-template-columns:1fr}.catalog-preview-facts span{margin-top:4px}.catalog-preview-actions{align-items:stretch;flex-direction:column}.catalog-preview-open{margin-left:0;text-align:center}}

/* Resource catalog group UX: collapsible, light section boundaries, persisted state. */
.resource-catalog-group{margin-bottom:8px;padding-bottom:7px;border-bottom:1px solid #dfe8e6}.resource-catalog-group:last-child{margin-bottom:0;padding-bottom:0;border-bottom:0}.resource-catalog-group+.resource-catalog-group{border-top:0}.resource-catalog-group-head{height:auto;min-height:55px;padding:4px 6px;background:transparent;position:sticky;top:0;z-index:3}.resource-catalog-group-toggle{width:100%;min-height:47px;border:0;border-radius:9px;background:#f4f8f7;padding:4px 8px;display:grid;grid-template-columns:20px 46px minmax(0,1fr) auto;align-items:center;gap:8px;text-align:left;color:var(--text)}.resource-catalog-group-toggle:hover{background:#eef5f3}.resource-catalog-group.expanded>.resource-catalog-group-head .resource-catalog-group-toggle{background:#eef5f3;box-shadow:inset 3px 0 0 rgba(78,115,128,.46)}.resource-catalog-group.collapsed>.resource-catalog-group-head .resource-catalog-group-toggle{background:#f8fbfa}.resource-catalog-group-chevron{font-style:normal;color:#658087;font-size:24px;line-height:1;transform:rotate(90deg);transition:transform .14s ease;display:grid;place-items:center}.resource-catalog-group.collapsed .resource-catalog-group-chevron{transform:rotate(0deg)}.resource-catalog-group-head .resource-logo{box-shadow:0 0 0 1px rgba(78,115,128,.06)}.resource-catalog-group-head .resource-logo img{width:31px;height:31px}.resource-catalog-group-head .catalog-group-logo b{font-size:13px}.resource-catalog-group-head .resource-catalog-group-toggle>b{font-size:16.5px;line-height:1.2}.resource-catalog-group-count{justify-self:end;font-size:12px!important;color:var(--muted)!important;background:#e7efed!important;border-radius:999px!important;padding:3px 8px!important;white-space:nowrap}.resource-catalog-group-body[hidden]{display:none!important}.resource-catalog-group.expanded>.resource-catalog-group-body{border-top:1px solid #e8efed}.resource-catalog-group.compact>.resource-catalog-group-body{padding-top:3px}.resource-catalog-group.collapsed{padding-bottom:5px}.resource-catalog-tiles-view .resource-catalog-group{border:1px solid var(--line);border-radius:12px;background:#fff;overflow:hidden;margin-bottom:10px;padding-bottom:0}.resource-catalog-tiles-view .resource-catalog-group-head{position:static;min-height:58px;padding:5px 7px}.resource-catalog-tiles-view .resource-catalog-group-toggle>b{font-size:18px}.resource-catalog-tiles-view .resource-catalog-group.expanded>.resource-catalog-group-body{border-top:1px solid #e8efed}.resource-catalog-tiles-view .resource-catalog-group.collapsed>.resource-catalog-group-head .resource-catalog-group-toggle{background:#f8fbfa}
@media(max-width:620px){.resource-catalog-group-toggle{grid-template-columns:18px 42px minmax(0,1fr) auto;gap:6px;padding-left:6px;padding-right:6px}.resource-catalog-group-head .resource-logo.catalog-logo-large{width:42px!important;height:42px!important;min-width:42px!important;flex-basis:42px!important}.resource-catalog-group-head .resource-logo.catalog-logo-large img{width:28px!important;height:28px!important}.resource-catalog-group-count{font-size:11px!important;padding:2px 6px!important}.resource-catalog-group-head .resource-catalog-group-toggle>b{font-size:15.5px}}

.review-resource-title{display:flex;align-items:center;gap:9px}.review-resource-title h3{margin:0}.graph-node{display:flex;align-items:center;gap:9px}.graph-node-copy{min-width:0;display:block;flex:1}.preview-link{gap:9px}.preview-link>.resource-logo{flex:0 0 auto}.resource-logo img{object-fit:contain}.resource-logo.catalog-logo-compact img{max-width:100%;max-height:100%}

.resource-link-pair{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:4px}.resource-link-pair>i{font-style:normal;color:var(--muted)}


/* Structured resource preview: main facts + access cards. */
.catalog-preview-content{display:flex;flex-direction:column;gap:12px;padding:13px 0}
.catalog-preview-section{border:1px solid #dde8e5;border-radius:11px;background:#fbfdfc;padding:12px 13px;min-width:0}
.catalog-preview-section h4{margin:0 0 10px;font-size:15px;line-height:1.2}
.catalog-preview-main .catalog-preview-facts{padding:0}
.catalog-preview-section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
.catalog-preview-section-head h4{margin:0}
.catalog-preview-section-head>span{display:inline-grid;place-items:center;min-width:28px;height:24px;padding:0 7px;border-radius:999px;background:#e8f0ee;color:#557179;font-size:12px;font-weight:800}
.catalog-preview-content>.catalog-preview-relations{padding:12px 13px;border:1px solid #dde8e5;border-radius:11px;background:#fbfdfc}
.catalog-preview-content>.catalog-preview-relations>b{font-size:15px}
.catalog-access-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.catalog-access-card{min-width:0;border:1px solid #d9e5e2;border-radius:10px;background:#fff;padding:10px 11px}
.catalog-access-card-head{display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:8px;min-width:0}
.catalog-access-card-head strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13.5px}
.catalog-access-card-head em{font-style:normal;color:#4d6d75;background:#eef5f3;border-radius:999px;padding:4px 7px;font-size:11.5px;white-space:nowrap}
.catalog-access-card-meta{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:8px;padding-left:36px;color:#6c8288;font-size:12px}
.catalog-access-status{font-weight:750;color:#6d7f84}
.catalog-access-status.ok{color:#2f7b57}
.catalog-preview-more{grid-column:1/-1;padding:4px 2px 0;color:var(--muted);font-size:12px;font-weight:650}
.catalog-access-empty{grid-column:1/-1;color:var(--muted)}
@media(max-width:1180px){.catalog-access-card-grid{grid-template-columns:1fr}}
@media(max-width:900px){.resource-catalog-preview-pane{max-height:none}.catalog-access-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.catalog-access-card-grid{grid-template-columns:1fr}}
@media(max-width:620px){.catalog-preview-content{gap:9px;padding:10px 0}.catalog-preview-section,.catalog-preview-content>.catalog-preview-relations{padding:10px}.catalog-access-card-head{grid-template-columns:28px minmax(0,1fr)}.catalog-access-card-head em{grid-column:2;justify-self:start}.catalog-access-card-meta{padding-left:36px}.catalog-preview-actions .button-link{width:100%;text-align:center}}

/* Semantic dividers for dense resource rows. */
.resources-catalog-page .resource-compact-meta{border-left:1px solid var(--line);padding-left:11px;margin-left:2px}
.resource-manager-row .rm-row-state{border-left:1px solid var(--line);padding-left:11px}
@media(max-width:620px){.resources-catalog-page .resource-compact-meta{border-left:0;border-top:1px solid #e5ecea;padding-left:0;padding-top:6px;margin-left:0}.resource-manager-row .rm-row-state{border-left:0;padding-left:0}}

/* In-app help */
.top-help-link{height:38px;display:inline-flex;align-items:center;gap:6px;padding:0 9px;border:1px solid var(--line);background:#f9fbfb;border-radius:9px;text-decoration:none;color:var(--muted);font-size:14px;font-weight:500;white-space:nowrap}
.top-help-link b{font-weight:500}
.top-help-link:hover,.top-help-link.active{background:#eef4f2;color:#52666c;border-color:#c8d8d4}
.top-help-link>span{width:18px;height:18px;border:1px solid #a9b9bd;border-radius:50%;display:grid;place-items:center;font-size:11px;line-height:1;font-weight:650}
.help-page{max-width:1180px;margin:0 auto}.help-hero{display:flex;align-items:center;gap:24px;margin-bottom:13px;background:linear-gradient(135deg,#f7faf9,#edf4f2)}
.help-hero>div:first-child{flex:1}.help-kicker{font-size:11px;font-weight:850;letter-spacing:.11em;color:#6a848b;margin-bottom:7px}.help-hero h1{margin:0 0 7px;font-size:25px;letter-spacing:-.025em}.help-hero p{margin:0;color:var(--muted);line-height:1.55;max-width:850px}.help-hero-icon{width:58px;height:58px;flex:0 0 58px;border-radius:18px;background:#e3eeeb;color:#4f7680;display:grid;place-items:center;font-size:31px;font-weight:850}
.help-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:13px;align-items:start}.help-index{position:sticky;top:77px}.help-index>a{display:flex;gap:10px;align-items:flex-start;padding:10px 8px;border-top:1px solid var(--line);text-decoration:none;color:#42585e}.help-index>a:hover{background:#f3f7f6}.help-index>a>span{font-size:11px;color:#8b9a9e;margin-top:2px}.help-index>a>b{font-size:13px;line-height:1.35}.help-content{display:flex;flex-direction:column;gap:13px}.help-section{scroll-margin-top:76px}.help-section-head{display:flex;gap:12px;align-items:flex-start;margin-bottom:14px}.help-section-head>span{width:31px;height:31px;flex:0 0 31px;border-radius:9px;background:#e7f0ee;color:#557982;display:grid;place-items:center;font-size:11px;font-weight:850}.help-section-head h2{margin:0 0 4px;font-size:19px}.help-section-head p{margin:0;color:var(--muted);line-height:1.48}.help-alert{background:var(--amberSoft);border:1px solid #ead8b7;border-radius:10px;padding:11px 13px;margin-bottom:13px}.help-alert b,.help-alert span{display:block}.help-alert span{margin-top:3px;color:#6b5a42;line-height:1.45}.help-steps{margin:0;padding:0;list-style:none;counter-reset:helpstep;display:flex;flex-direction:column}.help-steps li{position:relative;padding:10px 10px 10px 43px;border-top:1px solid #e8efed;counter-increment:helpstep}.help-steps li:before{content:counter(helpstep);position:absolute;left:7px;top:10px;width:24px;height:24px;border-radius:8px;background:#eef4f2;color:#54717a;display:grid;place-items:center;font-size:11px;font-weight:850}.help-steps b,.help-steps span{display:block}.help-steps span{color:var(--muted);margin-top:3px;line-height:1.46}.help-steps.emphasized li:before{background:#e5efec;color:#476e78}.help-action{display:inline-flex;margin-top:12px}.help-two-cards,.help-password-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.help-two-cards>div,.help-password-grid>div{border:1px solid var(--line);background:#f8fbfa;border-radius:10px;padding:12px}.help-two-cards b,.help-two-cards span,.help-password-grid span,.help-password-grid b{display:block}.help-two-cards span{color:var(--muted);margin-top:5px;line-height:1.45}.help-safe-note{margin-top:12px;padding:10px 12px;border-radius:10px;background:#eef6f2;border:1px solid #d6e7df;color:#526a61;line-height:1.45}.help-password-grid>div>span{font-size:11px;color:#7d8e92;text-transform:uppercase;letter-spacing:.04em}.help-password-grid>div>b{margin-top:4px}.help-password-grid p{margin:5px 0 0;color:var(--muted);line-height:1.45}
@media(max-width:980px){.top-help-link b{display:none}.top-help-link{width:38px;padding:0;justify-content:center}.help-layout{grid-template-columns:1fr}.help-index{position:static;display:grid;grid-template-columns:1fr 1fr}.help-index .section-title{grid-column:1/-1}.help-index>a{border:1px solid var(--line);border-radius:8px;margin:3px}.help-two-cards,.help-password-grid{grid-template-columns:1fr}}
@media(max-width:650px){.help-hero-icon{display:none}.help-index{grid-template-columns:1fr}.help-page{min-width:0}.help-section-head{gap:9px}.help-section-head h2{font-size:17px}}


/* 2026-09-06 — unified entity emphasis and native scroll chaining.
   Meaningful table entities use one visual weight; nested work areas hand
   scrolling to an ancestor when their own edge is reached. Overlay/modal
   scroll areas are intentionally excluded from this rule. */
.employees-table .employee-list-person .person-name-surname,
.employees-table .employee-list-person .person-name-rest{
 font-weight:800;
 color:var(--text);
}

.registry-scroll,
.table-scroll-region,
.resources-table,
.integrity-table-wrap,
.resource-access-table-wrap,
.resource-graph-canvas,
.tree-scroll,
.preview-scroll,
.resource-catalog-list-pane,
.resource-catalog-preview-pane,
.resource-catalog-tiles-view,
.top-page-actions,
.management-inline-filters,
.tabs{
 overscroll-behavior:auto;
}



/* Global RCD typography standard — 2026-09-06.
   Approved reference: employee name on Accesses.
   Regular copy stays regular; every intentional strong emphasis uses one weight. */
:root{--ui-emphasis-weight:700}
b,
strong,
h1,
h2,
h3,
h4,
h5,
h6,
.nav-label,
.section-title,
.attention-icon,
.primary,.secondary,.danger,
.avatar,
.badge,
.tabs a.active,
.issue-button,
.company-root,
.modal-card>label,.form-grid label,
.login-card label,
.review-type,
.extra-pair b,
.soft-details summary,
.data-table th,
.state-pill,
.handoff-title,
.handoff-row>b,
.assignment-summary,
.new-access-grid label,
.tabs-primary-action,
.sort-head,
.view-switch a.active,
.management-responsible,
.side-nav>a.active,
.tabs-back-action,
.inline-editor-save,.inline-editor-cancel,
.danger-link,
.review-card-password>span,
.hello-fingerprint,
.dialog-field,
.flag-sort-button,
.dismissed-badge,
.company-person-menu,
.dismissed-company-block summary,
.management-compact-head>span,
.resource-manager-fields label,
.rm-edit-action,
.rm-type-label,
.rm-editor-eyebrow,
.access-method-pill,.access-profile-label,
.attention-text,
.resource-credential-grid label,
.resource-profile-select,
.access-profile-guidance-icon,
.access-row-open,
.access-missing-action,
.access-drawer-head small,
.access-drawer-body>label,.drawer-two-col>label,.drawer-section>label,
.drawer-section-title,
.password-reveal-inline,
.drawer-state-value,
.drawer-system-meta span,
.access-source-row .system-meta-value,
.settings-ok,
.delivery-mode-box legend,
.access-row-remove,
.integrity-issue summary span,
.resource-completion-control-title,
.employees-table .employee-list-person .person-name-surname,
.resource-name-main,
.resource-name-qualifier,
.integrity-severity,
.integrity-entity-link,
.new-access-title small,
.new-access-shared-state span,
.new-access-static-value,.drawer-fixed-value,
.schema-field-row>span,
.resource-view-toggle button,
.catalog-state,
.catalog-preview-state,
.catalog-preview-relations a,
.catalog-preview-users strong,
.catalog-preview-open,
.catalog-preview-section-head>span,
.catalog-access-status,
.catalog-preview-more,
.top-help-link>span,
.help-kicker,
.help-hero-icon,
.help-section-head>span,
.help-steps li:before{
 font-weight:var(--ui-emphasis-weight)!important;
}

/* Reviews layout: keep dates and action labels intact; overflow stays horizontal. */
.review-list-table .data-table{min-width:1260px;table-layout:fixed}
.review-list-table th:nth-child(1),.review-list-table td:nth-child(1){width:180px}
.review-list-table th:nth-child(2),.review-list-table td:nth-child(2){width:300px}
.review-list-table th:nth-child(3),.review-list-table td:nth-child(3){width:150px}
.review-list-table th:nth-child(4),.review-list-table td:nth-child(4){width:190px;white-space:nowrap}
.review-list-table th:nth-child(5),.review-list-table td:nth-child(5){width:250px}
.review-list-table th:nth-child(6),.review-list-table td:nth-child(6){width:230px}
.review-list-table td:nth-child(1)>a>b,
.review-list-table td:nth-child(2)>b,
.review-list-table td:nth-child(5)>b,
.review-list-table .badge,
.review-list-table .review-actions,
.review-list-table .review-actions .button-link,
.review-list-table .review-actions .danger-link{white-space:nowrap;overflow-wrap:normal;word-break:normal}
.review-list-table .review-actions{min-width:220px}
.review-list-table .review-actions .button-link,.review-list-table .review-actions .danger-link{display:inline-flex;align-items:center;justify-content:center}

/* Unified primary-entity typography — 2026-09-06.
   Reference: employee name on Accesses, native <b> = 700.
   Applies to primary entity names, not headings/statuses/navigation. */
:root{--entity-primary-weight:700}
.entity-main b,
.resource-cell b,
.employees-table .employee-list-person .person-name-surname,
.employees-table .employee-list-person .person-name-rest,
.resource-name-main,
.resource-name-qualifier,
.company-person b,
.relation-card b,
.resource-access-employee b,
.resource-compact-copy b,
.resource-tile-copy b,
.catalog-preview-head h3,
.catalog-preview-users strong,
.catalog-preview-relations a,
.graph-node b,
.tree-resource-name,
.preview-head h2,
.entity-copy h1,
.review-resource-title h3,
.integrity-entity-link{
 font-weight:var(--entity-primary-weight);
}



/* Review comparison grouped by resource; state is explicit, not color-only. */
.review-page-v2 .review-summary-v2{align-items:center;flex-wrap:wrap;gap:9px 14px}
.review-summary-pending,.review-summary-clarify{display:inline-flex;align-items:center;border-radius:999px;padding:5px 9px;font-weight:700}
.review-summary-pending{background:#fff3dc;color:#8a5d1f;border:1px solid #efd6aa}
.review-summary-clarify{background:#fff0df;color:#985817;border:1px solid #efc998}
.review-resource-groups{display:flex;flex-direction:column;gap:12px;margin-top:10px}
.review-resource-group{border:1px solid var(--line);border-radius:11px;background:var(--panel);overflow:hidden}
.review-resource-group-head{display:flex;align-items:center;gap:12px;padding:11px 13px;border-bottom:1px solid var(--line);background:#f7faf9}
.review-resource-group-head .review-resource-title{flex:1;min-width:0}
.review-resource-group-head .review-resource-title>div{min-width:0}
.review-resource-group-head h3{margin:0;font-size:16px;font-weight:700}
.review-resource-group-head .review-resource-title span{display:block;color:var(--muted);font-size:14px;margin-top:2px}
.review-change-table{width:100%}
.review-change-head,.review-change-row{display:grid;grid-template-columns:minmax(175px,.9fr) minmax(170px,1fr) minmax(170px,1fr) minmax(190px,1.15fr) minmax(250px,1.15fr);align-items:stretch}
.review-change-head{background:#eef3f2;color:#607176;text-transform:uppercase;font-size:14px;font-weight:700;border-bottom:1px solid var(--line)}
.review-change-head>span{padding:8px 10px;border-right:1px solid #dfe7e5}.review-change-head>span:last-child{border-right:0}
.review-change-row{font-size:16px;border-bottom:1px solid #e6edeb;background:#fff}.review-change-row:last-child{border-bottom:0}
.review-change-row>div{min-width:0;padding:10px;border-right:1px solid #e6edeb}.review-change-row>div:nth-child(5){border-right:0}
.review-change-field b{display:block;font-weight:700;line-height:1.3}.review-change-field small{display:block;color:var(--muted);font-size:14px;margin-top:3px}
.review-conflict-badge{display:inline-flex;margin-top:6px;border-radius:999px;padding:3px 7px;background:#fff0df;color:#985817;border:1px solid #efc998;font-size:12px;font-weight:700}
.review-compare-value{display:flex;align-items:flex-start;line-height:1.4;overflow-wrap:anywhere;word-break:break-word}.review-compare-value>span,.review-compare-value>strong{min-width:0}.review-compare-value.returned{background:#f8fbfa}.review-compare-value.returned strong{font-weight:700}
.review-change-decision{display:flex;flex-direction:column;align-items:stretch;gap:7px}
.review-state-badge{align-self:flex-start;display:inline-flex;align-items:center;gap:5px;border-radius:999px;padding:4px 8px;border:1px solid #d8e1df;background:#f3f6f5;color:#53676d;font-size:13px;font-weight:700;white-space:nowrap}
.review-state-badge.state-pending{background:#fff3dc;border-color:#efd6aa;color:#8a5d1f}
.review-state-badge.state-accepted,.review-state-badge.state-applied{background:#e7f4ec;border-color:#aed5bb;color:#246c48}
.review-state-badge.state-rejected{background:#fff0ef;border-color:#e8bbb7;color:#a23f39}
.review-state-badge.state-clarify{background:#fff0df;border-color:#efc998;color:#985817}
.review-state-badge.state-profile_wait{background:#edf2f6;border-color:#cad7df;color:#496573}
.review-decision-buttons{display:flex;gap:5px;flex-wrap:wrap}.review-decision-buttons button,.review-decision-buttons .buttonlike{min-height:31px;height:auto;padding:5px 8px;border-radius:7px;border:1px solid var(--line);background:#fff;font-weight:700;font-size:13px}
.review-decision-buttons .accept{border-color:#9fc9ae;color:#246c48}.review-decision-buttons .reject{border-color:#e0b7b4;color:#9d4540}.review-decision-buttons .clarify{border-color:#e7c79c;color:#8a5d1f}
.review-row-question{grid-column:1/-1;border-right:0!important;margin:0 10px 10px!important}
/* Old review side-stripe colors are intentionally not used in the grouped UI. */
@media(max-width:1180px){
 .review-change-head{display:none}
 .review-change-row{grid-template-columns:1fr 1fr}
 .review-change-row>div{border-right:0;border-bottom:1px solid #e6edeb}
 .review-change-field,.review-change-decision{grid-column:1/-1}
 .review-compare-value{display:block}
 .review-compare-value::before{content:attr(data-label);display:block;color:var(--muted);font-size:14px;margin-bottom:4px}
}
@media(max-width:760px){
 .review-resource-group-head{align-items:flex-start;flex-wrap:wrap}.review-resource-group-head>a{margin-left:44px}
 .review-change-row{grid-template-columns:1fr}
 .review-change-field,.review-change-decision{grid-column:auto}
}


/* Review mirrors employee-card grouping and shows remaining required fields. */
.review-summary-missing{display:inline-flex;align-items:center;border-radius:999px;padding:5px 9px;font-weight:700;background:#fff0ef;color:#a23f39;border:1px solid #e8bbb7}
.review-summary-grouping{color:var(--muted);font-size:14px}
.review-card-context-note{margin:8px 0 0}
.review-section-list{display:flex;flex-direction:column;gap:10px;margin-top:10px}
.review-card-section{border:1px solid var(--line);border-radius:12px;background:#fff;overflow:hidden}
.review-card-section>summary{list-style:none}.review-card-section>summary::-webkit-details-marker{display:none}
.review-card-section-head{min-height:56px;padding:6px 10px;display:grid;grid-template-columns:22px 42px minmax(0,1fr) auto auto auto;align-items:center;gap:8px;background:#f4f8f7;cursor:pointer}
.review-card-section[open]>.review-card-section-head{background:#eef5f3;border-bottom:1px solid #e3ebe9}
.review-section-chevron{font-size:24px;line-height:1;color:#658087;display:grid;place-items:center;transition:transform .14s ease}
.review-card-section[open]>.review-card-section-head .review-section-chevron{transform:rotate(90deg)}
.resource-logo.review-section-logo{width:40px!important;height:40px!important;min-width:40px!important;flex-basis:40px!important;border-radius:10px}.resource-logo.review-section-logo img{width:31px!important;height:31px!important}
.review-card-section-head>strong{font-size:16.5px;font-weight:700;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.review-section-count,.review-section-meta,.review-section-missing{font-size:12.5px;border-radius:999px;padding:3px 8px;white-space:nowrap}
.review-section-count{background:#e7efed;color:var(--muted)}.review-section-meta{background:#edf3f2;color:#53676d}.review-section-missing{background:#fff0ef;color:#a23f39;border:1px solid #ecc4c0}
.review-card-section-body{padding:8px;display:flex;flex-direction:column;gap:8px;background:#fbfdfd}
.review-card-section-body .review-resource-group{margin:0}
.review-resource-head-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.resource-logo.review-logo{width:42px!important;height:42px!important;min-width:42px!important;flex-basis:42px!important;border-radius:10px}.resource-logo.review-logo img{width:33px!important;height:33px!important}
.review-resource-missing-badge{display:inline-flex;align-items:center;border-radius:999px;padding:4px 8px;background:#fff0ef;border:1px solid #e8bbb7;color:#a23f39;font-size:13px;font-weight:700;white-space:nowrap}
.review-missing-fields{display:flex;align-items:flex-start;gap:10px;padding:9px 12px;background:#fff8f7;border-bottom:1px solid #edd8d5;color:#6d4b48}.review-missing-fields>b{white-space:nowrap}.review-missing-fields>div{display:flex;gap:6px;flex-wrap:wrap}.review-missing-fields span{display:inline-flex;border-radius:999px;padding:3px 7px;background:#fff;border:1px solid #e8c6c2;color:#8f4842;font-size:13px}
.review-no-changes{padding:11px 12px;color:var(--muted);background:#fbfdfd}
@media(max-width:1000px){.review-card-section-head{grid-template-columns:20px 40px minmax(0,1fr) auto}.review-section-meta,.review-section-missing{grid-column:3/-1;justify-self:start}.review-missing-fields{display:block}.review-missing-fields>b{display:block;margin-bottom:6px}.review-resource-head-actions{width:100%;justify-content:flex-start}}
@media(max-width:620px){.review-card-section-head{grid-template-columns:18px 38px minmax(0,1fr);gap:6px}.review-section-count,.review-section-meta,.review-section-missing{grid-column:3;justify-self:start}.resource-logo.review-section-logo{width:36px!important;height:36px!important;min-width:36px!important;flex-basis:36px!important}.resource-logo.review-section-logo img{width:28px!important;height:28px!important}.review-resource-group-head{align-items:center}.review-resource-group-head>a{margin-left:0}.review-resource-head-actions{margin-left:50px}}

/* Password editing is explicitly tied to the unlocked vault. */
.vault-secret-locked{
 background:#f2f5f4!important;
 color:#7c8b8f!important;
 cursor:pointer!important;
}
.vault-secret-locked::placeholder{color:#9aa7aa}
.password-entry-tools{display:flex;align-items:center;gap:8px;margin-top:3px}
.password-entry-tools>label{display:inline-flex!important;flex-direction:row!important;align-items:center;gap:6px;font-size:12px!important;font-weight:500!important;color:var(--muted)!important;cursor:pointer}
.password-entry-tools input[type="checkbox"]{width:15px!important;height:15px!important;min-height:0!important;margin:0}
.dialog-toast{position:fixed;right:20px;bottom:20px;z-index:20;background:#2e454d;color:#fff;padding:10px 13px;border-radius:9px;box-shadow:var(--shadow);opacity:0;transform:translateY(14px);pointer-events:none;transition:.18s;max-width:min(460px,calc(100vw - 40px))}
.dialog-toast.show{opacity:1;transform:none}.dialog-toast.error{background:#8d403b}


/* Standard password pattern in the resource access drawer. */
.drawer-password-control{display:flex;flex-direction:column;gap:6px}
.drawer-password-label{color:#536970;font-size:14px;font-weight:700}
.drawer-password-current{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:38px}
.drawer-password-current .password-state{min-width:0}
.drawer-password-current .password-state b{color:var(--text);font-weight:700}
.drawer-password-current .mini-icon:disabled{opacity:.38;cursor:default}
.drawer-password-change{display:flex;flex-direction:column;gap:6px;padding-top:3px}
.drawer-password-change[hidden]{display:none!important}
.password-entry-control{display:flex;align-items:center;gap:6px}
.password-entry-control input{flex:1;min-width:0}
.password-entry-control .mini-icon{flex:0 0 36px;width:36px;height:36px}
.drawer-password-cancel{align-self:flex-start}


/* PATCH094 — compact page header system.
   One density contract for the application shell, registry workbars and entity headers.
   Content typography is unchanged; only excess chrome/padding is reduced. */
:root{
 --compact-topbar-h:48px;
 --compact-control-h:34px;
 --compact-entity-h:62px;
}
.topbar{
 height:var(--compact-topbar-h);
 flex-basis:var(--compact-topbar-h);
 padding:0 14px;
 gap:7px;
}
.top-page-actions{gap:6px}
.top-filter,.compact-button,.employee-live-search,.user-chip,.top-help-link,.topbar .icon-button{
 height:var(--compact-control-h)!important;
 min-height:var(--compact-control-h)!important;
}
.top-filter{padding:0 8px}
.compact-button{padding:0 10px}
.employee-live-search{margin-left:2px}
.employee-live-search .icon-button{width:36px!important}
.user-chip{padding:0 8px}
.top-help-link{padding:0 8px}
.content{padding:10px 22px 32px}

/* Compact entity header: employee/resource cards use the same proportions. */
.entity-hero{
 min-height:var(--compact-entity-h);
 padding:7px 11px;
 gap:10px;
 margin-bottom:4px;
 border-radius:11px;
}
.entity-hero .avatar.large,
.entity-hero .resource-logo.large{
 width:42px!important;height:42px!important;min-width:42px!important;flex-basis:42px!important;border-radius:11px!important;
}
.entity-hero .resource-logo.large img{width:28px!important;height:28px!important}
.entity-copy h1{font-size:24px;line-height:1.14;margin:0 0 1px}
.entity-copy p{font-size:14px;line-height:1.22;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hero-metrics{gap:4px}
.hero-metrics>div{min-width:94px;padding:4px 8px;border-radius:8px}
.hero-metrics span{font-size:11.5px}
.hero-metrics b{font-size:15px;margin-top:0}
.hero-actions{gap:5px}
.hero-actions .primary,.hero-actions .secondary,.hero-actions .danger{height:34px;padding:0 10px}
.tabs{min-height:36px;gap:16px;margin-bottom:8px}
.tabs a{padding:6px 0 7px}
.tabs-primary-action,.tabs-back-action{height:32px;margin-bottom:4px;padding:0 10px}

/* Shared compact workbar. */
.compact-page-bar{
 min-height:48px;
 padding:6px 9px!important;
 margin-bottom:8px!important;
 display:flex!important;
 align-items:center!important;
 gap:8px!important;
 flex:0 0 auto;
}

/* Resources: title + primary filters + view selector in one row.
   Less-used status/state filters live in an on-demand popover. */
.resource-catalog-toolbar{background:#f8fbfa}
.resource-catalog-heading{margin:0;flex:0 0 auto}
.resource-catalog-heading>div:first-child>b{font-size:17px}
.resource-catalog-heading>div:first-child>span{font-size:12px}
.resource-catalog-filters{flex:1 1 auto;min-width:0;flex-wrap:nowrap;gap:6px}
.resource-catalog-filters select{height:34px;min-width:130px;max-width:190px;padding:0 8px}
.resource-catalog-filters #resourceCatalogGroupBy{min-width:190px;max-width:230px}
.resource-view-toggle{flex:0 0 auto;padding:2px}
.resource-view-toggle button{height:30px;padding:0 8px}
.compact-filter-menu{position:relative;flex:0 0 auto}
.compact-filter-menu>summary{list-style:none;height:34px;display:flex;align-items:center;padding:0 10px;border:1px solid #cad8d5;border-radius:8px;background:#fff;color:#44575d;cursor:pointer;white-space:nowrap;font-weight:var(--ui-emphasis-weight)}
.compact-filter-menu>summary::-webkit-details-marker{display:none}
.compact-filter-menu[open]>summary{background:#eef4f2;border-color:#afc3be}
.compact-filter-popover{position:absolute;right:0;top:39px;z-index:80;width:290px;padding:10px;border:1px solid var(--line);border-radius:10px;background:#fff;box-shadow:var(--shadow);display:grid;gap:8px}
.compact-filter-popover label{display:grid;gap:4px;color:var(--muted);font-size:13px}
.compact-filter-popover select{width:100%;max-width:none!important;height:36px}
.compact-filter-popover .resource-catalog-filter-reset{margin:2px 0 0}

/* Reviews: one workbar, then the table immediately. Help text belongs to Help. */
.review-control-v12{grid-template-columns:auto minmax(0,1fr)!important}
.review-control-v12 .review-control-copy{display:block!important;flex:0 0 auto}
.review-control-v12 .review-control-copy h2{font-size:18px!important;margin:0!important;white-space:nowrap}
.review-control-v12 .review-control-copy p{display:none!important}
.review-create-tools-v13{display:flex!important;align-items:center!important;justify-content:flex-end;gap:6px!important;min-width:0;width:100%}
.review-create-tools-v13 .review-employee-combobox{flex:1 1 320px;max-width:520px;min-width:230px}
.review-employee-search input{height:34px;font-size:15px;padding-right:36px}
.review-employee-search span{right:11px;font-size:18px}
.review-toolbar{display:none!important}

/* Keep working area dominant on registry pages. */
.registry-content{padding-top:8px}
.resources-catalog-page{min-height:0}

@media(max-width:1180px){
 .resource-catalog-heading{display:none}
 .resource-catalog-filters #resourceCatalogCompany{max-width:160px}
 .resource-catalog-filters #resourceCatalogKind{max-width:170px}
 .review-control-v12 .review-control-copy{display:none!important}
}
@media(max-width:900px){
 .content{padding:9px 14px 28px}
 .entity-hero{min-height:auto;flex-wrap:wrap}
 .entity-copy h1{font-size:21px}
 .hero-metrics{order:3;width:100%;margin-left:0}
 .review-control-v12{display:block!important}
 .review-create-tools-v13{display:grid!important;grid-template-columns:1fr 1fr!important}
 .review-create-tools-v13 .review-employee-combobox{grid-column:1/-1;max-width:none}
 .resource-catalog-toolbar{overflow-x:auto}
 .resource-catalog-filters{min-width:max-content}
}
@media(max-width:650px){
 .topbar{height:46px;flex-basis:46px;padding:0 9px}
 .content{padding:8px 9px 24px}
 .entity-hero{padding:7px 9px}
 .hero-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
 .tabs{min-height:34px;margin-bottom:7px}
 .review-create-tools-v13{grid-template-columns:1fr!important}
 .review-create-tools-v13>*{grid-column:1!important;width:100%}
 .resource-catalog-heading{display:none}
 .resource-catalog-filters{display:flex!important;min-width:max-content}
 .resource-view-toggle{align-self:center}
}

/* PATCH095 — global topbar actions.
   Context actions live in the shared topbar; global tools remain on the right.
   Entity headers keep identity/metrics only, and registry content starts immediately below. */
.top-page-actions>.topbar-review-employee{flex:1 1 330px;max-width:520px;min-width:250px;margin-left:0}
.topbar-review-employee input{height:var(--compact-control-h)!important;font-size:15px!important;padding-right:36px!important}
.topbar-review-employee span{right:11px!important;font-size:18px!important}
.top-page-actions .danger-link.compact-button,
.top-page-actions .danger.compact-button{height:var(--compact-control-h)!important;min-height:var(--compact-control-h)!important;padding:0 10px;white-space:nowrap}
.entity-hero>.hero-metrics{margin-left:auto}
.entity-tabs-with-action{min-height:34px}
.reviews-registry-content{padding-top:8px!important}
.review-identity-line{display:flex;align-items:baseline;gap:10px;min-height:30px;padding:2px 0 4px;color:var(--muted);white-space:nowrap;overflow:hidden}
.review-identity-line>b{color:var(--text);font-size:17px;font-weight:var(--ui-emphasis-weight);flex:0 0 auto}
.review-identity-line>span{overflow:hidden;text-overflow:ellipsis}
.topbar-review-status{height:32px;display:inline-flex;align-items:center;padding:0 10px;white-space:nowrap}
.review-page-v2>.review-tabs{margin-top:0}

@media(max-width:1180px){
 .top-page-actions>.topbar-review-employee{min-width:230px;max-width:390px}
 .top-page-actions .danger.compact-button{display:none}
}
@media(max-width:900px){
 .top-page-actions>.topbar-review-employee{min-width:220px;max-width:330px}
 .review-identity-line{white-space:normal;flex-wrap:wrap;gap:3px 8px}
}

/* Review history actions: centered and multiline labels visually aligned. */
.review-history-table th:nth-child(7),.review-history-table th:nth-child(8),.review-history-table th:nth-child(9),.review-history-table td:nth-child(7),.review-history-table td:nth-child(8),.review-history-table td:nth-child(9){text-align:center;vertical-align:middle}
.review-history-table td:nth-child(7)>.compact-button,.review-history-table td:nth-child(9)>.compact-button,.review-history-table td:nth-child(7)>button,.review-history-table td:nth-child(9)>button{display:inline-flex;align-items:center;justify-content:center;text-align:center;line-height:1.15;margin-inline:auto}
.review-history-table td:nth-child(8) .https-link-actions{justify-content:center;margin-inline:auto}
.review-history-table td:nth-child(8) .https-link-actions>.compact-button{display:inline-flex;align-items:center;justify-content:center;text-align:center;line-height:1.15;min-height:var(--compact-control-h,34px)}

/* Card history actions stay explicit without destroying audit history. */
.revision-history-item{display:grid;grid-template-columns:minmax(0,1fr) 38px;gap:7px;align-items:stretch}
.revision-history-item .revision-row{min-width:0}
.revision-delete{border:1px solid #e0b7b4;border-radius:9px;background:#fff;color:#a24c47;display:grid;place-items:center;cursor:pointer}
.revision-delete svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.revision-delete:hover:not(:disabled){background:#fff1f0;border-color:#c9827d}
.revision-delete:disabled{opacity:.32;cursor:not-allowed;background:#f4f7f6;color:#829095;border-color:#d9e2e0}

/* Compact review delete controls and revision state. */
.review-list-table .review-actions{min-width:190px!important;gap:6px!important}.review-trash-button{width:38px!important;min-width:38px!important;height:38px!important;padding:0!important;display:inline-grid!important;place-items:center!important}.review-trash-button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.revision-current-state{min-width:72px;height:36px;border:1px solid #d9e2e0;border-radius:9px;background:#f4f7f6;color:#718086;display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;padding:0 8px}
@media(max-width:700px){.review-list-table .review-actions{min-width:176px!important}.review-trash-button{width:36px!important;min-width:36px!important;height:36px!important}.revision-current-state{min-width:64px}}
