/* finfoglobal: flat, native form-management workspace. */
:root {
  --LS-admintheme-basecolor: #c41e3a !important;
  --cs-primary: #c41e3a; --cs-dark: #a21630; --cs-tint: #fbf0f2; --cs-ink: #202126;
  --cs-canvas: #fff; --cs-line: #e5e5e2; --cs-muted: #666a70; --cs-surface: #fff;
  --cs-shadow: none;
  --bs-primary: #c41e3a; --bs-primary-rgb: 196,30,58;
  --bs-link-color: #b21a34; --bs-link-hover-color: #9b1028;
  --bs-body-font-family: -apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;
  --bs-body-color: #202126; --bs-body-bg: #fff;
}
body { background: var(--cs-canvas); color: var(--cs-ink); font-family: var(--bs-body-font-family); font-size: 14px; line-height: 1.6; }
h1,h2,h3,h4,h5,h6 { color: var(--cs-ink); font-family: inherit; letter-spacing: -.018em; }
a, .ls-link, a .remix { color: var(--cs-primary); }
a:hover, .ls-link:hover { color: var(--cs-dark); }
body nav.navbar { background: #fff !important; border-bottom: 1px solid var(--cs-line); box-shadow: none; }
body nav.navbar > .container-fluid { padding-inline: 24px; }
body nav.navbar .navbar-brand { display: flex; align-items: center; gap: 18px; margin-right: 26px; color: var(--cs-ink); }
body nav.navbar .navbar-brand img.cs-logo { width: 148px; height: 36px; object-fit: contain; }
.cs-workspace-name { border-left: 1px solid var(--cs-line); padding-left: 18px; color: #555953; font-size: 13px; font-weight: 500; letter-spacing: .04em; }
body nav.navbar .nav-link, body nav.navbar .nav-link:focus { color: #4a4a4a !important; font-weight: 500; }
body nav.navbar .nav-link:hover, body nav.navbar .nav-link.show { background: var(--cs-tint); color: var(--cs-primary) !important; }
body nav.navbar .rounded-circle { background: var(--cs-tint); color: var(--cs-primary); }
body nav.navbar .navbar-toggler { color: var(--cs-primary); border-color: #ddd; }
body nav.navbar .navbar-toggler-icon { width:24px; height:24px; filter:none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 6h16M4 12h16M4 18h16' fill='none' stroke='%23c41e3a' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 24px 24px no-repeat; }
body nav.navbar #notification-li .badge { background: var(--cs-primary); color: #fff; }
body #layout_sidebar .sidebar { background: #fff; border-right: 1px solid #eee; }
body #layout_sidebar .sidebar-icons { padding-top: 18px; }
body #layout_sidebar .sidebar-icon .btn { background: transparent; color: #737373; border: 0; border-radius: 3px; }
body #layout_sidebar .sidebar-icon .btn:hover, body #layout_sidebar .sidebar-icon .btn.active { background: var(--cs-tint); color: var(--cs-primary); }
body .btn { font-weight: 500; border-radius: 3px; box-shadow: none; transition: color .15s ease, background-color .15s ease, border-color .15s ease; }
body .btn:hover, body .btn:focus, body .btn:active, body .btn.dropdown-toggle.show { box-shadow: none; }
body .btn-primary, body .btn-info, body .btn-create {
  --bs-btn-bg: #c41e3a; --bs-btn-border-color: #c41e3a; --bs-btn-color: #fff;
  --bs-btn-hover-bg: #9b1028; --bs-btn-hover-border-color: #9b1028; --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: #9b1028; --bs-btn-active-border-color: #9b1028; --bs-btn-active-color: #fff;
  --bs-btn-disabled-bg: #c41e3a; --bs-btn-disabled-border-color: #c41e3a;
  background-color: var(--cs-primary); border-color: var(--cs-primary); color: #fff;
}
body .btn-primary:hover, body .btn-info:hover, body .btn-create:hover { background-color: var(--cs-dark); border-color: var(--cs-dark); color: #fff; }
/* The locked base theme uses literal colors for states, not Bootstrap variables. */
body :is(.btn-primary,.btn-info,.btn-create):is(:focus,:active,.active,.show),
body .btn-check:is(:checked,:active,:focus) + :is(.btn-primary,.btn-info,.btn-create) { background-color: var(--cs-dark) !important; border-color: var(--cs-dark) !important; color: #fff !important; box-shadow: none; }
body :is(.btn-primary,.btn-info,.btn-create):is(:disabled,.disabled,[disabled]),
body fieldset:disabled :is(.btn-primary,.btn-info,.btn-create) { background-color: var(--cs-primary) !important; border-color: var(--cs-primary) !important; color: #fff !important; opacity: .5; box-shadow: none; }
body .btn-outline-primary, body .btn-outline-secondary { color: var(--cs-primary); border-color: #e2a8b2; background: #fff; }
body .btn-outline-primary:hover, body .btn-outline-secondary:hover { color: var(--cs-dark); background: var(--cs-tint); border-color: var(--cs-primary); }
body :is(.btn-outline-primary,.btn-outline-secondary):is(:focus,:active,.active,.show) { color: var(--cs-dark); background: var(--cs-tint); border-color: var(--cs-primary); }
body .btn-link { color: var(--cs-primary); }
body .btn:focus-visible, body a:focus-visible { outline: 3px solid #e85d7580; outline-offset: 3px; }
body .nav-tabs { border-color: #eee; }
body .nav-tabs .nav-link { color: #737373; }
body .nav-tabs .nav-link.active, body .nav-tabs .nav-link.active:hover { color: var(--cs-primary); border-bottom-color: var(--cs-primary); }
body .nav-tabs .nav-item.active > .nav-link { color: var(--cs-primary); border-color: var(--cs-primary); }
body .dropdown-menu { border: 1px solid var(--cs-line); padding: 6px; border-radius: 3px; box-shadow: none; }
body .dropdown-item { border-radius: 3px; padding-block: 8px; }
body .dropdown-item:hover, body .dropdown-item:focus { background: var(--cs-tint); color: var(--cs-dark); }
body .dropdown-item.active, body .dropdown-item:active { background: var(--cs-primary); color: #fff; }
body .form-control, body .form-select { border-color: #d8dad6; border-radius: 3px; color: var(--cs-ink); background-color: #fff; }
body .form-control:focus, body .form-select:focus, body .select2-container--focus .select2-selection { border-color: var(--cs-primary); box-shadow: none; }
body .form-check-input:checked { background-color: var(--cs-primary); border-color: var(--cs-primary); }
body .form-check-input:focus { border-color: var(--cs-primary); box-shadow: none; }
body .select2-container--bootstrap-5 .select2-dropdown .select2-results__option--highlighted { background: var(--cs-primary); color: #fff; }
body .page-link, body .page-link:hover { color: var(--cs-primary); }
body .page-item.active .page-link { background: var(--cs-primary); border-color: var(--cs-primary); color: #fff; }
body .progress-bar { background-color: var(--cs-primary); }
body .text-primary { color: var(--cs-primary) !important; }
body .bg-primary { background-color: var(--cs-primary) !important; }
body .list-surveys { background: #fff; padding: 24px 28px; margin-top: 12px; margin-bottom: 32px; border: 1px solid var(--cs-line); border-radius: 3px; box-shadow: none; }
body.cs-survey-workspace :is(#in_survey_common_action,.survey-dashboard) #survey-search { margin-bottom: 0; }
body.cs-survey-workspace :is(#in_survey_common_action,.survey-dashboard) #survey-search .h3, body.cs-survey-workspace :is(#in_survey_common_action,.survey-dashboard) #survey-search h3 { font-size: 20px; font-weight: 600; }
body.cs-survey-workspace :is(#in_survey_common_action,.survey-dashboard) #survey-search .btn { padding: 9px 16px; border-radius: 3px; }
body #survey-grid table { border-collapse: separate; border-spacing: 0; margin-bottom: 0; padding: 0; box-shadow: none; }
body #survey-grid th { background: #f7f7f5; border-color: var(--cs-line); padding: 12px 14px; font-size: 12px; font-weight: 600; }
body #survey-grid th a { color: #62656b; }
body #survey-grid td { border-color: #edeeeb; padding: 14px; vertical-align: middle; font-size: 13px; line-height: 1.55; }
body #survey-grid tbody tr:hover, body #survey-grid tbody tr:hover > td { background: #fdf9fa; }
body #survey-grid tbody tr:has(input[type=checkbox]:checked) > td { background: #fbf0f2; }
body #survey-grid td a { color: #4a4a4a; }
body #survey-grid td:nth-child(4) { min-width: 260px; max-width: 520px; }
body #survey-grid td:nth-child(4) a { color: #1a1a1a; font-weight: 500; line-height: 1.6; overflow-wrap: anywhere; }
body #survey-grid td:nth-child(2), body #survey-grid td:nth-child(5), body #survey-grid td:nth-child(6) { font-variant-numeric: tabular-nums; font-size: 13px; color: #62656b; }
body #survey-grid td a:hover, body #survey-grid .action-list a { color: var(--cs-primary); }
body #survey-grid .action-list a:not(.disabled) i { color: var(--cs-primary); }
body.cs-survey-workspace :is(#in_survey_common_action,.survey-dashboard) #survey-search .btn-outline-info { background: var(--cs-primary); border-color: var(--cs-primary); color: #fff; }
body.cs-survey-workspace :is(#in_survey_common_action,.survey-dashboard) #survey-search .btn-outline-info:hover { background: var(--cs-dark); border-color: var(--cs-dark); }
body #surveysystem { margin: -6px 0 16px; gap: 24px; border-bottom: 1px solid var(--cs-line); }
body #surveysystem .nav-link { background: transparent; border: 0; border-bottom: 2px solid transparent; padding: 12px 0; border-radius: 3px; font-size: 14px; font-weight: 500; }
body #surveysystem .nav-link.active { border-top: 0; border-bottom: 2px solid var(--cs-primary); box-shadow: none; background: transparent; }
body #pjax-content { background: transparent; }
body #pjax-content .ls-breadcrumb { background: transparent; padding-top: 20px; padding-bottom: 10px; }
body #pjax-content .ls-breadcrumb h1 { font-size: 23px; font-weight: 600; }
body #breadcrumb-container a, body ol.breadcrumb.title-bar-breadcrumb a { color: var(--cs-primary); }
body #breadcrumb-container a:hover, body ol.breadcrumb.title-bar-breadcrumb a:hover { color: var(--cs-dark); }
/* These are navigation markers, not survey success or validation states. */
body #sidebar .menu-selected,
body #sidebar .subpanel[class*="level-"] .menu-selected,
body #sidebar .subpanel[class*="level-"] .selected { background: var(--cs-tint); }
body #sidebar .subpanel[class*="level-"] .selected .wrapper .icon { color: var(--cs-primary); }
body nav.navbar .nav-link { border: 0; border-radius: 3px; }
body.cs-survey-workspace :is(#in_survey_common_action,.survey-dashboard) #survey-search .form-control, body.cs-survey-workspace :is(#in_survey_common_action,.survey-dashboard) #survey-search .form-select { border: 1px solid #ddd; }
body .card, body .well { border-color: var(--cs-line); border-radius: 3px; box-shadow: none; }
body .card-header { background-color: #fff; border-color: var(--cs-line); }
body .card.card-primary { border: 1px solid var(--cs-line); border-radius: 3px; box-shadow: none; overflow: visible; }
body footer.footer, #donate-button, #help-button-dropup, #helpDropdown,
body a[href*="donate.limesurvey.org"], body a[href*="account.limesurvey.org"],
body a[href*="community.limesurvey.org"], body a[href*="limesurvey.org/pricing"] { display: none !important; }
/* The list owns its spacing; narrow viewports scroll the table, not the page. */
body.cs-survey-workspace #layout_sidebar { min-width: 0; }
body.cs-survey-workspace #layout_sidebar > .container-40 { min-width:0; padding-inline:24px; }
body.cs-survey-workspace #in_survey_common_action { min-width:0; padding-inline:0; }
body.cs-survey-workspace #pjax-content { width: 100%; max-width: 1560px; margin-inline: auto; }
body.cs-survey-workspace .topbar { background: var(--cs-canvas); }
body.cs-survey-workspace .survey-actionbar { padding: 16px 0 8px; }
body.cs-survey-workspace :is(#in_survey_common_action,.survey-dashboard) #survey-search > .align-items-baseline { display: grid !important; grid-template-columns: minmax(0,1fr) auto auto; align-items: center !important; gap: 16px 12px; width: 100%; }
body.cs-survey-workspace :is(#in_survey_common_action,.survey-dashboard) #survey-search .survey-actionbar-title { grid-column: 1; grid-row: 1; margin: 0; font-size: 20px; font-weight: 600; color: var(--cs-ink); line-height: 1.45; }
body.cs-survey-workspace :is(#in_survey_common_action,.survey-dashboard) #survey-search .survey-actionbar-filters { grid-column: 1 / -1; grid-row: 2; display: flex !important; flex-wrap: wrap; align-items: center; gap: 10px; width: auto !important; margin: 0 !important; }
body.cs-survey-workspace :is(#in_survey_common_action,.survey-dashboard) #survey-search .survey-actionbar-filters .survey-actionbar-item { min-width: 0; width: auto; margin: 0 !important; }
body.cs-survey-workspace :is(#in_survey_common_action,.survey-dashboard) #survey-search .survey-actionbar-filters .search-bar { width: min(360px,100%); }
body.cs-survey-workspace :is(#in_survey_common_action,.survey-dashboard) #survey-search .survey-actionbar-formfield { min-height: 42px; cursor: auto; font-size: 14px !important; line-height: 1.45; border-width: 1px; }
body.cs-survey-workspace :is(#in_survey_common_action,.survey-dashboard) #survey-search select.survey-actionbar-formfield { min-width: 120px; cursor: pointer; padding-right: 34px; }
body.cs-survey-workspace :is(#in_survey_common_action,.survey-dashboard) #survey-search .search-bar input { padding-right: 38px; }
body.cs-survey-workspace :is(#in_survey_common_action,.survey-dashboard) #survey-search .search-bar > i { top: 50%; right: 14px; transform: translateY(-50%); pointer-events: none; color: #7d8087; }
body.cs-survey-workspace :is(#in_survey_common_action,.survey-dashboard) #survey-search .survey-actionbar-actions { grid-column: 2; grid-row: 1; display: block !important; width: auto !important; margin: 0 !important; float: none; }
body.cs-survey-workspace :is(#in_survey_common_action,.survey-dashboard) #survey-search .survey-actionbar-actions .survey-actionbar-item { margin: 0; }
body.cs-survey-workspace :is(#in_survey_common_action,.survey-dashboard) #survey-search .survey-actionbar-actions .btn { min-height: 42px; display: inline-flex; align-items: center; gap: 5px; margin-bottom: 0; white-space: nowrap; font-size: 14px; }
body.cs-survey-workspace :is(#in_survey_common_action,.survey-dashboard) #survey-search .survey-actionbar-switch { grid-column: 3; grid-row: 1; position: static !important; margin: 0 !important; gap: 4px; }
body.cs-survey-workspace :is(#in_survey_common_action,.survey-dashboard) #survey-search .survey-actionbar-switch .view-switch { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin: 0; border-radius: 3px; }
body.cs-survey-workspace :is(#in_survey_common_action,.survey-dashboard) #survey-search .survey-actionbar-switch .view-switch[active] { background: var(--cs-tint); }
body.cs-survey-workspace :is(#in_survey_common_action,.survey-dashboard) #survey-search .survey-actionbar-item:has(> #survey_reset.d-none) { display: none; }
body.cs-survey-workspace :is(#in_survey_common_action,.survey-dashboard) #survey-search #survey_reset { min-height: 42px; margin: 0; padding-inline: 14px; font-size: 14px; color: #62656b; border: 1px solid #ddd; background: #fff; }
body.cs-survey-workspace :is(#in_survey_common_action,.survey-dashboard) #survey-search #survey_reset:hover { color: var(--cs-dark); border-color: #e2a8b2; background: var(--cs-tint); }
body #survey-grid .scrolling-wrapper, body #surveygroups--gridview .scrolling-wrapper { min-height: 0; border: 1px solid #eceef0; border-radius: 3px; overscroll-behavior-x: contain; scrollbar-color: #d5c4c8 #f7f8fa; }
body #survey-grid .grid-view-ls-footer { align-items: center; gap: 12px; margin-top: 18px; color: #737373; font-size: 12px; }
body #survey-grid .grid-view-ls-footer .summary-container { flex: 0 1 auto; }
body #survey-grid .grid-view-ls-footer .summary { margin: 0; }
body #survey-grid .changePageSize { min-height: 34px; padding-block: 4px; margin-inline: 4px; font-size: 12px; }
body #survey-grid .action-list { gap: 6px; }
body #survey-grid .action-list a { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; margin-left: 0; border-radius: 3px; }
body #survey-grid .action-list a:not(.disabled):hover { background: #fbf0f2; border-color: #e2a8b2; }
body #survey-grid .action-list a i::before { font-size: 20px; }
body #survey-grid .action-list a:not(.disabled) i::before { color: var(--cs-primary); }
body #survey-grid .table tr[tabindex]:focus-visible:not(:active) { outline: 2px solid var(--cs-primary); outline-offset: -2px; }
body #survey-grid .table :is(a,button,input,[tabindex]):focus-visible:not(tr):not(:active) { outline: 2px solid var(--cs-primary); outline-offset: 2px; border-color: transparent; box-shadow: none; }
/* Shared editor and response surfaces keep native sizing, scrolling and semantic states. */
body .btn-secondary, body .btn-default, body .btn-outline-secondary {
  --bs-btn-bg: #fff; --bs-btn-color: #454a42; --bs-btn-border-color: #d8dad6;
  --bs-btn-hover-bg: #f2f3ef; --bs-btn-hover-color: #242529; --bs-btn-hover-border-color: #bcc1b8;
  background: #fff; color: #454a42; border-color: #d8dad6;
}
body :is(.btn-secondary,.btn-default,.btn-outline-secondary):is(:hover,:focus,:active,.active,.show) { background: #f2f3ef; color: var(--cs-ink); border-color: #bcc1b8; }
body :is(.btn-secondary,.btn-default,.btn-outline-secondary):is(:disabled,.disabled,[disabled]) { background: #f7f7f5; color: #868a83; border-color: var(--cs-line); opacity: .6; }
body .btn:focus-visible, body a:focus-visible { outline: 2px solid var(--cs-primary); outline-offset: 3px; }
body nav.navbar .nav-link { padding-inline: 13px; font-size: 13px; line-height: 1.5; }
body nav.navbar .nav-link[aria-current=page] { color: var(--cs-primary) !important; background: var(--cs-tint); }
body .topbar { background: var(--cs-canvas); border-bottom: 1px solid var(--cs-line); }
body.cs-survey-workspace .topbar { border-bottom: 0; }
body .topbar .ls-breadcrumb :is(h1,.h1), body .topbar .ls-breadcrumb :is(h1,.h1) a { color: var(--cs-ink); font-size: 21px; font-weight: 600; line-height: 1.45; }
body .topbar .ls-breadcrumb :is(h1,.h1) a:hover { color: var(--cs-dark); }
body .topbar #breadcrumb-container a, body .topbar ol.breadcrumb.title-bar-breadcrumb a { color: var(--cs-ink); }
body .topbar #breadcrumb-container a:hover, body .topbar ol.breadcrumb.title-bar-breadcrumb a:hover { color: var(--cs-dark); }
body .topbar .ls-topbar-buttons { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
body .topbar .ls-topbar-buttons > .btn, body .topbar .ls-topbar-buttons > .btn-group { margin-inline: 0; }
body #sidebar a:not(.btn,.nav-tabs .nav-link) { color: #62675f; font-size: 13px; line-height: 1.55; }
body #sidebar .menu-label { color: #454a42; font-size: 12px; letter-spacing: .02em; }
body #survey-settings-panel .survey-settings a { border-radius: 3px; transition: background-color .15s ease, color .15s ease; }
body #survey-settings-panel .survey-settings a:hover { background: #f3f4f0; color: var(--cs-ink); }
body #sidebar .menu-selected a:not(.btn), body #sidebar .selected a:not(.btn) { color: var(--cs-dark); font-weight: 500; }
body #sidebar .menu-selected, body #sidebar .subpanel[class*="level-"] .selected { background: var(--cs-tint); box-shadow: none; }
body #sidebar .questiongroup-list-group > li { background: var(--cs-tint); }
body .ls-panelboxes .card.card-primary .card-header, body .ls-panelboxes .card.card-primary .card-title { color: var(--cs-ink); font-size: 15px; font-weight: 600; line-height: 1.6; }
body .ls-panelboxes .card.card-primary .card-body { padding: 22px 24px; }
body .ls-panelboxes .card.card-primary .card-header + .card-body { padding-top: 14px; }
body .ls-panelboxes .card.card-primary .card-header { padding: 20px 24px 0; border: 0; border-radius: 3px; }
body .ls-panelboxes .card.card-primary .card-title a { color: var(--cs-ink); text-decoration: none; }
body .ls-panelboxes .card.card-primary .text-muted { color: #6b7078 !important; }
body .form-horizontal .control-label, body .form-label { color: #454a42; font-weight: 500; }
body .help-block, body .form-text { color: #6b7078; line-height: 1.65; }
body .input-group-text { background: #f7f7f5; border-color: #d8dad6; color: #62675f; }
body .cke_chrome { border: 1px solid #d8dad6; border-radius: 3px; box-shadow: none; }
body .cke_top { background: #f7f7f5; border-bottom-color: var(--cs-line); border-radius: 3px; }
body .cke_bottom { background: #f7f7f5; border-top-color: var(--cs-line); border-radius: 3px; }
body .grid-view .table { font-variant-numeric: tabular-nums; }
body .grid-view .table thead th { background-color: #f7f7f5; border-color: var(--cs-line); color: #62675f; font-size: 12px; font-weight: 600; }
body .grid-view .table thead th a i, body .grid-view .table thead th a i::before { color: #8a9084; }
body .grid-view .table thead th a:is(.asc,.desc) i, body .grid-view .table thead th a:is(.asc,.desc) i::before { color: var(--cs-primary); }
body .grid-view .table tbody td { border-color: #edeeeb; }
body .grid-view .filters :is(input,select) { min-height: 32px; border-radius: 3px; font-size: 13px; }
body .pagination { gap: 3px; }
body .pagination .page-link { border-radius: 3px; border-color: var(--cs-line); min-width: 32px; text-align: center; }
body .pagination .page-item.active .page-link { border-color: var(--cs-primary); }
@media (min-width:1200px) {
}
@media (max-width:1199px) {
}
@media (min-width:768px) and (max-width:1199px) {
  body nav.navbar > .container-fluid { padding-inline:16px; }
  body nav.navbar .navbar-brand { gap:0; margin-right:16px; }
  body nav.navbar .navbar-brand img.cs-logo { width:135px; height:34px; }
  body nav.navbar .cs-workspace-name { display:none; }
}
@media (max-width:767px) {
  body #vue-apps-main-container { margin-inline:0 !important; width:100%; max-width:100%; flex-direction:column; flex-wrap:nowrap; padding-inline:12px; }
  body #vue-apps-main-container > #vue-sidebar-container { position:relative !important; inset:auto !important; flex:0 0 auto; width:100% !important; max-width:100%; min-height:0 !important; height:auto !important; max-height:320px; overflow:auto; z-index:auto; }
  body #vue-sidebar-container > #sidebar { flex:0 0 100%; width:100% !important; max-width:100%; min-height:0 !important; height:auto !important; padding-right:0; left:0 !important; }
  body #vue-apps-main-container > .main-content-container { flex:0 0 auto; width:100% !important; max-width:100%; min-width:0; margin-top:16px !important; overflow:visible; }
  body:has(#vue-apps-main-container) > .topbar.sticky-top { position:static !important; top:auto !important; }
  body #vue-apps-main-container #in_survey_common { padding-inline:0 !important; }
  body #vue-apps-main-container .side-body { left:0 !important; margin-left:0 !important; margin-top:0 !important; width:100%; min-width:0; }
  body #advanced-question-editor, body #advanced-question-editor .row { margin-inline:0; }
  body #advanced-question-editor > [class*="col-"] { padding-inline:0 !important; min-width:0; }
  body #advanced-question-editor .cke { max-width:100%; }
  body nav.navbar > .container-fluid { padding: 10px 16px; gap: 10px; }
  body nav.navbar .navbar-brand { order: -1; min-width: 0; margin-right: auto; gap: 12px; }
  body nav.navbar .navbar-brand img.cs-logo { width: 128px; height: 31px; }
  body nav.navbar .navbar-toggler { flex-shrink: 0; width: 44px; height: 40px; padding: 6px; border-radius: 3px; }
  body nav.navbar #small-screens-menus { width: 100%; border-top: 1px solid #eee; }
  body nav.navbar #small-screens-menus .navbar-nav { gap: 4px; padding-top: 10px; }
  body nav.navbar #small-screens-menus .nav-link { padding: 12px 14px; min-height: 44px; }
  .cs-workspace-name { font-size: 12px; padding-left: 12px; letter-spacing: 0; white-space: nowrap; }
  body.cs-survey-workspace #layout_sidebar > .container-40 { padding-inline:16px; }
  body.cs-survey-workspace .survey-actionbar { padding-top: 20px; }
  body.cs-survey-workspace :is(#in_survey_common_action,.survey-dashboard) #survey-search > .align-items-baseline { grid-template-columns: minmax(0,1fr) auto; gap: 14px 8px; }
  body.cs-survey-workspace :is(#in_survey_common_action,.survey-dashboard) #survey-search .survey-actionbar-title { font-size: 20px; }
  body.cs-survey-workspace :is(#in_survey_common_action,.survey-dashboard) #survey-search .survey-actionbar-filters { display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  body.cs-survey-workspace :is(#in_survey_common_action,.survey-dashboard) #survey-search .survey-actionbar-filters .survey-actionbar-item { width: 100%; }
  body.cs-survey-workspace :is(#in_survey_common_action,.survey-dashboard) #survey-search .survey-actionbar-filters .search-bar { grid-column: 1 / -1; width: 100%; }
  body.cs-survey-workspace :is(#in_survey_common_action,.survey-dashboard) #survey-search .survey-actionbar-formfield { min-height: 44px; font-size: 14px !important; }
  body.cs-survey-workspace :is(#in_survey_common_action,.survey-dashboard) #survey-search select.survey-actionbar-formfield { min-width: 0; }
  body.cs-survey-workspace :is(#in_survey_common_action,.survey-dashboard) #survey-search .survey-actionbar-actions .btn { min-height: 44px; padding-inline: 13px; font-size: 13px !important; }
  body.cs-survey-workspace :is(#in_survey_common_action,.survey-dashboard) #survey-search .survey-actionbar-switch { grid-column: 1 / -1; grid-row: 3; justify-content: flex-end; }
  body .list-surveys { padding: 16px; margin-top: 12px; border-radius: 3px; }
  body #surveysystem { gap: 20px; margin-bottom: 18px; }
  body #survey-grid td:nth-child(4) { min-width: 190px; }
  body #survey-grid td, body #survey-grid th { padding-inline: 10px; }
  body #survey-grid .table .ls-sticky-column { padding-inline: 12px; }
  body #survey-grid .action-list a { width: 38px; height: 38px; }
  body #survey-grid .grid-view-ls-footer { gap: 8px; }
  body #survey-grid .grid-view-ls-footer .summary-container { flex: 1 1 100%; }
  body #survey-grid .grid-view-ls-footer .summary { text-align: left; line-height: 2; }
  body .topbar .ls-breadcrumb :is(h1,.h1), body .topbar .ls-breadcrumb :is(h1,.h1) a { font-size: 18px; overflow-wrap: anywhere; }
  body .ls-panelboxes .card.card-primary .card-body { padding: 18px; }
  body .ls-panelboxes .card.card-primary .card-header { padding-inline: 18px; }
}
@media (max-width:359px) {
  body nav.navbar > .container-fluid { padding-inline: 12px; }
  .cs-workspace-name { display: none; }
  body.cs-survey-workspace :is(#in_survey_common_action,.survey-dashboard) #survey-search > .align-items-baseline { grid-template-columns: minmax(0,1fr); }
  body.cs-survey-workspace :is(#in_survey_common_action,.survey-dashboard) #survey-search .survey-actionbar-title { grid-column: 1; grid-row: 1; }
  body.cs-survey-workspace :is(#in_survey_common_action,.survey-dashboard) #survey-search .survey-actionbar-actions { grid-column: 1; grid-row: 2; justify-self: start; }
  body.cs-survey-workspace :is(#in_survey_common_action,.survey-dashboard) #survey-search .survey-actionbar-filters { grid-row: 3; }
  body.cs-survey-workspace :is(#in_survey_common_action,.survey-dashboard) #survey-search .survey-actionbar-switch { grid-row: 4; }
}
@media (prefers-reduced-motion:reduce) {
  body .btn, body .nav-link, body .form-control, body .form-select, body #survey-settings-panel .survey-settings a { transition: none; }
}

/* Native question-type preview choices, scoped away from success/status lists. */
body #selector__questionTypeSelector-modal .selector__Item--select-questionTypeSelector:is(:hover,:focus-visible) {
  background-color: var(--cs-tint); color: var(--cs-dark);
}
body #selector__questionTypeSelector-modal .selector__Item--select-questionTypeSelector.mark-as-selected,
body #selector__questionTypeSelector-modal .selector__Item--select-questionTypeSelector.mark-as-selected:is(:hover,:focus,:active) {
  background-color: var(--cs-primary); color: #fff; font-weight: 600;
}
body #selector__questionTypeSelector-modal .selector__Item--select-questionTypeSelector:focus-visible {
  outline: 2px solid var(--cs-primary); outline-offset: 2px; z-index: 1;
}

/* Open sections replace visual content cards; controls retain their boundaries. */
body nav.navbar { border-top: 0; border-bottom: 1px solid var(--cs-line); box-shadow: none; }
body nav.navbar .nav-link { border-radius: 0; }
body nav.navbar .nav-link:is(:hover,.show,[aria-current=page]) { background: transparent; color: var(--cs-primary) !important; }
body nav.navbar .rounded-circle { background: transparent; box-shadow: none; }
body .badge { border-radius: 2px !important; font-weight: 500; }
body .btn { font-size: 13px; font-weight: 500; border-radius: 3px; }
body .form-control, body .form-select, body .input-group-text { font-size: 14px; border-radius: 3px; }
body .form-control::placeholder { color: #777b80; opacity: 1; }
body .form-control:disabled, body .form-select:disabled { background: #f3f4f1; color: #686b70; border-color: #dfe1dc; }
body .form-control:focus, body .form-select:focus, body .select2-container--focus .select2-selection { border-color: var(--cs-primary); box-shadow: none; outline: 2px solid #c41e3a38; outline-offset: 1px; }
body .form-check-input:focus { border-color: var(--cs-primary); box-shadow: none; outline: 2px solid #c41e3a45; outline-offset: 2px; }
body .select2-container .select2-selection, body .select2-container .select2-selection__choice { border-radius: 3px; }
body .card, body .well, body .card.card-primary { border: 0 !important; border-radius: 0 !important; box-shadow: none !important; background: transparent !important; overflow: visible; }
body .card-header, body .card-footer { background: transparent; border-radius: 0 !important; box-shadow: none; }
body .card-header { padding: 14px 0; border-bottom: 1px solid var(--cs-line); }
body .card-footer { padding: 14px 0; border-top: 1px solid var(--cs-line); }
body .card-body { padding: 20px 0; }
body .list-surveys, body.cs-survey-workspace .list-surveys { padding: 0; margin-top: 4px; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
body.cs-survey-workspace .survey-dashboard { padding: 0; margin-bottom: 28px; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
body.cs-survey-workspace .cs-dashboard-title { margin: 26px 0 22px; font-size: 24px; font-weight: 600; }
body.cs-survey-workspace .survey-dashboard .survey-actionbar > form > .align-items-baseline, body.cs-survey-workspace .survey-dashboard > .col-12 > .row { margin-inline: 0; }
body.cs-survey-workspace .survey-actionbar { padding: 4px 0 18px; }
body.cs-survey-workspace :is(#in_survey_common_action,.survey-dashboard) #survey-search .survey-actionbar-title { font-size: 17px; font-weight: 500; }
body.cs-survey-workspace :is(#in_survey_common_action,.survey-dashboard) #survey-search .survey-actionbar-filters { padding: 0; border: 0; border-radius: 0; background: transparent; }
body #survey-grid .scrolling-wrapper, body #surveygroups--gridview .scrolling-wrapper { border: 0; border-top: 1px solid var(--cs-line); border-bottom: 1px solid var(--cs-line); border-radius: 0; box-shadow: none; scrollbar-color: #c8cbc5 #f6f6f3; }
body #survey-grid th, body .grid-view .table thead th { background: #f7f7f5; font-weight: 500; }
body #survey-grid td { padding-block: 16px; line-height: 1.65; }
body #survey-grid td:nth-child(4) a { font-weight: 500; }
body #survey-grid .action-list a:not(.disabled) i::before { color: #686d73; }
body #survey-grid .action-list a:not(.disabled):hover i::before { color: var(--cs-primary); }
body .grid-view .table tbody tr:hover > td, body #survey-grid tbody tr:hover > td { --bs-table-bg-state: #fafaf8; background-color: #fafaf8; }
body #survey-grid tbody tr:has(input[type=checkbox]:checked) > td { --bs-table-bg-state: var(--cs-tint); background-color: var(--cs-tint); }
body .nav-tabs .nav-link { background: transparent; border: 0; border-bottom: 2px solid transparent; border-radius: 0; color: #696d73; font-size: 13px; font-weight: 500; }
body .nav-tabs .nav-link:is(.active,.active:hover), body .nav-tabs .nav-item.active > .nav-link { background: transparent; border-color: transparent; border-bottom-color: var(--cs-primary); color: var(--cs-primary); }
body #surveysystem { margin: 0 0 18px; }
body #sidebar .menu-selected, body #sidebar .subpanel[class*="level-"] .menu-selected, body #sidebar .subpanel[class*="level-"] .selected { background: var(--cs-tint); border-radius: 0; box-shadow: none; border-left: 3px solid var(--cs-primary); }
body #sidebar .questiongroup-list-group > li { background: #f7f7f5; border-left: 3px solid var(--cs-primary); border-radius: 0; }
body #survey-settings-panel .survey-settings a { border-radius: 0; }
body .ls-panelboxes .card.card-primary .card-header { padding: 16px 0 12px; border-bottom: 1px solid var(--cs-line); }
body .ls-panelboxes .card.card-primary .card-body { padding: 16px 0 24px; }
body .ls-panelboxes .card.card-primary .card-title { font-size: 15px; font-weight: 600; }
body .survey-summary { margin-top: 12px !important; }
body .survey-summary > [class*="col-"] { flex: 0 0 100%; width: 100%; margin-bottom: 0 !important; }
body .survey-summary .card.card-primary { display: grid; grid-template-columns: 156px minmax(0,1fr); gap: 28px; padding: 20px 0; border-top: 1px solid var(--cs-line) !important; height: auto !important; }
body .survey-summary .card-header { padding: 3px 0; border: 0; font-size: 15px; font-weight: 600; }
body .survey-summary .card-header :is(h2,h3,h4,.card-title) { font-size: 15px; line-height: 1.6; margin: 0; }
body .survey-summary .card-header a { color: var(--cs-ink); }
body .survey-summary .card.border-left-danger .card-header { color: var(--bs-danger,#b42318); }
body .survey-summary .list-group { min-width: 0; border-radius: 0; }
body .survey-summary .list-group-item { background: transparent; border-radius: 0 !important; }
body .survey-summary .ls-flex-row { padding: 7px 0; }
body .survey-summary .card-label { color: var(--cs-muted); font-size: 13px; font-weight: 400; }
body .survey-summary .ls-card-grid__description { font-size: 13px; line-height: 1.75; overflow-wrap: anywhere; }
body .modal-content { border: 1px solid #d5d7d3; border-radius: 4px; background: #fff; box-shadow: none; }
body .modal-header { padding: 20px 24px; border-bottom-color: var(--cs-line); }
body .modal-title { font-size: 19px; font-weight: 600; }
body .modal-body { padding: 24px; }
body .modal-footer { padding: 16px 24px; border-top-color: var(--cs-line); background: #fff; border-radius: 0 0 4px 4px; }
body .alert { border-radius: 0; font-size: 13px; line-height: 1.75; box-shadow: none; }
body .cke_chrome { border-radius: 3px; box-shadow: none; }
body .cke_top { border-radius: 2px 2px 0 0; }
body .cke_bottom { border-radius: 0 0 2px 2px; }
body #advanced-question-editor .tab-content:has(> #question-tab) { border: 0; border-radius: 0; background: transparent; padding-top: 20px; }
body #advanced-question-editor .nav-tabs { border-bottom: 1px solid var(--cs-line); gap: 18px; }
body #advanced-question-editor .nav-tabs .nav-link { background: transparent; border-radius: 0; color: #696d73; padding-inline: 0; }
body #advanced-question-editor .nav-tabs .nav-link.active { background: transparent; color: var(--cs-primary); border-color: transparent; border-bottom-color: var(--cs-primary); }
body #personalsettings .nav-tabs { margin-bottom: 24px; }
body #personalsettings .form-control { max-width: 100%; }

/* A flat brand header and the untouched native sign-in form. */
body.cs-login-page { background: #fff; }
body.cs-login-page > .container-fluid { padding-inline: 0; }
body .login { min-height: 100vh; background: #fff; }
body .login .main-body { display: flex; flex-direction: column; flex-wrap: nowrap; align-items: stretch; align-content: start; min-height: 100vh; max-width: none; width: 100%; margin: 0; }
body .login .sidebar-l { order: -1; flex: 0 0 auto; width: 100%; max-width: none; padding: 0; background: #fff; border: 0; border-bottom: 1px solid var(--cs-line); }
body .login .box-left { display: flex; align-items: center; justify-content: flex-start; height: auto; min-height: 0; padding: 22px 40px; background: #fff; position: relative; overflow: visible; }
body .login .sidebar-l .box-left .logo { display: flex; align-items: center; justify-content: flex-start; margin: 0; padding: 0; scale: 1; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
body .login .logo-alt-1 { display: block; width: 158px; max-width: 100%; height: 39px; margin: 0; background: url('../images/caishi-logo.png') left center / contain no-repeat; }
body .login .box-pattern, .cs-login-story, .cs-login-signature, .cs-login-art { display: none; }
body .login .col-right { display: flex; flex-direction: row; align-items: flex-start; justify-content: center; flex: 1 1 auto; width: 100%; max-width: none; padding: clamp(48px,9vh,88px) 24px 64px; background: #fff; }
body .login .login-panel { width: 396px; max-width: 100%; margin: 0; padding: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.cs-login-eyebrow { color: var(--cs-muted); font-size: 12px; font-weight: 400; letter-spacing: .03em; margin-bottom: 12px; }
body .login .login-panel h1 { font-size: 27px; font-weight: 600; line-height: 1.4; letter-spacing: -.025em; margin-bottom: 10px; }
body .login .login-panel > p { color: var(--cs-muted); font-size: 13px; line-height: 1.8; margin-bottom: 32px; }
body .login .login-panel .login-content { margin-inline: 0; padding-inline: 0; }
body .login #loginform label { margin-bottom: 8px; font-size: 13px; font-weight: 500; color: #4b4e54; }
body .login #loginform .login-content-form > .col-12, body .login #loginform .login-submit > .col-12 { padding-inline: 0; }
body .login #loginform input[type=text], body .login #loginform input[type=password] { min-height: 46px; background: #fff; font-size: 15px; border: 1px solid #cfd2cc !important; border-radius: 3px; box-shadow: none !important; }
body .login #loginform input[type=text]:focus, body .login #loginform input[type=password]:focus { border-color: var(--cs-primary) !important; outline: 2px solid #c41e3a38; outline-offset: 1px; }
body .login #loginform .select2 { width: 100% !important; }
body .login #loginform .select2-selection { min-height: 42px; border: 1px solid #cfd2cc; border-radius: 3px; }
body .login #loginform .login-submit .btn { width: 100%; min-height: 46px; margin-bottom: 0; margin-top: 4px; border-radius: 3px; font-size: 14px; font-weight: 500; letter-spacing: .02em; }
body .login #loginform .login-submit p { margin-bottom: 0; }
body .login .login-panel > .cs-login-note { margin: 24px 0 0; padding-top: 18px; border-top: 1px solid var(--cs-line); color: var(--cs-muted); font-size: 12px; line-height: 1.7; }
body .login a[href*="/forgotpassword"] { display: none; }

@media (max-width:767px) {
  body.cs-survey-workspace .cs-dashboard-title { margin: 20px 0; font-size: 22px; }
  body .topbar ol.breadcrumb.title-bar-breadcrumb { flex-wrap: wrap; row-gap: 8px; align-items: flex-start; }
  body .topbar ol.breadcrumb.title-bar-breadcrumb > li:first-child { flex-basis: 100%; }
  body .topbar .breadcrumb-item, body .topbar .breadcrumb-item a { min-width: 0; max-width: 100%; white-space: normal !important; overflow-wrap: anywhere; }
  body .list-surveys, body.cs-survey-workspace .list-surveys, body.cs-survey-workspace .survey-dashboard { padding: 0; }
  body #survey-grid .action-list a { width: 40px; height: 40px; }
  body .survey-summary .card.card-primary { grid-template-columns: minmax(0,1fr); gap: 8px; padding: 18px 0; }
  body .survey-summary .card-header { padding: 0; }
  body .survey-summary .card-label { padding-right: 12px; font-size: 12px; }
  body .survey-summary .ls-card-grid__description { font-size: 13px; }
  body .ls-panelboxes .card.card-primary .card-body { padding: 16px 0; }
  body .ls-panelboxes .card.card-primary .card-header { padding-inline: 0; }
  body .modal-header, body .modal-body { padding: 18px; }
  body .modal-footer { padding: 14px 18px; }
  body .login .box-left { padding: 20px 24px; }
  body .login .logo-alt-1 { width: 144px; height: 35px; }
  body .login .col-right { padding: 40px 24px 48px; }
  body .login .login-panel h1 { font-size: 25px; }
  body .login #loginform input[type=text], body .login #loginform input[type=password] { font-size: 16px; }
}
@media (max-width:359px) {
  /* Fit title text between the native pinned selection and action cells. */
  body #survey-grid .scrolling-wrapper { container-type: inline-size; }
  body #survey-grid .table :is(th,td):first-child { width: 44px; min-width: 44px; max-width: 44px; padding-inline: 10px; }
  body #survey-grid .table :is(th,td):last-child { width: 56px; min-width: 56px; max-width: 56px; padding-inline: 6px; }
  body #survey-grid .table .ls-dropdown-toggle { width: 44px; min-width: 44px; min-height: 44px; padding-inline: 0; }
  body #survey-grid .table :is(th,td):nth-child(4) { width: calc(100cqw - 100px); min-width: calc(100cqw - 100px); max-width: calc(100cqw - 100px); white-space: normal !important; }
  body #survey-grid td:nth-child(4) a { display: block; max-width: 100%; white-space: normal; overflow-wrap: anywhere; word-break: normal; }
  body .login .box-left { padding: 18px 20px; }
  body .login .col-right { padding: 32px 20px 40px; }
}
@media (prefers-reduced-motion:reduce) { body .btn, body .nav-link, body .form-control, body .form-select { transition: none; } }
/* Mail and question-file import are excluded; native PJAX rebuilds these entries. */
#sidemenu_emailtemplates,
#sidemenu_failedemail,
body a#import-button[href*="/questionAdministration/importView"] {
  display: none !important;
}
