.survey-settings-panel{margin-top:20px}.survey-settings-panel>summary{cursor:pointer;font-weight:700;font-size:1.1rem}.survey-settings-panel[open]>.survey-settings{margin-top:20px}.survey-work .quiet,.survey-grid th{font-size:.875rem}
.new-content-badge{display:inline-flex;align-items:center;justify-content:center;background:#cf233b;color:#fff;border-radius:5px;font-size:.75rem;font-weight:800;line-height:1;width:19px;height:19px;vertical-align:middle;margin-left:7px;flex:none}
.new-content-badge[hidden]{display:none}.file-drag-over{outline:3px dashed #216749;outline-offset:4px;background:#edf8f1}.upload-area:focus-visible{outline:2px solid #216749}
.survey-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:16px}.survey-card{display:flex;flex-direction:column;gap:12px;padding:24px}.survey-card h2{font-size:1.3rem;margin:0}.survey-card .actions{margin-top:auto}.survey-card p{margin:0}.survey-badges{display:flex;gap:8px;flex-wrap:wrap}.survey-status{border:1px solid #c5d9d0;border-radius:30px;padding:5px 10px;font-size:.875rem;background:#f2f8f4}.survey-status.closed{background:#f3f4f5;border-color:#d5dadc;color:#58636b}.survey-work{max-width:960px;margin:0 auto}.survey-sticky{position:sticky;top:8px;z-index:5;background:#fff;border:1px solid #cadbd3;border-radius:14px;padding:12px 16px;display:flex;align-items:center;justify-content:space-between;gap:10px;box-shadow:0 6px 20px #102a2010;margin-bottom:18px;flex-wrap:wrap}.survey-sticky strong{font-size:1rem}.survey-intro{border-top:5px solid #216749}.survey-question{border:1px solid #d5e1da;border-left:4px solid #bed2c6;background:#fff;border-radius:14px;margin:16px 0;padding:24px;min-width:0}.survey-question:focus-within{border-left-color:#216749}.survey-question h3{margin:0 0 12px;font-size:1.1rem;white-space:pre-wrap}.survey-question p{white-space:pre-wrap}.survey-section{border:0;background:#e9f1ed;padding:20px 24px;border-radius:12px;margin:28px 0 16px}.survey-section h3{margin:0}.survey-question .form-grid{margin-bottom:12px}.survey-question textarea{min-height:100px}.survey-q-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap;border-top:1px solid #edf0ed;padding-top:12px;margin-top:16px}.survey-q-actions .check-label{margin-right:auto}.survey-q-actions button{padding:7px 10px}.survey-settings{display:grid;grid-template-columns:1fr 1fr;gap:16px}.survey-settings .check-label{align-items:flex-start}.survey-settings .check-label input{margin-top:4px}.survey-recipients{max-height:250px;overflow:auto;border:1px solid #d5e1da;border-radius:10px;padding:12px;display:grid;grid-template-columns:1fr 1fr;gap:8px}.survey-options{display:grid;gap:8px}.survey-option{display:flex;align-items:center;gap:12px;border:1px solid #d8e3dc;border-radius:9px;padding:13px 16px;cursor:pointer;font-size:1rem;overflow-wrap:anywhere}.survey-option:has(input:checked){border-color:#216749;background:#eff7f2}.survey-option input{width:20px!important;height:20px;flex:none;accent-color:#216749}.survey-scale{display:flex;flex-wrap:wrap;gap:8px}.survey-scale .survey-option{flex-direction:column;min-width:52px;flex:1;padding:10px}.survey-grid{overflow-x:auto}.survey-grid th,.survey-grid td{min-width:95px;text-align:center;padding:12px;border-bottom:1px solid #d8e3dc}.survey-grid th:first-child{min-width:130px;text-align:left}.survey-grid input{width:20px;height:20px;accent-color:#216749}.survey-field-error{color:#b51c32;font-size:.9rem}.survey-submit{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:22px 0}.survey-progress{height:6px;background:#e5eee9;border-radius:6px;overflow:hidden}.survey-progress>span{display:block;background:#216749;height:100%;transition:width .15s}.survey-mode-bar{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.survey-mode-bar .selected{background:#216749;color:#fff}.survey-result-row{display:grid;grid-template-columns:minmax(110px,1fr) 2fr auto;gap:14px;align-items:center;margin:12px 0;overflow-wrap:anywhere}.survey-result-track{height:10px;background:#e8efeb;border-radius:9px;overflow:hidden}.survey-result-track span{display:block;height:100%;background:#328768}.survey-response-person{font-size:1.15rem}.survey-response-value{white-space:pre-wrap;overflow-wrap:anywhere}.survey-empty{padding:45px 24px;text-align:center}.survey-required{color:#b51c32}.survey-preview-label{background:#fff4d6;border:1px solid #e7d48c;border-radius:10px;padding:14px}.survey-settings details{grid-column:1/-1}.survey-work>.panel{margin-bottom:16px}.survey-work label{font-size:1rem}.survey-work .hint{font-size:.875rem}.survey-work input,.survey-work textarea,.survey-work select{font-size:1rem}.survey-actions-end{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap}.survey-confirm{max-width:480px}.survey-confirm p{line-height:1.7}.survey-condition{margin-top:16px}.survey-live-warning{background:#fff4d6;border:1px solid #e7d48c;padding:14px;border-radius:10px;margin-bottom:12px}
@media(max-width:640px){.survey-settings{grid-template-columns:1fr}.survey-recipients{grid-template-columns:1fr}.survey-question{padding:18px 15px}.survey-sticky{top:0;border-radius:8px}.survey-sticky .actions{gap:6px}.survey-sticky button{padding:9px 11px}.survey-card{padding:20px}.survey-result-row{grid-template-columns:100px 1fr auto;gap:8px}.survey-grid{margin-inline:-8px}.survey-work .form-grid{grid-template-columns:1fr}}
.survey-choice-builder{border:0;padding:0;margin:18px 0}.survey-choice-builder legend{font-weight:700;margin-bottom:8px}.survey-choice-row{display:grid;grid-template-columns:24px minmax(0,1fr) 40px;align-items:center;gap:8px;margin:8px 0}.survey-choice-row input{margin:0}.survey-choice-row button{padding:9px}.survey-description-editor{margin:12px 0}.survey-description-editor .ql-editor{min-height:74px}.survey-insert{display:flex;gap:5px;justify-content:center;flex-wrap:wrap;border-top:1px dashed #dae3dd;margin-top:16px;padding-top:12px}.survey-builder-section{border-top:5px solid #216749;background:#f4f9f6}.survey-builder-text{border-left-color:#d3b562}.survey-text-block{padding:20px 24px;margin:16px 0;border-left:3px solid #d3b562;background:#fffdf4;border-radius:10px}.survey-page-nav{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:24px 0}.survey-char-count{text-align:right;color:#64756d;font-size:.85rem;margin:7px 0}.survey-settings .form-grid{grid-column:1/-1}.survey-settings>p{grid-column:1/-1}.public-login-link{display:block;text-align:center;margin:16px 0}.broadcast-edit-dialog{width:min(850px,94vw);max-height:90dvh;overflow:auto}.broadcast-edit-dialog .rich-composer{margin:16px 0}
