.threads-auto-entry{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid #dce1e4;margin-top:20px;padding-top:20px}.threads-auto-entry h4{margin:0 0 6px}.threads-auto-entry p{margin:0;color:#52616a}.threads-auto-entry button{flex-shrink:0}
.threads-auto-dialog{width:min(820px,calc(100vw - 32px));max-height:90dvh;border:1px solid #dce1e4;border-radius:16px;padding:24px;color:#1e3036;background:#fff;overflow:auto;box-sizing:border-box}.threads-auto-dialog::backdrop{background:rgba(15,28,36,.5)}.threads-auto-dialog>header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:24px}.threads-auto-dialog h2{margin:0 0 8px;font-size:24px}.threads-auto-dialog h3{margin:0;font-size:19px}.threads-auto-dialog h4{margin:0;font-size:16px}.threads-auto-dialog p{color:#52616a;line-height:1.6;margin:8px 0;overflow-wrap:anywhere}.threads-auto-policy+.threads-auto-policy{border-top:2px solid #dce1e4;margin-top:28px;padding-top:28px}.threads-auto-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.threads-auto-policy fieldset{border:0;margin:12px 0;padding:0;min-width:0}.threads-auto-policy legend{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.threads-auto-field{display:flex;flex-direction:column;gap:6px;margin:14px 0;font-weight:600}.threads-auto-field input,.threads-auto-field textarea{width:100%;box-sizing:border-box;border:1px solid #b8c4ca;border-radius:8px;background:#fff;color:#1e3036;font:inherit;font-weight:400;padding:10px;min-height:44px}.threads-auto-field textarea{resize:vertical}.threads-auto-field input:read-only,.threads-auto-field textarea:read-only{background:#f3f6f7}.threads-auto-field input[type=number]{max-width:140px}.threads-auto-help{font-size:13px!important;font-weight:400;color:#52616a}.threads-auto-status{border-left:3px solid #8ea5ae;padding:8px 12px;background:#f4f7f8;font-size:14px}.threads-auto-actions{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}.threads-auto-dialog button{min-height:40px}.threads-auto-dialog button:disabled{cursor:not-allowed;opacity:.5}.threads-auto-dialog :focus-visible{outline:3px solid #168ca0;outline-offset:3px}.threads-auto-badge{display:inline-flex;align-items:center;border-radius:999px;padding:4px 10px;font-size:12px;line-height:1.5;background:#edf1f3;color:#344b55;font-weight:600}.threads-auto-badge[data-state=enabled],.threads-auto-badge[data-state=sent]{background:#e4f3eb;color:#245c3d}.threads-auto-badge[data-state=unknown],.threads-auto-badge[data-state=failed]{background:#fff0dc;color:#79470c}.threads-auto-confirm{border:2px solid #417d8b;background:#f0f8f9;border-radius:10px;padding:16px;margin-top:16px}.threads-auto-history{margin-top:22px}.threads-auto-job{border-top:1px solid #dce1e4;padding:14px 0}.threads-auto-job time{font-size:12px;color:#52616a}.threads-auto-job details{font-size:12px;margin-top:10px}.threads-auto-job dl{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:6px 12px}.threads-auto-job dd{margin:0;overflow-wrap:anywhere}.threads-auto-job a{color:#176477;text-decoration:underline}.threads-auto-dialog [hidden]{display:none!important}
/* Override the product-wide dialog max-width:520px without changing other dialogs. */
.threads-auto-dialog{max-width:min(820px,calc(100vw - 32px))}.threads-auto-dialog>header>div{min-width:0}.threads-auto-dialog>header>button{flex-shrink:0;min-width:64px;white-space:nowrap}
@media(max-width:600px){.threads-auto-entry{align-items:stretch;flex-direction:column}.threads-auto-dialog{width:100vw;max-width:100vw;max-height:100dvh;height:100dvh;border-radius:0;margin:0;padding:20px 16px max(24px,env(safe-area-inset-bottom))}.threads-auto-dialog h2{font-size:21px}.threads-auto-dialog>header{gap:12px}.threads-auto-actions>button{flex:1 1 140px}.threads-auto-head{gap:8px}.threads-auto-confirm{padding:12px}}
