/* Campaign progress/batches, letter template groups, connectors: Cert IQ design handoff 2026-11-04. */
:root{--cc-orange:#DA720F;--cc-orange-hover:#B85E05;--cc-ease:cubic-bezier(0.2,0.8,0.2,1)}
/* Letter templates (design option B, 2026-11-07): a letter chooser across the top, in the order a
   customer receives them, then one panel with the wording beside the preview. */
#v-templates .letter-template-surface{display:flex;flex-direction:column;gap:24px}
#v-templates .letter-template-surface>*+*{margin-top:0}
.tpl-chooser-body{display:flex;flex-wrap:wrap;align-items:stretch}
.tpl-steps{flex:1 1 620px;min-width:0;display:flex;align-items:flex-start;align-self:center;padding:18px 14px}
.tpl-row{flex:1 1 0;min-width:0;display:flex;flex-direction:column;align-items:center;gap:5px;text-align:center;background:none;border:0;border-radius:8px;padding:6px 6px 12px;font:inherit;color:#222;cursor:pointer;transition:background-color 120ms var(--cc-ease)}
.tpl-row:hover{background:#FCFAF7}
.tpl-row[aria-selected=true]{background:#FFF8F0}
.tpl-row:focus-visible{outline:2px solid #DA720F;outline-offset:2px}
.tpl-step-track{display:flex;align-items:center;width:100%;margin:2px 0 6px}
.tpl-step-line{flex:1;height:2px;background:#222}
.tpl-row.is-first .tpl-step-line:first-child,.tpl-row.is-last .tpl-step-line:last-child,.tpl-row.is-loose .tpl-step-line{background:transparent}
.tpl-step-dot{flex:0 0 14px;height:14px;border-radius:50%;background:#222;box-sizing:border-box}
.tpl-row.is-loose .tpl-step-dot{background:#fff;border:2px solid #949300}
.tpl-row[aria-selected=true] .tpl-step-dot{background:#DA720F;border:0;box-shadow:0 0 0 4px #FBE3CB}
.tpl-row b{font:500 15px/1.3 var(--ff)}
.tpl-row[aria-selected=true] b{font-weight:700}
.tpl-step-when{font-size:12px;line-height:1.4;color:#666;max-width:24ch}
.tpl-source{display:inline-block;margin-top:2px;font-size:11px;font-weight:500;line-height:1.3;padding:3px 7px;border-radius:4px;border:1px solid #DADADA;background:#F2F2F2;color:#444;white-space:nowrap}
.tpl-source.is-custom{background:#FFF3E6;border-color:#F0C89A;color:#8A4A05}
.tpl-other{flex:0 1 280px;min-width:240px;border-left:1px solid #DADADA;background:#F9F9F9;padding:14px 18px;display:flex;flex-direction:column;gap:6px}
.tpl-other h3{margin:4px 0 0;font:700 11px/1.3 Roboto,Arial,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#666}
.tpl-other-list{display:flex;flex-direction:column;gap:6px}
.tpl-row.is-loose{flex:none;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:flex-start;text-align:left;gap:4px 10px;background:#fff;border:1px solid #DADADA;padding:10px 12px}
.tpl-row.is-loose .tpl-step-track{width:auto;margin:0}
.tpl-row.is-loose .tpl-step-line{display:none}
.tpl-row.is-loose .tpl-step-when{flex-basis:100%;padding-left:24px}
.tpl-row.is-loose .tpl-source{margin-left:24px}
.tpl-row.is-loose[aria-selected=true]{background:#FFF8F0;border:2px solid #222;padding:9px 11px}
.tpl-empty{margin:0;font-size:12px;line-height:1.5;color:#666}
@media(max-width:760px){.tpl-steps{flex-direction:column;padding:10px}.tpl-row{flex-direction:row;flex-wrap:wrap;justify-content:flex-start;text-align:left;gap:4px 10px}
  .tpl-step-track{width:auto;margin:0}.tpl-step-line{display:none}.tpl-step-when{flex-basis:100%;max-width:none;padding-left:24px}.tpl-other{border-left:0;border-top:1px solid #DADADA}}
.tpl-pane{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;align-items:stretch}
@media(max-width:1100px){.tpl-pane{grid-template-columns:minmax(0,1fr)}}
.tpl-half{display:flex;flex-direction:column;min-width:0;overflow:hidden}
.tpl-pane-head{display:flex;gap:12px;align-items:center;flex-wrap:wrap;min-height:76px;box-sizing:border-box;padding:14px 22px;border-bottom:2px solid #222}
.tpl-pane-title{display:flex;align-items:baseline;gap:6px 12px;flex-wrap:wrap}
.tpl-pane-title .cc-eyebrow{flex-basis:100%}
.tpl-pane-head h2{margin:0;font:500 18px/1.3 Roboto,Arial,sans-serif;color:#222}
.tpl-pane-head .hint{font-size:12px;color:#666}
.tpl-pane-head .sp{flex:1}
.tpl-tools{display:flex;gap:14px;align-items:center;flex-wrap:wrap;padding:12px 22px;border-bottom:1px solid #DADADA;background:#F9F9F9;font-size:13px;color:#444}
.tpl-tools select{height:34px}
#v-templates .tpl-pane .letter-fields{flex:1;border:0;border-radius:0;padding:20px 22px;align-content:start}
#v-templates .tpl-pane .letter-preview-shell{flex:1;border:0;border-radius:0;padding:20px 22px;background:#F2F2F2}
#v-templates .tpl-pane .letter-preview-stage{padding:0;background:transparent}
#v-templates .tpl-pane .letter-preview-modes{padding:12px 22px}
.tpl-pane.is-reading :is(.letter-merge-guide,.letter-warnings,.letter-fields>.hint,.letter-fields>.row){display:none}
.tpl-pane.is-reading .letter-fields :is(input,textarea){background:#F9F9F9;border-color:#E5E5E5;color:#333}
.tpl-used{margin-top:auto;padding:12px 22px;border-top:1px solid #DADADA;font-size:13px;color:#444}
.tpl-note{margin:0;font-size:12px;color:#666}
.tpl-inline{display:grid;gap:10px;padding:16px}
.tpl-inline textarea{min-height:200px}
.tpl-merge{display:flex;gap:6px;flex-wrap:wrap}

/* Connectors */
.connector-tile.is-custom .connector-plus{width:56px;height:56px;border:2px dashed #BBBBBB;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:30px;color:#666}
.connector-tile .connector-desc{font-size:13px;color:#444;margin:0 0 10px}
.connector-tile{box-shadow:none}.connector-tile:hover{box-shadow:none}
.letter-preview-as-wrap{margin-left:auto;display:flex;align-items:center;gap:6px;font-size:12px;color:#666}
.letter-preview-as{min-height:36px;border:1px solid #DADADA;border-radius:4px;color:#222}
.letter-preview-as:focus-visible{outline:2px solid #DA720F;outline-offset:2px}
.tpl-edit-here{background:#DA720F;border-color:#DA720F;color:#fff;border-radius:4px}
.tpl-edit-here:hover{background:#B85E05;border-color:#B85E05;box-shadow:none}
.tpl-edit-here:focus-visible{outline:2px solid #DA720F;outline-offset:2px}

/* ---- Campaigns and Letter templates, brought to the design (2026-11-06) ----
   Tokens: orange #DA720F / hover #B85E05; tiles and panels 12px, 2px #222 border, 4px 4px 0 #E5E8E7 shadow;
   Playfair 400 38px titles. */
:is(#v-campaigns,#v-campaign,#v-templates)>.phead .ptitle{font:400 38px/1.15 'Playfair Display',Georgia,serif;letter-spacing:-.02em;color:#222}
.cc-phead-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.cc-phead-actions .pcount{font-size:13px;color:#666}
.cc-back{align-self:flex-start;background:none;border:0;padding:0;margin:0 0 16px;color:#B85E05;font:500 13px/1.4 var(--ff);cursor:pointer}
.cc-back:hover{color:#8A4A05;text-decoration:underline}
:is(.cc-back,.cc-link,.cc-chip,.cc-tile,.cc-row,.cc-batch>summary,.tpl-row):focus-visible{outline:2px solid #DA720F;outline-offset:2px}
.cc-link{background:none;border:0;padding:0;color:#B85E05;font:500 13px/1.4 var(--ff);cursor:pointer;text-align:left}
.cc-link:hover{text-decoration:underline}
.cc-eyebrow{font:700 11px/1.3 Roboto,Arial,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#666}
.cc-note{margin:0;font-size:12px;line-height:1.6;color:#666}

/* tiles (filters on the list, funnel on the detail) */
.cc-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:0 0 24px}
.cc-tile{--tc:#222;--tv:#222;--tb:#fff;display:flex;flex-direction:column;align-items:stretch;text-align:left;padding:20px 22px;background:var(--tb);border:2px solid #222;border-left:6px solid var(--tc);border-radius:12px;box-shadow:4px 4px 0 #E5E8E7;font:inherit;color:#222;min-width:0;transition:background-color 120ms var(--cc-ease)}
.cc-tile.is-action{cursor:pointer}
.cc-tile.is-action[aria-pressed=true]{outline:3px solid var(--tc);outline-offset:2px}
.cc-tile-label{font-size:13px;color:#444}
.cc-tile-value{font:400 38px/1 Roboto,Arial,sans-serif;margin:14px 0 10px;color:var(--tv);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cc-tile-sub{font-size:12px;line-height:1.4;color:#444}
.cc-tile-orange{--tc:#DA720F;--tv:#B85E05;--tb:#FFF8F0}.cc-tile-teal{--tc:#007681;--tv:#007681;--tb:#EEF7F8}
.cc-tile-green{--tc:#949300;--tv:#5E5D00;--tb:#F7F7EC}.cc-tile-grey{--tc:#BBBBBB}
#v-campaign #run-tiles.cc-tiles{grid-template-columns:repeat(4,minmax(0,1fr))}
#v-campaign .cc-tile-value{font-size:36px}

/* chips */
.cc-chips{display:flex;gap:6px;flex-wrap:wrap}
.cc-chip{display:inline-flex;align-items:center;gap:6px;border:1px solid #BBBBBB;background:#fff;border-radius:4px;padding:6px 10px;font:500 12px/1.2 var(--ff);color:#222;cursor:pointer;white-space:nowrap;transition:background-color 120ms var(--cc-ease)}
.cc-chip[aria-pressed=true]{background:#222;border-color:#222;color:#fff}
.cc-chip-count{opacity:.75}

/* pills */
.cc-pill{display:inline-block;font-size:12px;font-weight:500;line-height:1.3;padding:4px 8px;border-radius:4px;border:1px solid #DADADA;background:#F2F2F2;color:#444;white-space:nowrap}
.cc-pill-warn{background:#FFF3E6;border-color:#F0C89A;color:#8A4A05}.cc-pill-teal{background:#E8F4F5;border-color:#B5D8DB;color:#005B64}
.cc-pill-navy{background:#E6EAF0;border-color:#B7C2D3;color:#002855}.cc-pill-ok{background:#F3F3E0;border-color:#D5D59A;color:#5E5D00}
.cc-pill-stop{background:#FBEDEA;border-color:#EBC1B8;color:#9C2F19}
.cc-state-tag{display:inline-block;font:600 11px/1.3 Roboto,Arial,sans-serif;padding:3px 6px;border:1px solid #DADADA;border-radius:4px;color:#444;background:#F9F9F9}

/* panels */
.cc-panel{background:#fff;border:2px solid #222;border-radius:12px;box-shadow:4px 4px 0 #E5E8E7;overflow:clip;min-width:0}
.cc-panel-head{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:18px 22px;border-bottom:2px solid #222}
.cc-panel-head h2{margin:0;font:500 18px/1.3 Roboto,Arial,sans-serif}
.cc-panel-head p{flex-basis:100%;margin:0;font-size:13px;line-height:1.5;color:#666}

/* five-stage stepper (Draft, Approval, Scheduled, Sending, Done) */
.cc-stepper{list-style:none;display:flex;margin:0;padding:0;min-width:180px}
.cc-stage{flex:1 1 0;min-width:0;display:flex;flex-direction:column;align-items:center}
.cc-track{display:flex;align-items:center;width:100%}
.cc-line{flex:1;height:2px;background:#DADADA}.cc-line.is-on{background:#222}.cc-line.is-edge{background:transparent}
.cc-dot{flex:0 0 12px;height:12px;border-radius:50%;border:2px solid #BBBBBB;background:#fff;box-sizing:border-box}
.cc-stage.is-reached .cc-dot{background:#222;border-color:#222}
.cc-stage.is-current .cc-dot{background:#DA720F;border-color:#DA720F;box-shadow:0 0 0 3px #FBE3CB}
.cc-stepper.is-done .cc-stage.is-reached .cc-dot{background:#949300;border-color:#949300}.cc-stepper.is-done .cc-line.is-on{background:#949300}
.cc-stepper.is-cancelled .cc-dot{background:#fff;border-color:#DADADA}
.cc-stage-name{font-size:10px;margin-top:5px;color:#999;white-space:nowrap}
.cc-stage.is-reached .cc-stage-name{color:#444}.cc-stage.is-current .cc-stage-name{color:#222;font-weight:600}
.cc-detail-stepper{max-width:460px;margin:0 0 10px}

/* list: head, tiles and filters stay put; only the rows scroll */
#v-campaigns .cc-register{border:2px solid #222;border-radius:12px;box-shadow:4px 4px 0 #E5E8E7;background:#fff;overflow:clip}
.cc-register-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:18px 22px;border-bottom:2px solid #222}
.cc-register-head h2{margin:0;font:500 18px/1.3 Roboto,Arial,sans-serif}
#v-campaigns .campaign-ledger-tools{padding:12px 22px;border-bottom:1px solid #DADADA}
#v-campaigns .campaign-ledger-head,#v-campaigns .cc-row{display:grid;grid-template-columns:minmax(220px,1.2fr) 150px minmax(240px,1.4fr) 190px;gap:12px 24px;align-items:center}
#v-campaigns .campaign-ledger-head{padding:10px 22px;background:#F9F9F9;border-bottom:1px solid #DADADA;font:700 11px/1.3 Roboto,Arial,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#666}
#v-campaigns .cc-row{width:100%;padding:18px 22px;border:0;border-bottom:1px solid #DADADA;border-radius:0;background:#fff;text-align:left;cursor:pointer;font:inherit;color:#222;transition:background-color 120ms var(--cc-ease)}
#v-campaigns .cc-row:hover{background:#FCFAF7}
#v-campaigns .cc-row .run-t b{display:block;font:500 15px/1.4 var(--ff);color:#222}
#v-campaigns .cc-row .run-t .hint{display:block;margin-top:4px;font-size:12px;line-height:1.5;color:#666}
#v-campaigns .cc-row .campaign-row-states{display:flex;gap:4px;flex-wrap:wrap}
.cc-row-progress{min-width:0;display:grid;gap:8px}
.cc-row-progress .cc-bar{height:8px;border-radius:4px;background:#EEEEEE;overflow:hidden;display:flex}
.cc-seg{display:inline-block;height:100%}.cc-uploaded{background:#007681}.cc-delivered{background:#BBBBBB}.cc-accepted{background:#949300}
.cc-response{font-size:12px;color:#444;padding-left:4px}
.cc-row-status{display:flex;align-items:center;justify-content:flex-end;gap:10px}
.cc-chevron{color:#DA720F;font-size:18px}
#v-campaigns .campaign-register #runs>p.empty{padding:32px 22px;font-size:14px;color:#666}
#v-campaigns:not(.is-settings) #campaign-settings,#v-campaigns:not(.is-settings) .cc-settings-back{display:none}
#v-campaigns.is-settings>:not(#campaign-settings):not(#campaign-settings-close){display:none}
#v-campaigns.is-creating>:not(#production-campaign-form){display:none!important}
#v-campaigns.is-settings .cc-settings-back{display:block}

/* detail */
.cc-detail-grid{display:flex;flex-wrap:wrap;gap:24px;align-items:flex-start;margin:0 0 24px}
.cc-detail-side{flex:1 1 300px;min-width:0;display:flex;flex-direction:column;gap:24px}
.cc-detail-main{flex:2 1 440px;min-width:0}
.cc-checklist{padding:18px 22px;display:flex;flex-direction:column;gap:14px}
.cc-check-row{display:flex;gap:12px;align-items:flex-start;font-size:13px;line-height:1.55;color:#333}
.cc-mark{flex:0 0 22px;height:22px;border-radius:50%;display:flex;align-items:center;justify-content:center;font:700 12px Roboto,Arial,sans-serif}
.cc-mark.is-ok{background:#F3F4E0;color:#5E5D00}.cc-mark.is-warn{background:#FFF3E6;color:#8A4A05}
.cc-sequence{padding:20px 22px;display:flex;flex-direction:column;gap:18px}
.cc-seq-row{display:flex;gap:14px}.cc-seq-row b{display:block;font-size:14px;font-weight:500}.cc-seq-row .hint{display:block;margin-top:3px}
.cc-seq-dot{flex:0 0 12px;height:12px;margin-top:4px;border-radius:50%;background:#BBBBBB}.cc-seq-dot.is-done{background:#949300}
.cc-sequence .cc-note{padding-top:14px;border-top:1px solid #DADADA}
.cc-batch-head .btn{margin-left:auto}
.cc-batch-count{font-weight:500}
.cc-batches .cc-batch-chips{padding:12px 22px;background:#F9F9F9;border-bottom:1px solid #DADADA}
.cc-batch{border-top:1px solid #DADADA;background:#fff}
.cc-batch>summary{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px;padding:16px 22px;cursor:pointer;list-style:none}
.cc-batch>summary::-webkit-details-marker{display:none}
.cc-batch>summary::before{content:"\25B8";flex:0 0 14px;color:#666;font-size:13px}
.cc-batch[open]>summary::before{content:"\25BE"}
.cc-batch>summary:hover{background:#FCFAF7}
.cc-batch-title{flex:1 1 200px;min-width:0}.cc-batch-title b{display:block;font-size:15px;font-weight:500}.cc-batch-title .hint{display:block;margin-top:3px;line-height:1.5}
.cc-batch-bar{flex:1 1 160px;min-width:140px;display:grid;gap:6px}
.cc-batch-bar .cc-bar{height:8px;border-radius:2px;background:#EEEEEE;overflow:hidden;display:flex}
.cc-batch-actions{display:flex;gap:10px;flex-wrap:wrap}
.cc-batch>summary>.cc-pill{margin-left:auto}
.cc-batch-actions .btn.sec{background:#fff;color:#222;border:1px solid #BBBBBB}.cc-batch-actions .btn.sec:hover{background:#F2F2F2;border-color:#222}
.cc-batch-customers{list-style:none;margin:0;padding:0;background:#FCFCFC;border-top:1px solid #EEEEEE}
.cc-batch-customers li{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 22px 12px 54px;border-bottom:1px solid #F2F2F2;font-size:14px}
.cc-batch-customers li .hint{font-size:12px}
.cc-held{border-top:2px solid #222;padding:14px 22px;background:#FFF8F0;display:flex;flex-direction:column;gap:8px}
.cc-held .cc-eyebrow{color:#8A4A05}
.cc-held-row{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;font-size:13px}.cc-held-row b{font-weight:500}.cc-held-row span{color:#8A4A05}
#v-campaign .campaign-review{border:0;background:transparent;box-shadow:none}
#v-campaign #mails{padding:0}
#v-campaign .campaign-command{padding:0 0 18px}

/* new campaign wizard */
.cc-wizard{border:0;box-shadow:none;background:transparent;padding:0}
.cc-wizard-title{margin:0 0 20px}.cc-wizard-title .cc-title{margin:0;font:400 38px/1.15 'Playfair Display',Georgia,serif;letter-spacing:-.02em}
.cc-wizard-title .pnote{margin:8px 0 0;font-size:14px;color:#666}
#v-campaigns .cc-steps{display:flex;flex-wrap:wrap;gap:10px 28px;list-style:none;margin:0 0 24px;padding:0;border:0}
.cc-steps li{display:flex;align-items:center;gap:10px;font-size:14px;color:#666}
.cc-steps li span{width:28px;height:28px;border-radius:50%;border:2px solid #BBBBBB;background:#fff;color:#666;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:700}
.cc-steps li.is-done{color:#444;cursor:pointer}.cc-steps li.is-done span{background:#222;border-color:#222;color:#fff}
#v-campaigns .cc-steps li.is-current{color:#222;font-weight:600}.cc-steps li.is-current span{background:#DA720F;border-color:#DA720F;color:#fff}
.cc-wizard-grid{display:flex;flex-wrap:wrap;gap:24px;align-items:flex-start}
.cc-wizard-panel{flex:3 1 520px}
.cc-wizard-step .production-campaign-fields{padding:22px;display:grid;gap:18px}
.cc-seq-list{padding:22px;display:flex;flex-direction:column;gap:12px}
.cc-seq-card{display:flex;flex-wrap:wrap;align-items:center;gap:12px 18px;padding:16px;border:1px solid #DADADA;border-radius:8px}
.cc-seq-when{flex:0 0 150px}.cc-seq-when b{display:block;margin-top:2px;font-size:14px;font-weight:500}
.cc-seq-what{flex:1 1 240px;min-width:0}.cc-seq-what b{display:block;font-size:14px;font-weight:500}.cc-seq-what .hint{display:block;margin-top:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cc-check{margin:0;padding:22px;display:grid;grid-template-columns:minmax(160px,30%) minmax(0,1fr);gap:12px 20px;font-size:14px}
.cc-check dt{color:#666}.cc-check dd{margin:0;font-weight:500}
.cc-check-note{margin:0;padding:12px 22px;border-top:1px solid #EEEEEE;background:#F9F9F9;font-size:12px;color:#666}
.cc-wizard-foot{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding:16px 22px;border-top:2px solid #222;background:#F9F9F9}
.cc-wizard-foot #campaign-step-next,.cc-wizard-foot #production-campaign-submit{margin-left:auto}
.cc-wizard-foot .btn.sec{background:#fff;color:#222;border:1px solid #222}.cc-wizard-foot .btn.sec:hover{background:#F2F2F2}
.cc-summary{flex:1 1 260px;padding:20px 22px;display:flex;flex-direction:column;gap:14px}
.cc-sum-row{display:flex;justify-content:space-between;gap:12px;font-size:14px;color:#444;padding-top:12px;border-top:1px solid #EEEEEE}
.cc-summary .cc-eyebrow+.cc-sum-row{border-top:0;padding-top:0}.cc-sum-row strong{font-weight:500;color:#222;text-align:right}
.cc-sum-states{display:flex;gap:4px;flex-wrap:wrap}

/* letter templates */
.tpl-restore{background:#fff;color:#222;border:1px solid #222}.tpl-restore:hover{background:#F2F2F2}
.tpl-pane .letter-merge-guide{display:flex;gap:6px;flex-wrap:wrap;align-items:center;border:0;background:transparent;padding:0;margin:0}
.tpl-pane .letter-merge-guide .letter-token{margin:0;padding:4px 8px;border:1px solid #BBBBBB;background:#fff;border-radius:4px;font-size:12px;color:#222;cursor:pointer}
.letter-merge-guide .letter-token:hover:not(:disabled){border-color:#222}.letter-merge-guide .letter-token:disabled{opacity:.5;cursor:default}
.letter-merge-label{font-size:12px;color:#666}
.letter-warnings{display:grid;gap:8px}
.letter-warning{margin:0;padding:10px 14px;border-radius:6px;font-size:13px;line-height:1.5}
.letter-warning.is-warn{background:#FFF3E6;border:1px solid #F0C89A;color:#8A4A05}.letter-warning.is-stop{background:#FBEDEA;border:1px solid #EBC1B8;color:#9C2F19}
.cc-dialog{width:min(520px,calc(100% - 32px));padding:24px;border:2px solid #222;border-radius:12px;box-shadow:4px 4px 0 #E5E8E7}
.cc-dialog h2{margin:0 0 8px;font:500 20px/1.3 Roboto,Arial,sans-serif}.cc-dialog label{display:grid;gap:6px;margin:16px 0;font-size:13px;font-weight:500}
.cc-dialog-actions{display:flex;justify-content:flex-end;gap:10px}
.cc-dialog .btn.sec{background:#fff;color:#222;border:1px solid #222}

@media(max-width:1200px){#v-campaigns .campaign-ledger-head,#v-campaigns .cc-row{grid-template-columns:minmax(180px,1fr) 120px minmax(200px,1.2fr) 160px;gap:12px 16px}}
@media(max-width:900px){
 .cc-tiles,#v-campaign #run-tiles.cc-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 #v-campaigns .campaign-ledger-head{display:none}
 #v-campaigns .cc-row{grid-template-columns:minmax(0,1fr) auto;padding:16px}
 #v-campaigns .cc-row .run-t,.cc-row-progress{grid-column:1 / -1}
 .cc-row-status{grid-column:2;grid-row:1}
}
@media(max-width:520px){.cc-tiles,#v-campaign #run-tiles.cc-tiles{grid-template-columns:minmax(0,1fr)}.cc-check{grid-template-columns:minmax(0,1fr);gap:4px}.cc-check dd{margin-bottom:10px}}

/* "No campaigns yet" sits inside the All campaigns panel (2026-11-08). */
#v-campaigns .campaign-register #runs-empty{border-top:1px solid #DADADA;border-bottom:0;margin:0;padding:36px 16px}
