html:has(.view[data-view="court"].on), html:has(.view[data-view="gates"].on),
html:has(.view[data-view="usage"].on), html:has(.view[data-view="learning"].on),
html:has(.view[data-view="team"].on), html:has(.view[data-view="integrations"].on),
html:has(.view[data-view="observe"].on), html:has(.view[data-view="ticket"].on) {   
--z: 1;
}
body:has(.view[data-view="court"].on), body:has(.view[data-view="gates"].on),
body:has(.view[data-view="usage"].on), body:has(.view[data-view="learning"].on),
body:has(.view[data-view="team"].on), body:has(.view[data-view="integrations"].on),
body:has(.view[data-view="observe"].on), body:has(.view[data-view="ticket"].on) {
--bg: #101113;
--panel: #1b1d20;
--panel2: #17191c;
--line: #292c30;
--line2: #363a40;
--text: #eceef1;
--muted: #a1a7af;
--faint: #858d96;
font-size: var(--ds-size-16);
line-height: var(--ds-leading-body);
}
.project-section, .project-handoff, .section-sheet {
--type-body: var(--ds-size-16);
--type-support: var(--ds-size-14);
--type-section: var(--ds-size-18);
color: var(--text);
font-size: var(--ds-size-16);
line-height: var(--ds-leading-body);
}
.project-section *, .project-handoff *, .section-sheet * {
box-sizing: border-box;
}
.project-section h2, .project-section h3, .project-section h4,
.project-section p, .project-handoff h2, .project-handoff p {
margin: 0;
}
:where(.project-section, .project-handoff, .section-sheet) button {
font: inherit;
color: inherit;
background: transparent;
border: 0;
cursor: pointer;
}
.project-section .icon, .project-handoff .icon, .section-sheet .icon {
width: 20px;
height: 20px;
fill: none;
stroke: currentColor;
stroke-width: 1.6;
stroke-linecap: round;
stroke-linejoin: round;
flex: none;
}
.project-section .primary-button, .project-handoff .primary-button {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
background: #555fbe;
border: 1px solid #6973d0;
border-radius: 10px;
color: #fff;
padding: 8px 12px;
min-height: 40px;
}
.project-section .secondary-button, .project-handoff .secondary-button,
.section-sheet .secondary-button {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
border: 1px solid var(--line2);
border-radius: 10px;
padding: 8px 12px;
min-height: 40px;
color: var(--text);
text-decoration: none;
}
.project-section .text-button {
display: inline-flex;
gap: 6px;
align-items: center;
color: #bbc1ed;
text-decoration: none;
}

.project-section button:not(.ds-tabs__tab, .ds-button, .ds-icon-button):hover,
.project-handoff button:not(.ds-tabs__tab, .ds-button, .ds-icon-button):hover {
filter: brightness(1.16);
}
.project-section button:disabled {
opacity: .5;
cursor: default;
}

.project-section :focus-visible, .project-handoff :focus-visible, .section-sheet :focus-visible {
outline: none;
}
.project-section [hidden], #court-legacy[hidden], #gates-legacy[hidden], #usage-legacy[hidden] {
display: none !important;
}
.project-section input, .project-section select, .project-handoff textarea {
font-family: var(--ds-font);
caret-color: var(--acc);
}
.project-section input[type="search"] {
font-size: var(--ds-size-16);
}
.project-section .sr-only {
position: absolute;
width: 1px;
height: 1px;
overflow: hidden;
clip-path: inset(50%);
}

#project-handoff {   
--ds-modal-width: 680px;
}
#project-handoff textarea {
height: 320px;
}
#project-handoff #handoff-options:not([hidden]) {
margin-bottom: var(--ds-space-4);
}
#project-handoff [role="status"] {
flex: 1 1 180px;
min-width: 0;
font-size: var(--ds-size-13);
line-height: var(--ds-leading-body);
color: var(--ds-text-faint);
}
@media (max-width: 800px) {
.project-section {
padding: 24px 16px;
}
}
