.automation-template-list{border:1px solid var(--marketing-line);background:var(--card);border-radius:16px;overflow:hidden}.automation-template-list details+details{border-top:1px solid var(--marketing-line)}.automation-template-list summary{cursor:pointer;grid-template-columns:34px 1.1fr 1.5fr auto 24px;align-items:center;gap:14px;min-height:72px;padding:14px 18px;list-style:none;display:grid}.automation-template-list summary::-webkit-details-marker{display:none}.automation-template-list summary:hover{background:var(--marketing-green-soft)}.automation-template-list summary:focus-visible{outline:2px solid var(--primary);outline-offset:-3px}.automation-template-list summary b{font-size:16px}.automation-template-list summary small{color:var(--muted-foreground);font-size:13px;display:block}.automation-template-list details[open]>summary>svg:last-child{transform:rotate(180deg)}.automation-template-mini,.automation-template-mini>span{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.automation-template-mini>span>span{background:var(--muted);border-radius:7px;padding:4px 8px;font-size:11px}.automation-template-view{color:var(--primary);font-size:12px;font-weight:700}.automation-template-open{background:var(--background);border-top:1px solid var(--marketing-line);grid-template-columns:360px 1fr;gap:30px;padding:22px 20px 24px;display:grid}.automation-template-saving{border:1px solid var(--marketing-line);background:var(--card);width:100%;max-width:420px;box-shadow:var(--shadow-card);border-radius:18px;place-self:center;padding:24px 26px}.automation-template-flow [data-product-preview]{background:0 0;border:0;padding:0}.automation-template-flow [data-product-preview]>h3{display:none}.automation-template-flow [data-chain-state]>div{border-left:4px solid var(--primary);background:var(--card)}.automation-template-flow [data-chain-state] svg{color:var(--primary)}@media (max-width:760px){.automation-template-list summary{grid-template-columns:30px 1fr 24px}.automation-template-mini,.automation-template-view{display:none}.automation-template-open{grid-template-columns:1fr;padding:18px 12px}.automation-template-saving{max-width:none;padding:22px 16px}}.automation-agent-section[data-marketing-section]{background:var(--brand-nav);color:var(--brand-card);--marketing-heading-ink:var(--brand-card);--marketing-heading-copy:var(--marketing-green-on-primary)}.automation-agent-section .marketing-heading+p{color:var(--marketing-green-on-primary)}.automation-agent-section [data-product-preview]{background:var(--card);color:var(--foreground)}.automation-builder-chain>li:last-child{background:var(--marketing-ai-card);color:var(--brand-card)}.automation-builder-chain>li:last-child svg,.automation-builder-chain>li:last-child>div>span{color:var(--marketing-green-on-primary)}.automation-template-view{border:1px solid var(--primary);white-space:nowrap;border-radius:7px;justify-content:center;align-items:center;min-height:36px;padding:6px 12px;display:inline-flex}.automation-template-use-label{display:none}.automation-template-list details[open] .automation-template-use{background:var(--primary);color:var(--primary-foreground)}.automation-template-list details[open] .automation-template-use-label{align-items:center;min-height:30px;display:inline-flex}.automation-template-list details[open] .automation-template-use .automation-template-view-label{display:none}.automation-template-flow [data-chain-state=active]>div{border-color:var(--attention);background:var(--marketing-orange-soft)}@media (max-width:760px){.automation-template-list details[open] summary{grid-template-columns:30px 1fr auto 16px;gap:8px;padding-inline:10px}.automation-template-list details[open] .automation-template-use{padding:4px 7px;font-size:10px;display:inline-flex}}
