/* Survey presentation stays scoped; the active theme owns navigation and footer. */
.tae-survey-host{background:#f5f6f3;padding:8px 0 40px}
.tae-survey[data-theme=integrated]{--ts-ink:var(--secondary-500,#273744);--ts-accent:var(--primary-100,#803f34);max-width:1180px;font-family:var(--body-font,Arial,sans-serif);font-size:16px;padding-top:12px}
.tae-survey[data-theme=integrated] h1,.tae-survey[data-theme=integrated] h2{font-family:var(--header-font,Arial,sans-serif);font-weight:650;letter-spacing:-.025em;text-transform:none}
.tae-survey[data-theme=integrated] h1{font-size:clamp(29px,3.2vw,42px);line-height:1.2;max-width:950px}
.tae-survey[data-theme=integrated] h2{font-size:27px;margin-bottom:8px}
.tae-survey .ts-mast{border:0;padding:4px 0 0;min-height:30px}
.tae-survey .ts-private{font-family:inherit;background:#e7eeea;color:#3d5c4f}
.tae-survey .ts-header{padding:16px 0 22px;max-width:100%}
.tae-survey .ts-intro:empty{display:none}
.tae-survey .ts-progress{margin-bottom:0;height:8px;border-radius:8px}
.tae-survey .ts-layout{display:flex;flex-direction:column;gap:0}
.tae-survey .ts-side{position:static;order:0;display:flex;align-items:center;gap:12px 20px;flex-wrap:wrap;width:100%;padding:17px 0 20px;background:none}
.tae-survey .ts-save-status{font-size:13px;font-weight:500;color:#486054;margin:0 auto 0 0}
.tae-survey .ts-save-status:before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;background:#678974;margin-right:8px}
.tae-survey .ts-side .ts-button{width:auto;min-height:38px;padding:8px 14px;font-size:13px;margin:0}
.tae-survey .ts-resume{width:100%;max-width:none;border:1px solid #cad9d1;background:#edf3ef;padding:18px;border-radius:6px;margin:0}
.tae-survey .ts-resume input{display:block;width:100%;margin-bottom:4px;font-family:inherit}
.tae-survey .ts-resume .ts-small{margin:2px 0 0}
.tae-survey .ts-main{order:1;width:100%;padding:30px 34px;border-radius:10px;box-shadow:0 5px 24px #20352a05}
.tae-survey .ts-form-guide{font-size:12px;color:#62726b;margin:0 0 26px}
.tae-survey .ts-section-description{font-size:15px;margin:0 0 25px}
.tae-survey .ts-question-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:28px 30px;align-items:start}
.tae-survey .ts-question{grid-column:span 6;margin:0;padding:0}
.tae-survey .ts-width-half{grid-column:span 3}
.tae-survey .ts-width-third{grid-column:span 2}
.tae-survey .ts-question legend{font:650 15px/1.5 var(--body-font,Arial,sans-serif);margin-bottom:12px;float:none;color:var(--ts-ink)}
.tae-survey .ts-required{color:var(--ts-accent);font-size:14px;white-space:nowrap}
.tae-survey .ts-help{font-size:13px}
.tae-survey .ts-question input[type=text],.tae-survey .ts-question input[type=email],.tae-survey .ts-question input[type=tel],.tae-survey .ts-question select,.tae-survey .ts-question textarea{font-family:inherit;font-size:14px;border:1px solid #b3c0c3;border-radius:5px;min-height:44px;padding:10px 12px;background-color:#fff;color:var(--ts-ink);line-height:1.5}
.tae-survey .ts-question[data-type=number]>input{max-width:180px}
.tae-survey .ts-choice{min-height:44px;padding:10px 13px;font-size:14px}
.tae-survey .ts-choices-compact{display:flex;gap:8px;flex-wrap:wrap}
.tae-survey .ts-choices-compact .ts-choice{flex:1 1 auto;justify-content:flex-start}
.tae-survey .ts-choice input{width:17px;height:17px}
.tae-survey .ts-group{gap:13px}
.tae-survey .ts-row{font-size:14px}
.tae-survey .ts-width-third .ts-row{grid-template-columns:1fr;gap:5px}
.tae-survey .ts-width-third .ts-row input{max-width:130px}
.tae-survey .ts-percentage{display:flex;gap:28px;align-items:center;background:#f3f6f2;border:1px solid #e1e8e0;border-radius:7px;padding:19px 22px}
.tae-survey .ts-slider-wrap{flex:1;min-width:0}
.tae-survey input[type=range]{appearance:none;-webkit-appearance:none;width:100%;height:7px;border:0;border-radius:10px;background:#c7d5ca;cursor:pointer;min-height:0;padding:0;box-shadow:none;margin:14px 0}
.tae-survey input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:23px;height:23px;border:3px solid #fff;border-radius:50%;background:#526f5d;box-shadow:0 0 0 1px #526f5d,0 2px 5px #0002}
.tae-survey input[type=range]::-moz-range-thumb{width:19px;height:19px;border:3px solid #fff;border-radius:50%;background:#526f5d;box-shadow:0 0 0 1px #526f5d}
.tae-survey .ts-scale{display:flex;justify-content:space-between;font-size:11px;color:#5b7162}
.tae-survey .ts-percent-number{display:flex;align-items:center;gap:8px;width:100px}
.tae-survey .ts-percent-number input{width:75px;text-align:center}
.tae-survey .ts-percent-number .ts-unit{font-size:15px;font-weight:600}
.tae-survey .ts-matrix{width:100%;font-size:13px}
.tae-survey .ts-matrix-head,.tae-survey .ts-matrix-row{display:grid;grid-template-columns:minmax(110px,1.3fr) repeat(var(--ts-options),minmax(0,1fr));align-items:stretch}
.tae-survey .ts-matrix-head>span{text-align:center;padding:9px 6px;font-size:12px;line-height:1.35;color:#566a62}
.tae-survey .ts-matrix-row{border-top:1px solid #d9e2d9}
.tae-survey .ts-matrix-row:nth-child(even){background:#f2f5ef}
.tae-survey .ts-matrix-label{padding:16px 12px;font-weight:600}
.tae-survey .ts-matrix-cell{display:flex;justify-content:center;align-items:center;cursor:pointer;min-height:52px}
.tae-survey .ts-matrix-cell input{width:19px;height:19px;accent-color:#526f5d}
.tae-survey .ts-matrix-option-label{display:none}
.tae-survey .ts-category-scales{display:grid;gap:24px}
.tae-survey .ts-category-row{background:#f5f7f3;border:1px solid #dce5db;border-radius:8px;padding:18px 22px}
.tae-survey .ts-category-top{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:7px}
.tae-survey .ts-category-label{font-size:14px;font-weight:650}
.tae-survey .ts-category-value{font-size:13px;font-weight:600;color:#5d6e65;background:#e9eee6;border-radius:5px;padding:4px 11px;min-width:115px;text-align:center}
.tae-survey .ts-has-answer .ts-category-value{background:#dfeade;color:#365c3d}
.tae-survey .ts-category-row input[type=range]{background:linear-gradient(to right,#63836b var(--ts-fill,0%),#cbd8ca var(--ts-fill,0%))}
.tae-survey .ts-category-ticks{display:grid;grid-template-columns:repeat(var(--ts-options),minmax(0,1fr));gap:7px;margin-top:8px}
.tae-survey .ts-category-tick{position:relative;cursor:pointer;display:flex;align-items:center;justify-content:center;min-height:36px;text-align:center;font-size:12px;line-height:1.3;border-radius:5px;border:1px solid #d2ddd0;background:#fff;padding:7px 5px}
.tae-survey .ts-category-tick input{position:absolute;opacity:0;width:1px;height:1px}
.tae-survey .ts-category-tick:has(input:checked){border-color:#5c7e62;background:#e2eddf;font-weight:650;color:#365c3d}
.tae-survey .ts-category-tick:has(input:focus-visible){outline:3px solid #276d8b;outline-offset:2px}
.tae-survey .ts-navigation{margin-top:30px;padding-top:23px}
@media(max-width:800px){.tae-survey .ts-question-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px}.tae-survey .ts-question{grid-column:span 2}.tae-survey .ts-width-half{grid-column:span 1}.tae-survey .ts-matrix-head{display:none}.tae-survey .ts-matrix-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding:13px}.tae-survey .ts-matrix-label{grid-column:1/-1;padding:0 0 5px}.tae-survey .ts-matrix-cell{gap:8px;justify-content:flex-start;font-size:12px;border:1px solid #cad7c9;border-radius:5px;padding:8px}.tae-survey .ts-matrix-option-label{display:inline}.tae-survey .ts-width-third .ts-row{grid-template-columns:1fr minmax(100px,35%)}}
@media(max-width:540px){.tae-survey[data-theme=integrated]{padding:15px 14px 32px}.tae-survey .ts-main{padding:24px 18px}.tae-survey .ts-question-grid{display:block}.tae-survey .ts-question{margin-bottom:26px}.tae-survey .ts-main h2{font-size:23px}.tae-survey .ts-header{padding-bottom:18px}.tae-survey .ts-percentage{padding:14px;gap:15px}.tae-survey .ts-percent-number{width:87px}.tae-survey .ts-percent-number input{width:63px}.tae-survey .ts-category-row{padding:15px}.tae-survey .ts-category-ticks{grid-template-columns:repeat(3,minmax(0,1fr))}.tae-survey .ts-category-tick{min-height:43px}.tae-survey .ts-matrix-row{grid-template-columns:repeat(2,minmax(0,1fr))}.tae-survey .ts-form-guide{margin-bottom:22px}.tae-survey .ts-resume{padding:13px}}
