@charset "UTF-8";

:root {
  --survey-ink: #153d52;
  --survey-teal: #087f72;
  --survey-teal-dark: #06665d;
  --survey-teal-pale: #e7f6f2;
  --survey-sand: #f4b85b;
  --survey-bg: #f4f8f8;
  --survey-card: #ffffff;
  --survey-line: #d8e6e4;
  --survey-muted: #61767d;
  --survey-danger: #a63737;
  --survey-shadow: 0 18px 50px rgba(17, 67, 75, .10);
}

.survey-page { margin: 0; min-height: 100vh; background: var(--survey-bg); color: #263b43; }
.survey-page *, .survey-page *::before, .survey-page *::after { box-sizing: border-box; }
.survey-page button, .survey-page input, .survey-page select, .survey-page textarea { font: inherit; }
.survey-container { width: min(1120px, calc(100% - 32px)); margin-inline: auto; }
.skip-link { position: fixed; inset-block-start: 8px; inset-inline-start: 8px; z-index: 1000; transform: translateY(-150%); background: #fff; color: var(--survey-ink); padding: 10px 16px; border-radius: 8px; box-shadow: var(--survey-shadow); }
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.survey-header { background: #fff; border-bottom: 1px solid var(--survey-line); }
.survey-header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.survey-brand { display: flex; align-items: center; gap: 11px; color: var(--survey-ink); }
.survey-brand img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.survey-brand span { display: grid; line-height: 1.35; }
.survey-brand strong { font-family: var(--font-head, sans-serif); }
.survey-brand small { color: var(--survey-muted); font-size: .76rem; }
.header-links { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; justify-content: flex-end; }
.library-link, .home-link { font-weight: 700; padding: 8px 12px; border-radius: 8px; }
.library-link { color: var(--survey-ink); }
.library-link:hover { color: var(--survey-teal-dark); background: #f1f6f5; }
.home-link { color: var(--survey-teal-dark); font-weight: 700; padding: 8px 12px; border-radius: 8px; }
.home-link:hover { background: var(--survey-teal-pale); }

.survey-hero { color: #fff; padding: 54px 0 88px; background: radial-gradient(circle at 12% 10%, rgba(244,184,91,.22), transparent 26%), linear-gradient(135deg, #103f54 0%, #087f72 100%); }
.hero-content { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 48px; align-items: center; }
.eyebrow, .step-kicker { margin: 0 0 8px; color: var(--survey-sand); font-weight: 800; letter-spacing: .01em; }
.survey-hero h1 { color: #fff; margin: 0 0 14px; font-size: clamp(2rem, 4vw, 3.35rem); line-height: 1.3; }
.hero-lead { max-width: 730px; margin: 0; color: #eaf7f5; font-size: clamp(1rem, 1.8vw, 1.18rem); line-height: 1.9; }
.privacy-card { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border: 1px solid rgba(255,255,255,.26); background: rgba(255,255,255,.10); border-radius: 18px; backdrop-filter: blur(8px); }
.privacy-icon { flex: 0 0 36px; width: 36px; height: 36px; display: grid; place-items: center; background: var(--survey-sand); color: var(--survey-ink); border-radius: 50%; font-weight: 900; }
.privacy-card strong { display: block; color: #fff; margin-bottom: 3px; }
.privacy-card p { margin: 0; color: #e8f5f3; font-size: .9rem; line-height: 1.65; }
.guarantee-signatures { display: flex; flex-wrap: wrap; gap: 5px 15px; margin-top: 10px; font-size: .78rem; font-weight: 800; }
.privacy-card .guarantee-signatures { color: #fff4d8; }
.guarantee-signatures span { white-space: nowrap; }

.survey-layout { display: grid; grid-template-columns: 275px minmax(0, 1fr); gap: 26px; align-items: start; margin-top: -48px; padding-bottom: 70px; }
.progress-card, .form-card { background: var(--survey-card); border: 1px solid rgba(216,230,228,.9); border-radius: 22px; box-shadow: var(--survey-shadow); }
.progress-card { position: sticky; top: 18px; padding: 22px; }
.progress-card ol { list-style: none; margin: 0; padding: 0; }
.progress-card li { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 12px; min-height: 82px; color: #859398; }
.progress-card li:not(:last-child)::after { content: ""; position: absolute; right: 19px; top: 42px; height: 38px; width: 2px; background: #e1e9e8; }
.progress-card li > span { width: 40px; height: 40px; display: grid; place-items: center; border: 2px solid #d7e1df; background: #fff; border-radius: 50%; font-weight: 800; }
.progress-card li div { padding-top: 1px; }
.progress-card strong, .progress-card small { display: block; line-height: 1.55; }
.progress-card strong { font-size: .94rem; }
.progress-card small { font-size: .76rem; }
.progress-card li.is-active { color: var(--survey-ink); }
.progress-card li.is-active > span { background: var(--survey-teal); border-color: var(--survey-teal); color: #fff; box-shadow: 0 0 0 5px var(--survey-teal-pale); }
.progress-card li.is-complete { color: var(--survey-teal-dark); }
.progress-card li.is-complete > span { border-color: var(--survey-teal); color: transparent; background: var(--survey-teal-pale); position: relative; }
.progress-card li.is-complete > span::after { content: "✓"; position: absolute; color: var(--survey-teal-dark); }

.form-card { min-height: 580px; padding: clamp(24px, 4vw, 48px); }
.survey-step[hidden], .success-state[hidden] { display: none !important; }
.step-heading { margin-bottom: 30px; }
.step-heading .step-kicker { color: var(--survey-teal-dark); font-size: .84rem; }
.step-heading h2 { margin: 0 0 9px; color: var(--survey-ink); font-size: clamp(1.55rem, 3vw, 2.15rem); }
.step-heading p { margin: 0; color: var(--survey-muted); line-height: 1.75; }
.field-group { margin-bottom: 23px; }
.field-group label { display: block; margin-bottom: 8px; color: var(--survey-ink); font-weight: 800; }
.field-group select, .field-group > input, .search-field input, .other-card textarea, .admin-field input { width: 100%; border: 1.5px solid #cddcda; color: #243940; background: #fff; border-radius: 12px; outline: none; transition: border .18s, box-shadow .18s; }
.field-group select { min-height: 54px; padding: 0 15px; }
.field-group > input { min-height: 54px; padding: 0 15px; }
.field-group > input[type="file"] { height: auto; min-height: 58px; padding: 9px; cursor: pointer; }
.field-group > input[type="file"]::file-selector-button { min-height: 38px; margin-inline-end: 10px; padding: 7px 13px; border: 0; border-radius: 9px; color: #fff; background: var(--survey-teal); cursor: pointer; font-weight: 800; }
.field-group label small { color: var(--survey-muted); font-size: .76rem; font-weight: 600; }
.search-field { position: relative; }
.search-field span { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--survey-teal); font-size: 1.35rem; pointer-events: none; }
.search-field input { min-height: 52px; padding: 0 48px 0 15px; }
.institution-combobox { position: relative; }
.institution-results { position: absolute; z-index: 35; inset-inline: 0; top: calc(100% + 7px); max-height: 330px; overflow-y: auto; padding: 7px; border: 1.5px solid #b9d2ce; border-radius: 13px; background: #fff; box-shadow: 0 18px 42px rgba(20,61,70,.18); }
.institution-results[hidden] { display: none; }
.institution-result { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 9px 11px; border: 0; border-radius: 9px; color: #263e46; background: #fff; text-align: right; cursor: pointer; }
.institution-result + .institution-result { margin-top: 3px; }
.institution-result:hover, .institution-result.is-active { background: var(--survey-teal-pale); color: var(--survey-ink); }
.institution-result[aria-selected="true"] { box-shadow: inset 0 0 0 1px var(--survey-teal); background: #eef9f6; }
.institution-result-name { min-width: 0; line-height: 1.55; font-weight: 700; }
.institution-result-type { flex: 0 0 auto; padding: 2px 8px; border-radius: 999px; color: var(--survey-teal-dark); background: #edf5f3; font-size: .7rem; white-space: nowrap; }
.institution-results-empty { padding: 17px 12px; color: var(--survey-muted); text-align: center; font-size: .88rem; }
.field-group select:focus, .field-group > input:focus, .search-field input:focus, .other-card textarea:focus, .admin-field input:focus { border-color: var(--survey-teal); box-shadow: 0 0 0 4px rgba(8,127,114,.12); }
.field-group select:disabled, .search-field input:disabled { background: #eef3f2; color: #7b898d; cursor: wait; }
.field-hint { margin: 6px 2px 0; color: var(--survey-muted); font-size: .82rem; }
.field-error { margin: 7px 2px 0; color: var(--survey-danger); font-weight: 700; font-size: .86rem; }

.step-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid #e8efee; margin-top: 32px; padding-top: 24px; }
.single-action { justify-content: flex-end; }
.survey-button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 11px 22px; border: 1px solid transparent; border-radius: 12px; cursor: pointer; font-weight: 800; text-decoration: none; transition: transform .16s, background .16s, box-shadow .16s; }
.survey-button:hover:not(:disabled) { transform: translateY(-1px); }
.survey-button:focus-visible, .text-button:focus-visible, .ranking-action:focus-visible, .problem-option input:focus-visible + .problem-copy { outline: 3px solid rgba(244,184,91,.8); outline-offset: 2px; }
.survey-button.primary { color: #fff; background: var(--survey-teal); box-shadow: 0 8px 20px rgba(8,127,114,.20); }
.survey-button.primary:hover { background: var(--survey-teal-dark); color: #fff; }
.survey-button.secondary { color: var(--survey-ink); background: #fff; border-color: #cddcda; }
.survey-button.compact { min-height: 42px; padding: 8px 16px; color: #fff; background: var(--survey-teal); }
.survey-button:disabled { opacity: .48; cursor: not-allowed; }

.problem-toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.problem-toolbar .search-field { flex: 1; }
.text-button { border: 0; background: transparent; color: var(--survey-teal-dark); cursor: pointer; font-weight: 800; padding: 10px; }
.theme-list { display: grid; gap: 12px; }
.theme-card { border: 1px solid var(--survey-line); border-radius: 14px; overflow: hidden; background: #fff; }
.theme-card summary { list-style: none; display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 14px 16px; cursor: pointer; color: var(--survey-ink); font-weight: 800; background: #fbfdfc; }
.theme-card summary::-webkit-details-marker { display: none; }
.theme-card summary::before { content: "+"; order: 3; margin-inline-start: auto; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: var(--survey-teal-dark); background: var(--survey-teal-pale); font-size: 1.15rem; }
.theme-card[open] summary::before { content: "−"; }
.theme-number { flex: 0 0 auto; color: var(--survey-teal-dark); background: var(--survey-teal-pale); padding: 3px 9px; border-radius: 999px; font-size: .75rem; }
.theme-selected-count { color: #fff; background: var(--survey-teal); padding: 2px 8px; border-radius: 999px; font-size: .72rem; }
.theme-priority-toggle {
  border: 1px solid #9ecdc5;
  color: var(--survey-teal-dark);
  background: #f5fbf8;
  border-radius: 999px;
  padding: 6px 10px;
  font-weight: 800;
  font-size: .74rem;
  margin-inline-start: 8px;
  cursor: pointer;
}
.theme-priority-toggle:hover { background: #e6f4ef; border-color: #79b5ab; }
.theme-priority-toggle.is-selected { background: var(--survey-teal); border-color: var(--survey-teal); color: #fff; }
.theme-priority-toggle:focus-visible { outline: 3px solid rgba(244,184,91,.85); outline-offset: 2px; }
.theme-options { display: grid; gap: 9px; padding: 0 13px 14px; border-top: 1px solid #edf2f1; }
.problem-option { position: relative; display: block; cursor: pointer; padding-top: 10px; }
.problem-option input { position: absolute; opacity: 0; pointer-events: none; }
.problem-copy { min-height: 52px; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid #dfe9e7; border-radius: 11px; line-height: 1.6; transition: background .16s, border .16s; }
.problem-copy::before { content: ""; flex: 0 0 22px; width: 22px; height: 22px; border: 2px solid #b9cdca; border-radius: 6px; background: #fff; }
.problem-option:hover .problem-copy { border-color: #a9cbc5; background: #f8fcfb; }
.problem-option input:checked + .problem-copy { border-color: var(--survey-teal); background: var(--survey-teal-pale); color: #123f47; font-weight: 700; }
.problem-option input:checked + .problem-copy::before { content: attr(data-rank); display: grid; place-items: center; border-color: var(--survey-teal); background: var(--survey-teal); color: #fff; font-size: .73rem; font-weight: 900; }
.empty-state { text-align: center; border: 1px dashed #bcd0cd; border-radius: 12px; padding: 26px; color: var(--survey-muted); background: #fbfdfd; }
.other-card { margin-top: 22px; padding: 20px; border: 1px dashed #abc9c4; background: #f9fcfb; border-radius: 14px; }
.other-card label { color: var(--survey-ink); }
.other-card p { margin: 4px 0 12px; color: var(--survey-muted); font-size: .88rem; line-height: 1.65; }
.other-card textarea { min-height: 112px; resize: vertical; padding: 12px 14px; }
.character-count { text-align: left; color: var(--survey-muted); font-size: .76rem; }
.selection-bar { position: sticky; bottom: 10px; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 18px; padding: 12px 16px; color: #fff; background: rgba(21,61,82,.96); border-radius: 14px; box-shadow: 0 14px 30px rgba(15,48,65,.22); backdrop-filter: blur(10px); }
.selection-bar strong, .selection-bar small { display: block; }
.selection-bar small { color: #cfe2e2; font-size: .75rem; }
.centered-error { text-align: center; }

.context-summary { display: grid; gap: 9px; padding: 18px 20px; border-radius: 14px; background: #f1f7f6; border: 1px solid var(--survey-line); margin-bottom: 26px; }
.context-summary div { display: grid; grid-template-columns: 115px 1fr; gap: 12px; }
.context-summary span { color: var(--survey-muted); font-size: .83rem; }
.context-summary strong { color: var(--survey-ink); }
.ranking-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 11px; }
.ranking-header h3 { margin: 0; color: var(--survey-ink); font-size: 1.1rem; }
.ranking-header span { color: var(--survey-muted); font-size: .8rem; }
.ranking-header small { color: var(--survey-muted); font-size: .72rem; max-width: 70%; text-align: left; }
.ranking-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.ranking-block { margin: 0; }
.ranking-list { display: grid; gap: 9px; list-style: none; counter-reset: rank; margin: 0; padding: 0; }
.ranking-item { counter-increment: rank; display: grid; grid-template-columns: 38px minmax(0,1fr) auto; align-items: center; gap: 12px; padding: 11px 12px; border: 1px solid var(--survey-line); border-radius: 12px; background: #fff; }
.ranking-item::before { content: counter(rank); width: 34px; height: 34px; display: grid; place-items: center; color: #fff; background: var(--survey-teal); border-radius: 10px; font-weight: 900; }
.ranking-copy { min-width: 0; line-height: 1.55; color: #274149; }
.ranking-copy small { display: block; color: var(--survey-muted); font-size: .72rem; }
.ranking-item.is-theme { border-color: #b5d8d2; background: #f4fbf9; }
.ranking-item.is-theme .ranking-copy small { color: var(--survey-teal-dark); font-weight: 800; }
.ranking-actions { display: flex; gap: 5px; }
.ranking-action { width: 36px; height: 36px; border: 1px solid #d3e0de; color: var(--survey-ink); background: #f8fbfa; border-radius: 9px; cursor: pointer; font-weight: 900; }
.ranking-action:hover { background: var(--survey-teal-pale); border-color: #9fc9c2; }
.ranking-action.remove { color: var(--survey-danger); }
.ranking-action:disabled { opacity: .32; cursor: not-allowed; }
.participant-section { margin-top: 30px; padding-top: 28px; border-top: 1px solid #e1eae8; }
.participant-heading { margin-bottom: 17px; }
.participant-heading h3 { margin: 0 0 7px; color: var(--survey-ink); font-size: 1.2rem; }
.participant-heading p { margin: 0; color: var(--survey-muted); line-height: 1.7; }
.research-guarantee { margin-bottom: 22px; padding: 17px 18px; border: 1px solid #b9d9d3; border-radius: 14px; background: var(--survey-teal-pale); }
.research-guarantee strong { display: block; margin-bottom: 5px; color: var(--survey-teal-dark); }
.research-guarantee p { margin: 0; color: #31535a; line-height: 1.75; font-size: .9rem; }
.research-guarantee .guarantee-signatures { color: var(--survey-ink); }
.participant-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.participant-wide { grid-column: 1 / -1; }
.consent-card { display: flex; gap: 13px; align-items: flex-start; margin-top: 26px; padding: 18px; border: 1px solid #caddda; border-radius: 14px; cursor: pointer; background: #fbfdfd; }
.consent-card input { flex: 0 0 auto; width: 22px; height: 22px; margin-top: 4px; accent-color: var(--survey-teal); }
.consent-card strong, .consent-card small { display: block; }
.consent-card strong { color: var(--survey-ink); line-height: 1.65; }
.consent-card small { color: var(--survey-muted); margin-top: 4px; }
.bot-field { position: absolute; right: -9999px; width: 1px; height: 1px; overflow: hidden; }
.message { padding: 13px 15px; margin-bottom: 20px; border-radius: 11px; font-weight: 700; }
.message-error { color: #7f2828; background: #fff0f0; border: 1px solid #efcaca; }
.message-success { color: #075d53; background: #eaf8f4; border: 1px solid #b9ddd5; }

.success-state { text-align: center; max-width: 630px; margin: 40px auto; }
.success-mark { width: 76px; height: 76px; margin: 0 auto 22px; display: grid; place-items: center; color: #fff; background: var(--survey-teal); border-radius: 50%; font-size: 2rem; box-shadow: 0 0 0 10px var(--survey-teal-pale); }
.success-state .step-kicker { color: var(--survey-teal-dark); }
.success-state h2 { margin: 4px 0 12px; color: var(--survey-ink); font-size: 2rem; }
.success-state > p { color: var(--survey-muted); line-height: 1.85; }
.response-reference { display: inline-block; margin: 18px 0 25px; padding: 8px 14px; color: var(--survey-ink); background: #f0f6f5; border-radius: 9px; font-size: .85rem; }
.survey-footer { padding: 30px 0; color: #b8ccce; background: #153d52; text-align: center; font-size: .84rem; }
.survey-footer p { margin: 2px 0; }
.noscript-message { position: fixed; inset: auto 12px 12px; z-index: 100; padding: 15px; color: #fff; background: #8d3030; border-radius: 10px; text-align: center; }

.admin-shell { max-width: 690px; margin: 50px auto; }
.admin-dashboard-shell { max-width: 1280px; margin: 42px auto 70px; }
.admin-card { background: #fff; padding: clamp(24px,5vw,44px); border: 1px solid var(--survey-line); border-radius: 20px; box-shadow: var(--survey-shadow); }
.admin-card h1 { color: var(--survey-ink); margin-top: 0; }
.admin-login-card { max-width: 590px; margin-inline: auto; }
.admin-field { margin: 20px 0; }
.admin-field label { display: block; font-weight: 800; color: var(--survey-ink); margin-bottom: 7px; }
.admin-field input, .admin-field select, .dashboard-filter input { width: 100%; min-height: 50px; padding: 0 14px; border: 1.5px solid #cddcda; border-radius: 12px; color: #243940; background: #fff; outline: none; }
.admin-field input:focus, .admin-field select:focus, .dashboard-filter input:focus { border-color: var(--survey-teal); box-shadow: 0 0 0 4px rgba(8,127,114,.12); }
#admin-password { direction: ltr; }
.admin-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.danger-button { color: var(--survey-danger) !important; border-color: #e2bebe !important; }
#dashboard[hidden], #login-panel[hidden] { display: none !important; }
.dashboard-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-bottom: 30px; }
.dashboard-heading h1 { margin: 0 0 6px; color: var(--survey-ink); }
.dashboard-heading p { margin: 0; color: var(--survey-muted); }
.dashboard-card { margin-top: 22px; padding: clamp(20px, 3vw, 30px); border: 1px solid var(--survey-line); border-radius: 18px; background: #fff; box-shadow: 0 10px 32px rgba(17,67,75,.07); }
.dashboard-section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.dashboard-section-heading h2 { margin: 0 0 5px; color: var(--survey-ink); font-size: 1.25rem; }
.dashboard-section-heading p { margin: 0; color: var(--survey-muted); line-height: 1.65; font-size: .88rem; }
.dashboard-grid { display: grid; gap: 22px; }
.dashboard-grid-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stat-card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.stat-card { min-height: 118px; display: grid; align-content: center; gap: 7px; padding: 20px; border: 1px solid var(--survey-line); border-radius: 16px; background: linear-gradient(145deg, #fff, #f1f8f6); }
.stat-card strong { color: var(--survey-teal-dark); font-size: clamp(1.55rem, 3vw, 2.15rem); line-height: 1; }
.stat-card span { color: var(--survey-muted); font-size: .86rem; font-weight: 700; }
 .split-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.split-stats h3 { margin: 0 0 13px; color: var(--survey-ink); font-size: .95rem; }
.bar-list { display: grid; gap: 12px; }
.bar-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 5px; color: #31515a; font-size: .82rem; }
.bar-heading span { overflow-wrap: anywhere; }
.bar-heading strong { color: var(--survey-ink); }
.bar-track { height: 8px; overflow: hidden; border-radius: 999px; background: #e7efee; }
.bar-fill { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--survey-teal), #43ad9d); }
.empty-inline { margin: 0; color: var(--survey-muted); font-size: .86rem; }
.mini-chart { min-height: 230px; display: flex; align-items: flex-end; gap: 7px; overflow-x: auto; padding: 22px 4px 2px; }
.chart-column { flex: 1 0 32px; height: 190px; display: grid; grid-template-rows: 25px 1fr 23px; align-items: end; justify-items: center; color: var(--survey-muted); }
.chart-column strong { font-size: .75rem; }
.chart-column small { font-size: .65rem; direction: ltr; }
.chart-bar { width: min(24px, 80%); min-height: 8px; align-self: end; border-radius: 7px 7px 3px 3px; background: linear-gradient(180deg, var(--survey-sand), var(--survey-teal)); }
.verification-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.verification-card { padding: 17px; border-radius: 14px; background: #f2f8f7; border: 1px solid var(--survey-line); }
.verification-card strong, .verification-card span, .verification-card small { display: block; }
.verification-card strong { color: var(--survey-teal-dark); font-size: 1.55rem; }
.verification-card span { margin: 3px 0; color: var(--survey-ink); font-weight: 800; }
.verification-card small { color: var(--survey-muted); }
.table-scroll { overflow-x: auto; border: 1px solid #e0eae8; border-radius: 13px; }
.dashboard-card table { width: 100%; border-collapse: collapse; min-width: 620px; }
.dashboard-card th, .dashboard-card td { padding: 12px 13px; border-bottom: 1px solid #e8efee; text-align: right; vertical-align: top; }
.dashboard-card th { color: var(--survey-ink); background: #f3f8f7; font-size: .8rem; white-space: nowrap; }
.dashboard-card td { color: #365159; font-size: .84rem; }
.dashboard-card tbody tr:last-child td { border-bottom: 0; }
.dashboard-card tbody tr:hover { background: #fbfdfd; }
.empty-table-cell { padding: 25px !important; text-align: center !important; color: var(--survey-muted) !important; }
.table-primary { min-width: 145px; color: var(--survey-ink); font-weight: 700; }
.table-primary small { display: block; margin-top: 3px; color: var(--survey-muted); font-size: .72rem; font-weight: 500; }
.compact-field { margin: 0 0 15px; }
.compact-field select { min-height: 46px; }
.dashboard-filter { width: min(300px, 100%); }
.dashboard-filter input { min-height: 44px; }
.other-admin-list, .catalog-admin-list { display: grid; gap: 10px; }
.other-admin-item, .catalog-admin-item { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 15px; border: 1px solid #dfe9e7; border-radius: 12px; background: #fbfdfd; }
.other-admin-copy, .catalog-admin-copy { min-width: 0; }
.other-admin-copy strong, .other-admin-copy small, .catalog-admin-copy strong, .catalog-admin-copy small { display: block; }
.other-admin-copy strong, .catalog-admin-copy strong { color: var(--survey-ink); line-height: 1.65; overflow-wrap: anywhere; }
.other-admin-copy small, .catalog-admin-copy small { margin-top: 4px; color: var(--survey-muted); font-size: .74rem; }
.row-actions { flex: 0 0 auto; display: flex; gap: 7px; flex-wrap: wrap; }
.small-action { min-height: 36px; padding: 6px 11px; border: 1px solid #bed6d2; border-radius: 9px; color: var(--survey-teal-dark); background: #fff; cursor: pointer; font-weight: 800; font-size: .76rem; }
.small-action:hover { background: var(--survey-teal-pale); }
.small-action.danger { color: var(--survey-danger); border-color: #e1bebe; }
.small-action.danger:hover { background: #fff1f1; }
.problem-admin-form { display: grid; grid-template-columns: minmax(0, 2fr) minmax(210px, 1fr) auto; gap: 14px; align-items: end; margin-bottom: 20px; padding: 18px; border-radius: 14px; background: #f3f8f7; }
.problem-admin-form .admin-field { margin: 0; }
.problem-admin-form .survey-button { min-height: 50px; }
.catalog-filter { margin: 0 0 14px; }
.admin-added-badge { display: inline-block !important; margin-inline-start: 8px; padding: 2px 7px; border-radius: 999px; color: var(--survey-teal-dark); background: var(--survey-teal-pale); font-size: .65rem; vertical-align: middle; }

@media (max-width: 850px) {
  .hero-content { grid-template-columns: 1fr; gap: 25px; }
  .privacy-card { max-width: 520px; }
  .survey-layout { grid-template-columns: 1fr; margin-top: -55px; }
  .progress-card { position: static; padding: 14px; }
  .progress-card ol { display: grid; grid-template-columns: repeat(3, 1fr); }
  .progress-card li { display: flex; align-items: center; justify-content: center; min-height: auto; }
  .progress-card li:not(:last-child)::after { top: 20px; right: calc(50% + 20px); width: calc(100% - 40px); height: 2px; }
  .progress-card li div { display: none; }
  .progress-card li > span { position: relative; z-index: 2; }
  .dashboard-grid-two { grid-template-columns: 1fr; }
  .stat-card-grid, .verification-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split-stats { grid-template-columns: 1fr; }
  .problem-admin-form { grid-template-columns: 1fr; align-items: stretch; }
}

@media (max-width: 600px) {
  .survey-container { width: min(100% - 20px, 1120px); }
  .survey-header-inner { min-height: 66px; }
  .survey-brand img { width: 42px; height: 42px; }
  .survey-brand small { display: none; }
  .header-links { gap: 2px; }
  .library-link, .home-link { padding: 6px 7px; font-size: .76rem; }
  .survey-hero { padding: 38px 0 78px; }
  .hero-lead { font-size: .96rem; }
  .privacy-card { padding: 14px; }
  .form-card { padding: 24px 16px; border-radius: 18px; }
  .progress-card { border-radius: 16px; }
  .step-heading { margin-bottom: 24px; }
  .theme-card summary { align-items: flex-start; }
  .theme-number { display: none; }
  .selection-bar { bottom: 6px; }
  .selection-bar .survey-button { display: none; }
  .desktop-next { display: inline-flex; }
  .step-actions { align-items: stretch; }
  .step-actions .survey-button { flex: 1; padding-inline: 12px; font-size: .88rem; }
  .single-action .survey-button { flex: 1; }
  .context-summary div { grid-template-columns: 1fr; gap: 0; }
  .participant-grid { grid-template-columns: 1fr; }
  .participant-wide { grid-column: auto; }
  .ranking-columns { grid-template-columns: 1fr; }
  .ranking-item { grid-template-columns: 34px minmax(0,1fr); }
  .ranking-actions { grid-column: 1 / -1; justify-content: flex-end; border-top: 1px solid #edf2f1; padding-top: 8px; }
  .admin-dashboard-shell { width: min(100% - 20px, 1280px); margin-top: 25px; }
  .dashboard-heading, .dashboard-section-heading, .other-admin-item, .catalog-admin-item { align-items: stretch; flex-direction: column; }
  .dashboard-heading { display: flex; }
  .dashboard-section-heading { display: flex; }
  .stat-card-grid, .verification-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .stat-card { min-height: 98px; padding: 15px; }
  .dashboard-card { padding: 18px 13px; border-radius: 15px; }
  .dashboard-filter { width: 100%; }
  .row-actions { width: 100%; }
  .row-actions .small-action { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .survey-page *, .survey-page *::before, .survey-page *::after { scroll-behavior: auto !important; transition: none !important; }
}
