/* Asset setup: deliberately scoped so the existing Control screens keep their UI. */
.app-sidebar-nav a[data-nav-key="asset_setup"],
.app-more-sheet nav a[data-nav-key="asset_setup"] {
    position: relative;
    margin-block: 7px;
    color: #fff;
    background: #3424e5;
    box-shadow: 0 7px 18px rgba(52, 36, 229, .20);
}
.app-sidebar-nav a[data-nav-key="asset_setup"]:hover,
.app-more-sheet nav a[data-nav-key="asset_setup"]:hover {
    color: #fff;
    background: #2416bf;
}
.am-page { --am-purple: #3424e5; --am-purple-soft: #f1efff; max-width: 1360px; }
.am-page, .am-page * { min-width: 0; }
.am-page [hidden] { display: none !important; }
.am-page h1 { font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -.8px; line-height: 1.12; }
.am-page h2 { font-size: 17px; line-height: 1.3; }
.am-page h3 { margin: 0; font-size: 14px; line-height: 1.4; }
.am-hero {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: clamp(20px, 3vw, 34px);
    border: 1px solid #dddaf9;
    border-radius: 16px;
    background: linear-gradient(115deg, #fff 20%, #f3f0ff 100%);
    overflow: hidden;
}
.am-hero > div:first-child { max-width: 760px; }
.am-hero p { margin-top: 12px; max-width: 690px; color: var(--muted, #5f6b82); line-height: 1.65; }
.am-kicker, .am-hero .badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 11px;
    padding: 5px 9px;
    border: 1px solid #ded8ff;
    border-radius: 6px;
    color: #3424a5;
    background: #eeebff;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .7px;
    text-transform: uppercase;
}
.am-actions { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; }
.am-hero > .am-actions { flex: 0 0 auto; max-width: 260px; }
.am-page button, .am-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 40px;
    padding: 10px 15px;
    border: 1px solid transparent;
    border-radius: 8px;
    color: #fff;
    background: var(--am-purple);
    font-size: 12px;
    line-height: 1.25;
    font-weight: 800;
    text-align: center;
    box-shadow: 0 5px 13px rgba(52, 36, 229, .14);
    cursor: pointer;
}
.am-page button:hover, .am-button:hover { color: #fff; background: #2416bf; box-shadow: 0 5px 13px rgba(52, 36, 229, .2); }
.am-page .am-button-secondary, .am-page button.secondary {
    border-color: #d9deeb;
    color: #38415d;
    background: #fff;
    box-shadow: none;
}
.am-page .am-button-secondary:hover, .am-page button.secondary:hover { border-color: #bbb4f0; color: #3424a5; background: #f6f4ff; }
.am-page button:disabled { opacity: .46; cursor: not-allowed; box-shadow: none; transform: none; }
.am-page button svg, .am-button svg { width: 16px; height: 16px; flex: 0 0 16px; }
.am-page :is(button, a, input, select, textarea):focus-visible { outline: 3px solid #a6a0ff; outline-offset: 3px; }
.am-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-block: 20px; }
.am-stats > * { display: grid; gap: 5px; padding: 17px 19px; border: 1px solid var(--line, #d9e4f2); border-radius: 11px; background: #fff; }
.am-stats strong { color: #202543; font-size: 25px; line-height: 1.1; letter-spacing: -.5px; }
.am-stats span, .am-stats small { color: var(--muted, #5f6b82); font-size: 11px; font-weight: 650; }
.am-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); align-items: start; gap: 20px; margin-block: 20px; }
.am-card { padding: 22px; border: 1px solid var(--line, #d9e4f2); border-radius: 13px; background: #fff; box-shadow: 0 5px 18px rgba(42, 79, 126, .04); }
.am-card + .am-card { margin-top: 20px; }
.am-grid > .am-card + .am-card { margin-top: 0; }
.am-card-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 20px; }
.am-card-head p, .am-card > p { margin-top: 7px; color: var(--muted, #5f6b82); font-size: 12px; line-height: 1.65; }
.am-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.am-field { display: grid; gap: 6px; margin-block: 14px; }
.am-fields > .am-field { margin-block: 0; }
.am-field > label, label.am-field { color: #49536d; font-size: 12px; font-weight: 750; }
.am-page input, .am-page select, .am-page textarea { min-height: 41px; border-radius: 7px; font-size: 12px; }
.am-page input[type="checkbox"] { width: 16px; min-height: 16px; height: 16px; margin: 0; accent-color: #3424e5; cursor: pointer; }
.am-page input[type="checkbox"]:disabled { cursor: not-allowed; }
.am-inline-fields { display: flex; align-items: end; flex-wrap: wrap; gap: 10px; }
.am-inline-fields > .am-field { flex: 1 1 150px; margin-block: 0; }
.am-help { margin-top: 7px; color: var(--muted, #5f6b82); font-size: 11px; line-height: 1.65; }
.am-help a { color: #3424b7; text-decoration: underline; text-underline-offset: 2px; }
.am-notice { margin-block: 16px; padding: 12px 14px; border: 1px solid #ddd7fc; border-radius: 8px; color: #514683; background: #f7f5ff; font-size: 12px; line-height: 1.6; }
.am-notice.success { border-color: #bce8d6; color: #076748; background: #f0fbf5; }
.am-notice.error { border-color: #f2c6bf; color: #9b291f; background: #fff4f2; }
.am-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 22px 0; padding: 0; list-style: none; counter-reset: am-step; }
.am-steps small { display: block; }
.am-steps li { position: relative; padding-left: 39px; color: var(--muted, #5f6b82); font-size: 12px; line-height: 1.65; counter-increment: am-step; }
.am-steps li::before { content: counter(am-step); position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; color: #3424b7; background: #f0edff; font-size: 11px; font-weight: 850; }
.am-steps strong { display: block; color: #313a54; }
.am-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 5px; border: 1px solid var(--line, #d9e4f2); border-radius: 9px; background: #f6f8fc; }
.am-tabs > a, .am-tabs > button { min-height: 35px; padding: 8px 12px; border-radius: 6px; color: #5f6b82; background: transparent; box-shadow: none; font-size: 12px; font-weight: 750; }
.am-tabs > .active, .am-tabs > [aria-selected="true"], .am-tabs > [aria-current="page"] { color: #3424b7; background: #fff; box-shadow: 0 2px 7px rgba(20, 30, 55, .07); }
.am-table-scroll, .am-link-table { max-width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: thin; }
.am-page table { width: 100%; border-collapse: collapse; font-size: 12px; }
.am-page :is(th, td) { padding: 13px 10px; border-bottom: 1px solid #edf0f6; text-align: left; vertical-align: middle; }
.am-page th { color: #6c768c; background: #fafbfe; font-size: 10px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; }
.am-page td strong { display: block; color: #30394f; font-size: 12px; }
.am-page td small { color: #7b8496; font-size: 10px; }
.am-page tbody tr:last-child td { border-bottom: 0; }
.am-page td small { display: block; margin-top: 4px; }
.am-page tbody tr:has(input[name="link_ids[]"]:checked) { background: #f7f5ff; }
.am-page td a { color: #3424b7; }
.am-link-table table, table.am-link-table { min-width: 760px; }
.am-page td input:not([type="checkbox"]), .am-page td select { min-width: 112px; }
.am-status { display: inline-flex; align-items: center; gap: 5px; padding: 4px 7px; border-radius: 5px; color: #59647b; background: #edf1f7; font-size: 10px; line-height: 1.3; font-weight: 800; white-space: nowrap; }
.am-status.pending { color: #956018; background: #fff5dc; }
.am-status.approved { color: #076748; background: #e8f8ef; }
.am-bulk { display: flex; align-items: end; flex-wrap: wrap; gap: 12px; margin-block: 17px; padding: 15px; border: 1px solid #e0dcf6; border-radius: 9px; background: #f8f7fe; }
.am-bulk .am-field { flex: 1 1 145px; margin: 0; }
.am-bulk > .am-card-head, .am-bulk > .am-fields, .am-bulk > .am-help { flex-basis: 100%; }
.am-bulk > .am-card-head { margin-bottom: 0; }
.am-catalog > summary { display: flex; justify-content: space-between; gap: 20px; align-items: center; cursor: pointer; list-style: none; }
.am-catalog > summary::-webkit-details-marker { display: none; }
.am-catalog > summary > span { display: grid; gap: 8px; }
.am-catalog > summary strong { display: block; font-size: 17px; color: #22263f; }
.am-catalog > summary small { display: block; font-size: 12px; color: #69738a; }
.am-catalog > summary .am-kicker { width: max-content; margin: 0; }
.am-catalog > summary svg { width: 20px; height: 20px; flex: 0 0 20px; }
.am-catalog[open] > summary { margin-bottom: 20px; }
.am-catalog #catalog-review { padding: 0; margin: 0; border: 0; box-shadow: none; }
.am-pagination { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 15px; align-items: center; margin-top: 20px; color: #69738a; font-size: 12px; }
.am-history { padding: 0; list-style: none; }
.am-history li { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; padding: 10px 0; border-top: 1px solid #edf0f6; font-size: 11px; color: #69738a; }
.am-selected-count { color: #5d527c; font-size: 11px; font-weight: 750; }
.am-bulk > .am-selected-count { flex-basis: 100%; }
.am-empty { padding: 28px 20px; border: 1px dashed #d9deeb; border-radius: 8px; color: #68738a; background: #fbfcff; font-size: 12px; line-height: 1.7; text-align: center; }
.am-empty strong { display: block; margin-bottom: 5px; color: #3f4961; font-size: 13px; }
.am-page code { padding: 2px 5px; border-radius: 4px; color: #574b81; background: #f0eef6; font-size: 11px; overflow-wrap: anywhere; }

/* Tour layer blocks interaction with the page while its dialog owns focus. */
.am-tour-shield { position: fixed; inset: 0; z-index: 10000; touch-action: none; }
.am-tour-spotlight { position: fixed; z-index: 10001; border: 2px solid #b9b1ff; border-radius: 12px; box-shadow: 0 0 0 9999px rgba(17, 21, 42, .67), 0 0 0 5px rgba(173, 162, 255, .25); pointer-events: none; }
.am-tour-dialog { position: fixed; z-index: 10002; display: flex; flex-direction: column; width: min(380px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 23px; border: 1px solid #dcd6ff; border-radius: 14px; color: #20253f; background: #fff; box-shadow: 0 24px 90px rgba(5, 9, 30, .3); overflow-y: auto; overscroll-behavior: contain; font: 13px/1.6 Inter, ui-sans-serif, system-ui, -apple-system, sans-serif; animation: am-tour-in .16s ease both; }
.am-tour-dialog::before { content: ""; position: absolute; width: 20px; height: 4px; top: 0; left: 24px; border-radius: 0 0 4px 4px; background: #3424e5; }
.am-tour-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.am-tour-counter { color: #786a9c; font-size: 10px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; }
.am-tour-dialog h2 { margin: 13px 0 8px; padding: 0; color: #24233e; font-size: 21px; font-weight: 800; line-height: 1.25; letter-spacing: -.4px; outline: none; }
.am-tour-dialog p { margin: 0; color: #667087; font-size: 12px; line-height: 1.8; }
.am-tour-dots { display: flex; gap: 5px; margin-top: 20px; }
.am-tour-dots span { display: block; width: 6px; height: 6px; border-radius: 50%; background: #e4e0f3; }
.am-tour-dots span.is-current { width: 19px; border-radius: 4px; background: #3424e5; }
.am-tour-controls { display: flex; align-items: center; gap: 7px; margin-top: 18px; }
.am-tour-dialog button { min-height: 38px; padding: 9px 12px; border: 1px solid transparent; border-radius: 7px; color: #fff; background: #3424e5; box-shadow: none; font-size: 11px; line-height: 1.25; font-weight: 800; cursor: pointer; }
.am-tour-dialog button:hover { background: #2416bf; transform: none; box-shadow: none; }
.am-tour-dialog button:focus-visible { outline: 3px solid #aaa1ff; outline-offset: 3px; }
.am-tour-dialog button:disabled { opacity: .4; cursor: default; }
.am-tour-dialog .am-tour-close { display: grid; place-items: center; flex: 0 0 28px; width: 28px; min-height: 28px; padding: 0; color: #73718b; background: #f5f3fa; font-size: 18px; line-height: 1; }
.am-tour-dialog .am-tour-skip { padding-inline: 0; margin-right: auto; color: #79718e; background: transparent; }
.am-tour-dialog .am-tour-back { border-color: #e0dcec; color: #655b7d; background: #fff; }
.am-tour-dialog .am-tour-back:hover { background: #f5f3fc; }
@keyframes am-tour-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 1000px) {
    .am-grid { grid-template-columns: 1fr; }
    .am-hero { align-items: flex-start; }
    .am-hero > .am-actions { max-width: 190px; }
}
@media (max-width: 650px) {
    .am-steps { grid-template-columns: 1fr; gap: 13px; }
    .am-hero { flex-direction: column; gap: 20px; border-radius: 11px; }
    .am-hero > .am-actions { max-width: none; width: 100%; }
    .am-hero > .am-actions > * { flex: 1; }
    .am-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-block: 14px; }
    .am-stats > * { padding: 14px; }
    .am-stats strong { font-size: 22px; }
    .am-grid { gap: 14px; margin-block: 14px; }
    .am-card { padding: 17px; border-radius: 10px; }
    .am-fields { grid-template-columns: 1fr; }
    .am-bulk { padding: 12px; }
    .am-bulk .am-field { flex-basis: calc(50% - 12px); }
    .am-bulk > button { width: 100%; }
    .am-tour-dialog { padding: 19px; border-radius: 12px; }
    .am-tour-dialog h2 { font-size: 19px; }
}
@media (max-width: 360px) {
    .am-bulk .am-field { flex-basis: 100%; }
    .am-tour-dialog { padding: 15px; }
    .am-tour-controls { gap: 5px; }
    .am-tour-dialog button { padding-inline: 9px; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
    .am-tour-dialog { animation: none; }
    .am-page *, .app-sidebar-nav a[data-nav-key="asset_setup"] { scroll-behavior: auto !important; transition: none !important; }
}

/* Simple asset setup: one product, one decision, explicit visibility. */
.am-page.am-setup-v2 {
    --am-ink: #242438;
    --am-muted: #71778a;
    --am-line: #e7e8ef;
    --am-purple: #4533dd;
    --am-purple-soft: #f4f2ff;
    width: min(calc(100% - 48px), 1060px);
    max-width: 1060px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 34px;
    padding-bottom: 36px;
}
.am-setup-v2 h1, .am-setup-v2 h2, .am-setup-v2 h3, .am-setup-v2 p { margin: 0; }
.am-setup-v2 h1 { color: var(--am-ink); font-size: clamp(26px, 2.4vw, 32px); font-weight: 800; line-height: 1.2; letter-spacing: -.9px; }
.am-setup-v2 h2 { color: var(--am-ink); font-size: 21px; font-weight: 800; line-height: 1.35; letter-spacing: -.4px; }
.am-setup-v2 h3 { color: var(--am-ink); font-size: 15px; font-weight: 750; }
.am-setup-v2 p, .am-setup-v2 small { color: var(--am-muted); line-height: 1.65; }
.am-setup-v2 .am-hero {
    min-height: 0;
    padding: 0 0 4px;
    border: 0;
    border-radius: 0;
    background: transparent;
    overflow: visible;
    box-shadow: none;
}
.am-setup-v2 .am-hero > div:first-child { max-width: 680px; }
.am-setup-v2 .am-hero p { max-width: 630px; margin-top: 9px; font-size: 14px; }
.am-setup-v2 .am-hero .am-kicker { display: none; }
.am-setup-v2 .am-hero > .am-actions { max-width: none; }
.am-setup-v2 button, .am-setup-v2 .am-button { min-height: 43px; padding: 11px 17px; border-radius: 9px; font-size: 13px; line-height: 1.35; font-weight: 750; letter-spacing: 0; box-shadow: none; text-decoration: none; }
.am-setup-v2 button:hover, .am-setup-v2 .am-button:hover { transform: none; box-shadow: none; }
.am-setup-v2 .am-button-secondary { border-color: #dedee9; color: #55556a; background: #fff; }
.am-setup-v2 .am-button-secondary:hover { border-color: #c8c1f0; color: #4533bb; background: #faf9ff; }
.am-setup-v2 .am-hero [data-am-tour-start] { min-height: 38px; padding-inline: 13px; font-size: 12px; }
.am-setup-v2 .am-progress {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin: 4px 0 0;
    padding: 0;
    border: 1px solid var(--am-line);
    border-radius: 12px;
    background: #fff;
    list-style: none;
    counter-reset: am-wizard-step;
    overflow: hidden;
}
.am-setup-v2 .am-progress li {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 66px;
    padding: 16px 21px;
    color: #8a8c9e;
    font-size: 13px;
    font-weight: 700;
    counter-increment: am-wizard-step;
}
.am-setup-v2 .am-progress li + li { border-left: 1px solid var(--am-line); }
.am-setup-v2 .am-progress li::before { content: counter(am-wizard-step); display: grid; place-items: center; flex: 0 0 25px; width: 25px; height: 25px; border: 1px solid #e2e3eb; border-radius: 50%; color: #838598; background: #fff; font-size: 11px; font-weight: 750; }
.am-setup-v2 .am-progress li.active { color: #4533bb; background: #faf9ff; }
.am-setup-v2 .am-progress li.active::before { border-color: #4533dd; color: #fff; background: #4533dd; }
.am-setup-v2 .am-progress li.active::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: #6756e8; }
.am-setup-v2 .am-progress li.complete { color: #587367; }
.am-setup-v2 .am-progress li.complete::before { border-color: #d3e9dc; color: #2b7950; background: #f0f8f3; }
.am-setup-v2 .am-progress a { color: inherit; text-decoration: none; }
.am-setup-v2 .am-progress small { display: none; }
.am-setup-v2 .am-wizard-card { display: grid; gap: 22px; margin: 0; padding: clamp(22px, 3vw, 34px); border: 1px solid var(--am-line); border-radius: 15px; background: #fff; box-shadow: 0 5px 20px rgba(30, 28, 65, .025); }
.am-setup-v2 .am-wizard-card > header, .am-setup-v2 .am-wizard-card .am-card-head { margin: 0; }
.am-setup-v2 .am-wizard-card > header p, .am-setup-v2 .am-wizard-card .am-card-head p, .am-setup-v2 .am-wizard-card > h2 + p { margin-top: 7px; font-size: 13px; }
.am-setup-v2 .am-wizard-card .am-kicker { margin-bottom: 9px; padding: 0; border: 0; color: #807897; background: none; font-size: 10px; letter-spacing: .8px; }
.am-setup-v2 .am-wizard-card form { margin: 0; }
.am-setup-v2 .am-fields { gap: 18px; }
.am-setup-v2 .am-field { gap: 7px; margin-block: 0 18px; }
.am-setup-v2 .am-field > span, .am-setup-v2 .am-field > label { color: #4a4b61; font-size: 12px; font-weight: 700; line-height: 1.45; }
.am-setup-v2 .am-field small { color: #858799; font-size: 11px; font-weight: 400; }
.am-setup-v2 input, .am-setup-v2 select, .am-setup-v2 textarea { min-height: 45px; padding: 11px 13px; border: 1px solid #dadce7; border-radius: 9px; color: #343548; background: #fff; box-shadow: none; font-size: 13px; line-height: 1.45; }
.am-setup-v2 input::placeholder, .am-setup-v2 textarea::placeholder { color: #a0a2b0; }
.am-setup-v2 input:focus, .am-setup-v2 select:focus, .am-setup-v2 textarea:focus { border-color: #8d80e6; box-shadow: 0 0 0 3px #f0edff; }
.am-setup-v2 input[type="checkbox"], .am-setup-v2 input[type="radio"] { width: 18px; height: 18px; min-height: 18px; padding: 0; margin: 1px 0 0; flex: 0 0 18px; accent-color: #4533dd; box-shadow: none; }
.am-setup-v2 input[type="radio"] { border-radius: 50%; }
.am-setup-v2 .am-inline-fields { display: flex; gap: 10px; align-items: flex-end; }
.am-setup-v2 .am-inline-fields .am-field { flex: 1 1 260px; margin: 0; }
.am-setup-v2 .am-inline-fields > button { min-height: 45px; }
.am-setup-v2 .am-product-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; margin: 0; padding: 0; list-style: none; }
.am-setup-v2 .am-product-list > a, .am-setup-v2 .am-product-list > li, .am-setup-v2 .am-product-list > article { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 17px 18px; border: 1px solid #e4e4ed; border-radius: 10px; color: #3d3d53; background: #fff; line-height: 1.45; text-decoration: none; }
.am-setup-v2 .am-product-list > a { transition: border-color .15s, background .15s; }
.am-setup-v2 .am-product-list > a:hover { border-color: #b5aaf0; background: #fbfaff; }
.am-setup-v2 .am-product-list strong { display: block; margin-bottom: 4px; color: #343448; font-size: 13px; font-weight: 750; }
.am-setup-v2 .am-product-list small { display: block; color: #898b9d; font-size: 10px; font-weight: 400; overflow-wrap: anywhere; }
.am-setup-v2 .am-product-list svg { width: 17px; height: 17px; flex: 0 0 17px; color: #8b82b4; }
.am-setup-v2 .am-choice { display: flex; align-items: flex-start; gap: 12px; padding: 17px; border: 1px solid #e2e2ed; border-radius: 10px; color: #4a4a61; background: #fff; cursor: pointer; }
.am-setup-v2 .am-choice:hover { border-color: #bdb4ec; }
.am-setup-v2 .am-choice.is-checked, .am-setup-v2 .am-choice:has(input:checked) { border-color: #a89be9; background: #faf8ff; }
.am-setup-v2 .am-choice strong { display: block; font-size: 13px; font-weight: 750; line-height: 1.4; }
.am-setup-v2 .am-choice small { display: block; margin-top: 4px; color: #858196; font-size: 11px; font-weight: 400; }
.am-setup-v2 .am-member-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.am-setup-v2 .am-member-list > label, .am-setup-v2 .am-member-list > li > label { display: flex; align-items: flex-start; gap: 11px; padding: 14px 16px; border: 1px solid #e4e4ed; border-radius: 9px; color: #4a4b61; background: #fff; font-size: 13px; font-weight: 600; cursor: pointer; }
.am-setup-v2 .am-member-list label.is-checked, .am-setup-v2 .am-member-list label:has(input:checked) { border-color: #c2b7f2; background: #faf8ff; }
.am-setup-v2 .am-member-list small { display: block; margin-top: 3px; color: #8b8898; font-size: 10px; font-weight: 400; }
.am-setup-v2 .am-member-list label:has(input:disabled) { cursor: default; }
.am-setup-v2 .am-connection { display: flex; align-items: flex-start; gap: 10px; padding: 15px 18px; border: 1px solid #e2eae5; border-radius: 11px; color: #557563; background: #f6faf7; font-size: 12px; line-height: 1.6; }
.am-setup-v2 .am-connection svg { width: 17px; height: 17px; flex: 0 0 17px; margin-top: 1px; color: #488b66; }
.am-setup-v2 .am-connection strong { color: #457158; font-size: 12px; font-weight: 750; }
.am-setup-v2 .am-connection p { margin-top: 3px; color: #718678; font-size: 11px; }
.am-setup-v2 .am-connection > div { flex: 1; }
.am-setup-v2 .am-connection small { color: #7d8d83; font-size: 10px; }
.am-setup-v2 .am-wizard-card > .am-actions, .am-setup-v2 .am-wizard-card form > .am-actions { justify-content: flex-end; gap: 10px; margin-top: 4px; padding-top: 21px; border-top: 1px solid #eeedf3; }
.am-setup-v2 .am-wizard-card .am-actions > a:first-child:not(:last-child) { margin-right: auto; }
.am-setup-v2 .am-notice { margin: 0; padding: 13px 16px; border-radius: 10px; font-size: 12px; }
.am-setup-v2 .am-empty { padding: 25px 20px; border-color: #e6e4f0; color: #8a879a; background: #fdfcff; font-size: 12px; }
.am-setup-v2 .am-help { color: #8b879a; font-size: 11px; line-height: 1.65; }
.am-setup-v2 .am-secondary { margin-top: 4px; padding: 0; border: 1px solid #e7e6ef; border-radius: 11px; background: #fff; overflow: hidden; }
.am-setup-v2 .am-secondary > summary { display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 54px; padding: 17px 20px; color: #777387; font-size: 12px; font-weight: 600; list-style: none; cursor: pointer; }
.am-setup-v2 .am-secondary > summary::-webkit-details-marker { display: none; }
.am-setup-v2 .am-secondary > summary::after { content: "+"; color: #a09aae; font-size: 19px; line-height: 1; font-weight: 400; }
.am-setup-v2 .am-secondary[open] > summary { border-bottom: 1px solid #eeedf4; }
.am-setup-v2 .am-secondary[open] > summary::after { content: "−"; }
.am-setup-v2 .am-secondary > :not(summary) { margin: 20px; }
.am-setup-v2 .am-secondary > .am-card { border-color: #ecebf2; border-radius: 10px; box-shadow: none; }
.am-setup-v2 .am-secondary h2 { font-size: 16px; }
.am-setup-v2 .am-secondary h3 { font-size: 13px; }
.am-setup-v2 .am-secondary .am-card-head { margin-bottom: 15px; }
.am-setup-v2 .am-secondary .am-tabs { margin-bottom: 16px; }
.am-setup-v2 .am-secondary .am-bulk { margin-bottom: 0; background: #faf9fe; }
.am-setup-v2 .am-secondary .am-fields { gap: 12px; }
.am-setup-v2 .am-secondary .am-field { margin-bottom: 0; }
.am-setup-v2 .am-secondary .am-kicker { margin-bottom: 8px; }
.am-setup-v2 .am-secondary .am-actions { margin-top: 15px; }
.am-setup-v2 .am-secondary details.am-catalog > summary { padding: 0; }
.am-setup-v2 .am-pagination { margin-top: 17px; }
.am-setup-v2 code { font-size: 10px; }
.am-setup-v2 .am-product-list code { padding: 0; color: #a09aad; background: none; }

/* Short help bubbles never open themselves or move the underlying page. */
.am-tour-shield { background: rgba(32, 31, 50, .24); }
.am-tour-spotlight { border: 2px solid #a69ce8; border-radius: 11px; box-shadow: 0 0 0 4px rgba(243, 240, 255, .3); }
.am-tour-spotlight[hidden] { display: none; }
.am-tour-dialog { width: min(360px, calc(100vw - 24px)); padding: 21px; border: 1px solid #e8e3fc; border-radius: 13px; box-shadow: 0 14px 56px rgba(32, 26, 66, .20); font-size: 12px; }
.am-tour-dialog::before { display: none; }
.am-tour-counter { color: #9a90b2; font-size: 9px; letter-spacing: .6px; }
.am-tour-dialog h2 { margin: 13px 0 9px; color: #333044; font-size: 19px; font-weight: 750; line-height: 1.3; letter-spacing: -.4px; }
.am-tour-dialog p { color: #81798e; font-size: 12px; line-height: 1.7; }
.am-tour-dialog .am-tour-close { flex-basis: 25px; width: 25px; min-height: 25px; color: #9d96aa; background: #f8f6fc; font-size: 18px; }
.am-tour-dots { gap: 4px; margin-top: 18px; }
.am-tour-dots span { width: 5px; height: 5px; background: #e9e5f1; }
.am-tour-dots span.is-current { width: 15px; background: #6754d9; }
.am-tour-controls { gap: 6px; margin-top: 18px; }
.am-tour-dialog button { min-height: 35px; padding: 8px 10px; border-radius: 7px; background: #4533dd; font-size: 10px; font-weight: 700; }
.am-tour-dialog .am-tour-skip { color: #a19aad; }
.am-tour-dialog .am-tour-back { border-color: #e9e5f1; color: #8a819a; }
.am-tour-dialog .am-tour-back:disabled { visibility: hidden; }

@media (max-width: 900px) {
    .am-page.am-setup-v2 { width: min(calc(100% - 34px), 1060px); padding-top: 26px; }
    .am-setup-v2 .am-progress li { padding: 15px; }
    .am-setup-v2 .am-hero { gap: 20px; }
}
@media (max-width: 650px) {
    .am-page.am-setup-v2 { width: calc(100% - 26px); gap: 15px; padding-top: 22px; padding-bottom: 20px; }
    .am-setup-v2 .am-hero { flex-direction: row; align-items: flex-start; gap: 13px; padding: 0 1px 4px; }
    .am-setup-v2 .am-hero h1 { font-size: 26px; }
    .am-setup-v2 .am-hero p { margin-top: 7px; font-size: 12px; }
    .am-setup-v2 .am-hero > .am-actions { width: auto; flex: 0 0 auto; margin-top: 2px; }
    .am-setup-v2 .am-hero [data-am-tour-start] { min-height: 34px; padding: 8px 10px; font-size: 10px; }
    .am-setup-v2 .am-hero [data-am-tour-start] svg { display: none; }
    .am-setup-v2 .am-progress { border-radius: 10px; margin: 0; }
    .am-setup-v2 .am-progress li { min-height: 59px; flex-direction: column; justify-content: center; gap: 5px; padding: 10px 5px; font-size: 10px; line-height: 1.3; text-align: center; }
    .am-setup-v2 .am-progress li::before { flex-basis: 21px; width: 21px; height: 21px; font-size: 9px; }
    .am-setup-v2 .am-wizard-card { gap: 20px; padding: 21px 18px; border-radius: 12px; }
    .am-setup-v2 h2 { font-size: 19px; }
    .am-setup-v2 .am-wizard-card > header p, .am-setup-v2 .am-wizard-card .am-card-head p { font-size: 12px; }
    .am-setup-v2 .am-product-list, .am-setup-v2 .am-member-list, .am-setup-v2 .am-fields { grid-template-columns: 1fr; }
    .am-setup-v2 .am-product-list > a, .am-setup-v2 .am-product-list > li, .am-setup-v2 .am-product-list > article { padding: 15px; }
    .am-setup-v2 .am-inline-fields { gap: 9px; }
    .am-setup-v2 .am-inline-fields .am-field { flex-basis: 100%; }
    .am-setup-v2 .am-inline-fields > button { width: 100%; }
    .am-setup-v2 .am-choice { padding: 15px; }
    .am-setup-v2 .am-connection { padding: 13px 15px; font-size: 11px; }
    .am-setup-v2 .am-wizard-card > .am-actions, .am-setup-v2 .am-wizard-card form > .am-actions { padding-top: 17px; gap: 8px; }
    .am-setup-v2 .am-wizard-card .am-actions .am-button { padding-inline: 12px; font-size: 12px; }
    .am-setup-v2 .am-secondary > summary { padding: 16px; font-size: 11px; }
    .am-setup-v2 .am-secondary > :not(summary) { margin: 15px; }
    .am-setup-v2 .am-secondary .am-card { padding: 16px; }
    .am-tour-dialog { padding: 20px; }
    .am-tour-dialog h2 { font-size: 18px; }
}
@media (max-width: 360px) {
    .am-setup-v2 .am-hero { flex-wrap: wrap; }
    .am-setup-v2 .am-hero > .am-actions { margin-top: 0; }
    .am-setup-v2 .am-wizard-card { padding: 18px 15px; }
}

/* Final form markup uses real step numbers and keeps its two decisions together. */
.am-setup-v2 .am-progress li::before { content: none; }
.am-setup-v2 .am-progress li > span { display: grid; place-items: center; flex: 0 0 25px; width: 25px; height: 25px; border: 1px solid #e2e3eb; border-radius: 50%; color: #838598; background: #fff; font-size: 11px; font-weight: 750; }
.am-setup-v2 .am-progress li.active > span { border-color: #4533dd; color: #fff; background: #4533dd; }
.am-setup-v2 .am-progress li.complete > span { border-color: #d3e9dc; color: #2b7950; background: #f0f8f3; }
.am-setup-v2 .am-selected-product { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-bottom: 23px; border-bottom: 1px solid #eceaf3; }
.am-setup-v2 .am-selected-product h2 { font-size: 21px; }
.am-setup-v2 .am-selected-product small { display: block; margin-top: 7px; color: #a09aad; font-size: 10px; overflow-wrap: anywhere; }
.am-setup-v2 .am-selected-product > a { flex: 0 0 auto; color: #8b81a8; font-size: 11px; text-underline-offset: 3px; }
.am-setup-v2 .am-wizard-card > [data-am-step="details"], .am-setup-v2 .am-wizard-card > [data-am-step="access"] { display: grid; gap: 17px; }
.am-setup-v2 .am-wizard-card > [data-am-step="access"] { padding-top: 23px; border-top: 1px solid #eceaf3; }
.am-setup-v2 .am-wizard-card > [data-am-step="access"] > .am-help { margin-top: -8px; }
.am-setup-v2 .am-wizard-card > [data-am-step="access"] > .am-help:last-child { margin-top: 0; }
.am-setup-v2 .am-wizard-card > [data-am-step="details"] .am-field { margin-bottom: 0; }
.am-setup-v2 .am-wizard-card > .am-actions > a:first-child:not(:last-child) { margin-right: 0; }
.am-setup-v2 .am-wizard-card > .am-actions > .am-button-secondary { order: -1; margin-right: auto; }
.am-setup-v2 .am-wizard-card.am-success { gap: 12px; border-color: #d6e8dc; background: #fbfefc; }
.am-setup-v2 .am-success > svg { width: 30px; height: 30px; color: #508863; }
.am-setup-v2 .am-success > .am-button { justify-self: start; margin-top: 9px; }
.am-setup-v2 .am-secondary > summary > svg { display: none; }
.am-setup-v2 .am-secondary .am-import-form { display: grid; gap: 15px; }
.am-setup-v2 .am-secondary .am-import-form > button { justify-self: start; }
.am-setup-v2 .am-wizard-card > div:first-child > p { margin-top: 8px; font-size: 13px; }
.am-setup-v2 .am-hero > [data-am-tour-start] { flex: 0 0 auto; }
@media (max-width: 650px) {
    .am-setup-v2 .am-progress li > span { flex-basis: 21px; width: 21px; height: 21px; font-size: 9px; }
    .am-setup-v2 .am-selected-product { gap: 12px; align-items: flex-start; padding-bottom: 20px; }
    .am-setup-v2 .am-selected-product h2 { font-size: 19px; }
    .am-setup-v2 .am-selected-product > a { max-width: 65px; font-size: 10px; line-height: 1.5; text-align: right; }
    .am-setup-v2 .am-wizard-card > [data-am-step="access"] { padding-top: 20px; }
    .am-setup-v2 .am-wizard-card > .am-actions > button { flex: 1; }
    .am-setup-v2 .am-wizard-card > .am-actions > .am-button-secondary { margin-right: 0; }
}

/* Multiple Stripe products can be selected across searches before one shared setup. */
.am-setup-v2 [data-am-product-picker] { display: grid; gap: 18px; }
.am-setup-v2 .am-product-list > label { display: flex; align-items: flex-start; gap: 11px; margin: 0; padding: 16px; border: 1px solid #e4e4ed; border-radius: 10px; color: #3d3d53; background: #fff; cursor: pointer; transition: border-color .15s, background .15s; }
.am-setup-v2 .am-product-list > label:hover { border-color: #b5aaf0; background: #fcfbff; }
.am-setup-v2 .am-product-list > label.is-checked, .am-setup-v2 .am-product-list > label:has(input:checked) { border-color: #a89be9; background: #faf8ff; }
.am-setup-v2 .am-product-list > label:has(input:focus-visible) { outline: 3px solid #d0c8fa; outline-offset: 2px; }
.am-setup-v2 .am-product-list > label > div, .am-setup-v2 .am-product-list > label > span:not(.am-status) { flex: 1; min-width: 0; }
.am-setup-v2 .am-product-list > label input[type="checkbox"] { margin-top: 1px; }
.am-setup-v2 .am-product-list > label .am-status { margin-top: 7px; font-size: 9px; }
.am-setup-v2 [data-am-selection-count] { color: #6e6586; font-size: 12px; font-weight: 750; }
.am-setup-v2 [data-am-selection-list] { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.am-setup-v2 .am-selection-item { display: inline-flex; align-items: center; gap: 7px; max-width: 100%; padding: 5px 6px 5px 10px; border: 1px solid #e6e0f6; border-radius: 7px; color: #74698a; background: #faf8fe; font-size: 11px; line-height: 1.4; }
.am-setup-v2 .am-selection-item > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.am-setup-v2 .am-selection-item .am-selection-remove { display: grid; place-items: center; flex: 0 0 22px; width: 22px; height: 22px; min-height: 22px; padding: 0; border: 0; border-radius: 4px; color: #9b8eac; background: transparent; font-size: 17px; line-height: 1; font-weight: 400; }
.am-setup-v2 .am-selection-item .am-selection-remove:hover { color: #6a5688; background: #eee7f7; }
.am-setup-v2 .am-selection-status { color: #9a7334; }
.am-setup-v2 [data-am-select-visible] { justify-self: start; min-height: 33px; padding: 7px 10px; border: 1px solid #e8e3f1; color: #8b7e9f; background: #fff; font-size: 10px; box-shadow: none; }
.am-setup-v2 [data-am-select-visible]:hover { border-color: #c8bde3; color: #675181; background: #fcfaff; }
.am-setup-v2 .am-selection-tray { display: grid; gap: 12px; padding: 16px; border: 1px solid #e7e1f6; border-radius: 10px; background: #fdfcff; }
.am-setup-v2 .am-selected-products { display: grid; gap: 11px; margin: 0; padding: 0 0 22px; border-bottom: 1px solid #eceaf3; list-style: none; }
.am-setup-v2 .am-selected-products > header { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.am-setup-v2 .am-selected-products h2 { font-size: 20px; }
.am-setup-v2 .am-product-billing { display: grid; grid-template-columns: minmax(0, 1fr) minmax(180px, .65fr); align-items: center; gap: 12px 20px; padding: 15px 17px; border: 1px solid #e9e6f0; border-radius: 10px; background: #fdfcff; }
.am-setup-v2 .am-product-billing strong { display: block; color: #5a526c; font-size: 12px; line-height: 1.5; }
.am-setup-v2 .am-product-billing small { display: block; margin-top: 4px; color: #a39aad; font-size: 10px; overflow-wrap: anywhere; }
.am-setup-v2 .am-product-billing .am-field { margin: 0; }
.am-setup-v2 .am-product-billing .am-field > span { color: #9a8aa9; font-size: 10px; }
.am-setup-v2 .am-product-billing select { min-height: 41px; font-size: 12px; }
@media (max-width: 650px) {
    .am-setup-v2 [data-am-product-picker] { gap: 16px; }
    .am-setup-v2 .am-product-list > label { padding: 15px; }
    .am-setup-v2 .am-selection-tray { padding: 13px; }
    .am-setup-v2 .am-selection-item { font-size: 10px; }
    .am-setup-v2 .am-product-billing { grid-template-columns: 1fr; gap: 12px; padding: 14px; }
    .am-setup-v2 .am-selected-products { gap: 10px; padding-bottom: 19px; }
}
.am-setup-v2 .am-selection-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.am-setup-v2 .am-selection-heading > span { color: #9a91aa; font-size: 11px; }
.am-setup-v2 .am-selection-basket { display: grid; gap: 12px; padding: 17px; border: 1px solid #e7e1f6; border-radius: 10px; background: #fdfcff; }
.am-setup-v2 .am-selection-basket > [data-am-selection-continue] { justify-self: end; margin-top: 2px; }
.am-setup-v2 [data-am-step="details"] .am-selected-products { padding-bottom: 0; border-bottom: 0; }
@media (max-width: 650px) {
    .am-setup-v2 .am-selection-heading { gap: 9px; }
    .am-setup-v2 .am-selection-heading > span { max-width: 125px; font-size: 10px; line-height: 1.5; }
    .am-setup-v2 .am-selection-heading > [data-am-select-visible] { max-width: 160px; }
    .am-setup-v2 .am-selection-basket { padding: 14px; }
    .am-setup-v2 .am-selection-basket > [data-am-selection-continue] { width: 100%; justify-self: stretch; }
}

/* Routine work stays quiet; the queue only asks for decisions that are still needed. */
.am-setup-v2 .am-picker-tabs { display: flex; gap: 5px; align-items: center; margin: -2px 0 0; padding: 4px; border: 1px solid #eae7f1; border-radius: 9px; background: #faf9fd; }
.am-setup-v2 .am-picker-tabs a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 36px; padding: 8px 14px; border: 1px solid transparent; border-radius: 6px; color: #756a80; font-size: 12px; font-weight: 650; text-decoration: none; }
.am-setup-v2 .am-picker-tabs a span { display: inline-flex; justify-content: center; min-width: 20px; padding: 2px 5px; border-radius: 4px; color: #7b6b88; background: #efebf5; font-size: 9px; line-height: 1.3; }
.am-setup-v2 .am-picker-tabs a.active { border-color: #e5dff2; color: #634f77; background: #fff; box-shadow: 0 1px 3px rgba(74, 56, 102, .025); }
.am-setup-v2 .am-picker-tabs a.active span { color: #6c537f; background: #f0eafa; }
.am-setup-v2 .am-product-suggestion { display: block; margin-top: 10px; color: #6f597d; font-size: 10px; font-weight: 650; line-height: 1.55; }
.am-setup-v2 .am-product-list .am-suggestion-reason, .am-setup-v2 .am-product-billing .am-suggestion-reason { display: block; margin-top: 5px; color: #7c7185; font-size: 10px; font-weight: 400; line-height: 1.65; }
.am-setup-v2 .am-up-to-date { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 14px; padding: 23px; border: 1px solid #e2ece5; border-radius: 11px; background: #fafdfb; }
.am-setup-v2 .am-up-to-date > svg { width: 25px; height: 25px; flex: 0 0 25px; margin-top: 1px; color: #5f896d; }
.am-setup-v2 .am-up-to-date strong { display: block; margin: 0 0 5px; color: #42664f; font-size: 16px; font-weight: 700; }
.am-setup-v2 .am-up-to-date p { max-width: 610px; color: #63796b; font-size: 12px; line-height: 1.7; }
.am-setup-v2 .am-remember-course { border-color: #e8dff2; background: #fdfaff; }
.am-setup-v2 .am-remember-course strong { color: #765583; }
.am-setup-v2 .am-remember-course small { max-width: 690px; color: #7a6385; line-height: 1.7; }
.am-setup-v2 .am-automation-activity { display: grid; gap: 16px; padding: 21px 23px; border: 1px solid #e9e5ef; border-radius: 12px; background: #fff; }
.am-setup-v2 .am-automation-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.am-setup-v2 .am-automation-head h2 { color: #6f5c80; font-size: 14px; font-weight: 700; letter-spacing: -.1px; }
.am-setup-v2 .am-automation-head p { margin-top: 5px; color: #7d7088; font-size: 11px; }
.am-setup-v2 .am-automation-totals { display: flex; gap: 15px; }
.am-setup-v2 .am-automation-totals > span { display: flex; flex-direction: column; gap: 4px; color: #7f718b; font-size: 9px; line-height: 1.3; }
.am-setup-v2 .am-automation-totals strong { color: #80668f; font-size: 19px; font-weight: 650; }
.am-setup-v2 .am-automation-activity > details > summary { width: max-content; color: #7c648d; font-size: 11px; cursor: pointer; }
.am-setup-v2 .am-automation-log { display: grid; gap: 0; margin: 14px 0 0; padding: 0; list-style: none; }
.am-setup-v2 .am-automation-log li { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; padding: 12px 0; border-top: 1px solid #f0eaf3; }
.am-setup-v2 .am-automation-log strong { display: block; color: #79618b; font-size: 11px; font-weight: 650; }
.am-setup-v2 .am-automation-log span, .am-setup-v2 .am-automation-log small { display: block; margin-top: 4px; color: #7a6887; font-size: 10px; line-height: 1.5; }
.am-setup-v2 .am-automation-log time { flex: 0 0 auto; color: #776384; font-size: 9px; line-height: 1.7; white-space: nowrap; }
.am-setup-v2 .am-alias-form { display: grid; grid-template-columns: minmax(110px, .65fr) minmax(0, 1fr) minmax(0, 1fr) auto; align-items: end; gap: 12px; }
.am-setup-v2 .am-alias-form .am-field { margin: 0; }
.am-setup-v2 .am-alias-form > button { min-height: 45px; }
.am-setup-v2 .am-alias-form + .am-help { margin-top: 12px; }
.am-setup-v2 .am-alias-saved { margin-top: 18px; padding-top: 16px; border-top: 1px solid #eee6f3; }
.am-setup-v2 .am-alias-saved > summary { width: max-content; color: #7c5b8e; font-size: 11px; cursor: pointer; }
.am-setup-v2 .am-alias-list { display: grid; gap: 15px; margin-top: 15px; }
.am-setup-v2 .am-alias-row { display: grid; grid-template-columns: minmax(100px, .6fr) minmax(0, 1.4fr); align-items: center; gap: 15px; padding-top: 14px; border-top: 1px solid #f1eaf5; }
.am-setup-v2 .am-alias-row:first-child { padding-top: 0; border-top: 0; }
.am-setup-v2 .am-alias-row > div > strong { display: block; color: #78578b; font-size: 11px; font-weight: 650; overflow-wrap: anywhere; }
.am-setup-v2 .am-alias-row > div > small { display: block; margin-top: 4px; color: #816a8d; font-size: 10px; }
.am-setup-v2 .am-alias-row > form { display: flex; align-items: end; gap: 10px; }
.am-setup-v2 .am-alias-row .am-field { flex: 1; }
.am-setup-v2 .am-alias-row .am-field > span { color: #81668f; font-size: 10px; }
.am-setup-v2 .am-alias-row button { min-height: 45px; }
@media (max-width: 900px) {
    .am-setup-v2 .am-alias-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .am-setup-v2 .am-alias-form > button { justify-self: start; }
}
@media (max-width: 650px) {
    .am-setup-v2 .am-picker-tabs a { flex: 1; padding-inline: 10px; font-size: 11px; }
    .am-setup-v2 .am-up-to-date { gap: 11px; padding: 18px 16px; }
    .am-setup-v2 .am-up-to-date p { font-size: 11px; }
    .am-setup-v2 .am-automation-activity { gap: 14px; padding: 18px; }
    .am-setup-v2 .am-automation-head { flex-direction: column; align-items: flex-start; gap: 13px; }
    .am-setup-v2 .am-automation-totals { width: 100%; gap: 25px; }
    .am-setup-v2 .am-automation-log li { flex-direction: column; gap: 6px; }
    .am-setup-v2 .am-alias-form, .am-setup-v2 .am-alias-row { grid-template-columns: 1fr; }
    .am-setup-v2 .am-alias-form > button { justify-self: stretch; }
    .am-setup-v2 .am-alias-row > form { align-items: end; gap: 8px; }
}
.am-setup-v2 .am-rule-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.am-setup-v2 .am-rule-list > li { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 13px 0; border-top: 1px solid #efedf4; }
.am-setup-v2 .am-rule-list > li:first-child { padding-top: 0; border-top: 0; }
.am-setup-v2 .am-rule-list > li:last-child { padding-bottom: 0; }
.am-setup-v2 .am-rule-list > li > div { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.am-setup-v2 .am-rule-list strong { color: #766484; font-size: 12px; font-weight: 650; }
.am-setup-v2 .am-rule-list button { min-height: 36px; padding: 8px 12px; font-size: 11px; }
