.automation-hero {
    gap: clamp(28px, 4.5vw, 66px);
    padding-block: clamp(32px, 5vw, 69px);
}
.automation-hero h1 { font-size: clamp(34px, 4.55vw, 66px); }
.automation-hero .sale-intro { max-width: 31em; }
.automation-hero .sale-price { margin-top: 22px; }
.automation-workbench {
    min-width: 0;
    margin: 0;
    border: 1px solid #c6d1e1;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}
.automation-workbench h2, .automation-workbench h3,
.automation-workbench p { margin: 0; }
.automation-workbench-header {
    padding: 14px 19px;
    color: #f9fbff;
    background: #15243d;
}
.automation-workbench-header h2 { font-size: 1rem; font-weight: 750; line-height: 1.4; }
.automation-flow { margin: 0; }
.automation-flow > div {
    display: grid;
    grid-template-columns: 7rem minmax(0,1fr);
    align-items: baseline;
    gap: 8px;
    padding: 11px 19px;
    border-bottom: 1px solid #dce4ee;
    background: #eff4fa;
}
.automation-flow > div:nth-child(2) { background: #e5edf8; }
.automation-flow dt { color: #153d99; font-size: .83rem; font-weight: 780; }
.automation-flow dd { margin: 0; color: #142440; font-size: .89rem; font-weight: 650; line-height: 1.5; }
.automation-results { padding: 15px 19px 17px; }
.automation-results h3 { margin-bottom: 8px; color: #35465b; font-size: .85rem; font-weight: 780; }
.automation-selectors { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; }
.automation-selectors button {
    min-height: 44px;
    padding: 6px 4px;
    border: 1px solid #cad5e4;
    border-radius: 6px;
    background: #fbfcff;
    color: #24354c;
    font: inherit;
    font-size: .81rem;
    font-weight: 700;
    cursor: pointer;
}
.automation-selectors button:hover { background: #edf2fd; border-color: #5578d7; }
.automation-selectors button[aria-pressed="true"] {
    color: #fff;
    background: #1947e5;
    border-color: #1947e5;
}
.automation-selectors button:focus-visible, .automation-copy button:focus-visible {
    outline: 2px solid #1237ae;
    outline-offset: 2px;
}
.automation-example {
    min-height: 128px;
    margin-top: 14px;
    padding: 12px 13px;
    border-left: 2px solid #1947e5;
    background: #f3f6fc;
}
.automation-example code { color: #345580; font-size: .8rem; }
.automation-example h4 { margin: 4px 0; color: #142440; font-size: 1.01rem; line-height: 1.43; }
.automation-example p { color: #3c4d62; font-size: .88rem; line-height: 1.58; }
.automation-workbench-footer {
    padding: 9px 19px;
    border-top: 1px solid #dce4ee;
    color: #51647e;
    font-size: .79rem;
}
.automation-lanes {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 0 36px;
    margin: 20px 0;
    border-top: 1px solid #d4dfea;
}
.automation-lanes div { padding: 13px 0; border-bottom: 1px solid #d4dfea; }
.automation-lanes dt { font-weight: 780; }
.automation-lanes dd { margin: 3px 0 0; color: #46576b; line-height: 1.6; }
.automation-page { max-width: 58rem; margin-inline: auto; padding: clamp(30px, 5vw, 72px) 20px; }
.automation-page h1 { margin: 0; max-width: 18ch; font-size: clamp(30px, 5vw, 54px); line-height: 1.2; letter-spacing: -.035em; }
.automation-page > p { color: #43536a; line-height: 1.75; }
.automation-page section { padding-block: 24px; border-top: 1px solid #d4dfea; }
.automation-page h2 { margin: 0 0 9px; font-size: clamp(21px, 3vw, 30px); }
.automation-page li { line-height: 1.7; }
.automation-page-actions { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; margin: 18px 0 28px; }
.automation-page details { margin-bottom: 9px; border: 1px solid #cfd9e6; border-radius: 8px; background: #fff; }
.automation-page summary { padding: 12px 14px; font-weight: 750; cursor: pointer; }
.automation-lesson { padding: 0 14px 12px; color: #35465b; line-height: 1.65; }
.automation-lesson p { margin: 0 0 9px; }
.automation-copy pre {
    padding: 11px;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    background: #eff3fb;
    font: inherit;
}
.automation-copy [role="status"] { margin-left: 8px; }
@media (max-width: 640px) {
    .automation-flow > div { grid-template-columns: minmax(0,1fr); gap: 2px; padding-inline: 13px; }
    .automation-results, .automation-workbench-header, .automation-workbench-footer { padding-inline: 13px; }
    .automation-lanes { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 355px) {
    .automation-selectors { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
