/** Diagnostics, About, forms, dialogs, progress overlays, and reusable editor controls. */
.log-list { max-height: 440px; overflow: auto; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 12px; }
.log-row { display: grid; grid-template-columns: 72px 70px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.log-row time { color: var(--muted); }
.log-level { color: var(--mint); text-transform: uppercase; }
.log-level.error { color: var(--red); }
.log-level.warning { color: var(--amber); }
.identity-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.identity-table th, .identity-table td { padding: 11px 0; border-bottom: 1px solid var(--line); text-align: left; }
.identity-table th { color: var(--muted); width: 36%; font-weight: 600; }
.about-me-page { min-width: 0; overflow: hidden; }
.about-me-guidance { display: flex; align-items: flex-start; gap: 16px; padding: 18px 20px; border-bottom: 1px solid var(--line); background: linear-gradient(135deg, rgb(102 247 194 / 8%), rgb(125 231 255 / 3%)); }
.about-me-guidance .chip { flex: 0 0 auto; }
.about-me-guidance h2 { margin: 0 0 5px; font-size: 17px; }
.about-me-guidance p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.about-me-guidance code { color: var(--mint); font-size: 10px; }
.about-me-custom { min-width: 0; padding: 24px; }
.about-me-starter { max-width: 720px; }
.about-me-starter h2 { margin: 14px 0 8px; font-size: clamp(24px, 4vw, 42px); letter-spacing: -.04em; }
.about-me-starter p { max-width: 650px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.about-me-links { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.about-me-links a { padding: 9px 13px; border: 1px solid var(--line-strong); border-radius: 8px; background: #0b1827; color: var(--blue); font-size: 11px; font-weight: 750; text-decoration: none; }
.about-me-links a:hover { border-color: rgb(102 247 194 / 50%); color: var(--mint); }
.about-me-links a:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.modal { width: min(920px, calc(100vw - 28px)); max-height: min(820px, calc(100vh - 28px)); padding: 0; border: 1px solid var(--line-strong); border-radius: 18px; color: var(--text); background: #0b1725; box-shadow: var(--shadow); }
.modal::backdrop { background: rgb(2 8 14 / 80%); backdrop-filter: blur(8px); }
.modal-frame { display: flex; flex-direction: column; max-height: calc(100vh - 30px); }
.compact-modal { max-width: 570px; }
.modal-header { display: flex; justify-content: space-between; gap: 20px; padding: 22px 24px 18px; border-bottom: 1px solid var(--line); }
.modal-header h2 { margin: 0; font-size: 22px; }
.modal-header p:last-child { color: var(--muted); margin: 7px 0 0; font-size: 12px; }
.icon-button { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 9px; background: #122135; color: var(--muted); font-size: 24px; cursor: pointer; }
.modal-toolbar { display: flex; align-items: center; gap: 12px; padding: 15px 24px; border-bottom: 1px solid var(--line); }
.modal-toolbar input { flex: 1; }
.modal-toolbar span { color: var(--muted); font-size: 11px; white-space: nowrap; }
.mapping-groups { padding: 18px 24px; overflow: auto; display: grid; gap: 20px; }
.mapping-group h3 { margin: 0 0 10px; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.mapping-options { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 7px; }
.mapping-option { min-width: 0; border: 1px solid var(--line); border-radius: 8px; background: #101f31; padding: 9px; text-align: left; cursor: pointer; }
.mapping-option:hover, .mapping-option.active { color: var(--mint); border-color: var(--mint); background: rgb(102 247 194 / 7%); }
.mapping-option strong { display: block; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mapping-option small { display: block; color: var(--muted); font-size: 9px; margin-top: 4px; }
.mapping-picker-control { width: 100%; min-height: 54px; display: grid; align-content: center; gap: 4px; border: 1px solid var(--line-strong); border-radius: 9px; background: #091522; padding: 9px 11px; color: var(--text); text-align: left; cursor: pointer; }
.mapping-picker-control:hover, .mapping-picker-control:focus-visible { border-color: var(--mint); box-shadow: 0 0 0 2px rgb(102 247 194 / 10%); outline: 0; }
.mapping-picker-control strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.mapping-picker-control small { color: var(--muted); font-size: 10px; }
.modal-footer { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 9px; padding: 15px 24px; border-top: 1px solid var(--line); }
.advanced-form { padding: 20px 24px; overflow: auto; }
.form-section { padding: 16px 0; border-bottom: 1px solid var(--line); }
.form-section:first-child { padding-top: 0; }
.form-section:last-child { border: 0; }
.form-section h3 { margin: 0 0 13px; font-size: 13px; }
.advanced-host-section { display: grid; gap: 13px; }
.advanced-host-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.advanced-host-heading h3 { margin-bottom: 5px; }
.advanced-host-heading p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.advanced-layer-tabs { width: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.advanced-layer-tabs button { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.advanced-host-board { overflow-x: auto; padding: 15px; border: 1px solid var(--line); border-radius: 11px; background: #07111d; }
.advanced-host-keyboard { min-width: 558px; }
.advanced-host-key { height: 70px; }
.advanced-host-key .primary-label { padding-right: 16px; font-size: 12px; }
.advanced-host-key .advanced-host-order { position: absolute; z-index: 5; right: 5px; top: 5px; width: 18px; height: 18px; display: none; place-items: center; border-radius: 99px; background: var(--mint); color: #07130f; font: 900 9px/1 ui-monospace, SFMono-Regular, Consolas, monospace; }
.advanced-host-key.host-1 .advanced-host-order, .advanced-host-key.host-2 .advanced-host-order { display: grid; }
.advanced-host-key.host-2 { border-color: var(--blue); background: linear-gradient(rgb(91 140 255 / 18%), #11233a); box-shadow: 0 0 0 2px rgb(91 140 255 / 13%), inset 0 -4px rgb(0 0 0 / 15%); }
.advanced-host-key.host-2 .advanced-host-order { background: var(--blue); color: white; }
.advanced-host-slots { min-width: 310px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.advanced-host-slots button { min-width: 0; display: grid; grid-template-columns: 26px 1fr; align-items: center; gap: 7px; padding: 7px 9px; border: 1px solid var(--line); border-radius: 9px; color: var(--muted); background: #091522; cursor: pointer; text-align: left; }
.advanced-host-slots button.active { border-color: var(--mint); color: var(--text); background: rgb(102 247 194 / 7%); }
.advanced-host-slots button i { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 7px; background: var(--mint-dark); color: var(--mint); font-style: normal; font-size: 10px; font-weight: 900; }
.advanced-host-slots button span, .advanced-host-slots button strong { min-width: 0; display: block; }
.advanced-host-slots button span { font-size: 9px; }
.advanced-host-slots button strong { margin-top: 2px; overflow: hidden; color: var(--text); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.advanced-single-host { min-width: 150px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 9px; background: #091522; }
.advanced-single-host span, .advanced-single-host strong { display: block; }
.advanced-single-host span { color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .07em; }
.advanced-single-host strong { margin-top: 4px; font-size: 12px; }
.advanced-host-legend { margin-top: 0; flex-wrap: wrap; }
.advanced-host-legend .host-two-dot { background: var(--blue); }
.advanced-host-legend #advancedHostInstruction { margin-left: auto; }
.dks-section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.dks-section-heading h3 { margin-bottom: 5px; }
.dks-section-heading p { max-width: 700px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.dks-sequence { min-width: 0; overflow-x: auto; margin-top: 12px; padding: 13px; border: 1px solid rgb(102 247 194 / 25%); border-radius: 11px; background: rgb(102 247 194 / 3%); }
.dks-sequence-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; }
.dks-sequence-heading h3 { margin: 0 0 4px; }
.dks-sequence-heading p { max-width: 700px; margin: 0; font-size: 10px; line-height: 1.5; }
.dks-legend { display: flex; gap: 10px; color: var(--muted); font-size: 9px; white-space: nowrap; }
.dks-legend span { display: inline-flex; align-items: center; gap: 5px; }
.dks-legend i { width: 9px; height: 9px; border-radius: 50%; background: var(--legend-color, var(--mint)); box-shadow: 0 0 8px color-mix(in srgb, var(--legend-color, var(--mint)) 48%, transparent); }
.dks-action-stack { display: grid; gap: 7px; }
.dks-clear-action { padding: 6px 3px; border: 0; background: none; color: var(--red); font-size: 9px; cursor: pointer; }
.dks-clear-action:hover { color: var(--text); }
.dks-action-card, .dks-actions, .dks-matrix-cell, .dks-matrix-head, .dks-action-matrix, .dks-stage-distance, .dks-cell-main { display: none; }
.dks-row-presets { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 4px; grid-column: 2 / 4; margin-top: -17px; }
.dks-row-presets > span { margin-right: 3px; color: var(--muted); font-size: 8px; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
.dks-row-presets button { height: 25px; padding: 0 7px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); background: #102034; cursor: pointer; font-size: 8px; font-weight: 850; white-space: nowrap; }
.dks-row-presets button:hover { border-color: var(--mint); color: var(--text); }
.dks-firmware-note { margin-top: 10px; }
.dks-firmware-note b { color: var(--blue); }
.dks-threshold-groups { display: grid; gap: 10px; margin-top: 15px; }
.dks-threshold-groups section { display: grid; grid-template-columns: 110px repeat(2, minmax(150px, 1fr)); gap: 9px; padding: 12px; border: 1px solid var(--line); border-radius: 11px; background: #091522; }
.dks-threshold-groups header span, .dks-threshold-groups header b { display: block; }
.dks-threshold-groups header span { color: var(--mint); font-size: 8px; font-weight: 900; letter-spacing: .08em; }
.dks-threshold-groups .release header span { color: var(--blue); }
.dks-threshold-groups header b { margin-top: 4px; font-size: 11px; }
.dks-threshold-field { margin: 0; }
.dks-threshold-field.outlier { padding: 7px; border: 1px solid rgb(255 190 92 / 42%); border-radius: 8px; background: rgb(255 190 92 / 6%); }
.dks-threshold-field.outlier small { color: var(--amber); }
.dks-native-head, .dks-action-row { min-width: 900px; display: grid; grid-template-columns: 220px minmax(440px, 1fr) 190px; align-items: center; gap: 13px; }
.dks-native-head { margin-top: 14px; color: var(--muted); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.dks-native-head > :first-child { padding-left: 28px; }
.dks-native-head > :last-child { text-align: right; }
.dks-path-heading { min-width: 0; padding: 0 0 8px; text-align: center; text-transform: none; letter-spacing: 0; }
.dks-path-heading b { display: block; color: var(--text); font-size: 10px; }
.dks-point-scale { height: 38px; position: relative; margin: 7px 58px 0; }
.dks-point-scale span { width: 86px; position: absolute; left: var(--dks-x); display: grid; justify-items: center; gap: 1px; color: var(--muted); font-size: 7px; transform: translateX(-50%); }
.dks-point-scale span::before { content: ""; width: 6px; height: 6px; position: absolute; top: -10px; border-radius: 50%; background: var(--dks-anchor); box-shadow: 0 0 8px color-mix(in srgb, var(--dks-anchor) 50%, transparent); }
.dks-point-scale i, .dks-point-scale em { color: var(--text); font-style: normal; font-variant-numeric: tabular-nums; }
.dks-point-scale i { font-size: 8px; font-weight: 900; }
.dks-point-scale small { font-size: 7px; font-weight: 700; letter-spacing: 0; text-transform: none; }
.dks-point-scale em { font-size: 7px; }
.dks-interaction-status { min-height: 31px; margin: 10px 0 0; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); background: #091522; font-size: 9px; line-height: 1.45; transition: border-color .15s ease, color .15s ease; }
.dks-interaction-status.active { border-color: rgb(102 247 194 / 40%); color: var(--text); }
.dks-interaction-status.cleared { border-color: rgb(255 126 138 / 30%); }
.dks-action-row { position: relative; border-top: 1px solid var(--line); }
.dks-action-row.invalid { border-color: rgb(255 126 138 / 55%); }
.dks-action-key-wrap { align-self: stretch; min-width: 0; display: grid; grid-template-columns: 25px minmax(0, 1fr) auto; gap: 7px; align-items: end; align-content: center;}
.dks-action-key-wrap .field { margin: 0; }
.dks-action-row.empty .mapping-picker-control { border-style: dashed; }
.dks-output-number { width: 25px; height: 25px; display: grid; place-items: center; align-self: center; border: 1px solid color-mix(in srgb, var(--dks-action) 50%, var(--line)); border-radius: 50%; color: var(--dks-action); background: color-mix(in srgb, var(--dks-action) 9%, #081522); font-size: 10px; font-style: normal; font-weight: 900; }
.dks-track-shell { min-width: 0; padding-inline: 58px; }
.dks-native-track { position: relative; height: 142px; min-width: 0; isolation: isolate; user-select: none; touch-action: none; }
.dks-base-rail { position: absolute; z-index: 0; top: 38px; left: 0; right: 0; height: 4px; border-radius: 99px; background: #344052; box-shadow: inset 0 1px 1px rgb(0 0 0 / 35%); }
.dks-span-layer { position: absolute; z-index: 1; inset: 0; pointer-events: none; }
.dks-native-segment { position: absolute; top: var(--dks-lane); left: var(--dks-start); width: max(0px, calc(var(--dks-end) - var(--dks-start) - 10px)); height: 5px; border-radius: 99px; background: var(--dks-anchor); box-shadow: 0 0 13px color-mix(in srgb, var(--dks-anchor) 38%, transparent); opacity: 0; transform: translateY(-50%); transition: width .13s ease, opacity .13s ease; }
.dks-native-segment.active { opacity: 1; }
.dks-native-segment.tap { width: 9px; transform: translate(-4.5px, -50%); }
.dks-checkpoint-wrap { position: absolute; z-index: 2; top: 6rem; left: var(--dks-x); width: 118px; display: grid; justify-items: center; transform: translate(-50%, -50%); }
.dks-checkpoint { width: 28px; height: 28px; position: relative; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: ew-resize; touch-action: none; }
.dks-checkpoint::before { content: ""; position: absolute; inset: 5px; border: 2px solid #172233; border-radius: 50%; background: #647084; box-shadow: 0 0 0 1px #435066; transition: .13s ease; }
.dks-checkpoint:hover::before, .dks-checkpoint:focus-visible::before { transform: scale(1.18); box-shadow: 0 0 0 2px #8390a5; }
.dks-checkpoint:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }
.dks-checkpoint-wrap.active .dks-checkpoint::before { border-color: #081522; background: var(--dks-anchor); box-shadow: 0 0 0 2px color-mix(in srgb, var(--dks-anchor) 55%, #fff 5%), 0 0 17px color-mix(in srgb, var(--dks-anchor) 42%, transparent); }
.dks-checkpoint span { position: relative; color: #06111d; font-size: 8px; font-weight: 950; pointer-events: none; }
.dks-checkpoint-wrap:not(.active) .dks-checkpoint span { color: var(--muted); }
.dks-checkpoint-label { display: grid; justify-items: center; gap: 2px; margin-top: 7px; color: var(--muted); font-size: 8px; line-height: 1.15; text-align: center; }
.dks-checkpoint-label strong { color: var(--text); font-size: 9px; }
.dks-checkpoint-label i { color: inherit; font-style: normal; font-variant-numeric: tabular-nums; }
.dks-native-value { min-width: 28px; height: 19px; display: inline-grid; place-items: center; padding: 0 6px; border: 1px solid var(--line); border-radius: 99px; background: #08131f; color: var(--muted); font-size: 9px; font-variant-numeric: tabular-nums; }
.dks-native-value.on { border-color: color-mix(in srgb, var(--dks-anchor) 55%, var(--line)); color: var(--text); }
.dks-checkpoint-label button { width: 20px; height: 20px; padding: 0; border: 1px solid transparent; border-radius: 6px; background: transparent; color: #687386; cursor: pointer; font-size: 14px; line-height: 16px; }
.dks-checkpoint-label button:hover { border-color: #3a2830; background: #1a1116; color: var(--red); }
.dks-checkpoint-label button:disabled { opacity: .25; cursor: default; }
.dks-row-summary { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.45; }
.dks-gesture-hint { display: flex; align-items: flex-start; gap: 9px; margin-top: 10px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; background: #091522; color: var(--muted); font-size: 9px; line-height: 1.45; }
.dks-gesture-hint > span { color: var(--mint); font-size: 16px; line-height: .8; }
.dks-gesture-hint p { margin: 0; }
.dks-gesture-hint b { color: var(--text); }
.dks-inline-validation { min-height: 18px; margin-top: 9px; }
.dks-inline-validation.warning { color: var(--amber); }
.dks-tutorial { margin-top: 4px; }
.dks-tutorial summary { color: var(--text); cursor: pointer; font-weight: 800; }
.dks-tutorial p { margin: 8px 0 0; }
.pair-travel-fields { margin-top: 12px; }
.macro-editor { display: grid; gap: 14px; }
.macro-heading, .macro-toolbar, .macro-add-actions, .macro-summary, .macro-row-actions { display: flex; align-items: center; }
.macro-heading { justify-content: space-between; gap: 18px; }
.macro-heading h3 { margin: 0 0 5px; }
.macro-heading p { margin: 0; max-width: 680px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.macro-toolbar { gap: 15px; padding: 13px; border: 1px solid var(--line); border-radius: 11px; background: #091625; }
.macro-repeat-field { width: 175px; }
.macro-repeat-field input { width: 100%; }
.macro-summary { gap: 8px; margin-right: auto; }
.macro-summary span { min-width: 78px; display: grid; gap: 2px; padding: 8px 10px; border-radius: 8px; color: var(--muted); background: #0e1d2e; font-size: 9px; text-transform: uppercase; }
.macro-summary b { color: var(--text); font-size: 14px; }
.macro-add-actions { gap: 7px; }
.macro-column-head, .macro-row { display: grid; grid-template-columns: 52px minmax(190px, 1fr) 125px 120px 112px; gap: 8px; align-items: end; }
.macro-column-head { padding: 0 10px; color: var(--muted); font-size: 9px; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.macro-rows { display: grid; gap: 8px; }
.macro-row { padding: 10px; border: 1px solid var(--line); border-radius: 11px; background: rgb(7 17 29 / 74%); }
.macro-row:focus-within { border-color: rgb(102 247 194 / 35%); }
.macro-step { align-self: stretch; display: grid; place-content: center; gap: 2px; border-right: 1px solid var(--line); color: var(--muted); text-align: center; }
.macro-step i { font-size: 7px; font-style: normal; font-weight: 900; letter-spacing: .08em; }
.macro-step b { color: var(--mint); font-size: 16px; }
.macro-delay > div { display: flex; align-items: center; }
.macro-delay input { min-width: 0; border-radius: 8px 0 0 8px; }
.macro-delay i { height: 36px; display: grid; place-items: center; padding: 0 9px; border: 1px solid var(--line-strong); border-left: 0; border-radius: 0 8px 8px 0; color: var(--muted); background: #0b1827; font-size: 9px; font-style: normal; }
.macro-row-actions { align-self: center; justify-content: flex-end; gap: 4px; }
.macro-row-actions .icon-action { width: 32px; padding: 0; }
.macro-row-actions .icon-action:disabled { opacity: .28; cursor: default; }
.macro-safety-note { margin: 0; }
.macro-safety-note b { color: var(--mint); }
.advanced-layer-note { margin: 18px 0 0; }
.advanced-layer-note b, .advanced-scope-note b { color: var(--mint); }
.advanced-pair-hosts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.modifier-picker { display: grid; gap: 12px; }
.modifier-options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.modifier-option { min-width: 0; display: flex; align-items: center; gap: 8px; padding: 10px; border: 1px solid var(--line); border-radius: 9px; color: var(--muted); background: #0b1827; cursor: pointer; text-align: left; }
.modifier-option:hover, .modifier-option.selected { color: var(--text); border-color: var(--mint); background: rgb(102 247 194 / 7%); }
.modifier-option i { width: 22px; height: 22px; flex: 0 0 22px; display: grid; place-items: center; border-radius: 7px; color: var(--mint); background: var(--mint-dark); font-style: normal; font-size: 10px; font-weight: 900; }
.modifier-option span { overflow: hidden; font-size: 11px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.modifier-picker > p { margin: 0; line-height: 1.5; }
.combination-base-field { margin-top: 16px; }
.confirm-list { margin: 20px 24px; display: grid; gap: 8px; }
.confirm-list span { display: flex; gap: 9px; border: 1px solid var(--line); border-radius: 9px; padding: 11px; font-size: 12px; }
.confirm-list span::before { content: "✓"; color: var(--mint); }
.confirm-check { display: flex; gap: 10px; align-items: flex-start; margin: 2px 24px 20px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.confirm-check input { accent-color: var(--mint); }
.form-error { color: var(--red); font-size: 12px; }

.progress-overlay { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: rgb(2 8 14 / 87%); backdrop-filter: blur(8px); }
.progress-card { width: min(420px, calc(100vw - 30px)); padding: 32px; border: 1px solid var(--line-strong); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); text-align: center; }
.spinner { width: 38px; height: 38px; margin: 0 auto 20px; border: 3px solid var(--line); border-top-color: var(--mint); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.progress-card h2 { margin: 0; font-size: 20px; }
.progress-card p { color: var(--muted); font-size: 12px; }
.progress-track { height: 7px; border-radius: 99px; background: #07111c; overflow: hidden; margin: 18px 0 8px; }
.progress-track i { display: block; width: 0; height: 100%; background: var(--mint); transition: width .2s; }
.progress-card strong { color: var(--mint); font-size: 12px; }
.toast { position: fixed; z-index: 110; right: 22px; bottom: 22px; max-width: 380px; padding: 12px 15px; border: 1px solid var(--line-strong); border-radius: 10px; color: var(--text); background: #132337; box-shadow: var(--shadow); font-size: 13px; opacity: 0; transform: translateY(12px); pointer-events: none; transition: .2s; }
.toast.show { opacity: 1; transform: translateY(0); }
.toast.error { border-color: rgb(255 126 138 / 45%); color: #ffd0d5; }
