@import url('/fonts/fonts.css');
:root{--brand-950:#04162e;--brand-800:#0756c5;--brand-700:#0861de;--brand-600:#0a6af4;--brand-100:#e4f0ff;--brand-50:#f2f7ff;--ink:#04162e;--muted:#545a68;--line:#e3ebf5;--canvas:#f3f7fb;--focus:#129af0;font-family:Inter,Arial,sans-serif}h1,h2,h3{font-family:Manrope,Inter,sans-serif}.topbar{min-height:91px;gap:24px;flex-wrap:wrap;padding:12px 32px;background:white}.fl-workspace-brand{display:flex;width:215px;height:57px;flex-shrink:0}.fl-logo{display:block;width:215px;height:57px;max-width:100%;object-fit:contain}.topbar>.workspace-account-link{margin-left:0;font-size:11px;white-space:nowrap;color:#586f8f}.topbar nav{flex-wrap:wrap}.topbar nav button{font-size:12px!important}.topbar-divider{display:none}.topbar>h1{font-size:17px}.card,.scenario-block{border-radius:20px}.dashboard{--workspace-width:1250px}.page-heading h1{font-size:30px!important;font-weight:800}.boot-screen{min-height:70vh;display:flex;align-items:center;justify-content:center;gap:12px;font-family:Inter,Arial,sans-serif;color:#5d7390;font-size:13px}.boot-indicator{height:19px;width:19px;border:2px solid #dce9fb;border-top-color:#0a6af4;border-radius:50%;animation:boot-spin .8s linear infinite}@keyframes boot-spin{to{transform:rotate(360deg)}}[data-booting] .topbar,[data-booting] .dashboard{display:none!important}.builder-workspace{display:grid;grid-template-columns:225px minmax(0,1fr);gap:28px;align-items:start}.builder-rail{background:white;border:1px solid #e3ebf5;border-radius:18px;padding:22px 15px;position:sticky;top:20px;max-height:calc(100vh - 45px);overflow:auto}.rail-label{font-size:9px;letter-spacing:.07em;color:#8a9bb0;padding:0 10px;font-weight:600}.builder-sections{display:grid;gap:5px;margin:14px 0}.builder-sections a{font-size:11px;color:#546c8a;padding:9px 10px;border-radius:8px;text-decoration:none}.builder-sections a:hover{background:var(--event-soft,#eaf2ff);color:#0a6af4}.rail-divider{height:1px;background:#e3ebf5;margin:20px 5px}.rail-note{font-size:10px;color:#8a9bb0;padding:0 10px;line-height:1.8;margin:18px 0 0}.outline-question{display:flex;align-items:start;text-align:left;gap:9px;width:100%;background:none;border:0;color:#526a88;border-radius:8px;padding:10px;margin-top:5px;font-size:10px;font-weight:500}.outline-question:hover{background:var(--event-soft,#edf4ff);color:#0a6af4}.outline-question>span:first-child{display:grid;place-items:center;min-width:20px;height:20px;background:var(--event-soft,#eaf2ff);border-radius:6px;color:#0a6af4;font-size:9px}.outline-question>span:last-child{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.5}.builder-workspace .card{padding:28px}#builder-form h2{font-size:21px}#builder-form .muted{font-size:12px}.builder-workspace fieldset{border:1px solid #e3ebf5;border-radius:13px}.builder-workspace legend{font-size:12px;font-weight:600}.builder-workspace .checkbox-grid{font-size:12px}#builder-form>section{scroll-margin-top:25px}.builder-footer{position:sticky!important;bottom:10px;background:#fff;box-shadow:0 10px 35px #15365c20;gap:20px;z-index:3}.builder-footer>span{font-size:11px!important}.builder-footer button{font-size:13px;min-width:210px}.scenario-block{border-color:#dce8f7;background:#fbfdff;padding:18px}.scenario-question{background:white;border:1px solid #e3ebf5!important;border-radius:12px;margin:10px 0;padding:15px;gap:12px}.question-description strong{font-size:12px}.question-description p{font-size:10px}.block-header label{font-size:10px}.block-header input{font-size:14px;font-weight:600}.question-actions button,.block-actions button{font-size:10px!important;border-radius:8px;padding:7px 9px!important}.question-actions .ui-icon,.block-actions .ui-icon,.drag-handle .ui-icon{display:block;width:16px;height:16px}.drag-handle{display:grid;place-items:center}.question-dialog{width:min(calc(100% - 32px),1050px)!important;padding:27px!important}#question-form{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(230px,.8fr);gap:0 28px}#question-form>button{grid-column:1;justify-self:start;width:auto;padding-inline:24px}#question-fields{grid-column:1;min-width:0}#question-fields label{font-size:12px}#question-fields input,#question-fields textarea{font-size:13px}#question-error{grid-column:1/-1}.question-live-preview{grid-column:2;grid-row:1/3;position:sticky;top:0;align-self:start;min-width:0;border:1px solid #e3ebf5;background:var(--event-canvas,#f3f7fb);border-radius:19px;padding:25px;margin-top:16px}.question-live-preview h3{font-size:21px;line-height:1.4;overflow-wrap:anywhere;margin:20px 0}.question-live-preview .preview-caption{font-size:9px;letter-spacing:.08em;color:#7a90aa;text-transform:uppercase}.question-live-preview .preview-choice{font-size:12px;padding:13px;border:1px solid var(--event-soft,#dce9fa);background:white;border-radius:10px;margin-bottom:9px;overflow-wrap:anywhere}.question-live-preview .preview-photo{padding:34px;text-align:center;background:white;border:1px dashed var(--event-accent,#0a6af4);border-radius:10px;color:var(--event-accent,#0a6af4)}.preview-photo svg{width:38px;height:38px}.question-live-preview .preview-score{font-size:10px;color:#6e839c;margin-top:17px}.question-live-preview .theme-preview-button{margin-top:10px}.ui-icon{width:1.2em;height:1.2em;min-width:1.2em;display:inline-block;vertical-align:-.2em;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.workspace-mobile-only{display:none}.host-workspace .event-hero{border-radius:20px}.host-workspace h2{font-size:27px}.host-workspace .eyebrow{color:var(--brand-600)}
@media(max-width:1000px){.builder-workspace{grid-template-columns:180px minmax(0,1fr);gap:17px}.builder-rail{padding:18px 10px}.builder-workspace .card{padding:21px}.question-actions{justify-content:flex-end}.topbar{padding:12px 20px;gap:15px}.topbar nav{margin-left:0!important}.topbar nav button{padding:8px!important}.question-dialog{padding:20px!important}}
@media(max-width:720px){.builder-workspace{display:block}.builder-rail{position:static;max-height:none;padding:14px;margin-bottom:18px}.builder-rail .rail-divider,.builder-rail>.rail-label:not(:first-child),.builder-rail .rail-note,#builder-outline{display:none}.builder-sections{display:flex;overflow-x:auto;margin:10px 0 0}.builder-sections a{white-space:nowrap;padding:8px;font-size:10px}.builder-workspace .card{padding:20px}.topbar{min-height:80px}.fl-workspace-brand,.fl-logo{width:180px;height:48px}.topbar .workspace-account-link{font-size:10px;margin-left:auto}.topbar nav{width:100%}.topbar #user-name{display:none}.topbar>h1{display:none}.page-heading h1{font-size:26px!important}.scenario-block{padding:12px}.scenario-question{padding:13px;align-items:start}.question-actions{width:100%;justify-content:flex-end;gap:5px}.question-actions button{font-size:10px!important;padding:6px 8px!important}.builder-footer{bottom:0;padding:14px;align-items:stretch}.builder-footer>button{width:100%;min-width:0}.builder-footer>span{font-size:10px!important}.block-header label{min-width:120px}.question-dialog{padding:18px!important;width:calc(100% - 20px)!important}#question-form{display:flex;flex-direction:column;gap:15px}.question-live-preview{position:static;margin:0 0 8px;padding:19px}.question-live-preview h3{font-size:19px}.question-dialog #question-heading{font-size:19px}.question-dialog>.row{align-items:start;gap:12px}.question-dialog #close-question{width:auto;font-size:11px;padding:8px 11px}.host-workspace h2{font-size:23px}}
@media(prefers-reduced-motion:reduce){.boot-indicator{animation:none}}

/* Shrink grid/flex children before long titles push controls over neighbouring content. */
.dashboard,.dashboard section,.dashboard form,.card,.builder-workspace>*,.block-header>*,.question-actions,.event-hero>*,.invitation>*,.participant-preview{min-width:0}
.dashboard h1,.dashboard h2,.dashboard h3,.dashboard p,.participant-card h1,.participant-card h2,.review-row,td,th{overflow-wrap:anywhere}
.row,.controls,.event-tools{flex-wrap:wrap;gap:12px}.controls>button,.event-tools>button{width:auto;max-width:100%;white-space:normal}.controls>label{min-width:min(180px,100%);flex:1}.row>div{min-width:0}.scenario-question{flex-wrap:wrap}.question-actions{flex-wrap:wrap;justify-content:flex-end}.question-description{flex:1 1 200px}.topbar{position:relative;z-index:5}.builder-footer{position:relative!important;bottom:auto;flex-wrap:wrap}.builder-footer>span{flex:1 1 220px}.builder-footer>button{flex:0 1 260px;min-width:0}.invitation{flex-wrap:wrap}.invitation>div{flex:1 1 220px}.invitation a{overflow-wrap:anywhere}.table-wrap{max-width:100%;overflow:auto}.table-wrap table{min-width:520px}.review-row .controls{display:flex}.question-dialog>.row{align-items:center;isolation:isolate}.question-dialog>.row h2{flex:1;min-width:0}.question-dialog>.row>button{flex:0 0 auto}.question-dialog .geo-map{height:250px;min-height:250px;width:100%;z-index:0}.question-dialog .map-editor{margin-top:24px}.map-editor h3{font-size:16px}.map-editor p{font-size:12px}.question-audio{display:block;width:100%;max-width:100%;min-width:0;margin:16px 0}.question-image-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(150px,100%),1fr));gap:12px}.question-image-gallery img{height:140px;object-fit:contain}.question-dialog .question-live-preview{position:static;max-width:100%}.question-dialog input[type=file]{max-width:100%;width:100%;overflow:hidden}.leaflet-container{font-family:Inter,Arial,sans-serif}.geo-map .leaflet-control a{box-sizing:content-box}.custom-theme-option input[type=color]{position:static;width:100%;height:38px;padding:2px;cursor:pointer}.custom-theme-option input[type=text]{position:static;width:100%;font-size:12px;padding:8px}.custom-theme-option input[type=radio]{position:absolute;width:15px}.theme-options{grid-template-columns:repeat(3,minmax(0,1fr))}.theme-preview-button{color:var(--event-button-text,#fff)}
@media(max-width:1050px){.builder-workspace{grid-template-columns:170px minmax(0,1fr)}.scenario-question .question-actions{flex:1 1 100%;justify-content:flex-start}.question-dialog #question-form{grid-template-columns:minmax(0,1fr) minmax(0,.8fr)}}
@media(max-width:720px){.builder-workspace{display:block}.dashboard{padding-inline:16px}.topbar{padding:12px 16px}.topbar nav{overflow:visible}.invitation{gap:16px}.builder-footer>button{flex-basis:100%;width:100%}.theme-options{grid-template-columns:repeat(2,minmax(0,1fr))}.theme-option:last-child{grid-column:auto}.question-dialog #question-form{display:flex}.controls>button,.event-tools>button{flex:1 1 180px}.schedule-controls label{min-width:0}.block-header label{min-width:0;flex-basis:170px}.question-dialog .geo-map{height:240px;min-height:240px}.question-dialog>.row h2{font-size:17px!important;line-height:1.4}.question-dialog .question-live-preview{padding:16px}.question-dialog>.row{flex-wrap:nowrap}}

.question-dialog>.row{position:sticky;top:-27px;background:white;z-index:2;padding-block:10px}.question-dialog>.row h2{margin:0}@media(max-width:720px){input:not([type=checkbox]):not([type=radio]),textarea,select,#question-fields input,#question-fields textarea{font-size:16px}.question-dialog>.row{top:-18px}}

.question-dialog>.row{position:relative;top:auto}.question-dialog{scroll-padding-top:16px}.option-row{min-width:0}.option-row input[type=checkbox]{min-height:20px;height:20px;width:20px;align-self:center}.option-row input:not([type=checkbox]){min-width:0}

.builder-sections{max-width:100%;min-width:0}.builder-rail{min-width:0}.question-dialog input[type=checkbox],.question-dialog input[type=radio]{width:20px;height:20px;min-height:20px;justify-self:start}.question-dialog .map-editor .leaflet-control-attribution{white-space:normal;overflow-wrap:anywhere;max-width:220px}.question-dialog .leaflet-container img{max-width:none!important}

@media(max-width:720px){.builder-footer{display:grid;grid-template-columns:minmax(0,1fr);height:auto}.builder-footer>span,.builder-footer>button{flex:none;width:100%;min-height:0}.builder-footer>button{min-height:48px}}

.question-dialog .question-live-preview{position:sticky;top:0;max-height:calc(90vh - 32px);overflow:auto}@media(max-width:720px){.question-dialog .question-live-preview{position:static;max-height:none}}
