.bq{--bq-pink:var(--crm-accent,#eb008b);--bq-ink:#202b42;--bq-muted:#647087;--bq-line:#e5dfed;--bq-green:#247c58;color:var(--bq-ink);font:inherit;font-size:15px;line-height:1.45}.bq *{box-sizing:border-box}.bq svg{width:21px;height:21px;flex-shrink:0;vertical-align:middle}.bq button,.bq select,.bq input{font:inherit;letter-spacing:normal}.bq button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;min-width:40px;width:auto;padding:9px 14px;border:1px solid var(--bq-line);border-radius:12px;background:#fff;color:var(--bq-ink);box-shadow:none;cursor:pointer;white-space:normal;line-height:1.2}.bq button:hover{border-color:#eb008b80;background:#fff6fb}.bq button:focus-visible,.bq select:focus-visible,.bq input:focus-visible,.bq summary:focus-visible{outline:3px solid #bd8bdb;outline-offset:3px}.bq button:disabled{opacity:.55;cursor:default}.bq .bq-primary{color:#fff;background:var(--bq-pink);border-color:var(--bq-pink);font-weight:600}.bq .bq-primary:hover{background:var(--crm-accent,#eb008b)}.bq h2,.bq h3,.bq p{margin:0}.bq-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:22px}.bq-heading h2{font-size:clamp(23px,2.4vw,32px);font-weight:700;line-height:1.2;letter-spacing:-.7px;margin:7px 0}.bq-heading p:not(.bq-eyebrow){color:var(--bq-muted);font-size:14px}.bq-eyebrow{font-size:11px;font-weight:700;color:var(--bq-pink);letter-spacing:1.6px}.bq-toolbar{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.bq-toolbar button{font-size:13px}.bq-progress{display:flex;align-items:center;gap:24px;border:1px solid #f0d7e7;border-radius:20px;padding:20px 26px;background:linear-gradient(115deg,#fff1f8,#faf6ff 75%);margin-bottom:20px}.bq-ring{position:relative;width:100px;height:100px;flex:0 0 100px}.bq-ring svg{width:100%;height:100%;transform:rotate(-90deg)}.bq-ring circle{fill:none;stroke:#efdce8;stroke-width:7}.bq-ring .bq-ring-value{stroke:var(--bq-pink);stroke-linecap:round}.bq-ring strong{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:var(--bq-pink);font-size:28px;font-weight:700;letter-spacing:-1px}.bq-ring strong small{font-size:15px;letter-spacing:0;margin:4px 0 0 2px}.bq-progress-copy{flex:1}.bq-progress-copy h3{font-size:17px;font-weight:500;margin-bottom:7px}.bq-progress-copy h3 b{font-weight:700;margin-left:7px}.bq-progress-copy p{color:var(--bq-muted);font-size:13px}.bq-stat{display:flex;flex-direction:column;min-width:100px;padding-left:24px;border-left:1px solid #e6d6e4;gap:3px}.bq-stat b{font-size:28px;color:var(--bq-pink)}.bq-stat span{font-size:13px;color:var(--bq-muted)}.bq-filterbar{display:flex;align-items:center;gap:16px;justify-content:space-between}.bq-search{position:relative;flex:1;max-width:430px}.bq-search svg{position:absolute;left:13px;top:13px;color:#80728e}.bq input{display:block;width:100%;min-height:44px;background:#fff;border:1px solid var(--bq-line);border-radius:12px;padding:10px 12px;color:var(--bq-ink);margin-top:5px}.bq-search input{margin:0;padding-left:43px}.bq-tabs{display:flex;gap:5px;flex-wrap:wrap}.bq-tabs button{font-size:13px;border-color:transparent;color:var(--bq-muted);padding:9px 12px}.bq-tabs [aria-pressed=true]{background:#fff0f8;border-color:#efc6df;color:var(--bq-pink);font-weight:600}.bq-savebar{display:flex;align-items:center;justify-content:flex-end;gap:10px;min-height:43px;color:var(--bq-muted);font-size:12px;margin:3px 0 7px}.bq-savebar button{border:0;background:none;min-height:30px;padding:5px}.bq-savebar svg{width:17px;height:17px}.bq-chain{border:1px solid var(--bq-line);border-radius:18px;background:#fff;overflow:visible;margin:0 0 16px}.bq-chain>header{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:14px 20px;background:#faf7fc;border-bottom:1px solid var(--bq-line);border-radius:18px 18px 0 0;border-top:3px solid #d82b88}.bq-chain-brand{display:flex;align-items:center;gap:18px;min-width:0}.bq-chain-brand img{width:192px;height:96px;object-fit:contain;max-width:192px;flex:0 0 192px;background:#fff;padding:6px;border-radius:9px}.bq-chain-letter{display:inline-flex;align-items:center;justify-content:center;background:#f5e5f0;color:var(--crm-accent,#eb008b);border-radius:10px;width:44px;height:44px;font-size:22px;font-weight:700;flex-shrink:0}.bq-chain h3{font-size:17px;line-height:1.25;font-weight:600;overflow-wrap:anywhere}.bq-chain small{font-size:12px;color:var(--bq-muted)}.bq-chain-brand small{display:block;margin-top:4px}.bq-buyer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;border-bottom:1px solid #eee9f2}.bq-buyer:last-child,.bq-admin-row:last-child{border-bottom:0;border-radius:0 0 18px 18px}.bq-buyer.bq-yes{background:#f0faf4;box-shadow:inset 3px 0 #49a77b}.bq-identity{min-width:0;flex:1}.bq-identity strong{display:block;font-size:15px;font-weight:600}.bq-identity span{display:block;color:var(--bq-muted);font-size:13px;margin-top:3px}.bq-identity small{display:block;overflow-wrap:anywhere;margin-top:4px}.bq-choices{display:flex;gap:7px;flex-shrink:0}.bq-choices button{font-size:13px;padding:9px 12px}.bq-choices svg{width:17px;height:17px}.bq-choices [data-bq-vote=yes][aria-pressed=true]{background:#dbf3e4;border-color:#74bd94;color:#1f6b49}.bq-choices [data-bq-vote=no][aria-pressed=true]{background:#f4eefa;border-color:#c3a6db;color:#654888}.bq-choices [data-bq-vote=unsure][aria-pressed=true]{background:#eaf1fc;border-color:#a9bde1;color:#3a5e95}.bq-choices .bq-priority{padding:9px;min-width:38px}.bq-priority[aria-pressed=true]{color:var(--crm-accent,#eb008b);border-color:#eaa6cc;background:#ffe7f5}.bq-priority[aria-pressed=true] svg{fill:var(--crm-accent,#eb008b);stroke:var(--crm-accent,#eb008b)}.bq-bulk{position:relative;flex-shrink:0;font-size:12px}.bq summary{cursor:pointer}.bq-bulk summary{color:#9c2169;padding:8px}.bq-bulk>div{position:absolute;right:0;top:100%;z-index:2;background:#fff;box-shadow:0 8px 24px #30203d1a;border:1px solid var(--bq-line);border-radius:12px;padding:14px;width:270px}.bq-bulk p{margin-bottom:10px;color:var(--bq-muted)}.bq-bulk button{font-size:12px;margin:3px}.bq-propose{border:1px dashed #d6bbdc;border-radius:16px;background:#fdfaff;margin-top:22px}.bq-propose>summary{display:flex;align-items:center;gap:10px;padding:17px 20px;color:var(--crm-accent,#eb008b);font-size:15px;font-weight:600}.bq-propose form{padding:0 20px 18px}.bq-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:16px}.bq-form-grid label{font-size:13px;color:var(--bq-muted)}.bq-footnote{font-size:12px;color:var(--bq-muted);margin:17px 0!important}.bq-proposals{margin-top:24px}.bq-proposals>h3{font-size:17px;margin-bottom:10px}.bq-proposals article{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:13px 16px;border:1px solid var(--bq-line);border-radius:12px;margin:8px 0}.bq-proposals strong,.bq-proposals span,.bq-proposals small{display:block}.bq-proposals strong{font-size:14px}.bq-proposals span,.bq-proposals small{font-size:12px;color:var(--bq-muted);margin-top:3px}.bq-proposals article>div:last-child{display:flex;gap:7px}.bq-proposals article>div:first-child{display:block}.bq-empty{padding:25px!important;text-align:center;color:var(--bq-muted)}.bq-error{color:#ad2452!important}.bq-admin-summary{display:grid;grid-template-columns:repeat(3,1fr) 1.4fr;gap:12px;margin-bottom:22px}.bq-admin-summary>div{padding:17px 20px;background:#fff;border:1px solid var(--bq-line);border-top:3px solid var(--crm-accent,#eb008b);border-radius:15px}.bq-admin-summary>div:nth-child(2){border-top-color:#8b62cf}.bq-admin-summary>div:nth-child(3){border-top-color:#39977a}.bq-admin-summary span,.bq-admin-summary small{display:block;font-size:13px;color:var(--bq-muted)}.bq-admin-summary strong{display:block;color:var(--bq-pink);font-size:29px;margin-top:5px}.bq-admin-summary strong small{display:inline;font-size:18px;font-weight:400}.bq-admin-summary .bq-publish{background:#fff5fa;border-color:#efc8de;display:flex;flex-direction:column;align-items:flex-start;gap:7px}.bq-publish small,.bq-publish a{font-size:11px}.bq-publish a{color:#92236b}.bq-admin-row{display:grid;grid-template-columns:minmax(150px,1fr) 145px 175px 85px;align-items:center;gap:14px;padding:14px 20px;border-bottom:1px solid #eee9f2}.bq-tally{font-size:12px;color:var(--bq-muted)}.bq-tally>b{font-size:23px;color:var(--bq-pink);margin-right:7px}.bq-tally>small{display:flex;align-items:center;gap:5px}.bq-tally svg{width:13px;height:13px}.bq-tally details{font-size:11px;margin-top:3px}.bq-tally p{font-size:12px}.bq-decision select{width:100%;border:1px solid var(--bq-line);border-radius:10px;background:#fff;min-height:40px;padding:7px;font-size:13px;color:var(--bq-ink)}.bq-decision small{display:block;margin-top:4px;font-size:11px}.bq-row-actions{display:flex;gap:5px}.bq-row-actions button{padding:8px;min-width:36px;min-height:36px}.bq-row-actions svg{width:18px;height:18px}.bq-removed{background:#f8f8fa;opacity:.65}.bq-start{background:#fff;border:1px solid var(--bq-line);border-radius:18px;padding:30px}.bq-start h2{font-size:26px;margin:10px 0}.bq-start p{margin:15px 0}.bq-feature-icon{color:var(--bq-pink)}.bq-feature-icon svg{width:35px;height:35px}.bq-dialog{padding:0;border:1px solid #e3d8eb;border-radius:22px;max-width:1100px;width:calc(100% - 40px);height:min(92dvh,1000px);max-height:92dvh;overflow:hidden;box-shadow:0 22px 100px #25113240;background:#fff}.bq-dialog::backdrop{background:#1f25466b;backdrop-filter:blur(5px)}.bq-dialog-bar{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px 23px;border-bottom:1px solid #eadfec}.bq-dialog-bar h3{font-size:16px;margin:0;font-weight:600}.bq-dialog-bar button{border:1px solid #e3d8eb;border-radius:10px;background:#fff;color:#ab1f72;display:flex;align-items:center;justify-content:center;padding:7px;min-height:36px;min-width:36px}.bq-dialog-bar svg{width:20px;height:20px}.bq-dialog-body{height:calc(100% - 66px);overflow:auto;padding:26px}.bq-edit-dialog{width:min(660px,94vw);height:auto;max-height:90dvh;overflow:auto;padding:22px}.bq-edit-dialog .bq-dialog-bar{padding:0 0 16px;margin-bottom:18px}.bq-edit-dialog form>p{margin:12px 0;font-size:13px}.bq-edit-dialog [data-contact-matches]{display:flex;flex-direction:column;gap:6px;margin:8px 0}.bq-launch{display:inline-flex;gap:8px;align-items:center}.bq-launch svg{width:18px;height:18px}.bq-portal-card{break-inside:avoid}.bq-portal-card p{font-size:14px;color:#647087}.bq-portal-card>button{font:inherit;font-size:14px}.bq-portal-card>button>svg{width:20px;height:20px}.bq-portal-card .xp-selection-heading h3{font-size:18px}.bq-admin-page{padding:22px;background:#fff;border:1px solid #e4dfed;border-radius:20px}.bq-admin-page>.bq-heading{flex-direction:column;align-items:stretch}.bq-admin-page .bq-toolbar{justify-content:flex-start}
@media(max-width:800px){.bq-heading{align-items:flex-start}.bq-progress{gap:15px;padding:16px}.bq-ring{width:83px;height:83px;flex-basis:83px}.bq-ring strong{font-size:25px}.bq-stat{min-width:auto;padding-left:15px}.bq-stat b{font-size:24px}.bq-buyer{align-items:flex-start;flex-direction:column;gap:12px}.bq-choices{align-self:stretch}.bq-choices button:not(.bq-priority){flex:1}.bq-choices .bq-priority{flex:0 0 38px}.bq-filterbar{flex-wrap:wrap;gap:8px}.bq-search{max-width:none;flex-basis:100%}.bq-admin-summary{grid-template-columns:1fr 1fr}.bq-admin-row{grid-template-columns:1fr 100px}.bq-decision{grid-column:1}.bq-row-actions{grid-column:2;justify-self:end}}
@media(max-width:540px){.bq-dialog{width:calc(100% - 12px);height:96dvh;max-height:96dvh;border-radius:18px;margin:auto}.bq-dialog-body{padding:18px 12px}.bq-dialog-bar{padding:12px 15px}.bq-heading h2{font-size:25px}.bq-progress{display:grid;grid-template-columns:80px 1fr;gap:12px}.bq-progress-copy h3{font-size:16px}.bq-progress-copy p{font-size:12px}.bq-stat{border-left:0;border-top:1px solid #e6d6e4;padding:10px 0 0;flex-direction:row;align-items:center;gap:9px}.bq-stat b{font-size:21px}.bq-stat span{font-size:12px}.bq-chain>header{padding:12px;gap:6px}.bq-chain-brand{gap:10px}.bq-chain-brand img{width:128px;max-width:128px;height:84px;flex-basis:128px;padding:4px}.bq .bq-chain>header{flex-wrap:wrap;gap:10px}.bq-chain-brand{flex:1 1 240px}.bq-chain-brand>div{min-width:0}.bq-bulk{margin-left:auto}.bq-bulk summary{max-width:none;font-size:11px}.bq-chain h3{font-size:15px}.bq-bulk summary{font-size:10px;max-width:80px}.bq-buyer{padding:14px 12px}.bq-choices{gap:5px}.bq-choices button{padding:8px 6px;font-size:11px;gap:4px;min-height:40px}.bq-choices svg{width:15px;height:15px}.bq-choices .bq-priority{min-width:34px;flex-basis:34px}.bq-form-grid{grid-template-columns:1fr}.bq-propose>summary{padding:15px 12px}.bq-propose form{padding:0 12px 15px}.bq-tabs{gap:0}.bq-tabs button{padding:8px 10px;font-size:12px}.bq-admin-page{padding:14px}.bq-admin-summary>div{padding:12px}.bq-proposals article{align-items:flex-start;flex-direction:column}.bq-edit-dialog{width:96vw;height:auto;padding:16px}.bq-admin-row{padding:12px}.bq-heading .bq-toolbar button{font-size:12px}}
@media(max-width:800px){.bq-heading{flex-direction:column;align-items:stretch;gap:13px}.bq-heading>button{align-self:flex-end;font-size:13px}.bq-toolbar{justify-content:flex-start}.bq-admin-summary>div{min-width:0}.bq-publish button{font-size:12px}.bq-admin-row .bq-identity{overflow-wrap:anywhere}}
@media(prefers-reduced-motion:reduce){.bq *{scroll-behavior:auto!important;transition:none!important}}
.bq header.bq-heading,.bq .bq-chain>header{position:relative;isolation:auto;min-height:0;overflow:visible;display:flex;grid-template-columns:none;box-shadow:none;color:var(--bq-ink)}.bq header.bq-heading{padding:0;background:transparent;border:0;border-radius:0;flex-direction:row}.bq header.bq-heading:before,.bq .bq-chain>header:before{content:none}.bq .bq-chain>header{padding:14px 20px;flex-direction:row}.bq section.bq-chain{padding:0;box-shadow:none;margin:0 0 16px}.bq article.bq-buyer{margin:0;border:0;border-bottom:1px solid #eee9f2;border-radius:0;background:#fff}.bq article.bq-buyer.bq-yes{background:#f0faf4}.bq article.bq-buyer button{margin-top:0}.bq header.bq-heading p{color:var(--bq-muted)}.bq header.bq-heading p.bq-eyebrow{color:var(--bq-pink)}.bq .bq-chain>header h3{color:var(--bq-ink)}
@media(max-width:800px){.bq header.bq-heading{flex-direction:column;align-items:stretch}.bq .bq-chain>header{padding:12px}}
/* Keep the agency toolbar compact alongside the CRM's shared title treatment. */
#content .bq-admin-page>header.bq-heading{flex-wrap:wrap;gap:14px;align-items:center}
#content .bq .bq-toolbar{align-items:center;align-self:center;flex:0 1 auto}
#content .bq .bq-toolbar button{height:40px;min-height:40px;max-height:40px;flex:0 0 auto;font-size:13px;padding:8px 12px;white-space:nowrap}
#content .bq .bq-tabs button{background:#fff;color:var(--bq-muted);border:1px solid transparent}
#content .bq .bq-tabs button[aria-pressed=true]{background:#fff0f8;border-color:#efc6df;color:var(--bq-pink)}
@media(max-width:800px){#content .bq .bq-toolbar{align-self:flex-start;gap:6px}#content .bq .bq-toolbar button{font-size:12px;padding:8px 10px}}

.bq button[data-bq-pdf]{background:#fff0f8;border-color:#eba0c8;color:var(--crm-accent,#eb008b);font-weight:600;padding:11px 16px;min-height:44px}.bq button[data-bq-pdf]:hover{background:#fce0ef;border-color:var(--crm-accent,#eb008b)}.bq button[data-bq-pdf] svg{color:var(--crm-accent,#eb008b)}

/* Fit the logo frame to the image instead of creating a large empty rectangle. */
.bq .bq-chain-brand img{width:auto;height:auto;max-width:200px;max-height:72px;flex:0 0 auto;object-fit:contain;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none}
.bq .bq-prominent-logo .bq-chain-brand img{max-width:216px;max-height:76px}
@media(max-width:540px){.bq .bq-chain-brand{flex-wrap:wrap;gap:10px}.bq .bq-chain-brand img,.bq .bq-prominent-logo .bq-chain-brand img{width:auto;height:auto;max-width:min(168px,100%);max-height:64px;flex:0 0 auto}}

/* Per-buyer invitation choices share the existing saved vote and priority state. */
.bq .bq-buyer{flex-wrap:wrap}
.bq .bq-buyer>.bq-identity{flex:1 1 170px;position:relative;padding-left:28px;min-width:0}
.bq .bq-answer-mark{position:absolute;left:0;top:0;display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px}
.bq .bq-answer-yes{color:#247c58}.bq .bq-answer-no{color:#c33246}
.bq .bq-answer-mark svg{width:21px;height:21px;stroke-width:2.3}
.bq .bq-invitation-choices{display:grid;grid-template-columns:1.35fr 1.2fr 1fr .85fr;gap:7px;flex:1 1 640px;max-width:790px;min-width:0}
.bq .bq-invitation-choices button{white-space:normal;min-width:0;min-height:50px;line-height:1.3;padding:9px 10px;text-align:center;font-size:12px}
.bq .bq-invitation-choices [data-bq-vote=top][aria-pressed=true],.bq .bq-invitation-choices [data-bq-vote=simple][aria-pressed=true]{background:#dbf3e4;border-color:#74bd94;color:#1f6b49}
.bq .bq-invitation-choices [data-bq-vote=no][aria-pressed=true]{background:#fff0f2;border-color:#e5a3ac;color:#b22e40}
.bq article.bq-buyer.bq-no{background:#fff7f8;box-shadow:inset 3px 0 #cf5263}
@media(max-width:900px){.bq .bq-buyer>.bq-identity{flex:0 1 auto}.bq .bq-invitation-choices{width:100%;flex:0 1 auto;max-width:none}}
@media(max-width:620px){.bq .bq-invitation-choices{grid-template-columns:1fr 1fr}.bq .bq-invitation-choices button{min-height:54px;font-size:12px;overflow-wrap:anywhere}}
@media(max-width:360px){.bq .bq-invitation-choices{grid-template-columns:1fr}.bq .bq-invitation-choices button{min-height:42px}.bq .bq-tabs{flex-wrap:wrap}}
