/* Functional base styles for Campaign Studio. design-system.css adds the visual layer. */
* { box-sizing: border-box; }
:root { color-scheme: light; font-synthesis: none; }
html, body { min-height: 100%; margin: 0; }
body { font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: #f5f7fb; color: #172033; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .55; cursor: not-allowed; }
a { color: inherit; }
.hidden { display: none !important; }
.app-shell { min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 10; display: flex; flex-direction: column; width: 258px; padding: 24px 16px; background: #111525; color: #fff; overflow-y: auto; }
.brand-lockup { display: flex; align-items: center; gap: 12px; padding: 0 8px 32px; }
.brand-mark { display: grid; place-items: center; flex: 0 0 auto; width: 38px; height: 38px; border-radius: 11px; background: #7564ed; color: #fff; font-weight: 800; letter-spacing: -1px; }
.brand-mark.large { width: 48px; height: 48px; margin-bottom: 20px; font-size: 18px; }
.brand-lockup strong, .brand-lockup small { display: block; }
.brand-lockup strong { font-size: 14px; }
.brand-lockup small { margin-top: 4px; color: #8993ad; font-size: 9px; letter-spacing: 1.4px; }
.workspace-label { padding: 0 12px 10px; color: #7f8aa5; font-size: 10px; letter-spacing: 1.5px; }
.main-nav { display: flex; flex-direction: column; gap: 5px; }
.nav-item { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 43px; padding: 0 12px; border: 0; border-radius: 9px; background: transparent; color: #b3bbcf; text-align: left; font-size: 12px; }
.nav-item:hover, .nav-item.active { background: #242a40; color: #fff; }
.nav-icon { display: grid; place-items: center; width: 20px; height: 20px; }
.nav-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.nav-count { margin-left: auto; padding: 3px 7px; border-radius: 99px; background: #37345d; color: #d8d3ff; font-size: 10px; }
.sidebar-bottom { margin-top: auto; padding-top: 20px; }
.sidebar-status { display: flex; align-items: center; gap: 10px; margin: 16px 2px 12px; padding: 12px; border: 1px solid #2c344b; border-radius: 10px; }
.status-dot, .footer-status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #47c9a1; }
.sidebar-status strong, .sidebar-status small { display: block; }
.sidebar-status strong { font-size: 11px; }
.sidebar-status small { margin-top: 4px; color: #8b95ae; font-size: 10px; }
.logout-button { width: 100%; padding: 10px 12px; border: 0; border-radius: 8px; background: transparent; color: #9ca6bd; text-align: left; }
.main-area { min-height: 100vh; margin-left: 258px; }
.topbar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; height: 68px; padding: 0 34px; border-bottom: 1px solid #e8ebf2; background: rgba(255,255,255,.95); backdrop-filter: blur(12px); }
.breadcrumb, .topbar-right { display: flex; align-items: center; gap: 10px; }
.breadcrumb { color: #8791a5; font-size: 12px; }
.breadcrumb strong { color: #303950; }
.slash { color: #c5cada; }
.env-pill { padding: 7px 10px; border: 1px solid #e4e7ef; border-radius: 99px; color: #667087; font-size: 9px; letter-spacing: .7px; }
.env-pill i { display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: #3dbd98; }
.avatar { display: grid; place-items: center; width: 33px; height: 33px; border-radius: 50%; background: #eae7ff; color: #6250df; font-weight: 700; }
.page-content { max-width: 1700px; padding: 30px 34px 50px; outline: none; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.page-heading h1 { margin: 4px 0 0; font-size: 28px; line-height: 1.2; letter-spacing: -.8px; }
.page-heading p { margin: 8px 0 0; color: #7b8598; font-size: 12px; line-height: 1.6; }
.eyebrow { margin: 0; color: #8170ef; font-size: 9px; letter-spacing: 1.7px; font-weight: 750; }
.panel { margin-bottom: 16px; border: 1px solid #e7eaf1; border-radius: 14px; background: #fff; overflow: hidden; }
.panel-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; border-bottom: 1px solid #eff1f6; }
.panel-header h2 { margin: 0; font-size: 13px; }
.panel-header p { margin: 5px 0 0; color: #8a94a7; font-size: 11px; line-height: 1.5; }
.panel-body { padding: 20px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 34px; padding: 9px 13px; border: 1px solid transparent; border-radius: 8px; background: #fff; color: #303950; font-size: 11px; font-weight: 650; text-decoration: none; white-space: nowrap; }
.btn.primary { background: #7564ed; color: #fff; }
.btn.secondary { border-color: #dfe3ed; background: #fff; color: #3d465c; }
.btn.small { min-height: 28px; padding: 6px 9px; font-size: 10px; }
.btn.full { width: 100%; }
.link-button { border: 0; background: transparent; color: #6a59df; font-size: 11px; font-weight: 650; }
.table-wrap { width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th { padding: 12px 15px; border-bottom: 1px solid #e9ecf3; background: #f9fafe; color: #8992a5; font-size: 9px; font-weight: 750; letter-spacing: .6px; text-transform: uppercase; white-space: nowrap; }
td { padding: 13px 15px; border-bottom: 1px solid #f0f2f7; color: #667087; font-size: 11px; vertical-align: top; }
tbody tr:last-child td { border-bottom: 0; }
.table-primary { color: #303950; font-weight: 650; overflow-wrap: anywhere; }
.table-secondary { margin-top: 4px; color: #8a94a7; font-size: 10px; line-height: 1.45; overflow-wrap: anywhere; }
.tag, .metric-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px; border: 1px solid #e4e7ef; border-radius: 7px; background: #fafbfe; color: #657087; font-size: 10px; }
.metric-strip { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.metric-chip strong { color: #303950; }
.status-badge, .event-badge { display: inline-flex; align-items: center; padding: 5px 8px; border-radius: 6px; background: #f0f2f7; color: #59647a; font-size: 10px; font-weight: 700; white-space: nowrap; }
.status-draft, .status-scheduled, .status-pending { background: #fff5dd; color: #8a6417; }
.status-sending { background: #e9f2ff; color: #275ca8; }
.status-submitted, .status-verified { background: #e4f8f1; color: #147a5c; }
.status-submitted_with_errors, .status-failed { background: #fff0e8; color: #a44a20; }
.event-delivery { background: #e4f8f1; color: #147a5c; }
.event-bounce, .event-adminbounce, .event-feedback { background: #fff0e8; color: #a44a20; }
.event-transientfailure, .event-expiration { background: #fff5dd; color: #8a6417; }
.campaign-actions, .inline-actions, .form-actions, .pagination { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.campaign-actions { min-width: 120px; }
.footer-note { padding: 14px 20px; border-top: 1px solid #eff1f6; color: #8a94a7; font-size: 10px; line-height: 1.65; }
.notice { display: flex; align-items: flex-start; gap: 12px; margin: 12px 0; padding: 13px 15px; border: 1px solid #e5e2ff; border-radius: 10px; background: #faf9ff; color: #626d83; font-size: 11px; line-height: 1.6; }
.notice > span { display: grid; place-items: center; flex: 0 0 auto; width: 22px; height: 22px; border-radius: 7px; background: #eeebff; color: #6654e4; font-weight: 800; }
.notice strong { display: block; margin-bottom: 3px; color: #343d55; }
.notice code, code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .95em; overflow-wrap: anywhere; }
.empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 170px; padding: 25px; text-align: center; color: #8992a5; }
.empty-state strong { color: #303950; font-size: 13px; }
.empty-state span { max-width: 420px; font-size: 11px; line-height: 1.6; }
.empty-illustration { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: #f0eeff; color: #7564ed; font-size: 21px; }
.stack-form { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, .stack-form label { color: #3d465c; font-size: 11px; font-weight: 650; }
.field input, .field select, .field textarea, .stack-form input, .stack-form select, .stack-form textarea, input, select, textarea { min-width: 0; max-width: 100%; border: 1px solid #dfe3ed; border-radius: 8px; padding: 10px 12px; background: #fff; color: #303950; font-size: 12px; }
.field textarea, .stack-form textarea { width: 100%; resize: vertical; line-height: 1.55; }
.field input:focus, .field select:focus, .field textarea:focus, .stack-form input:focus, .stack-form select:focus, .stack-form textarea:focus { border-color: #a69cff; outline: 3px solid #f0eeff; }
.helper { color: #8992a5; font-size: 10px; line-height: 1.55; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.form-actions { justify-content: flex-end; padding-top: 12px; border-top: 1px solid #eff1f6; }
.form-error { min-height: 0; margin: 0; color: #b34242; font-size: 11px; }
.check-row { display: flex; align-items: flex-start; gap: 10px; padding: 13px; border: 1px solid #e3e6ef; border-radius: 10px; background: #fbfcff; cursor: pointer; }
.check-row input { flex: 0 0 auto; width: 16px; height: 16px; margin: 2px 0 0; accent-color: #7564ed; }
.check-row span { display: flex; flex-direction: column; gap: 5px; }
.check-row strong { color: #303950; font-size: 11px; }
.check-row small { color: #8992a5; font-size: 10px; line-height: 1.5; font-weight: 400; }
.modal-layer { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 20px; background: rgba(16,21,37,.58); overflow-y: auto; }
.modal-card { width: min(760px, 100%); max-height: min(90vh, 1000px); padding: 0; border: 1px solid #e4e7ef; border-radius: 16px; background: #fff; box-shadow: 0 20px 80px rgba(0,0,0,.25); overflow-y: auto; }
.modal-heading { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 19px 22px; border-bottom: 1px solid #eceef4; background: #fff; }
.modal-heading h2 { margin: 4px 0 0; font-size: 18px; }
.icon-button { width: 34px; height: 34px; border: 0; border-radius: 8px; background: #f5f6fa; font-size: 22px; }
#modalBody { padding: 22px; }
.dkim-txt-value { min-height: 190px; width: 100%; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-word; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; line-height: 1.55; }
.login-screen { display: grid; place-items: center; min-height: 100vh; padding: 24px; background: radial-gradient(circle at 50% 0%, #e8e5ff, #f7f8fc 45%); }
.login-card { width: min(420px, 100%); padding: 34px; border: 1px solid #e7eaf1; border-radius: 18px; background: #fff; box-shadow: 0 18px 60px rgba(30,37,64,.1); }
.login-card h1 { margin: 4px 0 10px; font-size: 28px; letter-spacing: -.8px; }
.login-card .muted { color: #7b8598; font-size: 12px; line-height: 1.6; }
.login-foot { color: #8992a5; font-size: 10px; }
.muted { color: #7b8598; }
.loading-state { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 160px; color: #8992a5; font-size: 12px; }
.spinner { width: 17px; height: 17px; border: 2px solid #e3e6ef; border-top-color: #7564ed; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.toast-region { position: fixed; right: 20px; bottom: 20px; z-index: 100; display: flex; flex-direction: column; gap: 8px; max-width: min(420px, calc(100vw - 40px)); }
.toast { padding: 12px 15px; border: 1px solid #dfe3ed; border-radius: 10px; background: #fff; box-shadow: 0 8px 30px rgba(30,37,64,.15); color: #303950; font-size: 12px; }
.toast.error { border-color: #f1c8c8; color: #a83232; }
.toast.success { border-color: #cdece1; }
.detail-layout { display: grid; grid-template-columns: minmax(240px,.8fr) minmax(0,1.4fr); gap: 16px; }
.list-stack { display: flex; flex-direction: column; gap: 8px; padding: 12px; }
.list-card { display: block; width: 100%; padding: 13px; border: 1px solid #e7eaf1; border-radius: 10px; background: #fff; color: #303950; text-align: left; }
.list-card.selected { border-color: #aaa0ff; background: #faf9ff; }
.list-card strong, .list-card small { display: block; }
.list-card small { margin-top: 5px; color: #8992a5; font-size: 10px; }
.list-card-bottom { display: flex; justify-content: space-between; gap: 8px; margin-top: 10px; color: #7b8598; font-size: 10px; }
.subscriber-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-bottom: 1px solid #eff1f6; }
.filters { display: grid; grid-template-columns: minmax(180px,2fr) repeat(3,minmax(110px,1fr)); gap: 12px; align-items: end; padding: 18px; }
.filters .field { min-width: 0; }
.filters .btn { min-height: 38px; }
.table-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 13px 18px; border-top: 1px solid #eff1f6; }
.table-toolbar p { margin: 0; color: #8992a5; font-size: 10px; }
.pagination { font-size: 10px; color: #7b8598; }
.quick-actions { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.quick-action { display: flex; align-items: center; gap: 10px; padding: 12px; border: 1px solid #e7eaf1; border-radius: 10px; }
.quick-action strong, .quick-action small { display: block; }
.quick-action strong { font-size: 11px; }
.quick-action small { margin-top: 4px; color: #8992a5; font-size: 10px; line-height: 1.45; }
@media (max-width: 1080px) {
  .sidebar { width: 220px; }
  .main-area { margin-left: 220px; }
  .page-content { padding: 24px 22px 40px; }
  .topbar { padding: 0 22px; }
  .filters { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .sidebar { position: static; width: auto; min-height: 0; padding: 12px; }
  .brand-lockup { padding-bottom: 14px; }
  .workspace-label, .sidebar-status, .logout-button { display: none; }
  .main-nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .nav-item { min-height: 38px; font-size: 11px; }
  .sidebar-bottom { margin-top: 0; padding-top: 0; }
  .main-area { margin-left: 0; }
  .topbar { position: static; height: 55px; padding: 0 15px; }
  .page-content { padding: 22px 14px 36px; }
  .page-heading { align-items: flex-start; flex-direction: column; }
  .page-heading h1 { font-size: 24px; }
  .form-row, .detail-layout, .quick-actions { grid-template-columns: minmax(0,1fr); }
  .filters { grid-template-columns: minmax(0,1fr); padding: 14px; }
  .table-toolbar { align-items: flex-start; flex-direction: column; }
  .modal-layer { padding: 8px; }
  .modal-card { max-height: 96vh; }
  #modalBody { padding: 16px; }
  .login-card { padding: 25px; }
}

/* Final layout repair: this file loads after design-system.css so these rules win. */
html, body { max-width: 100%; overflow-x: hidden; }
body { line-height: 1.5; }
.main-area { min-width: 0; width: auto; }
.page-content { width: 100%; max-width: 1700px; min-width: 0; box-sizing: border-box; padding: 30px 34px 50px; }
#pageContent { min-width: 0; width: 100%; }
#pageContent > * { min-width: 0; max-width: 100%; box-sizing: border-box; }
#pageContent > .page-heading { margin-bottom: 22px; }
.page-heading h1 { line-height: 1.2; }
.page-heading p { max-width: 760px; }
.panel { min-width: 0; max-width: 100%; }
.panel-header { gap: 14px; padding: 18px 22px; }
.panel-body { padding: 22px; }
.panel-body > * + * { margin-top: 16px; }
.panel-header > *, .panel-body > * { min-width: 0; }
.setup-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); gap: 20px; align-items: start; }
.setup-grid > * { min-width: 0; }
.setup-list { list-style: none !important; counter-reset: none !important; margin: 0; padding: 0; display: grid; gap: 18px; }
.setup-list > li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; align-items: start; margin: 0; padding: 0; }
.setup-list > li::marker { content: ''; }
.setup-list .step-number { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: #f0edff; color: #6554d9; font-size: 12px; font-weight: 800; }
.setup-list strong { display: block; margin: 2px 0 5px; font-size: 14px; line-height: 1.4; }
.setup-list p { margin: 0; font-size: 13px; line-height: 1.65; color: #667085; overflow-wrap: anywhere; }
.setup-list code, .panel code { overflow-wrap: anywhere; white-space: normal; }
#emailFooterForm { display: grid; gap: 18px; }
#emailFooterForm > * { min-width: 0; margin: 0; }
#emailFooterForm .field { display: flex; flex-direction: column; gap: 7px; }
#emailFooterForm label { font-size: 13px; font-weight: 700; }
#emailFooterForm input, #emailFooterForm textarea { box-sizing: border-box; width: 100%; max-width: 100%; font: inherit; font-size: 14px; }
#emailFooterForm textarea { min-height: 100px; resize: vertical; }
#emailFooterForm .notice { margin: 0; }
#emailFooterForm .form-actions { margin: 0; padding-top: 16px; }
.metric-strip { display: flex; flex-wrap: wrap; gap: 10px; }
.notice { min-width: 0; align-items: flex-start; gap: 12px; padding: 16px 18px; }
.notice > div { min-width: 0; overflow-wrap: anywhere; }
.notice strong { display: block; margin-bottom: 4px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.inline-actions, .form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.table-wrap { max-width: 100%; overflow-x: auto; }
@media (max-width: 1050px) {
  .page-content { padding: 24px 22px 40px; }
  .setup-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .sidebar { position: static; width: 100%; min-height: 0; box-sizing: border-box; padding: 14px; overflow: visible; }
  .workspace-label, .sidebar-status, .logout-button { display: none; }
  .main-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .nav-item { min-width: 0; min-height: 40px; padding: 8px 10px; }
  .main-area { margin-left: 0; width: 100%; }
  .topbar { position: static; padding: 0 16px; }
  .page-content { padding: 20px 14px 34px; }
  .page-heading { display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
  .page-heading h1 { font-size: 24px; }
  .panel-header { padding: 15px 16px; }
  .panel-body { padding: 16px; }
  .form-row { grid-template-columns: minmax(0, 1fr); }
  .table-wrap { -webkit-overflow-scrolling: touch; }
  .modal-layer { padding: 8px; }
  #modalBody { padding: 16px; }
}
@media (max-width: 420px) {
  .page-content { padding-inline: 10px; }
  .panel-body, .panel-header { padding: 13px; }
  .form-actions { align-items: stretch; flex-direction: column; }
  .form-actions .btn { width: 100%; }
}

/* Final spacing/accessibility pass for Settings and footer controls. */
*, *::before, *::after { box-sizing: border-box; }
#pageContent { min-width: 0; width: 100%; overflow-wrap: anywhere; }
#pageContent > .page-heading { margin: 0 0 24px; }
#pageContent > .panel, #pageContent > .setup-grid, #pageContent > .footer-note { margin-top: 20px; }
#pageContent > .page-heading + .panel { margin-top: 0; }
.panel { min-width: 0; }
.panel-header { gap: 12px; }
.panel-header h2 { margin: 0; line-height: 1.35; }
.panel-header p { margin: 5px 0 0; line-height: 1.55; }
.panel-body { min-width: 0; }
.panel-body > * { max-width: 100%; }
.panel-body > * + * { margin-top: 18px; }
.setup-list { list-style: none !important; padding: 0 !important; margin: 0 !important; gap: 18px; }
.setup-list > li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; align-items: start; padding: 0 !important; margin: 0 !important; }
.setup-list > li::before, .setup-list > li::marker { content: none !important; display: none !important; }
.setup-list .step-number { width: 30px; height: 30px; margin: 0; }
.setup-list strong { margin: 2px 0 5px; font-size: 14px; line-height: 1.4; }
.setup-list p { margin: 0; font-size: 13px; line-height: 1.6; }
.setup-checklist-title { margin: 20px 0 14px; font-size: 14px; line-height: 1.4; }
#emailFooterForm { display: grid; gap: 20px; }
#emailFooterForm > * { margin: 0 !important; min-width: 0; }
#emailFooterForm .field { display: flex; flex-direction: column; gap: 7px; }
#emailFooterForm .field label { font-size: 13px; line-height: 1.4; }
#emailFooterForm input:not([type=checkbox]), #emailFooterForm textarea { width: 100%; min-height: 42px; padding: 10px 12px; font: inherit; font-size: 14px; line-height: 1.45; }
#emailFooterForm textarea { min-height: 110px; }
#emailFooterForm .helper { display: block; font-size: 12px; line-height: 1.55; color: #667085; overflow-wrap: anywhere; }
#emailFooterForm .notice { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; line-height: 1.55; }
#emailFooterForm .notice strong { margin: 0 0 5px; }
.settings-fieldset { border: 1px solid #e0e4ee; border-radius: 12px; padding: 14px 16px 16px; min-width: 0; display: grid; gap: 14px; }
.settings-fieldset legend { padding: 0 6px; font-size: 13px; font-weight: 750; color: #303950; }
.toggle-row { display: flex; align-items: flex-start; gap: 11px; min-width: 0; cursor: pointer; }
.toggle-row input[type=checkbox] { flex: 0 0 16px; width: 16px; height: 16px; margin: 3px 0 0; }
.toggle-row span { min-width: 0; display: grid; gap: 4px; }
.toggle-row strong { font-size: 13px; line-height: 1.4; }
.toggle-row small { font-size: 12px; font-weight: 400; line-height: 1.55; color: #667085; }
#emailFooterForm .form-actions { display: flex; justify-content: flex-start; padding-top: 16px; border-top: 1px solid #edf0f5; }
.notice > div { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 760px) {
  #pageContent > .page-heading { margin-bottom: 18px; }
  #pageContent > .panel, #pageContent > .setup-grid, #pageContent > .footer-note { margin-top: 16px; }
  .setup-grid { grid-template-columns: minmax(0, 1fr) !important; gap: 16px; }
  .panel-header, .panel-body { padding: 16px; }
  #emailFooterForm { gap: 17px; }
}
