.app-shell [hidden],.login-page[hidden]{display:none!important}
.nav-overview-group{display:grid;gap:3px}
.nav-overview-children{display:grid;gap:2px;margin:0 0 4px 23px;padding:2px 0 2px 8px;border-left:1px solid #31443a}
.sidebar-nav .nav-overview-children a{min-height:33px;padding:0 9px;color:#8da69a;font-size:11px}
.sidebar-nav .nav-overview-children a .icon{width:14px;height:14px}
.sidebar-nav .nav-overview-children a.active-sub{background:#153024;color:#79e9ae}
.filter-search-results{margin-top:10px;padding-top:10px;border-top:1px solid #2a3932}
.scope-search-title{margin:0 8px 6px;color:#a9c7b4;font-size:11px;font-weight:700}
.scope-search-list{max-height:240px;overflow:auto;scrollbar-color:#3e5450 transparent;scrollbar-width:thin}
.scope-search-row{cursor:pointer}
.scope-search-name{display:grid;gap:3px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.scope-search-name small{overflow:hidden;text-overflow:ellipsis;color:#718d7d;font-size:10px;font-weight:400}
.tree-project .tree-owner-copy,.tree-project .tree-id-copy{display:flex;align-items:center;gap:4px;min-width:0;max-width:185px;padding:3px 5px;border:1px solid transparent;border-radius:5px;background:none;color:#8bbba0;font-size:10px;font-weight:500;white-space:nowrap}
.tree-project .tree-owner-copy:hover,.tree-project .tree-id-copy:hover{border-color:#3d7656;background:#1a3828;color:#a1e9bf}
.tree-project .tree-owner-copy span,.tree-project .tree-owner-copy small,.tree-project .tree-id-copy span{min-width:0;overflow:hidden;text-overflow:ellipsis}
.tree-project .tree-owner-copy small{color:#718d7c;font-size:10px}
.tree-project .tree-id-copy{max-width:142px;color:#71847a}
.tree-project .tree-owner-copy .icon,.tree-project .tree-id-copy .icon{width:12px;height:12px;flex:none}
.tree-project .tree-domain-count{margin-left:0}
.tree-project.external-project{display:flex;flex-wrap:wrap;align-items:center;gap:2px 7px;min-height:54px}
.external-project .tree-project-check{order:0;flex:0 0 18px}
.external-project .tree-project-toggle{order:1;flex:1 1 calc(100% - 65px);min-width:0}
.external-project .project-name{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}
.external-project .tree-domain-count{order:2}
.external-project .thumb-tip{order:3}
.external-project .tree-owner-copy{order:4;margin-left:25px;flex:0 1 90px;max-width:90px}
.external-project .tree-id-copy{order:5;flex:0 1 100px;max-width:100px}
.login-username{width:100%;height:45px;margin:0 0 17px;background:#0c1112}
.overview-scope{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:24px 0 9px;padding:13px 15px;border:1px solid #2b3934;border-radius:11px;background:#121a17}
.scope-tabs{display:flex;gap:5px;padding:4px;border:1px solid #2a3831;border-radius:9px;background:#0c1210}
.scope-tabs button{padding:8px 15px;border:0;border-radius:6px;background:none;color:#9eafa5;font-size:12px;font-weight:700}
.scope-tabs button.active{background:#1c5036;color:#7ff0b4;box-shadow:0 2px 9px #0003}
.selected-tenant-scope{display:flex;align-items:center;gap:9px;color:#a8b9b0;font-size:12px}
.selected-tenant-scope strong{color:#e0f1e7;font-size:13px}
.selected-tenant-scope button{border:0;background:none;color:#56dda0;font-size:11px;text-decoration:underline}
.scope-manage-link{margin-left:auto;color:#77d9a6;font-size:12px;font-weight:700}
.tenant-main .page-heading{margin-bottom:25px}
.tenant-panel{margin:0 0 18px;padding:22px}
.tenant-panel .panel-heading{margin-bottom:18px}
.tenant-form{display:flex;align-items:end;flex-wrap:wrap;gap:10px;margin-top:10px}
.tenant-form label{display:grid;gap:7px;flex:1;min-width:180px;color:#bdcfc4;font-size:11px;font-weight:700}
.tenant-form .text-input{width:100%;height:40px}
.tenant-form label:has(input[type=number]){flex:0 1 145px;min-width:130px}
.tenant-form button{min-height:40px}
.tenant-help{margin:12px 0 0;color:#8da398;font-size:12px;line-height:1.7}
.tenant-search{width:min(440px,100%);height:39px;margin-bottom:14px}
.tenant-list{display:grid;gap:8px;max-height:480px;overflow:auto}
.tenant-row{display:grid;grid-template-columns:minmax(220px,1fr) auto auto;align-items:center;gap:16px;padding:15px;border:1px solid #2a3732;border-radius:10px;background:#111a16}
.tenant-row:hover{border-color:#3d6950}
.tenant-row-main{min-width:0;display:grid;gap:5px}
.tenant-name{justify-self:start;max-width:100%;padding:0;border:0;background:none;color:#e0efe6;font-size:14px;font-weight:760;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tenant-name:hover{color:#6de8aa}
.tenant-name span{color:#61c994;font-size:12px}
.tenant-row-main small{color:#80988a;font-size:11px;word-break:break-all}
.tenant-row-main .tenant-account{color:#badbca}
.tenant-row-main .tenant-service-usage{color:#75d9a2}
.embed-manage{margin-top:17px;overflow:hidden;border:1px solid #315443;border-radius:14px;background:#0d1613;box-shadow:0 18px 45px #0002}
.embed-hero{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:23px 26px 21px;border-bottom:1px solid #263c30;background:radial-gradient(circle at 92% 2%,#1b50335c,transparent 36%),linear-gradient(120deg,#15251c,#101a16)}
.embed-eyebrow{display:block;margin-bottom:8px;color:#54de98;font-size:10px;font-weight:800;letter-spacing:.14em}
.embed-hero h3{margin:0;color:#edf9f0;font-size:20px;line-height:1.3}
.embed-hero p{max-width:640px;margin:8px 0 0;color:#a5bdad;font-size:12px;line-height:1.7}
.embed-status{flex:none;margin-top:2px;padding:6px 11px;border:1px solid #4c765b;border-radius:999px;color:#8bdfac;background:#1b3a28;font-size:11px;font-weight:700}
.embed-status.is-off{border-color:#49514b;color:#a7afa8;background:#222a24}
.embed-manage-body{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(260px,1fr)}
.embed-setup{min-width:0;padding:22px 26px 25px}
.embed-step+.embed-step{margin-top:23px;padding-top:22px;border-top:1px solid #24382d}
.embed-step-head{display:flex;align-items:flex-start;gap:11px}
.embed-step-number{display:grid;place-items:center;flex:none;width:28px;height:28px;border:1px solid #316e4a;border-radius:8px;color:#7bebad;background:#153324;font-size:11px;font-weight:800}
.embed-step h4{margin:2px 0 4px;color:#e2f2e8;font-size:13px}
.embed-step h4 small{display:inline-block;margin-left:5px;color:#8ba89a;font-size:10px;font-weight:500}
.embed-step p{margin:0;color:#90a99b;font-size:11px;line-height:1.65}
.embed-snippet{display:block;max-width:100%;margin:13px 0 0;padding:15px;overflow:auto;border:1px solid #263d31;border-radius:9px;background:#08110d;color:#b4f1c9;font-family:Consolas,'Courier New',monospace;font-size:11px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}
.embed-callback{color:#c4d5cc}
.embed-manage button{cursor:pointer}
.embed-copy{margin-top:11px;padding:8px 12px;border:1px solid #386849;border-radius:7px;background:#193a27;color:#a9ecc2;font-size:11px;font-weight:700}
.embed-copy:hover{background:#235038}
.collector-download{display:inline-flex;align-items:center;text-decoration:none}
.embed-side{min-width:0;border-left:1px solid #263a2d;background:#101b15}
.embed-side-section{padding:18px 20px}
.embed-side-section+.embed-side-section{border-top:1px solid #263a2d}
.embed-side-label{display:block;margin-bottom:11px;color:#cce1d2;font-size:11px;font-weight:750}
.embed-domain-list{display:flex;flex-wrap:wrap;gap:6px;max-height:104px;overflow:auto}
.embed-domain{max-width:100%;padding:5px 8px;overflow:hidden;border:1px solid #315b40;border-radius:6px;background:#173422;color:#9be6b5;font-size:10px;text-overflow:ellipsis;white-space:nowrap}
.embed-empty{color:#d4aa7f;font-size:11px;line-height:1.5}
.embed-side-section p{margin:9px 0 0;color:#829c89;font-size:10px;line-height:1.5}
.embed-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.embed-stats>div:first-child{grid-column:1/-1}
.embed-stats small{display:block;margin-bottom:5px;color:#8ca799;font-size:10px}
.embed-stats strong{display:block;color:#e5f8ea;font-size:18px;font-variant-numeric:tabular-nums}
.embed-stats strong em{color:#8ca799;font-size:11px;font-style:normal;font-weight:500}
.embed-switch{display:flex;align-items:center;gap:9px;color:#d6eadc;font-size:11px;font-weight:700;cursor:pointer}
.embed-switch input{position:absolute;width:1px;height:1px;opacity:0}
.embed-switch-track{position:relative;flex:none;width:31px;height:18px;border-radius:99px;background:#536258;transition:background .15s}
.embed-switch-track:after{position:absolute;top:3px;left:3px;width:12px;height:12px;border-radius:50%;background:white;content:'';transition:transform .15s}
.embed-switch input:checked+.embed-switch-track{background:#2dd38c}
.embed-switch input:checked+.embed-switch-track:after{transform:translateX(13px)}
.embed-switch input:focus-visible+.embed-switch-track{outline:2px solid #e2faec;outline-offset:3px}
.embed-limit-label{display:grid;gap:6px;margin-top:16px;color:#c6dccd;font-size:11px;font-weight:700}
.embed-limit-label small{color:#83a08c;font-size:10px;font-weight:400}
.embed-limit-label input{width:100%;height:35px}
.embed-save{width:100%;min-height:36px;margin-top:17px;border:1px solid #51d99b;border-radius:7px;background:#2acb84;color:#082518;font-size:11px;font-weight:800}
.embed-save:hover{background:#4ce0a1}
.embed-secondary-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.embed-secondary-actions button{padding:7px 8px;border:1px solid #355044;border-radius:7px;background:#172b20;color:#a7d8b8;font-size:10px}
.embed-secondary-actions button:hover{border-color:#5a9870;color:#d5f7de}
@media(max-width:1050px){.embed-manage-body{grid-template-columns:1fr}.embed-side{border-left:0;border-top:1px solid #263a2d}.embed-hero,.embed-setup{padding:19px}.embed-side-section{padding:17px 19px}}
.source-breakdown{margin:0 0 20px;padding:17px 20px}
.source-heading{display:flex;align-items:start;justify-content:space-between;gap:12px}
.source-heading h2{margin:0;color:#e3f2e8;font-size:14px}
.source-heading p{margin:5px 0 0;color:#91a99a;font-size:11px;line-height:1.5}
.source-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}
.source-item{display:grid;grid-template-columns:minmax(82px,1.1fr) repeat(4,minmax(0,1fr));align-items:center;gap:8px;min-width:0;padding:11px 13px;border:1px solid #29463a;border-radius:9px;background:#101d17}
.source-item .source-name{color:#bdebd0;font-size:11px;font-weight:750}
.source-item small{display:block;margin:0;color:#849f90;font-size:10px}
.source-item strong{display:block;margin-top:4px;color:#dbf5e4;font-size:15px;font-variant-numeric:tabular-nums}
.source-breakdown .source-note{margin:11px 0 0;color:#81988a;font-size:10px;line-height:1.5}
@media(max-width:1200px){.source-grid{grid-template-columns:1fr}}
@media(max-width:580px){.source-breakdown{padding:15px}.source-heading{display:block}.source-item{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.source-item .source-name{grid-column:1/-1}}
.tenant-status{padding:5px 9px;border-radius:99px;font-size:11px;white-space:nowrap}
.tenant-status.is-active{background:#153c29;color:#65e9a7}
.tenant-status.is-paused{background:#3b2a20;color:#e8b37c}
.tenant-row-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.tenant-row-actions button,.tenant-pager button,.project-manage-actions button{padding:7px 9px;border:1px solid #345541;border-radius:7px;background:#1a3022;color:#b7e7c8;font-size:11px}
.tenant-row-actions button:hover,.tenant-pager button:hover,.project-manage-actions button:hover{border-color:#55a879;background:#21422d}
.tenant-row-actions button:disabled,.tenant-pager button:disabled{opacity:.45;cursor:default}
.tenant-empty{padding:28px 12px;color:#8ca499;font-size:12px;text-align:center;border:1px dashed #3b4b41;border-radius:8px}
.tenant-pager{display:flex;align-items:center;gap:9px;margin-top:14px;color:#839a8d;font-size:11px}
.project-manage-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:10px;margin-top:15px}
.tenant-usage-summary{display:flex;align-items:center;flex-wrap:wrap;gap:9px 22px;margin-top:12px;padding:12px 14px;border:1px solid #2d4a3a;border-radius:9px;background:#101f17}
.tenant-usage-summary>div:not(.usage-progress){display:flex;align-items:center;gap:8px;color:#91b49d;font-size:11px}
.tenant-usage-summary strong{color:#7de9ad;font-size:13px}
.usage-progress{height:5px;flex:1 0 100%;overflow:hidden;border-radius:99px;background:#304039}
.usage-progress span{display:block;height:100%;background:#3cda95}
.quota-unlimited{margin-top:14px}
.project-manage-row{padding:15px;border:1px solid #2c4034;border-radius:10px;background:#111b16}
.project-manage-row strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;color:#e4f0e9}
.project-manage-header{display:flex;align-items:center;justify-content:space-between;gap:8px}
.project-manage-header strong{min-width:0}
.project-manage-header button{flex:none;border:0;background:none;color:#70dfaa;font-size:11px}
.project-manage-header button:hover{text-decoration:underline}
.project-manage-row small{display:block;color:#87a091;margin:6px 0 13px;word-break:break-all;font-size:11px}
.project-rename-form{display:flex;gap:6px;align-items:center;margin:0 0 12px}
.project-rename-form input{min-width:0;flex:1;height:35px}
.project-rename-form button{height:35px;padding:0 9px;border:1px solid #345541;border-radius:7px;background:#1a3022;color:#b7e7c8;font-size:11px}
.project-manage-actions{display:flex;flex-wrap:wrap;gap:6px}
.project-manage-actions button.is-active,.project-manage-actions button.is-active:hover{border-color:#4a7659;background:#22392b;color:#e1f2e5;box-shadow:none;font-weight:700}
.access-dialog{width:min(1050px,calc(100vw - 24px));max-height:calc(100vh - 24px);overflow:hidden}
.access-dialog .dialog-header{padding:18px 23px}
.access-dialog .dialog-header h2{margin:4px 0}
.access-dialog-panel{max-height:calc(100vh - 120px);margin:0;border:0;border-radius:0;overflow-y:auto;overscroll-behavior:contain;box-shadow:none;scrollbar-width:thin;scrollbar-color:#476654 transparent}
.access-dialog-panel .embed-hero{border-radius:0}
.backend-manage .embed-hero{background:radial-gradient(circle at 92% 2%,#245d4b63,transparent 36%),linear-gradient(120deg,#14251e,#101b18)}
.backend-flow{display:grid;gap:8px;margin-top:13px}
.backend-flow>div{display:grid;grid-template-columns:140px minmax(0,1fr);align-items:center;gap:12px;padding:11px 13px;border:1px solid #263d31;border-radius:8px;background:#0b1711;color:#a9c4b1;font-size:11px;line-height:1.55}
.backend-flow code{color:#90eab3;font-family:Consolas,'Courier New',monospace;font-size:11px;white-space:nowrap}
.backend-flow b{color:#d5e9da;font-weight:700}
.backend-doc-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.backend-doc-actions button,.backend-refresh,.backend-rotate{padding:9px 12px;border:1px solid #386849;border-radius:7px;background:#193a27;color:#b4edc9;font-size:11px;font-weight:700;cursor:pointer}
.backend-doc-actions button:hover,.backend-refresh:hover,.backend-rotate:hover{background:#235038}
.backend-key-list{display:grid;gap:7px;max-height:220px;overflow:auto}
.backend-key-row{display:flex;align-items:flex-start;gap:9px;padding:10px;border:1px solid #2d4635;border-radius:8px;background:#0b1710}
.backend-key-dot{width:7px;height:7px;flex:none;margin-top:6px;border-radius:50%;background:#778379}
.backend-key-dot.is-active{background:#3cdd94;box-shadow:0 0 0 3px #1c4b32}
.backend-key-row>div{min-width:0}
.backend-key-row strong{display:block;color:#d7eddf;font-size:11px}
.backend-key-row small{display:block;margin:4px 0 0;color:#91a998;font-size:10px;line-height:1.45;overflow-wrap:anywhere}
.backend-refresh,.backend-rotate{margin-top:12px}
@media(max-width:600px){.backend-flow>div{grid-template-columns:1fr;gap:4px}.embed-hero{flex-direction:column;gap:10px}.embed-status{align-self:flex-start}}
.credential-panel{border:1px solid #786943;border-radius:10px;background:#292718;padding:19px;margin:0 0 18px}
.credential-panel strong{color:#f1dc9c;font-size:14px}
.credential-panel p{color:#b5ad8d;margin:7px 0;font-size:11px}
.credential-panel pre{padding:12px;overflow:auto;background:#121713;border-radius:7px;color:#d2e9d7;white-space:pre-wrap;word-break:break-all;font-size:11px}
.credential-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}
.policy-toggle{display:flex;align-items:center;gap:10px;color:#d7e8da;font-size:13px}
.policy-toggle input{accent-color:#2de2a0;width:17px;height:17px}
.policy-dialog{width:min(620px,calc(100vw - 28px));max-height:min(90vh,800px);overflow-y:auto}
.policy-dialog .dialog-content{padding-top:19px}
.policy-rules{margin-top:19px}
.policy-rules h3{margin:0 0 10px;color:#d8eee0;font-size:12px;font-weight:750}
.policy-rules .policy-option{margin-top:7px;padding:11px 13px;border-color:#294738;background:#14221a}
.policy-rules .policy-option:has(input:checked){border-color:#42634d;background:#1a2a20;box-shadow:inset 2px 0 #5ba977}
.policy-rules .policy-option:focus-within{outline:2px solid #75ba91;outline-offset:2px}
.policy-dialog[data-readonly=true] .policy-option{cursor:default}
.policy-intro{padding:14px 15px;border:1px solid #2d5140;border-radius:9px;background:#10241a}
.policy-intro strong{display:block;color:#c5f2d7;font-size:12px}
.policy-intro p{margin:6px 0 0;color:#a5bdae;font-size:11px;line-height:1.65}
.policy-option{display:flex;align-items:flex-start;gap:11px;margin-top:17px;padding:14px 15px;border:1px solid #3b5e49;border-radius:9px;background:#17291d;cursor:pointer}
.policy-option input{flex:none;width:18px;height:18px;margin:1px 0 0;accent-color:#2de2a0}
.policy-option-copy{display:grid;gap:6px;min-width:0}
.policy-option-copy strong{color:#e0f4e7;font-size:12px;line-height:1.5}
.policy-option-copy small{color:#a3baa9;font-size:11px;line-height:1.5}
.policy-option-copy code{color:#9deec1;font-family:Consolas,'Courier New',monospace}
.policy-state{margin-top:10px;padding:9px 11px;border:1px solid #485445;border-radius:7px;background:#242b23;color:#c5d0c1;font-size:11px;line-height:1.5}
.policy-state.is-enabled{border-color:#3c8257;background:#153324;color:#a8eec1}
.policy-version-note,.policy-impact{margin:12px 0 0;color:#a4b9ab;font-size:11px;line-height:1.65}
.policy-version-note{color:#d0b68c}
.policy-revision{margin:11px 0 0;color:#778e80;font-size:10px}
.scope-policy-action{display:inline-flex;align-items:center;gap:7px;padding:7px 11px;border:1px solid #385547;border-radius:7px;background:#1a2a21;color:#b8e7ca;font-size:11px;font-weight:700;white-space:nowrap}
.scope-policy-action:hover{border-color:#5c9871;background:#213b2b;color:#e6f8eb}
.scope-policy-action .icon{width:15px;height:15px}
.self-policy-dialog{width:min(940px,calc(100vw - 28px));max-height:min(780px,calc(100vh - 28px));overflow:hidden}
.domain-dialog{overflow:visible}
.domain-dialog .select-menu.open-up{top:auto;bottom:calc(100% + 6px)}
.domain-dialog .select-menu{scrollbar-width:thin;scrollbar-color:#4d6c57 transparent}
.domain-dialog .select-menu::-webkit-scrollbar{width:5px}
.domain-dialog .select-menu::-webkit-scrollbar-thumb{border-radius:8px;background:#4d6c57}
.self-policy-dialog .dialog-header{padding:21px 25px 18px}
.self-policy-layout{display:grid;grid-template-columns:250px minmax(0,1fr);height:min(640px,calc(100vh - 130px));min-height:0}
.self-policy-sidebar{display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden;padding:19px 13px 19px 19px;border-right:1px solid #2b3932;background:#121b17}
.self-policy-sidebar .field-label{margin:0 0 8px;font-size:11px}
.self-policy-sidebar input{height:37px}
.self-policy-count{display:block;margin:12px 4px 9px;color:#80988a;font-size:10px}
.self-policy-list{display:grid;flex:1 1 0;align-content:start;gap:5px;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding-right:4px;scrollbar-width:thin;scrollbar-color:#496551 transparent}
.self-policy-project-button{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 7px;width:100%;padding:11px;border:1px solid transparent;border-radius:8px;background:transparent;color:#b9c8bd;text-align:left}
.self-policy-project-button:hover{background:#1d2b22;color:#e2eee5}
.self-policy-project-button.is-selected{border-color:#416c50;background:#22372a;color:#edf8ef}
.self-policy-project-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:750}
.self-policy-project-button small{grid-column:1/-1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#849f8c;font-size:10px}
.self-policy-project-status{grid-column:2;grid-row:1;color:#d7ab72;font-size:10px;white-space:nowrap}
.self-policy-project-status.is-current{color:#78dba0}
.self-policy-detail{min-width:0;min-height:0;overflow-y:auto;padding:23px 26px 27px}
.self-policy-detail-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;padding-bottom:20px;border-bottom:1px solid #2c3932}
.self-policy-eyebrow{color:#7bd9a1;font-size:10px;font-weight:800;letter-spacing:.12em}
.self-policy-detail-head h3{margin:6px 0;font-size:22px;color:#eef6f0}
.self-policy-detail-head code{color:#829f8c;font-size:10px;overflow-wrap:anywhere}
.self-policy-sync-badge{flex:none;padding:6px 9px;border-radius:99px;background:#393022;color:#dfbd82;font-size:10px}
.self-policy-sync-badge.is-current{background:#193b28;color:#83e1ab}
.self-policy-summary-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:16px 0 22px}
.self-policy-summary-strip>div{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:8px;min-height:68px;padding:11px;border:1px solid #304337;border-radius:8px;background:#17231b}
.self-policy-summary-strip small{color:#91a99a;font-size:10px}
.self-policy-summary-strip strong{color:#dcebe0;font-size:11px}
.self-policy-state{display:inline-flex;align-items:center;padding:3px 7px;border-radius:5px;background:#2a342d;color:#b9c8bb;font-size:10px;white-space:nowrap}
.self-policy-state.on{background:#16472d;color:#77e9a4}
.self-policy-state.off{background:#29352e;color:#a8b9ac}
.self-policy-section-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin:20px 0 9px}
.self-policy-section-head h4{margin:0;color:#dcebe0;font-size:12px}
.self-policy-section-head span{color:#829a89;font-size:10px}
.self-policy-rule-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.self-policy-rule{min-width:0;padding:11px 12px;border:1px solid #2a4032;border-radius:7px;background:#13221a}
.self-policy-rule>div{display:flex;align-items:center;justify-content:space-between;gap:10px}
.self-policy-rule strong{color:#d6eadc;font-size:11px}
.self-policy-rule small{display:block;margin-top:6px;color:#92a998;font-size:10px;line-height:1.55;overflow-wrap:anywhere}
.self-policy-bypass{margin:11px 0 0;padding:12px;border:1px solid #665b36;border-radius:7px;background:#282617;color:#d8c799;font-size:11px;line-height:1.65}
.self-policy-bypass strong{color:#f2d78c}
.self-policy-bypass p{margin:4px 0 0}
.self-policy-footnote{margin:18px 0 0;color:#789080;font-size:10px;line-height:1.6}
.self-policy-empty{padding:30px 14px;color:#879f8c;font-size:11px;line-height:1.7;text-align:center}
.record-bypass-detail{display:block;margin-top:4px;color:#9bb09f;font-size:10px;line-height:1.4}
@media(max-width:650px){.self-policy-dialog{max-height:calc(100vh - 20px)}.self-policy-layout{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr);height:calc(100vh - 125px)}.self-policy-sidebar{padding:13px;border-right:0;border-bottom:1px solid #2b3932}.self-policy-list{display:flex;overflow-x:auto;overflow-y:hidden;padding:0 0 3px}.self-policy-project-button{flex:none;width:155px}.self-policy-detail{padding:16px}.self-policy-summary-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.self-policy-summary-strip>div:last-child{grid-column:1/-1}.self-policy-rule-grid{grid-template-columns:1fr}}
@media(max-width:650px){.self-policy-sidebar .self-policy-list{flex:0 0 auto;min-height:72px}}
@media(max-width:1050px){.tenant-row{grid-template-columns:minmax(180px,1fr) auto}.tenant-row-actions{grid-column:1/-1;justify-content:flex-start}}
@media(max-width:760px){.nav-overview-group{display:flex;align-items:center;gap:2px;flex:none}.nav-overview-children{display:flex;align-items:center;gap:2px;margin:0 5px 0 0;padding:0 0 0 7px}.sidebar-nav .nav-overview-children a{min-height:37px;padding:0 7px;font-size:10px}.tree-project .tree-owner-copy{max-width:92px}.tree-project .tree-owner-copy small{display:none}.tree-project .tree-id-copy{max-width:80px}.tenant-panel{padding:16px}.tenant-form label,.tenant-form label:has(input[type=number]){min-width:100%}.tenant-form button{width:100%}.tenant-row{grid-template-columns:1fr auto;gap:8px}.tenant-row-actions{grid-column:1/-1}.scope-manage-link{margin-left:0}}
@media(max-width:560px){.sidebar{overflow:visible;flex-wrap:wrap;gap:5px 8px;padding:10px 12px}.sidebar-brand{min-width:0}.sidebar-nav{flex:1;min-width:0;flex-wrap:wrap;overflow:visible;gap:2px}.nav-overview-group,.nav-overview-children{display:contents}.sidebar-nav a,.sidebar-nav .nav-overview-children a{min-height:32px;padding:0 6px;font-size:10px;gap:5px}.sidebar-nav a .icon{width:13px;height:13px}.page-heading #reload{display:grid;place-items:center;gap:0;width:37px;height:37px;padding:0}.page-heading #reload .icon{display:block;margin:0}.page-heading #reload .reload-label{display:none}.page-heading .btn:not(#reload){width:auto;padding:0 10px;font-size:11px}}
.tree-access-action{flex:none;white-space:nowrap;font-size:10px;padding:4px 6px;border:1px solid #355142;border-radius:6px;background:#17281f;color:#9ad5b2}.tree-access-action:hover{border-color:#4a9b6a;color:#72e5ab}.self-access-dialog{width:min(640px,calc(100vw - 28px))}.self-access-status{margin:18px 0;padding:16px;border:1px solid #30473c;border-radius:10px;background:#101b16}.self-access-status strong{font-size:13px;color:#c7e6d4}.self-access-status p,.self-access-dialog .tenant-help{font-size:12px;color:#91a69a;line-height:1.8;margin:8px 0}.self-access-actions{display:flex;align-items:center;gap:16px;margin-top:14px;flex-wrap:wrap}.self-access-dialog .dialog-footer{flex-wrap:wrap}.self-access-dialog .self-project-config{min-height:145px}
.tree-project:has(.tree-access-action) .project-name{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}.tree-project:has(.tree-access-action) .tree-id-copy{flex-shrink:5}@media(max-width:1100px){.tree-project:has(.tree-access-action){flex-wrap:wrap;gap:3px 7px;padding-top:8px;padding-bottom:8px}.tree-project:has(.tree-access-action) .tree-project-check{order:1}.tree-project:has(.tree-access-action) .tree-project-toggle{order:2;flex:1 1 calc(100% - 90px)}.tree-project:has(.tree-access-action) .tree-domain-count{order:3}.tree-project:has(.tree-access-action) .thumb-tip{order:4}.tree-project:has(.tree-access-action) .tree-id-copy{order:5;max-width:180px;margin-left:25px}.tree-project:has(.tree-access-action) .tree-access-action{order:6;margin-left:auto}}
