#tr-comms .tr-auto-nav{margin-top:auto;}
#tr-comms .tr-auto-nav .tr-nav-button{width:100%;}
#tr-comms[data-automations="true"] .tr-list,#tr-comms[data-automations="true"] .tr-inbox-divider,#tr-comms[data-automations="true"] .tr-workspace,#tr-comms[data-automations="true"] .tr-mobile-customers{display:none!important;}
#tr-comms .tr-automations{display:flex;flex-direction:column;min-width:0;min-height:0;background:#fff;grid-column:2/-1;grid-row:1;overflow:auto;}
#tr-comms .tr-automations[hidden]{display:none;}
#tr-comms .ta-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:24px 28px;border-bottom:1px solid var(--tr-line);}
#tr-comms .ta-header h1{font-size:24px;font-weight:600;letter-spacing:-.6px;margin:0 0 6px;line-height:1.2;}
#tr-comms .ta-muted{color:var(--tr-muted);font-size:13px;line-height:1.5;}
#tr-comms .ta-header p{margin:0;font-size:14px;}
#tr-comms .ta-badge{display:inline-flex;align-items:center;gap:6px;border-radius:5px;background:#edf3fc;color:#426494;padding:4px 8px;font-size:12px;white-space:nowrap;}
#tr-comms .ta-badge.ta-held{background:#fbf3e4;color:#87642c;}
#tr-comms .ta-body{display:grid;grid-template-columns:220px minmax(300px,1fr) 330px;flex:1 0 auto;min-height:0;}
#tr-comms .ta-sequences{border-right:1px solid var(--tr-line);padding:22px 14px;}
#tr-comms .ta-groups{display:flex;flex-direction:column;gap:5px;padding-bottom:20px;border-bottom:1px solid var(--tr-line);margin-bottom:22px;}
#tr-comms .ta-group{display:flex;align-items:center;gap:10px;border:0;background:none;color:#61718a;text-align:left;border-radius:6px;padding:12px;font-size:14px;}
#tr-comms .ta-group[aria-pressed="true"]{background:var(--tr-nav);color:#fff;}
#tr-comms .ta-label{font-size:12px;letter-spacing:1px;text-transform:uppercase;color:#7b889d;margin:0 10px 12px;}
#tr-comms .ta-step{display:flex;width:100%;gap:10px;align-items:flex-start;text-align:left;border:1px solid transparent;background:none;border-radius:7px;padding:12px 10px;margin-bottom:6px;color:#485a73;}
#tr-comms .ta-step[aria-pressed="true"]{background:#edf3fc;border-color:#d7e5f8;}
#tr-comms .ta-step-number{display:flex;align-items:center;justify-content:center;border:1px solid #dce5f1;color:#6680a2;background:white;flex:0 0 23px;height:23px;border-radius:50%;font-size:12px;}
#tr-comms .ta-step strong{display:block;font-size:14px;font-weight:500;line-height:1.45;margin-bottom:4px;}
#tr-comms .ta-step small{display:block;color:#7b8da7;font-size:12px;line-height:1.5;}
#tr-comms .ta-sequence-tools{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-bottom:10px;}
#tr-comms .ta-sequence-tools .ta-label{margin:0;letter-spacing:.7px;}
#tr-comms .ta-sequence-tools .ta-add{padding:6px 8px;color:#0567ee;min-height:36px;}
#tr-comms .ta-reorder-help{font-size:12px;margin:0 0 16px;}
#tr-comms .ta-step-row{position:relative;min-width:0;margin-bottom:6px;border-radius:7px;}
#tr-comms .ta-step-row .ta-step{margin:0;padding-right:30px;}
#tr-comms .ta-drag-handle{display:flex;align-items:center;justify-content:center;position:absolute;top:9px;right:2px;width:30px;height:32px;padding:0;border:0;border-radius:4px;background:transparent;color:#8394ae;cursor:grab;}
#tr-comms .ta-drag-handle:hover,#tr-comms .ta-drag-handle:focus-visible{background:#dfeafa;color:#3568a9;}
#tr-comms .ta-drag-handle:active{cursor:grabbing;}
#tr-comms .ta-dragging{opacity:.5;outline:1px dashed #0567ee;outline-offset:-1px;}
#tr-comms .ta-sequence-notice:has(.ta-feedback:empty):has(button[hidden]){display:none;}
#tr-comms .ta-sequence-notice{margin:12px 0;}
#tr-comms .ta-sequence-notice .ta-button{margin-top:8px;}
#tr-comms .ta-order-controls{display:flex;gap:6px;align-items:center;flex-wrap:wrap;padding-bottom:16px;margin-bottom:20px;border-bottom:1px solid var(--tr-line);}
#tr-comms .ta-order-controls #ta-position{margin-right:6px;}
#tr-comms .ta-order-controls .ta-order-button{width:38px;padding:8px;}
#tr-comms .ta-order-controls .ta-delete{margin-left:auto;color:#a34343;}
#tr-comms .ta-order-controls .ta-delete:hover{background:#fff3f3;border-color:#e6bdbd;}
#tr-comms .ta-empty-sequence{grid-column:2/-1;padding:40px 30px;background:#f8fafc;}
#tr-comms .ta-empty-sequence h2{font-size:20px;margin-bottom:10px;}
#tr-comms .ta-sequence-foot{padding:16px 10px;border-top:1px solid var(--tr-line);margin-top:16px;}
#tr-comms .ta-editor{padding:26px 30px;min-width:0;}
#tr-comms .ta-section-top{display:flex;gap:12px;align-items:flex-start;justify-content:space-between;margin-bottom:24px;}
#tr-comms .ta-section-top h2{margin:0 0 6px;font-size:19px;font-weight:600;line-height:1.35;}
#tr-comms .ta-field{display:block;margin-bottom:20px;font-size:14px;color:#4d5c70;min-width:0;}
#tr-comms .ta-field>span{display:block;margin-bottom:8px;}
#tr-comms .ta-field input,#tr-comms .ta-field select,#tr-comms .ta-field textarea{display:block;width:100%;box-sizing:border-box;border:1px solid #dbe3ee;border-radius:6px;background:#fff;color:#354258;padding:10px 11px;font-family:inherit;font-size:14px;min-height:40px;}
#tr-comms .ta-field textarea{resize:vertical;min-height:190px;font-size:16px;line-height:1.65;}
#tr-comms .ta-field input:focus,#tr-comms .ta-field select:focus,#tr-comms .ta-field textarea:focus{outline:2px solid #90b3e8;outline-offset:1px;}
#tr-comms .ta-row{display:grid;grid-template-columns:1fr 1fr;gap:14px;}
#tr-comms .ta-timing{padding:18px;background:#f8fafc;border:1px solid var(--tr-line);border-radius:8px;margin-bottom:24px;}
#tr-comms .ta-timing h3,#tr-comms .ta-rules h3{font-size:14px;font-weight:600;margin:0 0 14px;}
#tr-comms .ta-timing .ta-field{margin-bottom:12px;}
#tr-comms .ta-timing .ta-muted{margin:2px 0 0;}
#tr-comms .ta-timing-values{display:grid;grid-template-columns:minmax(80px,1fr) minmax(120px,1.4fr);gap:14px;}
#tr-comms .ta-tokens{display:flex;flex-wrap:wrap;gap:6px;margin-top:-8px;margin-bottom:24px;}
#tr-comms .ta-token{font-size:12px;border:1px solid #e0e7f1;background:#f9fbfe;border-radius:5px;color:#4c76af;padding:5px 8px;}
#tr-comms .ta-rules{border-top:1px solid var(--tr-line);padding-top:20px;margin-bottom:24px;}
#tr-comms .ta-check{display:flex;align-items:flex-start;gap:9px;margin:12px 0;font-size:14px;line-height:1.5;color:#5e6e85;}
#tr-comms .ta-check input{margin-top:4px;accent-color:var(--tr-nav);}
#tr-comms .ta-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;border-top:1px solid var(--tr-line);padding-top:18px;}
#tr-comms .ta-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;font:inherit;font-size:14px;border:1px solid #dce3ed;color:#53657f;background:#fff;border-radius:6px;padding:9px 13px;min-height:38px;}
#tr-comms .ta-button:hover{background:#f1f5fb;}
#tr-comms .ta-button.ta-primary{background:var(--tr-nav);border-color:var(--tr-nav);color:#fff;}
#tr-comms .ta-button:disabled{opacity:.45;cursor:default;}
#tr-comms .ta-preview{background:#f8fafc;border-left:1px solid var(--tr-line);padding:26px 22px;min-width:0;}
#tr-comms .ta-preview h2{font-size:14px;font-weight:600;margin:0 0 22px;}
#tr-comms .ta-preview .ta-field{margin-bottom:18px;}
#tr-comms .ta-preview-meta{font-size:13px;color:#7b8ba3;margin:0 0 10px;line-height:1.5;}
#tr-comms .ta-message{padding:18px;background:#fff;border:1px solid #e1e8f2;border-radius:12px 12px 12px 3px;font-size:16px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;color:#4a5d77;}
#tr-comms .ta-preview-subject{display:block;font-weight:600;margin-bottom:12px;}
#tr-comms .ta-preview-help{margin:10px 0 24px;}
#tr-comms .ta-due{border-top:1px solid var(--tr-line);padding-top:20px;margin-top:22px;}
#tr-comms .ta-due-label{display:block;text-transform:uppercase;font-size:12px;letter-spacing:.8px;color:#7d8ba0;margin-bottom:8px;}
#tr-comms .ta-due strong{display:block;font-size:16px;font-weight:500;line-height:1.5;margin-bottom:8px;}
#tr-comms .ta-preview .ta-button{margin:10px 0 18px;}
#tr-comms .ta-facts{margin-top:10px;border-top:1px solid var(--tr-line);padding-top:20px;}
#tr-comms .ta-facts>summary{font-size:14px;color:#62748e;cursor:pointer;margin-bottom:18px;}
#tr-comms .ta-error{color:#a34237;font-size:13px;line-height:1.5;margin:12px 0;}
#tr-comms .ta-feedback{margin:0;color:#426592;font-size:13px;line-height:1.5;}
#tr-comms .ta-footer{padding:12px 24px;border-top:1px solid var(--tr-line);font-size:12px;color:#7e8ca3;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;}
#tr-comms .tr-auto-summary{background:#fbfcfe;border-bottom:1px solid var(--tr-line);font-size:12px;color:#647993;}
#tr-comms .tr-auto-summary>summary{cursor:pointer;padding:10px 22px;line-height:1.6;}
#tr-comms .tr-auto-summary-content{padding:0 22px 16px;max-width:720px;}
#tr-comms .tr-auto-summary-content p{font-size:14px;line-height:1.6;white-space:pre-wrap;}
#tr-comms .tr-auto-summary-content .ta-button{font-size:12px;padding:6px 10px;min-height:32px;}
#tr-comms .tr-auto-summary-content .ta-actions{border:0;padding-top:4px;}
@media(min-width:901px){#tr-comms[data-automations="true"] .tr-shell{grid-template-columns:var(--tr-sidebar-width,164px) minmax(0,1fr);}}
@media(max-width:1230px){#tr-comms .ta-body{grid-template-columns:190px minmax(0,1fr);}#tr-comms .ta-preview{grid-column:2;border-top:1px solid var(--tr-line);border-left:0;}#tr-comms .ta-sequences{grid-row:1/3;}#tr-comms .ta-editor{padding:24px;}#tr-comms .ta-preview{padding:24px;}#tr-comms .ta-message{max-width:600px;}}
@media(max-width:900px){#tr-comms[data-automations="true"] .tr-shell{grid-template-columns:minmax(0,1fr);}#tr-comms .tr-automations{grid-column:1/-1;grid-row:2;}#tr-comms .tr-auto-nav{margin-top:0;}#tr-comms .tr-nav{flex-wrap:wrap;}#tr-comms .ta-header{padding:20px 24px;}}
@media(max-width:650px){#tr-comms .ta-body{display:block;}#tr-comms .ta-sequences{padding:16px;border-right:0;border-bottom:1px solid var(--tr-line);}#tr-comms .ta-groups{flex-direction:row;margin-bottom:16px;padding-bottom:16px;}#tr-comms .ta-group{flex:1;font-size:14px;padding:10px;justify-content:center;}#tr-comms #ta-steps{display:flex;gap:8px;overflow-x:auto;}#tr-comms .ta-step{flex:0 0 178px;margin:0;}#tr-comms .ta-sequence-foot{margin:12px 0 0;padding:12px 0 0;}#tr-comms .ta-label{margin-left:0;}#tr-comms .ta-editor,#tr-comms .ta-preview{padding:20px;}#tr-comms .ta-header{padding:20px;}#tr-comms .ta-row{grid-template-columns:1fr;}#tr-comms .ta-header h1{font-size:22px;}#tr-comms .ta-section-top{flex-wrap:wrap;}#tr-comms .ta-footer{padding:12px 20px;}#tr-comms .tr-auto-summary>summary{padding:10px 16px;}}
@media(max-width:650px){#tr-comms .ta-step-row{flex:0 0 210px;margin:0;}#tr-comms .ta-step-row .ta-step{height:100%;}#tr-comms .ta-empty-sequence{padding:24px 20px;}}

#tr-comms .ta-stage-field{margin-bottom:22px;padding-bottom:18px;border-bottom:1px solid var(--tr-line);}
#tr-comms .ta-stage-field .ta-field{margin-bottom:10px;}
#tr-comms .ta-stage-field select{font-size:13px;max-width:100%;text-overflow:ellipsis;padding-right:24px;}
#tr-comms .ta-stage-field p{margin:0;font-size:12px;overflow-wrap:anywhere;}
