/* Scoped to the notification dialog; inherits Work's existing visual tokens. */
.modal .box.wtg-dialog{width:820px;line-height:1.6;--wtg-success:#176340;--wtg-warning:#825211}
.wtg-dialog :is(h3,h4,p){margin:0}.wtg-dialog h3{font-size:15px;line-height:1.5;font-weight:650}.wtg-dialog h4{font-size:14px}.wtg-intro{color:var(--wu-muted,#617087);font-size:13px;margin-bottom:18px!important}
.wtg-tabs{display:flex;gap:8px;flex-wrap:wrap;border-bottom:1px solid var(--wu-border,#dce3ef);padding-bottom:14px;margin-bottom:20px}.wtg-dialog .wtg-tabs button{background:var(--wu-surface,#fff);border:1px solid var(--wu-control-border,#c7d2e3);border-radius:8px;min-height:44px;padding:9px 14px;font-size:13px;color:var(--wu-muted,#617087)}.wtg-dialog .wtg-tabs [aria-pressed=true]{background:var(--wu-soft,#edf3ff);color:var(--wu-blue,#265abe);border-color:var(--wu-blue,#265abe);font-weight:650}
.wtg-service,.wtg-card,.wtg-coverage{border:1px solid var(--wu-border,#dce3ef);border-radius:12px;padding:20px;margin-bottom:18px}.wtg-service{background:var(--wu-soft,#f3f7fd);display:flex;align-items:start;justify-content:space-between;gap:14px}.wtg-eyebrow{font-size:11px;letter-spacing:.65px;font-weight:700;color:var(--wu-blue,#265abe);display:block;margin-bottom:6px}.wtg-service p,.wtg-card header p,.wtg-section-heading p,.wtg-coverage p{font-size:13px;color:var(--wu-muted,#617087);margin-top:5px;line-height:1.7}.wtg-card header{display:flex;align-items:start;justify-content:space-between;gap:14px;margin-bottom:20px}
.wtg-badge{flex-shrink:0;display:inline-flex;align-items:center;gap:6px;padding:4px 9px;border-radius:99px;background:#eef2f7;color:#4e5e75;line-height:1.5;font-size:11px;font-weight:600;white-space:nowrap}.wtg-badge:before{content:'';width:6px;height:6px;border-radius:50%;background:currentColor}.wtg-badge[data-state=sent]{background:#eaf6ef;color:var(--wtg-success)}.wtg-badge[data-state=blocked],.wtg-badge[data-state=retry_wait]{background:#fff3df;color:var(--wtg-warning)}.wtg-badge[data-state=sending]{background:#eaf1ff;color:var(--wu-blue,#265abe)}
.wtg-identity{display:grid;gap:4px;padding:16px;background:var(--wu-soft,#f3f7fd);border-radius:8px;margin-bottom:18px;overflow-wrap:anywhere}.wtg-identity b{font-size:15px}.wtg-identity span{font-size:12px;color:var(--wu-muted,#617087)}
.wtg-steps{list-style:none;display:grid;gap:20px;margin:0 0 24px;padding:0}.wtg-steps li{display:flex;align-items:start;gap:12px}.wtg-steps li>span{display:grid;place-items:center;flex-shrink:0;border:1px solid var(--wu-control-border,#c7d2e3);border-radius:50%;width:28px;height:28px;font-size:12px;font-weight:700;color:var(--wu-blue,#265abe)}.wtg-steps b{display:block;font-size:13px}.wtg-steps p,.wtg-link-ready p{font-size:13px;color:var(--wu-muted,#617087);margin-top:4px;line-height:1.7}
.wtg-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:14px}.wtg-dialog :is(button,a.wtg-primary){min-height:44px;font-size:13px;touch-action:manipulation}.wtg-dialog button{cursor:pointer}.wtg-dialog button:disabled{cursor:default;opacity:.55}.wtg-dialog .wtg-danger{color:var(--wu-danger,#a42a35);background:var(--wu-surface,#fff);border-color:var(--wu-control-border,#c7d2e3)}.wtg-primary{display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:8px;padding:10px 16px;background:var(--wu-blue,#265abe);color:#fff!important;text-decoration:none;font-weight:600}.wtg-primary:hover{filter:brightness(.92)}
.wtg-note{border-left:3px solid var(--wu-control-border,#c7d2e3);background:var(--wu-soft,#f5f7fb);padding:14px 16px;border-radius:0 8px 8px 0;font-size:12px;line-height:1.8;color:var(--wu-muted,#617087)}.wtg-note b{color:var(--wu-ink,#253a59);display:block;font-size:13px}.wtg-note p+p{margin-top:7px}.wtg-section-heading{display:flex;align-items:end;justify-content:space-between;gap:16px;margin:20px 0 14px}.wtg-section-heading label{min-width:160px;font-size:12px;font-weight:600;display:grid;gap:5px}.wtg-section-heading select{width:100%;padding-right:32px}
.wtg-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.wtg-metrics>div{padding:15px;border:1px solid var(--wu-border,#dce3ef);border-radius:9px;display:grid;gap:7px}.wtg-metrics span{font-size:12px;color:var(--wu-muted,#617087)}.wtg-metrics strong{font-size:26px;line-height:1.2;font-variant-numeric:tabular-nums;color:var(--wu-ink,#253a59)}.wtg-metrics>div:last-child strong{color:var(--wtg-warning)}.wtg-timings{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:16px 0 8px}.wtg-timings p{display:grid;gap:4px;font-size:13px}.wtg-timings span{font-size:12px;color:var(--wu-muted,#617087)}.wtg-caption{color:var(--wu-muted,#617087);font-size:12px;margin-bottom:20px!important}.wtg-coverage{background:var(--wu-soft,#f5f7fb)}.wtg-coverage summary{font-size:13px;cursor:pointer;padding-top:12px;min-height:44px}.wtg-coverage ul{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:10px 0 0;margin:0}.wtg-coverage li{border:1px solid var(--wu-border,#dce3ef);padding:5px 10px;border-radius:6px;font-size:12px;background:var(--wu-surface,#fff);overflow-wrap:anywhere;max-width:100%}
.wtg-jobs{display:grid;gap:10px}.wtg-job{border:1px solid var(--wu-border,#dce3ef);border-radius:10px;padding:16px}.wtg-job header{display:flex;justify-content:space-between;gap:12px;align-items:start}.wtg-job header>div{display:grid;gap:3px;min-width:0}.wtg-job header b{font-size:13px;overflow-wrap:anywhere}.wtg-job header span:not(.wtg-badge){font-size:12px;color:var(--wu-muted,#617087)}.wtg-job dl{display:flex;gap:20px;flex-wrap:wrap;margin:14px 0 0}.wtg-job dl>div{display:grid;gap:3px}.wtg-job dt{font-size:11px;color:var(--wu-muted,#617087)}.wtg-job dd{font-size:12px;margin:0;color:var(--wu-ink,#253a59)}.wtg-job-reason{font-size:12px;color:var(--wu-muted,#617087);margin-top:12px!important}.wtg-uncertain{background:#fff3df;color:var(--wtg-warning);padding:10px 12px;border-radius:7px}.wtg-job button{margin-top:12px}.wtg-pagination{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:16px 0}.wtg-pagination span{font-size:11px;color:var(--wu-muted,#617087);text-align:center}.wtg-loading,.wtg-empty{padding:30px 16px;text-align:center;color:var(--wu-muted,#617087);font-size:13px}.wtg-empty h3,.wtg-empty h4{color:var(--wu-ink,#253a59);margin-bottom:7px}.wtg-empty button{margin-top:16px}.wtg-pulse{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--wu-blue,#265abe);margin-right:8px}
.wtg-dialog :is(button,select,a):focus-visible{outline:3px solid var(--wu-blue,#265abe);outline-offset:3px}.wtg-dialog :is(p,b,span){overflow-wrap:anywhere}.wtg-dialog .work-form-actions{border-top:1px solid var(--wu-border,#dce3ef);padding-top:16px}.wtg-dialog .work-form-error{margin-top:16px}
.wtg-setup{border:1px solid var(--wu-border,#dce3ef);border-radius:10px;padding:16px;display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px}.wtg-setup p{font-size:13px;color:var(--wu-muted,#617087);margin-top:5px;line-height:1.7}.wtg-setup small{font-size:12px;color:var(--wu-muted,#617087);display:block;margin-top:5px}.wtg-setup button{flex-shrink:0}
@media(max-width:600px){.wtg-setup{flex-direction:column;align-items:start;gap:12px}}
@media(max-width:600px){.wtg-service,.wtg-card,.wtg-coverage{padding:16px}.wtg-service,.wtg-card header{flex-direction:column;gap:10px}.wtg-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.wtg-metrics>div{padding:13px}.wtg-section-heading{align-items:stretch;flex-direction:column;gap:12px}.wtg-section-heading>button{align-self:start}.wtg-section-heading label{min-width:0}.wtg-timings{gap:12px}.wtg-job{padding:13px}.wtg-job header{flex-wrap:wrap}.wtg-job dl{gap:12px}.wtg-tabs button{flex:1;min-width:0}.wtg-actions{align-items:stretch;flex-direction:column}.wtg-pagination{flex-wrap:wrap}.wtg-pagination span{order:3;flex-basis:100%}.wtg-primary{width:100%;box-sizing:border-box}.wtg-dialog select{font-size:16px}.wtg-dialog .wtg-tabs button{padding:8px;font-size:12px}}
@media(forced-colors:active){.wtg-badge,.wtg-primary,.wtg-metrics>div{border:1px solid CanvasText}.wtg-badge:before{background:CanvasText}}
