.ebp-candidate-control{display:flex;align-items:center;gap:.55rem;flex-wrap:wrap}
.ebp-toggle.is-selected{font-weight:600}
.ebp-selection-status{font-weight:600}
.ebp-selection-status[hidden]{display:none!important}
.ebp-inline-message{flex-basis:100%;font-size:.9em}
.ebp-nav-button{text-decoration:none!important}
.ebp-button-size-xsmall{font-size:.72em!important;padding:.28em .58em!important;min-height:auto!important}
.ebp-button-size-small{font-size:.82em!important;padding:.4em .75em!important;min-height:auto!important}
.ebp-bootstrap-xsmall{font-size:.72em!important;padding:.22rem .48rem!important}
.ebp-button-size-normal{}
.ebp-button-size-large{font-size:1.1em!important;padding:.7em 1.15em!important}

.ebp-ballot-toolbar{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;margin-bottom:1rem}
.ebp-private-note{font-size:.9em;opacity:.78}
.ebp-status{margin:1rem 0;font-weight:600}
.ebp-pdf-control{display:inline-flex;align-items:center;gap:.5rem;flex-wrap:wrap}.ebp-pdf-status{font-size:.9em;font-weight:600}
.ebp-ballot-sections{margin-top:1rem}
.ebp-section{margin:1.15rem 0 0}
.ebp-section h2{display:flex;gap:.5rem;align-items:baseline;margin:.85rem 0 .4rem;padding:0 0 .18rem;font-size:1.25em;font-weight:700;line-height:1.15;break-after:avoid;page-break-after:avoid}
.ebp-section-count{font-size:.6em;font-weight:400;opacity:.7}
.ebp-ballot-candidate{display:flex;align-items:flex-start;gap:.65rem;padding:.65rem 0;break-inside:avoid;page-break-inside:avoid}
.ebp-show-dividers .ebp-ballot-candidate{border-bottom:1px solid rgba(0,0,0,.12)}
.ebp-print-check{display:block;flex:0 0 1.15rem;width:1.15rem;height:1.15rem;box-sizing:border-box;border:1.5px solid currentColor;margin-top:.12rem;line-height:1}
.ebp-candidate-photo{flex:0 0 72px;width:72px;height:72px;object-fit:cover;border-radius:3px}
.ebp-candidate-body{min-width:0;flex:1}
.ebp-ballot-candidate h3{margin:0 0 .18rem;font-size:1.08em}
.ebp-candidate-details{display:flex;align-items:baseline;flex-wrap:wrap;gap:.12rem .35rem;line-height:1.25}
.ebp-detail{display:inline;min-width:0;overflow-wrap:anywhere}
.ebp-detail+.ebp-detail::before{content:"·";margin-right:.35rem;opacity:.55}
.ebp-remove{margin-top:.3rem}
.ebp-empty{opacity:.65;font-style:italic;margin:.35rem 0}

.ebp-two-columns .ebp-section-items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 1rem;align-items:start}

.ebp-density-compact .ebp-ballot-candidate{padding:.42rem 0;gap:.5rem}
.ebp-density-compact .ebp-candidate-photo{width:60px;height:60px;flex-basis:60px}
.ebp-density-compact .ebp-section{margin-top:.75rem}
.ebp-density-compact .ebp-section h2{margin:.65rem 0 .28rem;padding-bottom:.14rem}
.ebp-density-comfortable .ebp-ballot-candidate{padding:.85rem 0}
.ebp-density-comfortable .ebp-candidate-photo{width:84px;height:84px;flex-basis:84px}

/* Legacy all-in-one ballot branding. New custom pages can use ordinary Gutenberg/Kadence blocks instead. */
.ebp-print-header{text-align:center;margin:0 0 1.25rem}
.ebp-print-header-logo,.ebp-print-footer-logo{display:block;width:100%;max-width:none;max-height:none;height:auto;object-fit:contain}
.ebp-print-header-logo{margin:0 0 .55rem}
.ebp-print-footer-logo{margin:0 0 .45rem}
.ebp-print-header h1{margin:.15rem 0;font-size:2rem;line-height:1.1}
.ebp-print-subtitle{font-size:1.05rem;opacity:.78;margin:.2rem 0}
.ebp-print-header-text{margin:.55rem auto 0}
.ebp-print-header-text>:first-child,.ebp-print-footer-text>:first-child{margin-top:0}
.ebp-print-header-text>:last-child,.ebp-print-footer-text>:last-child{margin-bottom:0}
.ebp-print-footer{text-align:center;margin-top:1.4rem;padding-top:.75rem;border-top:1px solid rgba(0,0,0,.18);font-size:.9em}
.ebp-generated-date,.ebp-disclaimer{font-size:.9em;opacity:.74;margin-top:.3rem}

.ebp-fixed-bar{position:fixed;left:0;right:0;bottom:0;z-index:99990;background:var(--wp--preset--color--base,#fff);color:inherit;border-top:1px solid rgba(0,0,0,.15);box-shadow:0 -3px 14px rgba(0,0,0,.12);padding:.65rem 1rem}
.ebp-fixed-bar-inner{max-width:1280px;margin:0 auto;display:grid;grid-template-columns:repeat(3,minmax(0,auto)) 1fr auto;gap:1rem;align-items:center}
.ebp-bar-office{white-space:nowrap}
.ebp-bar-actions{grid-column:5;display:flex;align-items:center;justify-content:flex-end;gap:.5rem;flex-wrap:wrap}
.ebp-bar-button{text-decoration:none!important;text-align:center}
.ebp-share-status,.ebp-video-status{font-size:.85em;font-weight:600}
.ebp-share-control{display:inline-flex;align-items:center;gap:.5rem;flex-wrap:wrap}
.ebp-video-control{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}
.ebp-video-result{display:block;flex:1 0 100%;width:100%;margin-top:.25rem}
.ebp-video-result:empty{display:none}
.ebp-video-download,.ebp-video-share{cursor:pointer}
.ebp-video-result.is-ready{margin-top:.7rem;padding:.8rem .9rem;border:1px solid rgba(0,0,0,.14);border-radius:8px;background:rgba(0,0,0,.035);display:flex;align-items:center;justify-content:space-between;gap:.85rem;flex-wrap:wrap}
.ebp-reel-ready-summary{display:flex;flex-direction:column;gap:.12rem;min-width:180px}
.ebp-reel-ready-title{font-size:1rem;line-height:1.2}
.ebp-reel-ready-meta{font-size:.86rem;opacity:.72}
.ebp-reel-ready-actions{display:flex;gap:.5rem;align-items:center;flex-wrap:wrap}
.ebp-reel-ready-actions a{text-decoration:none!important}
.ebp-reel-expiry{flex:1 0 100%;margin:.25rem 0 0;font-size:.82rem;line-height:1.4;opacity:.78}
.ebp-reel-stale{margin:.2rem 0 0;font-size:.82rem;line-height:1.35;font-weight:600}

.ebp-video-progress-ui{display:grid;grid-template-columns:auto 1fr auto;grid-template-areas:"spinner stage percent" "track track track";gap:.35rem .55rem;align-items:center;min-width:min(420px,90vw);padding:.6rem .75rem;border:1px solid rgba(0,0,0,.14);border-radius:6px;background:rgba(0,0,0,.035)}
.ebp-video-spinner{grid-area:spinner;width:18px;height:18px;border:3px solid rgba(0,0,0,.18);border-top-color:currentColor;border-radius:50%;animation:ebp-spin .8s linear infinite}
.ebp-video-stage{grid-area:stage;font-weight:600}
.ebp-video-percent{grid-area:percent;font-variant-numeric:tabular-nums}
.ebp-video-progress-track{grid-area:track;display:block;height:7px;border-radius:99px;background:rgba(0,0,0,.12);overflow:hidden}
.ebp-video-progress-fill{display:block;height:100%;width:0;background:currentColor;transition:width .25s ease}
.ebp-video-progress-ui.is-error .ebp-video-spinner{animation:none;border-color:#b32d2e}
@keyframes ebp-spin{to{transform:rotate(360deg)}}
.ebp-shared-notice{margin:0 0 1rem;padding:.75rem 1rem;border-left:4px solid currentColor;background:rgba(0,0,0,.04)}
.ebp-shared-error{font-weight:600;margin:.5rem 0}
body.ebp-has-fixed-bar{padding-bottom:var(--ebp-fixed-bar-height,72px)!important}

/* html2pdf export helpers */
.ebp-pdf-export-target{background:#fff}
body.ebp-pdf-exporting .ebp-no-pdf{display:none!important}

@media (max-width:900px){
  .ebp-fixed-bar-inner{grid-template-columns:repeat(3,1fr);gap:.6rem .8rem}
  .ebp-bar-office{white-space:normal;font-size:.92em}
  .ebp-bar-actions{grid-column:1/-1;justify-content:center}
}
@media (max-width:650px){
  .ebp-two-columns .ebp-section-items{grid-template-columns:1fr}
  .ebp-toolbar-actions{display:grid;grid-template-columns:1fr;width:100%;gap:.55rem}
  .ebp-toolbar-actions [data-ebp-public-actions]{display:contents}
  .ebp-toolbar-actions .button,.ebp-toolbar-actions .wp-element-button,.ebp-toolbar-actions .btn,.ebp-toolbar-actions button{width:100%;text-align:center;justify-content:center}
  .ebp-candidate-photo{width:56px;height:56px;flex-basis:56px}
  .ebp-fixed-bar{padding:.5rem .65rem}
  .ebp-fixed-bar-inner{grid-template-columns:repeat(3,1fr);text-align:center;gap:.45rem}
  .ebp-bar-office{font-size:.8em;line-height:1.25}
  .ebp-bar-office strong{display:block}
  .ebp-bar-actions{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;width:100%}
  .ebp-bar-actions .ebp-bar-button,.ebp-bar-actions .ebp-share-button{width:100%;text-align:center}
  .ebp-bar-actions .ebp-share-status{grid-column:1/-1}
}
@media (max-width:420px){
  .ebp-fixed-bar-inner{grid-template-columns:1fr 1fr 1fr;gap:.35rem}
  .ebp-bar-office{font-size:.74em}
  .ebp-ballot-candidate{gap:.42rem}
  .ebp-candidate-photo{width:48px;height:48px;flex-basis:48px}
}

@media (max-width:650px){
  .ebp-video-result.is-ready{display:block}
  .ebp-reel-ready-summary{margin-bottom:.65rem}
  .ebp-reel-ready-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}
  .ebp-reel-ready-actions .ebp-video-download,.ebp-reel-ready-actions .ebp-video-share{width:100%;text-align:center;justify-content:center}
}

@media print{
  @page{margin:.25in}
  html,body{margin:0!important;padding:0!important}
  body{padding-bottom:0!important}
  .ebp-fixed-bar,.ebp-no-print,[data-html2canvas-ignore="true"]{display:none!important}

  /* Print a cloned copy of the complete ebp-pdf-area in normal document flow. */
  body.ebp-print-target-active > *:not(.ebp-print-root){display:none!important}
  .ebp-print-root{display:block!important;margin:0!important;padding:0!important;position:static!important;overflow:visible!important;background:#fff;color:#000}
  .ebp-print-root-inner{display:block;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;position:static!important;transform:none!important}
  .ebp-print-root .ebp-pdf-area{width:100%!important;max-width:none!important;min-width:0!important;min-height:0!important;height:auto!important;transform:none!important;margin-top:0!important;padding-top:0!important}
  .ebp-print-root .ebp-pdf-area > :first-child{margin-top:0!important;padding-top:0!important}

  .ebp-ballot-content{font-size:9.3pt;line-height:1.12;color:#000;background:#fff;margin-top:0!important;padding-top:0!important}
  .ebp-print-header{margin-bottom:.12in}
  .ebp-print-header-logo,.ebp-print-footer-logo{width:100%;max-width:none;max-height:none;height:auto;margin-left:0;margin-right:0}
  .ebp-print-header h1{font-size:18pt;margin:0 0 .04in}
  .ebp-print-subtitle{font-size:10pt;margin:0}
  .ebp-print-header-text{font-size:9pt;margin-top:.08in}
  .ebp-ballot-sections{margin-top:.08in}
  .ebp-section{margin:.06in 0 0;break-inside:auto!important;page-break-inside:auto!important}
  .ebp-two-columns .ebp-section-items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 .16in;align-items:start}
  .ebp-section h2{font-size:13pt;font-weight:700;line-height:1.12;margin:.065in 0 .025in;padding:0 0 .025in;break-after:avoid;page-break-after:avoid}
  .ebp-section-count{display:none}
  .ebp-ballot-candidate{break-inside:avoid;page-break-inside:avoid;padding:.035in 0;gap:.06in}
  .ebp-density-comfortable .ebp-ballot-candidate{padding:.1in 0}
  .ebp-print-check{display:block;width:.19in;height:.19in;flex:0 0 .19in;box-sizing:border-box;border:1.4px solid #000;margin-top:.02in}
  .ebp-candidate-photo{width:.50in;height:.50in;flex-basis:.50in;border-radius:0}
  .ebp-density-comfortable .ebp-candidate-photo{width:.72in;height:.72in;flex-basis:.72in}
  .ebp-ballot-candidate h3{font-size:10pt;margin:0 0 .01in}
  .ebp-candidate-details{font-size:8.5pt;line-height:1.15;gap:0 .04in}
  .ebp-detail+.ebp-detail::before{margin-right:.04in}
  .ebp-ballot-candidate a{color:#000;text-decoration:none}
  .ebp-print-footer{font-size:8pt;margin-top:.15in;padding-top:.08in;break-inside:avoid;page-break-inside:avoid}
  .ebp-generated-date,.ebp-disclaimer{font-size:7.5pt;margin-top:.025in}
}

@media print{
  .ebp-share-control,.ebp-video-control,.ebp-share-button,.ebp-video-button,.ebp-video-result,.ebp-shared-notice{display:none!important}
}

/* Button layout helpers. Colour/border/hover styling belongs to the selected theme preset. */
.ebp-account-sync{display:inline-flex;align-items:center;gap:.55rem;flex-wrap:wrap;padding:.35rem .55rem;border:1px solid rgba(0,0,0,.14);border-radius:4px}
.ebp-account-sync label{display:inline-flex;align-items:center;gap:.4rem;margin:0}
.ebp-account-sync-status{font-size:.85em;font-weight:600}
.ebp-ballot-toolbar>*{align-self:center}
.ebp-video-control,.ebp-ballot-toolbar{gap:.55rem}
.ebp-login-required{padding:1rem 1.1rem;border:1px solid rgba(0,0,0,.14);border-radius:6px}
.ebp-login-required>:first-child{margin-top:0}.ebp-login-required>:last-child{margin-bottom:0}
@media (max-width:650px){
  .ebp-account-sync{width:100%;justify-content:center}
}

/* Blue Collar Social Share modal. The sharing controls themselves are rendered
   by Blue Collar Social Share; this wrapper only presents them after the Poll
   Card's single Share button is clicked. */
body.ebp-share-modal-open{overflow:hidden}
.ebp-share-modal[hidden]{display:none!important}
.ebp-share-modal{position:fixed;inset:0;z-index:100001;display:flex;align-items:center;justify-content:center;padding:1rem}
.ebp-share-modal-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.62)}
.ebp-share-modal-dialog{position:relative;z-index:1;width:min(620px,100%);max-height:calc(100vh - 2rem);overflow:auto;background:var(--global-palette9,#fff);color:var(--global-palette3,#1a202c);border-radius:10px;padding:1.35rem;box-shadow:0 24px 70px rgba(0,0,0,.32)}
.ebp-share-modal-dialog h2{margin:0 2.4rem 1rem 0;font-size:1.45rem;line-height:1.2}
.ebp-share-modal-x{all:unset;position:absolute;right:.85rem;top:.65rem;width:2rem;height:2rem;display:grid;place-items:center;border-radius:999px;cursor:pointer;font-size:1.7rem;line-height:1;color:inherit}
.ebp-share-modal-x:hover,.ebp-share-modal-x:focus{background:rgba(0,0,0,.08);outline:2px solid currentColor;outline-offset:1px}
.ebp-blue-collar-share{min-width:0}
@media (max-width:520px){.ebp-share-modal{padding:.6rem;align-items:flex-end}.ebp-share-modal-dialog{width:100%;max-height:92vh;border-radius:10px 10px 0 0;padding:1.1rem}}

/* Create Reel options modal */
body.ebp-reel-modal-open{overflow:hidden}
.ebp-reel-modal[hidden]{display:none!important}
.ebp-reel-modal{position:fixed;inset:0;z-index:100000;display:flex;align-items:center;justify-content:center;padding:1rem}
.ebp-reel-modal-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.62)}
.ebp-reel-modal-dialog{position:relative;z-index:1;width:min(560px,100%);max-height:calc(100vh - 2rem);overflow:auto;background:var(--global-palette9,#fff);color:var(--global-palette3,#1a202c);border-radius:10px;padding:1.35rem;box-shadow:0 24px 70px rgba(0,0,0,.32)}
.ebp-reel-modal-x{all:unset;position:absolute;right:.85rem;top:.65rem;width:2rem;height:2rem;display:grid;place-items:center;border-radius:999px;cursor:pointer;font-size:1.7rem;line-height:1;color:inherit}
.ebp-reel-modal-x:hover,.ebp-reel-modal-x:focus{background:rgba(0,0,0,.08);outline:2px solid currentColor;outline-offset:1px}
.ebp-reel-modal-profile{display:flex;align-items:center;gap:1rem;padding-right:2rem;margin-bottom:1.15rem}
.ebp-reel-modal-photo-wrap{width:76px;height:76px;flex:0 0 76px;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:rgba(0,0,0,.08);font-size:2rem;font-weight:700}
.ebp-reel-modal-photo-wrap img{width:100%;height:100%;object-fit:cover;display:block}
.ebp-reel-modal-profile h2{margin:0 0 .25rem;font-size:1.45rem;line-height:1.2}
.ebp-reel-modal-name{margin:0;font-weight:600;opacity:.78}
.ebp-reel-modal-field{display:grid;gap:.4rem;font-weight:600;margin:0 0 .45rem}
.ebp-reel-modal-field select{width:100%;max-width:none}
.ebp-reel-modal-help{font-size:.9em;opacity:.75;margin:.35rem 0 1.15rem}
.ebp-reel-modal-actions{display:flex;justify-content:flex-end;gap:.6rem;flex-wrap:wrap}
.ebp-reel-modal-status{margin:.75rem 0 0;font-weight:600}
@media (max-width:520px){
  .ebp-reel-modal{padding:.6rem;align-items:flex-end}
  .ebp-reel-modal-dialog{width:100%;max-height:92vh;border-radius:10px 10px 0 0;padding:1.1rem}
  .ebp-reel-modal-photo-wrap{width:62px;height:62px;flex-basis:62px}
  .ebp-reel-modal-actions{display:grid;grid-template-columns:1fr 1fr}
  .ebp-reel-modal-actions button{width:100%}
}


/* Save / publish Poll Card workflow */
body.ebp-save-modal-open{overflow:hidden}
.ebp-save-modal[hidden]{display:none!important}
.ebp-save-modal{position:fixed;inset:0;z-index:100001;display:flex;align-items:center;justify-content:center;padding:1rem}
.ebp-save-modal-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.62)}
.ebp-save-modal-dialog{position:relative;z-index:1;width:min(570px,100%);max-height:calc(100vh - 2rem);overflow:auto;background:var(--global-palette9,#fff);color:var(--global-palette3,#1a202c);border-radius:10px;padding:1.35rem;box-shadow:0 24px 70px rgba(0,0,0,.32)}
.ebp-save-modal-dialog h2{margin-top:0;padding-right:2rem}
.ebp-save-modal-x{all:unset;position:absolute;right:.85rem;top:.65rem;width:2rem;height:2rem;display:grid;place-items:center;border-radius:999px;cursor:pointer;font-size:1.7rem;line-height:1;color:inherit}
.ebp-save-modal-x:hover,.ebp-save-modal-x:focus{background:rgba(0,0,0,.08);outline:2px solid currentColor;outline-offset:1px}
.ebp-save-modal-actions{display:flex;justify-content:flex-end;gap:.6rem;flex-wrap:wrap;margin-top:1.1rem}
.ebp-save-modal-status{margin:.75rem 0 0;font-weight:600}
.ebp-save-control{display:inline-flex;align-items:center;gap:.55rem;flex-wrap:wrap}
.ebp-save-status{font-size:.85em;font-weight:600}
.ebp-public-profile-card{margin-top:2rem;padding-top:1rem;border-top:1px solid rgba(0,0,0,.16)}
.ebp-public-profile-card>.ebp-ballot-content{margin-top:.5rem}
.ebp-public-profile-card .ebp-ballot-candidate h4{margin:0}
@media (max-width:520px){.ebp-save-modal{padding:.6rem;align-items:flex-end}.ebp-save-modal-dialog{width:100%;max-height:92vh;border-radius:10px 10px 0 0;padding:1.1rem}.ebp-save-modal-actions{display:grid;grid-template-columns:1fr 1fr}.ebp-save-modal-actions button{width:100%}}
/* PDF staging shell stays out of view, but the element passed to html2pdf is the
   normal-flow .ebp-pdf-clone-inner child. Never pass a fixed-position source. */
.ebp-pdf-stage{position:absolute;left:0;top:0;z-index:-2147483000;background:#fff;color:#000;margin:0!important;padding:0!important;overflow:visible!important;pointer-events:none!important}
.ebp-pdf-clone-inner{position:static!important;display:block!important;margin:0!important;padding:0!important;transform:none!important;transform-origin:top left;background:#fff;color:#000}
.ebp-pdf-clone-inner .ebp-pdf-area{width:100%!important;max-width:none!important;min-width:0!important;min-height:0!important;height:auto!important;transform:none!important;margin-top:0!important;padding-top:0!important}


/* My Poll Card live status panel */
.ebp-ballot-page>.ebp-ballot-toolbar{display:block;margin-bottom:1rem}
.ebp-poll-card-title{margin:0 0 .65rem}.ebp-poll-card-document-title{break-after:avoid;page-break-after:avoid}
.ebp-poll-card-status-panel{display:flex;align-items:center;gap:.5rem 1rem;flex-wrap:wrap;margin:0 0 .75rem;padding:0}
.ebp-status-toggle-row{display:inline-flex;align-items:center;gap:.5rem;white-space:nowrap}
.ebp-status-toggle-label,.ebp-status-toggle-state{font-weight:600}
.ebp-switch{position:relative;display:inline-block;width:46px;height:24px;flex:0 0 46px}
.ebp-switch input{opacity:0;width:0;height:0;position:absolute}
.ebp-slider{position:absolute;cursor:pointer;inset:0;background:#b7bcc3;transition:.2s;box-shadow:inset 0 0 0 1px rgba(0,0,0,.12)}
.ebp-slider:before{content:"";position:absolute;width:18px;height:18px;left:3px;top:3px;background:#fff;transition:.2s;box-shadow:0 1px 3px rgba(0,0,0,.3)}
.ebp-switch input:checked+.ebp-slider{background:var(--global-palette1,#2271b1)}
.ebp-switch input:focus-visible+.ebp-slider{outline:2px solid currentColor;outline-offset:2px}
.ebp-switch input:checked+.ebp-slider:before{transform:translateX(22px)}
.ebp-switch input:disabled+.ebp-slider{opacity:.58;cursor:wait}
.ebp-slider.round{border-radius:999px}.ebp-slider.round:before{border-radius:50%}
.ebp-poll-card-status-message{flex-basis:100%;margin:.15rem 0 0;font-size:.95em}
.ebp-poll-card-status-message[hidden],[data-ebp-public-actions][hidden]{display:none!important}
.ebp-poll-card-status-feedback{display:block;min-height:0;margin:.15rem 0 0;font-size:.9em;font-weight:600}
.ebp-toolbar-actions{display:flex;align-items:center;gap:.55rem;flex-wrap:wrap;margin-top:.15rem}
[data-ebp-public-actions]{display:inline-flex;align-items:center;gap:.55rem;flex-wrap:wrap}


/* 0.16.0 shared Print/PDF export document. The outer Kadence row that hosts
   the Poll Card is flattened by JS; genuine nested Kadence rows keep their
   on-screen column proportions through inline !important grid styles. */
.ebp-export-document{box-sizing:border-box;background:#fff;color:#000}
.ebp-export-document *{box-sizing:border-box}
.ebp-export-document .ebp-export-surrounding{line-height:1.28!important}

.ebp-export-document h1.ebp-export-surrounding{font-size:18pt!important;margin:.08in 0!important}
.ebp-export-document h2.ebp-export-surrounding{font-size:14pt!important;margin:.07in 0!important}
.ebp-export-document h3.ebp-export-surrounding,.ebp-export-document h4.ebp-export-surrounding{font-size:11pt!important;margin:.055in 0!important}
.ebp-export-document p.ebp-export-surrounding{font-size:9pt!important;margin:.045in 0!important}
.ebp-export-document h2.ebp-poll-card-document-title{font-size:16pt!important;line-height:1.15!important;margin:0 0 .08in!important;color:#000!important;break-after:avoid!important;page-break-after:avoid!important}
.ebp-export-document figure.ebp-export-surrounding,.ebp-export-document .wp-block-image.ebp-export-surrounding,.ebp-export-document .wp-block-kadence-image.ebp-export-surrounding{margin-top:.05in!important;margin-bottom:.05in!important}
.ebp-export-document .kt-row-column-wrap{width:100%!important;max-width:none!important}
.ebp-export-document .wp-block-kadence-column,.ebp-export-document .kt-inside-inner-col{min-width:0!important}
.ebp-export-document .ebp-export-ballot-host-row{display:block!important;grid-template-columns:none!important;column-gap:0!important;row-gap:0!important}
.ebp-export-document .ebp-export-ballot-host-row>.wp-block-kadence-column{display:block!important;width:100%!important;max-width:none!important;min-width:0!important;float:none!important}
.ebp-export-document img:not(.ebp-candidate-photo){height:auto!important}

/* Use the same compact Poll Card layout for PDF and browser Print. */
.ebp-export-document .ebp-ballot-content{font-size:9.3pt!important;line-height:1.12!important;color:#000;background:#fff;margin-top:0!important;padding-top:0!important;width:100%!important;max-width:none!important}
.ebp-export-document .ebp-ballot-sections{margin-top:.08in!important}
.ebp-export-document .ebp-section{margin:.06in 0 0!important;break-inside:auto!important;page-break-inside:auto!important}
.ebp-export-document .ebp-two-columns .ebp-section-items{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0 .16in!important;align-items:start!important}
.ebp-export-document .ebp-section h2{font-size:13pt!important;font-weight:700!important;line-height:1.12!important;margin:.065in 0 .025in!important;padding:0 0 .025in!important;break-after:avoid!important;page-break-after:avoid!important}
.ebp-export-document .ebp-section-count{display:none!important}
.ebp-export-document .ebp-ballot-candidate{break-inside:avoid!important;page-break-inside:avoid!important;padding:.035in 0!important;gap:.06in!important}
.ebp-export-document .ebp-density-comfortable .ebp-ballot-candidate{padding:.1in 0!important}
.ebp-export-document .ebp-print-check{display:block!important;width:.19in!important;height:.19in!important;flex:0 0 .19in!important;box-sizing:border-box!important;border:1.4px solid #000!important;margin-top:.02in!important}
.ebp-export-document .ebp-candidate-photo{width:.50in!important;height:.50in!important;flex-basis:.50in!important;border-radius:0!important;aspect-ratio:1/1!important;object-fit:cover!important}
.ebp-export-document .ebp-density-comfortable .ebp-candidate-photo{width:.72in!important;height:.72in!important;flex-basis:.72in!important}
.ebp-export-document .ebp-ballot-candidate h3{font-size:10pt!important;margin:0 0 .01in!important}
.ebp-export-document .ebp-candidate-details{font-size:8.5pt!important;line-height:1.15!important;gap:0 .04in!important}
.ebp-export-document .ebp-detail+.ebp-detail::before{margin-right:.04in!important}
.ebp-export-document .ebp-ballot-candidate a{color:#000!important;text-decoration:none!important}
.ebp-export-document .ebp-print-footer{font-size:8pt!important;margin-top:.15in!important;padding-top:.08in!important;break-inside:avoid!important;page-break-inside:avoid!important}
.ebp-export-document .ebp-generated-date,.ebp-export-document .ebp-disclaimer{font-size:7.5pt!important;margin-top:.025in!important}

@media print{
  .ebp-print-root .kb-row-layout-wrap,.ebp-print-root .wp-block-kadence-rowlayout,.ebp-print-root .kt-row-column-wrap,.ebp-print-root .wp-block-kadence-column,.ebp-print-root .kt-inside-inner-col{
    min-height:0!important;height:auto!important;break-before:auto!important;page-break-before:auto!important;
  }
  .ebp-print-root .kt-row-column-wrap{width:100%!important;max-width:none!important}
  .ebp-print-root .ebp-export-ballot-host-row{display:block!important;grid-template-columns:none!important}
  .ebp-print-root img:not(.ebp-candidate-photo){height:auto!important}
}

@media (max-width:650px){
  .ebp-video-result.is-ready{align-items:stretch}
  .ebp-reel-ready-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}
  .ebp-reel-ready-actions>*{width:100%;text-align:center;justify-content:center}
}
