.marketing-note{border-top:1px solid var(--line);padding-top:24px}.marketing-table{overflow-x:auto}.marketing-table table{min-width:650px}.campaign-audience{font-variant-numeric:tabular-nums}.private-file-note{font-size:.75rem;color:var(--muted)}
.capture-prompt{max-width:1120px;margin:24px auto;padding:0 24px}.capture-prompt-open{font-size:.86rem}.capture-prompt-dialog{border:1px solid var(--line);border-radius:18px;max-width:430px;width:calc(100% - 36px);padding:30px;background:var(--paper);color:var(--ink);box-shadow:0 18px 70px rgb(25 40 36 / 22%)}.capture-prompt-dialog::backdrop{background:rgb(12 28 25 / 38%)}.capture-prompt-dialog h2{margin-top:0}.capture-prompt-dialog form{display:grid;gap:10px}.capture-prompt-dialog input[type=email]{width:100%;box-sizing:border-box}.capture-prompt-close{position:absolute;right:14px;top:10px;border:0;background:transparent;color:var(--muted);font-size:1.6rem;cursor:pointer}.checkbox-line{display:flex;gap:9px;align-items:flex-start;font-size:.88rem}.checkbox-line input{margin-top:3px}.capture-prompt-dialog .button{justify-self:start}
@media(max-width:800px){.marketing-table table{min-width:0}.marketing-table th:nth-child(4),.marketing-table td:nth-child(4){display:none}}

/* Marketing records contain staff-entered filenames and copy; keep those records
   inside the app shell at narrow viewports. */
.marketing-workspace,.marketing-flyer-page{min-width:0;max-width:100%;overflow-wrap:anywhere}.marketing-workspace .page-heading,.marketing-workspace .section-heading,.marketing-workspace .split-section>div{min-width:0}.marketing-workspace .section-heading{gap:16px;flex-wrap:wrap}.marketing-workspace .section-heading>div{min-width:0;max-width:100%}.marketing-workspace .section-heading>div:last-child{display:flex;gap:12px;flex-wrap:wrap}.marketing-workspace .split-section{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.marketing-workspace .split-section a{overflow-wrap:anywhere;word-break:break-word}.marketing-workspace .text-link{display:inline-flex;width:auto;max-width:100%;min-width:0;white-space:normal;overflow-wrap:anywhere;word-break:break-word}.marketing-workspace .compact-list>a{min-width:0;align-items:flex-start}.marketing-workspace .compact-list>a>span:first-child{min-width:0;overflow-wrap:anywhere;word-break:break-word}.marketing-workspace .compact-list strong,.marketing-workspace .compact-list small{overflow-wrap:anywhere;word-break:break-word}.marketing-workspace .row-arrow{margin-left:auto}.marketing-flyer-page h1,.marketing-flyer-page .lede,.marketing-flyer-page .detail-card{min-width:0;overflow-wrap:anywhere;word-break:break-word}.marketing-flyer-page .print-hide{display:flex;gap:10px;flex-wrap:wrap}.marketing-brief-context{max-width:100%;box-sizing:border-box;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;overflow-x:auto}
@media(max-width:800px){.marketing-workspace .split-section{grid-template-columns:minmax(0,1fr)}.marketing-workspace .split-section>div{width:100%;min-width:0}}
@media(max-width:560px){.marketing-workspace .section-heading>div:last-child{display:grid;grid-template-columns:1fr}.marketing-workspace .section-heading>div:last-child .text-link{display:block}.marketing-workspace .compact-list>a{gap:8px}.marketing-flyer-page .button{white-space:normal;text-align:left}}

.marketing-campaign-page,.marketing-subscriber-page{min-width:0;overflow-wrap:anywhere}
.marketing-record-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:20px 0}
.marketing-record-actions form{margin:0}.marketing-record-actions .button{white-space:normal}
.campaign-copy{line-height:1.7;padding:24px;border:1px solid var(--line);background:var(--paper);overflow-wrap:anywhere}
.marketing-subscriber-filter{display:grid;grid-template-columns:minmax(0,2fr) minmax(180px,1fr) auto;gap:16px;align-items:end;margin:24px 0}
.marketing-subscriber-filter label,.subscriber-record-actions label{display:block;margin:0 0 8px}
.marketing-subscriber-filter input,.marketing-subscriber-filter select,.subscriber-record-actions textarea{width:100%;box-sizing:border-box;padding:12px;border:1px solid var(--line);background:var(--paper);color:var(--ink);font:inherit}
.subscriber-record{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,1fr);gap:24px;padding:24px 0;border-bottom:1px solid var(--line)}
.subscriber-record-actions{display:grid;gap:12px}.subscriber-record-actions summary{cursor:pointer;padding:10px 0}.subscriber-record-actions form{margin:0}.subscriber-record-actions textarea{margin-bottom:10px}
@media(max-width:680px){.marketing-subscriber-filter,.subscriber-record{grid-template-columns:minmax(0,1fr)}.subscriber-record{gap:8px}.campaign-copy{padding:16px}}
