/* Feedback shares the workspace brand tokens and keeps its selectors local. */
.bd-feedback,.fb-public{--fb-primary:var(--custom-color-bg,#006d91);--fb-soft:color-mix(in srgb,var(--fb-primary) 7%,white);--fb-line:color-mix(in srgb,var(--fb-primary) 13%,#e5eaf0);--fb-ink:#20354a;--fb-muted:#6a7c8d;color:var(--fb-ink);font-size:14px;line-height:1.6}
.bd-feedback{padding:24px;max-width:1800px;margin:auto}.bd-feedback *,.fb-public *{box-sizing:border-box}
.fb-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.fb-eyebrow{font-size:10px;font-weight:700;letter-spacing:1.8px;text-transform:uppercase;color:var(--fb-primary)}
.bd-feedback h1{font-size:30px;letter-spacing:-1px;margin:5px 0 8px}.bd-feedback h2{font-size:20px;margin:8px 0}.bd-feedback h3{font-size:16px;margin:8px 0}.bd-feedback p{line-height:1.7}.fb-heading p,.fb-muted,.fb-workspace-head small{color:var(--fb-muted)}
.fb-button,.fb-icon,.fb-tabs button,.fb-add-question{font:inherit;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid var(--fb-line);border-radius:9px;background:white;color:var(--fb-ink);padding:10px 15px;text-decoration:none;line-height:1.4;min-height:40px}.fb-button:hover,.fb-icon:hover{background:var(--fb-soft);text-decoration:none}.fb-button.fb-primary{background:var(--fb-primary);border-color:var(--fb-primary);color:white}.fb-button:disabled,.fb-icon:disabled,.fb-tabs button:disabled,.fb-add-question:disabled{opacity:.5;cursor:not-allowed}.fb-icon{padding:7px;min-width:34px;min-height:34px}.fb-icon .material-icons{font-size:18px}.fb-button .material-icons{font-size:18px}
.fb-layout{display:grid;grid-template-columns:270px minmax(0,1fr);gap:20px;align-items:start}.fb-library,.fb-main{background:white;border:1px solid var(--fb-line);border-radius:16px;min-width:0;overflow:hidden}.fb-library{padding:16px}.fb-library-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.fb-library-head h2{font-size:15px}.fb-library-head h2 span{font-size:11px;background:var(--fb-soft);padding:3px 7px;border-radius:12px}.fb-search{display:flex;align-items:center;border:1px solid var(--fb-line);border-radius:9px;padding:5px 10px;margin-bottom:16px}.fb-search .material-icons{font-size:19px;color:var(--fb-muted)}.fb-search input{width:100%;min-width:0;padding:6px;border:0;background:transparent;font:inherit}
.fb-form-item,.fb-response-item{display:block;width:100%;text-align:left;border:1px solid transparent;border-radius:10px;padding:14px;background:white;font:inherit;cursor:pointer;margin-bottom:6px;color:var(--fb-ink);overflow-wrap:anywhere}.fb-form-item:hover,.fb-response-item:hover{background:var(--fb-soft)}.fb-form-item.is-selected,.fb-response-item.is-selected{background:var(--fb-soft);border-color:var(--fb-primary)}.fb-form-item strong,.fb-response-item strong{display:block;margin:7px 0;font-size:14px}.fb-form-item small,.fb-response-item small,.fb-response-item>span{display:block;font-size:11px;color:var(--fb-muted)}.fb-status{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.6px;display:inline-flex;padding:3px 8px;border-radius:5px;background:#edf1f5;color:#5d6a79}.fb-status-published{background:var(--fb-soft);color:var(--fb-primary)}.fb-status-closed{background:#fff3e6;color:#885722}
.fb-welcome{text-align:center;padding:80px 30px}.fb-welcome-icon{width:70px;height:70px;border-radius:22px;background:var(--fb-soft);color:var(--fb-primary);display:grid;place-items:center;margin:0 auto 25px}.fb-welcome-icon i{font-size:32px}.fb-welcome h2{font-size:32px;line-height:1.3;letter-spacing:-.8px}.fb-welcome p{max-width:430px;margin:16px auto 24px;color:var(--fb-muted)}.fb-benefits{display:flex;justify-content:center;flex-wrap:wrap;gap:22px;margin-top:55px;color:var(--fb-muted);font-size:12px}.fb-benefits span{display:flex;align-items:center;gap:6px}.fb-benefits i{font-size:18px}
.fb-workspace-head{padding:22px;display:flex;align-items:center;justify-content:space-between;gap:16px}.fb-workspace-head h2{overflow-wrap:anywhere}.fb-actions{display:flex;flex-wrap:wrap;gap:7px;align-items:center}.fb-tabs{display:flex;gap:24px;padding:0 22px;border-bottom:1px solid var(--fb-line)}.fb-tabs button{border:0;border-bottom:3px solid transparent;border-radius:0;padding:14px 2px;background:transparent}.fb-tabs button.active{border-bottom-color:var(--fb-primary);color:var(--fb-primary);font-weight:700}
.fb-card{border:1px solid var(--fb-line);background:white;border-radius:12px;padding:22px;margin:0 0 16px;box-shadow:0 4px 14px #10273704}.bd-feedback form>fieldset{padding:0 22px 22px;border:0;min-width:0}.fb-field{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:600;margin-bottom:17px}.fb-field input,.fb-field textarea,.fb-field select,.fb-preview input:not([type=radio]):not([type=checkbox]),.fb-preview textarea,.fb-preview select,.fb-option-row input,.fb-share input,.fb-public input:not([type=radio]):not([type=checkbox]),.fb-public textarea,.fb-public select{border:1px solid var(--fb-line);border-radius:8px;background:#fff;padding:11px 12px;min-height:43px;color:var(--fb-ink);font:inherit;font-size:14px;font-weight:400;width:100%;min-width:0}.fb-field textarea,.fb-preview textarea,.fb-public textarea{resize:vertical}.fb-check,.fb-choice{display:flex;align-items:center;gap:9px;font-weight:400;font-size:13px;cursor:pointer}.fb-check input,.fb-choice input,.fb-rating input{accent-color:var(--fb-primary)}.fb-muted{display:block;font-size:12px;margin-top:5px}.fb-question-top{display:flex;align-items:center;gap:10px;margin-bottom:18px}.fb-question-top .fb-actions{margin-left:auto}.fb-number{width:28px;height:28px;border-radius:8px;display:grid;place-items:center;background:var(--fb-soft);color:var(--fb-primary);font-weight:700}.fb-question-fields{display:grid;grid-template-columns:minmax(0,1fr) 190px;gap:16px}.fb-options{margin-bottom:20px;max-width:600px}.fb-option-row{display:flex;align-items:center;gap:10px;margin-bottom:8px}.fb-option-row>span{color:var(--fb-muted);font-size:12px}.fb-scale{display:flex;align-items:center;gap:12px;margin-bottom:12px}.fb-scale .fb-field{width:90px;flex:none}.fb-scale small{max-width:250px;color:var(--fb-muted)}.fb-add-question{width:100%;border-style:dashed;background:var(--fb-soft);color:var(--fb-primary);padding:20px}.fb-add-question small{margin-left:auto}.fb-editor-note{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:18px 22px;font-size:12px;color:var(--fb-muted)}
.fb-share{display:flex;align-items:center;flex-wrap:wrap;gap:10px;background:var(--fb-soft);padding:16px 22px;border-bottom:1px solid var(--fb-line)}.fb-share p{margin:0;font-size:11px;color:var(--fb-muted)}.fb-share input{flex:1;min-width:160px;font-size:12px}.fb-preview{margin:0 22px 22px}.fb-preview-question{padding:22px 0;border-top:1px solid var(--fb-line)}.fb-preview-label{display:block;font-size:14px;font-weight:600;margin-bottom:12px}.fb-choice{padding:10px 12px;border:1px solid var(--fb-line);border-radius:8px;margin-bottom:8px}.fb-rating{display:flex;flex-wrap:wrap;gap:8px}.fb-rating label{position:relative;cursor:pointer}.fb-rating input{position:absolute;opacity:0;width:100%;height:100%;margin:0}.fb-rating span{width:42px;height:42px;display:grid;place-items:center;border:1px solid var(--fb-line);border-radius:8px;font-weight:600}.fb-rating input:checked+span{background:var(--fb-primary);color:white;border-color:var(--fb-primary)}.fb-rating input:focus-visible+span{outline:3px solid var(--fb-primary);outline-offset:3px}
.fb-results{padding:22px}.fb-response-layout{display:grid;grid-template-columns:minmax(220px,1fr) minmax(0,1.5fr);gap:20px}.fb-response-detail dl>div{padding:15px 0;border-top:1px solid var(--fb-line)}.fb-response-detail dt{font-size:13px;margin-bottom:8px}.fb-response-detail dd{margin:0;color:var(--fb-muted);overflow-wrap:anywhere}.fb-pagination{display:flex;gap:10px;align-items:center;justify-content:space-between;margin-top:15px;font-size:12px}.fb-summary-total{display:flex;align-items:center;gap:18px;padding:24px;background:var(--fb-soft);border-radius:12px;margin-bottom:18px}.fb-summary-total strong{font-size:38px;color:var(--fb-primary)}.fb-average{font-size:14px;color:var(--fb-muted)}.fb-average strong{font-size:30px;color:var(--fb-primary)}.fb-chart-row{margin-top:16px}.fb-chart-row>div:first-child{display:flex;justify-content:space-between;gap:15px;font-size:12px;margin-bottom:6px}.fb-chart-track{height:8px;border-radius:6px;background:var(--fb-soft);overflow:hidden}.fb-chart-track>span{display:block;height:100%;background:var(--fb-primary);border-radius:6px}.fb-empty{padding:20px 6px;text-align:center;color:var(--fb-muted);font-size:13px}.fb-alert{padding:14px 18px;border-radius:10px;margin-bottom:18px;background:var(--fb-soft);color:var(--fb-primary);overflow-wrap:anywhere}.fb-error{background:#fff0ee;color:#a62c21}.fb-preserve{white-space:pre-wrap;overflow-wrap:anywhere}.bd-feedback :focus-visible,.fb-public :focus-visible{outline:2px solid var(--fb-primary);outline-offset:3px}
.fb-public{margin:0;background:#f3f6f9;font-family:system-ui,-apple-system,Segoe UI,sans-serif;line-height:1.6;min-height:100vh;padding:38px 18px}.fb-public-shell{max-width:740px;margin:auto}.fb-public-brand{display:block;color:var(--fb-primary);font-weight:750;letter-spacing:.5px;margin-bottom:22px}.fb-public .fb-card{padding:32px;border-top:4px solid var(--fb-primary)}.fb-public h1{font-size:30px;line-height:1.25;overflow-wrap:anywhere;margin:8px 0 16px}.fb-public-question{border:0;padding:24px 0;margin:0;border-top:1px solid var(--fb-line);min-width:0}.fb-public-question legend{float:left;width:100%;font-weight:600;margin-bottom:12px;padding:0}.fb-public-question>div{clear:both}.fb-public-question legend span{color:#a62c21}.fb-public .fb-submit{width:100%;margin-top:20px}.fb-honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.fb-public-footer{text-align:center;color:var(--fb-muted);font-size:12px;padding:10px}.fb-public [hidden]{display:none!important}
@media(max-width:1100px){.fb-layout{grid-template-columns:220px minmax(0,1fr)}.fb-workspace-head{flex-direction:column;align-items:flex-start}.fb-question-fields{grid-template-columns:1fr}.fb-response-layout{grid-template-columns:1fr}}
@media(max-width:767px){.bd-feedback{padding:14px}.fb-heading{align-items:flex-start;flex-direction:column}.fb-heading h1{font-size:25px}.fb-layout{grid-template-columns:1fr}.fb-library{max-height:300px;overflow:auto}.fb-welcome{padding:40px 20px}.fb-welcome h2{font-size:27px}.fb-workspace-head,.fb-results{padding:16px}.bd-feedback form>fieldset{padding:0 14px 14px}.fb-card{padding:16px}.fb-tabs{padding:0 16px;gap:22px}.fb-editor-note{padding:14px;align-items:flex-start;flex-direction:column}.fb-preview{margin:0 14px 14px}.fb-scale{flex-wrap:wrap}.fb-public{padding:20px 12px}.fb-public .fb-card{padding:22px 18px}.fb-field input,.fb-field textarea,.fb-field select,.fb-option-row input,.fb-public input:not([type=radio]):not([type=checkbox]),.fb-public textarea,.fb-public select{font-size:16px}.fb-question-top{flex-wrap:wrap}}

/* Edge-to-edge workspace: content and form library scroll independently. */
.bd-app-shell .bd-feedback{position:fixed;top:64px;bottom:0;left:var(--ws-nav-width,244px);right:var(--ws-quick-width,64px);display:flex;flex-direction:column;min-width:0;min-height:0;max-width:none;width:auto;margin:0!important;padding:0!important;overflow:hidden;background:#fff}
.bd-feedback>.fb-heading{flex:none;margin:0;padding:16px 22px;border-bottom:1px solid var(--fb-line);background:#fff}
.bd-feedback>.fb-heading h1{font-size:25px;margin:2px 0 4px}
.bd-feedback>.fb-heading p{margin:0;font-size:12px}
.fb-heading-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.bd-feedback>.fb-alert{flex:none;margin:0;border-radius:0;padding:10px 22px}
.bd-feedback>.fb-layout{flex:1;min-height:0;display:grid;grid-template-columns:290px minmax(0,1fr);grid-template-rows:minmax(0,1fr);gap:0;align-items:stretch;overflow:hidden}
.bd-feedback .fb-library{grid-column:1;grid-row:1;min-height:0;max-height:none;overflow-y:auto;overscroll-behavior:contain;border:0;border-right:1px solid var(--fb-line);border-radius:0;background:var(--fb-soft)}
.bd-feedback .fb-main{grid-column:2;grid-row:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;border:0;border-radius:0}
.bd-feedback .fb-library-head{margin:0;padding-bottom:12px}
.bd-feedback .fb-form-item{background:#fff;border-color:var(--fb-line);margin-bottom:10px}
.bd-feedback .fb-form-item.is-selected{border-color:var(--fb-primary);box-shadow:inset 3px 0 var(--fb-primary)}
.fb-mobile-forms{display:none}
@media(max-width:1100px){.bd-feedback>.fb-layout{grid-template-columns:250px minmax(0,1fr)}.bd-feedback>.fb-heading{align-items:flex-start}}
@media(max-width:767px){.bd-app-shell .bd-feedback{left:var(--ws-nav-width,0px);right:var(--ws-quick-width,0px)}.bd-feedback>.fb-heading{padding:12px 14px;gap:10px}.bd-feedback>.fb-heading p{display:none}.fb-heading-actions{width:100%}.fb-mobile-forms{display:inline-flex}.bd-feedback>.fb-layout{grid-template-columns:minmax(0,1fr)}.bd-feedback .fb-library{display:none;grid-column:1;border:0}.bd-feedback .fb-layout.fb-show-forms .fb-library{display:block}.bd-feedback .fb-layout.fb-show-forms .fb-main{display:none}.bd-feedback .fb-main{grid-column:1}.bd-feedback>.fb-alert{padding:10px 14px}}

/* Recipient sharing stays inside the scrollable workspace, avoiding modal backdrops. */
.fb-recipient-panel{margin:20px 22px;padding:20px;border:1px solid var(--fb-line);border-radius:12px;background:var(--fb-soft)}
.fb-recipient-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.fb-recipient-heading p{font-size:12px;color:var(--fb-muted)}
.fb-recipient-list{max-height:340px;overflow-y:auto;overscroll-behavior:contain;display:grid;gap:8px}
.fb-recipient{display:flex;align-items:center;gap:12px;width:100%;min-width:0;text-align:left;padding:12px;border:1px solid var(--fb-line);border-radius:9px;background:#fff;color:var(--fb-ink);font:inherit;cursor:pointer}.fb-recipient:disabled{opacity:.5;cursor:not-allowed}.fb-recipient.is-selected{border-color:var(--fb-primary);box-shadow:inset 3px 0 var(--fb-primary)}
.fb-recipient-avatar{display:grid;place-items:center;flex:none;width:38px;height:38px;border-radius:50%;background:var(--fb-soft);color:var(--fb-primary);font-weight:700}.fb-recipient-info{min-width:0;flex:1;overflow-wrap:anywhere}.fb-recipient small,.fb-invitation small{display:block;color:var(--fb-muted);font-size:12px}.fb-share-confirm{margin-top:16px;padding-top:16px;border-top:1px solid var(--fb-line);display:flex;align-items:center;justify-content:space-between;gap:16px}.fb-share-confirm p{margin:3px 0;font-size:13px;overflow-wrap:anywhere}.fb-share-confirm small{color:var(--fb-muted)}
.fb-invitation{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--fb-line);padding:16px 0;overflow-wrap:anywhere}.bd-feedback .fb-tabs{overflow-x:auto;gap:20px;flex-shrink:0}.bd-feedback .fb-tabs button{white-space:nowrap}
@media(max-width:767px){.fb-recipient-panel{margin:14px;padding:14px}.fb-share-confirm{align-items:stretch;flex-direction:column}.fb-recipient{flex-wrap:wrap}.fb-invitation{align-items:flex-start;flex-direction:column}}
