:root {
  --panel: rgba(255, 255, 255, 0.9);
  --panel-border: rgba(27, 65, 96, 0.1);
  --text: #163145;
  --muted: #607487;
  --brand: #0f6b7f;
  --brand-deep: #0c4f61;
  --brand-soft: #e0f0f4;
  --brand-ink: #0e2633;
  --shadow: 0 20px 50px rgba(17, 51, 75, 0.1);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 15px;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(97, 189, 220, 0.18), transparent 24%),
    radial-gradient(circle at bottom right, rgba(21, 103, 126, 0.08), transparent 22%),
    linear-gradient(180deg, #f6f9fb 0%, #ecf2f6 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

.app-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 0 20px 0;
}

.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 64px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  background: #2c3e50;
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 34px rgba(13, 34, 56, 0.18);
  margin: 0 -20px;
  position: relative;
  z-index: 50;
  overflow: visible;
}

.brand-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
  justify-content: center;
  min-height: 58px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-mark:not(.brand-mark-logo)::before {
  content: "";
  width: 18px;
  height: 22px;
  border-radius: 6px 14px 14px 6px;
  background: linear-gradient(135deg, #2737e8, #5b6cff);
  clip-path: polygon(0 0, 58% 0, 58% 36%, 100% 36%, 100% 74%, 58% 74%, 58% 100%, 0 100%);
}

.brand-mark-logo,
.footer-logo-image {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  border-radius: 10px;
  background: transparent;
  box-shadow: none;
}

.brand-mark-logo {
  height: 42px;
  padding: 7px 12px;
}

.brand-mark-logo img,
.footer-logo-image img {
  display: block;
  width: auto;
  object-fit: contain;
}

.brand-mark-logo img {
  height: 28px;
  max-width: min(220px, 48vw);
}

.brand-subtitle,
.section-label,
.detail-label,
.status-label,
.meta-line,
.inline-meta,
.list-row span,
.timeline-item span,
.notification-item p,
.metric-card p,
.page-header p,
.hero-copy p,
.auth-panel p {
  color: var(--muted);
}

.brand-subtitle,
.section-label,
.detail-label,
.status-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.73rem;
  font-weight: 700;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  min-height: 58px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
  position: relative;
  z-index: 60;
}

.header-utility-group {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

.header-user-shell,
.header-notification-shell {
  position: relative;
}

.header-user-summary,
.header-notification-summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  color: #f7fbff;
  cursor: pointer;
  list-style: none;
}

.header-user-summary strong {
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.95rem;
}

.header-user-avatar {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 999px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(27, 65, 96, 0.12);
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.mobile-toggle-icon {
  justify-content: center;
}

.hamburger-icon,
.hamburger-icon::before,
.hamburger-icon::after {
  display: block;
  width: 19px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.hamburger-icon {
  position: relative;
}

.hamburger-icon::before,
.hamburger-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.hamburger-icon::before {
  top: -6px;
}

.hamburger-icon::after {
  top: 6px;
}

.header-user-summary::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 2px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  opacity: 0.6;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 140ms ease;
}

.header-user-shell[open] > .header-user-summary::after {
  transform: translateY(2px) rotate(225deg);
}

.header-user-summary::-webkit-details-marker,
.header-notification-summary::-webkit-details-marker {
  display: none;
}

.header-user-summary:hover,
.header-notification-summary:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.16);
}

.header-notification-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffb347, #ff7a00);
  color: #4b2400;
  font-size: 0.8rem;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(255, 122, 0, 0.22);
}

.header-user-dropdown,
.header-notification-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 1000;
  width: min(420px, calc(100vw - 32px));
  padding: 16px;
  border: 1px solid rgba(27, 65, 96, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 48px rgba(17, 51, 75, 0.14);
  backdrop-filter: blur(18px);
}

.header-notification-dropdown {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  max-height: min(560px, calc(100vh - 110px));
  overflow: hidden;
  padding: 10px;
}

.header-user-dropdown {
  width: min(320px, calc(100vw - 32px));
  display: grid;
  gap: 4px;
}

.header-user-link,
.header-user-button {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 12px;
  color: var(--text);
  font-weight: 700;
}

.header-user-link:hover,
.header-user-button:hover {
  background: var(--brand-soft);
  color: var(--brand-deep);
}

.header-user-form {
  margin: 8px 0 0;
  padding-top: 8px;
  border-top: 1px solid rgba(27, 65, 96, 0.1);
}

.header-user-button {
  border: none;
  background: transparent;
  font: inherit;
  text-align: left;
}

.header-notification-dropdown-head,
.header-notification-item-foot,
.notification-center-hero,
.notification-center-item-head,
.notification-center-item-foot {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.header-notification-dropdown-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.header-notification-clear {
  padding: 0;
  border: none;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.header-notification-list {
  display: grid;
  margin-top: 8px;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 2px;
}

.header-notification-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  padding: 14px 10px;
  border-top: 1px solid rgba(27, 65, 96, 0.1);
  border-radius: 0;
  transition: background 140ms ease, box-shadow 140ms ease;
}

.header-notification-item:first-child {
  border-top: none;
}

.header-notification-avatar {
  display: none !important;
}

.header-notification-item:hover {
  background: rgba(237, 247, 251, 0.96);
}

.header-notification-copy {
  min-width: 0;
}

.header-notification-item .notification-head {
  align-items: start;
  gap: 8px;
}

.header-notification-item .notification-head strong {
  line-height: 1.25;
}

.header-notification-item p,
.notification-center-item p {
  margin: 5px 0 6px;
  color: var(--muted);
  line-height: 1.42;
}

.header-notification-empty,
.notification-center-empty {
  display: grid;
  gap: 6px;
  padding: 8px 0 0;
}

.notification-center-page,
.notification-center-list {
  display: grid;
  gap: 18px;
}

.notification-center-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.notification-center-count {
  display: grid;
  gap: 8px;
  justify-items: end;
  text-align: right;
}

.notification-center-count strong {
  font-size: 1.1rem;
}

.notification-center-item {
  display: grid;
  gap: 10px;
}

.notification-center-item h2 {
  margin: 8px 0 0;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.mobile-shell-actions {
  display: none;
  align-items: center;
  gap: 8px;
}

.mobile-auth-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  padding: 7px 13px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 9px;
  color: #f7fbff;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.mobile-auth-link:hover,
.mobile-auth-link:focus-visible {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.5);
}

.error-banner {
  margin-bottom: 18px;
  border-color: rgba(180, 53, 53, 0.2);
  background: rgba(255, 243, 243, 0.92);
}

.error-banner p {
  margin: 10px 0 0;
  color: #8c3030;
}

.app-toast {
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 1200;
  display: flex;
  align-items: start;
  gap: 12px;
  min-width: 240px;
  max-width: 320px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(13, 34, 56, 0.18);
  background: linear-gradient(160deg, rgba(13, 34, 56, 0.96), rgba(20, 64, 94, 0.94));
  color: #f6fbff;
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 36px rgba(7, 25, 39, 0.28);
  opacity: 1;
  transform: translateY(0);
  transition: opacity 180ms ease, transform 180ms ease;
  animation: toast-lifecycle 4s ease forwards;
}

.app-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes toast-lifecycle {
  0% { opacity: 0; transform: translateY(-8px); }
  10% { opacity: 1; transform: translateY(0); }
  85% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-8px); }
}

.inline-form {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin: 0;
}

.app-toast-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.app-toast-copy span {
  color: rgba(235, 246, 255, 0.82);
  line-height: 1.35;
}

.app-toast-close {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font: inherit;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
}

.app-toast-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.top-nav a,
.top-nav-menu-summary,
.sidebar-link {
  padding: 8px 10px;
  border-radius: 0;
  color: var(--muted);
  transition: 160ms ease;
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-link-with-icon,
.top-nav-menu-summary,
.header-user-link,
.header-user-button {
  gap: 8px;
}

.nav-link-with-icon {
  display: inline-flex;
  align-items: center;
}

.menu-icon {
  --icon-size: 20px;
  display: inline-block;
  flex: 0 0 auto;
  width: var(--icon-size);
  height: var(--icon-size);
  background: currentColor;
  opacity: 0.68;
  mask: var(--icon-url) center / contain no-repeat;
  -webkit-mask: var(--icon-url) center / contain no-repeat;
}

.top-nav a.is-active .menu-icon,
.top-nav-menu.is-active > .top-nav-menu-summary .menu-icon,
.top-nav-menu[open] > .top-nav-menu-summary .menu-icon,
.header-user-link:hover .menu-icon,
.header-user-button:hover .menu-icon {
  opacity: 1;
}

.icon-dashboard {
  --icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1.5'/%3E%3C/svg%3E");
}

.icon-surveys {
  --icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='3' width='16' height='18' rx='2'/%3E%3Cpath d='M9 7h6M9 12h6M9 17h4'/%3E%3C/svg%3E");
}

.icon-gift {
  --icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='8' width='18' height='4' rx='1'/%3E%3Cpath d='M12 8v13M5 12v7a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-7M7.5 8a2.5 2.5 0 1 1 3.5-3.5L12 8l1-3.5A2.5 2.5 0 1 1 16.5 8'/%3E%3C/svg%3E");
}

.icon-user {
  --icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21a8 8 0 0 0-16 0'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E");
}

.icon-users {
  --icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21a6 6 0 0 0-12 0'/%3E%3Ccircle cx='10' cy='7' r='4'/%3E%3Cpath d='M22 21a5 5 0 0 0-4-4.9M17 3.3a4 4 0 0 1 0 7.4'/%3E%3C/svg%3E");
}

.icon-clipboard {
  --icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 4h6a2 2 0 0 1 2 2v1H7V6a2 2 0 0 1 2-2Z'/%3E%3Cpath d='M7 6H5a2 2 0 0 0-2 2v11a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-2'/%3E%3Cpath d='m9 14 2 2 4-5'/%3E%3C/svg%3E");
}

.icon-settings {
  --icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 15.5a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7Z'/%3E%3Cpath d='M19.4 15a1.7 1.7 0 0 0 .3 1.9l.1.1a2 2 0 1 1-2.8 2.8l-.1-.1a1.7 1.7 0 0 0-1.9-.3 1.7 1.7 0 0 0-1 1.6V21a2 2 0 1 1-4 0v-.1a1.7 1.7 0 0 0-1-1.6 1.7 1.7 0 0 0-1.9.3l-.1.1a2 2 0 1 1-2.8-2.8l.1-.1a1.7 1.7 0 0 0 .3-1.9 1.7 1.7 0 0 0-1.6-1H3a2 2 0 1 1 0-4h.1a1.7 1.7 0 0 0 1.6-1 1.7 1.7 0 0 0-.3-1.9l-.1-.1a2 2 0 1 1 2.8-2.8l.1.1a1.7 1.7 0 0 0 1.9.3 1.7 1.7 0 0 0 1-1.6V3a2 2 0 1 1 4 0v.1a1.7 1.7 0 0 0 1 1.6 1.7 1.7 0 0 0 1.9-.3l.1-.1a2 2 0 1 1 2.8 2.8l-.1.1a1.7 1.7 0 0 0-.3 1.9 1.7 1.7 0 0 0 1.6 1H21a2 2 0 1 1 0 4h-.1a1.7 1.7 0 0 0-1.5 1Z'/%3E%3C/svg%3E");
}

.icon-briefcase {
  --icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 6V5a2 2 0 0 1 2-2h0a2 2 0 0 1 2 2v1'/%3E%3Crect x='3' y='6' width='18' height='14' rx='2'/%3E%3Cpath d='M3 12h18M10 12v2h4v-2'/%3E%3C/svg%3E");
}

.icon-flag {
  --icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 22V4'/%3E%3Cpath d='M5 4c4-2 7 2 11 0v10c-4 2-7-2-11 0'/%3E%3C/svg%3E");
}

.icon-sliders {
  --icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6h8M16 6h4M4 12h4M12 12h8M4 18h10M18 18h2'/%3E%3Ccircle cx='14' cy='6' r='2'/%3E%3Ccircle cx='10' cy='12' r='2'/%3E%3Ccircle cx='16' cy='18' r='2'/%3E%3C/svg%3E");
}

.icon-bell {
  --icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 8a6 6 0 0 0-12 0c0 7-3 7-3 9h18c0-2-3-2-3-9'/%3E%3Cpath d='M10 21h4'/%3E%3C/svg%3E");
}

.icon-log-out {
  --icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'/%3E%3Cpath d='M16 17l5-5-5-5M21 12H9'/%3E%3C/svg%3E");
}

.icon-log-in {
  --icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4'/%3E%3Cpath d='M10 17l5-5-5-5M15 12H3'/%3E%3C/svg%3E");
}

.top-nav a:hover,
.top-nav-menu-summary:hover,
.sidebar-link:hover,
.text-link:hover {
  background: var(--brand-soft);
  color: var(--brand-deep);
}

.top-nav a.is-active,
.top-nav-menu.is-active > .top-nav-menu-summary,
.top-nav-menu[open] > .top-nav-menu-summary,
.sidebar-link.is-active {
  background: linear-gradient(180deg, rgba(15, 107, 127, 0.26), rgba(15, 107, 127, 0.18));
  color: var(--brand-deep);
  box-shadow: inset 0 0 0 1px rgba(15, 107, 127, 0.26), 0 6px 16px rgba(15, 107, 127, 0.1);
  font-weight: 800;
}

.top-nav-menu {
  position: relative;
}

.top-nav-menu summary {
  list-style: none;
}

.top-nav-menu summary::-webkit-details-marker {
  display: none;
}

.top-nav-menu-summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.top-nav-menu-summary::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 140ms ease;
}

.top-nav-menu[open] > .top-nav-menu-summary::after {
  transform: translateY(2px) rotate(225deg);
}

.top-nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 950;
  display: grid;
  min-width: 220px;
  padding: 8px;
  border: 1px solid rgba(27, 65, 96, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 36px rgba(17, 51, 75, 0.14);
  backdrop-filter: blur(16px);
}

.top-nav-dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--text);
}

.top-nav-dropdown a.nav-link-with-icon {
  display: flex;
}

.app-header .top-nav a,
.app-header .top-nav-menu-summary,
.app-header .nav-button {
  color: rgba(247, 251, 255, 0.84);
}

.app-header .top-nav a:hover,
.app-header .top-nav-menu-summary:hover,
.app-header .nav-button:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.app-header .top-nav > a.is-active,
.app-header .top-nav-menu.is-active > .top-nav-menu-summary,
.app-header .top-nav-menu[open] > .top-nav-menu-summary {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.app-header .top-nav-dropdown a {
  color: var(--text);
}

.app-header .top-nav-dropdown a:hover {
  background: var(--brand-soft);
  color: var(--brand-deep);
}

.app-header .top-nav-dropdown a.is-active,
.app-shell.admin-mode .app-header .top-nav-dropdown a.is-active {
  background: var(--brand-soft);
  color: var(--brand-deep);
  box-shadow: inset 0 0 0 1px rgba(15, 107, 127, 0.18);
}

.nav-button {
  padding: 8px 10px;
  border: none;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
}

.nav-button:hover {
  background: var(--brand-soft);
  color: var(--brand-deep);
}

.workspace-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 18px;
  margin-top: 18px;
  flex: 1 0 auto;
  padding-bottom: 16px;
}

.workspace-shell-auth {
  grid-template-columns: minmax(0, 1fr);
}

.app-content {
  min-width: 0;
}

.sidebar-panel,
.card-panel,
.metric-card {
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
  background: var(--panel);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.sidebar-panel {
  padding: 18px 16px;
  align-self: start;
  position: sticky;
  top: 28px;
}

.sidebar-links {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.sidebar-link {
  display: block;
  padding: 12px 0;
  border-radius: 0;
  border-bottom: 1px solid rgba(27, 65, 96, 0.08);
  color: var(--text);
  font-weight: 600;
}

.sidebar-link:last-child {
  border-bottom: none;
}

.sidebar-link:hover {
  background: transparent;
  color: var(--brand);
}

.sidebar-link.is-active {
  padding: 12px 10px;
  border-radius: 0;
  color: var(--brand-deep);
}

.sidebar-link.is-active:hover {
  background: linear-gradient(180deg, rgba(15, 107, 127, 0.18), rgba(15, 107, 127, 0.1));
  color: var(--brand-deep);
}

.sidebar-section + .sidebar-section {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--panel-border);
}

.admin-sidebar-hero {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(82, 132, 255, 0.16), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 249, 253, 0.98));
  border: 1px solid rgba(27, 65, 96, 0.08);
}

.admin-sidebar-hero strong,
.admin-sidebar-notes strong {
  font-size: 0.96rem;
  letter-spacing: -0.03em;
}

.admin-sidebar-hero p,
.admin-sidebar-notes span {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.45;
}

.admin-sidebar-notes {
  display: grid;
  gap: 12px;
}

.admin-sidebar-notes div {
  display: grid;
  gap: 4px;
}

.sidebar-status-list {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.sidebar-status-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.sidebar-status-list span {
  color: var(--muted);
}

.hero-panel,
.content-grid,
.detail-page-grid,
.profile-grid {
  display: grid;
  gap: 18px;
}

.hero-panel {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 420px);
  align-items: start;
}

.hero-copy {
  padding: 18px 6px 10px 6px;
}

.hero-copy h1,
.page-header h1,
.auth-panel h1 {
  margin: 12px 0;
  font-size: clamp(2rem, 3vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.hero-copy .lead,
.page-header p {
  font-size: 1.02rem;
  max-width: 62ch;
}

.hero-copy .lead {
  max-width: none;
}

.card-panel,
.auth-panel {
  padding: 18px;
}

.hero-meta,
.survey-page-head-aside {
  width: min(100%, 420px);
  justify-self: end;
}

.hero-meta-header,
.panel-header,
.notification-head,
.progress-copy,
.list-row,
.list-row-end {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.panel-header {
  align-items: start;
  margin-bottom: 16px;
}

.panel-header h2,
.survey-card h2 {
  margin: 8px 0 0;
  font-size: 1.2rem;
  letter-spacing: -0.04em;
}

.progress-shell {
  margin-top: 20px;
}

.progress-track {
  height: 10px;
  margin-top: 12px;
  border-radius: 999px;
  background: #dce7ee;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand), #3da7ba);
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.hero-survey-progress {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(27, 65, 96, 0.08);
  display: grid;
  gap: 8px;
}

.hero-survey-progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hero-survey-progress-head strong {
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.hero-survey-progress-list {
  margin-top: 0;
}

.status-card {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 64px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e2e9ed;
}

.status-card .status-label {
  line-height: 1.2;
}

.status-card-copy {
  display: grid;
  justify-items: start;
  gap: 5px;
  min-width: 0;
}

.status-card-icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border: 0;
  border-right: 1px solid #dfe7eb;
  border-radius: 0;
  background-color: transparent;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 22px 22px;
  color: #315064;
}

.status-icon-email { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23365061' stroke-width='1.8'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m4 7 8 6 8-6'/%3E%3C/svg%3E"); }
.status-icon-identity, .status-icon-shield { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23365061' stroke-width='1.8'%3E%3Cpath d='M12 3 5 6v5c0 4.5 2.8 8 7 10 4.2-2 7-5.5 7-10V6l-7-3Z'/%3E%3Cpath d='m9 12 2 2 4-5' stroke='%2308785a'/%3E%3C/svg%3E"); }
.status-icon-consent { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23365061' stroke-width='1.8'%3E%3Cpath d='M6 3h9l4 4v14H6z'/%3E%3Cpath d='M15 3v5h4M9 12h7M9 16h5'/%3E%3C/svg%3E"); }
.status-icon-profile { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23365061' stroke-width='1.8'%3E%3Ccircle cx='12' cy='8' r='3'/%3E%3Cpath d='M5 20c.8-4 3.2-6 7-6s6.2 2 7 6'/%3E%3C/svg%3E"); }
.status-icon-phone { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23365061' stroke-width='1.8'%3E%3Crect x='7' y='2' width='10' height='20' rx='2'/%3E%3Cpath d='M10 18h4'/%3E%3C/svg%3E"); }
.status-icon-lock { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23365061' stroke-width='1.8'%3E%3Crect x='5' y='10' width='14' height='11' rx='2'/%3E%3Cpath d='M8 10V7a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E"); }

.status-card .badge-token {
  padding: 5px 9px;
}

.status-card-profile-completion {
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  min-height: 64px;
}

.hero-meta { padding: 16px !important; }
.hero-meta .meta-line { margin: 8px 0 0; font-size: .78rem; }
.hero-meta .status-grid { gap: 10px; margin-top: 12px; }
.hero-meta .status-card { min-height: 72px; padding: 12px 14px; }
.hero-meta .status-card-icon { width: 40px; height: 36px; background-size: 25px 25px; }

.dashboard-profile-ring {
  width: 56px !important;
  height: 56px !important;
  min-width: 56px;
  aspect-ratio: 1 / 1;
  flex: 0 0 56px;
  border-radius: 50%;
  background: conic-gradient(var(--progress-color) 0deg, var(--progress-color) var(--progress-angle), var(--progress-track) var(--progress-angle), var(--progress-track) 360deg);
}

.dashboard-profile-ring::after {
  inset: 7px;
  border-radius: 50%;
}

.dashboard-profile-ring span {
  font-size: 0.76rem;
  letter-spacing: -0.03em;
}

.badge-token,
.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
}

.badge-good,
.status-live,
.status-pill-live,
.badge-live {
  color: #0d6444;
  background: #dff5ea;
}

.badge-warn,
.status-limited {
  color: #8c5b04;
  background: #fff2d8;
}

.badge-soft {
  color: var(--brand-deep);
  background: var(--brand-soft);
}

.status-priority {
  color: #0f5860;
  background: #d9f3f5;
}

.metric-grid,
.survey-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
  align-items: stretch;
}

.survey-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.survey-card p {
  margin-bottom: 18px;
}

.survey-card .detail-grid {
  margin-top: auto;
}

.survey-card .hero-actions {
  margin-top: 18px;
}

.metric-card {
  padding: 22px;
}

.metric-card strong {
  display: block;
  margin-top: 16px;
  font-size: 2rem;
  letter-spacing: -0.05em;
}

.dashboard-metric-grid {
  align-items: stretch;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
}

.dashboard-metric-grid-compact {
  gap: 10px;
  margin-top: 14px;
}

.metric-card-compact {
  padding: 12px 14px;
  min-height: 92px;
}

.metric-card-compact strong {
  margin-top: 6px;
  font-size: 1rem;
  line-height: 1;
}

.metric-card-compact > p {
  margin: 4px 0 0;
  font-size: 0.8rem;
  line-height: 1.28;
}

.metric-primary.metric-card-compact strong,
.metric-accent.metric-card-compact strong,
.metric-neutral.metric-card-compact strong {
  font-size: 1.15rem;
}

.metric-card-survey-progress {
  display: grid;
  gap: 6px;
}

.metric-breakdown {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
  margin-top: 2px;
}

.metric-breakdown-item {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(27, 65, 96, 0.08);
}

.metric-breakdown-item span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.metric-breakdown-item strong {
  margin-top: 0;
  font-size: 1.2rem;
  letter-spacing: -0.04em;
}

.metric-breakdown-flat {
  grid-template-columns: 1fr;
  gap: 2px;
  margin-top: 0;
}

.metric-breakdown-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 0;
  border-top: 1px solid rgba(27, 65, 96, 0.08);
  background: transparent;
}

.metric-breakdown-line:first-child {
  border-top: none;
  padding-top: 0;
}

.metric-breakdown-line span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.3;
  text-transform: none;
  letter-spacing: 0;
}

.metric-breakdown-line strong {
  margin-top: 0;
  min-width: 24px;
  padding: 3px 7px;
  border-radius: 999px;
  font-size: 0.76rem;
  letter-spacing: 0;
  text-align: center;
}

.metric-breakdown-line strong.is-good {
  background: rgba(21, 130, 90, 0.12);
  color: #15825a;
}

.metric-breakdown-line strong.is-bad {
  background: rgba(177, 69, 69, 0.12);
  color: #b14545;
}

.metric-breakdown-line strong.is-warn {
  background: rgba(185, 122, 19, 0.14);
  color: #b97a13;
}

.metric-breakdown-line strong.is-neutral {
  background: rgba(27, 65, 96, 0.08);
  color: var(--brand-ink);
}

.metric-primary {
  background: linear-gradient(160deg, rgba(9, 108, 131, 0.95), rgba(15, 79, 96, 0.98));
  color: #fff;
}

.metric-primary p,
.metric-primary .section-label {
  color: rgba(255, 255, 255, 0.82);
}

.metric-secondary {
  background: linear-gradient(160deg, #ffffff, #eef9fc);
}

.metric-accent {
  background: linear-gradient(160deg, #f4fff8, #e0f3e4);
}

.metric-neutral {
  background: linear-gradient(160deg, #ffffff, #f3f7fa);
}

.content-grid {
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.85fr);
  margin-top: 22px;
  align-items: start;
}

.content-grid-editor-main {
  grid-template-columns: minmax(0, 1fr);
}

.panel-category-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.85fr);
  gap: 22px;
}

.profile-grid-dense {
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.78fr);
  align-items: start;
}

.main-column,
.side-column,
.wallet-history,
.timeline,
.notification-list {
    display: grid;
    gap: 18px;
    align-content: start;
}

.dashboard-collapsible {
    padding: 0;
    overflow: hidden;
}

.dashboard-collapsible summary {
    list-style: none;
}

.dashboard-collapsible summary::-webkit-details-marker {
    display: none;
}

.dashboard-collapsible-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 24px;
    cursor: pointer;
}

.dashboard-collapsible-summary::after {
    content: "+";
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: rgba(16, 122, 143, 0.08);
    color: #107a8f;
    font-size: 1.4rem;
    line-height: 1;
}

.dashboard-collapsible[open] .dashboard-collapsible-summary::after {
    content: "âˆ’";
}

.dashboard-collapsible .timeline,
.dashboard-collapsible .notification-list {
    padding: 0 24px 24px;
    border-top: 1px solid rgba(28, 58, 88, 0.08);
}

.survey-table-shell {
  overflow-x: auto;
}

.survey-table-shell-tight {
    display: block;
}

.survey-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.82fr);
  gap: 28px;
  align-items: start;
}

.survey-layout-compact {
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

.survey-page-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 420px);
  gap: 24px;
  align-items: start;
}

.survey-page-header {
  margin: 0;
}

.survey-page-head-aside {
  min-width: 0;
}

.survey-results-column,
.survey-sidebar {
  min-width: 0;
}

.survey-progress-shell {
  margin: 0;
  display: grid;
  gap: 14px;
}

.survey-progress-panel {
  position: sticky;
  top: 24px;
  max-width: none;
}

.survey-progress-panel-docked,
.survey-progress-notes-panel {
  position: static;
}

.survey-progress-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 8px;
  margin-bottom: 8px;
}

.survey-progress-total {
  font-size: 1.85rem;
  line-height: 1;
  color: #17324d;
  justify-self: end;
}

.survey-progress-line {
  gap: 6px;
  padding: 4px 0;
}

.survey-progress-line span {
  font-size: 0.82rem;
}

.survey-review-note-line {
  display: grid;
  gap: 4px;
  padding: 10px 0;
}

.survey-review-note-line strong {
  margin-top: 0;
  padding: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
}

.quality-review-readonly {
  display: grid;
  gap: 6px;
  justify-items: end;
  text-align: right;
}

.quality-review-label {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 0.82rem;
}

.quality-review-approved {
  background: rgba(20, 139, 91, 0.1);
  color: #12774f;
}

.quality-review-rejected {
  background: rgba(190, 18, 60, 0.08);
  color: #b91c1c;
}

.survey-table {
  width: 100%;
  border-collapse: collapse;
}

.survey-table th,
.survey-table td {
  padding: 11px 8px;
  border-bottom: 1px solid rgba(27, 65, 96, 0.08);
  vertical-align: top;
}

.survey-table tbody tr:nth-child(even) {
  background: rgba(226, 241, 247, 0.42);
}

.survey-table tbody tr:hover {
  background: rgba(212, 233, 240, 0.58);
}

.survey-table th {
  text-align: left;
  color: var(--muted);
  font-size: 0.85rem;
}

.survey-table-compact th,
.survey-table-compact td {
  padding: 8px 7px;
}

.route-summary {
  display: inline-block;
  max-width: 180px;
  font-size: 0.82rem;
  line-height: 1.35;
}

.table-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.table-action,
.text-link {
  color: var(--brand);
  font-weight: 700;
}

.table-link-button {
  padding: 0;
  border: none;
  background: transparent;
  color: var(--brand);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.2;
}

.survey-table td .open-review-modal,
.survey-table td .table-link-button,
.survey-table td .table-action {
  display: inline-flex;
  align-items: center;
  min-height: auto;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--brand) !important;
  font-size: 0.84rem;
  font-weight: 700;
}

.survey-table td:last-child {
  display: grid;
  gap: 6px;
}

.admin-respondent-detail-shell {
  display: grid;
  gap: 18px;
}

.admin-respondent-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.admin-respondent-summary-grid > div,
.admin-respondent-profile-card {
  padding: 14px 16px;
  border: 1px solid rgba(27, 65, 96, 0.08);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(249, 251, 253, 0.98), rgba(244, 248, 252, 0.94));
}

.admin-respondent-summary-grid strong,
.admin-respondent-profile-card strong {
  display: block;
  margin-top: 6px;
}

.admin-respondent-profile-card strong {
  font-size: 0.95rem;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
}

.admin-respondent-profile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.table-link-button:hover,
.table-action:hover {
  color: var(--brand-deep);
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.inline-meta {
  display: block;
  margin-top: 6px;
  font-size: 0.82rem;
}

.compact-meta {
  max-height: 0;
  margin-top: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 160ms ease, margin-top 160ms ease, opacity 160ms ease;
}

.survey-table tbody tr:hover .compact-meta,
.survey-table tbody tr:focus-within .compact-meta {
  max-height: 40px;
  margin-top: 4px;
  opacity: 1;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.compact-detail-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.detail-grid strong,
.wallet-metrics strong {
  display: block;
  margin-top: 8px;
  font-size: 1.05rem;
}

.table-clamp {
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
}

.clamp-2 {
  -webkit-line-clamp: 2;
}

.table-clamp {
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
}

.clamp-2 {
  -webkit-line-clamp: 2;
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 15px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: -0.01em;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.btn-sm {
  min-height: 28px;
  padding: 0 9px;
  border-radius: 9px;
  font-size: 0.74rem;
}

.btn-brand {
  background: linear-gradient(135deg, var(--brand), #1799af);
  color: #fff;
  box-shadow: 0 12px 22px rgba(15, 107, 127, 0.18);
}

.btn-brand:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-deep), #117f93);
  transform: translateY(-1px);
}

.btn-ghost {
  border-color: rgba(10, 108, 131, 0.16);
  background: rgba(255, 255, 255, 0.7);
  color: var(--brand-deep);
}

.btn-ghost:hover {
  transform: translateY(-1px);
  border-color: rgba(10, 108, 131, 0.26);
}

.btn-danger {
  border-color: rgba(189, 42, 31, 0.2);
  background: linear-gradient(135deg, #d93a2f, #b9251d);
  color: #fff;
  box-shadow: 0 14px 24px rgba(189, 42, 31, 0.18);
}

.btn-danger:hover {
  color: #fff;
  background: linear-gradient(135deg, #bd2a1f, #991f19);
  transform: translateY(-1px);
}

.btn-compact {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 12px;
  font-size: 0.82rem;
}

.wallet-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

.list-row {
  align-items: start;
  padding: 12px 0;
  border-top: 1px solid rgba(27, 65, 96, 0.08);
}

.list-row:first-child,
.timeline-item:first-child,
.notification-item:first-child {
  border-top: none;
  padding-top: 0;
}

.list-row strong {
  display: block;
}

.list-row-end {
  text-align: right;
}

.reward-history-list {
  gap: 0;
}

.reward-history-row {
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid rgba(27, 65, 96, 0.08);
}

.reward-history-row:first-child {
  padding-top: 0;
  border-top: none;
}

.reward-history-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.reward-history-end {
  flex: 0 0 auto;
  align-items: center;
  gap: 18px;
  text-align: right;
}

.timeline-item,
.notification-item {
  padding: 16px 0;
  border-top: 1px solid rgba(27, 65, 96, 0.08);
}

.timeline-item p,
.notification-item p {
  margin: 8px 0;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-chip {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(10, 108, 131, 0.08);
  color: var(--brand-deep);
  font-weight: 700;
}

.admin-profile-completeness {
  width: 76px;
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  text-align: center;
  border-radius: 50%;
  background: conic-gradient(var(--brand) calc(var(--profile-progress) * 1%), #e7eef3 0);
  box-shadow: inset 0 0 0 7px #fff;
}

.admin-profile-completeness strong { font-size: 0.9rem; }
.admin-profile-completeness span { font-size: 0.62rem; color: var(--muted); }

.admin-respondent-status-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.admin-respondent-status-grid > div {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid #dbe6ec;
  border-radius: 12px;
  background: #f8fbfc;
}

.admin-status-icon {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 10px;
  background: #e4f4f2;
  color: var(--brand);
}

.admin-profile-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #e2e9ed;
}

.admin-profile-facts small,
.admin-profile-facts strong { display: block; }
.admin-profile-facts small { color: var(--muted); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; }
.admin-profile-facts strong { margin-top: 4px; font-size: 0.88rem; }

.admin-targeting-card {
  display: grid;
  grid-template-columns: minmax(180px, 0.35fr) 1fr;
  align-items: center;
  gap: 22px;
  border-top: 3px solid #1997a8;
}

.admin-targeting-card .profile-tag { display: inline-flex; align-items: center; gap: 6px; }

.admin-readonly-note {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid #cfe1e8;
  border-radius: 10px;
  background: #f2f8fa;
  color: #264f63;
}

.admin-readonly-note > span:last-child,
.admin-readonly-note small { display: block; }
.admin-readonly-note small { margin-top: 2px; color: var(--muted); }
.admin-readonly-profile { padding: 8px; }
.admin-readonly-fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.admin-readonly-fieldset label { display: grid; min-width: 0; gap: 5px; font-weight: 600; }

.admin-readonly-field-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.admin-readonly-field-grid input:disabled,
.admin-readonly-field-grid textarea:disabled,
.admin-readonly-field-grid select:disabled {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 36px;
  padding: 7px 10px;
  border: 1px solid #d7e3e9;
  border-radius: 8px;
  opacity: 1;
  color: #17364a;
  -webkit-text-fill-color: #17364a;
  background: #f7fafc;
  border-color: #d7e3e9;
  font: inherit;
  font-size: 0.78rem;
  line-height: 1.35;
  cursor: default;
}

.admin-readonly-field-grid select:disabled {
  appearance: auto;
  background-color: #f7fafc;
}

.admin-readonly-field-grid textarea:disabled {
  height: auto;
  min-height: 56px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  resize: none;
}

.admin-readonly-field-grid label > span:first-child {
  color: #25475c;
  font-size: 0.72rem;
  line-height: 1.25;
}

.admin-readonly-wide-field { grid-column: span 2; }
.admin-readonly-photo-field { grid-column: span 2; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 4px 12px; }
.admin-readonly-photo-field > span { grid-column: 1 / -1; }
.admin-readonly-photo-field img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.admin-readonly-photo-field small { color: var(--muted); }
.admin-readonly-targeting { display: grid; grid-template-columns: 220px 1fr; gap: 18px; align-items: center; padding: 16px; }
.admin-readonly-targeting strong { display: block; margin-top: 3px; }

@media (max-width: 900px) {
  .admin-respondent-status-grid,
  .admin-profile-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-targeting-card {
    grid-template-columns: 1fr;
  }

  .admin-readonly-field-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-readonly-targeting { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .admin-respondent-status-grid,
  .admin-profile-facts {
    grid-template-columns: 1fr;
  }

  .admin-readonly-field-grid { grid-template-columns: 1fr; }
  .admin-readonly-wide-field,
  .admin-readonly-photo-field { grid-column: auto; }
}

.dashboard-targeting-tags {
  gap: 7px;
}

.dashboard-targeting-tags .tag-chip {
  padding: 7px 10px;
  font-size: 0.76rem;
  line-height: 1.25;
}

.survey-launch-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.new-tab-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.admin-review-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-top: 8px;
}

.admin-review-field {
  padding: 7px 9px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(27, 65, 96, 0.08);
}

.admin-review-field strong {
  display: block;
  margin-top: 3px;
  font-size: 0.84rem;
  line-height: 1.2;
  white-space: pre-wrap;
  word-break: break-word;
}

.review-modal {
  width: min(860px, calc(100vw - 64px));
  max-height: calc(100vh - 96px);
  padding: 0;
  border: none;
  border-radius: 22px;
  background: transparent;
}

.review-modal::backdrop {
  background: rgba(18, 48, 71, 0.42);
  backdrop-filter: blur(4px);
}

.review-modal-shell {
  display: grid;
  gap: 10px;
  padding: 12px;
  max-height: calc(100vh - 96px);
  overflow: auto;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
}

.review-modal-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.review-modal-avatar {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  object-fit: cover;
  border: 1px solid rgba(27, 65, 96, 0.1);
  box-shadow: 0 10px 22px rgba(17, 51, 75, 0.12);
}

.review-modal-avatar-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #dfe3ff 0%, #ddf7f2 100%);
  color: #23415e;
  font-weight: 800;
}

.review-modal-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.review-modal-meta strong,
.review-summary-card strong {
  display: block;
  margin-top: 6px;
}

.review-summary-card {
  padding: 10px 12px;
}

.review-modal-compact {
  width: min(1080px, calc(100vw - 48px));
}

.review-modal-compact .panel-header {
  margin-bottom: 2px;
}

.review-modal-compact .panel-header h2 {
  margin: 6px 0 0;
  font-size: 1.1rem;
}

.review-modal-compact .detail-label {
  font-size: 0.68rem;
}

.review-modal-compact .review-modal-meta strong {
  margin-top: 4px;
  font-size: 0.88rem;
}

.review-modal-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.review-decision-form {
  display: grid;
  gap: 8px;
}

.review-decision-form textarea {
  width: 100%;
  min-height: 72px;
  padding: 8px 10px;
  border: 1px solid rgba(27, 65, 96, 0.14);
  border-radius: 10px;
  background: #fff;
  font: inherit;
  font-size: 0.92rem;
  resize: vertical;
}

.page-header {
  padding: 8px 6px 2px;
}

.profile-page-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  padding: 10px 16px 8px;
}

.profile-edit-header {
  align-items: center;
}

.profile-page-head-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
  justify-items: start;
  text-align: left;
}

.profile-page-head-title {
  display: grid;
  align-items: flex-start;
  justify-items: start;
  gap: 2px;
  min-width: 0;
}

.profile-page-head-title p {
  margin: 4px 0 0;
  max-width: 56ch;
}

.profile-page-head-copy h1 {
  margin: 4px 0 0;
  font-size: clamp(1.85rem, 2.7vw, 2.9rem);
  line-height: 0.94;
}

.profile-page-head-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-self: start;
}

.profile-page-head-metrics div {
  display: grid;
  gap: 4px;
  min-width: 108px;
  padding: 8px 12px;
  border-radius: 16px;
  border: 1px solid rgba(27, 65, 96, 0.08);
  background: linear-gradient(180deg, rgba(249, 251, 253, 0.98), rgba(244, 248, 252, 0.94));
}

.profile-page-head-metrics strong {
  font-size: 1rem;
  letter-spacing: -0.03em;
}

.profile-page-head-metrics-compact {
  grid-template-columns: repeat(2, minmax(96px, 132px));
  gap: 8px;
  align-self: start;
  justify-self: end;
  margin-top: -2px;
}

.profile-page-head-metrics-progress {
  grid-template-columns: 1fr;
}

.profile-progress-ring-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-width: 300px;
}

.profile-progress-ring {
  --progress-angle: calc(var(--progress-value, 0) * 3.6deg);
  --progress-color: #10a66a;
  --progress-track: rgba(27, 65, 96, 0.1);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background: conic-gradient(var(--progress-color) 0deg, var(--progress-color) var(--progress-angle), var(--progress-track) var(--progress-angle), var(--progress-track) 360deg);
}

.profile-progress-ring.progress-low {
  --progress-color: #d65a5a;
  --progress-track: #f3dada;
}

.profile-progress-ring.progress-mid {
  --progress-color: #d8952f;
  --progress-track: #f4e3c7;
}

.profile-progress-ring.progress-high {
  --progress-color: #10a66a;
  --progress-track: #d8efe5;
}

.profile-progress-ring::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: inset 0 0 0 1px rgba(27, 65, 96, 0.06);
}

.profile-progress-ring span {
  position: relative;
  z-index: 1;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
}

.profile-progress-ring-copy {
  display: grid;
  gap: 4px;
}

.profile-progress-ring-copy strong {
  font-size: 0.96rem;
  line-height: 1.45;
}

.admin-page-shell {
  display: grid;
  gap: 18px;
}

.admin-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding: 22px;
  background:
    radial-gradient(circle at top right, rgba(82, 132, 255, 0.14), transparent 32%),
    radial-gradient(circle at left center, rgba(16, 149, 167, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 249, 252, 0.96));
}

.admin-hero-copy {
  max-width: 64ch;
}

.admin-hero-compact {
  padding-top: 18px;
  padding-bottom: 18px;
}

.admin-hero-copy h1 {
  margin: 10px 0 12px;
  font-size: clamp(2rem, 2.8vw, 3rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.admin-hero-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.admin-hero-compact .admin-hero-copy h1 {
  margin-bottom: 0;
}

.admin-hero-actions-compact {
  align-self: start;
  padding-top: 2px;
}

.admin-hero-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.friendly-error-page {
  max-width: 720px;
  margin: clamp(48px, 10vh, 120px) auto;
  padding: clamp(36px, 6vw, 72px);
  text-align: center;
}

.friendly-error-page h1 {
  margin: 0 0 10px;
  color: var(--brand-ink);
}

.friendly-error-page p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.friendly-error-logo {
  display: block;
  width: min(220px, 65%);
  height: auto;
  margin: 32px auto 0;
}

.survey-reconciliation-form {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr) auto;
    gap: 12px;
    align-items: end;
    margin: 12px 0 18px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface-soft);
}

.survey-reconciliation-form label {
    display: grid;
    gap: 6px;
}

.survey-reconciliation-form textarea,
.survey-reconciliation-form input {
    width: 100%;
}

.survey-reconciliation-form p {
    grid-column: 1 / -1;
    margin: 0;
}

@media (max-width: 900px) {
    .survey-reconciliation-form {
        grid-template-columns: 1fr;
    }
}

.admin-kpi-card {
  display: grid;
  gap: 7px;
  min-height: 132px;
  padding: 14px;
  border: 1px solid rgba(27, 65, 96, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 14px 30px rgba(17, 51, 75, 0.07);
}

.admin-kpi-card strong {
  font-size: clamp(1.6rem, 1.8vw, 2.15rem);
  letter-spacing: -0.06em;
  line-height: 0.92;
}

.admin-kpi-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.admin-kpi-card-primary {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.24), transparent 30%),
    linear-gradient(145deg, #0d2238, #163a56);
  border-color: rgba(13, 34, 56, 0.3);
  color: #fff;
}

.admin-kpi-card-primary .detail-label,
.admin-kpi-card-primary p {
  color: rgba(255, 255, 255, 0.78);
}

.admin-section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 18px;
}

.admin-summary-card {
  height: 100%;
}

.admin-flow-grid,
.admin-note-stack {
  display: grid;
  gap: 12px;
}

.admin-flow-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-flow-step,
.admin-note-stack div {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(27, 65, 96, 0.08);
  background: linear-gradient(180deg, rgba(249, 251, 253, 0.98), rgba(244, 248, 252, 0.94));
}

.admin-flow-step span,
.admin-note-stack span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.admin-filter-collapsible {
  margin-bottom: 16px;
  border: 1px solid rgba(27, 65, 96, 0.08);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(250, 252, 253, 0.98), rgba(244, 248, 252, 0.94));
  overflow: hidden;
}

.admin-filter-collapsible summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
  font-weight: 800;
  color: var(--brand-ink);
}

.admin-filter-collapsible summary::-webkit-details-marker {
  display: none;
}

.admin-filter-collapsible summary::after {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(76, 111, 255, 0.1);
  color: #3157ea;
  font-size: 0.95rem;
  line-height: 1;
}

.admin-filter-collapsible[open] summary {
  border-bottom: 1px solid rgba(27, 65, 96, 0.08);
}

.admin-filter-collapsible[open] summary::after {
  content: "âˆ’";
}

.admin-filter-summary {
  margin-left: auto;
  padding-right: 10px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.admin-filter-collapsible .admin-filter-form {
  padding: 14px 16px 16px;
  margin-bottom: 0;
}

.page-header h1 {
  margin-bottom: 12px;
}

.auth-shell {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(420px, 1.08fr);
  gap: 18px;
  margin-top: 18px;
  align-items: stretch;
}

.auth-panel {
  width: min(760px, 100%);
}

.compact-auth {
  width: min(560px, 100%);
}

.auth-shell-wide .auth-panel,
.auth-shell-wide .auth-feature-panel {
  width: 100%;
}

.auth-shell-wide .auth-feature-panel {
  min-height: calc(100vh - 190px);
}

.account-info-shell {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: calc(100vh - 210px);
  margin: 0 auto;
  padding: clamp(28px, 6vh, 72px) 16px;
}

.account-info-card {
  position: relative;
  width: min(620px, 100%);
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid rgba(20, 64, 82, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 65px rgba(18, 54, 72, 0.12);
}

.account-info-card h1 {
  margin: 8px 0 12px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.account-info-card > p,
.account-info-card .auth-panel-header p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.account-info-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-size: 1.35rem;
  font-weight: 800;
}

.account-info-card .status-grid {
  margin: 26px 0 20px;
}

.account-info-actions {
  align-items: center;
  margin-top: 22px;
}

.account-info-actions form {
  margin: 0;
}

.account-info-card .auth-form {
  margin-top: 26px;
}

.auth-feature-panel {
  display: grid;
  align-content: start;
  padding: 26px;
  background:
    linear-gradient(160deg, rgba(12, 79, 97, 0.97), rgba(22, 109, 133, 0.9)),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.12), transparent 28%);
  color: #fff;
  min-height: 100%;
}

.auth-feature-panel .section-label,
.auth-feature-panel p,
.auth-feature-panel .auth-feature-item span {
  color: rgba(255, 255, 255, 0.8);
}

.auth-feature-panel h1 {
  margin: 10px 0 14px;
  font-size: clamp(2rem, 2.6vw, 3rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.auth-feature-list {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.auth-feature-item {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.auth-form-panel {
  padding: 22px;
}

/* Public sign-in landing page */
.login-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(390px, 0.72fr);
  gap: 28px;
  width: min(1440px, 100%);
  min-height: calc(100vh - 184px);
  margin: 28px auto;
}

.login-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, .85fr);
  align-items: center;
  gap: 24px;
  overflow: hidden;
  padding: clamp(36px, 5vw, 76px);
  border-radius: 34px;
  background: linear-gradient(135deg, #073f50 0%, #087a88 54%, #1aa194 100%);
  box-shadow: 0 28px 70px rgba(10, 71, 87, .22);
  color: #fff;
}

.login-hero::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -170px;
  top: -190px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
}

.login-hero-copy { position: relative; z-index: 2; }
.login-kicker { display: inline-flex; align-items: center; gap: 9px; font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #d6fff8; }
.login-kicker span { width: 9px; height: 9px; border-radius: 50%; background: #f3c969; box-shadow: 0 0 0 6px rgba(243, 201, 105, .16); }
.login-hero h1 { margin: 22px 0 20px; font-size: clamp(2.7rem, 4.6vw, 5.5rem); line-height: .98; letter-spacing: -.065em; }
.login-hero h1 em { color: #f3d178; font-style: normal; }
.login-lead { max-width: 650px; margin: 0; color: rgba(255,255,255,.78); font-size: clamp(1rem, 1.25vw, 1.18rem); line-height: 1.75; }
.login-hero-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 30px; }
.login-primary-cta { min-height: 50px; padding: 0 24px; border: 0; background: #f3d178; color: #163145; box-shadow: 0 14px 26px rgba(10,45,54,.2); }
.login-primary-cta:hover { transform: translateY(-2px); background: #ffe094; color: #163145; }
.login-text-link { color: rgba(255,255,255,.78); font-size: .9rem; }
.login-text-link strong { color: #fff; }
.login-trust-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 46px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.15); }
.login-trust-row div { display: grid; gap: 3px; }
.login-trust-row strong { font-size: .92rem; }
.login-trust-row span { color: rgba(255,255,255,.62); font-size: .74rem; }

.login-visual { position: relative; min-height: 430px; }
.login-orbit { position: absolute; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; }
.login-orbit-one { inset: 20px -50px 10px 20px; }
.login-orbit-two { inset: 80px 10px 60px 70px; }
.login-visual-card { position: absolute; display: grid; gap: 10px; padding: 22px; border: 1px solid rgba(255,255,255,.3); border-radius: 22px; background: rgba(255,255,255,.94); color: #163145; box-shadow: 0 22px 45px rgba(5,48,60,.23); backdrop-filter: blur(12px); }
.login-visual-card-main { width: min(330px, 85%); top: 82px; left: 20px; transform: rotate(-3deg); }
.login-card-eyebrow { color: #0b8790; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.login-visual-card-main strong { font-size: 1.25rem; line-height: 1.35; }
.login-card-meta { display: flex; justify-content: space-between; color: #718493; font-size: .73rem; }
.login-card-progress { height: 7px; border-radius: 99px; background: #dcebed; }
.login-card-progress span { display: block; width: 68%; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#0d7885,#30b79d); }
.login-visual-card-reward { right: 0; bottom: 70px; gap: 2px; transform: rotate(4deg); }
.login-visual-card-reward span { color: #718493; font-size: .72rem; }
.login-visual-card-reward strong { color: #078477; font-size: 1.3rem; }
.login-visual-card-voice { width: 210px; right: -10px; top: 20px; background: rgba(7,55,69,.8); color: #fff; }
.login-quote-mark { color: #f3d178; font-size: 2.5rem; line-height: .5; }
.login-float-dot { position: absolute; width: 15px; height: 15px; border-radius: 50%; background: #f3d178; }
.login-dot-one { left: 5px; bottom: 45px; }.login-dot-two { right: 45px; top: 210px; width: 9px; height: 9px; background: #a8fff0; }

.login-panel { align-self: center; padding: clamp(28px, 3vw, 44px); border: 1px solid rgba(27,65,96,.1); border-radius: 30px; background: rgba(255,255,255,.96); box-shadow: 0 24px 60px rgba(17,51,75,.12); }
.login-panel-header { margin-bottom: 24px; }
.login-panel-header h2 { margin: 8px 0 8px; font-size: 2rem; letter-spacing: -.04em; }
.login-panel-header p { margin: 0; color: var(--muted); font-size: .9rem; }
.login-form-help { margin-top: -4px; text-align: right; }
.login-form-help a, .login-create-account a { color: var(--brand); font-weight: 800; }
.login-submit { width: 100%; min-height: 50px; margin-top: 2px; }
.login-create-account { margin: 8px 0 0; text-align: center; color: var(--muted); font-size: .84rem; }

.auth-panel-header {
  margin-bottom: 16px;
}

.auth-panel-header h1 {
  margin-bottom: 8px;
}

.auth-divider {
  position: relative;
  margin: 18px 0;
  text-align: center;
}

.auth-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  border-top: 1px solid rgba(27, 65, 96, 0.12);
}

.auth-divider span {
  position: relative;
  display: inline-block;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.external-auth-stack {
  display: grid;
  gap: 12px;
}

.btn-google {
  gap: 12px;
  min-height: 46px;
  padding: 0 16px;
  border-color: rgba(21, 36, 51, 0.12);
  background: #fff;
  color: var(--brand-ink);
  box-shadow: 0 10px 24px rgba(18, 48, 71, 0.08);
}

.btn-google:hover {
  transform: translateY(-1px);
  border-color: rgba(21, 36, 51, 0.18);
  color: var(--brand-ink);
}

.btn-microsoft {
  gap: 12px;
  min-height: 46px;
  padding: 0 16px;
  border-color: rgba(21, 36, 51, 0.12);
  background: linear-gradient(180deg, #f7fbff, #eef5fb);
  color: #103a5e;
  box-shadow: 0 10px 24px rgba(18, 48, 71, 0.08);
}

.btn-microsoft:hover {
  transform: translateY(-1px);
  border-color: rgba(16, 58, 94, 0.22);
  color: #103a5e;
}

.btn-linkedin-provider {
  gap: 12px;
  min-height: 46px;
  padding: 0 16px;
  border-color: rgba(10, 102, 194, 0.22);
  background: linear-gradient(180deg, #f7fbff, #eef6ff);
  color: #0a4f94;
  box-shadow: 0 10px 24px rgba(18, 48, 71, 0.08);
}

.btn-linkedin-provider:hover {
  transform: translateY(-1px);
  border-color: rgba(10, 102, 194, 0.34);
  color: #0a4f94;
}

.btn-provider-full {
  width: 100%;
  justify-content: center;
}

.google-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
}

.google-mark svg {
  width: 22px;
  height: 22px;
  display: block;
}

.microsoft-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
}

.microsoft-mark svg {
  width: 22px;
  height: 22px;
  display: block;
}

.auth-field-grid {
  gap: 14px;
}

.auth-actions .btn:first-child {
  min-width: 150px;
}

.auth-form,
.field-grid {
  display: grid;
  gap: 12px;
}

.field-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field-span-2 {
  grid-column: span 2;
}

.auth-form label {
  display: grid;
  gap: 6px;
  font-weight: 600;
}

.auth-form input {
  width: 100%;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(27, 65, 96, 0.14);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 253, 0.96));
  color: var(--brand-ink);
  font: inherit;
}

.auth-form input[type="file"] {
  min-height: 44px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.98);
}

.auth-form input[type="file"]::file-selector-button {
  min-height: 28px;
  margin-right: 10px;
  padding: 0 12px;
  border: 1px solid rgba(15, 107, 127, 0.18);
  border-radius: 10px;
  background: rgba(15, 107, 127, 0.08);
  color: var(--brand-deep);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
}

.profile-photo-upload {
  display: grid;
  gap: 10px;
}

.profile-photo-current {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(27, 65, 96, 0.08);
  border-radius: 14px;
  background: rgba(248, 251, 253, 0.86);
}

.profile-photo-current img {
  width: 96px;
  height: 96px;
  border-radius: 20px;
  object-fit: cover;
}

.auth-form select {
  width: 100%;
  min-height: 42px;
  padding: 0 38px 0 12px;
  border: 1px solid rgba(27, 65, 96, 0.14);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 250, 253, 0.94)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath fill='%23084f61' d='M7 8 0 0h14z'/%3E%3C/svg%3E") no-repeat right 14px center;
  appearance: none;
  color: var(--text);
  font: inherit;
}

.multi-select {
  min-height: 136px !important;
  padding: 10px 12px !important;
  background: #fff !important;
}

.auth-form textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid rgba(27, 65, 96, 0.14);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 253, 0.96));
  font: inherit;
  resize: vertical;
}

.auth-form input:focus,
.auth-form select:focus,
.auth-form textarea:focus {
  outline: none;
  border-color: rgba(10, 108, 131, 0.42);
  box-shadow: 0 0 0 4px rgba(10, 108, 131, 0.12);
}

.captcha-provider-field {
  min-height: 72px;
}

.captcha-provider-field .cf-turnstile {
  max-width: 100%;
}

.validation-panel {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(180, 53, 53, 0.18);
  background: rgba(255, 245, 245, 0.92);
  color: #8c3030;
}

.validation-banner {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(180, 53, 53, 0.16);
  background: rgba(255, 248, 244, 0.96);
  color: #8c3030;
}

.field-validation-error {
  color: #a13939;
  font-size: 0.82rem;
  font-weight: 700;
}

.validation-list {
  margin: 12px 0 0;
  padding-left: 18px;
}

.field-error {
  color: #a13939;
  font-size: 0.85rem;
  font-weight: 600;
}

.field-required {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.account-settings-shell {
  width: min(100%, 920px);
  margin: 0 auto;
  display: grid;
  gap: 22px;
}

.account-settings-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.account-settings-head h1,
.account-settings-section h2 {
  margin: 6px 0 0;
  letter-spacing: -0.04em;
}

.account-settings-head h1 {
  font-size: clamp(1.55rem, 2vw, 2rem);
}

.account-settings-section {
  display: grid;
  gap: 18px;
}

.account-settings-section-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.account-settings-section h2 {
  font-size: 1.12rem;
}

.account-field-grid,
.account-settings-form {
  display: grid;
  gap: 14px;
}

.account-field-grid label,
.account-settings-form label {
  display: grid;
  gap: 7px;
  color: var(--brand-ink);
  font-weight: 700;
}

.account-field-grid label > span:first-child,
.account-settings-form label > span:first-child {
  font-size: 0.86rem;
}

.account-field-grid input,
.account-settings-form input {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(27, 65, 96, 0.14);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 253, 0.96));
  color: var(--brand-ink);
  font: inherit;
}

.account-field-grid input[readonly] {
  background: rgba(246, 249, 251, 0.9);
  color: var(--muted);
}

.account-settings-form input:focus {
  outline: none;
  border-color: rgba(10, 108, 131, 0.42);
  box-shadow: 0 0 0 4px rgba(10, 108, 131, 0.12);
}

.account-field-with-badge,
.account-field-with-action {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.account-field-with-badge .status-pill {
  min-height: 34px;
  white-space: nowrap;
}

.account-cookie-list {
  overflow: hidden;
  border: 1px solid rgba(27, 65, 96, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.74);
}

.account-settings-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
}

.account-deactivate-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(189, 42, 31, 0.18);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 248, 247, 0.98), rgba(255, 240, 238, 0.96));
  box-shadow: 0 16px 30px rgba(189, 42, 31, 0.08);
}

.account-deactivate-panel p {
  margin: 4px 0 0;
  color: #8f514c;
  font-size: 0.88rem;
}

.account-deactivate-panel form {
  margin: 0;
}

.social-accounts-shell {
  width: min(100%, 860px);
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.social-accounts-head {
  display: grid;
  gap: 6px;
}

.social-accounts-head h1 {
  margin: 0;
  font-size: clamp(1.55rem, 2vw, 2rem);
  letter-spacing: -0.04em;
}

.social-accounts-head p {
  max-width: 82ch;
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.social-accounts-card {
  display: grid;
  gap: 16px;
  padding-bottom: 0;
  overflow: hidden;
}

.social-linkedin-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
}

.social-linkedin-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.social-linkedin-copy strong {
  font-size: 1rem;
}

.social-linkedin-copy p {
  max-width: 76ch;
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.social-linkedin-action {
  justify-self: end;
}

.social-account-fields {
  display: grid;
  gap: 14px;
}

.social-account-fields label {
  display: grid;
  gap: 7px;
  color: var(--brand-ink);
  font-weight: 700;
}

.social-account-fields label > span:first-child {
  font-size: 0.86rem;
}

.social-account-fields input {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(27, 65, 96, 0.14);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 253, 0.96));
  color: var(--brand-ink);
  font: inherit;
}

.social-account-fields input:focus {
  outline: none;
  border-color: rgba(10, 108, 131, 0.42);
  box-shadow: 0 0 0 4px rgba(10, 108, 131, 0.12);
}

.social-account-actions {
  display: flex;
  justify-content: flex-end;
  margin: 4px -18px 0;
  padding: 16px 18px;
  border-top: 1px solid rgba(27, 65, 96, 0.08);
  background: rgba(246, 249, 251, 0.72);
}

.form-section-note {
  margin: -4px 0 18px;
  color: var(--muted);
}

.other-category-field.is-hidden {
  display: none !important;
}

.consent-row {
  display: flex !important;
  align-items: start;
  gap: 12px;
  color: var(--muted);
  font-weight: 500 !important;
  padding: 12px 14px;
  border: 1px solid rgba(27, 65, 96, 0.08);
  border-radius: 16px;
  background: rgba(248, 251, 253, 0.85);
}

.consent-row input {
  width: auto;
  min-height: auto;
  margin-top: 3px;
}

.consent-stack {
  display: grid;
  gap: 8px;
}

.consent-row-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.consent-row-pair .consent-row {
  min-width: 0;
}

.profile-edit-header {
  max-width: none;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  align-items: start;
  gap: 24px;
  padding: 18px 24px;
  background: rgba(255, 255, 255, 0.96);
}

.profile-edit-header .hero-actions {
  margin-top: 0;
}

.profile-edit-header .profile-page-head-copy {
  grid-template-columns: minmax(220px, auto) minmax(0, 1fr) minmax(160px, auto);
  align-items: start;
  gap: 10px 22px;
}

.profile-edit-header .profile-page-head-title {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  justify-self: center;
  text-align: center;
  padding-top: 2px;
}

.profile-edit-header .profile-page-head-copy h1 {
  font-size: clamp(1.7rem, 2.1vw, 2.35rem);
  line-height: 1.05;
}

.profile-edit-header .hero-actions {
  grid-column: 1;
  grid-row: 2;
}

.profile-edit-identity {
  display: flex;
  align-items: center;
  gap: 12px;
}

.profile-edit-identity > div:last-child {
  display: grid;
  gap: 2px;
}

.profile-edit-identity strong {
  font-size: 1.1rem;
  letter-spacing: -0.03em;
}

.profile-edit-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  overflow: hidden;
  border: 1px solid rgba(27, 65, 96, 0.1);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(17, 51, 75, 0.08);
  color: var(--brand-deep);
  font-weight: 900;
}

.profile-edit-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-edit-header .profile-page-head-metrics {
  justify-self: end;
  width: min(100%, 440px);
}

.profile-edit-header .profile-page-head-metrics > .profile-progress-ring-card {
  min-width: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.profile-edit-header .profile-progress-ring-card {
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
}

.profile-edit-header .profile-progress-ring {
  width: 74px;
  height: 74px;
  min-width: 0;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: conic-gradient(var(--progress-color) 0deg, var(--progress-color) var(--progress-angle), var(--progress-track) var(--progress-angle), var(--progress-track) 360deg);
  box-shadow: none;
}

.profile-edit-header .profile-progress-ring::after {
  inset: 8px;
}

.profile-edit-header .profile-progress-ring-copy strong {
  max-width: 34ch;
  font-size: 1rem;
  line-height: 1.35;
}

.profile-review-note {
  display: grid;
  gap: 4px;
  padding: 12px 18px;
  border-color: rgba(16, 166, 106, 0.16);
  background: linear-gradient(180deg, rgba(237, 250, 245, 0.95), rgba(247, 252, 250, 0.96));
}

.profile-review-note span {
  color: var(--muted);
}

.profile-review-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.profile-review-meta strong {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(16, 166, 106, 0.12);
  color: #0c7550;
}

.profile-summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.profile-summary-head h2 {
  margin: 2px 0 0;
  font-size: 0.94rem;
  letter-spacing: -0.04em;
}

.profile-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.profile-summary-grid strong {
  display: block;
  margin-top: 6px;
  font-size: 1rem;
}

.profile-callout {
  padding: 10px 14px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(226, 245, 250, 0.9), rgba(240, 248, 251, 0.94));
  border: 1px solid rgba(10, 108, 131, 0.12);
}

.profile-callout p {
  margin: 4px 0 0;
  color: var(--muted);
}

.profile-edit-main {
  min-width: 0;
  padding: 12px 14px;
}

.profile-form .auth-form input,
.profile-form .auth-form select,
.profile-form .auth-form textarea,
.profile-form input,
.profile-form select,
.profile-form textarea {
  font-size: 0.95rem;
}

.profile-form input,
.profile-form select {
  min-height: 38px;
}

.profile-form textarea {
  min-height: 92px;
}

.profile-form .consent-row input {
  width: auto;
  min-height: auto;
}

.profile-grid .card-panel {
  padding: 14px;
}

.profile-primary-card {
  grid-row: span 2;
}

.profile-primary-head {
  align-items: center;
  margin-bottom: 12px;
}

.profile-primary-head .btn {
  min-height: 36px;
  padding: 0 14px;
}

.profile-review-card {
  padding: 14px 18px;
}

.profile-review-card p {
  margin: 8px 0 0;
}

.profile-secondary-card,
.profile-tag-card {
  height: fit-content;
}

.profile-grid .panel-header {
  margin-bottom: 10px;
}

.profile-grid .detail-grid {
  gap: 10px 14px;
}

.profile-grid .detail-grid strong {
  margin-top: 4px;
  font-size: 0.98rem;
  line-height: 1.25;
}

.profile-form {
  gap: 14px;
}

.accordion-stack {
  display: grid;
  gap: 10px;
}

.profile-accordion {
  border: 1px solid rgba(27, 65, 96, 0.1);
  border-radius: 12px;
  background: rgba(250, 252, 253, 0.96);
  overflow: hidden;
}

.profile-accordion[open] {
  border-color: rgba(15, 107, 127, 0.28);
  background: linear-gradient(180deg, rgba(247, 252, 253, 1), rgba(241, 248, 251, 0.98));
  box-shadow: 0 0 0 2px rgba(15, 107, 127, 0.08);
}

.profile-accordion[open] summary {
  background:
    linear-gradient(180deg, rgba(223, 241, 250, 0.92), rgba(210, 233, 246, 0.88));
}

.profile-accordion summary {
  position: relative;
  display: grid;
  grid-template-columns: minmax(96px, 120px) minmax(220px, 1fr) auto;
  align-items: center;
  column-gap: 12px;
  min-height: 46px;
  padding: 9px 48px 9px 14px;
  cursor: pointer;
  list-style: none;
}

.profile-accordion-title {
  display: block;
  width: 100%;
  min-width: 0;
  text-align: left;
}

.profile-accordion-title .section-label {
  margin: 0;
  text-align: left;
}

.profile-accordion-heading {
  display: block;
  width: 100%;
  min-width: 0;
  text-align: center;
  justify-self: center;
}

.profile-accordion summary::-webkit-details-marker {
  display: none;
}

.profile-accordion summary strong {
  display: block;
  margin-top: 0;
  font-size: 0.96rem;
  line-height: 1.2;
}

.profile-accordion summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: rgba(10, 108, 131, 0.08);
  color: var(--brand-deep);
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
}

.profile-accordion[open] summary::after {
  content: "\2212";
}

.accordion-meta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(10, 108, 131, 0.08);
  color: var(--brand-deep);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.accordion-summary-meta {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding-right: 0;
  justify-content: end;
}

.accordion-summary-meta .accordion-meta {
  justify-self: center;
  text-align: center;
}

.section-progress {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(15, 107, 127, 0.08);
  color: var(--brand-deep);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.section-progress-count {
  min-width: 54px;
  background: rgba(99, 112, 255, 0.1);
  color: #4150c4;
}

.section-progress-bar {
  min-width: 42px;
  width: 42px;
  height: 8px;
  padding: 0;
  background: rgba(27, 65, 96, 0.1);
  overflow: hidden;
}

.section-progress-bar span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #5566ff 0%, #18a07d 100%);
}

.accordion-content {
  padding: 14px 14px 14px;
  border-top: 1px solid rgba(27, 65, 96, 0.08);
}

.profile-accordion .form-section-note {
  margin: 0 0 14px;
}

.profile-accordion .accordion-content > .profile-field-grid:first-child {
  margin-top: 0;
}

.profile-field-grid {
  align-items: start;
  gap: 12px;
  margin-top: 12px;
}

.required-star {
  color: #d92d20;
  font-weight: 900;
}

.professional-unlock-banner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  margin: 14px 0 12px;
  padding: 18px 22px;
  border-radius: 18px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 18%, rgba(141, 92, 246, 0.72), transparent 30%),
    linear-gradient(135deg, #053f78 0%, #071a59 55%, #102f63 100%);
  overflow: hidden;
}

.dashboard-linkedin-banner {
  margin: 12px 0;
}

.dashboard-linkedin-cta {
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.dashboard-linkedin-cta:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.professional-unlock-banner strong {
  display: block;
  font-size: 1.28rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.professional-unlock-banner p {
  max-width: 76ch;
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.9rem;
  line-height: 1.45;
}

.professional-unlock-avatars {
  display: flex;
  align-items: center;
  padding-left: 4px;
}

.professional-unlock-avatars img {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-left: -8px;
  border: 2px solid rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  background: #0f6b7f;
  object-fit: cover;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
}

.professional-unlock-avatars img:first-child {
  margin-left: 0;
  background: #2b7bbb;
}

.professional-unlock-avatars img:last-child {
  background: #18a07d;
}

.professional-verification-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin: 12px 0 14px;
  padding: 12px 0 14px;
  border-bottom: 1px solid rgba(27, 65, 96, 0.08);
}

.linkedin-mark,
.linkedin-mini-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #0a66c2;
  color: #fff;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.linkedin-mark {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  font-size: 1.75rem;
}

.linkedin-mini-mark {
  width: 18px;
  height: 18px;
  border-radius: 3px;
  font-size: 0.82rem;
}

.professional-verification-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.professional-verification-copy strong {
  font-size: 1rem;
}

.professional-verification-copy p {
  max-width: 78ch;
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.professional-verification-action {
  justify-self: end;
}

.btn-linkedin-verify {
  gap: 8px;
  min-width: 148px;
  white-space: nowrap;
}

.btn-linkedin-verify.is-disabled {
  opacity: 0.68;
  cursor: default;
  pointer-events: none;
}

.profile-field-grid > label,
.profile-field-grid > .profile-field-stack,
.profile-field-grid > .profile-language-picker {
  align-self: start;
}

.profile-compact-field select {
  min-height: 42px;
}

.profile-field-stack {
  display: grid;
  gap: 12px;
  align-self: stretch;
}

.profile-field-stack > label,
.profile-field-stack > div {
  align-self: start;
}

.profile-language-picker {
  display: grid;
  gap: 8px;
}

.profile-multi-select-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.profile-multi-select-title {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}

.profile-multi-select-summary {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.35;
}

.profile-label-note {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.profile-multi-select-toggle {
  flex-shrink: 0;
}

.profile-multi-select {
  display: grid;
  gap: 10px;
}

.profile-multi-select-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 20px;
}

.profile-selected-chip {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(86, 102, 255, 0.08);
  color: #314399;
  border: 1px solid rgba(86, 102, 255, 0.12);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.profile-selected-chip-muted {
  background: rgba(27, 65, 96, 0.06);
  color: var(--muted);
  border-color: rgba(27, 65, 96, 0.08);
}

.profile-field-grid-basic {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.profile-field-grid-basic .basic-field-name-first {
  grid-column: 1 / 3;
}

.profile-field-grid-basic .basic-field-name-last {
  grid-column: 3 / 5;
}

.profile-field-grid-basic .basic-field-country {
  grid-column: 1 / 3;
}

.profile-field-grid-basic .basic-field-languages {
  grid-column: 3 / 5;
}

.profile-field-grid-basic .basic-field-dob {
  grid-column: 1 / 2;
}

.profile-field-grid-basic .basic-field-gender {
  grid-column: 2 / 3;
}

.profile-field-grid-basic .basic-field-panel-category {
  grid-column: 1 / 3;
}

.profile-field-grid-basic .basic-field-phone {
  grid-column: 3 / 5;
}

.profile-field-grid-basic .basic-field-other {
  grid-column: 1 / -1;
}

.profile-field-grid-basic .basic-field-about {
  grid-column: 1 / 3;
}

.profile-field-grid-basic .profile-photo-upload {
  grid-column: 3 / 5;
}

.profile-field-grid-basic .profile-photo-current {
  min-height: 52px;
}

.profile-language-picker > span:first-child {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  font-weight: 700;
}

.profile-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  max-height: 168px;
  padding: 8px;
  overflow-y: auto;
  border: 1px solid rgba(27, 65, 96, 0.14);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 253, 0.96));
}

.profile-choice-grid-collapsible {
  max-height: 168px;
  transition: max-height 180ms ease, box-shadow 180ms ease;
}

.profile-choice-grid-collapsible.is-expanded {
  max-height: 432px;
  box-shadow: inset 0 0 0 1px rgba(10, 108, 131, 0.08);
}

.profile-choice-pill {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(27, 65, 96, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.96);
  font-weight: 600 !important;
  font-size: 0.82rem;
  transition: border-color 140ms ease, background 140ms ease, box-shadow 140ms ease;
}

.profile-choice-pill:hover {
  border-color: rgba(10, 108, 131, 0.28);
  background: rgba(247, 251, 253, 0.98);
}

.profile-choice-pill input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--brand);
}

.profile-choice-pill:has(input:checked) {
  border-color: rgba(10, 108, 131, 0.28);
  background: rgba(15, 107, 127, 0.08);
  box-shadow: inset 0 0 0 1px rgba(10, 108, 131, 0.08);
}

.profile-multi-select-modern {
  position: relative;
  gap: 6px;
  min-width: 0;
}

.respondent-settings-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.settings-overview-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 64px;
  padding: 10px 12px;
  border: 1px solid #e1e8ec;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(22,49,69,.035);
}

.settings-overview-item > span:last-child { display: grid; gap: 2px; min-width: 0; }
.settings-overview-item small { color: #697e8c; font-size: .67rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.settings-overview-item strong { overflow: hidden; font-size: .82rem; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.status-text-good { color: #087552; }
.status-text-warn { color: #a15c00; }
.status-text-neutral { color: #637987; }

.account-verification-icon {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #d9e4e8;
  background: #f5f8f9;
}
.account-verification-icon::before { content: ""; width: 8px; height: 4px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-1px) rotate(-45deg); }
.account-verification-icon.is-verified { color: #087552; border-color: #bfe5d5; background: #eaf7f1; }
.account-verification-icon.is-pending { color: #a15c00; border-color: #efdbb3; background: #fff7e8; }

.profile-page-head-metrics .profile-head-metric {
  grid-template-columns: 28px minmax(0, 1fr);
  column-gap: 8px;
  align-items: center;
}
.profile-head-metric .profile-metric-icon { grid-row: 1 / 3; width: 28px; height: 28px; border-radius: 8px; background-color: #edf5f6; background-position: center; background-repeat: no-repeat; background-size: 17px; }
.profile-head-metric .detail-label, .profile-head-metric strong { grid-column: 2; }
.profile-metric-completeness .profile-metric-icon { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f7183' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3Cpath d='M12 4v8h8'/%3E%3C/svg%3E"); }
.profile-metric-quality .profile-metric-icon { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f7183' stroke-width='2'%3E%3Cpath d='m12 3 2.6 5.3 5.9.9-4.3 4.1 1 5.8-5.2-2.7-5.2 2.7 1-5.8-4.3-4.1 5.9-.9Z'/%3E%3C/svg%3E"); }
.profile-metric-category .profile-metric-icon { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f7183' stroke-width='2'%3E%3Cpath d='M4 5h16v14H4zM8 9h8M8 13h5'/%3E%3C/svg%3E"); }
.profile-metric-refresh .profile-metric-icon { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f7183' stroke-width='2'%3E%3Cpath d='M20 7v5h-5M4 17v-5h5M6.1 8a7 7 0 0 1 11.3-2.1L20 8M4 16l2.6 2.1A7 7 0 0 0 17.9 16'/%3E%3C/svg%3E"); }

.profile-secondary-card .detail-grid { gap: 8px; }
.profile-secondary-card .compliance-item { display: grid; grid-template-columns: 30px minmax(0, 1fr); align-items: center; gap: 9px; min-height: 48px; padding: 7px 8px; border: 1px solid #e5ebee; border-radius: 9px; background: #fbfcfc; }
.compliance-copy { display: grid; gap: 3px; min-width: 0; }
.compliance-icon { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: #edf5f6; color: #0f7183; font-size: .7rem; font-weight: 800; }
.compliance-icon::before { content: "\2713"; }
.compliance-linkedin .compliance-icon::before { content: none; }
.compliance-phone .compliance-icon::before { content: "#"; }
.compliance-payment .compliance-icon::before { content: "$"; }
.compliance-data .compliance-icon::before { content: "i"; }
.compliance-age .compliance-icon::before { content: "18"; font-size: .58rem; }

.profile-multi-select-modern.is-open {
  z-index: 120;
}

/* Keep option lists out of the form grid so opening a multi-select never
   moves neighbouring profile controls. */
.profile-accordion[open]:has(.profile-multi-select-modern.is-open) {
  position: relative;
  z-index: 110;
  overflow: visible;
}

.profile-multi-select-modern .profile-multi-select-head {
  min-height: 20px;
}

.profile-multi-select-modern .profile-multi-select-title > span:first-child {
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 700;
}

.profile-multi-select-modern .profile-multi-select-summary {
  display: none;
}

.profile-multi-select-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 8px;
  min-height: 54px;
  padding: 8px 10px 8px 12px;
  border: 1px solid rgba(27, 65, 96, 0.16);
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(17, 51, 75, 0.05);
  transition: border-color 140ms ease, box-shadow 140ms ease;
  cursor: pointer;
}

.profile-multi-select-control.has-filter {
  grid-template-columns: minmax(0, 1fr) minmax(120px, 0.55fr) auto auto;
}

.profile-multi-select-modern.is-open .profile-multi-select-control,
.profile-multi-select-control:focus-within {
  border-color: #0617ff;
  box-shadow: 0 0 0 1px #0617ff, 0 8px 20px rgba(6, 23, 255, 0.08);
}

.profile-multi-select-control .profile-multi-select-chips {
  min-height: 30px;
  gap: 5px;
}

.profile-multi-select-search {
  min-width: 0;
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  outline: none;
  padding: 4px 2px;
}


.native-multi-select .profile-multi-select-control.has-filter {
  grid-template-columns: minmax(0, 1fr) 30px auto auto;
}

.native-multi-select .profile-multi-select-search {
  width: 30px;
  height: 30px;
  padding: 0;
  border-radius: 6px;
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2362768a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 15px 15px;
  color: transparent;
  caret-color: var(--brand-ink);
}

.native-multi-select .profile-multi-select-search:focus {
  background-color: #f6f9fb;
  box-shadow: 0 0 0 1px rgba(15, 107, 127, 0.28);
}
.profile-multi-select-search::placeholder {
  color: var(--muted);
}

.profile-multi-select-empty {
  padding: 12px 14px;
  color: var(--muted);
  font-weight: 700;
}

.profile-multi-select-control .profile-selected-chip {
  min-height: 25px;
  padding: 0 7px;
  border: 0;
  border-radius: 6px;
  background: #f0f1fb;
  color: #00044a;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1;
  box-shadow: none;
  cursor: default;
}

button.profile-selected-chip {
  cursor: pointer;
}

.profile-selected-chip-x {
  margin-left: 5px;
  color: #8a8f9f;
  font-size: 1rem;
  line-height: 1;
}

.profile-multi-select-control .profile-selected-chip-muted {
  background: transparent;
  color: #8a92a6;
  padding-left: 0;
}

.profile-multi-select-clear,
.profile-multi-select-arrow {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #9aa2b2;
  font: inherit;
  cursor: pointer;
}

.profile-multi-select-clear:hover,
.profile-multi-select-arrow:hover {
  background: #f3f5f8;
  color: #17233b;
}

.profile-multi-select-arrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 140ms ease;
}

.profile-multi-select-modern.is-open .profile-multi-select-arrow::before {
  transform: translateY(2px) rotate(225deg);
}

.profile-multi-select-modern .profile-choice-grid-collapsible {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  display: none;
  grid-template-columns: 1fr;
  gap: 0;
  max-height: 320px;
  margin-top: 0;
  padding: 8px;
  overflow-y: auto;
  border: 1px solid rgba(27, 65, 96, 0.14);
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 14px 28px rgba(17, 51, 75, 0.12);
  z-index: 130;
}

.profile-multi-select-modern .profile-choice-grid-collapsible.is-expanded {
  display: grid;
  max-height: 320px;
  box-shadow: 0 18px 40px rgba(17, 51, 75, 0.18);
}

.profile-multi-select-modern .profile-choice-pill {
  position: relative;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  color: #1f2733;
  font-size: 0.98rem;
  font-weight: 500 !important;
  box-shadow: none;
  cursor: pointer;
}

.profile-multi-select-modern .profile-choice-pill.is-filtered-out {
  display: none !important;
}

.profile-multi-select-modern .profile-choice-pill + .profile-choice-pill,
.native-multi-select-option + .native-multi-select-option {
  border-top: 1px solid #edf0f3;
}

.profile-multi-select-modern .profile-choice-pill:hover,
.native-multi-select-option:hover {
  background: #f7f7f8;
}

.profile-multi-select-modern .profile-choice-pill input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.profile-multi-select-modern .profile-choice-pill:has(input:checked) {
  background: #fafafa;
  color: #111827;
  box-shadow: none;
}

.profile-multi-select-modern .profile-choice-pill:has(input:checked)::after,
.native-multi-select-option.is-selected::after {
  content: "\2713";
  color: #0617d9;
  font-size: 1.25rem;
  line-height: 1;
}

.native-multi-select-source {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.native-multi-select {
  width: 100%;
}

.native-multi-select-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  color: #1f2733;
  font: inherit;
  font-size: 0.98rem;
  text-align: left;
  cursor: pointer;
}

.hero-inline-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 4px;
}

.profile-form-actions {
  justify-content: flex-end;
  margin-top: 8px;
}

.profile-progress-meta {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 0;
}

.profile-progress-meta .inline-meta {
  margin: 0;
}

.profile-progress-value {
  flex-shrink: 0;
  font-size: 0.86rem;
  letter-spacing: -0.02em;
}

.profile-progress-track {
  margin-top: 0;
  height: 7px;
}

.app-footer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  background: #2c3e50;
  backdrop-filter: blur(12px);
  box-shadow: 0 -16px 34px rgba(13, 34, 56, 0.12);
  min-height: 58px;
  margin-left: -20px;
  margin-right: -20px;
}

.app-shell.admin-mode {
  background:
    radial-gradient(circle at top left, rgba(125, 163, 255, 0.12), transparent 24%),
    radial-gradient(circle at top right, rgba(77, 205, 215, 0.08), transparent 22%),
    linear-gradient(180deg, #f7f9fc 0%, #eef3f8 100%);
}

.app-shell.admin-mode .app-header {
  background: #2c3e50;
  border-color: rgba(255, 255, 255, 0.1);
}

.app-shell.admin-mode .sidebar-panel,
.app-shell.admin-mode .card-panel,
.app-shell.admin-mode .metric-card {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(27, 65, 96, 0.08);
  box-shadow: 0 18px 40px rgba(17, 51, 75, 0.08);
}

.app-shell.admin-mode .sidebar-link.is-active,
.app-shell.admin-mode .top-nav > a.is-active {
  background: linear-gradient(180deg, rgba(84, 129, 255, 0.16), rgba(84, 129, 255, 0.1));
  box-shadow: inset 0 0 0 1px rgba(84, 129, 255, 0.18), 0 10px 22px rgba(84, 129, 255, 0.08);
}

.app-shell.admin-mode .app-header .top-nav > a.is-active,
.app-shell.admin-mode .app-header .top-nav-menu.is-active > .top-nav-menu-summary,
.app-shell.admin-mode .app-header .top-nav-menu[open] > .top-nav-menu-summary {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.app-shell.admin-mode .btn-brand {
  background: linear-gradient(135deg, #4c6fff, #3157ea);
  box-shadow: 0 14px 24px rgba(49, 87, 234, 0.2);
}

.app-shell.admin-mode .btn-brand:hover {
  background: linear-gradient(135deg, #3e60ef, #2845c7);
}

.app-shell.admin-mode .btn-ghost {
  border-color: rgba(76, 111, 255, 0.14);
  color: #27437b;
}

.app-shell.admin-mode .badge-soft {
  background: rgba(76, 111, 255, 0.1);
  color: #3157ea;
}

.app-shell.admin-mode .status-live,
.app-shell.admin-mode .badge-live {
  background: rgba(39, 174, 96, 0.14);
  color: #127347;
}

.app-shell.admin-mode .status-limited {
  background: rgba(255, 184, 0, 0.16);
  color: #8f6500;
}

.app-shell.admin-mode .survey-table tbody tr:nth-child(even) {
  background: rgba(246, 248, 252, 0.88);
}

.app-shell.admin-mode .survey-table tbody tr:hover {
  background: rgba(235, 240, 249, 0.94);
}

.footer-logo {
  font-size: 0.88rem;
}

.footer-logo-image {
  height: 34px;
  padding: 6px 10px;
}

.footer-logo-image img {
  height: 22px;
  max-width: 150px;
}

.footer-tagline {
  margin: 0;
  color: rgba(247, 251, 255, 0.76);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0.84rem;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-links a {
  padding: 6px 10px;
  border-radius: 12px;
  color: rgba(247, 251, 255, 0.84);
  font-weight: 700;
  font-size: 0.9rem;
}

.footer-link-button {
  padding: 6px 10px;
  border: none;
  border-radius: 12px;
  background: transparent;
  color: rgba(247, 251, 255, 0.84);
  font: inherit;
  font-weight: 700;
  font-size: 0.9rem;
}

.footer-links a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.footer-link-button:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.cookie-consent-shell {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: grid;
  place-items: center;
  padding: 16px;
}

.cookie-consent-shell[hidden] {
  display: none;
}

.cookie-consent-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 29, 43, 0.42);
  backdrop-filter: blur(10px);
}

.cookie-consent-panel {
  position: relative;
  z-index: 1;
  width: min(440px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  display: grid;
  gap: 0;
  border: 1px solid rgba(13, 34, 56, 0.12);
  border-radius: 20px;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(91, 192, 214, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 252, 0.97));
  box-shadow: 0 30px 60px rgba(9, 27, 41, 0.24);
}

.cookie-consent-head,
.cookie-consent-note,
.cookie-consent-actions {
  padding: 14px 16px;
}

.cookie-consent-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid rgba(27, 65, 96, 0.08);
}

.cookie-consent-head h2 {
  margin: 4px 0 6px;
  font-size: clamp(1.02rem, 1.2vw, 1.3rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.cookie-consent-head p,
.cookie-consent-copy p,
.cookie-consent-note p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.35;
}

.cookie-consent-head .section-label {
  font-size: 0.64rem;
}

.cookie-consent-close {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 999px;
  background: rgba(15, 107, 127, 0.08);
  color: var(--brand-deep);
  font: inherit;
  font-size: 1.3rem;
  line-height: 1;
}

.cookie-consent-close:hover {
  background: rgba(15, 107, 127, 0.16);
}

.cookie-consent-body {
  display: grid;
  overflow-y: auto;
}

.cookie-consent-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(27, 65, 96, 0.08);
}

.cookie-consent-row.is-locked {
  background: rgba(15, 107, 127, 0.06);
  color: #6b7f91;
  cursor: not-allowed;
}

.cookie-consent-row.is-locked .cookie-consent-copy strong {
  color: #5f7488;
}

.cookie-consent-row.is-locked .cookie-consent-copy p {
  color: #7890a2;
}

.cookie-consent-row.is-locked .cookie-switch {
  opacity: 0.72;
  cursor: not-allowed;
}

.cookie-consent-copy {
  display: grid;
  gap: 6px;
}

.cookie-consent-copy strong {
  font-size: 0.84rem;
  letter-spacing: -0.02em;
}

.cookie-switch {
  position: relative;
  display: inline-flex;
  width: 46px;
  height: 26px;
}

.cookie-switch input {
  position: absolute;
  opacity: 0;
  inset: 0;
}

.cookie-switch span {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: #d3dbe3;
  transition: background 180ms ease;
}

.cookie-switch span::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 6px 12px rgba(15, 38, 55, 0.16);
  transition: transform 180ms ease;
}

.cookie-switch input:checked + span {
  background: linear-gradient(135deg, var(--brand), #34a86e);
}

.cookie-switch input:checked + span::after {
  transform: translateX(20px);
}

.cookie-switch input:disabled + span {
  background: linear-gradient(135deg, #b9c8d2, #d7e3e8);
  box-shadow: inset 0 0 0 1px rgba(27, 65, 96, 0.08);
}

.cookie-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(15, 107, 127, 0.14), rgba(52, 168, 110, 0.18));
  color: #0b5d4f;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cookie-consent-note {
  border-bottom: 1px solid rgba(27, 65, 96, 0.08);
  background: rgba(245, 249, 251, 0.84);
}

.cookie-consent-note a {
  color: var(--brand);
  font-weight: 700;
}

.cookie-consent-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 8px;
}

.cookie-consent-actions .btn {
  width: 100%;
  min-height: 34px;
  padding: 0 10px;
  font-size: 0.78rem;
  white-space: nowrap;
}

body.cookie-consent-open {
  overflow: hidden;
}

.reward-metric-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 18px;
}

.reward-metric-grid-compact {
  gap: 12px;
  margin-top: 16px;
}

.reward-metric-card {
  min-height: 0;
  padding: 12px 14px;
  border-radius: 16px;
}

.reward-metric-card strong {
  margin-top: 6px;
  font-size: 1.28rem;
}

.reward-metric-card p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.28;
}

.page-subcopy {
  margin: 10px 0 0;
  color: var(--muted);
}

.admin-filter-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 12px;
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid rgba(27, 65, 96, 0.08);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(248, 251, 253, 0.96), rgba(242, 247, 250, 0.92));
}

.admin-filter-form label {
  display: grid;
  gap: 6px;
  font-weight: 600;
}

.admin-filter-form input,
.admin-filter-form select {
  width: 100%;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(27, 65, 96, 0.14);
  border-radius: 10px;
  background: #fff;
  font: inherit;
}

.admin-filter-form select {
  padding-right: 42px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 250, 253, 0.94)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath fill='%23084f61' d='M7 8 0 0h14z'/%3E%3C/svg%3E") no-repeat right 14px center;
  appearance: none;
}

.admin-filter-actions {
  display: grid;
  grid-template-columns: minmax(110px, 150px) auto auto;
  gap: 8px;
  align-items: end;
  justify-content: start;
  grid-column: 1 / -1;
}

.admin-filter-actions label {
  margin: 0;
}

.admin-filter-actions .btn {
  min-height: 34px;
}

.panel-category-list-card .survey-table td:last-child,
.panel-category-list-card .survey-table th:last-child {
  width: 220px;
}

.panel-category-shell {
  padding: 16px 18px;
}

.panel-category-card-compact {
  padding: 14px;
}

.panel-category-card-compact .panel-header {
  margin-bottom: 12px;
}

.panel-category-card-compact .auth-form {
  gap: 10px;
}

.panel-category-card-compact .field-grid {
  gap: 10px;
}

.directory-toolbar,
.pagination-shell,
.pagination-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.directory-toolbar {
  margin-bottom: 16px;
}

.table-sort-link {
  color: inherit;
  font-weight: 700;
}

.respondent-table td strong + .inline-meta {
  margin-top: 4px;
}

.hover-reveal-row .compact-meta {
  max-height: 0;
  margin-top: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 160ms ease, margin-top 160ms ease, opacity 160ms ease;
}

.hover-reveal-row:hover .compact-meta,
.hover-reveal-row:focus-within .compact-meta,
.hover-reveal-row.is-expanded .compact-meta {
  max-height: 40px;
  margin-top: 4px;
  opacity: 1;
}

.empty-state {
  display: grid;
  gap: 8px;
  padding: 20px 8px;
}

.pagination-shell {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.respondent-pagination-shell {
  grid-template-columns: 1fr auto 1fr;
}

.pagination-shell .pagination-summary,
.respondent-pagination-shell .pagination-summary {
  justify-self: start;
}

.pagination-shell .pagination-links,
.respondent-pagination-shell .pagination-links {
  justify-self: center;
  justify-content: center;
}

.wallet-history {
  margin-top: 4px;
}

.coverage-estimator-card {
  background:
    linear-gradient(180deg, rgba(246, 251, 253, 0.98), rgba(238, 247, 250, 0.96)),
    var(--panel);
}

.survey-project-form {
  gap: 18px;
}

.survey-project-section {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(27, 65, 96, 0.08);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(250, 252, 253, 0.98), rgba(244, 249, 251, 0.96));
}

.survey-project-section-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.survey-project-section-head h2 {
  margin: 8px 0 0;
  font-size: 1.12rem;
  letter-spacing: -0.03em;
}
.manage-survey-feasibility-strip {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  min-height: 44px;
  padding: 8px 2px 2px;
  color: var(--brand-ink);
}

.manage-survey-feasibility-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.manage-survey-feasibility-item span:first-child {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.manage-survey-feasibility-item strong {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0;
}

.feasibility-status-dot {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1f9d55;
  box-shadow: inset 0 0 0 2px #1f9d55;
}


.feasibility-status-dot.is-warning {
  background: #d97706;
  box-shadow: inset 0 0 0 2px #d97706;
}

.feasibility-status-dot.is-warning::after {
  content: "!";
  width: auto;
  height: auto;
  border: 0;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
  transform: none;
}
.feasibility-status-dot::after {
  content: "";
  width: 8px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translate(1px, -1px);
}

.manage-survey-feasibility-menu,
.manage-survey-kebab {
  width: 20px;
  height: 28px;
  border: 0;
  background: transparent;
  color: var(--brand-ink);
  position: relative;
  padding: 0;
  cursor: pointer;
}

.manage-survey-feasibility-menu::before {
  content: "";
  position: absolute;
  inset: 9px 6px auto auto;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.manage-survey-kebab::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 7px;
  width: 3px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 7px 0 currentColor, 0 14px 0 currentColor;
}

.survey-target-profile-section {
  background: #fff;
}

.target-profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.38fr);
  gap: 14px;
  align-items: start;
}

.target-profile-builder,
.target-profile-feasibility {
  display: grid;
  gap: 12px;
}

.target-profile-block {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(27, 65, 96, 0.08);
  border-radius: 8px;
  background: #fbfcfd;
}

.target-profile-block-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.target-profile-block-head strong {
  font-size: 0.95rem;
}

.target-profile-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.target-profile-feasibility {
  position: sticky;
  top: 16px;
  padding: 14px;
  border: 1px solid rgba(27, 65, 96, 0.08);
  border-radius: 8px;
  background: #fff;
}

.target-profile-metric {
  padding: 12px;
  border: 1px solid rgba(27, 65, 96, 0.08);
  border-radius: 8px;
  background: #f8fbfd;
}

.target-profile-metric strong {
  display: block;
  margin-top: 6px;
  font-size: 1.8rem;
  letter-spacing: 0;
}

.target-profile-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.target-profile-mini-grid > div {
  padding: 10px;
  border: 1px solid rgba(27, 65, 96, 0.08);
  border-radius: 8px;
  background: #fbfcfd;
}

.target-profile-mini-grid strong {
  display: block;
  margin-top: 5px;
  font-size: 1rem;
}

.coverage-progress-shell {
  margin-top: 16px;
}

.coverage-progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.coverage-progress-track {
  background: rgba(19, 78, 94, 0.12);
}

.coverage-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.coverage-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(15, 107, 127, 0.1);
  color: var(--brand-deep);
  font-size: 0.78rem;
  font-weight: 700;
}

.coverage-chip-muted {
  background: rgba(27, 65, 96, 0.08);
  color: var(--muted);
}

.feasibility-shell {
  display: grid;
  gap: 12px;
}

.app-shell.feasibility-page-mode .workspace-shell {
  grid-template-columns: minmax(0, 1fr);
}

.app-shell.feasibility-page-mode .sidebar-panel {
  display: none;
}

.app-shell.feasibility-page-mode.feasibility-sidebar-open .workspace-shell {
  grid-template-columns: 280px minmax(0, 1fr);
}

.app-shell.feasibility-page-mode.feasibility-sidebar-open .sidebar-panel {
  display: block;
}

.feasibility-page-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 2px;
}

.feasibility-page-head h1 {
  margin: 6px 0 6px;
  font-size: clamp(1.8rem, 2.5vw, 2.7rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.feasibility-page-head p {
  max-width: 62ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.feasibility-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.62fr);
  gap: 12px;
  align-items: start;
}

.feasibility-builder,
.feasibility-summary {
  display: grid;
  gap: 18px;
}

.feasibility-card,
.feasibility-summary-card {
  border: 1px solid rgba(27, 65, 96, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.feasibility-card {
  padding: 14px;
  display: grid;
  gap: 10px;
}

.feasibility-summary {
  position: sticky;
  top: 18px;
}

.feasibility-summary-card {
  padding: 14px;
  display: grid;
  gap: 10px;
}

.feasibility-card-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.feasibility-card-head h2 {
  margin: 6px 0 0;
  font-size: 1rem;
  letter-spacing: -0.03em;
}

.feasibility-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(15, 107, 127, 0.12);
  color: var(--brand-deep);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.feasibility-pill-soft {
  background: rgba(27, 65, 96, 0.08);
  color: var(--muted);
}

.feasibility-pill[data-state="loading"] {
  background: rgba(38, 137, 87, 0.16);
  color: #1f7a4c;
  animation: feasibility-pill-blink 0.9s ease-in-out infinite;
}

.feasibility-pill[data-state="ready"] {
  background: rgba(38, 137, 87, 0.16);
  color: #1f7a4c;
  animation: none;
}

.feasibility-pill[data-state="error"] {
  background: rgba(180, 53, 53, 0.12);
  color: #a63b3b;
  animation: none;
}

.feasibility-pill[data-state="idle"] {
  animation: none;
}

@keyframes feasibility-pill-blink {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 rgba(38, 137, 87, 0);
  }

  50% {
    opacity: 0.42;
    box-shadow: 0 0 0 3px rgba(38, 137, 87, 0.12);
  }
}

.feasibility-subsection {
  display: grid;
  gap: 10px;
  padding-top: 4px;
}

.feasibility-subhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.feasibility-age-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.feasibility-age-slider {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(27, 65, 96, 0.08);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(249, 251, 253, 0.98), rgba(244, 249, 251, 0.94));
}

.feasibility-age-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.feasibility-age-header strong {
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.feasibility-age-track-shell {
  position: relative;
  height: 28px;
}

.feasibility-age-track-base,
.feasibility-age-track-fill {
  position: absolute;
  top: 50%;
  height: 8px;
  border-radius: 999px;
  transform: translateY(-50%);
}

.feasibility-age-track-base {
  left: 0;
  right: 0;
  background: rgba(27, 65, 96, 0.12);
}

.feasibility-age-track-fill {
  background: linear-gradient(90deg, #6c7dff, #4464f6);
  box-shadow: 0 8px 18px rgba(68, 100, 246, 0.18);
}

.feasibility-age-range {
  position: absolute;
  inset: 0;
  width: 100%;
  margin: 0;
  background: transparent !important;
  pointer-events: none;
  appearance: none;
  -webkit-appearance: none;
}

.feasibility-age-range::-webkit-slider-runnable-track {
  height: 28px;
  background: transparent;
}

.feasibility-age-range::-moz-range-track {
  height: 28px;
  background: transparent;
}

.feasibility-age-range::-webkit-slider-thumb {
  pointer-events: auto;
  width: 18px;
  height: 18px;
  border: 3px solid #fff;
  border-radius: 999px;
  background: #3157ea;
  box-shadow: 0 8px 18px rgba(49, 87, 234, 0.25);
  appearance: none;
  -webkit-appearance: none;
  margin-top: 5px;
}

.feasibility-age-range::-moz-range-thumb {
  pointer-events: auto;
  width: 18px;
  height: 18px;
  border: 3px solid #fff;
  border-radius: 999px;
  background: #3157ea;
  box-shadow: 0 8px 18px rgba(49, 87, 234, 0.25);
}

.feasibility-age-scale {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.feasibility-age-scale span:last-child {
  text-align: right;
}

.feasibility-age-selected {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feasibility-check {
  display: flex !important;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid rgba(27, 65, 96, 0.08);
  border-radius: 12px;
  background: rgba(245, 249, 251, 0.92);
  font-weight: 700 !important;
  font-size: 0.86rem;
}

.feasibility-check input {
  width: auto;
  min-height: auto;
  margin: 0;
}

.feasibility-score-block {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: end;
  padding: 10px 12px;
  border: 1px solid rgba(27, 65, 96, 0.08);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(246, 251, 253, 0.98), rgba(238, 247, 250, 0.96));
}

.feasibility-score-block strong {
  display: block;
  margin-top: 4px;
  font-size: 1.8rem;
  letter-spacing: -0.05em;
}

.feasibility-score-meta {
  display: flex;
  align-items: end;
  justify-content: flex-end;
  min-height: 100%;
  color: var(--muted);
  font-weight: 700;
}

.feasibility-metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.feasibility-metric {
  padding: 10px 12px;
  border: 1px solid rgba(27, 65, 96, 0.08);
  border-radius: 14px;
  background: rgba(248, 251, 253, 0.95);
}

.feasibility-metric strong {
  display: block;
  margin-top: 6px;
  font-size: 1.15rem;
  letter-spacing: -0.04em;
}

.feasibility-warning-list {
  display: grid;
  gap: 8px;
}

.feasibility-warning {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(27, 65, 96, 0.08);
}

.feasibility-warning span {
  color: var(--muted);
}

.feasibility-warning-high {
  background: rgba(255, 241, 241, 0.92);
  border-color: rgba(180, 53, 53, 0.16);
}

.feasibility-warning-medium {
  background: rgba(255, 248, 232, 0.94);
  border-color: rgba(168, 119, 20, 0.18);
}

.feasibility-warning-good {
  background: rgba(235, 249, 240, 0.94);
  border-color: rgba(38, 137, 87, 0.16);
}

.conduct-card {
  display: grid;
  gap: 18px;
  margin-top: 22px;
  padding: 24px;
  border: 1px solid rgba(27, 65, 96, 0.08);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.96));
  box-shadow: 0 18px 34px rgba(17, 51, 75, 0.08);
}

.conduct-card-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.conduct-card-head h2 {
  margin: 0 0 6px;
  font-size: 1.55rem;
  letter-spacing: -0.04em;
}

.conduct-card-head h1 {
  margin: 0 0 6px;
  font-size: 2rem;
  letter-spacing: -0.04em;
}

.conduct-card-head p,
.conduct-card-note p,
.conduct-list-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.conduct-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(90, 102, 255, 0.14), rgba(123, 225, 223, 0.22));
  font-size: 1.7rem;
}

.conduct-card-icon svg {
  width: 34px;
  height: 34px;
  display: block;
  fill: none;
  stroke: #124f68;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.conduct-card-icon-handshake {
  background: linear-gradient(135deg, #fff4d8, #ffe2a6);
  color: #9a6500;
}

.conduct-card-icon-handshake svg {
  stroke: #9a6500;
}

.conduct-card-icon-emoji {
  font-size: 1.8rem;
}

.conduct-card-note {
  display: grid;
  gap: 8px;
  padding: 18px 20px;
  border: 1px solid rgba(244, 181, 74, 0.2);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 249, 238, 0.98), rgba(255, 244, 223, 0.94));
}

.conduct-list {
  display: grid;
  gap: 14px;
}

.conduct-page-card {
  max-width: 920px;
  margin: 0 auto;
  padding: 28px 32px;
  display: grid;
  gap: 24px;
}

.conduct-page-list {
  display: grid;
  gap: 18px;
}

.conduct-page-list h2 {
  margin: 0;
  font-size: 1.55rem;
  letter-spacing: -0.04em;
}

.conduct-list-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.conduct-list-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(108, 125, 255, 0.15);
  color: #4958d7;
  font-size: 0.85rem;
  font-weight: 800;
}

.conduct-consent-shell {
  position: fixed;
  inset: 0;
  z-index: 1350;
  display: grid;
  place-items: center;
  padding: 24px;
}

.conduct-consent-shell[hidden] {
  display: none;
}

.conduct-consent-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 29, 43, 0.48);
}

.conduct-consent-panel {
  position: relative;
  z-index: 1;
  width: min(620px, calc(100vw - 32px));
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid rgba(27, 65, 96, 0.1);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(17, 51, 75, 0.24);
}

.conduct-consent-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.conduct-consent-head h2 {
  margin: 4px 0 6px;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.conduct-consent-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.conduct-list-compact {
  gap: 10px;
}

.conduct-list-compact .conduct-list-item p {
  line-height: 1.45;
}

.conduct-consent-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 4px;
}

.admin-settings-form {
  display: grid;
  gap: 18px;
}

.admin-settings-card {
  padding: 22px;
  border-radius: 24px;
}

.admin-settings-policy-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(27, 65, 96, 0.08);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(250, 252, 253, 0.98), rgba(244, 248, 252, 0.94));
}

.admin-settings-policy-copy {
  display: grid;
  gap: 4px;
}

.admin-settings-policy-copy h2 {
  margin: 0;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.admin-settings-policy-copy p {
  margin: 0;
  max-width: 76ch;
  color: var(--muted);
  line-height: 1.45;
}

.admin-settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 16px;
}

.admin-settings-grid textarea {
  min-height: 96px;
}

.admin-settings-grid label {
  display: grid;
  align-content: start;
  min-width: 0;
}

.settings-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(27, 65, 96, 0.12);
  border-radius: 999px;
  background: rgba(248, 251, 253, 0.9);
  color: var(--brand-ink);
  font-weight: 800 !important;
}

.settings-toggle input {
  width: 15px;
  height: 15px;
  min-height: auto;
  margin: 0;
  accent-color: var(--brand);
}

body.conduct-consent-open {
  overflow: hidden;
}

.consent-row-strong {
  padding: 14px 16px;
  border: 1px solid rgba(73, 88, 215, 0.16);
  border-radius: 18px;
  background: rgba(244, 246, 255, 0.92);
}

.profile-hero-identity {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.profile-hero-copy {
  display: grid;
  gap: 6px;
}

.profile-hero-meta {
  color: #6a7f95;
  font-size: 0.95rem;
  font-weight: 600;
}

.profile-avatar {
  width: 108px;
  height: 108px;
  border-radius: 28px;
  border: 1px solid rgba(27, 65, 96, 0.08);
  box-shadow: 0 16px 30px rgba(17, 51, 75, 0.12);
}

.profile-avatar-image {
  object-fit: cover;
  background: #ffffff;
}

.profile-avatar-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #dfe3ff 0%, #ddf7f2 100%);
  color: #23415e;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.profile-page-head {
  padding: 24px 26px;
  background:
    radial-gradient(circle at top right, rgba(83, 199, 255, 0.16), transparent 28%),
    radial-gradient(circle at left center, rgba(108, 125, 255, 0.1), transparent 30%),
    rgba(255, 255, 255, 0.96);
}

.profile-primary-card,
.profile-secondary-card,
.profile-tag-card {
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.96));
}

.profile-grid .detail-grid strong {
  display: block;
  margin-top: 6px;
  color: #193450;
  font-size: 1rem;
  line-height: 1.45;
}

.feasibility-builder .field-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 12px;
}

.feasibility-top-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 10px 14px !important;
  align-items: start;
}

.feasibility-primary-grid {
  grid-template-columns: minmax(220px, 1.4fr) repeat(2, minmax(180px, 1fr)) !important;
}

.feasibility-advanced-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px 14px !important;
}

.field-span-all {
  grid-column: 1 / -1;
}

.feasibility-builder label {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.feasibility-builder label span {
  display: block;
  font-size: 0.82rem;
  line-height: 1.25;
}

.feasibility-builder input,
.feasibility-builder select,
.feasibility-builder textarea {
  min-height: 30px;
  padding: 5px 9px;
  border-radius: 10px;
  font-size: 0.84rem;
}

.feasibility-builder textarea {
  min-height: 56px;
}

.multi-select-compact {
  min-height: 92px !important;
  padding: 6px 8px !important;
  font-size: 0.82rem;
}

.feasibility-summary .list-row {
  padding: 10px 0;
}

.feasibility-summary .detail-label,
.feasibility-summary .section-label {
  font-size: 0.68rem;
}

.feasibility-advanced-filters {
  border: 1px solid rgba(27, 65, 96, 0.08);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(248, 251, 253, 0.92);
}

.feasibility-advanced-filters summary,
.feasibility-collapsible summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  font-weight: 800;
  color: var(--brand-ink);
}

.feasibility-advanced-filters summary::-webkit-details-marker,
.feasibility-collapsible summary::-webkit-details-marker {
  display: none;
}

.feasibility-advanced-filters summary::after {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(15, 107, 127, 0.1);
  color: var(--brand-deep);
  font-size: 0.95rem;
  line-height: 1;
}

.feasibility-advanced-filters[open] summary {
  border-bottom: 1px solid rgba(27, 65, 96, 0.08);
  background: rgba(244, 249, 251, 0.95);
}

.feasibility-advanced-filters[open] summary::after {
  content: "âˆ’";
}

.feasibility-advanced-body {
  display: grid;
  gap: 10px;
  padding: 12px 14px 14px;
}

.feasibility-advanced-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.feasibility-collapsible {
  gap: 8px;
}

.feasibility-collapsible[open] {
  padding-bottom: 14px;
}

.feasibility-collapsible summary strong {
  display: block;
  font-size: 1rem;
  letter-spacing: -0.03em;
}

.pagination-summary {
  color: var(--muted);
  font-weight: 600;
}

.is-disabled {
  pointer-events: none;
  opacity: 0.55;
}

.admin-dashboard-shell,
.admin-dashboard-layout,
.admin-dashboard-action-grid,
.admin-dashboard-list,
.admin-dashboard-hero-meta {
  display: grid;
  gap: 18px;
}

.admin-dashboard-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 0;
  padding-top: 14px;
  padding-bottom: 14px;
}

.admin-dashboard-hero h1 {
  margin: 10px 0 8px;
  font-size: clamp(2rem, 3vw, 3rem);
  letter-spacing: -0.05em;
}

.admin-dashboard-hero-meta {
  grid-template-columns: repeat(2, minmax(170px, 1fr));
  gap: 10px;
  align-content: center;
}

.admin-dashboard-hero-meta > div,
.admin-dashboard-action-card {
  padding: 10px 12px;
  border: 1px solid rgba(27, 65, 96, 0.08);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(250, 252, 253, 0.98), rgba(244, 248, 252, 0.94));
}

.admin-dashboard-hero-meta strong,
.admin-dashboard-action-card strong {
  display: block;
  margin-top: 4px;
  font-size: 0.96rem;
}

.admin-dashboard-metrics {
  margin-top: 14px;
}

.admin-dashboard-metrics.admin-dashboard-metrics-compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.admin-dashboard-metrics.admin-dashboard-metrics-compact .metric-card {
  padding: 14px 20px;
  min-height: 104px;
}

.admin-dashboard-metrics.admin-dashboard-metrics-compact .metric-card strong {
  margin-top: 10px;
  font-size: 1.25rem;
}

.admin-dashboard-metrics.admin-dashboard-metrics-compact .metric-card p {
  display: none;
}

.admin-dashboard-layout {
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  margin-top: 8px;
  align-items: start;
}

.admin-dashboard-action-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-dashboard-action-card {
  display: grid;
  gap: 6px;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.admin-dashboard-action-card span,
.admin-dashboard-list-item span {
  color: var(--muted);
}

.admin-dashboard-action-card:hover,
.admin-dashboard-list-item:hover {
  transform: translateY(-1px);
  border-color: rgba(15, 107, 127, 0.22);
  box-shadow: 0 16px 28px rgba(17, 51, 75, 0.08);
}

.admin-dashboard-list-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid rgba(27, 65, 96, 0.08);
}

.admin-dashboard-list-item:first-child {
  border-top: none;
  padding-top: 0;
}

.admin-dashboard-list-item strong {
  display: block;
}

.admin-dashboard-list-item > div {
  display: grid;
  gap: 4px;
}

.admin-dashboard-list-end {
  justify-items: end;
  text-align: right;
}

@media (max-width: 1280px) {
  .workspace-shell,
  .hero-panel,
  .content-grid,
  .panel-category-layout,
  .profile-grid,
  .feasibility-layout,
  .survey-layout,
  .survey-page-head,
  .survey-card-grid,
  .metric-grid,
  .admin-section-grid,
  .admin-dashboard-layout,
  .admin-dashboard-hero {
    grid-template-columns: 1fr;
  }

  .survey-progress-panel {
    position: static;
  }

  .auth-shell {
    grid-template-columns: 1fr;
  }

  .login-showcase { grid-template-columns: 1fr; }
  .login-panel { width: min(680px, 100%); justify-self: center; }

  .sidebar-panel {
    position: static;
  }

  .profile-page-head {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .profile-page-head-title {
    display: grid;
    gap: 8px;
  }

  .profile-page-head-metrics {
    align-self: stretch;
  }

  .feasibility-top-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .feasibility-primary-grid,
  .feasibility-advanced-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 1100px) {
  .workspace-shell {
    grid-template-columns: 1fr;
  }

  .sidebar-panel {
    position: static;
  }

  .mobile-shell-actions {
    display: flex;
    width: 100%;
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .header-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    margin-left: 0;
  }

  .header-utility-group {
    width: 100%;
    justify-content: space-between;
  }

  .top-nav {
    width: 100%;
    gap: 10px;
    display: none;
    max-width: 100%;
    overflow: hidden;
  }

  .top-nav.is-open {
    display: flex;
  }

  .sidebar-panel.is-open {
    display: block;
    max-width: 100%;
    overflow: hidden;
  }

  .top-nav a,
  .nav-button {
    padding: 6px 10px;
    font-size: 0.9rem;
  }

  .top-nav {
    flex-direction: column;
    align-items: stretch;
    padding-top: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .top-nav a,
  .top-nav-menu,
  .top-nav-menu-summary,
  .top-nav .inline-form,
  .top-nav .nav-button {
    width: 100%;
  }

  .top-nav-menu-summary {
    justify-content: space-between;
  }

  .top-nav-dropdown {
    position: static;
    min-width: 0;
    width: 100%;
    margin-top: 6px;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.94);
  }

  .sidebar-panel {
    display: none;
    padding: 18px 16px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .header-user-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: auto;
    left: 0;
    width: min(320px, calc(100vw - 32px));
    margin-top: 0;
  }

  .header-notification-dropdown {
    position: fixed;
    top: 86px;
    right: 14px;
    left: 14px;
    width: auto;
    max-height: calc(100dvh - 112px);
    margin-top: 0;
  }

  .sidebar-links,
  .sidebar-section {
    width: 100%;
  }
}

@media (max-width: 900px) {
  .app-shell {
    padding: 0 14px 0;
  }

  .app-header,
  .app-footer {
    margin-left: -14px;
    margin-right: -14px;
  }

  .app-footer {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .app-footer .footer-links {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .app-header {
    align-items: start;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .brand-block {
    flex: 1 1 auto;
    min-width: 0;
  }

  .mobile-shell-actions {
    flex: 0 0 auto;
    width: auto;
    margin-left: auto;
  }

  .header-actions {
    flex: 1 0 100%;
  }

  .header-notification-summary,
  .notification-center-hero,
  .notification-center-item-head,
  .notification-center-item-foot {
    flex-direction: column;
    align-items: stretch;
  }

  .notification-center-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .notification-center-count {
    justify-items: start;
    text-align: left;
  }

  .detail-grid,
  .status-grid,
  .wallet-metrics,
  .field-grid,
  .feasibility-age-grid,
  .feasibility-metric-grid,
  .admin-filter-form,
  .compact-detail-grid,
  .reward-metric-grid,
  .admin-review-grid,
  .review-modal-meta,
  .review-modal-actions,
  .admin-flow-grid,
  .admin-kpi-grid,
  .profile-page-head-metrics,
  .admin-respondent-summary-grid,
  .admin-respondent-profile-grid,
  .admin-dashboard-action-grid {
    grid-template-columns: 1fr;
  }

  .reward-history-row,
  .survey-progress-header {
    flex-direction: column;
    align-items: stretch;
  }

  .reward-history-end {
    text-align: left;
    gap: 6px;
  }

  .admin-dashboard-list-item {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-dashboard-list-end {
    justify-items: start;
    text-align: left;
  }

  .profile-summary-head {
    flex-direction: column;
    align-items: stretch;
  }

  .profile-page-head-metrics-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-progress-ring-card {
    min-width: 0;
  }

  .profile-page-head-copy {
    gap: 10px;
  }

  .profile-edit-header {
    grid-template-columns: 1fr;
  }

  .profile-edit-header .profile-page-head-copy {
    grid-template-columns: 1fr;
  }

  .profile-edit-header .profile-page-head-title,
  .profile-edit-header .hero-actions {
    grid-column: auto;
    grid-row: auto;
    justify-self: stretch;
    text-align: left;
  }

  .profile-edit-header .profile-page-head-copy h1 {
    max-width: 100%;
    font-size: 1.72rem;
    line-height: 1.02;
  }

  .profile-edit-identity {
    align-items: flex-start;
  }

  .profile-edit-identity > div:last-child {
    min-width: 0;
  }

  .profile-edit-identity .muted {
    overflow-wrap: anywhere;
  }

  .profile-edit-header .profile-page-head-metrics {
    justify-self: stretch;
    width: 100%;
  }

  .profile-primary-head {
    align-items: stretch;
  }

  .admin-hero,
  .admin-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-consent-row {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .cookie-switch {
    justify-self: start;
  }

  .feasibility-page-head,
  .feasibility-card-head,
  .feasibility-score-block {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .app-toast {
    top: 10px;
    right: 10px;
    left: 10px;
    min-width: 0;
    max-width: none;
    padding: 12px 14px;
  }

  .hero-actions,
  .pagination-links,
  .admin-filter-actions,
  .table-actions {
    width: 100%;
  }

  .hero-actions .btn,
  .pagination-links .btn,
  .admin-filter-actions .btn,
  .table-actions .btn {
    flex: 1 1 auto;
    min-width: 0;
  }

  .profile-form-actions .btn,
  .auth-actions .btn {
    width: 100%;
  }

  .account-settings-head,
  .account-settings-section-head,
  .account-deactivate-panel,
  .account-settings-actions,
  .social-linkedin-row,
  .social-account-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .account-field-with-badge,
  .account-field-with-action {
    grid-template-columns: 1fr;
  }

  .consent-row-pair {
    grid-template-columns: 1fr;
  }

  .social-linkedin-row {
    grid-template-columns: 1fr;
  }

  .social-linkedin-action {
    justify-self: stretch;
  }

  .account-settings-actions .btn,
  .account-deactivate-panel .btn,
  .social-account-actions .btn {
    width: 100%;
  }

  .profile-field-grid-basic {
    grid-template-columns: 1fr;
  }

  .profile-field-grid-basic .basic-field-name-first,
  .profile-field-grid-basic .basic-field-name-last,
  .profile-field-grid-basic .basic-field-country,
  .profile-field-grid-basic .basic-field-languages,
  .profile-field-grid-basic .basic-field-dob,
  .profile-field-grid-basic .basic-field-gender,
  .profile-field-grid-basic .basic-field-panel-category,
  .profile-field-grid-basic .basic-field-phone,
  .profile-field-grid-basic .profile-photo-upload,
  .profile-field-grid-basic .basic-field-other,
  .profile-field-grid-basic .basic-field-about {
    grid-column: auto;
    grid-row: auto;
  }

  .professional-unlock-banner,
  .professional-verification-panel {
    grid-template-columns: 1fr;
  }

  .professional-unlock-banner {
    padding: 16px;
  }

  .professional-verification-action {
    justify-self: stretch;
  }

  .btn-linkedin-verify {
    width: 100%;
  }

  .panel-header,
  .directory-toolbar,
  .pagination-shell,
  .pagination-links,
  .hero-actions,
  .admin-filter-actions,
  .table-actions,
  .mobile-shell-actions {
    overflow-wrap: anywhere;
  }

  .survey-admin-table th:nth-child(4),
  .survey-admin-table td:nth-child(4),
  .survey-admin-table th:nth-child(5),
  .survey-admin-table td:nth-child(5),
  .survey-admin-table th:nth-child(7),
  .survey-admin-table td:nth-child(7),
  .approval-table th:nth-child(3),
  .approval-table td:nth-child(3),
  .approval-table th:nth-child(4),
  .approval-table td:nth-child(4),
  .profile-change-table th:nth-child(3),
  .profile-change-table td:nth-child(3),
  .panel-category-table th:nth-child(2),
  .panel-category-table td:nth-child(2) {
    display: none;
  }

  .compact-meta {
    max-height: 40px;
    margin-top: 4px;
    opacity: 1;
  }

  .feasibility-top-grid,
  .feasibility-primary-grid,
  .feasibility-advanced-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .field-span-all {
    grid-column: span 2;
  }

  .pagination-shell {
    grid-template-columns: 1fr;
  }

  .pagination-shell .pagination-summary,
  .pagination-shell .pagination-links {
    justify-self: stretch;
  }
}

@media (max-width: 640px) {
  .app-shell {
    padding: 0 10px 0;
  }

  .app-header,
  .app-footer {
    margin-left: -10px;
    margin-right: -10px;
  }

  .app-header,
  .card-panel,
  .auth-panel {
    padding: 14px;
  }

  .feasibility-card,
  .feasibility-summary-card {
    padding: 14px;
  }

  .auth-feature-panel,
  .app-footer {
    padding: 16px;
  }

  .login-showcase { margin: 14px auto; gap: 16px; }
  .login-hero { grid-template-columns: 1fr; padding: 30px 22px; border-radius: 24px; }
  .login-hero h1 { font-size: clamp(2.35rem, 13vw, 3.4rem); }
  .login-visual { display: none; }
  .login-trust-row { margin-top: 32px; }
  .login-panel { padding: 24px 18px; border-radius: 24px; }

  .admin-filter-form,
  .profile-summary-grid,
  .admin-kpi-grid,
  .profile-page-head-metrics {
    grid-template-columns: 1fr;
  }

  .profile-page-head-metrics-compact {
    grid-template-columns: 1fr;
  }

  .profile-progress-ring-card {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .profile-primary-head .btn {
    width: 100%;
  }

  .profile-progress-meta {
    flex-direction: row;
    align-items: center;
  }

  .profile-choice-grid {
    grid-template-columns: 1fr;
  }

  .accordion-summary-meta {
    grid-template-columns: auto auto;
    justify-content: start;
  }

  .accordion-summary-meta .accordion-meta {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .profile-accordion summary {
    display: flex;
    padding-left: 14px;
    padding-right: 14px;
    justify-content: space-between;
  }

  .cookie-consent-shell {
    padding: 10px;
    align-items: end;
  }

  .cookie-consent-panel {
    width: min(100%, calc(100vw - 20px));
    max-height: calc(100vh - 20px);
    border-radius: 18px;
  }

  .cookie-consent-head,
  .cookie-consent-note,
  .cookie-consent-actions,
  .cookie-consent-row {
    padding-left: 14px;
    padding-right: 14px;
  }

  .cookie-consent-head {
    gap: 12px;
  }

  .cookie-consent-actions {
    grid-template-columns: 1fr;
  }

  .cookie-consent-actions .btn {
    width: 100%;
  }

  .profile-accordion-title {
    justify-items: start;
    text-align: left;
  }

  .profile-accordion-heading {
    width: auto;
    text-align: left;
  }

  .accordion-summary-meta {
    padding-right: 0;
  }

  .app-footer {
    grid-template-columns: 1fr;
  }

  .footer-tagline {
    white-space: normal;
    text-align: left;
  }

  .workspace-shell {
    gap: 14px;
  }

  .mobile-shell-actions {
    width: auto;
    justify-content: flex-end;
  }

  .header-user-summary,
  .header-notification-summary {
    justify-content: center;
  }

  .header-notification-dropdown {
    top: 78px;
    right: 10px;
    left: 10px;
    border-radius: 20px;
  }

  .header-notification-dropdown-head {
    align-items: center;
    gap: 10px;
  }

  .header-notification-dropdown-actions {
    justify-content: flex-end;
  }

  .header-notification-item {
    grid-template-columns: minmax(0, 1fr);
    padding: 12px 8px;
  }

  .mobile-shell-actions .mobile-toggle {
    flex: 0 0 auto;
    width: 44px;
    min-width: 0;
  }

  .profile-edit-header {
    padding: 16px;
    gap: 16px;
  }

  .profile-edit-avatar {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
  }

  .profile-edit-header .profile-progress-ring-card {
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 14px;
  }

  .profile-edit-header .profile-progress-ring {
    width: 78px;
    height: 78px;
  }

  .survey-table-shell {
    margin: 0 -4px;
  }

  .top-nav,
  .sidebar-panel,
  .card-panel,
  .auth-panel,
  .panel-header,
  .directory-toolbar,
  .pagination-shell {
    max-width: 100%;
    overflow: hidden;
  }

  .panel-header,
  .directory-toolbar,
  .pagination-shell,
  .pagination-links,
  .hero-actions,
  .admin-filter-actions,
  .table-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-filter-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .admin-filter-actions label {
    grid-column: 1 / -1;
  }

  .admin-filter-actions > * {
    width: auto;
    min-width: 0;
  }

  .admin-filter-actions .btn {
    width: 100%;
  }

  .panel-header > *,
  .directory-toolbar > *,
  .pagination-shell > *,
  .pagination-links > *,
  .hero-actions > *,
  .admin-filter-actions > *,
  .table-actions > * {
    width: 100%;
    min-width: 0;
  }

  .survey-table th,
  .survey-table td,
  .survey-table-compact th,
  .survey-table-compact td {
    padding: 8px 6px;
    font-size: 0.79rem;
  }

  .btn,
  .btn-sm {
    min-height: 36px;
    padding: 0 10px;
    font-size: 0.78rem;
  }

  .auth-form input,
  .auth-form select,
  .admin-filter-form input,
  .admin-filter-form select {
    min-height: 38px;
  }

  .multi-select {
    min-height: 108px !important;
  }

  .feasibility-top-grid,
  .feasibility-primary-grid,
  .feasibility-advanced-grid {
    grid-template-columns: 1fr !important;
  }

  .field-span-all {
    grid-column: span 1;
  }
}

.friendly-error-illustration { display:block; width:min(420px,100%); max-height:220px; object-fit:cover; border-radius:20px; margin:0 auto 28px; }
.friendly-error-page .hero-actions { justify-content:center; margin-top:24px; }

@media (max-width: 900px) {
  .app-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
  }

  .brand-block {
    grid-column: 1;
    grid-row: 1;
    align-items: flex-start;
    justify-self: start;
    min-height: 0;
    width: 100%;
    overflow: hidden;
  }

  .brand-mark-logo {
    height: auto;
    padding: 0;
    width: 100%;
    max-width: 250px;
    justify-content: flex-start;
  }

  .brand-mark-logo img {
    height: 34px;
    width: auto;
    max-width: 100%;
  }

  .mobile-shell-actions {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    justify-self: end;
  }

  .header-actions {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    margin-top: 2px;
  }

  .header-utility-group {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    width: 100%;
  }

  .header-user-shell {
    min-width: 0;
    width: 100%;
  }

  .header-user-summary {
    width: 100%;
    min-height: 58px;
    justify-content: flex-start;
    border-radius: 20px;
  }

  .header-user-summary strong {
    max-width: none;
    min-width: 0;
  }

  .header-notification-summary {
    width: 58px;
    min-height: 58px;
    justify-content: center;
    border-radius: 20px;
  }

  .top-nav.is-open {
    margin-top: 4px;
  }

  .profile-page-head {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 18px;
    overflow: hidden;
  }

  .profile-page-head-copy {
    width: 100%;
  }

  .profile-hero-identity {
    grid-template-columns: 84px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    width: 100%;
  }

  .profile-avatar {
    width: 84px;
    height: 84px;
    border-radius: 22px;
  }

  .profile-hero-copy {
    min-width: 0;
  }

  .profile-hero-copy h1 {
    margin: 2px 0 0;
    font-size: 1.9rem;
    line-height: 1;
    overflow-wrap: anywhere;
  }

  .profile-hero-meta,
  .profile-hero-copy p {
    overflow-wrap: anywhere;
  }

  .profile-page-head-metrics,
  .profile-page-head-metrics-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    justify-self: stretch;
    gap: 10px;
  }

  .profile-page-head-metrics div {
    min-width: 0;
    padding: 12px 14px;
  }

  .app-footer {
    align-items: start;
    gap: 14px;
    padding: 24px 20px;
  }

  .footer-logo-image {
    justify-self: start;
    padding: 0;
  }

  .footer-logo-image img {
    height: 28px;
    max-width: min(230px, 100%);
  }

  .footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 14px;
    width: 100%;
    justify-content: stretch;
  }

  .footer-links a,
  .footer-link-button {
    width: 100%;
    padding: 8px 0;
    text-align: left;
  }
}

@media (max-width: 380px) {
  .profile-hero-identity,
  .profile-page-head-metrics,
  .profile-page-head-metrics-compact,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .profile-avatar {
    width: 76px;
    height: 76px;
  }
}

@media (max-width: 980px) {
  .manage-survey-feasibility-strip {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .target-profile-layout,
  .target-profile-grid {
    grid-template-columns: 1fr !important;
  }

  .target-profile-feasibility {
    position: static;
  }
}
/* Cint-style manage survey editor */
.survey-project-form {
  gap: 0;
}

.cint-project-metrics {
  display: flex;
  gap: 48px;
  align-items: end;
  min-height: 72px;
  padding: 10px 0 24px;
  border-bottom: 1px solid rgba(15, 107, 127, 0.35);
  color: var(--brand-ink);
}

.cint-project-metric {
  display: grid;
  gap: 8px;
  min-width: 82px;
}

.cint-project-metric strong {
  display: block;
  min-height: 18px;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--brand-ink);
}

.cint-project-metric strong:empty::before,
.cint-project-metric strong:has(+ span)::before {
  content: "";
}

.cint-project-metric strong {
  position: relative;
}

.cint-project-metric strong::after {
  content: none;
}

.cint-project-metric span {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--muted);
}

.cint-project-summary {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  min-height: 48px;
  padding: 10px 0;
  color: var(--brand-ink);
}

.cint-editor-tabs {
  display: flex;
  gap: 8px;
  width: fit-content;
  min-height: auto;
  align-items: center;
  margin: 14px 0 18px;
  padding: 5px;
  border: 1px solid rgba(15, 107, 127, 0.16);
  border-radius: 12px;
  background: #f3f8fa;
}

.cint-editor-tab {
  border: 0;
  background: transparent;
  padding: 8px 16px;
  border-radius: 8px;
  color: #52677a;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  position: relative;
}

.cint-editor-tab.is-active {
  color: #0b5565;
  background: #fff;
  box-shadow: 0 2px 8px rgba(16, 48, 69, 0.09);
}

.cint-editor-tab.is-active::after {
  content: none;
}

.cint-tab-panel {
  min-height: 320px;
  padding: 0;
}

.target-group-empty {
  min-height: 300px;
  display: grid;
  place-items: center end;
  padding: 38px 22vw 60px 0;
  background: #fafafa;
}

.target-group-empty > div {
  display: grid;
  justify-items: center;
  gap: 12px;
  color: var(--brand-deep);
}

.target-group-empty h2 {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: 0;
}

.target-group-empty p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.98rem;
}

.cint-primary-action {
  border-radius: 0;
  background: var(--brand-deep) !important;
  border-color: var(--brand-deep) !important;
  color: #fff !important;
  min-height: 42px;
  padding: 0 28px;
}

.cint-outline-action {
  border-radius: 0;
  border-color: var(--brand-deep) !important;
  color: var(--brand-deep) !important;
  background: #fff !important;
  min-height: 34px;
}

.target-group-workflow {
  display: grid;
  gap: 0;
}

.target-group-section {
  border-bottom: 1px solid rgba(15, 107, 127, 0.35);
  padding: 28px 10px;
}

.target-group-section h2 {
  margin: 0 0 3px;
  color: var(--brand-deep);
  font-size: 1.25rem;
  letter-spacing: 0;
}

.target-group-section p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.target-group-section-body,
.target-group-section .target-group-section-head,
.target-group-section.is-open .target-group-collapsed-head {
  display: none;
}

.target-group-section.is-open .target-group-section-body,
.target-group-section.is-open .target-group-section-head {
  display: grid;
}

.target-group-collapsed-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.target-group-section.is-open {
  padding-top: 28px;
  padding-bottom: 30px;
}

.target-group-section.is-dirty {
  background: #f5fbfd;
  box-shadow: inset 4px 0 0 var(--brand);
}

.target-group-section.is-open .target-group-section-head {
  margin-bottom: 22px;
}

.cint-basic-grid,
.cint-profile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 22px;
  align-items: end;
}

.cint-basic-grid label,
.cint-profile-grid label,
.target-group-section-body label {
  display: grid;
  gap: 4px;
  min-width: 0;
  position: relative;
}

.cint-basic-grid label span,
.cint-profile-grid label span,
.target-group-section-body label > span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cint-basic-grid input,
.cint-basic-grid select,
.cint-profile-grid input,
.cint-profile-grid select,
.target-group-section-body textarea {
  min-height: 34px;
  padding: 3px 0;
  border: 0;
  border-bottom: 2px solid rgba(15, 107, 127, 0.55);
  border-radius: 0;
  background: transparent;
  color: #172b45;
  font-size: 0.92rem;
}

.cint-basic-grid em {
  position: absolute;
  right: 0;
  bottom: 8px;
  color: var(--muted);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
}

.cint-checkbox-row {
  display: flex !important;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  color: #2e2340;
  font-size: 0.82rem;
  font-weight: 700 !important;
}

.cint-checkbox-row input {
  width: 15px;
  height: 15px;
  min-height: auto;
  accent-color: var(--brand-deep);
}

.target-group-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
}

.cint-feasibility-panel {
  display: grid;
  gap: 12px;
  width: min(360px, 100%);
  margin: 26px 10px 0 auto;
  padding: 14px;
  border: 1px solid #eceaf0;
  background: #fff;
}

.target-group-route-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin: 18px 0 8px;
}

.target-group-route-row {
  display: grid;
  grid-template-columns: minmax(180px, 220px) 1fr auto auto;
  gap: 12px;
  width: 100%;
  align-items: center;
}

.cint-details-section {
  margin-top: 22px;
  border-radius: 0;
  border-color: #eeeef2;
  background: #fff;
}

.cint-tab-panel[hidden],
.target-group-workflow[hidden],
.target-group-empty[hidden] {
  display: none !important;
}

@media (max-width: 1100px) {
  .cint-basic-grid,
  .cint-profile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .target-group-empty {
    place-items: center;
    padding-right: 0;
  }
}

@media (max-width: 700px) {
  .cint-project-summary,
  .target-group-collapsed-head,
  .target-group-route-head {
    align-items: stretch;
    flex-direction: column;
  }

  .cint-basic-grid,
  .cint-profile-grid,
  .target-group-route-row {
    grid-template-columns: 1fr;
  }
}
/* Survey editor Cint-inspired layout refinements requested after browser review. */
.survey-editor-top-link {
  justify-content: flex-end;
  min-height: 0;
  padding-bottom: 0;
}

.cint-project-summary {
  border-color: rgba(15, 107, 127, 0.35);
}

.feasibility-status-dot.is-neutral {
  background: #d8e3ea;
  box-shadow: inset 0 0 0 2px #c5d3dc;
}

.feasibility-status-dot.is-neutral::after {
  display: none;
}

.target-group-empty {
  place-items: center;
  padding: 38px 0 60px;
  background: #f8fbfd;
}

.target-group-empty > div {
  color: var(--brand-ink);
}

.target-group-section {
  border-bottom-color: rgba(15, 107, 127, 0.35);
}

.target-group-section h2 {
  color: var(--brand-ink);
  font-weight: 800;
}

.target-group-section-body,
.target-group-section .target-group-section-head,
.target-group-section.is-open .target-group-collapsed-head {
  display: none;
}

.target-group-section.is-open .target-group-section-body {
  display: grid;
}

.target-group-section.is-open .target-group-section-head,
.target-group-section.is-open .target-group-collapsed-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.target-group-section.is-open .target-group-collapsed-head .cint-outline-action {
  display: none;
}

.cint-basic-grid input,
.cint-basic-grid select,
.cint-profile-grid input,
.cint-profile-grid select,
.target-group-section-body textarea {
  border-bottom-color: rgba(15, 107, 127, 0.55);
}

.cint-basic-grid .profile-multi-select,
.cint-profile-grid .profile-multi-select {
  min-width: 0;
}

.cint-basic-grid .profile-multi-select-toggle,
.cint-profile-grid .profile-multi-select-toggle {
  border-color: rgba(15, 107, 127, 0.28);
}

.btn.btn-primary,
.target-group-empty .btn-primary {
  background: var(--brand);
  border-color: var(--brand);
}

.cint-outline-action {
  color: var(--brand-deep);
  border-color: rgba(15, 107, 127, 0.45);
}

.cint-basic-grid select.native-multi-select-source,
.cint-profile-grid select.native-multi-select-source {
  display: none !important;
}

/* Scrollable public member landing experience. */
.login-landing { width: 100%; }
.login-landing .login-showcase { display: block; min-height: 0; }
.login-landing .login-hero { display: block; min-height: min(760px, calc(100vh - 160px)); padding: clamp(42px, 6vw, 86px); background: linear-gradient(90deg, rgba(3,42,54,.98) 0%, rgba(5,73,83,.91) 38%, rgba(5,73,83,.32) 66%, rgba(3,42,54,.05) 100%), url("../images/landing/respondent-community.png") center / cover no-repeat; }
.login-landing .login-hero-copy { max-width: 650px; }
.login-landing .login-lead { color: rgba(255,255,255,.84); }
.landing-intro,.landing-proof,.landing-values,.landing-access-section { width: min(1280px, calc(100% - 32px)); margin-left: auto; margin-right: auto; }
.landing-intro { padding: 100px 0 110px; }
.landing-section-heading { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.landing-section-heading h2,.landing-proof-copy h2,.landing-access-copy h2 { margin: 12px 0 16px; font-size: clamp(2rem,3.6vw,3.7rem); line-height: 1.08; letter-spacing: -.055em; color: var(--brand-ink); }
.landing-section-heading p,.landing-proof-copy>p,.landing-access-copy>p { margin: 0; color: var(--muted); line-height: 1.8; }
.landing-benefit-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.landing-benefit-grid article { padding: 28px; border: 1px solid rgba(27,65,96,.09); border-radius: 22px; background: #fff; box-shadow: 0 16px 34px rgba(17,51,75,.06); }
.landing-benefit-grid article:nth-child(even) { transform: translateY(24px); }
.landing-step { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); font-size: .78rem; font-weight: 800; }
.landing-benefit-grid h3 { margin: 24px 0 10px; font-size: 1.06rem; }.landing-benefit-grid p { margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.7; }
.landing-proof { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(42px,7vw,96px); padding: 80px 0; }
.landing-proof-image { position: relative; }.landing-proof-image::after { content: ""; position: absolute; z-index: -1; inset: 34px -22px -22px 34px; border-radius: 30px; background: #dbeff0; }
.landing-proof-image img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 30px; box-shadow: 0 24px 60px rgba(14,53,68,.18); }
.landing-check-list { display: grid; gap: 18px; padding: 0; margin: 30px 0 0; list-style: none; }.landing-check-list li { display: grid; grid-template-columns: 38px 1fr; gap: 14px; align-items: start; }
.landing-check-list li>span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #e0f4ef; color: #087c70; font-weight: 900; }.landing-check-list strong { display: block; margin-bottom: 3px; }.landing-check-list p { margin: 0; color: var(--muted); font-size: .85rem; }
.landing-values { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 60px; margin-top: 90px; padding: clamp(38px,6vw,72px); border-radius: 32px; background: #103d4a; color: #fff; }
.landing-value-quote>span { display: block; color: #f3d178; font-size: 4rem; line-height: .55; }.landing-value-quote blockquote { margin: 20px 0 0; font-size: clamp(1.5rem,2.5vw,2.6rem); line-height: 1.35; letter-spacing: -.035em; }
.landing-value-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }.landing-value-stats div { display: grid; gap: 5px; padding: 22px 10px; border-left: 1px solid rgba(255,255,255,.16); text-align: center; }.landing-value-stats strong { color: #f3d178; }.landing-value-stats span { color: rgba(255,255,255,.66); font-size: .75rem; }
.landing-access-section { display: grid; grid-template-columns: minmax(0,1fr) minmax(480px,.88fr); align-items: center; gap: clamp(40px,7vw,92px); padding: 130px 0 100px; }
.landing-mini-dashboard { overflow: hidden; max-width: 520px; margin-top: 34px; border: 1px solid rgba(27,65,96,.1); border-radius: 18px; background: #fff; box-shadow: 0 18px 45px rgba(17,51,75,.09); }.landing-mini-top { display: flex; gap: 6px; padding: 12px 14px; background: #183e4a; }.landing-mini-top i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.5); }.landing-mini-body { display: grid; grid-template-columns: 25% 1fr; min-height: 150px; }.landing-mini-body>span { background: #edf4f5; }.landing-mini-body>div { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; padding: 24px; }.landing-mini-body b { height: 74px; border-radius: 12px; background: linear-gradient(160deg,#eef7f7,#d9ecec); }.landing-access-section .login-panel { width: 100%; }

@media (max-width: 1000px) { .landing-benefit-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }.landing-proof,.landing-access-section { grid-template-columns: 1fr; }.landing-access-section .login-panel { width: min(680px,100%); } }
@media (max-width: 640px) { .login-landing .login-hero { min-height: 670px; padding: 46px 22px 28px; background: linear-gradient(180deg,rgba(3,42,54,.98) 0%,rgba(3,60,70,.9) 46%,rgba(3,42,54,.12) 82%),url("../images/landing/respondent-community.png") 62% center/cover no-repeat; }.login-landing .login-trust-row { grid-template-columns: 1fr; max-width: 180px; }.landing-intro { padding: 70px 0; }.landing-benefit-grid { grid-template-columns: 1fr; }.landing-benefit-grid article:nth-child(even) { transform: none; }.landing-proof { padding: 40px 0; gap: 50px; }.landing-values { grid-template-columns: 1fr; gap: 35px; margin-top: 60px; padding: 38px 22px; }.landing-value-stats { grid-template-columns: 1fr; }.landing-value-stats div { border-left: 0; border-top: 1px solid rgba(255,255,255,.16); }.landing-access-section { padding: 80px 0 60px; } }

/* Member access tabs and populated dashboard preview. */
.member-auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin: -14px -14px 28px; padding: 5px; border-radius: 14px; background: #edf3f5; }
.member-auth-tabs a { display: grid; place-items: center; min-height: 42px; border-radius: 10px; color: var(--muted); font-size: .84rem; font-weight: 800; }
.member-auth-tabs a.is-active { background: #fff; color: var(--brand-deep); box-shadow: 0 5px 16px rgba(17,51,75,.1); }
.login-panel.is-loading { opacity: .58; pointer-events: none; transform: translateY(2px); transition: opacity .18s ease, transform .18s ease; }
.member-form-loading { display: grid; place-items: center; gap: 12px; min-height: 300px; color: var(--muted); }
.member-form-loading span { width: 28px; height: 28px; border: 3px solid #dce8eb; border-top-color: var(--brand); border-radius: 50%; animation: member-form-spin .7s linear infinite; }
.member-form-loading strong { font-size: .82rem; }
@keyframes member-form-spin { to { transform: rotate(360deg); } }
.landing-access-section.is-register-mode { display: flex; justify-content: center; padding-top: 86px; }
.landing-access-section.is-register-mode .landing-access-copy { display: none; }
.landing-access-section .login-panel.register-panel { width: min(960px,100%); max-width: none; }
.landing-access-section.dedicated-auth-section,
.landing-access-section.dedicated-auth-section.is-register-mode {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: min(1120px,calc(100% - 32px));
  min-height: calc(100vh - 190px);
  padding: 46px 0 70px;
}
.dedicated-auth-section .login-panel { width: min(560px,100%); align-self: start; }
.dedicated-auth-section .login-panel.register-panel { width: min(960px,100%); }
.public-member-preview { display: grid; grid-template-columns: minmax(0,.8fr) minmax(520px,1.2fr); align-items: center; gap: clamp(44px,7vw,96px); width: min(1280px,calc(100% - 32px)); margin: 0 auto; padding: 120px 0 100px; }
.public-member-preview .landing-mini-dashboard { max-width: none; margin-top: 0; }
@media (max-width: 900px) { .public-member-preview { grid-template-columns: 1fr; }.public-member-preview .landing-mini-dashboard { width: 100%; } }
.landing-access-section.is-register-mode .register-panel .auth-field-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.landing-access-section.is-register-mode .register-panel .field-span-2 { grid-column: span 3; }
.landing-access-section.is-register-mode .register-panel .consent-stack { display: grid; grid-template-columns: 1fr; gap: 10px; }
.landing-access-section.is-register-mode .register-panel .consent-row { align-items: center; padding: 10px 13px; font-size: .78rem; white-space: nowrap; }
.landing-access-section.is-register-mode .register-panel .consent-row input { flex: 0 0 auto; margin-top: 0; }
.landing-access-section.is-register-mode .register-panel .consent-row a { color: #08748a; font-weight: 800; text-decoration: underline; text-decoration-color: rgba(8,116,138,.35); text-underline-offset: 2px; }
.landing-access-section.is-register-mode .register-panel .consent-row a:hover { color: #064f61; text-decoration-color: currentColor; }
.landing-mini-body { grid-template-columns: 76px 1fr; min-height: 230px; }
.landing-mini-body aside { display: grid; align-content: start; justify-items: center; gap: 15px; padding: 19px 12px; background: #e8f1f3; }
.landing-mini-body aside i { width: 30px; height: 5px; border-radius: 10px; background: #bfd2d7; }
.mini-brand-dot { width: 24px; height: 24px; margin-bottom: 7px; border-radius: 8px; background: linear-gradient(135deg,#0f6b7f,#2fb49f); }
.mini-dashboard-content { display: block !important; padding: 18px !important; }
.mini-dashboard-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px; }
.mini-dashboard-head>span { display: grid; gap: 2px; }.mini-dashboard-head small,.mini-survey-row small { color: #788b98; font-size: .55rem; }.mini-dashboard-head strong { font-size: .78rem; }.mini-dashboard-head>b { display: grid; place-items: center; width: 38px; height: 38px; border: 4px solid #39a895; border-left-color: #d9e9eb; border-radius: 50%; font-size: .58rem; }
.mini-dashboard-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }.mini-dashboard-cards article { display: grid; gap: 4px; padding: 10px; border: 1px solid #e2ecee; border-radius: 9px; background: #fbfdfd; }.mini-dashboard-cards span { color: #718493; font-size: .48rem; }.mini-dashboard-cards strong { font-size: .72rem; }.mini-dashboard-cards i { width: 70%; height: 3px; border-radius: 10px; background: #75c7b9; }
.mini-survey-row { display: grid; grid-template-columns: 28px 1fr auto; gap: 8px; align-items: center; margin-top: 12px; padding: 10px; border-radius: 9px; background: #eef7f7; }.mini-survey-row>span { width: 28px; height: 28px; border-radius: 8px; background: #c6e8e4; }.mini-survey-row>div { display: grid; }.mini-survey-row strong { font-size: .58rem; }.mini-survey-row>b { padding: 5px 8px; border-radius: 6px; background: var(--brand); color: #fff; font-size: .5rem; }

/* Registration uses the same member-access window as login. */
.register-access-page { display: grid; grid-template-columns: minmax(280px,.55fr) minmax(600px,1fr); align-items: start; gap: clamp(28px,5vw,72px); width: min(1280px,100%); margin: 42px auto 80px; }
.register-context-panel { position: sticky; top: 92px; padding: clamp(30px,4vw,52px); border-radius: 28px; background: linear-gradient(150deg,#103d4a,#0f6b7f); color: #fff; box-shadow: 0 24px 60px rgba(17,51,75,.18); }
.register-context-panel .section-label,.register-context-panel p { color: rgba(255,255,255,.72); }.register-context-panel h1 { margin: 14px 0 18px; font-size: clamp(2rem,3.2vw,3.3rem); line-height: 1.08; letter-spacing: -.055em; }.register-context-panel p { line-height: 1.75; }
.register-context-points { display: grid; gap: 13px; margin-top: 32px; }.register-context-points div { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-top: 1px solid rgba(255,255,255,.14); }.register-context-points span { color: #f3d178; font-size: .72rem; }.register-context-points strong { font-size: .85rem; }
.register-panel { padding: clamp(28px,4vw,46px); }.register-panel .auth-field-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }.register-submit { width: 100%; min-height: 50px; margin-top: 10px; }

@media (max-width: 980px) { .register-access-page { grid-template-columns: 1fr; }.register-context-panel { position: static; }.register-panel { width: 100%; } }
@media (max-width: 980px) { .landing-access-section.is-register-mode .register-panel .auth-field-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }.landing-access-section.is-register-mode .register-panel .field-span-2 { grid-column: span 2; } }
@media (max-width: 850px) { .landing-access-section.is-register-mode .register-panel .consent-row { white-space: normal; } }

/* Lightweight respondent workspace: flatter, quieter and faster to scan. */
.app-shell.respondent-mode { background: #f7f9fa; }
.app-shell.respondent-mode .workspace-shell { gap: 16px; }
.app-shell.respondent-mode .app-content { 
  /*padding-top: 22px;*/
}
.app-shell.respondent-mode .card-panel,
.app-shell.respondent-mode .hero-panel,
.app-shell.respondent-mode .metric-card,
.app-shell.respondent-mode .profile-page-head,
.app-shell.respondent-mode .survey-card,
.app-shell.respondent-mode .reward-card {
  border-color: #e3e9ec;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(22,49,69,.045);
  backdrop-filter: none;
}
.app-shell.respondent-mode .page-header h1,
.app-shell.respondent-mode .hero-copy h1 {
  margin: 7px 0 9px;
  font-size: clamp(1.65rem, 2.3vw, 2.35rem);
  line-height: 1.08;
  letter-spacing: -.035em;
}
.app-shell.respondent-mode .hero-copy .lead,
.app-shell.respondent-mode .page-header p { font-size: .9rem; }
.app-shell.respondent-mode .hero-copy .supporting { margin: 5px 0; font-size: .8rem; line-height: 1.5; }
.app-shell.respondent-mode .section-label,
.app-shell.respondent-mode .detail-label,
.app-shell.respondent-mode .status-label { font-size: .64rem; letter-spacing: .075em; }
.app-shell.respondent-mode .card-panel { padding: 14px; }
.app-shell.respondent-mode .panel-header { margin-bottom: 11px; }
.app-shell.respondent-mode .panel-header h2 { margin-top: 5px; font-size: 1.04rem; }
.app-shell.respondent-mode .metric-card strong { font-size: 1.15rem; }
.app-shell.respondent-mode .metric-card p { font-size: .72rem; line-height: 1.4; }
.app-shell.respondent-mode .status-pill-check::before {
  content: "\2713";
  display: inline-grid;
  place-items: center;
  width: 17px;
  height: 17px;
  margin-right: 6px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: .65rem;
}
.app-shell.respondent-mode .btn { border-radius: 10px; box-shadow: none; }
.app-shell.respondent-mode input,
.app-shell.respondent-mode select,
.app-shell.respondent-mode textarea { border-radius: 9px; background-color: #fff; }
.app-shell.respondent-mode .badge-token,
.app-shell.respondent-mode .status-pill { border-radius: 7px; }
.app-shell.respondent-mode .app-header { box-shadow: 0 3px 12px rgba(13,34,56,.12); }

/* Compact respondent page introductions and restrained information accents. */
@media (min-width: 1401px) {
  .app-shell.respondent-mode .page-intro-single-line {
    width: max-content;
    max-width: none;
    white-space: nowrap;
  }

  .app-shell.respondent-mode .survey-page-head {
    grid-template-columns: minmax(380px, .72fr) minmax(760px, 1.28fr);
    align-items: center;
  }

  .app-shell.respondent-mode .survey-progress-panel-docked {
    display: grid;
    grid-template-columns: minmax(220px, .8fr) minmax(0, 2.2fr);
    align-items: center;
    gap: 18px;
    padding: 12px 14px;
  }

  .app-shell.respondent-mode .survey-progress-header {
    margin-bottom: 0;
    align-items: center;
  }

  .app-shell.respondent-mode .survey-progress-header h2 {
    max-width: 230px;
    margin-bottom: 0;
  }

  .app-shell.respondent-mode .survey-progress-lines {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
  }

  .app-shell.respondent-mode .survey-progress-line {
    min-height: 48px;
    padding: 7px 9px;
    border: 1px solid #e2eaed;
    border-radius: 9px;
    background: #f8fafb;
    align-content: center;
  }
}

.app-shell.respondent-mode .survey-card {
  position: relative;
  overflow: hidden;
  border-top: 3px solid #16869a;
  background: linear-gradient(180deg, #f4fbfc 0, #ffffff 34%);
}

.app-shell.respondent-mode .survey-card[data-survey-category*="Professional" i],
.app-shell.respondent-mode .survey-card[data-survey-category*="Business" i] {
  border-top-color: #5b68b5;
  background: linear-gradient(180deg, #f5f6fc 0, #ffffff 34%);
}

.app-shell.respondent-mode .survey-card .section-label {
  color: #0b7082;
}

.app-shell.respondent-mode .survey-card[data-survey-category*="Professional" i] .section-label,
.app-shell.respondent-mode .survey-card[data-survey-category*="Business" i] .section-label {
  color: #4e5b9e;
}

.app-shell.respondent-mode .survey-card h2 {
  color: #17334b;
}

.app-shell.respondent-mode .survey-card > p {
  color: #526b7e;
}

.app-shell.respondent-mode .profile-secondary-card {
  border-top: 3px solid #16869a;
  background: linear-gradient(145deg, #ffffff, #f6fafb);
}

.app-shell.respondent-mode .profile-secondary-card .compliance-item {
  border-color: #dfe9ec;
  background: #f8fbfb;
}

.app-shell.respondent-mode .profile-secondary-card .compliance-terms,
.app-shell.respondent-mode .profile-secondary-card .compliance-age {
  background: #f2faf7;
}

.app-shell.respondent-mode .profile-secondary-card .compliance-data,
.app-shell.respondent-mode .profile-secondary-card .compliance-linkedin {
  background: #f3f7fb;
}

.app-shell.respondent-mode .profile-secondary-card .compliance-phone,
.app-shell.respondent-mode .profile-secondary-card .compliance-payment {
  background: #fbf8f1;
}

.app-shell.respondent-mode .profile-secondary-card .compliance-terms .compliance-icon,
.app-shell.respondent-mode .profile-secondary-card .compliance-age .compliance-icon {
  color: #167456;
  background: #e4f5ed;
}

.app-shell.respondent-mode .profile-secondary-card .compliance-data .compliance-icon,
.app-shell.respondent-mode .profile-secondary-card .compliance-linkedin .compliance-icon {
  color: #4562a0;
  background: #e8edf8;
}

.app-shell.respondent-mode .profile-secondary-card .compliance-phone .compliance-icon,
.app-shell.respondent-mode .profile-secondary-card .compliance-payment .compliance-icon {
  color: #8a641f;
  background: #f7edd7;
}

/* Survey discovery: use the complete header width and keep filtering compact. */
.app-shell.respondent-mode .survey-page-head-aside {
  width: 100%;
  max-width: none;
  justify-self: stretch;
}

.app-shell.respondent-mode .survey-progress-panel-docked {
  width: 100%;
}

.app-shell.respondent-mode .survey-filter-bar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(190px, 240px) auto;
  align-items: end;
  gap: 10px;
  margin-top: 8px;
  padding: 10px 12px;
  border: 1px solid #dfe8eb;
  border-radius: 11px;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(22, 49, 69, .035);
  width: min(600px, 100%);
}

@media (max-width: 520px) {
  .app-header {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    padding: 14px 12px;
  }

  .brand-mark-logo {
    max-width: 100%;
  }

  .brand-mark-logo img {
    height: 29px;
  }

  .mobile-auth-link {
    gap: 5px;
    min-height: 34px;
    padding: 6px 8px;
    font-size: 0.74rem;
    white-space: nowrap;
  }

  .mobile-auth-link .menu-icon {
    width: 15px;
    height: 15px;
  }
}

.survey-filter-search,
.survey-filter-type {
  display: grid;
  gap: 4px;
  margin: 0;
}

.survey-filter-type > span {
  color: #607789;
  font-size: .67rem;
  font-weight: 750;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.app-shell.respondent-mode .survey-filter-bar input,
.app-shell.respondent-mode .survey-filter-bar select {
  min-height: 34px;
  height: 34px;
  margin: 0;
  border-color: #d8e3e7;
  background-color: #f9fbfc;
  font-size: .78rem;
}

.survey-filter-count {
  min-width: 78px;
  padding: 8px 4px;
  color: #607789;
  font-size: .72rem;
  text-align: right;
  white-space: nowrap;
}

.survey-filter-count strong {
  color: #123b51;
  font-size: .9rem;
}

.survey-filter-empty {
  margin-top: 14px;
  padding: 28px;
  border: 1px dashed #cbd9df;
  border-radius: 12px;
  color: #617788;
  background: #f8fafb;
  text-align: center;
}

.app-shell.respondent-mode .survey-card[hidden] {
  display: none;
}

.app-shell.respondent-mode .survey-card .panel-header {
  margin: -14px -14px 11px;
  padding: 11px 14px 10px;
  border-bottom: 1px solid #cfe5e4;
  background: linear-gradient(135deg, #e7f5f3, #f4faf9);
}

.app-shell.respondent-mode .survey-card[data-survey-category*="Professional" i] .panel-header,
.app-shell.respondent-mode .survey-card[data-survey-category*="Business" i] .panel-header {
  border-bottom-color: #d6d9ee;
  background: linear-gradient(135deg, #e9ebf8, #f6f7fc);
}

.app-shell.respondent-mode .survey-card .detail-grid > div {
  padding-left: 8px;
  border-left: 2px solid #dcebed;
}

.app-shell.respondent-mode .survey-card[data-survey-category*="Professional" i] .detail-grid > div,
.app-shell.respondent-mode .survey-card[data-survey-category*="Business" i] .detail-grid > div {
  border-left-color: #dfe1f2;
}

/* Dense profile editor on wide screens; every field stays in its original section. */
@media (min-width: 1281px) {
  .app-shell.respondent-mode .profile-field-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .app-shell.respondent-mode .profile-field-grid-basic .basic-field-name-first,
  .app-shell.respondent-mode .profile-field-grid-basic .basic-field-name-last,
  .app-shell.respondent-mode .profile-field-grid-basic .basic-field-country,
  .app-shell.respondent-mode .profile-field-grid-basic .basic-field-languages,
  .app-shell.respondent-mode .profile-field-grid-basic .basic-field-dob,
  .app-shell.respondent-mode .profile-field-grid-basic .basic-field-gender,
  .app-shell.respondent-mode .profile-field-grid-basic .basic-field-panel-category,
  .app-shell.respondent-mode .profile-field-grid-basic .basic-field-phone {
    grid-column: auto;
  }

  .app-shell.respondent-mode .profile-field-grid > .field-span-2,
  .app-shell.respondent-mode .profile-field-grid-basic .basic-field-about,
  .app-shell.respondent-mode .profile-field-grid-basic .profile-photo-upload {
    grid-column: span 2;
  }

  .app-shell.respondent-mode .profile-field-grid-basic .basic-field-other {
    grid-column: 1 / -1;
  }
}

@media (min-width: 721px) and (max-width: 1280px) {
  .app-shell.respondent-mode .profile-field-grid,
  .app-shell.respondent-mode .profile-field-grid-basic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .app-shell.respondent-mode .profile-field-grid-basic > * {
    grid-column: auto;
  }

  .app-shell.respondent-mode .profile-field-grid > .field-span-2,
  .app-shell.respondent-mode .profile-field-grid-basic .basic-field-other,
  .app-shell.respondent-mode .profile-field-grid-basic .basic-field-about,
  .app-shell.respondent-mode .profile-field-grid-basic .profile-photo-upload {
    grid-column: 1 / -1;
  }
}

/* Keep page introductions close to the header instead of reserving hero spacing. */
.app-shell.respondent-mode .reward-page-header {
  margin-top: -10px;
  margin-bottom: 10px;
  padding-top: 0;
}

.app-shell.respondent-mode .reward-page-header h1 {
  margin-top: 4px;
  margin-bottom: 5px;
}

.app-shell.respondent-mode .profile-edit-header .profile-page-head-copy {
  grid-template-columns: minmax(0, 1fr);
}

/* Cookie preferences always fit inside the viewport and keep actions visible. */
.cookie-consent-shell {
  padding: 8px;
}

.cookie-consent-panel {
  max-height: calc(100dvh - 16px);
  grid-template-rows: auto minmax(0, 1fr) auto auto;
}

.cookie-consent-body {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.cookie-consent-actions {
  position: sticky;
  bottom: 0;
  z-index: 2;
  border-top: 1px solid rgba(27, 65, 96, 0.08);
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 -8px 18px rgba(20, 43, 59, .06);
}

@media (max-height: 680px) {
  .cookie-consent-head,
  .cookie-consent-note,
  .cookie-consent-actions {
    padding: 9px 12px;
  }

  .cookie-consent-row {
    padding: 8px 12px;
  }

  .cookie-consent-copy {
    gap: 3px;
  }

  .cookie-consent-head p,
  .cookie-consent-copy p,
  .cookie-consent-note p {
    font-size: .72rem;
    line-height: 1.25;
  }
}

@media (max-width: 1100px) {
  .app-shell.respondent-mode .survey-filter-bar {
    grid-template-columns: minmax(0, 1fr) minmax(170px, 220px) auto;
  }
}

@media (min-width: 901px) and (max-width: 1400px) {
  .app-shell.respondent-mode .survey-page-head {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .app-shell.respondent-mode .survey-progress-panel-docked {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 11px 12px;
  }

  .app-shell.respondent-mode .survey-progress-header {
    align-items: center;
    margin-bottom: 0;
  }

  .app-shell.respondent-mode .survey-progress-header h2 {
    margin-bottom: 0;
  }

  .app-shell.respondent-mode .survey-progress-lines {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
  }

  .app-shell.respondent-mode .survey-progress-line {
    min-height: 44px;
    padding: 6px 8px;
    border: 1px solid #e2eaed;
    border-radius: 8px;
    background: #f8fafb;
    align-content: center;
  }
}

@media (max-width: 640px) {
  .app-shell.respondent-mode .survey-filter-bar {
    grid-template-columns: 1fr;
  }

  .survey-filter-count {
    padding: 0;
    text-align: left;
  }
}

/* Refined respondent controls and profile editor. */
.app-shell.respondent-mode .btn {
  min-height: 32px;
  padding: 0 11px;
  border-radius: 7px;
  font-size: .76rem;
  font-weight: 650;
  letter-spacing: 0;
  transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease;
}
.app-shell.respondent-mode .btn:hover { transform: none; }
.app-shell.respondent-mode .btn-brand { background: #0f7385; box-shadow: none; }
.app-shell.respondent-mode .btn-brand:hover { background: #0b5b6a; }
.app-shell.respondent-mode .btn-ghost { border-color: #d6e0e4; background: #fff; }
.app-shell.respondent-mode .profile-edit-header { min-height: 92px; padding: 14px 18px; }
.app-shell.respondent-mode .profile-edit-main { padding: 10px; border: 0; box-shadow: none; background: transparent; }
.app-shell.respondent-mode .profile-form { gap: 8px; }
.app-shell.respondent-mode .accordion-stack { gap: 7px; }
.app-shell.respondent-mode .profile-accordion,
.app-shell.respondent-mode .profile-accordion[open] {
  border: 1px solid #dfe7ea;
  border-radius: 9px;
  background: #fff;
  box-shadow: none;
}
.app-shell.respondent-mode .profile-accordion[open] summary,
.app-shell.respondent-mode .profile-accordion summary {
  min-height: 38px;
  padding-top: 6px;
  padding-bottom: 6px;
  background: #f7f9fa;
  border-bottom: 1px solid #e4eaed;
}
.app-shell.respondent-mode .profile-accordion:not([open]) summary { border-bottom: 0; }
.app-shell.respondent-mode .profile-accordion summary strong { font-size: .84rem; font-weight: 700; }
.app-shell.respondent-mode .profile-accordion summary::after { width: 21px; height: 21px; border-radius: 6px; background: #e9eff1; font-size: .78rem; }
.app-shell.respondent-mode .accordion-meta { min-height: 24px; padding: 0 7px; border-radius: 6px; background: #eaf1f3; font-size: .65rem; }
.app-shell.respondent-mode .profile-form input,
.app-shell.respondent-mode .profile-form select {
  min-height: 34px;
  height: 34px;
  padding-top: 4px;
  padding-bottom: 4px;
  border-color: #dce5e9;
  font-size: .78rem;
}
.app-shell.respondent-mode .profile-form textarea { min-height: 86px; height: 86px; border-color: #dce5e9; font-size: .78rem; resize: vertical; }
.app-shell.respondent-mode .profile-form label > span:first-child { font-size: .72rem; }
.app-shell.respondent-mode .profile-form-actions { padding-top: 10px; }
.app-shell.respondent-mode .validation-banner,
.app-shell.respondent-mode .validation-panel { border-radius: 8px; box-shadow: none; }

.app-shell.respondent-mode .profile-field-grid-basic {
  grid-auto-flow: row;
  align-items: start;
  gap: 10px 12px;
}
.app-shell.respondent-mode .profile-field-grid-basic > label,
.app-shell.respondent-mode .profile-field-grid-basic > div {
  align-self: start;
  min-width: 0;
}
.app-shell.respondent-mode .profile-field-grid-basic .profile-multi-select-control {
  min-height: 34px;
  height: 34px;
  padding: 2px 6px 2px 9px;
}
.app-shell.respondent-mode .profile-field-grid-basic .profile-multi-select-chips {
  min-height: 24px;
  flex-wrap: nowrap;
  overflow: hidden;
}
.app-shell.respondent-mode .profile-field-grid-basic .profile-selected-chip {
  min-height: 23px;
  max-width: 190px;
  font-size: .72rem;
}
.app-shell.respondent-mode .profile-field-grid-basic .profile-multi-select-search {
  height: 28px;
  min-height: 28px;
  font-size: .72rem;
}
.app-shell.respondent-mode .profile-field-grid-basic .profile-multi-select-clear,
.app-shell.respondent-mode .profile-field-grid-basic .profile-multi-select-arrow {
  width: 26px;
  height: 26px;
}
.app-shell.respondent-mode .profile-field-grid-basic .basic-field-about textarea { min-height: 86px; height: 86px; }
.app-shell.respondent-mode .profile-field-grid-basic .profile-photo-upload { gap: 5px; }
.app-shell.respondent-mode .profile-field-grid-basic .profile-photo-current {
  min-height: 50px;
  height: 50px;
  gap: 9px;
  padding: 5px 8px;
  border-radius: 9px;
}
.app-shell.respondent-mode .profile-field-grid-basic .profile-photo-current img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}
.app-shell.respondent-mode .profile-field-grid-basic .profile-photo-upload input[type="file"] {
  min-height: 31px;
  height: 31px;
  padding: 2px 5px;
}
.app-shell.respondent-mode .profile-field-grid-basic .profile-photo-upload .inline-meta {
  font-size: .64rem;
  line-height: 1.3;
}

@media (max-width: 720px) {
  .respondent-settings-overview { grid-template-columns: 1fr; }
  .settings-overview-item { min-height: 56px; }
}

/* Dashboard contrast and disclosure controls. */
.app-shell.respondent-mode .dashboard-linkedin-cta,
.app-shell.respondent-mode .dashboard-linkedin-cta.btn-ghost {
  border-color: rgba(255,255,255,.55);
  background: #fff;
  color: #074f66;
  font-weight: 750;
}
.app-shell.respondent-mode .dashboard-linkedin-cta .linkedin-mini-mark { background: #0a66c2; color: #fff; }
.app-shell.respondent-mode .dashboard-linkedin-cta:hover { border-color: #fff; background: #eef8fb; color: #053f52; }
.app-shell.respondent-mode .dashboard-metric-grid .metric-card { color: var(--brand-ink); }
.app-shell.respondent-mode .dashboard-metric-grid .metric-card .section-label { color: #5c7281; }
.app-shell.respondent-mode .dashboard-metric-grid .metric-card strong { color: #102f40; }
.app-shell.respondent-mode .dashboard-metric-grid .metric-card > p { color: #667d8c; }
.app-shell.respondent-mode .dashboard-metric-grid .metric-primary { border-left: 3px solid #0f7385; }
.app-shell.respondent-mode .dashboard-metric-grid .metric-accent { border-left: 3px solid #3c9978; }
.app-shell.respondent-mode .dashboard-metric-grid .metric-neutral { border-left: 3px solid #8294a0; }
.app-shell.respondent-mode .reward-metric-grid .metric-primary {
  border-left: 3px solid #0f7385;
  background: #fff;
  color: #102f40;
}
.app-shell.respondent-mode .reward-metric-grid .metric-primary .section-label { color: #557180; }
.app-shell.respondent-mode .reward-metric-grid .metric-primary strong { color: #102f40; }
.app-shell.respondent-mode .reward-metric-grid .metric-primary > p { color: #667d8c; }
.dashboard-collapsible-summary::after,
.dashboard-collapsible[open] .dashboard-collapsible-summary::after {
  content: "";
  width: 9px;
  height: 9px;
  border: 0;
  border-right: 2px solid #51717e;
  border-bottom: 2px solid #51717e;
  border-radius: 0;
  background: transparent;
  transform: rotate(45deg) translate(-2px,-2px);
  transition: transform 140ms ease;
}
.dashboard-collapsible[open] .dashboard-collapsible-summary::after { transform: rotate(225deg) translate(-1px,-1px); }
@media (max-width: 640px) { .member-auth-tabs { margin: -6px -6px 24px; }.register-access-page { margin: 16px auto 50px; }.register-context-panel { padding: 28px 22px; border-radius: 22px; }.register-panel .auth-field-grid,.landing-access-section.is-register-mode .register-panel .auth-field-grid { grid-template-columns: 1fr; }.landing-access-section.is-register-mode .register-panel .field-span-2 { grid-column: auto; }.landing-access-section.is-register-mode .register-panel .consent-stack { grid-template-columns: 1fr; }.mini-dashboard-cards { grid-template-columns: 1fr; }.landing-mini-body { min-height: 320px; } }

.cint-project-summary {
  min-height: 34px;
  padding: 5px 0;
}

.target-group-section {
  padding: 18px 8px;
}

.target-group-section.is-open {
  padding-top: 18px;
  padding-bottom: 20px;
}

.target-group-section.is-open .target-group-section-head,
.target-group-section.is-open .target-group-collapsed-head {
  margin-bottom: 14px;
}

.target-group-section h2 {
  font-size: 1.05rem;
}

.target-group-section p {
  font-size: 0.76rem;
}

.cint-basic-grid,
.cint-profile-grid {
  gap: 18px 16px;
}

.cint-checkbox-row {
  margin-top: 16px;
}

.target-group-actions {
  margin-top: 16px;
}



/* Current survey-editor refinements. */
.cint-basic-grid input,
.cint-basic-grid select {
  min-height: 30px;
  padding: 1px 0 2px;
}

.cint-basic-grid em {
  display: none;
}

.target-group-section.is-open {
  padding-top: 14px;
  padding-bottom: 16px;
}

.cint-basic-grid,
.cint-profile-grid {
  gap: 14px 16px;
}


/* Current PM and survey editor fixes. */
.validation-panel.validation-panel-success {
  color: #0f5132;
  background: #dff5e8;
  border-color: #8fd6ad;
  box-shadow: inset 4px 0 0 #198754;
}

.cint-basic-grid {
  max-width: 1040px;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
}

.cint-basic-grid input,
.cint-basic-grid select {
  min-height: 26px;
  font-size: 0.86rem;
}

.cint-basic-grid .profile-multi-select-control,
.cint-profile-grid .profile-multi-select-control {
  min-height: 34px;
  padding: 3px 7px;
}

.cint-basic-grid .profile-multi-select-control .profile-multi-select-chips,
.cint-profile-grid .profile-multi-select-control .profile-multi-select-chips {
  min-height: 20px;
}

.cint-basic-grid .profile-multi-select-control .profile-selected-chip,
.cint-profile-grid .profile-multi-select-control .profile-selected-chip {
  min-height: 19px;
  padding: 0 5px;
  font-size: 0.72rem;
}

.cint-basic-grid.native-multi-select .profile-multi-select-search,
.cint-profile-grid.native-multi-select .profile-multi-select-search,
.cint-basic-grid .native-multi-select .profile-multi-select-search,
.cint-profile-grid .native-multi-select .profile-multi-select-search {
  width: 112px;
  height: 24px;
}

.cint-basic-grid .native-multi-select .profile-multi-select-control.has-filter,
.cint-profile-grid .native-multi-select .profile-multi-select-control.has-filter {
  grid-template-columns: minmax(0, 1fr) minmax(112px, .45fr) auto auto;
}

.cint-basic-grid .native-multi-select .profile-multi-select-search,
.cint-profile-grid .native-multi-select .profile-multi-select-search {
  color: var(--text);
  caret-color: var(--brand-deep);
  padding: 2px 8px 2px 28px;
  background-position: 7px center;
  background-color: #f7fafb;
  border: 1px solid rgba(15, 107, 127, .16);
}

.cint-basic-grid .native-multi-select .profile-multi-select-search::placeholder,
.cint-profile-grid .native-multi-select .profile-multi-select-search::placeholder {
  color: var(--muted);
}

.target-group-section.is-editing {
  position: relative;
  margin: 8px 0;
  padding-left: 18px;
  border: 1px solid rgba(15, 107, 127, .48);
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(15, 107, 127, .07), rgba(255,255,255,.96) 28%);
  box-shadow: 0 8px 24px rgba(19, 62, 82, .09), inset 4px 0 0 var(--brand);
  outline: none;
}

.target-group-section.is-editing::before {
  content: "Editing";
  position: absolute;
  top: 10px;
  right: 12px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #dff4f6;
  color: var(--brand-deep);
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.input-validation-error {
  border-color: #c83f55 !important;
  background-color: #fff8fa !important;
  box-shadow: 0 0 0 2px rgba(200, 63, 85, .14) !important;
}

.field-validation-error:not(:empty) {
  display: block;
  margin-top: 5px;
  color: #a7253b !important;
  font-size: .76rem !important;
  font-weight: 700 !important;
}


/* Keep native multi-select dropdowns from resizing surrounding controls. */
.native-multi-select {
  position: relative;
}

.native-multi-select .native-multi-select-list,
.native-multi-select .profile-choice-grid-collapsible {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 80;
  margin-top: 0;
}

.native-multi-select .profile-multi-select-empty {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 81;
}


/* Feasibility check aligned with Survey Editor target controls. */
.feasibility-builder .feasibility-target-card {
  border-radius: 0;
  border-color: rgba(15, 107, 127, 0.28);
  background: #fff;
  box-shadow: none;
}

.feasibility-target-card .feasibility-card-head {
  margin-bottom: 14px;
}

.feasibility-target-card .cint-basic-grid,
.feasibility-target-card .cint-profile-grid {
  max-width: none;
  align-items: end;
}

.feasibility-target-card .cint-basic-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feasibility-target-card .cint-profile-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feasibility-target-card .cint-basic-grid label,
.feasibility-target-card .cint-profile-grid label {
  gap: 4px;
}

.feasibility-target-card .cint-basic-grid input,
.feasibility-target-card .cint-basic-grid select,
.feasibility-target-card .cint-profile-grid input,
.feasibility-target-card .cint-profile-grid select {
  min-height: 30px;
  padding: 1px 0 2px;
  border: 0;
  border-bottom: 2px solid rgba(15, 107, 127, 0.55);
  border-radius: 0;
  background: transparent;
  font-size: 0.88rem;
}

.feasibility-target-card .field-help {
  margin: 10px 0 0;
  font-size: 0.78rem;
}

.feasibility-target-card .feasibility-subsection {
  margin-top: 16px;
}

.feasibility-target-card .feasibility-age-slider {
  border-radius: 8px;
}

.feasibility-target-card .feasibility-check {
  min-height: 30px;
  border-radius: 6px;
}

.feasibility-target-card .feasibility-advanced-filters {
  margin-top: 16px;
  padding: 0;
  border-radius: 8px;
  background: #fbfcfd;
}

/* Survey editor basic settings: use the right-side room for two compact rows. */
.target-group-section .cint-basic-grid {
  max-width: none;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 14px 16px;
}

.target-group-section .cint-basic-grid label:nth-child(8),
.target-group-section .cint-checkbox-row {
  grid-column: span 2;
}

@media (max-width: 1100px) {
  .target-group-section .cint-basic-grid,
  .feasibility-target-card .cint-basic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Dock survey discovery controls to the right of the introduction. */
@media (min-width: 1281px) {
  .app-shell.respondent-mode .survey-page-head {
    grid-template-columns: minmax(320px, 1fr) minmax(520px, 600px);
    align-items: center;
    gap: 24px;
  }

  .app-shell.respondent-mode .survey-page-header {
    min-width: 0;
  }

  .app-shell.respondent-mode .survey-page-header .page-intro-single-line {
    width: auto;
    max-width: 100%;
    white-space: normal;
  }

  .app-shell.respondent-mode .survey-filter-bar {
    width: 100%;
    max-width: 600px;
    margin: 0;
    justify-self: end;
  }
}

@media (min-width: 641px) and (max-width: 1280px) {
  .app-shell.respondent-mode .survey-page-head {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .app-shell.respondent-mode .survey-filter-bar {
    width: min(100%, 600px);
    margin: 0 0 0 auto;
  }
}
