.augur-nexus.nexus-browser-panel,
.augur-nexus.nexus-browser-panel .window-content {
    max-height: calc(100vh - 120px);
}

.augur-nexus.nexus-browser-panel .window-content {
    overflow: hidden;
}

.nexus-browser-panel-shell {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 0;
    max-height: calc(100vh - 160px);
}

.nexus-browser-sidebar-tab {
    color: #f4e6cf;
    padding: 8px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(17, 14, 23, 0.96), rgba(12, 10, 18, 0.96));
}

.nexus-browser-sidebar-tab .nexus-browser-panel-shell {
    height: 100%;
    max-height: none;
}

.nexus-browser-sidebar-tab .nexus-browser-tree-section,
.nexus-browser-sidebar-tab .nexus-browser-tree {
    min-height: 0;
}

.nexus-browser-section {
    border: 1px solid var(--nexus-border-subtle);
    border-radius: 2px;
    padding: 10px 12px;
    background: rgba(10, 10, 18, 0.72);
}

.nexus-browser-hero-wrap {
    display: grid;
    gap: 8px;
}

.nexus-browser-tree-section {
    flex: 1 1 auto;
    min-height: 300px;
    display: flex;
    flex-direction: column;
}

.nexus-browser-heading {
    margin: 0 0 8px;
    color: var(--nexus-accent-bright);
    font-weight: 700;
}

.nexus-browser-heading.divider {
    margin: 2px 0 -2px;
    padding: 0 2px;
}

.nexus-browser-search-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 2px 0 -2px;
    padding: 0 2px;
}

.nexus-browser-search-bar i {
    flex: 0 0 auto;
    color: #d7c39f;
    font-size: 16px;
}

.nexus-browser-search-bar input {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 34px;
    border: 1px solid var(--nexus-border-subtle);
    border-radius: 2px;
    background: var(--nexus-surface-interactive);
    color: #f4e6cf;
    direction: ltr;
    padding: 0 12px;
    text-align: left;
}

.nexus-browser-search-bar input::placeholder {
    color: #b79f82;
}

.nexus-browser-search-bar input::-webkit-search-decoration,
.nexus-browser-search-bar input::-webkit-search-cancel-button,
.nexus-browser-search-bar input::-webkit-search-results-button,
.nexus-browser-search-bar input::-webkit-search-results-decoration {
    display: none;
}

.nexus-browser-scene-filter {
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 28px;
    margin: 1px 2px -1px 28px;
    padding: 4px 8px;
    border: 1px solid var(--nexus-border-subtle);
    border-radius: 2px;
    background: rgba(7, 15, 24, 0.72);
    color: #b9c7d2;
    font-size: 11px;
    cursor: pointer;
}

.nexus-browser-scene-filter:hover,
.nexus-browser-scene-filter.is-active {
    border-color: var(--nexus-border-strong);
    background: var(--nexus-accent-surface);
    color: var(--nexus-accent-bright);
}

.nexus-browser-scene-filter input {
    width: 14px;
    height: 14px;
    margin: 0;
    accent-color: var(--nexus-accent-primary);
}

.nexus-browser-scene-filter > i {
    color: var(--nexus-accent-bright);
    font-size: 11px;
}

.nexus-browser-scene-filter small {
    margin-left: auto;
    color: color-mix(in srgb, var(--nexus-accent-bright) 76%, white 24%);
    font-size: 9px;
}

.nexus-browser-scene-filter:has(input:disabled) {
    opacity: 0.5;
    cursor: default;
}

.nexus-browser-search-clear {
    width: 34px;
    height: 34px;
}

.nexus-browser-people-toolbar {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 2px 0 -2px;
    padding: 0 2px;
}

.nexus-browser-people-toolbar .nexus-browser-search-bar {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    padding: 0;
}

.nexus-browser-people-filters {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 0 0 auto;
}

.nexus-browser-filter-toggle {
    position: relative;
    display: grid;
    place-items: center;
    width: 34px;
    min-width: 34px;
    height: 34px;
    flex: 0 0 34px;
    margin: 0;
    padding: 0;
    border: 1px solid var(--nexus-border-subtle);
    border-radius: 2px;
    background: var(--nexus-surface-interactive);
    color: #b9c7d2;
    box-shadow: none;
}

.nexus-browser-filter-toggle:hover,
.nexus-browser-filter-toggle:focus-visible,
.nexus-browser-filter-toggle.is-active {
    border-color: var(--nexus-border-strong);
    background: var(--nexus-accent-surface);
    color: var(--nexus-accent-bright);
    box-shadow: var(--nexus-focus-ring);
    outline: none;
}

.nexus-browser-filter-toggle:disabled {
    opacity: 0.42;
    cursor: default;
    box-shadow: none;
}

.nexus-browser-filter-toggle > i {
    font-size: 12px;
}

.nexus-browser-filter-check {
    position: absolute;
    right: 2px;
    bottom: 1px;
    display: none;
    width: 10px;
    height: 10px;
    place-items: center;
    border-radius: 50%;
    background: var(--nexus-accent-primary);
    color: #080b0d;
    font-size: 6px;
}

.nexus-browser-filter-toggle.is-active .nexus-browser-filter-check {
    display: grid;
}

.nexus-browser-tab-select {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) 26px;
    align-items: center;
    min-height: 34px;
    margin: 0 0 4px;
    border: 1px solid var(--nexus-border-subtle);
    border-radius: 2px;
    background: var(--nexus-surface-interactive);
    color: var(--nexus-accent-bright);
    box-shadow: none;
}

.nexus-browser-tab-select:hover,
.nexus-browser-tab-select:focus-within {
    border-color: var(--nexus-border-strong);
    background: var(--nexus-accent-surface);
}

.nexus-browser-tab-select i {
    text-align: center;
    pointer-events: none;
}

.nexus-browser-tab-select select {
    width: 100%;
    height: 32px;
    min-height: 32px;
    border: 0;
    background: transparent;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    text-transform: none;
    appearance: none;
}

.nexus-browser-tab-select select:focus {
    outline: none;
    box-shadow: none;
}

.nexus-browser-tab-select select option {
    background: var(--nexus-surface-panel);
    color: var(--nexus-text-primary);
}

.nexus-browser-tab-select select option:checked,
.nexus-browser-tab-select select option:hover,
.nexus-browser-tab-select select option:focus {
    background: var(--nexus-accent-surface-strong);
    box-shadow: 0 0 0 100px var(--nexus-accent-surface-strong) inset;
    color: var(--nexus-accent-bright);
}

.nexus-browser-collapse-all {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
}

.nexus-browser-collapse-all i {
    font-size: 13px;
}

.nexus-browser-hero {
    position: relative;
    min-height: 100px;
    border: 1px solid var(--nexus-border-subtle);
    border-radius: 2px;
    overflow: hidden;
    background: rgba(8, 10, 18, 0.84);
}

.nexus-browser-hero.has-root {
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--nexus-accent-primary) 10%, transparent);
}

.nexus-browser-hero-backdrop,
.nexus-browser-hero-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.nexus-browser-hero-backdrop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.nexus-browser-hero-backdrop.no-thumb {
    display: grid;
    place-items: center;
    color: rgba(245, 227, 196, 0.72);
    background:
        linear-gradient(180deg, rgba(31, 24, 16, 0.72), rgba(8, 8, 14, 0.94)),
        repeating-linear-gradient(0deg, color-mix(in srgb, var(--nexus-accent-primary) 12%, transparent) 0 1px, transparent 1px 20px),
        repeating-linear-gradient(90deg, color-mix(in srgb, var(--nexus-accent-primary) 12%, transparent) 0 1px, transparent 1px 20px);
}

.nexus-browser-hero-overlay {
    background: linear-gradient(180deg, rgba(5, 6, 11, 0.28), rgba(5, 6, 11, 0.64) 54%, rgba(5, 6, 11, 0.92));
}

.nexus-browser-hero-copy,
.nexus-browser-root-actions.hero {
    position: relative;
    z-index: 3;
}

.nexus-browser-hero-copy {
    position: absolute;
    left: 14px;
    right: 86px;
    top: 14px;
    display: grid;
    gap: 4px;
    z-index: 2;
    pointer-events: none;
}

.nexus-browser-hero-corner-action {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 6;
    width: 28px;
    height: 28px;
    display: inline-grid;
    place-items: center;
    padding: 0;
    border: 1px solid var(--nexus-border-subtle);
    border-radius: 2px;
    background: rgba(7, 9, 17, 0.82);
    color: #f4e6cf;
    cursor: pointer;
    pointer-events: auto;
}

.nexus-browser-hero-corner-action:hover,
.nexus-browser-hero-corner-action:focus-visible {
    border-color: color-mix(in srgb, var(--nexus-accent-primary) 45%, transparent);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--nexus-accent-primary) 18%, transparent);
    outline: none;
}

.nexus-browser-meta-label,
.nexus-browser-context-label,
.nexus-browser-node-meta {
    color: #cbb28f;
    font-size: 11px;
    text-transform: none;
    letter-spacing: 0.03em;
}

.nexus-browser-root-name,
.nexus-browser-context-value,
.nexus-browser-node-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nexus-browser-root-name {
    font-size: 18px;
    font-weight: 800;
}

.nexus-browser-summary-line {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    flex-wrap: nowrap;
}

.nexus-browser-summary-line.under-pill {
    margin-bottom: 8px;
    padding: 0 4px;
}

.nexus-browser-summary-chip {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #cbb28f;
    font-size: 12px;
}

.nexus-browser-root-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nexus-browser-root-actions .nexus-browser-action:last-child {
    margin-left: auto;
    width: 150px;
}

.nexus-browser-root-actions.hero {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 10px;
}

.nexus-browser-action {
    width: auto;
    min-width: 0;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.nexus-browser-action span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nexus-browser-action.icon-only {
    width: 34px;
    height: 34px;
    padding: 0;
}

.nexus-browser-context {
    display: grid;
    gap: 2px;
}

.nexus-browser-tree {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 300px;
    overflow-y: auto;
    padding-right: 4px;
}

.nexus-browser-pill-shell {
    min-width: 0;
    cursor: pointer;
}

.nexus-browser-site-faction-group {
    min-width: 0;
}

.nexus-browser-site-faction-header {
    position: relative;
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    padding: 3px 5px 3px 6px;
    border: 1px solid color-mix(in srgb, var(--faction-accent, var(--nexus-accent-primary)) 34%, var(--nexus-border-subtle));
    border-radius: 2px;
    overflow: hidden;
    background: color-mix(in srgb, var(--faction-accent, var(--nexus-accent-primary)) 7%, rgba(8, 10, 18, 0.9));
    color: #f4e6cf;
}

.nexus-browser-site-faction-header::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: var(--faction-accent, var(--nexus-accent-primary));
}

.nexus-browser-site-faction-header[data-action="openFactionDossier"] {
    cursor: pointer;
}

.nexus-browser-site-faction-header[data-action="openFactionDossier"]:hover,
.nexus-browser-site-faction-header[data-action="openFactionDossier"]:focus-visible {
    border-color: color-mix(in srgb, var(--faction-accent, var(--nexus-accent-primary)) 68%, var(--nexus-border-strong));
    background: color-mix(in srgb, var(--faction-accent, var(--nexus-accent-primary)) 13%, rgba(8, 10, 18, 0.9));
    outline: none;
}

.nexus-browser-site-faction-emblem {
    display: grid;
    place-items: center;
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    overflow: hidden;
    color: var(--faction-accent, var(--nexus-accent-bright));
    font-size: 13px;
}

.nexus-browser-site-faction-emblem img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nexus-browser-site-faction-copy {
    display: grid;
    gap: 1px;
    flex: 1 1 auto;
    min-width: 0;
}

.nexus-browser-site-faction-copy strong,
.nexus-browser-site-faction-copy small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nexus-browser-site-faction-copy strong {
    font-size: 12px;
    line-height: 1.05;
}

.nexus-browser-site-faction-copy small {
    color: #bfa888;
    font-size: 9px;
    line-height: 1;
}

.nexus-browser-site-faction-count {
    min-width: 18px;
    color: var(--faction-accent, var(--nexus-accent-bright));
    font-size: 10px;
    font-weight: 800;
    text-align: right;
}

.nexus-browser-site-faction-fold {
    display: grid;
    place-items: center;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    margin: 0;
    padding: 0;
    border: 1px solid color-mix(in srgb, var(--faction-accent, var(--nexus-accent-primary)) 28%, var(--nexus-border-subtle));
    border-radius: 2px;
    background: rgba(7, 9, 17, 0.62);
    color: #bfa888;
    box-shadow: none;
}

.nexus-browser-site-faction-fold:hover,
.nexus-browser-site-faction-fold:focus-visible {
    border-color: color-mix(in srgb, var(--faction-accent, var(--nexus-accent-primary)) 58%, var(--nexus-border-strong));
    background: color-mix(in srgb, var(--faction-accent, var(--nexus-accent-primary)) 12%, rgba(7, 9, 17, 0.72));
    color: var(--nexus-accent-bright);
    box-shadow: none;
    outline: none;
}

.nexus-browser-site-faction-fold i {
    font-size: 9px;
    transition: transform 120ms ease;
}

.nexus-browser-site-faction-fold.collapsed i {
    transform: rotate(-90deg);
}

.nexus-browser-site-faction-group.is-independent .nexus-browser-site-faction-header {
    --faction-accent: var(--nexus-accent-primary);
    opacity: 0.88;
}

.nexus-browser-people-group {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.nexus-browser-people-group-header {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-height: 38px;
    margin: 0;
    padding: 3px 8px 3px 5px;
    border: 1px solid color-mix(in srgb, var(--faction-accent, var(--nexus-accent-primary)) 38%, var(--nexus-border-subtle));
    border-radius: 2px;
    overflow: hidden;
    background: color-mix(in srgb, var(--faction-accent, var(--nexus-accent-primary)) 8%, rgba(8, 10, 18, 0.9));
    color: #f4e6cf;
    text-align: left;
    box-shadow: none;
}

.nexus-browser-people-group-header::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: var(--faction-accent, var(--nexus-accent-primary));
}

.nexus-browser-people-group-header:hover,
.nexus-browser-people-group-header:focus-visible {
    border-color: color-mix(in srgb, var(--faction-accent, var(--nexus-accent-primary)) 70%, var(--nexus-border-strong));
    background: color-mix(in srgb, var(--faction-accent, var(--nexus-accent-primary)) 14%, rgba(8, 10, 18, 0.9));
    outline: none;
}

.nexus-browser-people-group-header[draggable="true"] {
    cursor: grab;
}

.nexus-browser-people-group-main {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1 1 auto;
    min-width: 0;
    min-height: 30px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    text-align: left;
    box-shadow: none;
}

.nexus-browser-people-group-main:hover,
.nexus-browser-people-group-main:focus-visible {
    background: transparent;
    color: var(--nexus-accent-bright);
    box-shadow: none;
    outline: none;
}

.nexus-browser-people-group-action {
    display: grid;
    place-items: center;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    margin: 0;
    padding: 0;
    border: 1px solid color-mix(in srgb, var(--faction-accent, var(--nexus-accent-primary)) 28%, var(--nexus-border-subtle));
    border-radius: 2px;
    background: rgba(7, 9, 17, 0.62);
    color: #bfa888;
    box-shadow: none;
}

.nexus-browser-people-group-action:hover,
.nexus-browser-people-group-action:focus-visible {
    border-color: color-mix(in srgb, var(--faction-accent, var(--nexus-accent-primary)) 58%, var(--nexus-border-strong));
    background: color-mix(in srgb, var(--faction-accent, var(--nexus-accent-primary)) 12%, rgba(7, 9, 17, 0.72));
    color: var(--nexus-accent-bright);
    box-shadow: none;
    outline: none;
}

.nexus-browser-people-group-emblem {
    display: grid;
    place-items: center;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    overflow: hidden;
    color: var(--faction-accent, var(--nexus-accent-bright));
}

.nexus-browser-people-group-emblem img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nexus-browser-people-group-copy {
    display: grid;
    gap: 1px;
    flex: 1 1 auto;
    min-width: 0;
}

.nexus-browser-people-group-copy strong,
.nexus-browser-people-group-copy small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nexus-browser-people-group-copy strong {
    font-size: 13px;
    line-height: 1.05;
}

.nexus-browser-people-group-copy small {
    color: #bfa888;
    font-size: 9px;
    line-height: 1;
}

.nexus-browser-people-group-count {
    min-width: 20px;
    color: var(--faction-accent, var(--nexus-accent-bright));
    font-size: 10px;
    font-weight: 800;
    text-align: right;
}

.nexus-browser-people-group-chevron {
    flex: 0 0 auto;
    color: #bfa888;
    font-size: 9px;
}

.nexus-browser-people-group-rows {
    display: grid;
    gap: 6px;
    padding-left: 8px;
}

.nexus-browser-people-group.is-unaffiliated .nexus-browser-people-group-header {
    --faction-accent: var(--nexus-accent-primary);
    opacity: 0.88;
}

.nexus-browser-pill-shell.has-site-icon {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 6px;
}

.nexus-browser-pill-shell.has-site-icon .nexus-browser-pill {
    width: auto;
    flex: 1 1 0;
    min-width: 0;
}

.nexus-browser-pill-shell.has-site-icon .nexus-browser-pill-emblem {
    flex: 0 0 28px;
}

.nexus-browser-pill {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-width: 0;
    height: 40px;
    padding: 0 8px 0 10px;
    border: 1px solid var(--nexus-border-subtle);
    border-radius: 2px;
    overflow: hidden;
    background: rgba(8, 10, 18, 0.84);
}

.nexus-browser-pill.current {
    border-color: var(--nexus-border-strong);
    box-shadow: var(--nexus-focus-ring);
}

.nexus-browser-pill.root {
    border-color: var(--nexus-border-subtle);
}

.nexus-browser-pill.has-children {
    border-color: var(--nexus-border-subtle);
    box-shadow: none;
}

.nexus-browser-pill.current-ancestor {
    border-color: var(--nexus-border-strong);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--nexus-accent-primary) 10%, transparent);
}

.nexus-browser-pill.root.current,
.nexus-browser-pill.has-children.current {
    border-color: var(--nexus-border-strong);
    box-shadow: var(--nexus-focus-ring);
}

.nexus-browser-pill.has-children::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, color-mix(in srgb, var(--nexus-accent-primary) 95%, transparent), color-mix(in srgb, var(--nexus-accent-primary) 45%, transparent));
    z-index: 1;
}

.nexus-browser-pill.has-children.current::before {
    background: linear-gradient(180deg, var(--nexus-accent-bright), var(--nexus-accent-primary));
}

.nexus-browser-pill.has-children.current-ancestor::before {
    background: linear-gradient(180deg, var(--nexus-accent-bright), color-mix(in srgb, var(--nexus-accent-primary) 45%, transparent));
}

.nexus-browser-pill-shell.has-faction-accent > .nexus-browser-pill {
    border-color: color-mix(in srgb, var(--faction-accent) 38%, var(--nexus-border-subtle));
}

.nexus-browser-pill-shell.has-faction-accent > .nexus-browser-pill::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: linear-gradient(180deg, var(--faction-accent), color-mix(in srgb, var(--faction-accent) 48%, transparent));
    z-index: 1;
}

.nexus-browser-pill-shell.has-faction-accent:hover > .nexus-browser-pill,
.nexus-browser-pill-shell.has-faction-accent:focus-within > .nexus-browser-pill {
    border-color: color-mix(in srgb, var(--faction-accent) 68%, var(--nexus-border-strong));
}

.nexus-browser-pill-shell.has-faction-accent > .nexus-browser-pill.current,
.nexus-browser-pill-shell.has-faction-accent > .nexus-browser-pill.current-ancestor {
    border-color: color-mix(in srgb, var(--faction-accent) 78%, var(--nexus-border-strong));
    box-shadow:
        inset 0 0 0 1px color-mix(in srgb, var(--faction-accent) 16%, transparent),
        0 0 12px color-mix(in srgb, var(--faction-accent) 22%, transparent);
}

.nexus-browser-pill-shell.has-faction-accent .nexus-browser-pill-overlay {
    background: linear-gradient(
        90deg,
        color-mix(in srgb, var(--faction-accent) 13%, rgba(5, 6, 11, 0.82)),
        rgba(5, 6, 11, 0.34) 45%,
        rgba(5, 6, 11, 0.8)
    );
}

.nexus-browser-pill-backdrop,
.nexus-browser-pill-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.nexus-browser-pill-backdrop {
    overflow: hidden;
}

.nexus-browser-pill-backdrop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.nexus-browser-pill-backdrop.no-thumb {
    display: grid;
    place-items: center;
    color: rgba(245, 227, 196, 0.75);
    background:
        linear-gradient(180deg, rgba(31, 24, 16, 0.72), rgba(8, 8, 14, 0.92)),
        repeating-linear-gradient(0deg, color-mix(in srgb, var(--nexus-accent-primary) 12%, transparent) 0 1px, transparent 1px 16px),
        repeating-linear-gradient(90deg, color-mix(in srgb, var(--nexus-accent-primary) 12%, transparent) 0 1px, transparent 1px 16px);
}

.nexus-browser-pill-overlay {
    background: linear-gradient(90deg, rgba(5, 6, 11, 0.78), rgba(5, 6, 11, 0.34) 45%, rgba(5, 6, 11, 0.8));
}

.nexus-browser-pill-copy,
.nexus-browser-pill-actions {
    position: relative;
    z-index: 1;
}

.nexus-browser-pill-copy {
    flex: 1 1 auto;
    min-width: 0;
    display: grid;
    gap: 1px;
}

.nexus-browser-pill-name,
.nexus-browser-pill-type {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nexus-browser-pill-name {
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
}

.nexus-browser-pill-type {
    color: #d2bc98;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: none;
    line-height: 1;
}

.nexus-browser-pill.has-children .nexus-browser-pill-type {
    color: var(--nexus-accent-bright);
}

.nexus-browser-pill.current-ancestor .nexus-browser-pill-type {
    color: var(--nexus-accent-bright);
}

.nexus-browser-pill-shell.has-faction-accent .nexus-browser-pill-type {
    color: var(--faction-accent);
}

.nexus-browser-pill-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0;
    flex: 0 0 auto;
    margin-left: auto;
}

.nexus-browser-pill-action {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    margin-left: 6px;
}

.nexus-browser-pill-action {
    display: inline-grid;
    place-items: center;
    padding: 0;
    border: 1px solid var(--nexus-border-subtle);
    border-radius: 2px;
    background: rgba(7, 9, 17, 0.82);
    color: #f4e6cf;
}

.nexus-browser-pill.has-children .nexus-browser-pill-action[data-action="toggleLineageBranch"] {
    border-color: color-mix(in srgb, var(--nexus-accent-primary) 32%, transparent);
    background: rgba(54, 40, 12, 0.82);
    color: var(--nexus-accent-bright);
}

.nexus-browser-pill-shell.has-faction-accent .nexus-browser-pill.has-children .nexus-browser-pill-action[data-action="toggleLineageBranch"] {
    border-color: color-mix(in srgb, var(--faction-accent) 52%, transparent);
    background: color-mix(in srgb, var(--faction-accent) 18%, rgba(7, 9, 17, 0.82));
    color: var(--faction-accent);
}

.nexus-browser-pill-shell.has-faction-accent .nexus-browser-pill.has-children .nexus-browser-pill-action[data-action="toggleLineageBranch"]:hover,
.nexus-browser-pill-shell.has-faction-accent .nexus-browser-pill.has-children .nexus-browser-pill-action[data-action="toggleLineageBranch"]:focus-visible {
    border-color: color-mix(in srgb, var(--faction-accent) 82%, transparent);
    background: color-mix(in srgb, var(--faction-accent) 28%, rgba(7, 9, 17, 0.82));
    color: color-mix(in srgb, var(--faction-accent) 82%, white 18%);
}

.nexus-browser-connection-toggle {
    position: relative;
    width: 24px;
    min-width: 24px;
    flex-basis: 24px;
    padding: 0;
    border-color: color-mix(in srgb, var(--nexus-accent-primary) 22%, transparent);
    background: rgba(7, 9, 17, 0.7);
    color: color-mix(in srgb, var(--nexus-accent-primary) 78%, transparent);
    font-size: 9px;
    font-weight: 900;
}

.nexus-browser-connection-toggle.active {
    border-color: color-mix(in srgb, var(--nexus-accent-primary) 78%, transparent);
    background: rgba(54, 40, 12, 0.82);
    color: var(--nexus-accent-bright);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--nexus-accent-primary) 18%, transparent);
}

.nexus-browser-connection-toggle:hover,
.nexus-browser-connection-toggle:focus-visible {
    border-color: color-mix(in srgb, var(--nexus-accent-primary) 58%, transparent);
    color: var(--nexus-accent-bright);
}

.nexus-browser-connection-toggle i {
    font-size: 10px;
}

.nexus-browser-connection-toggle span {
    position: absolute;
    right: 1px;
    bottom: 1px;
    z-index: 2;
    min-width: 12px;
    height: 12px;
    display: grid;
    place-items: center;
    padding: 0 3px;
    border: 1px solid rgba(7, 9, 17, 0.92);
    border-radius: 999px;
    background: color-mix(in srgb, var(--nexus-accent-primary) 90%, transparent);
    color: #1b1110;
    font-size: 7px;
    line-height: 1;
}

.nexus-browser-pill-shell.has-faction-accent .nexus-browser-connection-toggle {
    border-color: color-mix(in srgb, var(--faction-accent) 42%, transparent);
    color: var(--faction-accent);
}

.nexus-browser-pill-shell.has-faction-accent .nexus-browser-connection-toggle.active {
    border-color: color-mix(in srgb, var(--faction-accent) 82%, transparent);
    background: color-mix(in srgb, var(--faction-accent) 14%, rgba(7, 9, 17, 0.82));
    color: var(--faction-accent);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--faction-accent) 18%, transparent);
}

.nexus-browser-pill-shell.has-faction-accent .nexus-browser-connection-toggle:hover,
.nexus-browser-pill-shell.has-faction-accent .nexus-browser-connection-toggle:focus-visible {
    border-color: color-mix(in srgb, var(--faction-accent) 68%, transparent);
    color: var(--faction-accent);
}

.nexus-browser-pill-shell.has-faction-accent .nexus-browser-connection-toggle span {
    background: var(--faction-accent);
}

.nexus-browser-pill-action i {
    font-size: 11px;
    transition: transform 0.15s ease;
}

.nexus-browser-pill-action.collapsed i {
    transform: rotate(-90deg);
}

.nexus-browser-pill-options {
    position: relative;
    display: inline-flex;
}

.nexus-floating-menu {
    position: fixed;
    z-index: 100000;
    display: grid;
    gap: 4px;
    min-width: 148px;
    padding: 6px;
    border: 1px solid color-mix(in srgb, var(--nexus-accent-primary) 35%, transparent);
    border-radius: 2px;
    background: linear-gradient(180deg, rgba(20, 20, 28, 0.98), rgba(7, 9, 17, 0.98));
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.nexus-root-scene-menu {
    min-width: 178px;
}

.nexus-floating-menu-item {
    display: grid;
    grid-template-columns: 16px minmax(0, 1fr);
    grid-template-areas:
        "icon label"
        "icon status";
    align-items: center;
    column-gap: 7px;
    row-gap: 2px;
    width: 100%;
    min-height: 28px;
    padding: 5px 7px;
    border: 0;
    border-radius: 2px;
    background: transparent;
    color: #ead8b5;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1.1;
    text-align: left;
}

.nexus-floating-menu-item i {
    grid-area: icon;
    color: var(--nexus-accent-bright);
    text-align: center;
}

.nexus-floating-menu-item span {
    grid-area: label;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nexus-floating-menu-item small {
    grid-area: status;
    color: #a98b5f;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1;
    text-transform: none;
}

.nexus-floating-menu-item:hover,
.nexus-floating-menu-item:focus-visible {
    background: color-mix(in srgb, var(--nexus-accent-primary) 16%, transparent);
    color: #fff2c8;
    outline: none;
}

.nexus-floating-menu-item.danger {
    color: #ffb6a8;
}

.nexus-floating-menu-item.danger i {
    color: #ffb6a8;
}

.nexus-floating-menu-item.danger:hover,
.nexus-floating-menu-item.danger:focus-visible {
    background: rgba(255, 92, 74, 0.16);
}

.nexus-floating-menu-item.permanent-danger {
    color: #ff7a69;
}

.nexus-floating-menu-item.permanent-danger i {
    color: #ff4d40;
}

.nexus-floating-menu-item.permanent-danger small {
    color: #ff9b8b;
}

.nexus-floating-menu-item.permanent-danger:hover,
.nexus-floating-menu-item.permanent-danger:focus-visible {
    background: rgba(142, 18, 26, 0.42);
    color: #ffd4cf;
}

.nexus-floating-menu-item.unavailable {
    opacity: 0.52;
}

.nexus-floating-menu-item.unavailable:hover,
.nexus-floating-menu-item.unavailable:focus-visible {
    opacity: 0.78;
    background: rgba(62, 28, 22, 0.35);
}

.nexus-browser-connection-drawer {
    flex: 0 0 100%;
    display: grid;
    gap: 7px;
    margin: -2px 0 0;
    padding: 8px;
    border: 1px solid var(--nexus-border-subtle);
    border-radius: 2px;
    background: rgba(3, 7, 14, 0.58);
    cursor: default;
}

.nexus-browser-connection-drawer.is-connection-drop-target {
    outline: 1px solid color-mix(in srgb, var(--nexus-accent-primary) 72%, transparent);
    outline-offset: 2px;
}

.nexus-browser-pill-shell.is-lineage-drop-target > .nexus-browser-pill {
    outline: 1px solid var(--nexus-accent-bright);
    outline-offset: 2px;
    box-shadow: var(--nexus-focus-ring), 0 0 14px color-mix(in srgb, var(--nexus-accent-primary) 22%, transparent);
}

.nexus-browser-tree.is-lineage-root-drop-target {
    outline: 1px dashed var(--nexus-accent-bright);
    outline-offset: -3px;
    background: var(--nexus-accent-surface);
}

.nexus-browser-connection-group {
    display: grid;
    gap: 5px;
    min-width: 0;
    border-radius: 2px;
}

.nexus-browser-connection-group.is-player-hidden {
    opacity: 0.58;
    filter: saturate(0.45);
}

.nexus-browser-connection-group.is-category-drop-target {
    outline: 1px solid color-mix(in srgb, var(--connection-category-color, #f0b84c) 72%, rgba(150, 181, 210, 0.18));
    outline-offset: 3px;
}

.nexus-browser-connection-group h4 {
    margin: 0;
    display: grid;
    grid-template-columns: 14px minmax(0, 1fr) auto auto auto;
    align-items: center;
    gap: 5px;
    color: var(--connection-category-color, #f0b84c);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.03em;
    line-height: 1;
    text-transform: none;
}

.nexus-browser-connection-group h4 span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nexus-browser-connection-group h4 strong {
    color: rgba(244, 230, 207, 0.78);
}

.nexus-browser-connection-group-hidden-icon {
    color: rgba(245, 227, 196, 0.78);
    font-size: 9px;
}

.nexus-browser-connection-group-order {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.12s ease;
}

.nexus-browser-connection-group:hover .nexus-browser-connection-group-order,
.nexus-browser-connection-group:focus-within .nexus-browser-connection-group-order {
    opacity: 1;
    pointer-events: auto;
}

.nexus-browser-connection-group-order button {
    width: 16px;
    height: 16px;
    min-height: 16px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid color-mix(in srgb, var(--connection-category-color, #f0b84c) 35%, transparent);
    border-radius: 999px;
    background: rgba(4, 7, 13, 0.7);
    color: var(--connection-category-color, #f0b84c);
    font-size: 7px;
}

.nexus-browser-connection-group-order button:hover,
.nexus-browser-connection-group-order button:focus-visible {
    border-color: color-mix(in srgb, var(--connection-category-color, #f0b84c) 75%, #ffffff);
    background: color-mix(in srgb, var(--connection-category-color, #f0b84c) 16%, rgba(4, 7, 13, 0.82));
}

.nexus-browser-connection-row-wrap {
    position: relative;
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 22px;
    gap: 0;
    align-items: stretch;
    border: 1px solid color-mix(in srgb, var(--connection-category-color, #f0b84c) 34%, rgba(150, 181, 210, 0.14));
    border-radius: 2px;
    background: color-mix(in srgb, var(--connection-category-color, #f0b84c) 8%, rgba(7, 13, 24, 0.84));
    overflow: hidden;
}

.nexus-browser-connection-row {
    min-width: 0;
    min-height: 34px;
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    align-items: center;
    gap: 7px;
    padding: 4px 6px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #f4e6cf;
    text-align: left;
}

.nexus-browser-connection-row-wrap:hover,
.nexus-browser-connection-row-wrap:focus-within,
.nexus-browser-connection-row-wrap:has(.nexus-browser-connection-row.is-drop-before) {
    border-color: color-mix(in srgb, var(--connection-category-color, #f0b84c) 62%, rgba(150, 181, 210, 0.18));
    outline: none;
}

.nexus-browser-connection-row.is-drop-before {
    box-shadow: 0 -2px 0 var(--connection-category-color, #f0b84c);
}

.nexus-browser-connection-row-action {
    width: 22px;
    min-height: 34px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-left: 1px solid color-mix(in srgb, var(--connection-category-color, #f0b84c) 24%, rgba(150, 181, 210, 0.12));
    border-radius: 0;
    background: rgba(7, 13, 24, 0.32);
    color: rgba(244, 230, 207, 0.74);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease, border-color 0.15s ease;
}

.nexus-browser-connection-row-wrap:hover .nexus-browser-connection-row-action,
.nexus-browser-connection-row-wrap:focus-within .nexus-browser-connection-row-action {
    opacity: 1;
    pointer-events: auto;
}

.nexus-browser-connection-row-action:hover,
.nexus-browser-connection-row-action:focus-visible {
    background: color-mix(in srgb, var(--connection-category-color, #f0b84c) 16%, rgba(7, 13, 24, 0.68));
    color: var(--nexus-accent-bright);
    outline: none;
}

.nexus-browser-connection-row.missing {
    opacity: 0.62;
    filter: grayscale(0.7);
}

.nexus-browser-connection-row-wrap.is-player-hidden {
    opacity: 0.58;
    filter: saturate(0.45);
}

.nexus-browser-connection-row.is-player-hidden .nexus-browser-connection-copy strong i {
    margin-right: 5px;
    color: rgba(245, 227, 196, 0.78);
    font-size: 9px;
}

.nexus-browser-connection-image {
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border: 1px solid color-mix(in srgb, var(--connection-category-color, #f0b84c) 56%, rgba(3, 7, 14, 0.88));
    border-radius: 50%;
    background: rgba(0,0,0,0.34);
    color: var(--connection-category-color, #f0b84c);
    overflow: hidden;
}

.nexus-browser-connection-image img {
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
}

.nexus-browser-connection-image i {
    font-size: 11px;
}

.nexus-browser-connection-copy {
    min-width: 0;
    display: grid;
    gap: 1px;
}

.nexus-browser-connection-copy strong,
.nexus-browser-connection-copy em,
.nexus-browser-connection-copy small {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nexus-browser-connection-copy strong {
    font-size: 11px;
    line-height: 1;
}

.nexus-browser-connection-copy em {
    color: rgba(244, 230, 207, 0.66);
    font-size: 9px;
    font-style: normal;
    line-height: 1;
}

.nexus-browser-connection-copy small {
    color: rgba(244, 230, 207, 0.52);
    font-size: 9px;
    line-height: 1;
}

.nexus-browser-empty {
    padding: 12px;
    border: 1px dashed var(--nexus-border-subtle);
    border-radius: 2px;
    color: #bfa888;
    text-align: center;
}

.nexus-browser-branch-notice {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    margin-top: 8px;
    padding: 7px 8px;
    border: 1px solid color-mix(in srgb, var(--nexus-accent-primary) 48%, var(--nexus-border-subtle));
    border-radius: 2px;
    background: color-mix(in srgb, var(--nexus-accent-primary) 10%, rgba(8, 10, 18, 0.94));
    color: #f4e6cf;
    box-shadow: inset 3px 0 0 var(--nexus-accent-primary);
}

.nexus-browser-branch-notice > i {
    color: var(--nexus-accent-bright);
    font-size: 15px;
    text-align: center;
}

.nexus-browser-branch-notice > span {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.nexus-browser-branch-notice strong,
.nexus-browser-branch-notice small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nexus-browser-branch-notice strong {
    color: var(--nexus-accent-bright);
    font-size: 11px;
    line-height: 1;
    text-transform: uppercase;
}

.nexus-browser-branch-notice small {
    color: #bfa888;
    font-size: 9px;
    line-height: 1.1;
}

.nexus-browser-branch-notice button {
    min-height: 28px;
    margin: 0;
    padding: 0 9px;
    border: 1px solid var(--nexus-border-strong);
    border-radius: 2px;
    background: var(--nexus-accent-surface);
    color: var(--nexus-accent-bright);
    font-size: 10px;
    font-weight: 700;
    box-shadow: none;
}

.nexus-browser-branch-notice button:hover,
.nexus-browser-branch-notice button:focus-visible {
    border-color: var(--nexus-accent-bright);
    background: color-mix(in srgb, var(--nexus-accent-primary) 18%, rgba(10, 12, 17, 0.94));
    color: #fff4df;
    box-shadow: var(--nexus-focus-ring);
    outline: none;
}

.nexus-browser-tree.search-active .nexus-browser-pill-action.search-disabled {
    opacity: 0.45;
    cursor: default;
    pointer-events: none;
    box-shadow: none;
}

.nexus-browser-tree.search-active .nexus-browser-pill-action.search-disabled i {
    transform: none;
}

.nexus-browser-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 20px;
    margin-top: -2px;
    padding: 0 6px 0 4px;
    gap: 8px;
}

.nexus-browser-icon-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    min-height: 18px;
    margin: 0;
    padding: 0;
    color: #bfa888;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.03em;
    line-height: 1;
    text-transform: none;
    cursor: pointer;
    user-select: none;
}

.nexus-browser-icon-toggle input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.nexus-browser-icon-toggle-box {
    flex: 0 0 14px;
    width: 14px;
    height: 14px;
    display: inline-grid;
    place-items: center;
    border: 1px solid color-mix(in srgb, var(--nexus-accent-primary) 65%, transparent);
    border-radius: 3px;
    background: rgba(7, 9, 17, 0.9);
    color: transparent;
    box-sizing: border-box;
}

.nexus-browser-icon-toggle-box i {
    font-size: 10px;
    line-height: 1;
}

.nexus-browser-icon-toggle input:checked + .nexus-browser-icon-toggle-box {
    background: var(--nexus-accent-primary);
    border-color: var(--nexus-accent-bright);
    color: #1b1110;
}

.nexus-browser-icon-toggle-label {
    display: inline-block;
    line-height: 1;
    white-space: nowrap;
}

.nexus-browser-new-root {
    width: auto;
    height: 24px;
    min-width: 0;
    padding: 0 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--nexus-accent-bright);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.03em;
    line-height: 1;
    text-transform: none;
}

.nexus-browser-root-create {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
}

.nexus-browser-new-root span {
    white-space: nowrap;
}

.npc-pill .nexus-browser-pill-accent,
.npc-pill-shell .nexus-browser-pill-accent {
    background: linear-gradient(180deg, color-mix(in srgb, var(--nexus-accent-primary) 38%, transparent), color-mix(in srgb, var(--nexus-accent-primary) 18%, transparent));
}

.npc-pill .nexus-browser-connection-toggle.secondary {
    opacity: 1;
    width: 24px;
    flex-basis: 24px;
    margin-left: 6px;
    border-width: 1px;
    pointer-events: auto;
    overflow: hidden;
    transform: none;
}

.npc-pill-portrait {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid var(--nexus-border-subtle);
    border-radius: 50%;
    background: rgba(5, 15, 22, 0.92);
    color: var(--nexus-accent-bright);
    overflow: hidden;
}

.npc-pill-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.npc-pill-portrait i {
    font-size: 15px;
}


/* Quick appearance control. Kept in the browser shell so future interface
   preferences can join it without expanding the scene hero. */
.nexus-browser-hero-corner-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 6;
    display: flex;
    gap: 6px;
}

.nexus-browser-hero-corner-actions .nexus-browser-hero-corner-action { position: static; }

.nexus-browser-hero-corner-action.is-active {
    border-color: var(--nexus-accent-bright);
    color: var(--nexus-accent-bright);
    background: var(--nexus-accent-surface-strong);
}

.nexus-appearance-panel {
    display: grid;
    gap: 9px;
    padding: 10px;
    border: 1px solid var(--nexus-border-subtle);
    border-radius: 2px;
    background: linear-gradient(180deg, rgba(17, 18, 23, .98), rgba(8, 10, 15, .98));
    box-shadow: var(--nexus-shadow-panel);
}

.nexus-appearance-panel > header {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--nexus-accent-bright);
}

.nexus-appearance-panel > header > span { display: grid; gap: 1px; }
.nexus-appearance-panel header strong { font-size: 12px; line-height: 1; }
.nexus-appearance-panel header small,
.nexus-accent-custom > span { color: #b8ad9c; font-size: 9px; font-weight: 700; }

.nexus-accent-presets {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 5px;
}

.nexus-accent-preset {
    min-width: 0;
    min-height: 42px;
    display: grid;
    place-items: center;
    gap: 3px;
    padding: 4px 2px;
    border: 1px solid var(--nexus-border-subtle);
    border-radius: 2px;
    background: rgba(5, 8, 13, .82);
    color: #d8d0c3;
}

.nexus-accent-preset:hover,
.nexus-accent-preset:focus-visible,
.nexus-accent-preset.is-selected {
    border-color: var(--preset-accent);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--preset-accent) 24%, transparent);
    outline: none;
}

.nexus-accent-swatch {
    width: 16px;
    height: 16px;
    border: 1px solid color-mix(in srgb, var(--preset-accent) 70%, white 30%);
    border-radius: 50%;
    background: var(--preset-accent);
    box-shadow: 0 0 8px color-mix(in srgb, var(--preset-accent) 38%, transparent);
}

.nexus-accent-preset small {
    max-width: 100%;
    overflow: hidden;
    font-size: 8px;
    text-overflow: ellipsis;
}

.nexus-accent-custom {
    min-height: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 4px 7px;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.nexus-accent-custom input[type="color"] {
    width: 48px;
    height: 24px;
    padding: 2px;
    border: 1px solid var(--nexus-border-strong);
    border-radius: 2px;
    background: rgba(5, 8, 13, .82);
    cursor: pointer;
}
