:root {
  color-scheme: dark;
  --ink: #252b36;
  --muted: #b7bec8;
  --line: rgba(255, 255, 255, 0.13);
  --paper: #e7d3a2;
  --panel: #1d2430;
  --accent: #f28a16;
  --accent-dark: #f6a331;
  --warm: #e8b75d;
  --blue: #aeb7c3;
  --rose: #6b6f75;
  --shadow: 0 22px 58px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(125deg, rgba(242, 138, 22, 0.18), transparent 34%),
    linear-gradient(220deg, rgba(37, 43, 54, 0.12), transparent 42%),
    linear-gradient(180deg, #ead9ad 0%, #d8bd7a 100%);
  color: #f8f5ef;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

.icon-sprite {
  display: none;
}

[hidden] {
  display: none !important;
}

.login-screen {
  position: relative;
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(242, 138, 22, 0.12), transparent 34%),
    linear-gradient(180deg, #252b36 0%, #111722 100%);
}

.login-screen.is-hidden,
.app-shell.is-locked,
.public-survey-screen.is-hidden {
  display: none;
}

.public-survey-screen {
  position: relative;
  min-height: 100vh;
  padding: 104px 16px 56px;
  background:
    linear-gradient(135deg, rgba(242, 138, 22, 0.12), transparent 34%),
    linear-gradient(180deg, #252b36 0%, #111722 100%);
}

.public-survey-shell {
  display: grid;
  gap: 22px;
  width: min(980px, 100%);
  margin: 0 auto;
}

.public-survey-shell .login-logo {
  width: min(620px, 100%);
  margin: 0 auto;
}

.screen-logo {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 8;
  display: grid;
  place-items: center;
  width: 190px;
  min-height: 58px;
  border-radius: 8px;
  padding: 9px 14px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

.screen-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.login-card {
  display: grid;
  gap: 22px;
  width: min(430px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 28px;
  background: rgba(29, 36, 48, 0.92);
  box-shadow: var(--shadow);
}

.login-logo {
  display: grid;
  place-items: center;
  border-radius: 8px;
  padding: 18px 24px;
  background: #ffffff;
}

.login-logo img {
  display: block;
  width: min(300px, 100%);
  height: auto;
}

.login-card h1 {
  margin: 0;
  font-size: clamp(2.2rem, 7vw, 3.7rem);
  line-height: 1;
}

.login-form {
  display: grid;
  gap: 14px;
}

.login-form label {
  display: grid;
  gap: 8px;
  color: #ffffff;
  font-weight: 800;
}

.login-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.login-error {
  min-height: 20px;
  margin: 0;
  color: #f6a331;
  font-weight: 800;
}

.demo-access {
  display: grid;
  gap: 4px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  color: var(--muted);
}

.demo-access strong {
  color: #ffffff;
}

.app-shell {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 48px;
}

.app-screen-logo {
  top: 28px;
  left: 0;
}

.intro {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 250px;
}

.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 28px 70px;
  border: 0;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: none;
}

.brand-mark:focus-visible,
.service-card:focus-visible,
.tab:focus-visible,
.primary-action:focus-visible,
.secondary-action:focus-visible,
.card-action:focus-visible,
.form-link-card a:focus-visible {
  outline: 3px solid rgba(242, 138, 22, 0.32);
  outline-offset: 3px;
}

.logo-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 560px;
  height: 150px;
  border-radius: 8px;
  background: transparent;
  padding: 10px 16px;
}

.logo-slot img {
  display: block;
  width: 100%;
  height: auto;
}

.brand-mark h1,
.panel-header h2,
.summary-panel h2,
.module-header h2 {
  margin: 0;
  line-height: 1.05;
}

.brand-mark h1 {
  max-width: 560px;
  font-size: clamp(2rem, 5vw, 4.7rem);
  color: var(--ink);
}

.brand-mark .eyebrow {
  margin-bottom: 0;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.services-panel,
.workspace,
.summary-panel,
.module-view {
  border: 1px solid var(--line);
  background: rgba(29, 36, 48, 0.88);
  box-shadow: var(--shadow);
}

.services-panel {
  display: none;
  padding: 22px;
  border-radius: 8px;
}

.services-panel.is-visible {
  display: block;
}

.panel-header,
.module-header,
.progress-block {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.status-pill {
  border: 1px solid rgba(242, 138, 22, 0.38);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--accent-dark);
  font-size: 0.88rem;
  font-weight: 700;
}

.session-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.logout-button {
  min-height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-weight: 800;
}

.logout-button:hover {
  background: rgba(242, 138, 22, 0.16);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.service-card {
  display: flex;
  min-height: 120px;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #f8f5ef;
  text-align: left;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.service-card:hover,
.service-card.is-active {
  transform: translateY(-2px);
  border-color: rgba(242, 138, 22, 0.58);
  box-shadow: 0 14px 28px rgba(29, 42, 46, 0.1);
}

.service-icon {
  display: grid;
  flex: 0 0 38px;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(242, 138, 22, 0.16);
  color: var(--accent-dark);
}

.service-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.service-card strong,
.service-card small,
.service-card em {
  display: block;
}

.service-card strong {
  font-size: clamp(1.25rem, 1.9vw, 2rem);
  line-height: 1.15;
}

.climate-only-card {
  max-width: 520px;
}

.workspace {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 0;
  margin-top: 22px;
  overflow: hidden;
  border-radius: 8px;
}

.summary-panel {
  border: 0;
  border-right: 1px solid var(--line);
  box-shadow: none;
  padding: 24px;
}

.metric-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.metric-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.metric-list span,
.task-row small,
.result-item span {
  color: var(--muted);
}

.module-view {
  border: 0;
  box-shadow: none;
  padding: 24px;
}

.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  padding: 0 16px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 800;
}

.primary-action:hover {
  background: #cf6f0c;
}

.secondary-action,
.card-action,
.form-link-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 1px solid rgba(242, 138, 22, 0.44);
  border-radius: 8px;
  padding: 0 14px;
  color: #f6a331;
  font-weight: 800;
}

.secondary-action:hover,
.card-action:hover,
.form-link-card a:hover {
  background: rgba(242, 138, 22, 0.13);
}

.card-action:disabled,
.report-button:disabled,
.form-link-card a[aria-disabled="true"] {
  opacity: 0.72;
  cursor: default;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  width: fit-content;
  background: rgba(255, 255, 255, 0.05);
}

.tab {
  min-height: 36px;
  border: 0;
  border-radius: 6px;
  padding: 0 14px;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
}

.tab.is-selected {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  box-shadow: 0 6px 14px rgba(29, 42, 46, 0.08);
}

.tab-panel {
  display: none;
}

.tab-panel.is-visible {
  display: block;
}

.progress-block {
  min-height: 164px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(242, 138, 22, 0.16), rgba(174, 183, 195, 0.09));
}

.progress-block h3 {
  margin: 0 0 8px;
  font-size: 1.5rem;
}

.progress-block p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.progress-ring {
  display: grid;
  flex: 0 0 108px;
  place-items: center;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #1d2430 57%, transparent 58%),
    conic-gradient(var(--accent) 0 81%, rgba(242, 138, 22, 0.17) 81% 100%);
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 900;
}

.task-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.task-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.task-row strong,
.task-row small {
  display: block;
}

.task-row small {
  margin-top: 4px;
}

.dot {
  flex: 0 0 12px;
  width: 12px;
  height: 12px;
  margin-top: 5px;
  border-radius: 50%;
}

.dot.done {
  background: var(--accent);
}

.dot.pending {
  background: var(--warm);
}

.dot.review {
  background: var(--blue);
}

.evaluation-form {
  display: grid;
  gap: 18px;
  max-width: 680px;
}

.evaluation-form label {
  display: grid;
  gap: 8px;
  color: #f8f5ef;
  font-weight: 800;
}

.evaluation-form select,
.evaluation-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.evaluation-form input[type="range"] {
  accent-color: var(--accent);
}

.form-links-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.form-links-header h3 {
  margin: 0 0 8px;
  font-size: 1.45rem;
}

.form-links-header p {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.form-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-link-card {
  display: grid;
  gap: 12px;
  align-content: start;
  min-height: 220px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.form-code {
  width: fit-content;
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(242, 138, 22, 0.14);
  color: #f6a331;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.form-link-card h4 {
  margin: 0;
  font-size: 1.12rem;
}

.form-link-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.form-link-card a {
  align-self: end;
  margin-top: auto;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(17, 23, 34, 0.68);
  backdrop-filter: blur(6px);
}

.modal-overlay.is-open {
  display: flex;
}

.forms-modal {
  width: min(1080px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: #1d2430;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  padding: 24px;
}

.wide-modal {
  width: min(1180px, 100%);
}

.survey-thanks-overlay {
  z-index: 35;
}

.survey-thanks-modal {
  display: grid;
  justify-items: center;
  gap: 14px;
  width: min(520px, 100%);
  text-align: center;
}

.survey-thanks-modal .modal-logo {
  width: 190px;
}

.survey-thanks-modal h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1;
}

.survey-thanks-modal p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.modal-header h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

.modal-title-group {
  display: flex;
  min-width: 0;
  gap: 16px;
  align-items: center;
}

.modal-logo {
  display: grid;
  flex: 0 0 150px;
  place-items: center;
  width: 150px;
  border-radius: 8px;
  padding: 8px 12px;
  background: #ffffff;
}

.modal-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.close-modal {
  display: grid;
  flex: 0 0 42px;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-size: 1.7rem;
  line-height: 1;
}

.close-modal:hover {
  background: rgba(242, 138, 22, 0.16);
}

.modal-form-grid {
  margin-top: 0;
}

.choice-section {
  margin: 4px 0 16px;
}

.choice-section h3 {
  margin: 0 0 6px;
  font-size: 1.35rem;
}

.choice-section p {
  margin: 0;
  color: var(--muted);
}

.report-section {
  margin-top: 26px;
}

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

.report-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  border: 1px solid rgba(242, 138, 22, 0.44);
  border-radius: 8px;
  padding: 0 14px;
  background: rgba(242, 138, 22, 0.12);
  color: #f6a331;
  font-weight: 900;
  text-align: center;
}

.report-button:hover:not(:disabled) {
  background: rgba(242, 138, 22, 0.2);
}

.calendar-modal {
  width: min(1120px, 100%);
}

.calendar-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
}

.calendar-board,
.calendar-side {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.calendar-board {
  padding: 16px;
}

.calendar-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.calendar-toolbar h3,
.event-form h3,
.event-list-block h3 {
  margin: 0;
}

.calendar-nav {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(242, 138, 22, 0.44);
  border-radius: 8px;
  background: rgba(242, 138, 22, 0.12);
  color: #f6a331;
  font-size: 1.6rem;
  line-height: 1;
}

.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.calendar-weekdays {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.calendar-day {
  min-height: 94px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.calendar-day.is-muted {
  opacity: 0.34;
}

.calendar-day-number {
  display: block;
  margin-bottom: 6px;
  color: #ffffff;
  font-weight: 900;
}

.calendar-event {
  display: block;
  overflow: hidden;
  margin-top: 4px;
  border-radius: 5px;
  padding: 4px 6px;
  background: rgba(242, 138, 22, 0.18);
  color: #f6d09c;
  font-size: 0.72rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.calendar-side {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: 16px;
}

.event-form {
  display: grid;
  gap: 12px;
}

.event-form label {
  display: grid;
  gap: 6px;
  color: #ffffff;
  font-weight: 800;
}

.event-form input,
.event-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.event-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.event-item {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
}

.event-item strong {
  color: #ffffff;
}

.event-item span {
  color: var(--muted);
  font-size: 0.86rem;
}

.climate-workspace-modal {
  width: min(1180px, 100%);
}

.hidden-frame {
  position: absolute;
  width: 1px;
  height: 1px;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.climate-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  width: fit-content;
  background: rgba(255, 255, 255, 0.05);
}

.climate-menu-button {
  min-height: 38px;
  max-width: 240px;
  border: 0;
  border-radius: 6px;
  padding: 0 14px;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
  white-space: normal;
}

.climate-menu-button.is-selected {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.climate-view {
  display: grid;
  gap: 18px;
}

.climate-send-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 18px;
}

.climate-send-form,
.climate-info-card,
.climate-section-card,
.climate-kpi,
.dimension-row {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.climate-send-form,
.climate-info-card,
.climate-section-card {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.summary-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.summary-stat-grid div {
  display: grid;
  gap: 6px;
  min-height: 90px;
  align-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
}

.summary-stat-grid span {
  color: var(--muted);
  font-weight: 800;
}

.summary-stat-grid strong {
  color: #ffffff;
  font-size: 1.8rem;
  line-height: 1;
}

.climate-send-form label,
.climate-filter-grid label {
  display: grid;
  gap: 7px;
  color: #ffffff;
  font-weight: 900;
}

.climate-send-form textarea,
.climate-send-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  resize: vertical;
}

.climate-note,
.climate-info-card p,
.climate-comment,
.survey-hero p,
.survey-section p,
.survey-dimension p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.climate-kpi-grid,
.climate-filter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.climate-filter-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.climate-kpi {
  display: grid;
  gap: 8px;
  align-content: start;
  min-height: 116px;
  padding: 16px;
}

.climate-kpi span {
  color: var(--muted);
  font-weight: 800;
}

.climate-kpi strong {
  color: #ffffff;
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  line-height: 1.05;
}

.climate-section-grid,
.climate-popular-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.climate-section-card h4 {
  margin: 0;
}

.score-row,
.answer-row,
.dimension-row {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}

.score-row strong {
  color: var(--accent-dark);
  font-size: 1.6rem;
}

.answer-row {
  align-items: flex-start;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.answer-row span {
  color: var(--muted);
  line-height: 1.4;
}

.answer-row b {
  max-width: 210px;
  color: #ffffff;
  text-align: right;
}

.dimension-list {
  display: grid;
  gap: 10px;
}

.dimension-row {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) 54px;
  padding: 14px;
}

.dimension-row span {
  color: #ffffff;
  font-weight: 800;
}

.survey-hero,
.survey-section,
.survey-dimension {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.survey-hero {
  display: grid;
  gap: 12px;
  padding: 22px;
  background: linear-gradient(135deg, rgba(242, 138, 22, 0.14), rgba(174, 183, 195, 0.07));
}

.survey-hero h3 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.survey-form {
  display: grid;
  gap: 18px;
}

.survey-nav-row {
  display: flex;
  justify-content: flex-start;
}

.survey-return-button {
  width: fit-content;
  border-color: rgba(242, 138, 22, 0.42);
  color: #f6a331;
  background: rgba(242, 138, 22, 0.08);
}

.survey-section,
.survey-dimension {
  display: grid;
  gap: 16px;
  padding: 18px;
}

.survey-dimension {
  position: relative;
  overflow: hidden;
  padding-left: 22px;
  border-color: rgba(242, 138, 22, 0.28);
  background:
    linear-gradient(180deg, rgba(242, 138, 22, 0.08), transparent 92px),
    rgba(255, 255, 255, 0.055);
}

.survey-dimension::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--accent);
}

.survey-dimension:nth-of-type(2) {
  border-color: rgba(232, 183, 93, 0.32);
  background:
    linear-gradient(180deg, rgba(232, 183, 93, 0.09), transparent 92px),
    rgba(255, 255, 255, 0.055);
}

.survey-dimension:nth-of-type(2)::before {
  background: var(--warm);
}

.survey-dimension:nth-of-type(3) {
  border-color: rgba(174, 183, 195, 0.36);
  background:
    linear-gradient(180deg, rgba(174, 183, 195, 0.12), transparent 92px),
    rgba(255, 255, 255, 0.055);
}

.survey-dimension:nth-of-type(3)::before {
  background: var(--blue);
}

.survey-dimension:nth-of-type(4) {
  border-color: rgba(231, 211, 162, 0.36);
  background:
    linear-gradient(180deg, rgba(231, 211, 162, 0.1), transparent 92px),
    rgba(255, 255, 255, 0.055);
}

.survey-dimension:nth-of-type(4)::before {
  background: var(--paper);
}

.survey-dimension:nth-of-type(5) {
  border-color: rgba(242, 163, 49, 0.36);
}

.survey-dimension:nth-of-type(6) {
  border-color: rgba(183, 190, 200, 0.36);
}

.survey-dimension:nth-of-type(7) {
  border-color: rgba(242, 138, 22, 0.42);
}

.survey-section h4,
.survey-dimension h5 {
  margin: 0;
}

.survey-section h4 {
  font-size: 1.5rem;
}

.survey-dimension h5 {
  font-size: 1.2rem;
}

.survey-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.survey-grid label,
.survey-section label,
.survey-comment {
  display: grid;
  gap: 7px;
  color: #ffffff;
  font-weight: 900;
}

.survey-grid select,
.survey-section select,
.survey-section input,
.survey-section textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.survey-section textarea {
  resize: vertical;
}

.survey-question {
  display: grid;
  gap: 10px;
  margin: 0;
  border: 0;
  padding: 0;
}

.survey-question legend {
  margin-bottom: 2px;
  color: #ffffff;
  font-weight: 900;
  line-height: 1.35;
}

.survey-options {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.survey-options label {
  display: grid;
  gap: 8px;
  align-content: start;
  min-height: 76px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.075);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.survey-options label:nth-of-type(1) {
  border-color: rgba(232, 183, 93, 0.28);
}

.survey-options label:nth-of-type(2) {
  border-color: rgba(242, 163, 49, 0.26);
}

.survey-options label:nth-of-type(3) {
  border-color: rgba(174, 183, 195, 0.24);
}

.survey-options label:nth-of-type(4) {
  border-color: rgba(231, 211, 162, 0.24);
}

.survey-options label:nth-of-type(5) {
  border-color: rgba(183, 190, 200, 0.22);
}

.survey-options input {
  accent-color: var(--accent);
}

.survey-options label:has(input:checked) {
  border-color: rgba(242, 138, 22, 0.64);
  background: rgba(242, 138, 22, 0.14);
  color: #ffffff;
}

.survey-submit-row {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.06);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.benefit-card {
  display: grid;
  gap: 12px;
  min-height: 250px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.benefit-card h3,
.benefit-card p {
  margin: 0;
}

.benefit-card p {
  color: var(--muted);
  line-height: 1.45;
}

.benefit-card .report-button {
  align-self: end;
}

.module-section {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.module-section:first-child {
  margin-top: 0;
}

.module-section-header,
.card-topline,
.filter-actions,
.mini-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.module-section-header h3,
.planning-card h4,
.note-card h4,
.profile-card h4 {
  margin: 0;
}

.section-intro {
  max-width: 720px;
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.module-feature-grid,
.profile-grid,
.notes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.planning-card,
.canvas-block,
.kanban-column,
.kanban-card,
.note-card,
.profile-card,
.empty-state {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.planning-card,
.note-card,
.profile-card,
.empty-state {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.planning-card p,
.note-card p,
.profile-card p,
.muted-text,
.empty-state span,
.compact-list {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.empty-state {
  min-height: 130px;
  align-content: center;
}

.mini-actions button {
  min-height: 34px;
  border: 1px solid rgba(242, 138, 22, 0.34);
  border-radius: 8px;
  padding: 0 10px;
  background: rgba(242, 138, 22, 0.1);
  color: #f6a331;
  font-weight: 800;
}

.template-fields {
  display: grid;
  gap: 8px;
  margin: 0;
}

.template-fields div {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 12px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.template-fields dt {
  color: #ffffff;
  font-weight: 900;
}

.template-fields dd {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.canvas-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.canvas-block {
  min-height: 130px;
  padding: 14px;
}

.canvas-block strong {
  display: block;
  margin-bottom: 8px;
  color: #ffffff;
}

.canvas-block p {
  margin: 0;
  color: var(--muted);
  line-height: 1.4;
}

.kanban-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.kanban-column {
  display: grid;
  gap: 12px;
  align-content: start;
  min-height: 260px;
  padding: 14px;
}

.kanban-column h4 {
  margin: 0;
  color: #ffffff;
}

.kanban-card {
  display: grid;
  gap: 8px;
  padding: 14px;
  cursor: grab;
}

.kanban-card:active {
  cursor: grabbing;
}

.kanban-card span,
.kanban-card small,
.kanban-card p {
  color: var(--muted);
  line-height: 1.35;
}

.kanban-card p {
  margin: 0;
}

.module-search {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-weight: 700;
}

.module-search::placeholder {
  color: var(--muted);
}

.note-card.is-pinned {
  border-color: rgba(242, 138, 22, 0.5);
}

.note-card.is-archived {
  opacity: 0.62;
}

.compact-list {
  display: grid;
  gap: 6px;
  padding-left: 18px;
}

.training-catalog {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.training-card {
  display: grid;
  gap: 14px;
  align-content: start;
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.06);
}

.training-card h3,
.training-card p,
.training-meta {
  margin: 0;
}

.training-card p,
.training-meta dd {
  color: var(--muted);
  line-height: 1.45;
}

.training-meta {
  display: grid;
  gap: 10px;
}

.training-meta div {
  display: grid;
  gap: 4px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.training-meta dt,
.training-topics strong {
  color: #ffffff;
  font-weight: 900;
}

.training-meta dd {
  margin: 0;
}

.training-topics {
  display: grid;
  gap: 8px;
}

.training-card .report-button {
  align-self: end;
  margin-top: auto;
}

.pulse-list {
  display: grid;
  gap: 14px;
}

.pulse-row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) 54px;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.pulse-track {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
}

.pulse-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
}

.org-chart {
  display: grid;
  gap: 18px;
}

.org-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.org-node {
  display: grid;
  gap: 6px;
  width: min(240px, 100%);
  min-height: 110px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  text-align: left;
}

.org-node:hover {
  border-color: rgba(242, 138, 22, 0.58);
  background: rgba(242, 138, 22, 0.1);
}

.org-node span,
.org-node small {
  color: var(--muted);
}

.profile-card.is-highlighted {
  border-color: rgba(242, 138, 22, 0.7);
  box-shadow: 0 0 0 2px rgba(242, 138, 22, 0.12);
}

.ninebox-shell {
  display: grid;
  gap: 10px;
}

.axis-label {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.axis-y {
  justify-self: start;
}

.axis-x {
  justify-self: end;
}

.ninebox-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.ninebox-cell {
  display: grid;
  gap: 8px;
  min-height: 138px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.06);
}

.ninebox-cell small {
  color: var(--muted);
}

.ninebox-cell strong {
  color: #ffffff;
}

.ninebox-cell p {
  margin: 0;
  color: var(--accent-dark);
  font-weight: 800;
  line-height: 1.35;
}

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

.result-item {
  display: grid;
  gap: 8px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.result-item strong {
  font-size: 2rem;
  color: var(--accent-dark);
}

.result-action-card {
  align-content: start;
}

.result-action-card .secondary-action {
  align-self: end;
  margin-top: auto;
}

@media (max-width: 920px) {
  .screen-logo {
    width: 164px;
  }

  .modal-title-group {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .modal-logo {
    flex-basis: auto;
    width: 140px;
  }

  .workspace {
    grid-template-columns: 1fr;
  }

  .results-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-grid,
  .benefits-grid,
  .calendar-layout,
  .climate-send-grid,
  .climate-kpi-grid,
  .climate-filter-grid,
  .climate-section-grid,
  .climate-popular-list,
  .survey-grid,
  .survey-options,
  .training-catalog,
  .module-feature-grid,
  .profile-grid,
  .notes-grid,
  .canvas-grid,
  .kanban-board,
  .ninebox-grid {
    grid-template-columns: 1fr;
  }

  .form-links-header {
    flex-direction: column;
  }

  .module-section-header,
  .filter-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .summary-panel {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 620px) {
  .screen-logo {
    top: 14px;
    left: 14px;
    width: 150px;
    min-height: 50px;
  }

  .app-shell {
    width: min(100% - 20px, 1180px);
    padding-top: 16px;
  }

  .brand-mark,
  .panel-header,
  .module-header,
  .progress-block {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand-mark {
    width: 100%;
  }

  .brand-mark h1 {
    font-size: 2.3rem;
  }

  .logo-slot {
    width: 100%;
    max-width: 340px;
    height: 118px;
  }

  .form-link-grid,
  .results-grid {
    grid-template-columns: 1fr;
  }

  .pulse-row,
  .dimension-row,
  .template-fields div {
    grid-template-columns: 1fr;
  }

  .answer-row {
    flex-direction: column;
  }

  .answer-row b {
    max-width: none;
    text-align: left;
  }

  .survey-submit-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .forms-modal {
    padding: 18px;
  }

  .report-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 126px;
  }

  .tabs {
    width: 100%;
  }

  .tab {
    flex: 1 1 110px;
  }
}
