/* Additive styles: only the payment-link slot and its own tracker dialog. */
.adl-slot{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;margin-top:8px;color:var(--text,#171528)}
/* The add-on box buttons as one family (Colin, 2026-11-18: "make it match the UI"): "Comp it" on each row is the plain
   outline; the one "Send payment links" button under the rows takes the look of the task panel's "Post + Slack" button. */
html :is(#view,[data-ot-example]) .onb-note .adl-row-btn{display:inline-flex;align-items:center;gap:6px;width:auto;min-height:30px;height:auto;padding:5px 11px;border-radius:9px;font-size:12px;font-weight:600;line-height:1.2;white-space:nowrap;cursor:pointer;box-shadow:none}
html :is(#view,[data-ot-example]) .onb-note .adl-row-btn.adl-comp{background:var(--surface,#fff);color:var(--text,#171528);border:1px solid var(--border,#e6e4f0)}
html :is(#view,[data-ot-example]) .onb-note .adl-row-btn.adl-comp:hover{border-color:var(--accent,#7c3aed);color:var(--accent,#7c3aed)}
html :is(#view,[data-ot-example]) .onb-note .adl-row-btn.adl-send{background:var(--accent-soft,#f3edff);color:var(--accent,#7c3aed);border:1px solid color-mix(in srgb,var(--accent,#7c3aed) 28%,transparent)}
html :is(#view,[data-ot-example]) .onb-note .adl-row-btn.adl-send:hover{background:color-mix(in srgb,var(--accent,#7c3aed) 16%,var(--surface,#fff))}
.adl-row-btn .adl-icon{width:14px;height:14px}
/* Status and action in a row share one shape (Colin, 2026-11-18: "waiting on client and comp it should share same ui"):
   same height, corners and type size; only the colours say which is a status and which is a button. */
html :is(#view,[data-ot-example]) .adl-box .badge,html :is(#view,[data-ot-example]) .adl-box .tnote{display:inline-flex;align-items:center;box-sizing:border-box;min-height:32px;padding:5px 11px;border-radius:9px;font-size:12px;font-weight:600;line-height:1.2;white-space:nowrap}
html :is(#view,[data-ot-example]) .adl-box .tnote{background:var(--surface-2,#f8f7fc);border:1px solid var(--border,#e6e4f0);color:var(--text-muted,#6b6785)}
.adl-icon{width:18px;height:18px;flex:none;vertical-align:middle}
.adl-slot .adl-button,.adl-dialog .adl-button{min-height:44px;justify-content:center;white-space:normal;line-height:1.35}
.adl-slot button.primary,.adl-dialog button.primary{background:linear-gradient(135deg,#7c3aed,#9333ea);color:#fff;border-color:transparent}
.adl-history{display:flex;align-items:center;flex-wrap:wrap;gap:6px 8px;margin-top:0;color:var(--text-muted,#6b6785);font-size:12px;line-height:1.5}
.adl-history>.adl-icon{width:14px;height:14px}
.adl-history>span{overflow-wrap:anywhere}
.adl-overlay{padding:20px;overscroll-behavior:contain}
.modal.adl-dialog{max-width:540px;padding:0;display:flex;flex-direction:column;max-height:calc(100vh - 40px);max-height:calc(100dvh - 40px);overflow:hidden;color:var(--text,#171528)}
.adl-dialog-head{display:flex;align-items:center;gap:12px;flex:none;padding:24px 24px 16px}
.adl-dialog .adl-dialog-head h3{margin:0;font-size:18px;line-height:1.35;letter-spacing:-.3px}
.adl-icon-tile{width:38px;height:38px;border-radius:11px;background:var(--accent-soft,#f4ecfe);color:var(--accent,#7c3aed);display:grid;place-items:center;flex:none}
.adl-dialog-body{padding:0 24px 4px;overflow:auto;overscroll-behavior:contain;min-height:0;overflow-wrap:anywhere}
.adl-dialog .adl-recipient{margin:0 0 20px;line-height:1.6;font-size:13px;color:var(--text-muted,#6b6785)}
.adl-recipient strong{color:var(--text,#171528);font-weight:600}
.adl-recipient>span{display:block}
.adl-message-label{margin-bottom:8px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.65px;color:var(--text-muted,#6b6785)}
.adl-message{border:1px solid var(--border,#e6e4f0);border-left:3px solid var(--accent,#7c3aed);border-radius:0 10px 10px 0;padding:16px;background:var(--surface-2,#f8f7fc);font-size:13px;line-height:1.6}
.adl-message-title{display:block;font-size:14px;white-space:pre-wrap}
.adl-dialog .adl-message p{margin:6px 0 0;color:var(--text,#171528);font-size:13px;line-height:1.6;white-space:pre-wrap}
.adl-message ul{padding-left:19px;margin:12px 0}
.adl-message li{padding-left:2px;margin:7px 0}
.adl-message-link{color:#6d28d9;text-decoration:underline;text-underline-offset:3px;white-space:pre-wrap}
.adl-dialog .adl-message .adl-message-note{font-size:12px;color:var(--text-muted,#6b6785)}
.adl-dialog .adl-repeat{display:flex;align-items:flex-start;gap:7px;font-size:12px;line-height:1.55;color:var(--text-muted,#6b6785);margin:16px 0 0}
.adl-repeat .adl-icon{width:15px;height:15px;margin-top:2px}
.adl-notice,.adl-error{display:flex;align-items:flex-start;gap:9px;padding:12px;border-radius:9px;margin-top:14px;font-size:13px;line-height:1.55;background:var(--accent-soft,#f4ecfe);color:var(--text,#171528)}
.adl-notice .adl-icon,.adl-error .adl-icon{margin-top:1px}
.adl-error{background:var(--s-error-bg,#fee2e2);color:var(--s-error-fg,#b42318)}
.adl-dialog .adl-error .adl-setup-note{margin:8px 0 0;font-size:12px;line-height:1.5;color:inherit}
.adl-dialog .adl-undo-copy{font-size:14px;line-height:1.65;color:var(--text,#171528);margin:0 0 12px}
.adl-loading{display:flex;align-items:center;gap:10px;min-height:100px;font-size:13px;color:var(--text-muted,#6b6785);line-height:1.6}
.adl-spinner{display:inline-block;width:17px;height:17px;flex:none;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:adl-spin .8s linear infinite}
.adl-dialog .adl-actions{flex:none;padding:16px 24px 20px;margin:16px 0 0;border-top:1px solid var(--border,#e6e4f0);background:var(--surface,#fff)}
.adl-dialog button:disabled{opacity:.55;cursor:default;pointer-events:none}
.adl-slot button:focus-visible,.adl-dialog button:focus-visible{outline:2px solid var(--accent,#7c3aed);outline-offset:3px}
.adl-dialog:focus{outline:none}
[data-theme="dark"] .adl-overlay{background:rgba(6,4,14,.72)}
[data-theme="dark"] .adl-message-link{color:#c4b5fd}
@keyframes adl-spin{to{transform:rotate(360deg)}}
@media(max-width:600px){
  .adl-overlay{padding:12px}
  .modal.adl-dialog{max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px)}
  .adl-dialog-head{padding:20px 18px 16px}
  .adl-dialog-body{padding:0 18px 4px}
  .adl-dialog .adl-actions{padding:14px 18px 18px;gap:8px}
  .adl-actions .adl-button{flex:1;min-width:0}
}
@media(prefers-reduced-motion:reduce){.adl-spinner{animation:none}.adl-slot button,.adl-dialog button{transition:none}}
