.forms-page{padding:24px 32px;color:var(--pal-ink,var(--ink));font-size:17px;line-height:1.8;min-width:0}
.forms-page h2{font-size:27px;font-weight:800}.forms-page h3{font-size:20px;font-weight:700}.forms-page h4{font-size:17px;font-weight:700}
.forms-page-head,.forms-builder-head,.forms-section-title{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px;flex-wrap:wrap}
.forms-page-head p,.forms-hint{color:var(--pal-ink-3,var(--muted));font-size:16px;line-height:1.9;margin:8px 0 16px;overflow-wrap:anywhere}
.forms-actions,.forms-head-actions,.forms-list-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.forms-head-actions{margin-inline-start:auto}
.forms-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:24px}.forms-stats>.card{padding:20px;display:flex;gap:16px;align-items:center}.forms-stats strong{font-size:31px;font-weight:800}.forms-stats span{font-size:16px;color:var(--pal-ink-3)}
.forms-list{display:grid;gap:16px}.forms-list-card{padding:24px;display:flex;align-items:center;gap:20px;min-width:0}.forms-list-symbol,.forms-empty-symbol{color:var(--pal-navy);background:var(--pal-navy-soft);width:56px;height:56px;display:grid;place-items:center;border-radius:12px;flex-shrink:0}.forms-list-info{flex:1;min-width:0;overflow-wrap:anywhere}.forms-list-info p{font-size:16px;color:var(--pal-ink-3);margin:4px 0 8px}.forms-empty{padding:48px 24px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:16px}.forms-empty p{max-width:540px;color:var(--pal-ink-3)}
.forms-builder-head{margin-bottom:8px}.forms-title-input{flex:1;min-width:200px;max-width:480px}.forms-title-input input{font-size:20px;font-weight:700}.forms-meta{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:16px;color:var(--pal-ink-3);margin-bottom:24px}
.forms-tabs{display:flex;gap:8px;border-bottom:1px solid var(--pal-line);margin-bottom:24px;overflow-x:auto}.forms-tabs button{min-height:48px;padding:12px 20px;white-space:nowrap;border-bottom:3px solid transparent;color:var(--pal-ink-3);font-weight:600}.forms-tabs button.is-active{color:var(--pal-navy);border-color:var(--pal-navy);background:var(--pal-navy-soft);border-radius:8px 8px 0 0}
.forms-workspace{min-width:0}.forms-workspace.is-building{display:grid;grid-template-columns:260px minmax(0,1fr);gap:24px;align-items:start}.forms-outline{padding:16px;position:sticky;top:88px;max-height:calc(100vh - 112px);overflow:auto}.forms-outline h3{font-size:17px;display:flex;justify-content:space-between;margin-bottom:12px}.forms-outline-items{display:grid;gap:8px;margin-bottom:24px}.forms-outline-row{width:100%;min-width:0;overflow:hidden;border:1px solid var(--pal-line);border-radius:8px;display:flex;align-items:center;background:var(--pal-cream-4)}.forms-outline-row.is-selected{border-color:var(--pal-navy);background:var(--pal-navy-soft)}.forms-outline-row>button{width:calc(100% - 32px);min-width:0;flex:1 1 0;overflow:hidden;text-align:start;display:flex;align-items:center;gap:8px;padding:8px;font-size:16px;min-height:48px}.forms-outline-row>button>span:last-child{display:block;width:0;flex:1 1 0;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.forms-reorder{flex:0 0 32px;display:flex;flex-direction:column}.forms-reorder button{width:32px;min-height:30px;font-size:18px}.forms-reorder button:disabled{opacity:.3}.forms-toolbox{display:grid;grid-template-columns:1fr;gap:8px}.forms-toolbox>button{display:flex;align-items:center;gap:8px;min-height:44px;border:1px solid var(--pal-line);border-radius:8px;text-align:start;padding:8px;font-size:16px;background:var(--pal-cream-4)}.forms-toolbox>button:hover{border-color:var(--pal-navy);background:var(--pal-navy-soft)}.forms-type-symbol{font-family:inherit;display:grid;place-items:center;min-width:32px;width:32px;height:32px;border-radius:6px;background:var(--accent-soft);color:var(--accent);font-weight:800;font-size:20px}.forms-type-symbol[data-kind=choice],.forms-type-symbol[data-kind=picture_choice],.forms-type-symbol[data-kind=ranking]{background:var(--accent-soft);color:var(--accent-deep)}.forms-type-symbol[data-kind=file],.forms-type-symbol[data-kind=payment]{background:var(--success-soft);color:var(--success)}
.forms-edit-column{display:grid;gap:24px;min-width:0}.forms-question-preview{padding:24px;background:var(--pal-cream-4);min-width:0}.forms-question-preview .survey-question{margin:0}.forms-question-preview .survey-question h2{font-size:22px}.forms-question-preview [data-question-preview]{pointer-events:none;--survey-accent:var(--accent)}.forms-editor,.forms-settings,.forms-responses{padding:24px;min-width:0}.forms-settings{max-width:900px;margin-inline:auto}.forms-settings>h3{margin-bottom:24px}.forms-control{display:block;margin-bottom:20px}.forms-control>span{display:block;font-size:16px;font-weight:600;margin-bottom:8px}.forms-control textarea{min-height:96px}.forms-control input[type=color]{padding:6px;width:100%;height:48px}.forms-control input[type=url],.forms-control code{direction:ltr}.forms-two-col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.forms-toggle{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:12px 0;font-size:16px;min-height:48px}.forms-toggle input,.forms-file-types input{width:20px;height:20px;accent-color:var(--pal-navy)}.forms-format{display:flex;gap:16px;align-items:center;flex-wrap:wrap;margin-bottom:12px}.forms-format .forms-control{margin:0;width:100px}.forms-editor-section{padding-top:24px;margin-top:24px;border-top:1px solid var(--pal-line)}.forms-editor-section h4{margin-bottom:16px}.forms-option-edit{padding:12px;border:1px solid var(--pal-line);border-radius:8px;margin-bottom:12px}.forms-option-edit>div{display:flex;gap:8px}.forms-option-edit small{display:block;direction:ltr;text-align:start;font-size:13px;color:var(--pal-ink-3);margin-top:8px;overflow-wrap:anywhere}.forms-option-edit input[type=url]{margin-top:8px}.forms-file-types{display:flex;gap:16px;flex-wrap:wrap;padding:16px 0}.forms-file-types legend{font-size:16px;font-weight:600}.forms-file-types label{display:flex;gap:8px;align-items:center;min-height:44px}.forms-rule{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:16px;background:var(--pal-navy-soft);border-radius:8px;margin-bottom:16px}.forms-rule>input,.forms-rule>button{grid-column:1/-1}.forms-calculation{display:grid;grid-template-columns:180px 1fr auto;gap:8px;margin:16px 0}.forms-theme-swatches{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}.forms-search{display:flex;gap:12px;margin-bottom:24px}.forms-response{border:1px solid var(--pal-line);border-radius:8px;margin-bottom:16px;overflow:hidden}.forms-response summary{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:16px;cursor:pointer;font-size:16px;font-weight:600;list-style:none}.forms-response summary::after{content:"＋"}.forms-response[open] summary::after{content:"−"}.forms-response dl{padding:0 16px 16px}.forms-response dl>div{display:grid;grid-template-columns:minmax(140px,1fr) minmax(0,2fr);gap:16px;padding:16px 0;border-top:1px solid var(--pal-line);overflow-wrap:anywhere}.forms-response dt{font-weight:600}.forms-response dd{white-space:pre-wrap}.forms-dialog{border:1px solid var(--pal-line);border-radius:12px;padding:0;background:var(--pal-cream-3);color:var(--pal-ink);max-height:90dvh}.forms-dialog::backdrop{background:rgba(13,23,48,.65)}.forms-name-dialog{width:min(480px,calc(100vw - 32px))}.forms-dialog-content{padding:24px}.forms-dialog-content h2{font-size:22px;font-weight:700;margin-bottom:24px}.forms-preview-dialog{width:calc(100vw - 48px);max-width:1440px;height:90dvh}.forms-preview-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 24px;border-bottom:1px solid var(--pal-line);flex-wrap:wrap;position:sticky;top:0;background:var(--pal-cream-3);z-index:1}.forms-preview-stage{padding:24px;min-height:70vh;background:var(--pal-navy-soft)}.forms-preview-stage [data-render-preview]{margin:auto;min-height:65vh;border:1px solid var(--pal-line);border-radius:12px;overflow:hidden}.forms-preview-stage [data-render-preview].is-mobile{width:min(390px,100%)}
.survey-host{background-color:var(--survey-bg,var(--surface-soft));background-size:cover;background-position:center;min-height:100dvh;padding:48px 24px;font-size:18px;line-height:1.8;color:var(--ink);overflow-wrap:anywhere}.survey-shell{max-width:800px;width:100%;margin:auto;border:1px solid var(--line);border-radius:12px;padding:32px;background:var(--surface);box-shadow:none}.survey-header{display:flex;align-items:center;gap:16px;font-size:18px;font-weight:700;margin-bottom:24px;color:var(--muted)}.survey-header img{max-width:120px;max-height:56px;object-fit:contain}.survey-progress{appearance:none;display:block;width:100%;height:6px;border:0;border-radius:4px;overflow:hidden;margin-bottom:32px;background:var(--accent-soft)}.survey-progress::-webkit-progress-bar{background:var(--accent-soft)}.survey-progress::-webkit-progress-value{background:var(--survey-accent,var(--accent))}.survey-progress::-moz-progress-bar{background:var(--survey-accent,var(--accent))}.survey-preview-banner{font-size:16px;text-align:center;background:var(--accent-soft);color:var(--accent);padding:8px 16px;border-radius:8px;margin-bottom:24px}.survey-question{margin-bottom:32px;min-width:0}.survey-question h2{font-size:27px;line-height:1.8;margin-bottom:16px;white-space:pre-wrap}.survey-question label{cursor:pointer}.survey-number{display:inline-grid;place-items:center;min-width:32px;height:32px;background:var(--accent-soft);color:var(--accent);border-radius:6px;font-size:18px;margin-inline-end:12px}.survey-description{white-space:pre-wrap;color:var(--muted);line-height:1.9;margin-bottom:24px}.survey-required,.survey-error{color:var(--danger)}.survey-error{font-size:16px;margin-top:12px;white-space:pre-wrap}.survey-question .field{border:1px solid var(--line-strong);box-shadow:none;background:var(--surface);color:var(--ink);font-size:18px;min-height:48px}.survey-question .field:focus{outline:2px solid var(--survey-accent,var(--accent));outline-offset:2px}.survey-options{display:grid;gap:12px}.survey-option{display:flex;align-items:center;gap:12px;min-height:52px;padding:12px 16px;border:1px solid var(--line-strong);border-radius:8px;background:var(--surface);cursor:pointer;color:var(--ink)}.survey-option:has(input:checked){border:2px solid var(--survey-accent,var(--accent));padding:11px 15px;background:var(--accent-soft)}.survey-option input{width:20px;height:20px;accent-color:var(--survey-accent,var(--accent));flex-shrink:0}.survey-option span{white-space:pre-wrap}.survey-scale{display:flex;gap:8px;flex-wrap:wrap}.survey-scale .survey-option{flex:1;min-width:64px;justify-content:center;padding:12px}.survey-scale .survey-option:has(input:checked){padding:11px}.survey-scale input{position:absolute;opacity:0;width:1px;height:1px}.survey-scale .survey-option:has(input:focus-visible){outline:2px solid var(--accent);outline-offset:3px}.survey-pictures{grid-template-columns:repeat(2,minmax(0,1fr))}.survey-pictures .survey-option{flex-wrap:wrap}.survey-pictures img{width:100%;height:160px;object-fit:cover;border-radius:6px;order:-1}.survey-rank{list-style:none;padding:0;display:grid;gap:12px}.survey-rank li{display:flex;gap:8px;align-items:center;padding:12px;background:var(--surface);border:1px solid var(--line-strong);border-radius:8px}.survey-rank li>span{flex:1}.survey-rank .btn{padding:8px 12px;box-shadow:none}.survey-matrix fieldset{padding:16px;border:1px solid var(--line-strong);border-radius:8px;margin-bottom:16px}.survey-matrix legend{font-weight:600;padding:0 8px}.survey-matrix .survey-options{grid-template-columns:repeat(auto-fit,minmax(120px,1fr))}.survey-media,.survey-question video{display:block;max-width:100%;max-height:360px;border-radius:8px;margin-bottom:24px;object-fit:contain}.survey-controls{display:flex;justify-content:flex-end;gap:12px;margin-top:32px}.survey-controls .btn-primary,.survey-success .btn-primary{background:var(--survey-accent,var(--accent));color:#fff;border:1px solid transparent;box-shadow:none}.survey-hint{font-size:16px;color:var(--muted);margin:12px 0}.survey-payment{padding:24px;border:1px solid var(--line-strong);border-radius:8px;background:var(--surface)}.survey-payment p{font-size:16px;margin-top:12px;color:var(--muted)}.survey-success{text-align:center;padding:64px 24px}.survey-success h1{font-size:31px;font-weight:800;margin-bottom:16px}.survey-success p{white-space:pre-wrap;margin-bottom:24px}.survey-success-icon{display:grid;place-items:center;width:64px;height:64px;border-radius:50%;background:var(--success-soft);color:var(--success);font-size:36px;margin:0 auto 24px}.survey-trap{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(min-width:1500px){.forms-edit-column{grid-template-columns:minmax(0,1fr) minmax(340px,1fr);align-items:start}.forms-question-preview{position:sticky;top:88px}}
@media(max-width:1023px){.forms-page{padding:24px}.forms-workspace.is-building{grid-template-columns:220px minmax(0,1fr)}.forms-outline{top:80px}.forms-list-card{flex-wrap:wrap}.forms-list-actions{width:100%}.forms-calculation{grid-template-columns:1fr}.forms-rule{grid-template-columns:1fr}.forms-rule>*{grid-column:1}.forms-stats>.card{flex-direction:column;align-items:start;gap:4px}}
@media(max-width:700px){.forms-page{padding:16px}.forms-page h2{font-size:25px}.forms-workspace.is-building{grid-template-columns:1fr}.forms-outline{position:static;max-height:none}.forms-outline-items{max-height:240px;overflow:auto}.forms-toolbox{grid-template-columns:repeat(2,minmax(0,1fr))}.forms-toolbox>button{font-size:15px;gap:6px}.forms-type-symbol{min-width:28px;width:28px;height:28px}.forms-stats{gap:8px}.forms-stats>.card{padding:12px}.forms-stats strong{font-size:27px}.forms-stats span{font-size:15px}.forms-builder-head{gap:12px}.forms-title-input{order:-1;flex-basis:100%;max-width:none}.forms-head-actions{width:100%;margin:0}.forms-head-actions .btn{flex:1;padding:10px}.forms-tabs{gap:0}.forms-tabs button{padding:12px 16px}.forms-two-col{grid-template-columns:1fr;gap:0}.forms-editor,.forms-question-preview,.forms-settings,.forms-responses{padding:16px}.forms-format{gap:12px}.forms-response dl>div{grid-template-columns:1fr;gap:8px}.forms-list-card{padding:16px;gap:12px}.forms-list-actions .btn{flex:1;padding-inline:12px}.forms-preview-dialog{width:calc(100vw - 16px);height:95dvh;max-height:95dvh}.forms-preview-toolbar{padding:12px;gap:8px}.forms-preview-toolbar .btn{padding:8px 12px}.forms-preview-stage{padding:8px}.survey-host{padding:24px 16px}.survey-shell{padding:24px 16px}.survey-question h2{font-size:24px}.survey-question{margin-bottom:24px}.survey-pictures{grid-template-columns:1fr}.survey-scale .survey-option{min-width:52px}.survey-success h1{font-size:27px}.forms-preview-stage .survey-host{padding:16px 8px}}
@media(prefers-reduced-motion:reduce){.forms-page *,.survey-host *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

.forms-type-symbol svg{width:18px;height:18px;flex-shrink:0}

.forms-preview-devices{display:flex;align-items:center;gap:8px}.forms-preview-devices .btn[aria-pressed="true"]{border:2px solid var(--pal-navy);background:var(--pal-navy-soft);color:var(--pal-navy)}
.forms-preview-dialog[open]{display:flex;flex-direction:column;overflow:hidden}.forms-preview-toolbar{position:static;flex-shrink:0}.forms-preview-stage{flex:1;min-height:0;overflow:auto;background:var(--surface-soft)}.forms-preview-stage [data-render-preview]{min-height:100%}.forms-page .forms-type-symbol{background:var(--accent-soft);color:var(--accent)}.forms-tabs button.is-active{border-bottom-width:2px}.forms-page .forms-title-input input{font-weight:600}.forms-page .forms-question-preview{background:var(--surface)}.forms-page .forms-question-preview [data-question-preview]{--survey-accent:var(--accent)}

.forms-preview-toolbar [data-close-preview]{width:46px;min-width:46px;min-height:46px;height:46px;padding:10px}.forms-preview-toolbar [data-close-preview] svg{width:24px;height:24px}
.forms-add-field{width:100%;justify-content:center;gap:8px}.forms-field-dialog{width:min(720px,calc(100vw - 32px));max-height:calc(100dvh - 40px);padding:0;overflow:auto}.forms-picker-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:24px;border-bottom:1px solid var(--line);position:sticky;top:0;background:var(--surface);z-index:1}.forms-picker-head h2{font-size:20px;font-weight:700}.forms-picker-head p{font-size:13px;color:var(--muted);margin-top:4px}.forms-field-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:24px}.forms-field-choice{display:flex;align-items:center;gap:10px;text-align:start;border:1px solid var(--line);border-radius:8px;padding:16px 12px;min-height:72px;background:var(--surface);font-size:14px}.forms-field-choice>span:nth-child(2){flex:1}.forms-field-choice>svg{width:16px;color:var(--faint);flex-shrink:0}.forms-field-choice:hover{border-color:var(--accent);background:var(--accent-soft)}.forms-delete-button{color:var(--danger)}.forms-delete-button:hover{background:var(--danger-soft)}.forms-outline .forms-outline-items{margin-bottom:16px}@media(max-width:639px){.forms-field-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:16px}.forms-picker-head{padding:18px 16px;gap:10px}.forms-picker-head h2{font-size:18px}.forms-field-choice{padding:12px 10px;min-height:68px;font-size:13px;gap:7px}.forms-field-choice>svg{display:none}}@media(max-width:359px){.forms-field-grid{grid-template-columns:minmax(0,1fr)}}

.forms-field-error{padding:12px 24px 0}.forms-field-error:empty{display:none}
.survey-file-state:empty{display:none}
.survey-file-state{display:flex;align-items:flex-start;gap:10px;padding:12px 14px;margin-top:10px;background:var(--surface-soft);border:1px solid var(--line);border-radius:8px;color:var(--ink);font-size:15px}
.survey-file-state>div{min-width:0;flex:1}
.survey-file-state strong{display:block;font-weight:600;overflow-wrap:anywhere;direction:ltr;text-align:start}
.survey-file-state span:not(.survey-file-symbol){font-size:13px;color:var(--muted)}
.survey-file-state p{font-size:14px;color:var(--muted);margin-top:4px;line-height:1.8}
.survey-file-symbol{display:grid;place-items:center;width:28px;height:28px;flex-shrink:0;color:var(--success);background:var(--success-soft);border-radius:50%}
.survey-file-symbol.is-error{color:var(--danger);background:var(--danger-soft)}
.survey-upload-panel[hidden]{display:none}
.survey-upload-panel{margin-top:20px;padding:20px;border:1px solid var(--line-strong);background:var(--surface-soft);border-radius:10px;font-size:15px}
.survey-upload-heading{display:flex;align-items:center;gap:10px;color:var(--ink);font-weight:600}
.survey-upload-heading .spinner{flex:0 0 18px;width:18px;height:18px}
.survey-upload-panel progress{display:block;appearance:none;width:100%;height:9px;border:0;border-radius:999px;overflow:hidden;background:var(--track);margin:14px 0}
.survey-upload-panel progress::-webkit-progress-bar{background:var(--track)}
.survey-upload-panel progress::-webkit-progress-value{background:var(--accent);border-radius:999px}
.survey-upload-panel progress::-moz-progress-bar{background:var(--accent);border-radius:999px}
.survey-upload-panel progress:indeterminate{background:linear-gradient(90deg,var(--track) 25%,var(--accent) 50%,var(--track) 75%);background-size:200% 100%;animation:survey-upload-wait 1.6s linear infinite}
.survey-upload-panel progress:indeterminate::-webkit-progress-bar{background:transparent}
.survey-upload-panel [data-upload-detail]{font-size:14px;color:var(--muted);font-variant-numeric:tabular-nums;line-height:1.9}
.survey-upload-panel ul{display:grid;gap:8px;list-style:none;padding:0;margin:14px 0}
.survey-upload-panel li{display:flex;align-items:center;gap:8px;min-width:0;color:var(--muted);font-size:14px}
.survey-upload-panel li>span{min-width:0;flex:1;overflow-wrap:anywhere;direction:ltr;text-align:start}
.survey-upload-panel li>small{flex-shrink:0}
.survey-upload-panel .btn{margin-top:4px}
@keyframes survey-upload-wait{to{background-position:-200% 0}}
@media(max-width:700px){.survey-upload-panel{padding:16px}.survey-upload-panel li{flex-wrap:wrap}.survey-upload-panel li>small{margin-inline-start:auto}}
@media(prefers-reduced-motion:reduce){.survey-upload-panel progress:indeterminate{animation:none}.survey-upload-panel .spinner{animation:none}}
.forms-piping{border:1px solid var(--line);border-radius:8px;background:var(--surface-soft);padding:16px;margin:0 0 20px;min-width:0}
.forms-piping h4{font-size:16px;margin:0 0 8px}
.forms-piping .forms-hint{font-size:14px;margin:8px 0 12px}
.forms-piping .forms-control{margin-bottom:12px}
.forms-piping .forms-control>span{font-size:14px}
.forms-pipe-token{display:flex;gap:8px;align-items:center;margin-bottom:12px;min-width:0}
.forms-pipe-token input{font-family:YekanBakh,Tahoma,sans-serif;font-size:14px;min-width:0;flex:1}
.forms-pipe-token .btn{flex-shrink:0}
.forms-pipe-note{margin-bottom:0!important}
.forms-field-identifier{margin-top:14px;border-top:1px solid var(--line);padding-top:12px;font-size:14px;color:var(--muted)}
.forms-field-identifier summary{cursor:pointer;min-height:32px}
.forms-field-identifier>div{display:flex;align-items:center;gap:8px;margin-top:8px;min-width:0}
.forms-field-identifier input{font-size:14px;min-width:0;flex:1}
.forms-field-identifier .btn{flex-shrink:0}
@media(max-width:420px){.forms-piping{padding:12px}.forms-pipe-token,.forms-field-identifier>div{flex-wrap:wrap}.forms-pipe-token input,.forms-field-identifier input{flex-basis:100%}.forms-piping .forms-actions .btn{flex:1;white-space:normal}}
.forms-results-help{font-size:14px;color:var(--muted);margin:0 0 14px;line-height:1.8}
.forms-results-scroll{max-width:100%;overflow:auto;border:1px solid var(--line);border-radius:8px;margin-bottom:20px;overscroll-behavior-x:contain;isolation:isolate}
.forms-results-table{width:max-content;min-width:100%;border-collapse:separate;border-spacing:0;text-align:start;font-size:15px;background:var(--surface)}
.forms-results-table th,.forms-results-table td{padding:14px 16px;border-bottom:1px solid var(--line);vertical-align:middle;text-align:start}
.forms-results-table thead th{background:var(--surface-soft);color:var(--muted);font-size:14px;font-weight:500;white-space:nowrap}
.forms-results-table tbody th{font-weight:600;white-space:nowrap}
.forms-results-table .forms-result-value{display:block;width:220px;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.9}
.forms-results-table .forms-result-date{min-width:180px;white-space:nowrap;color:var(--muted)}
.forms-results-table .badge{white-space:nowrap}
.forms-results-table .forms-result-action{width:104px;min-width:104px;padding:8px;position:sticky;inset-inline-start:0;background:var(--surface);z-index:2}
.forms-results-table thead .forms-result-action{background:var(--surface-soft)}
.forms-result-row:hover>td,.forms-result-row:hover>th{background:var(--surface-soft)}
.forms-result-action .btn{min-width:40px;width:40px;height:40px;min-height:40px}
.forms-result-action [aria-expanded=true] svg{transform:rotate(180deg)}
.forms-result-file{display:inline-flex;align-items:center;gap:8px;max-width:220px;padding:6px 0;color:var(--accent);text-align:start}
.forms-result-file>span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:185px;direction:ltr}
.forms-result-detail-row[hidden]{display:none}
.forms-results-table .forms-result-detail-row>td{background:var(--surface-soft);padding:16px;vertical-align:top}
.forms-result-detail-row .forms-response{max-width:900px;margin:0;background:var(--surface)}
.forms-result-detail-row .forms-response summary{font-size:14px}
.forms-result-detail-row .forms-response dl{font-size:15px}
.forms-result-detail-row .forms-response dd .btn{white-space:normal;overflow-wrap:anywhere;max-width:100%}
.forms-results-table .forms-empty{max-width:800px}
@media(max-width:700px){.forms-results-table th,.forms-results-table td{padding:12px}.forms-results-table .forms-result-action{padding:6px}.forms-result-detail-row .forms-response{max-width:calc(100vw - 100px)}.forms-results-table .forms-result-detail-row>td{padding:10px}.forms-result-detail-row .forms-response summary{font-size:13px}.forms-results-help{font-size:13px}}

@font-face{font-family:SurveyIranSans;src:url("../fonts/IRANSans_UltraLight.ttf") format("truetype");font-weight:200;font-style:normal;font-display:swap}
@font-face{font-family:SurveyIranSans;src:url("../fonts/IRANSans_Light.ttf") format("truetype");font-weight:300;font-style:normal;font-display:swap}
@font-face{font-family:SurveyIranSans;src:url("../fonts/IRANSans.ttf") format("truetype");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:SurveyIranSans;src:url("../fonts/IRANSans_Medium.ttf") format("truetype");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:SurveyIranSans;src:url("../fonts/IRANSans_Bold.ttf") format("truetype");font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:SurveyIranSans;src:url("../fonts/IRANSans_Bold.ttf") format("truetype");font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:SurveyIranSans;src:url("../fonts/IRANSans_Black.ttf") format("truetype");font-weight:800;font-style:normal;font-display:swap}
@font-face{font-family:SurveyIranSans;src:url("../fonts/IRANSans_Black.ttf") format("truetype");font-weight:900;font-style:normal;font-display:swap}
.forms-typography-settings{border-top:1px solid var(--line);padding-top:20px;margin:20px 0}
.forms-typography-settings h4{margin-bottom:8px}
.survey-typography{font-family:var(--survey-font,YekanBakh,Tahoma,sans-serif);font-size:var(--survey-answer-size,18px)}
.survey-typography input,.survey-typography textarea,.survey-typography select,.survey-typography button{font-family:inherit}
.survey-typography .survey-header{font-size:var(--survey-header-size,18px)}
.survey-typography .survey-question h2,.survey-typography .survey-success h1{font-size:var(--question-title-size,var(--survey-question-size,27px))}
.survey-typography .survey-number{font-size:var(--question-answer-size,var(--survey-answer-size,18px));min-width:1.8em;height:auto;min-height:32px}
.survey-typography .survey-description,.survey-typography .survey-hint,.survey-typography .survey-error,.survey-typography .survey-file-state,.survey-typography .survey-file-state span:not(.survey-file-symbol),.survey-typography .survey-file-state p,.survey-typography .survey-payment p,.survey-typography .survey-success p{font-size:var(--question-description-size,var(--survey-description-size,18px))}
.survey-typography .survey-question,.survey-typography .survey-question .field,.survey-typography .survey-option,.survey-typography .survey-matrix legend,.survey-typography .survey-rank,.survey-typography .survey-file-state strong,.survey-typography .survey-payment{font-size:var(--question-answer-size,var(--survey-answer-size,18px))}
.survey-typography .survey-controls .btn,.survey-typography .survey-rank .btn,.survey-typography .survey-upload-panel .btn{font-size:var(--survey-button-size,16px);white-space:normal;overflow-wrap:anywhere}
.survey-typography .survey-upload-panel,.survey-typography .survey-upload-panel [data-upload-detail],.survey-typography .survey-upload-panel li,.survey-typography .survey-upload-panel li>small,.survey-typography .survey-preview-banner{font-size:var(--survey-description-size,18px)}
.survey-typography .survey-question .field::placeholder{font:inherit}
.survey-typography .survey-option span,.survey-typography .survey-matrix legend{min-width:0;overflow-wrap:anywhere}
.survey-typography .survey-controls{flex-wrap:wrap}

.forms-help-heading{display:flex;align-items:center;gap:8px;min-width:0;margin-bottom:16px}
.forms-help-heading>h2,.forms-help-heading>h3,.forms-help-heading>h4{margin:0;min-width:0}
.forms-info-button{display:inline-flex;align-items:center;justify-content:center;width:32px;min-width:32px;height:32px;min-height:32px;padding:6px;border:1px solid transparent;border-radius:50%;color:var(--muted);background:transparent;flex-shrink:0;cursor:help}
.forms-info-button svg{width:18px;height:18px;pointer-events:none}
.forms-info-button:hover,.forms-info-button[aria-expanded=true]{background:var(--accent-soft);color:var(--accent);border-color:var(--line)}
.forms-info-button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.forms-help-popover{position:fixed;z-index:10000;width:max-content;max-width:min(340px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;padding:14px 16px;border:1px solid var(--line-strong);border-radius:10px;background:var(--surface);color:var(--ink);box-shadow:0 8px 28px rgba(0,0,0,.16);font-family:YekanBakh,Tahoma,sans-serif;font-size:14px;line-height:1.9;text-align:start;overflow-wrap:anywhere;white-space:pre-line}
.forms-help-popover[hidden]{display:none}
.forms-results-summary{display:flex;align-items:center;gap:8px;margin:8px 0 16px;flex-wrap:wrap}
.forms-results-summary>.forms-hint{margin:0}
.forms-empty-note{color:var(--muted);font-size:14px;margin:8px 0 12px}
@media(pointer:coarse){.forms-info-button{width:40px;min-width:40px;height:40px;min-height:40px}}

.forms-background-settings{border-top:1px solid var(--line);padding-top:20px;margin:20px 0 24px}
.forms-background-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.forms-background-card{min-width:0;padding:16px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}
.forms-background-card>h4{display:flex;align-items:center;gap:8px;margin-bottom:16px}
.forms-background-card>h4 svg{color:var(--accent);flex-shrink:0}
.forms-background-thumbnail{height:180px;display:flex;align-items:center;justify-content:center;border:1px dashed var(--line-strong);border-radius:6px;background:var(--surface-soft);margin-bottom:16px;overflow:hidden;color:var(--muted);font-size:14px}
.forms-background-thumbnail img{height:100%;width:100%;object-fit:cover}
.forms-background-thumbnail.is-mobile img{object-fit:contain}
.forms-background-card .forms-control{margin-bottom:8px}
.forms-background-card input[type=file]{font-size:13px;overflow:hidden}
.forms-background-upload{margin-top:12px;font-size:14px;color:var(--muted)}
.forms-background-upload progress{display:block;width:100%;height:8px;margin:10px 0;accent-color:var(--accent)}
.survey-host{background-image:var(--survey-image-desktop,none);background-repeat:no-repeat;background-size:cover;background-position:center}
.survey-host.is-mobile{background-image:var(--survey-image-mobile,none)}
@media(max-width:700px){.forms-background-grid{grid-template-columns:1fr}.survey-host{background-image:var(--survey-image-mobile,none)}}

.forms-background-upload progress{appearance:none;border:0;border-radius:999px;overflow:hidden;background:var(--track)}
.forms-background-upload progress::-webkit-progress-bar{background:var(--track)}
.forms-background-upload progress::-webkit-progress-value{background:var(--accent);border-radius:999px}
.forms-background-upload progress::-moz-progress-bar{background:var(--accent);border-radius:999px}
.forms-background-upload progress:indeterminate{background:linear-gradient(90deg,var(--track) 25%,var(--accent) 50%,var(--track) 75%);background-size:200% 100%;animation:survey-upload-wait 1.6s linear infinite}
.forms-background-upload progress:indeterminate::-webkit-progress-bar{background:transparent}
@media(prefers-reduced-motion:reduce){.forms-background-upload progress:indeterminate{animation:none}}

.forms-result-action .forms-delete-button{margin-inline-start:4px}.forms-results-table td.forms-result-action{white-space:nowrap}

.forms-statistics{width:100%;min-width:0;padding:24px}.forms-statistics-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0}.forms-statistic{border:1px solid var(--line);border-radius:10px;padding:18px;background:var(--surface-soft);min-width:0}.forms-statistic>span{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:13px}.forms-statistic svg{color:var(--accent);flex-shrink:0}.forms-statistic strong{display:block;font-size:28px;margin-top:16px}.forms-statistics-meta{margin:20px 0}.forms-statistics-meta h4{font-size:14px}.forms-statistics-scroll{overflow:auto;border:1px solid var(--line);border-radius:8px;margin-top:16px}.forms-statistics-table{width:100%;border-collapse:collapse;text-align:start;font-size:14px}.forms-statistics-table th,.forms-statistics-table td{padding:12px 16px;text-align:start;border-bottom:1px solid var(--line);white-space:nowrap}.forms-statistics-table thead{background:var(--surface-soft);color:var(--muted)}.forms-statistics-table tbody th{font-weight:400}.forms-statistics-table tr:last-child>*{border-bottom:0}@media(max-width:700px){.forms-statistics{padding:16px}.forms-statistics-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.forms-statistic{padding:12px}.forms-statistic>span{font-size:12px;align-items:flex-start}.forms-statistic strong{font-size:24px}}

.forms-page{max-width:1600px;margin-inline:auto;line-height:1.75}
.forms-page h2{font-size:clamp(23px,2vw,27px);letter-spacing:-.025em}
.forms-page-head{margin-bottom:20px}
.forms-page-head p{font-size:14px;line-height:1.85}
.forms-list{gap:12px}
.forms-list-card{border:1px solid var(--line);border-radius:14px;transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease}
.forms-list-card:hover{border-color:var(--line-strong);box-shadow:0 12px 32px rgba(27,29,49,.055);transform:translateY(-2px)}
.forms-list-symbol,.forms-empty-symbol{border-radius:12px}
.forms-tabs{gap:4px;scrollbar-width:thin}
.forms-tabs button{font-size:14px;font-weight:600;border-radius:10px 10px 0 0;transition:background .16s ease,color .16s ease}
.forms-tabs button:hover:not(.is-active){background:var(--surface-soft);color:var(--ink)}
.forms-tabs button.is-active{background:transparent;color:var(--accent);border-color:var(--accent)}
.forms-outline,.forms-editor,.forms-settings,.forms-responses,.forms-question-preview,.forms-statistics{border-radius:14px}
.forms-outline-row,.forms-toolbox>button,.forms-field-choice,.forms-option-edit,.forms-response,.forms-background-card{border-radius:10px}
.forms-outline-row{transition:background .16s ease,border-color .16s ease}
.forms-toolbox>button,.forms-field-choice{transition:background .16s ease,border-color .16s ease,transform .16s ease}
.forms-toolbox>button:hover,.forms-field-choice:hover{transform:translateY(-1px)}
.forms-field-choice:focus-visible,.forms-toolbox>button:focus-visible,.forms-outline-row button:focus-visible,.forms-tabs button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.forms-page .field:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.forms-background-thumbnail,.forms-statistics-scroll,.forms-results-scroll{border-radius:10px}
.forms-statistic{border-radius:12px;background:var(--surface);padding:20px}
.forms-statistic strong{font-size:26px;letter-spacing:-.035em}
.survey-host{padding:clamp(16px,4vw,56px) 16px}
.survey-shell{max-width:760px;border-radius:18px;padding:clamp(20px,4vw,44px);box-shadow:0 16px 56px rgba(27,29,49,.065)}
.survey-header{font-size:16px;margin-bottom:28px}
.survey-progress{height:5px;border-radius:999px;margin-bottom:36px}
.survey-progress::-webkit-progress-value{border-radius:999px}
.survey-progress::-moz-progress-bar{border-radius:999px}
.survey-question h2{line-height:1.6;margin-bottom:18px}
.survey-number{border-radius:8px}
.survey-option,.survey-rank li,.survey-matrix fieldset,.survey-payment{border-radius:12px}
.survey-option{transition:border-color .16s ease,background .16s ease,transform .16s ease}
.survey-option:hover{border-color:var(--survey-accent,var(--accent));background:var(--surface-soft)}
.survey-option:has(input:checked){background:color-mix(in srgb,var(--survey-accent,var(--accent)) 9%,var(--surface));border-color:var(--survey-accent,var(--accent))}
.survey-option:has(input:focus-visible){outline:2px solid var(--survey-accent,var(--accent));outline-offset:3px}
.survey-question .field{border-radius:10px;transition:border-color .16s ease,outline-color .16s ease}
.survey-controls{margin-top:36px}
.survey-controls .btn{border-radius:10px;min-height:44px}
.survey-controls .btn-primary:hover{filter:brightness(.96)}
@media(max-width:700px){.forms-list-card:hover{transform:none}.survey-host{padding:16px 10px}.survey-shell{border-radius:14px;padding:22px 18px}.survey-progress{margin-bottom:28px}.survey-question h2{line-height:1.65}.forms-tabs button{font-size:13px}.forms-statistic{padding:14px}}
@media(prefers-reduced-motion:reduce){.forms-list-card,.forms-tabs button,.forms-toolbox>button,.forms-field-choice,.survey-option,.survey-question .field{transition:none}.forms-list-card:hover,.forms-toolbox>button:hover,.forms-field-choice:hover{transform:none}}
