/* Master configurations: SNS import wizard, variant list, breakdown tree preview. */

/* ---------- Steps (a real sequence, so numbered) ---------- */

.steps {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
    counter-reset: none;
}

.steps__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 16px 6px 6px;
    border: 1px solid var(--ft-line);
    border-radius: var(--ft-radius-pill);
    background: #FFFFFF;
    color: var(--ft-stencil-soft);
}

.steps__item + .steps__item::before {
    content: "";
    width: 18px;
    height: 1px;
    margin-left: -18px;
    background: var(--ft-line);
}

.steps__mark {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--ft-chalk-deep);
    font-family: var(--ft-font-display);
    font-weight: 700;
    font-size: 0.85rem;
}

.steps__label {
    font-family: var(--ft-font-display);
    font-weight: 600;
    letter-spacing: 0.02em;
}

.steps__item.is-current {
    border-color: var(--ft-altimeter);
    color: var(--ft-apron);
    box-shadow: var(--ft-shadow-soft);
}

.steps__item.is-current .steps__mark {
    background: var(--ft-apron);
    color: var(--ft-caution);
}

.steps__item.is-done {
    color: var(--ft-stencil);
}

.steps__item.is-done .steps__mark {
    background: rgba(46, 139, 87, 0.14);
    color: var(--ft-clear);
}

/* ---------- File step ---------- */

.dropzone--sns {
    min-height: 120px;
    padding: 22px 24px;
}

.dropzone--sns .dropzone__icon {
    width: 52px;
    height: 52px;
    background: var(--ft-apron);
    color: var(--ft-caution);
}

.dropzone__fake-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: none;
    padding: 6px 14px;
    border: 1px solid rgba(47, 127, 184, 0.5);
    border-radius: var(--ft-radius-sm);
    color: var(--ft-altimeter-deep);
    font-family: var(--ft-font-display);
    font-weight: 600;
    pointer-events: none;
}

.band--clear {
    border-color: rgba(46, 139, 87, 0.25);
    background: rgba(46, 139, 87, 0.07);
}

.band--clear .band__icon {
    color: #7FE0A8;
}

.sns-done .facts {
    padding: 0 6px;
}

/* ---------- Variant step ---------- */

.sns {
    display: grid;
    gap: 18px;
}

.band--flat {
    border: 0;
    border-radius: var(--ft-radius);
    background: transparent;
}

.band--flat .band__text {
    flex: 1;
}

.sns__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 12px;
    margin: 4px 0 0;
    font-size: 0.86rem;
    color: var(--ft-stencil-soft);
}

.sns__split {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 2.1fr);
    gap: 18px;
    align-items: start;
}

.sns__grow {
    flex: 1;
    min-width: 0;
}

.sns__rows {
    align-self: center;
    font-family: var(--ft-font-display);
    font-weight: 600;
}

.variants {
    gap: 8px;
}

.variant {
    display: grid;
    gap: 6px;
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--ft-line);
    border-radius: var(--ft-radius);
    background: #FFFFFF;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color 120ms ease, background-color 120ms ease;
}

.variant:hover {
    border-color: rgba(47, 127, 184, 0.55);
}

.variant:focus-visible {
    outline: 2px solid var(--ft-altimeter);
    outline-offset: 2px;
}

.variant.is-selected {
    border-color: var(--ft-altimeter);
    background: rgba(47, 127, 184, 0.07);
    box-shadow: inset 3px 0 0 var(--ft-caution);
}

.variant__head {
    display: flex;
    align-items: center;
    gap: 10px;
}

.variant__code {
    display: grid;
    place-items: center;
    flex: none;
    min-width: 30px;
    height: 30px;
    padding: 0 6px;
    border-radius: var(--ft-radius-sm);
    background: var(--ft-chalk-deep);
    font-family: var(--ft-font-display);
    font-weight: 700;
    color: var(--ft-apron);
}

.variant.is-selected .variant__code {
    background: var(--ft-apron);
    color: var(--ft-caution);
}

.variant__title {
    font-weight: 600;
    min-width: 0;
    overflow-wrap: anywhere;
}

.variant__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    padding-left: 40px;
    font-size: 0.8rem;
    color: var(--ft-stencil-soft);
    font-variant-numeric: tabular-nums;
}

.tag--danger {
    background: rgba(200, 16, 46, 0.08);
    color: var(--ft-streamer);
}

.card__icon--warn {
    background: rgba(227, 179, 65, 0.18);
    color: #7A5A0F;
}

.sns__option {
    display: flex;
    align-items: flex-start;
    gap: 4px;
    padding: 8px 12px 10px 4px;
    border: 1px solid rgba(47, 127, 184, 0.16);
    border-radius: var(--ft-radius);
    background: rgba(47, 127, 184, 0.05);
}

.sns__option .mud-checkbox {
    margin-top: -2px;
}

.sns__option-title {
    display: block;
    padding-top: 8px;
    font-weight: 600;
    cursor: pointer;
}

.sns__option-help {
    display: block;
    margin-top: 2px;
    font-size: 0.84rem;
    color: var(--ft-stencil-soft);
}

.sns__stats {
    margin: 0;
    font-size: 0.86rem;
    color: var(--ft-stencil-soft);
}

/* ---------- Breakdown tree ---------- */

.snstree {
    display: grid;
    gap: 10px;
}

.snstree__tools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
}

.snstree__search {
    flex: 1 1 320px;
}

.snstree__count {
    font-family: var(--ft-font-display);
    font-weight: 600;
    color: var(--ft-apron);
}

.snstree__legend {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: var(--ft-stencil-soft);
}

.snstree__legend .level-mark + * {
    margin-right: 6px;
}

.snstree__scroll {
    height: min(62vh, 640px);
    overflow-y: auto;
    padding: 6px 0;
    border: 1px solid var(--ft-line);
    border-radius: var(--ft-radius);
    background: #FFFFFF;
}

.snstree__empty {
    margin: 0;
    padding: 18px;
    color: var(--ft-stencil-soft);
}

.snstree__row {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 32px;
    padding-right: 12px;
    white-space: nowrap;
}

.snstree__row:hover {
    background: rgba(47, 127, 184, 0.05);
}

.snstree__toggle {
    display: grid;
    place-items: center;
    flex: none;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    border-radius: var(--ft-radius-xs);
    background: none;
    color: var(--ft-stencil-soft);
    cursor: pointer;
}

.snstree__toggle:hover:not(:disabled) {
    background: var(--ft-chalk-deep);
    color: var(--ft-apron);
}

.snstree__toggle:focus-visible {
    outline: 2px solid var(--ft-altimeter);
}

.snstree__toggle:disabled {
    cursor: default;
}

.snstree__code {
    min-width: 2.6rem;
    font-family: var(--ft-font-display);
    font-weight: 700;
    letter-spacing: 0.05em;
}

.snstree__code--1 { color: var(--ft-apron); }
.snstree__code--2 { color: var(--ft-altimeter-deep); }
.snstree__code--3 { color: var(--ft-altimeter); }

.snstree__title {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Level is a breakdown address, not a folder: darker and larger squares are higher levels. */
.level-mark {
    display: inline-block;
    flex: none;
    border-radius: 3px;
}

.level-mark--1 { width: 10px; height: 10px; background: var(--ft-apron); }
.level-mark--2 { width: 8px; height: 8px; background: var(--ft-altimeter-deep); }
.level-mark--3 { width: 6px; height: 6px; background: #8DBBDD; }

/* ---------- Configuration tree screen ---------- */

.cfg-split {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(320px, 5fr);
    gap: 16px;
    align-items: start;
}

.cfg-split__tree,
.cfg-split__panel {
    padding: 14px 16px;
}

.cfg-split__panel {
    position: sticky;
    top: 76px;
}

.cfg-split__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin-bottom: 10px;
}

.cfg-split__title {
    margin: 0;
    font-family: var(--ft-font-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--ft-stencil);
}

.cfg-split__stats {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
}

.cfgtree {
    display: grid;
    gap: 8px;
}

.cfgtree__tools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 12px;
}

.cfgtree__search {
    flex: 1 1 280px;
}

.cfgtree__spacer {
    flex: 1;
}

.cfgtree__note {
    margin: 0;
    font-size: 0.8rem;
    color: var(--ft-stencil-soft);
}

.cfgtree__scroll {
    height: min(68vh, 720px);
    overflow-y: auto;
    padding: 4px 0;
    border: 1px solid var(--ft-line);
    border-radius: var(--ft-radius);
    background: #FFFFFF;
}

.cfgtree__empty {
    margin: 0;
    padding: 18px;
    color: var(--ft-stencil-soft);
}

.cfgtree__row {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 34px;
    padding-right: 10px;
    white-space: nowrap;
    cursor: pointer;
    outline: none;
}

.cfgtree__row:hover {
    background: rgba(47, 127, 184, 0.06);
}

.cfgtree__row:focus-visible {
    box-shadow: inset 0 0 0 2px var(--ft-altimeter);
}

.cfgtree__row.is-selected {
    background: rgba(47, 127, 184, 0.12);
    box-shadow: inset 3px 0 0 var(--ft-caution);
}

.cfgtree__row.is-match .cfgtree__name {
    font-weight: 600;
    color: var(--ft-altimeter-deep);
}

.cfgtree__toggle {
    display: grid;
    place-items: center;
    flex: none;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    border-radius: var(--ft-radius-xs);
    background: none;
    color: var(--ft-stencil-soft);
    cursor: pointer;
}

.cfgtree__toggle:hover:not(:disabled) {
    background: var(--ft-chalk-deep);
    color: var(--ft-apron);
}

.cfgtree__toggle:disabled {
    cursor: default;
}

.cfgtree__name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.875rem;
}

.cfgtree__name--root {
    font-family: var(--ft-font-display);
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--ft-apron);
}

.cfgtree__chip.mud-icon-root {
    flex: none;
    font-size: 1.05rem;
    color: var(--ft-clear);
}

.cfgtree__chip--sublru.mud-icon-root {
    font-size: 0.9rem;
    opacity: 0.8;
}

.cfgtree__shared.mud-icon-root {
    flex: none;
    font-size: 1rem;
    color: var(--ft-altimeter);
}

.cfgtree__badges {
    display: inline-flex;
    gap: 4px;
    margin-left: auto;
    padding-left: 8px;
}

/* Breakdown levels: darker and larger is higher; the end item is the amber diamond of the product itself. */
.cfg-mark {
    display: inline-block;
    flex: none;
    border-radius: 3px;
}

.cfg-mark--enditem { width: 10px; height: 10px; background: var(--ft-caution); transform: rotate(45deg); border-radius: 2px; }
.cfg-mark--system { width: 10px; height: 10px; background: var(--ft-apron); }
.cfg-mark--subsystem { width: 8px; height: 8px; background: var(--ft-altimeter-deep); }
.cfg-mark--subsubsystem { width: 6px; height: 6px; background: #8DBBDD; }

.cfgpanel {
    display: grid;
}

.cfgpanel__section {
    display: grid;
    gap: 8px;
    padding: 12px 0;
    border-bottom: 1px solid var(--ft-line);
}

.cfgpanel__section:first-child {
    padding-top: 0;
}

.cfgpanel__section:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.cfgpanel__badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.cfgpanel__tools {
    display: inline-flex;
    gap: 4px;
    margin-left: auto;
}

.cfgpanel__tools .mud-icon-button {
    border-radius: 50%;
}

.cfgpanel__path {
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.78rem;
    color: var(--ft-stencil-soft);
}

.cfgpanel__name-row {
    display: flex;
    align-items: center;
    gap: 4px;
}

.cfgpanel__title {
    margin: 0;
    font-family: var(--ft-font-display);
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.25;
    color: var(--ft-stencil);
    overflow-wrap: anywhere;
}

.cfgpanel__subtitle {
    margin: 0;
    font-family: var(--ft-font-display);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--ft-stencil);
}

.cfgpanel__hint,
.cfgpanel__none {
    margin: 0;
    font-size: 0.82rem;
    color: var(--ft-stencil-soft);
}

.cfgpanel__add {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.cfgpanel__add-name {
    flex: 1 1 100%;
}

.cfgpanel__picker {
    display: grid;
    gap: 8px;
}

.cfgpanel__picker-add {
    justify-self: end;
}

.cfgpanel__empty {
    display: grid;
    justify-items: center;
    gap: 8px;
    padding: 48px 16px;
    color: var(--ft-stencil-soft);
    text-align: center;
}

.cfgpanel__empty .mud-icon-root {
    font-size: 2rem;
    color: var(--ft-altimeter);
}

.cfgparts {
    display: grid;
    margin: 0;
    padding: 0;
    list-style: none;
    border: 1px solid var(--ft-line);
    border-radius: var(--ft-radius-sm);
}

.cfgparts__row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto auto;
    align-items: center;
    gap: 10px;
    padding: 6px 6px 6px 12px;
    border-bottom: 1px solid var(--ft-line);
}

.cfgparts__row:last-child {
    border-bottom: 0;
}

.cfgparts__name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.85rem;
}

.cfgparts__maker {
    font-size: 0.78rem;
    color: var(--ft-stencil-soft);
}

/* "N takılı" as a button: the count opens where the items are installed (SlotInstallationsDialog). */
.cfgcount {
    display: inline-flex;
    padding: 0;
    border: 0;
    border-radius: var(--ft-radius-pill);
    background: none;
    font: inherit;
    cursor: pointer;
}

.cfgcount .badge {
    transition: box-shadow 120ms ease;
}

.cfgcount:hover .badge {
    box-shadow: inset 0 0 0 1px var(--badge-dot);
}

.cfgcount:focus-visible {
    outline: 2px solid var(--mud-palette-primary);
    outline-offset: 2px;
}

.slotinst {
    display: grid;
    gap: 10px;
}

.slotinst__lead {
    margin: 0;
    font-size: 0.85rem;
    color: var(--ft-stencil-soft);
}

.slotinst__list {
    display: grid;
    margin: 0;
    padding: 0;
    list-style: none;
    border: 1px solid var(--ft-line);
    border-radius: var(--ft-radius-sm);
}

.slotinst__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 4px 12px;
    padding: 8px 12px;
    border-bottom: 1px solid var(--ft-line);
}

.slotinst__row:last-child {
    border-bottom: 0;
}

.slotinst__system {
    font-weight: 600;
    overflow-wrap: break-word;
}

.slotinst__site,
.slotinst__sn {
    font-size: 0.78rem;
    color: var(--ft-stencil-soft);
}

@media (max-width: 600px) {
    .slotinst__row {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .slotinst__item {
        grid-column: 1 / -1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cfgcount .badge {
        transition: none;
    }
}

.delete-dialog {
    display: grid;
    gap: 10px;
}

.delete-dialog__lead {
    margin: 0;
    font-weight: 600;
}

.delete-dialog__note {
    margin: 0;
    color: var(--ft-stencil-soft);
}

.delete-dialog__reasons {
    margin: 6px 0 0;
    padding-left: 18px;
}

@media (max-width: 1100px) {
    .sns__split,
    .cfg-split {
        grid-template-columns: 1fr;
    }

    .cfg-split__panel {
        position: static;
    }
}

/* ---------- Equipment dependencies ---------- */

.cfg-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
    padding: 10px 16px;
    margin-bottom: 12px;
}

.cfg-bar__select {
    flex: 0 1 360px;
    min-width: 220px;
}

.cfg-empty {
    display: grid;
    justify-items: center;
    gap: 8px;
    padding: 36px 16px;
    text-align: center;
    color: var(--ft-stencil-soft);
}

.cfg-empty .mud-icon-root {
    font-size: 2.2rem;
    color: var(--ft-altimeter);
}

.cfg-empty p {
    margin: 0;
    max-width: 46ch;
}

.dep-path {
    display: block;
    font-size: 0.78rem;
    line-height: 1.35;
    color: var(--ft-stencil-soft);
}

.dep-carrier {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.dep-carrier .mud-icon-root {
    flex: none;
    color: var(--ft-altimeter);
}

.dep-carrier__none {
    color: var(--ft-stencil-soft);
}

.dep-dialog {
    display: grid;
    gap: 10px;
}

.dep-dialog__lead {
    margin: 0;
    font-family: var(--ft-font-display);
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--ft-stencil);
}

.dep-dialog > .dep-path {
    margin: -6px 0 0;
}

.dep-dialog__current {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    justify-self: start;
    margin: 0;
    padding: 4px 10px;
    border-radius: var(--ft-radius-pill);
    background: var(--ft-chalk);
    color: var(--ft-stencil);
    font-size: 0.85rem;
}

.dep-dialog__current .mud-icon-root {
    color: var(--ft-altimeter);
}

.dep-dialog__hint {
    margin: 0;
    font-size: 0.82rem;
    color: var(--ft-stencil-soft);
}

.dep-dialog__list {
    margin: 6px 0;
    padding-left: 18px;
}

.dep-dialog__list li {
    margin: 2px 0;
}

.dep-dialog__list .pn {
    display: inline;
    margin: 0 6px;
}

.dep-dialog__ms {
    font-weight: 600;
}

.dep-dialog__sn {
    font-family: var(--ft-font-display);
    color: var(--ft-stencil-soft);
}

.dep-option {
    display: grid;
    gap: 1px;
    min-width: 0;
}

.dep-option__name {
    font-family: var(--ft-font-display);
    font-weight: 600;
    letter-spacing: 0.02em;
}

.dep-chain .cfgtree__scroll {
    height: auto;
    max-height: min(60vh, 560px);
}

/* ---------- Copy configuration ---------- */

.copy-dialog {
    display: grid;
    gap: 12px;
}

.copy-modes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.copy-mode {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--ft-line);
    border-radius: var(--ft-radius);
    background: #FFFFFF;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color 120ms ease, box-shadow 120ms ease;
}

.copy-mode:hover:not(:disabled) {
    border-color: var(--ft-altimeter);
}

.copy-mode:focus-visible {
    outline: 2px solid var(--ft-altimeter);
    outline-offset: 2px;
}

.copy-mode.is-selected {
    border-color: var(--ft-apron);
    box-shadow: inset 4px 0 0 var(--ft-caution);
}

.copy-mode .mud-icon-root {
    flex: none;
    color: var(--ft-altimeter);
}

.copy-mode__text {
    display: grid;
    gap: 4px;
}

.copy-mode__text strong {
    font-family: var(--ft-font-display);
    color: var(--ft-stencil);
}

.copy-mode__text span {
    font-size: 0.8rem;
    line-height: 1.4;
    color: var(--ft-stencil-soft);
}

@media (max-width: 600px) {
    .copy-modes {
        grid-template-columns: 1fr;
    }
}

/* ---------- Effectivity by main system ---------- */

.eff-slot {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
}

.eff-table td:has(> .eff-cell) {
    padding: 4px 6px;
    text-align: center;
}

.eff-cell {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 44px;
    height: 28px;
    padding: 0 8px;
    border: 1px solid transparent;
    border-radius: var(--ft-radius-sm);
    background: transparent;
    font: inherit;
    font-size: 0.72rem;
    cursor: pointer;
    transition: background-color 120ms ease, border-color 120ms ease;
}

.eff-cell:focus-visible {
    outline: 2px solid var(--ft-altimeter);
    outline-offset: 1px;
}

.eff-cell--effective {
    color: var(--ft-clear);
}

.eff-cell--effective:hover {
    border-color: rgba(46, 139, 87, 0.35);
    background: rgba(46, 139, 87, 0.08);
}

.eff-cell--noneffective {
    border-color: rgba(200, 16, 46, 0.35);
    background: rgba(200, 16, 46, 0.08);
    color: var(--ft-streamer);
}

.eff-cell--inherited {
    border-color: var(--ft-line);
    background: var(--ft-chalk);
    color: var(--ft-stencil-soft);
}

.eff-cell.has-parts {
    border-color: rgba(227, 179, 65, 0.7);
}

.eff-cell__parts {
    font-family: var(--ft-font-display);
    font-weight: 600;
    color: #8A6410;
}

.eff-dialog {
    display: grid;
    gap: 10px;
}

.eff-dialog > .dep-path {
    margin: -4px 0 0;
}

.eff-dialog__ms {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    justify-self: start;
    padding: 4px 10px;
    border-radius: var(--ft-radius-pill);
    background: var(--ft-apron);
    color: #FFFFFF;
    font-family: var(--ft-font-display);
    font-size: 0.85rem;
    letter-spacing: 0.03em;
}

.eff-dialog__state {
    display: grid;
    gap: 2px;
    padding: 10px 12px;
    border-left: 4px solid var(--ft-clear);
    border-radius: 0 var(--ft-radius-sm) var(--ft-radius-sm) 0;
    background: rgba(46, 139, 87, 0.07);
}

.eff-dialog__state span {
    font-size: 0.85rem;
    color: var(--ft-stencil-soft);
}

.eff-dialog__state--noneffective {
    border-left-color: var(--ft-streamer);
    background: rgba(200, 16, 46, 0.06);
}

.eff-dialog__state--inherited {
    border-left-color: var(--ft-stencil-soft);
    background: var(--ft-chalk);
}

.eff-dialog__along summary {
    cursor: pointer;
    font-size: 0.88rem;
    color: var(--ft-altimeter-deep);
}

.eff-dialog__along ul {
    max-height: 180px;
    margin: 6px 0 0;
    padding-left: 18px;
    overflow-y: auto;
    font-size: 0.82rem;
}

.eff-dialog__title {
    margin: 6px 0 0;
    font-family: var(--ft-font-display);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ft-stencil);
}

.eff-parts {
    display: grid;
    margin: 0;
    padding: 0;
    list-style: none;
    border: 1px solid var(--ft-line);
    border-radius: var(--ft-radius);
}

.eff-parts__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-bottom: 1px solid var(--ft-line);
}

.eff-parts__row:last-child {
    border-bottom: none;
}

.eff-parts__row.is-out .pn {
    text-decoration: line-through;
    text-decoration-color: var(--ft-streamer);
}

.eff-parts__pn {
    display: grid;
    min-width: 0;
}

.eff-parts__state {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: flex-end;
}

@media (max-width: 600px) {
    .eff-parts__row {
        grid-template-columns: 1fr;
    }

    .eff-parts__state {
        justify-content: flex-start;
    }
}

@media (max-width: 600px) {
    .cfg-bar__select {
        flex: 1 1 100%;
    }
}
