.settings-original-cards > .setting-card:nth-child(2) { min-height: 190px; }
.settings-original-cards .setting-inner { background: #f4f5f7; }
.settings-original-cards > .setting-card > .setting-inner { margin-left: 12px; }
.auto-legacy-summary > div + div { margin-top: 12px; }
.auto-settings-card.is-editing { min-height: 0; }
.auto-settings-card.is-disabled { min-height: 96px; }
.auto-settings-card > .setting-toggle { margin-top: 33px; }
.auto-settings-card > .setting-toggle[disabled] { opacity: .42; }
.auto-settings-card > .desc { padding-right: 55px; }
.auto-settings-card .auto-setting-form { margin-top: 6px; padding: 16px 24px; }
.auto-settings-card .auto-setting-summary { position: relative; padding: 17px 24px 22px; }
.auto-summary-line { display: flex; align-items: center; flex-wrap: wrap; column-gap: 12px; row-gap: 6px; margin-bottom: 8px; }
.auto-summary-line > span { display: inline-flex; align-items: center; gap: 7px; }
.auto-pencil { position: absolute; right: 14px; top: 14px; width: 22px; height: 22px; padding: 3px; border: 0; border-radius: 4px; background: transparent; color: #68727e; opacity: .75; display: grid; place-items: center; }
.auto-pencil:hover, .auto-pencil:focus-visible { background: #fff; color: #f60; opacity: 1; }
.auto-pencil svg { width: 14px; height: 14px; }
.auto-setting-label, .auto-fill-label { font-size: 14px; line-height: 22px; }
.auto-channel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(138px, 160px)); gap: 12px; margin-top: 12px; }
.auto-channel-option { min-height: 56px; display: flex; align-items: center; gap: 7px; padding: 0 14px; border: 1px solid #e0e4e9; border-radius: 12px; color: #111827; font-size: 13px; cursor: pointer; white-space: nowrap; }
.auto-channel-option.selected { border-color: #ff6600; background: #f7f9fb; }
.auto-channel-option input { appearance: none; width: 16px; height: 16px; border: 1px solid #d9d9d9; border-radius: 4px; margin: 0 0 0 auto; background: #fff; display: grid; place-items: center; cursor: pointer; }
.auto-channel-option input:checked { background: #f60; border-color: #f60; }
.auto-channel-option input:checked::after { content: ''; width: 6px; height: 4px; border-left: 1.5px solid #fff; border-bottom: 1.5px solid #fff; transform: rotate(-45deg) translateY(-1px); }
.auto-channel-option > i { display: grid; place-items: center; width: 13px; height: 13px; border-radius: 50%; font: 10px/1 Arial, sans-serif; background: #b1b7c1; color: #fff; margin-left: -3px; }
.auto-channel-icon { display: inline-block; width: 16px; height: 16px; flex: 0 0 16px; object-fit: contain; }
.auto-mark { background: var(--channel-color); color: #fff; border-radius: 50%; font: bold 12px/16px Arial, sans-serif; text-align: center; }
.auto-mark.auto-ebay { color: #2673db; font-size: 6px; letter-spacing: -.45px; }
.auto-create-label { margin-top: 24px; margin-bottom: 10px; }
.auto-rule-line { display: flex; align-items: center; gap: 12px; font-size: 12px; }
.auto-rule-line .auto-select { width: 230px; }
.auto-select { appearance: none; padding-right: 30px !important; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m2 2 4 4 4-4' fill='none' stroke='%23949aa3' stroke-width='1.1' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important; background-size: 12px 8px !important; background-position: right 10px center !important; background-repeat: no-repeat !important; }
.auto-setting-help { color: #9298a5; font-size: 12px; line-height: 18px; margin: 12px 0 0; }
.auto-fill-label { display: flex; align-items: center; gap: 12px; }
.auto-setting-form .auto-fill-label { margin-top: 19px; }
.auto-fill-label + .auto-setting-help { margin-top: 4px; }
.auto-small-switch { width: 40px; height: 20px; flex: 0 0 40px; box-shadow: none; }
.auto-small-switch::after { top: 2px; left: 2px; width: 16px; height: 16px; }
.auto-small-switch.on::after { left: 22px; }
.auto-small-switch[disabled] { cursor: default; opacity: .55; }
.auto-blue-switch.on { background: #288fff; opacity: 1; }
.auto-settings-actions { display: flex; justify-content: flex-end; gap: 16px; margin-top: 6px; }
.auto-settings-actions .button { min-width: 64px; }
.auto-error { color: #ff4d4f; }
.auto-assignment-list { flex: 1; min-height: 0; background: #fff; overflow: auto; padding: 24px 28px 24px 24px; }
.auto-table-toolbar { min-height: 32px; margin-bottom: 16px; display: flex; align-items: center; }
.auto-settings-table { width: 100%; border-spacing: 0; table-layout: fixed; }
.auto-settings-table th { height: 46px; text-align: left; padding: 0 16px; background: #fafafa; font-weight: 500; }
.auto-settings-table th:first-child { border-radius: 6px 0 0 6px; }
.auto-settings-table th:last-child { border-radius: 0 6px 6px 0; }
.auto-settings-table td { height: 56px; padding: 0 16px; border-bottom: 1px solid #f0f0f0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.auto-settings-table tr:hover td { background: #fafafa; }
.auto-drag-dots { display: inline-block; width: 8px; height: 12px; margin-right: 12px; vertical-align: -1px; background: radial-gradient(circle, #a2a5aa .85px, transparent 1.2px) 0 0 / 4px 4px; }
.auto-drag-dots[draggable] { cursor: grab; }
.auto-link { border: none !important; color: #5869ee !important; background: transparent !important; padding: 0 !important; font: inherit; height: auto !important; }
.auto-link:hover, .auto-link:focus-visible { color: #f60 !important; }
.auto-mask { position: fixed; inset: 0; z-index: 1001; background: rgb(0 0 0 / 45%); }
.auto-rule-drawer { position: absolute; inset: 0 0 0 auto; width: min(900px, 100vw); background: #fff; display: flex; flex-direction: column; }
.auto-rule-drawer > header, .auto-sla-dialog > header { display: flex; align-items: center; min-height: 55px; padding: 0 24px; border-bottom: 1px solid #f0f0f0; font-size: 16px; font-weight: 500; }
.auto-rule-drawer > footer, .auto-sla-dialog > footer { min-height: 53px; border-top: 1px solid #f0f0f0; display: flex; justify-content: flex-end; align-items: center; gap: 16px; padding: 0 16px; }
.auto-rule-body { flex: 1; min-height: 0; overflow: auto; padding: 24px 24px 32px; }
.auto-rule-drawer .section-title { font-size: 14px; font-weight: 500; margin: 0 0 15px; }
.auto-rule-name { display: block; margin: 16px 0 22px 16px; }
.auto-rule-name-input { display: block; position: relative; margin-top: 8px; }
.auto-rule-name-input input { padding-right: 76px; }
.auto-rule-name-input small { position: absolute; right: 12px; color: #9298a5; top: 8px; }
.auto-switch-line { display: flex; gap: 8px; align-items: center; margin: 18px 0 18px 16px; }
.auto-rule-body .auto-switch-line .auto-small-switch { width: 28px; height: 16px; flex-basis: 28px; }
.auto-rule-body .auto-switch-line .auto-small-switch::after { width: 12px; height: 12px; }
.auto-rule-body .auto-switch-line .auto-small-switch.on::after { left: 14px; }
.auto-condition-editor { margin: -4px 0 24px 16px; padding: 13px; border-radius: 8px; border: 1px solid #e9ebef; }
.auto-condition-row { display: grid; grid-template-columns: 1fr 1fr 1.3fr 26px; gap: 8px; align-items: center; margin-bottom: 10px; }
.auto-icon-button { border: none; background: transparent; padding: 2px; min-width: 22px; display: grid; place-items: center; }
.auto-icon-button svg { width: 15px; height: 15px; }
.auto-outline { border-color: #f60; color: #f60; }
.auto-target-row { display: flex; align-items: center; gap: 22px; margin: 0 0 12px 16px; }
.auto-target-row label, .auto-faux-options label, .auto-sla-form .row label { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.auto-target-row input, .auto-faux-options input, .auto-sla-form input[type=radio] { accent-color: #f60; margin: 0; }
.auto-target-row .auto-switch-line { margin: 0 0 0 auto; font-size: 12px; }
.auto-target-row + select { margin-left: 16px; width: calc(100% - 16px); }
.auto-overflow { margin-top: 26px; }
.auto-overflow-options { display: flex; gap: 12px; margin: 0 0 14px 16px; }
.auto-overflow-options label { position: relative; border: 1px solid #e1e5eb; border-radius: 9px; padding: 15px 18px; cursor: pointer; }
.auto-overflow-options label.selected { background: #fff6ee; color: #f60; border-color: #f60; }
.auto-overflow-options input { opacity: 0; position: absolute; }
.auto-overflow-options label:focus-within { outline: 2px solid #ffb580; }
.auto-overflow > select { margin-left: 16px; width: calc(100% - 16px); }
.main.auto-sheet-host { padding: 0; }
.nav-expanded .main.auto-sheet-host { left: 152px; }
.auto-work-sheet.nav-expanded .topbar { left: 152px; }
.auto-work-sheet.nav-expanded .global-rail, .auto-work-sheet.nav-expanded .rail-settings { width: 152px; }
.auto-sheet-page { display: flex; flex-direction: column; height: 100%; background: #fff; color: #181818; }
.auto-sheet-header { position: relative; background: #fff; height: 54px; flex: 0 0 54px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; border-bottom: 1px solid #f2f2f3; }
.auto-sheet-header > div { display: flex; align-items: center; gap: 16px; }
.auto-sheet-header > div:first-child { font-size: 16px; }
.auto-sheet-header > .auto-sheet-tabs { position: absolute; left: 50%; transform: translateX(-50%); width: min(506px, 46%); height: 40px; gap: 2px; }
.auto-sheet-tabs > button { width: 33.333%; min-width: 0; padding: 0 !important; }
.auto-sheet-tabs > button:disabled { color: #333; opacity: 1; }
.auto-sheet-layout { flex: 1; min-height: 0; display: grid; grid-template-columns: 300px minmax(260px, 1fr) 324px; }
.auto-sheet-palette, .auto-sheet-properties { overflow: auto; }
.auto-sheet-palette { border-right: 1px solid #efeff0; padding: 20px 22px; }
.auto-sheet-palette > .muted { font-size: 12px; margin-bottom: 6px; }
.auto-sheet-palette-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; margin-bottom: 24px; }
.auto-sheet-palette-grid > div { position: relative; display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-radius: 4px; background: #f5f5f5; font-size: 13px; white-space: nowrap; }
.auto-sheet-palette-grid > div > span { color: #4b5563; font: 16px Arial, sans-serif; }
.auto-sheet-palette-grid i { position: absolute; right: 2px; top: 1px; font-style: normal; font-size: 9px; color: #f13c9c; background: #fff0f7; padding: 0 2px; }
.auto-sheet-main { background: #f8f8f8; min-width: 0; overflow: auto; padding: 27px 24px 32px; }
.auto-sheet-main > header { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #ededed; padding: 8px 0 12px; font-size: 20px; }
.auto-sheet-main > header small { font-size: 12px; }
.auto-sheet-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3px 8px; }
.auto-sheet-grid-small { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.auto-sheet-field { display: block; padding: 16px 16px 20px; min-width: 0; min-height: 103px; border: 0; text-align: left; background: none; color: inherit; }
.auto-sheet-field[role=button] { cursor: pointer; }
.auto-sheet-field[role=button]:hover { background: #f4f3f2; }
.auto-sheet-field.selected, .auto-sheet-field.selected:hover { background: #fff0e4; }
.auto-sheet-field-title { min-height: 20px; font-size: 13px; position: relative; }
.auto-sheet-field-title > span:last-child:not(.auto-error) { float: right; display: inline-flex; gap: 12px; }
.auto-sheet-field-title svg { width: 14px; height: 14px; }
.auto-sheet-control { height: 32px; display: flex; justify-content: flex-end; align-items: center; gap: 5px; border: 1px solid #dedede; border-radius: 4px; background: white; padding: 0 11px; }
.auto-sheet-control span { margin-right: auto; color: #9fa5ad; }
.auto-sheet-control .chevron { color: #9298a5; }
.auto-sheet-divider { display: flex; justify-content: center; align-items: center; color: #777; margin: 22px 12px; font-size: 12px; gap: 4px; }
.auto-sheet-divider::before, .auto-sheet-divider::after { content: ''; height: 1px; flex: 1; background: #e9e9e9; }
.auto-sheet-properties { border-left: 1px solid #f1f1f1; padding: 16px 22px 24px 24px; }
.auto-sheet-type { background: #fff9e5; border: 1px solid #ffe48d; border-radius: 5px; display: flex; align-items: center; gap: 14px; padding: 10px 14px; color: #666; font-size: 12px; line-height: 16px; min-height: 70px; }
.auto-sheet-type > b { font: 25px/1 Arial, sans-serif; color: #ffae00; }
.auto-sheet-settings-group { display: grid; gap: 9px; margin-top: 22px; font-size: 13px; color: #4d4d4d; }
.auto-sheet-settings-group textarea { min-height: 51px; font-size: 13px; resize: vertical; }
.auto-sheet-settings-group .control[readonly] { color: #333; background: #fff; }
.auto-faux-options { display: flex; flex-wrap: wrap; gap: 9px 15px; }
.auto-priority-types { display: grid; grid-template-columns: repeat(2, max-content); }
.auto-faux-options input:disabled { opacity: .75; }
.auto-sheet-option { position: relative; padding-top: 20px; margin: 4px 19px 2px 0; }
.auto-sheet-option i { position: absolute; top: 0; left: 6px; width: 20px; height: 20px; border: 2px solid #eee; border-radius: 4px; font-style: normal; text-align: center; color: #fff; }
.auto-sheet-option b { position: absolute; right: -19px; bottom: 4px; color: #b8b8b8; font-weight: 400; }
.auto-sheet-full { width: 100%; }
.auto-sheet-full:disabled { color: #444; opacity: 1; }
.auto-sheet-ai-help { padding: 9px 11px; color: #858c98; border-radius: 6px; background: #f4f5f7; font-size: 12px; line-height: 17px; }
.auto-sla-intro { margin: 0 0 20px; color: #9298a5; font-size: 12px; }
.auto-sla-cell, .auto-sla-cell svg { color: #526272; }
.auto-sla-cell { display: inline-flex; align-items: center; gap: 4px; font-variant-numeric: tabular-nums; }
.auto-sla-mask { display: grid; place-items: center; }
.auto-sla-dialog { width: min(1200px, calc(100vw - 64px)); min-height: 585px; max-height: calc(100vh - 60px); display: flex; flex-direction: column; background: #fff; border-radius: 12px; overflow: auto; }
.auto-sla-dialog > header { justify-content: space-between; }
.auto-sla-steps { display: flex; gap: 48px; padding: 24px 38px 22px; }
.auto-sla-steps > div { display: flex; align-items: center; gap: 10px; color: #80858d; }
.auto-sla-steps > div.active { color: #f60; }
.auto-sla-steps i { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid currentColor; border-radius: 50%; font-style: normal; }
.auto-sla-steps small { display: block; color: #9097a2; font-size: 12px; }
.auto-sla-form { padding: 14px 38px 30px; flex: 1; }
.auto-sla-form > label { display: grid; gap: 10px; margin-bottom: 28px; max-width: 570px; }
.auto-sla-form .row { display: flex; gap: 20px; }
.auto-sla-form .row .control { width: 112px; }
.auto-sla-reminder { padding: 14px; background: #f6f7f8; border-radius: 6px; }
.auto-demo-controls { border-top: 1px solid #edf0f3; padding-top: 12px; margin-top: 10px; }
.settings-shell + #overlays .module-demo, .auto-work-sheet + #overlays .module-demo { left: 50%; right: auto; transform: translateX(-50%); }
.settings-shell:has(.auto-settings-card.is-editing) > .demo-toggle { top: 68px; bottom: auto; }
.auto-demo-controls h4 { margin: 0 0 8px; font-size: 14px; }
.auto-demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.auto-demo-grid label { font-size: 12px; color: #59616f; }
.auto-demo-grid select { margin-top: 4px; }
.auto-demo-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.auto-demo-actions .button { font-size: 12px; padding-right: 9px; padding-left: 9px; }
.auto-demo-result { display: grid; gap: 3px; border-radius: 6px; margin-top: 10px; background: #f6f7f8; padding: 9px 11px; font-size: 12px; }
.auto-demo-result > div { display: flex; gap: 14px; }
button.auto-store-button { font: inherit; padding: 0; border: none; background: transparent; color: inherit; cursor: pointer; }
.auto-shop-picker { position: fixed; right: 186px; top: 52px; z-index: 1001; padding: 6px; min-width: 184px; border: 1px solid #eee; border-radius: 8px; box-shadow: 0 8px 22px #12223418; background: white; }
.auto-shop-picker button { border: 0; border-radius: 5px; background: transparent; padding: 8px 12px; display: block; width: 100%; text-align: left; color: #333; }
.auto-shop-picker button:hover, .auto-shop-picker button.active { color: #f60; background: #fff4eb; }
.auto-notification-row { width: 100%; display: grid; gap: 4px; text-align: left; background: #fff; border: 0; border-bottom: 1px solid #f0f0f0; padding: 16px 20px; }
.auto-notification-row:hover { background: #fafafa; }
.auto-notification-row span { display: inline-flex; align-items: center; gap: 8px; }
.auto-notification-row small { color: #8b9098; }
.auto-notification-row i { display: inline-block; width: 6px; height: 6px; background: #f60; border-radius: 50%; }
@media (max-width: 1440px) {
  .auto-sheet-layout { grid-template-columns: 250px minmax(240px, 1fr) 292px; }
  .auto-sheet-palette { padding-inline: 14px; }
  .auto-sheet-palette-grid { gap: 8px; }
  .auto-sheet-palette-grid > div { padding-inline: 8px; }
}
