.sales-sequences{--sq-blue:#2860d8;--sq-border:#e0e7f1;--sq-muted:#718096;display:flex;flex-direction:column;gap:12px;width:100%;min-width:0;color:#1e3251}.sales-sequences *,.sq-form *{box-sizing:border-box}.sq-header{display:flex;justify-content:space-between;align-items:center;gap:12px}.sq-header h1{font-size:24px;line-height:1.2;margin:0;letter-spacing:-.4px}.sq-header h1>span{font-size:12px;vertical-align:middle;background:#eaf0ff;color:#2d5bc2;padding:4px 7px;border-radius:6px;letter-spacing:0}.sq-header p{margin:5px 0 0;font-size:12px;color:#718096}.sq-inline,.sq-row-actions{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.sq-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid #d7e1ef;background:white;color:#304c73;padding:6px 11px;min-height:34px;border-radius:7px;font:inherit;font-size:12px;font-weight:600;line-height:1.4;white-space:nowrap;cursor:pointer}.sq-btn:hover{background:#f0f5ff;border-color:#b5c9ec}.sq-btn.primary{color:#fff;border-color:#2860d8;background:#2860d8;box-shadow:0 2px 3px #1b51bd12}.sq-btn.primary:hover{background:#2155c1}.sq-btn:disabled{opacity:.45;cursor:not-allowed}.sq-btn:focus-visible,.sq-record:focus-visible,.sq-form input:focus-visible,.sq-form select:focus-visible,.sq-form textarea:focus-visible{outline:3px solid #9abaff;outline-offset:2px}.sq-sender{display:flex;align-items:center;gap:10px;border:1px solid #dce6f7;background:linear-gradient(105deg,#f2f6ff,#fff);padding:10px 12px;border-radius:9px;min-width:0}.sq-sender-icon{width:34px;height:34px;background:#e5edff;border-radius:9px;color:#3864b3;display:grid;place-items:center;font-size:18px;flex-shrink:0}.sq-sender>div{display:flex;flex-direction:column;gap:4px;min-width:0}.sq-sender strong{font-size:12px;overflow-wrap:anywhere}.sq-sender div>span{font-size:11px;color:#6d7f9a}.sq-sender>small{margin-left:auto;font-size:10px;color:#7a8aa1;text-align:right}.sq-ready{font-size:10px;font-weight:700;padding:3px 7px;border-radius:20px;background:#dff4eb;color:#247259}.sq-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid #e1e7f1;border-radius:9px;background:#fff;padding:10px 0}.sq-metrics>div{display:flex;justify-content:space-between;align-items:center;padding:1px 17px;border-right:1px solid #e8edf5;gap:10px}.sq-metrics>div:last-child{border-right:0}.sq-metrics span{font-size:11px;color:#697b97}.sq-metrics strong{font-size:21px;letter-spacing:-.5px}.sq-toolbar{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}.sq-toolbar nav{display:flex;gap:4px;border-bottom:1px solid #dfe7f3}.sq-toolbar nav .sq-btn{border:0;border-radius:0;background:transparent;padding-inline:10px;min-height:39px;color:#6e809a}.sq-toolbar nav .sq-btn[aria-pressed=true]{color:#245bc3;box-shadow:inset 0 -2px #2860d8}.sq-toolbar form{display:flex;gap:6px;align-items:center;flex-wrap:wrap;min-width:0}.sq-toolbar input,.sq-toolbar select{border:1px solid #dce4ef;background:#fff;color:#3a5072;padding:7px 9px;border-radius:7px;font:inherit;font-size:12px;line-height:1.5;height:34px;min-width:0}.sq-toolbar input{width:230px}.sq-split{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;align-items:start}.sq-split.has-detail{grid-template-columns:minmax(350px,1fr) minmax(310px,40%)}.sq-panel,.sq-detail{background:#fff;border:1px solid #e0e7f1;border-radius:10px;overflow:hidden;min-width:0}.sq-table-wrap{overflow:auto;max-height:calc(100dvh - 370px);min-height:160px}.sq-table{width:100%;border-collapse:collapse;font-size:12px;white-space:nowrap;text-align:left}.sq-table th{position:sticky;top:0;z-index:1;background:#f6f8fc;color:#74829a;border-bottom:1px solid #e4ebf6;font-weight:600;font-size:11px;padding:10px 12px}.sq-table td{padding:12px;border-bottom:1px solid #edf1f7;vertical-align:middle}.sq-table tbody tr:hover{background:#f7faff}.sq-table tr.selected{background:#edf3ff}.sq-table td>small{display:block;font-size:10px;color:#71829a;margin-top:5px}.sq-table td .sq-event{max-width:230px;white-space:normal;line-height:1.5}.sq-record{background:none;border:0;padding:0;font:inherit;font-size:12px;font-weight:600;line-height:1.4;color:#275cbd;text-align:left;cursor:pointer;white-space:normal;max-width:260px}.sq-table .sq-btn{min-height:29px;padding:4px 8px;font-size:11px}.sq-status{display:inline-flex;font-size:10px;font-weight:600;line-height:1.3;padding:4px 7px;border-radius:5px;background:#edf1f6;color:#64748b}.sq-status.active{background:#e6edff;color:#2959ba}.sq-status.completed,.sq-status.replied{background:#dcf3ea;color:#286e58}.sq-status.paused,.sq-status.task_due{background:#fff0d8;color:#896022}.sq-status.bounced,.sq-status.blocked,.sq-status.unknown{background:#ffeaeb;color:#a0454e}.sq-pagination{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:10px 12px;color:#718198;font-size:11px}.sq-pagination>div{display:flex;gap:6px}.sq-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;padding:30px 18px;color:#71829b;font-size:12px;white-space:normal;text-align:center;line-height:1.6}.sq-empty strong{color:#415777;font-size:14px}.sq-empty span{max-width:430px}.sq-warning{border:1px solid #edcd9a;background:#fff6e5;border-radius:8px;padding:11px 13px;font-size:12px;color:#8b6327;line-height:1.5}.sq-detail{position:sticky;top:12px;max-height:calc(100dvh - 260px);display:flex;flex-direction:column}.sq-detail>header{display:flex;align-items:center;justify-content:space-between;padding:6px 13px;border-bottom:1px solid #e8edf6;font-size:11px;color:#77859c}.sq-detail>header .sq-btn{border:0;min-height:26px;padding:4px 6px}.sq-detail-heading{padding:14px}.sq-detail-heading h2{font-size:17px;margin:0 0 7px;line-height:1.4;overflow-wrap:anywhere}.sq-detail-heading p{font-size:11px;color:#76849a;line-height:1.6;margin:0 0 8px}.sq-chip{display:inline-block;padding:4px 7px;border-radius:5px;background:#eef3fe;color:#436ba9;font-size:10px;font-weight:600}.sq-detail-content{padding:0 15px;overflow:auto;flex:1;min-height:100px}.sq-step{display:flex;gap:10px;padding:13px 0;border-bottom:1px solid #ebeff6}.sq-step-dot{display:grid;place-items:center;flex-shrink:0;width:24px;height:24px;border-radius:7px;background:#eaf0ff;color:#365ea8;font-size:11px;font-weight:600}.sq-step>div{min-width:0;flex:1}.sq-step small{display:block;font-size:10px;color:#7c8ba2;margin:2px 0 6px}.sq-step strong{display:block;font-size:12px;line-height:1.5;overflow-wrap:anywhere}.sq-step p{font-size:12px;color:#526886;line-height:1.6;overflow-wrap:anywhere;margin:7px 0 0}.sq-detail>footer{display:flex;gap:6px;justify-content:flex-end;padding:12px;border-top:1px solid #e6edf7}.sq-footnote,.sq-note{font-size:11px;color:#7b8aa1;line-height:1.6;margin:0;padding:10px 13px}.sq-detail .sq-footnote{padding-top:0}.sq-muted{font-size:11px;color:#8490a3}.sq-form{display:grid;gap:14px;color:#324a6a}.sq-form label{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:500;min-width:0}.sq-form input,.sq-form select,.sq-form textarea{font:inherit;font-size:13px;line-height:1.5;color:#284261;border:1px solid #d6e0ee;padding:8px 9px;border-radius:7px;background:#fff;min-width:0;width:100%}.sq-form textarea{resize:vertical;min-height:70px}.sq-form>footer{display:flex;gap:8px;justify-content:flex-end;border-top:1px solid #e7edf5;padding-top:12px}.sq-editor-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,28%);gap:16px}.sq-form-heading{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:10px;font-size:12px}.sq-form-heading>span{color:#8491a4;font-size:10px}.sq-editor-step{border:1px solid #e0e7f2;border-radius:9px;padding:12px;display:grid;gap:10px;margin:0 0 12px;min-width:0;background:#fff}.sq-editor-step legend{color:#5273ad;font-size:11px;padding:0 6px;font-weight:600}.sq-step-tools{display:grid;grid-template-columns:minmax(100px,1fr) minmax(90px,1fr);gap:8px}.sq-step-tools>div{display:flex;gap:5px;grid-column:1/-1;justify-content:flex-end}.sq-step-tools .sq-btn{font-size:10px;min-height:25px;padding:3px 7px}.sq-editor-settings{border-left:1px solid #e7edf6;padding-left:15px;display:flex;flex-direction:column;gap:10px}.sq-editor-settings h3{font-size:12px;margin:0}.sq-editor-settings h3:not(:first-child){margin-top:6px}.sq-editor-settings p,.sq-editor-settings>small{font-size:10px;color:#7a899f;line-height:1.6;margin:0}.sq-days{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.sq-days label{display:flex;align-items:center;flex-direction:row;font-size:10px;gap:4px}.sq-days input{width:13px;height:13px;accent-color:#2860d8}.sq-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.sq-tokens{display:flex;gap:4px;flex-wrap:wrap}.sq-tokens code{background:#eef3fc;color:#4b70aa;border-radius:4px;padding:4px;font-size:10px}.sq-review-intro{background:#f2f6ff;border:1px solid #dfe8f8;border-radius:8px;padding:13px;font-size:12px;line-height:1.7;overflow-wrap:anywhere}.sq-review-intro h3{font-size:16px;margin:8px 0}.sq-review-intro p{margin:5px 0}.sq-review-intro small{font-size:10px;color:#7688a4}.sq-recipient-list{display:flex;flex-direction:column;border:1px solid #e1e7f1;border-radius:8px;overflow:auto;max-height:320px}.sq-recipient-list label{flex-direction:row;align-items:center;gap:10px;padding:10px 12px;border-bottom:1px solid #edf1f7;cursor:pointer}.sq-recipient-list label:hover{background:#f3f7ff}.sq-recipient-list input,.sq-confirm input{width:16px;height:16px;accent-color:#2860d8;flex-shrink:0}.sq-recipient-list label>span{display:flex;flex-direction:column;gap:3px;min-width:0;overflow-wrap:anywhere}.sq-recipient-list small{color:#7c8ba2;font-size:11px}.sq-preview-list{max-height:380px;overflow:auto;border:1px solid #e1e8f3;border-radius:8px}.sq-preview-list details{border-bottom:1px solid #e7edf6}.sq-preview-list summary{display:flex;align-items:center;gap:8px;padding:12px;cursor:pointer;list-style:none;font-size:12px}.sq-preview-list summary::-webkit-details-marker{display:none}.sq-preview-list summary>span:first-of-type{font-size:11px;color:#7a8ba3;flex:1;overflow-wrap:anywhere}.sq-preview-list details>div{padding:0 13px 8px}.sq-form .sq-confirm{display:flex;flex-direction:row;align-items:flex-start;gap:9px;background:#edf4ff;padding:12px;border-radius:8px;font-size:12px;line-height:1.6}.sq-confirm input{margin-top:3px}.sq-note{padding:0}.sq-form .form-error{color:#a6424d;background:#fff0f1;border-radius:6px;padding:8px;font-size:12px;line-height:1.5}.sq-form .form-error[hidden]{display:none}@media(max-width:1100px){.sq-split.has-detail{grid-template-columns:minmax(300px,1fr) minmax(300px,45%)}.sq-sender>small{display:none}.sq-metrics>div{padding-inline:12px}}@media(max-width:760px){.sq-header{align-items:flex-start;flex-wrap:wrap}.sq-header h1{font-size:21px}.sq-header p{max-width:270px}.sq-sender{flex-wrap:wrap}.sq-sender>div{flex:1;min-width:180px}.sq-metrics{grid-template-columns:1fr 1fr;gap:10px 0}.sq-metrics>div:nth-child(2){border-right:0}.sq-metrics strong{font-size:18px}.sq-toolbar form{width:100%}.sq-toolbar input{flex:1;width:auto;min-width:130px}.sq-toolbar select{max-width:140px}.sq-split.has-detail{display:block}.sq-split.has-detail>.sq-panel{display:none}.sq-detail{position:static;max-height:none}.sq-detail-content{max-height:60dvh}.sq-table-wrap{max-height:60dvh}.sq-editor-layout{grid-template-columns:1fr}.sq-editor-settings{border-left:0;border-top:1px solid #e7edf6;padding:14px 0 0}.sq-days{display:flex;flex-wrap:wrap;gap:12px}.sq-step-tools{grid-template-columns:1fr}.sq-btn{min-height:36px}.sq-preview-list summary{flex-wrap:wrap}.sq-preview-list summary>span:first-of-type{flex-basis:80%}.sq-form-heading{align-items:flex-start}.sq-recipient-list input,.sq-confirm input{width:20px;height:20px}}

.sq-recipient-tools{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.sq-recipient-tools input{flex:1;min-width:170px}.sq-recipient-list label[hidden]{display:none}

/* Sequence messages use the same email-safe Compose / HTML workflow as Inbox. */
.sq-signature-note{font-size:11px;line-height:1.55;color:#6b7b92;margin:0 0 12px;padding:0;overflow-wrap:anywhere}.sq-signature-note strong{color:#375879;font-weight:650}.sq-signature-note span{color:#536d8d}.sq-mail-editor{border:1px solid #d6e0ee;border-radius:9px;min-width:0;overflow:visible;background:#fff}.sq-mail-editor>header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 9px;background:#f5f8fc;border-radius:8px 8px 0 0;border-bottom:1px solid #e1e7f0}.sq-mail-editor>header>strong{font-size:11px;color:#526a88}.sq-mail-editor nav{display:flex;gap:3px}.sq-mail-editor nav .sq-btn{min-height:28px;padding:4px 8px;font-size:11px;border-color:transparent;background:transparent}.sq-mail-editor nav .sq-btn[aria-pressed=true]{background:#fff;color:#245bc3;border-color:#dce5f4;box-shadow:0 1px 3px #1c3d6a0c}.sq-rich-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:4px;padding:7px 8px;border-bottom:1px solid #e8edf5;background:#fbfcfe}.sq-rich-toolbar .sq-btn,.sq-rich-insert>summary{min-height:29px;padding:4px 7px;font-size:11px;border:1px solid transparent;background:transparent;border-radius:5px;cursor:pointer;color:#385477}.sq-rich-toolbar .sq-btn:hover,.sq-rich-insert>summary:hover{background:#edf3fc;border-color:#d7e3f5}.sq-rich-toolbar button[data-command=bold]{font-weight:800}.sq-rich-toolbar button[data-command=italic]{font-style:italic}.sq-rich-toolbar button[data-command=underline]{text-decoration:underline}.sq-rich-toolbar .sq-rich-colour{display:flex;flex-direction:row;align-items:center;gap:4px;margin:0;padding:0 3px;font-size:10px;color:#6b7f98}.sq-rich-colour input[type=color]{height:25px;width:25px;min-width:25px;padding:2px;border-radius:4px;cursor:pointer}.sq-rich-insert{position:relative;min-width:0}.sq-rich-insert>summary{list-style:none;display:flex;align-items:center;gap:4px}.sq-rich-insert>summary::-webkit-details-marker{display:none}.sq-rich-insert>summary:after{content:'⌄';font-size:10px;color:#7489a5}.sq-rich-insert>div{position:absolute;z-index:40;inset:auto 0 auto auto;width:250px;max-width:calc(100vw - 60px);max-height:calc(100vh - 48px);max-height:calc(100dvh - 48px);overflow:auto;overscroll-behavior:contain;display:grid;gap:9px;background:#fff;border:1px solid #d8e3f0;border-radius:9px;box-shadow:0 12px 30px #193b6026;padding:12px}.sq-rich-insert:not([open])>div{display:none}.sq-rich-insert input{font-size:12px}.sq-rich-insert div .sq-btn{background:#edf3ff;border-color:#d4e1fa}.sq-rich-body,.sq-rich-preview,.sq-message-preview{min-width:0;font:13px/1.65 Arial,Helvetica,sans-serif;color:#284261;overflow-wrap:anywhere;word-break:normal}.sq-rich-body,.sq-rich-preview{min-height:180px;max-height:420px;overflow:auto;padding:14px;outline:none}.sq-rich-body:empty:before{content:'Write your message…';color:#8a99ad;pointer-events:none}.sq-rich-body:focus-visible{box-shadow:inset 0 0 0 2px #7da6e9;border-radius:0 0 8px 8px}.sq-rich-body p,.sq-rich-preview p,.sq-message-preview p{margin:0 0 10px;font:inherit;color:inherit}.sq-rich-body img,.sq-rich-preview img,.sq-message-preview img{max-width:100%;height:auto}.sq-rich-body table,.sq-rich-preview table,.sq-message-preview table{max-width:100%;table-layout:fixed}.sq-rich-body a,.sq-rich-preview a,.sq-message-preview a{color:#245bc3;text-decoration:underline}.sq-rich-preview{background:#fff;min-height:180px}.sq-message-preview{margin-top:7px;overflow:auto}.sq-step .sq-message-preview strong{display:inline;font:inherit;font-weight:bold}.sq-html-label{padding:10px}.sq-form .sq-html-source{font:12px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace;min-height:200px;tab-size:2}.sq-editor-help{display:block;padding:0 10px 10px;font-size:10px;line-height:1.5;color:#788aa3}.sq-rich-toolbar button:focus-visible,.sq-rich-insert summary:focus-visible{outline:3px solid #9abaff;outline-offset:1px}@media(max-width:760px){.sq-mail-editor>header{flex-wrap:wrap;gap:5px}.sq-rich-toolbar{gap:3px;padding:6px}.sq-rich-toolbar .sq-btn,.sq-rich-insert>summary{min-height:34px;padding:5px 7px}.sq-rich-body,.sq-rich-preview{min-height:160px;padding:11px}.sq-rich-insert>div{position:fixed;left:16px;right:16px;bottom:max(16px,env(safe-area-inset-bottom));top:auto;width:auto;max-width:none;max-height:calc(100vh - 48px);max-height:calc(100dvh - 48px);padding:14px;box-shadow:0 0 0 100vmax #1f344b33,0 12px 30px #193b6026}.sq-mail-editor nav{flex-wrap:wrap}.sq-signature-note{font-size:10px}.sq-rich-colour input[type=color]{height:31px;width:31px;min-width:31px}}

.dialog:has(.sq-editor-layout),.dialog:has(.sq-preview-list){width:min(1120px,calc(100vw - 36px));max-width:none}.dialog:has(.sq-editor-layout)>.modal-header,.dialog:has(.sq-preview-list)>.modal-header{position:sticky;top:0;z-index:10;background:var(--surface,#fff)}@media(max-width:760px){.dialog:has(.sq-editor-layout),.dialog:has(.sq-preview-list){width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}}

/* Compact sequence monitoring; blue belongs to submitted, green to confirmed delivery. */
.sales-sequences .sq-header{margin-bottom:8px;gap:8px}.sales-sequences .sq-header h1{font-size:20px;margin:0}.sales-sequences .sq-header p{display:none}.sales-sequences .sq-btn{min-height:28px;padding:5px 8px;font-size:11px}.sales-sequences .sq-sender{padding:8px 10px;margin-bottom:8px;gap:8px}.sales-sequences .sq-sender-icon{width:28px;height:28px;font-size:15px}.sales-sequences .sq-sender>div>strong{font-size:11px}.sales-sequences .sq-sender>div>span{font-size:10px}.sales-sequences .sq-metrics{margin:0 0 8px;padding:8px 0}.sales-sequences .sq-metrics>div{padding:0 12px}.sales-sequences .sq-metrics strong{font-size:19px}.sales-sequences .sq-metrics span{font-size:10px}.sales-sequences .sq-toolbar{gap:7px;margin-bottom:8px}.sales-sequences .sq-toolbar input,.sales-sequences .sq-toolbar select{height:29px;padding:4px 7px;font-size:11px}.sales-sequences .sq-table-wrap{min-height:0;max-height:calc(100dvh - 260px)}.sales-sequences .sq-table th{padding:7px 9px;font-size:10px}.sales-sequences .sq-table td{padding:7px 9px;font-size:11px}.sales-sequences .sq-table td>small{margin-top:3px}.sales-sequences .sq-table td .sq-event{max-width:210px;line-height:1.35}.sales-sequences .sq-record{font-size:11px}.sales-sequences .sq-status{padding:3px 6px;font-size:10px}.sales-sequences .sq-pagination{padding:7px 9px}.sales-sequences .sq-row-actions{gap:4px}.sales-sequences .sq-table .sq-btn{min-height:25px;padding:3px 6px;font-size:10px}.sales-sequences .sq-detail-heading{padding:10px}.sales-sequences .sq-detail-heading h2{font-size:15px}.sales-sequences .sq-detail-content{padding:0 10px;min-height:0}.sales-sequences .sq-step{padding:9px 0;gap:7px}.sales-sequences .sq-step p{font-size:11px;line-height:1.5}.sales-sequences .sq-empty{padding:17px 12px;gap:5px}.sales-sequences .sq-footnote{font-size:10px;padding:7px 9px}
.sq-progress-cell{display:inline-flex;align-items:center;gap:5px}.sq-progress-cell>small{font-size:10px;color:var(--muted,#78869b)}.sq-progress-icon,.sq-step-status{display:inline-grid;place-items:center;width:25px;height:25px;min-width:25px;border:1px solid #dbe5f5;border-radius:5px;background:#edf3ff;color:#3764ba;padding:4px;vertical-align:middle}.sq-progress-icon{cursor:pointer}.sq-progress-icon svg,.sq-step-status svg{width:15px;height:15px}.sq-progress-icon:hover{border-color:#6489d1;background:#e2ecff}.sq-progress-icon:focus-visible{outline:2px solid #2855e8;outline-offset:2px}.sq-progress-icon.warning,.sq-step-status.warning{background:#fff0e9;color:#b15a2a;border-color:#efcfb8}.sq-progress-icon.pause,.sq-progress-icon.stop,.sq-step-status.pause{background:#eff1f5;color:#718096;border-color:#dce2eb}.sq-progress-icon.delivered,.sq-step-status.delivered{background:#e4f5ed;color:#247c57;border-color:#bfe5cf}
.sq-progress-detail{font-size:12px;line-height:1.45;color:var(--text,#25344e)}.sq-progress-detail>header{display:flex;align-items:center;justify-content:space-between;gap:8px}.sq-progress-detail>header>strong{font-size:15px}.sq-progress-name{font-size:11px;color:var(--muted,#78869b);margin:4px 0 10px}.sq-progress-summary{display:flex;flex-wrap:wrap;gap:8px;font-size:10px;padding:8px;background:var(--surface-subtle,#f4f7fc);border-radius:6px}.sq-progress-summary b{color:var(--text,#25344e);font-size:12px}.sq-progress-reason{margin:8px 0;padding:8px 10px;border-left:3px solid #6288d4;background:var(--surface-subtle,#f4f7fc);font-size:11px}.sq-progress-reason.warning{border-color:#bf7d35}.sq-progress-steps{list-style:none;padding:0;margin:7px 0;max-height:290px;overflow:auto}.sq-progress-steps li{display:flex;align-items:center;gap:8px;padding:8px 0;border-bottom:1px solid var(--border,#e5eaf2)}.sq-progress-steps li>div{display:grid;gap:2px;flex:1}.sq-progress-steps strong{font-size:11px}.sq-progress-steps li>div>span,.sq-progress-steps li>small{font-size:10px;color:var(--muted,#78869b)}.sq-progress-steps li>small{max-width:160px;text-align:right}.sq-progress-detail dl{display:grid;grid-template-columns:90px minmax(0,1fr);gap:6px 9px;font-size:11px}.sq-progress-detail dt{color:var(--muted,#78869b)}.sq-progress-detail dd{margin:0;overflow-wrap:anywhere}.sq-progress-detail dd small{display:block;margin-top:3px}.sq-progress-detail .sq-footnote{font-size:10px;padding:8px 0}.sq-progress-detail>footer{display:flex;justify-content:flex-end;align-items:center;gap:8px;border-top:1px solid var(--border,#e5eaf2);padding-top:9px}.sq-progress-detail .sq-row-actions{display:flex;gap:5px;flex-wrap:wrap}
[data-theme=dark] .sq-progress-icon,[data-theme=dark] .sq-step-status{background:#263653;color:#b4cbff;border-color:#3b4f70}[data-theme=dark] .sq-progress-icon.warning,[data-theme=dark] .sq-step-status.warning{background:#423124;color:#edc299;border-color:#775232}[data-theme=dark] .sq-progress-icon.delivered,[data-theme=dark] .sq-step-status.delivered{background:#243d32;color:#96d7b1;border-color:#426653}
@media(pointer:coarse){.sq-progress-icon{width:34px;height:34px;min-width:34px}.sales-sequences .sq-btn,.sales-sequences .sq-table .sq-btn{min-height:34px}.sales-sequences .sq-toolbar input,.sales-sequences .sq-toolbar select{height:36px}}

.sq-result-filter{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 9px;font-size:11px;color:var(--muted,#78869b);border-bottom:1px solid var(--border,#e5eaf2)}

/* Match the workspace theme without expanding compact tables or dialogs. */
[data-theme=dark] .sales-sequences{--sq-border:var(--border);--sq-muted:var(--muted);color:var(--text)}
[data-theme=dark] .sq-panel,[data-theme=dark] .sq-detail,[data-theme=dark] .sq-metrics,[data-theme=dark] .sq-btn,[data-theme=dark] .sq-toolbar input,[data-theme=dark] .sq-toolbar select{background:var(--surface);color:var(--text);border-color:var(--border)}
[data-theme=dark] .sq-sender{background:var(--surface-subtle);border-color:var(--border)}
[data-theme=dark] .sq-table th{background:var(--surface-subtle);color:var(--muted);border-color:var(--border)}
[data-theme=dark] .sq-table td,[data-theme=dark] .sq-step,[data-theme=dark] .sq-detail>header,[data-theme=dark] .sq-metrics>div{border-color:var(--border)}
[data-theme=dark] .sq-table tbody tr:hover,[data-theme=dark] .sq-table tr.selected,[data-theme=dark] .sq-btn:hover{background:#24334d}
[data-theme=dark] .sq-record{color:#a9c3ff}[data-theme=dark] .sq-btn.primary{background:#2855e8;border-color:#2855e8;color:white}
[data-theme=dark] .sq-empty strong{color:var(--text)}
.sq-progress-detail{min-width:0}.sq-progress-detail>header>strong,.sq-progress-name{overflow-wrap:anywhere}
@media(max-width:520px){.sq-progress-steps li{flex-wrap:wrap}.sq-progress-steps li>small{flex-basis:calc(100% - 33px);max-width:none;margin-left:33px;text-align:left}.sq-progress-detail dl{grid-template-columns:76px minmax(0,1fr)}}

/* Shared compact outcome report for Sequences and each lead. */
.sq-run-report{color:var(--text);font-size:12px;line-height:1.45;min-width:0}
.sqr-header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:10px}.sqr-header>div{min-width:0}.sqr-header strong,.sqr-header small{display:block;overflow-wrap:anywhere}.sqr-header strong{font-size:14px}.sqr-header small{color:var(--muted);margin-top:2px}
.sqr-status{display:inline-flex;align-items:center;border-radius:5px;padding:3px 7px;font-size:11px;font-weight:650;white-space:nowrap;color:var(--text);background:var(--surface-subtle)}.sqr-status.active{color:#2859cf;background:#edf2ff}.sqr-status.blocked,.sqr-status.unknown{color:#a04b15;background:#fff0dc}.sqr-status.completed,.sqr-status.replied{color:#187c64;background:#e6f6ee}
.sqr-metrics{display:flex;flex-wrap:wrap;gap:6px 18px;padding:8px 0;border-block:1px solid var(--border)}.sqr-metrics span{color:var(--muted)}.sqr-metrics b{color:var(--text);font-size:15px;margin-right:3px}
.sqr-reason{padding:10px 12px;border-left:3px solid #3865e9;background:var(--surface-subtle);border-radius:4px;margin:10px 0}.sqr-reason.warning{border-left-color:#d78b2c}.sqr-reason>strong{font-size:13px}.sqr-reason p{margin:4px 0 0;overflow-wrap:anywhere}.sqr-reason .sqr-action{margin-top:7px;color:var(--muted)}
.sqr-facts{display:grid;grid-template-columns:1fr 1fr;gap:8px 14px;margin:12px 0}.sqr-facts>div{min-width:0}.sqr-facts dt{font-size:10px;color:var(--muted);text-transform:uppercase;letter-spacing:.03em}.sqr-facts dd{margin:2px 0 0;overflow-wrap:anywhere}
.sqr-schedule{display:flex;flex-direction:column;gap:3px;padding:9px 0;border-top:1px solid var(--border)}.sqr-schedule small{color:var(--muted)}.sqr-steps{list-style:none;padding:0;margin:0;border-top:1px solid var(--border)}.sqr-step{display:grid;grid-template-columns:25px minmax(120px,1fr) minmax(100px,42%);gap:8px;align-items:start;padding:10px 0;border-bottom:1px solid var(--border)}.sqr-step-number{display:grid;place-items:center;width:23px;height:23px;background:var(--surface-subtle);border:1px solid var(--border);border-radius:50%;color:var(--muted);font-size:11px}.sqr-step strong,.sqr-step span:not(.sqr-step-number),.sqr-step small{display:block}.sqr-step strong{font-size:12px}.sqr-step small{color:var(--muted);margin-top:3px;font-size:10px}.sqr-step-time{font-size:11px;overflow-wrap:anywhere;color:var(--muted)}.sqr-accepted .sqr-step-number,.sqr-delivered .sqr-step-number{color:#198166;border-color:#a8d9c9}.sqr-blocked .sqr-step-number,.sqr-unknown .sqr-step-number{color:#ad661c;border-color:#e8c394}
.sqr-note,.sqr-checked{font-size:10px;color:var(--muted);margin:8px 0;display:block}.sqr-history{margin-top:10px}.sqr-history summary{cursor:pointer;font-weight:600}.sqr-history ol{padding:0;list-style:none}.sqr-history li{display:flex;gap:15px;justify-content:space-between;border-top:1px solid var(--border);padding:7px 0}.sqr-history time{flex-shrink:0;color:var(--muted);font-size:10px}.sqr-footer{display:flex;justify-content:flex-end;gap:8px;padding-top:12px}.sqr-details-link{display:block;background:none;border:0;padding:3px 0;color:#3865e9;cursor:pointer;font-size:11px;text-decoration:underline;text-underline-offset:3px}
@media(max-width:600px){.sqr-facts{grid-template-columns:1fr}.sqr-step{grid-template-columns:25px minmax(0,1fr)}.sqr-step-time{grid-column:2}.sqr-history li{flex-direction:column;gap:3px}.sqr-header strong{font-size:13px}}
[data-theme="dark"] .sqr-status.active{background:#1d2c52;color:#a6baff}[data-theme="dark"] .sqr-status.blocked,[data-theme="dark"] .sqr-status.unknown{background:#49351f;color:#f3bf72}
