.repository-settings{display:flex;flex-direction:column;gap:1rem;max-width:74rem;margin:0 auto;padding:1.25rem}
.repository-settings fieldset{border:0;margin:0;padding:0;min-width:0;display:flex;flex-direction:column;gap:1rem}
.repository-toolbar{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.repository-toolbar input{flex:1 1 16rem;min-width:0}.repository-toolbar button{flex:0 0 auto}
.repository-options{height:clamp(12rem,45dvh,32rem);overflow:auto;scrollbar-gutter:stable;overscroll-behavior:contain;border:1px solid var(--border,#34343d);border-radius:.5rem}
.repository-option{display:flex;align-items:center;gap:1rem;padding:.85rem 1rem;border-bottom:1px solid var(--border,#34343d);cursor:pointer;min-width:0}.repository-option input{width:1.1rem;height:1.1rem;flex-shrink:0;accent-color:#ef4444}.repository-option>span:first-of-type{flex:1;min-width:0}.repository-option strong,.repository-option small{display:block;overflow-wrap:anywhere}.repository-option small{color:#aaa5ad;margin-top:.3rem}.repository-option:focus-within{outline:2px solid #e76161;outline-offset:-2px}.repository-group{font-size:.75rem;color:#c2b8c1}
.repository-shared{display:flex;align-items:flex-start;gap:.75rem;padding:.75rem;border:1px solid var(--border,#34343d);border-radius:.5rem}.repository-shared input{width:1.1rem;height:1.1rem;flex-shrink:0;accent-color:#ef4444}.repository-shared small{display:block;color:#aaa5ad;margin-top:.3rem}
.repository-settings-footer{display:flex;justify-content:flex-end;gap:.75rem;flex-wrap:wrap}.repository-status{height:3rem;overflow:auto;scrollbar-gutter:stable;line-height:1.5;margin:0;color:#bfb8c0}.repository-status.error{color:#ff9b9b}.repository-help{color:#bfb8c0;line-height:1.5}.repository-scope-status{font-size:.75rem;letter-spacing:.04em;text-decoration:none;color:#d8cbd0;max-width:16rem;overflow-wrap:anywhere}
.repository-options,.repository-status{scrollbar-color:#71535e #211b21;scrollbar-width:thin}.repository-options::-webkit-scrollbar,.repository-status::-webkit-scrollbar{width:10px}.repository-options::-webkit-scrollbar-track,.repository-status::-webkit-scrollbar-track{background:#211b21}.repository-options::-webkit-scrollbar-thumb,.repository-status::-webkit-scrollbar-thumb{background:#71535e;border:2px solid #211b21;border-radius:10px}
.scope-hidden-actions{padding:.75rem;border:1px solid #8d7044;border-radius:.4rem;color:#dfc6a0}.scope-hidden-actions~details:has([data-save-triage]),.scope-hidden-actions~details:has([data-save-hardline-draft]){display:none}.security-finding:has(.scope-hidden-actions) [data-create-hardline]{display:none}
@media(max-width:640px){.repository-settings{padding:.85rem}.repository-group{display:none}.repository-option{padding:.8rem .65rem;gap:.65rem}.repository-toolbar button{flex:1 1 auto}.repository-scope-status{max-width:10rem;font-size:.65rem}.repository-settings-footer button{flex:1}}

.repository-toolbar input{background:#100b11;color:#e7dfe5;border:1px solid #59404b;padding:.7rem .75rem;border-radius:.25rem;font:inherit}.repository-page-heading .repository-settings-footer{align-self:flex-start;flex-shrink:0;padding-top:.5rem}
.repository-scope-status{width:14rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.repository-scope-short{display:none}
@media(max-width:640px){.repository-scope-status{width:3.5rem;padding:.5rem .25rem}.repository-scope-full{display:none}.repository-scope-short{display:inline}}
#settings-view h1,#settings-view h2{overflow-wrap:anywhere}
@media(max-width:640px){.topbar{flex-wrap:wrap;gap:.5rem}.topbar .top-status{flex-wrap:wrap;min-width:0;justify-content:flex-end}.topbar>div:first-child{min-width:0;overflow-wrap:anywhere}}
@media(min-width:641px){.repository-page-heading{position:sticky;top:65px;z-index:1;background:#0d080e;padding:.75rem 0}}
@media(max-width:640px){.topbar{height:auto;min-height:65px;padding-top:.5rem;padding-bottom:.5rem}}
.rail nav{flex:1 1 auto;min-height:0;align-content:start;overflow-y:auto;overflow-x:hidden;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:#71535e #17090f}.rail .brand,.rail-bottom{flex-shrink:0}.rail nav::-webkit-scrollbar{width:8px}.rail nav::-webkit-scrollbar-track{background:#17090f}.rail nav::-webkit-scrollbar-thumb{background:#71535e;border-radius:8px}.rail .nav-copy{min-width:0;overflow-wrap:anywhere}

@media(min-width:641px) and (max-width:1100px){.repository-page-heading{flex-direction:column;gap:1rem}.repository-page-heading .repository-settings-footer{align-self:stretch;justify-content:flex-start}}
