@font-face {
  font-family: Vazirmatn;
  src: url("assets/Vazirmatn.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --green: #087f6d;
  --deep: #183f38;
  --mint: #e9f5ef;
  --ink: #253b36;
  --muted: #87938f;
  --line: #e7ece9;
  --surface: #f6f8f7;
  --sidebar: 242px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: Vazirmatn, Tahoma, sans-serif;
  font-size: 15px;
  line-height: 1.8;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
svg.ico {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
button svg {
  pointer-events: none;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
}
.brandmark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--green);
  color: white;
  display: grid;
  place-items: center;
}
.brandmark svg {
  width: 27px;
  height: 27px;
}
.brand strong {
  font-size: 24px;
  letter-spacing: -1.3px;
  line-height: 1.4;
}
.brand small {
  display: block;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0;
}
.sidebar {
  position: fixed;
  inset-inline-start: 0;
  top: 0;
  bottom: 0;
  width: var(--sidebar);
  padding: 30px 21px 20px;
  background: #fff;
  border-inline-end: 1px solid var(--line);
  z-index: 30;
  display: flex;
  flex-direction: column;
}
.nav-caption {
  font-size: 14px;
  color: #a2aaa6;
  margin: 43px 13px 13px;
}
.side-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  margin: 4px 0;
  border-radius: 8px;
  color: #7c8883;
  font-size: 14px;
}
.side-link.active {
  color: var(--green);
  background: #eaf5ef;
  font-weight: 650;
}
.side-link.active:before {
  content: "";
  width: 3px;
  height: 21px;
  background: var(--green);
  position: absolute;
  inset-inline-start: 0;
  border-radius: 3px 0 0 3px;
}
.side-link .count {
  margin-inline-start: auto;
  font-size: 14px;
  background: white;
  padding: 0 7px;
  border-radius: 5px;
}
.sidebar-bottom {
  margin-top: auto;
}
.help-card {
  position: relative;
  padding: 21px 16px 16px;
  border: 1px solid #e1eee6;
  border-radius: 10px;
  background: linear-gradient(135deg, #f0f8f3, #fcfdfb);
  margin-bottom: 23px;
}
.help-card .help-icon {
  color: var(--green);
  margin-bottom: 7px;
}
.help-card strong {
  display: block;
  font-size: 14px;
}
.help-card p {
  font-size: 14px;
  color: #819188;
  margin: 8px 0 14px;
  line-height: 2;
}
.help-card button {
  font-size: 14px;
  background: white;
  border: 1px solid #deebe3;
  width: 100%;
  padding: 7px;
  border-radius: 6px;
  color: var(--green);
}
.profile {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 19px;
}
.avatar {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #e9f1eb;
  color: #648473;
  display: grid;
  place-items: center;
  font-weight: 650;
}
.profile strong {
  font-size: 14px;
  display: block;
}
.profile small {
  color: var(--muted);
  font-size: 14px;
}
.profile .ico {
  margin-inline-start: auto;
  color: #97a19c;
}
.workspace {
  margin-inline-start: var(--sidebar);
}
.topbar {
  height: 77px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 38px;
}
.breadcrumb-text {
  color: #909b95;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.breadcrumb-text b {
  font-weight: 500;
  color: #475b51;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  color: #8c9891;
}
.top-actions .date {
  display: flex;
  align-items: center;
  gap: 7px;
}
.icon-btn {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.notification-dot {
  position: absolute;
  width: 5px;
  height: 5px;
  background: #e6aa6c;
  border-radius: 50%;
  top: 6px;
  inset-inline-start: 7px;
}
.main {
  max-width: 1530px;
  margin: auto;
  padding: 30px 38px 18px;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 23px;
  gap: 16px;
}
h1 {
  font-size: 23px;
  font-weight: 750;
  letter-spacing: -0.6px;
  margin: 0 0 6px;
}
h2 {
  font-size: 19px;
  font-weight: 700;
}
h3 {
  font-size: 16px;
  font-weight: 650;
}
.subtitle {
  font-size: 14px;
  color: #88948d;
  margin: 0;
}
.btn {
  font-size: 14px;
  border-radius: 7px;
  padding: 10px 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 500;
}
.btn-primary {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
  box-shadow: 0 3px 6px #087f6d12;
}
.btn-primary:hover,
.btn-primary:focus {
  background: #066d5d;
  border-color: #066d5d;
}
.btn-light {
  background: white;
  border: 1px solid var(--line);
  color: #60736a;
}
.btn-danger {
  background: #b64d4d;
  border-color: #b64d4d;
}
.btn-quiet {
  border: 0;
  background: transparent;
  color: var(--green);
}
.btn-sm {
  padding: 6px 11px;
  font-size: 14px;
}
.hero {
  height: 172px;
  background: #ecf5ef;
  border: 1px solid #dfece3;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 32px;
  position: relative;
  overflow: hidden;
  margin-bottom: 23px;
}
.hero:after {
  content: "";
  position: absolute;
  width: 310px;
  height: 310px;
  inset-inline-end: -40px;
  top: -65px;
  border: 1px solid #dbeae1;
  border-radius: 50%;
  box-shadow:
    0 0 0 34px #e4f0e84d,
    0 0 0 35px #dfece45e,
    0 0 0 70px #e7f1ea60;
}
.hero-copy {
  z-index: 1;
}
.hero-label {
  color: #69957c;
  font-size: 14px;
  margin-bottom: 9px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.hero h2 {
  font-size: 20px;
  color: #245844;
  letter-spacing: -0.5px;
}
.hero p {
  font-size: 14px;
  color: #7f9589;
  margin: 9px 0 12px;
}
.hero-link {
  border: 0;
  background: none;
  color: var(--green);
  padding: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}
.hero-art {
  position: relative;
  width: 265px;
  height: 140px;
  flex-shrink: 0;
  z-index: 1;
  direction: ltr;
  margin-inline-end: 28px;
}
.art-node {
  position: absolute;
  background: #fff;
  border: 1px solid #cfe1d6;
  box-shadow: 0 6px 15px #4a806d09;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #83a794;
  width: 62px;
  height: 40px;
}
.art-root {
  inset-inline-end: 92px;
  top: 3px;
  width: 72px;
  height: 43px;
  color: white;
  background: #258c70;
  border-color: #258c70;
  box-shadow: 0 6px 14px #258c7025;
}
.art-a {
  inset-inline-end: 2px;
  top: 89px;
}
.art-b {
  inset-inline-end: 96px;
  top: 89px;
}
.art-c {
  inset-inline-end: 190px;
  top: 89px;
}
.art-line-v {
  position: absolute;
  inset-inline-end: 127px;
  top: 46px;
  height: 43px;
  border-inline-end: 1.5px solid #a3c6b4;
}
.art-line-h {
  position: absolute;
  top: 67px;
  inset-inline-end: 32px;
  width: 190px;
  border-top: 1.5px solid #a3c6b4;
}
.art-line-h:before,
.art-line-h:after {
  position: absolute;
  content: "";
  height: 22px;
  border-inline-end: 1.5px solid #a3c6b4;
  top: 0;
}
.art-line-h:before {
  inset-inline-end: 0;
}
.art-line-h:after {
  inset-inline-start: 0;
}
.art-spark {
  position: absolute;
  inset-inline-start: -25px;
  top: 19px;
  color: #93b8a4;
  font-size: 20px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-bottom: 29px;
}
.stat {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 18px 18px 14px;
  display: flex;
  gap: 13px;
  align-items: flex-start;
}
.stat-icon {
  width: 39px;
  height: 39px;
  border-radius: 10px;
  background: #edf4f0;
  color: #548770;
  display: grid;
  place-items: center;
}
.stat:nth-child(2) .stat-icon {
  background: #edf7ef;
  color: #65a47b;
}
.stat:nth-child(3) .stat-icon {
  background: #edf3fb;
  color: #7c98b7;
}
.stat:nth-child(4) .stat-icon {
  background: #fbf4e9;
  color: #c2a477;
}
.stat-label {
  font-size: 14px;
  color: #8a968f;
  margin-bottom: 2px;
}
.stat-number {
  font-size: 23px;
  font-weight: 700;
  line-height: 1.6;
  color: #314b40;
}
.stat-note {
  font-size: 14px;
  color: #a1aaa5;
}
.stat-trend {
  color: #589b77;
}
.section-title {
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
}
.muted-count {
  font-size: 14px;
  color: #88968e;
  background: #edf1ee;
  padding: 1px 7px;
  border-radius: 5px;
  font-weight: 400;
}
.list-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 15px;
}
.toolbar-controls {
  display: flex;
  align-items: center;
  gap: 9px;
}
.search-box {
  position: relative;
}
.search-box input {
  width: 252px;
  height: 37px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: white;
  padding: 8px 12px;
  padding-inline-start: 34px;
  font-size: 14px;
}
.search-box > .ico {
  position: absolute;
  inset-inline-start: 11px;
  top: 10px;
  width: 16px;
  height: 16px;
  color: #a5afa9;
}
.view-switch {
  display: flex;
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: white;
  padding: 3px;
  margin-inline-start: 4px;
}
.view-switch button {
  border: 0;
  background: transparent;
  width: 29px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  color: #a0aaa4;
}
.view-switch button.selected {
  color: var(--green);
  background: #ebf4ef;
}
.view-switch .ico {
  width: 15px;
  height: 15px;
}
.tabs {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}
.tab-btn {
  border: 0;
  background: none;
  padding: 0 0 11px;
  color: #909b95;
  font-size: 14px;
  position: relative;
  display: flex;
  gap: 7px;
  align-items: center;
}
.tab-btn.active {
  color: var(--green);
  font-weight: 650;
}
.tab-btn.active:after {
  content: "";
  height: 2px;
  background: var(--green);
  position: absolute;
  bottom: -1px;
  inset-inline-start: 0;
  inset-inline-end: 0;
}
.tab-btn span {
  background: #edf0ed;
  padding: 0 5px;
  border-radius: 4px;
  font-size: 14px;
}
.tab-btn.active span {
  background: #e4f1e9;
  color: var(--green);
}
.project-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.project-card {
  border: 1px solid #e3eae5;
  border-radius: 10px;
  background: white;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.project-card:hover {
  border-color: #b7d6c6;
  box-shadow: 0 4px 17px #254b3905;
}
.project-top {
  display: flex;
  align-items: center;
  padding: 19px 21px;
  gap: 14px;
}
.project-symbol {
  background: #eef5f1;
  color: #639b7c;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 41px;
  height: 43px;
  border-radius: 9px;
}
.project-symbol.blue {
  background: #eef3f9;
  color: #7996b3;
}
.project-symbol.purple {
  background: #f1eef8;
  color: #9b8cb8;
}
.project-symbol.sand {
  background: #f8f2e8;
  color: #b59b76;
}
.project-title-line {
  display: flex;
  align-items: center;
  gap: 11px;
}
.project-title {
  font-size: 15px;
  font-weight: 650;
  color: #354e42;
  border: 0;
  background: none;
  padding: 0;
  text-align: start;
}
.project-meta {
  color: #9aa49e;
  font-size: 14px;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.project-meta .ico {
  width: 12px;
  height: 12px;
}
.badge-status {
  font-size: 14px;
  padding: 1px 7px;
  border-radius: 4px;
  background: #e9f4ec;
  color: #589875;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.badge-status:before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}
.badge-status.draft {
  background: #f9f3e7;
  color: #b69754;
}
.badge-status.inactive {
  background: #f1f2f1;
  color: #939b96;
}
.inactive-title {
  text-decoration: line-through;
  color: #929e97;
}
.response-count {
  margin-inline-start: auto;
  text-align: center;
  min-width: 60px;
}
.response-count strong {
  display: block;
  line-height: 1.45;
  font-size: 22px;
  font-weight: 650;
  color: #3c584a;
}
.response-count small {
  font-size: 14px;
  color: #9ba69e;
}
.project-menu {
  position: relative;
  margin-inline-start: 14px;
}
.project-menu > .icon-btn {
  border: 0;
  color: #95a198;
  width: 27px;
}
.project-menu > .icon-btn .ico {
  width: 17px;
}
.project-bottom {
  border-top: 1px solid #edf1ed;
  background: #fafcfb;
  border-radius: 0 0 10px 10px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.project-links {
  display: flex;
  align-items: center;
  gap: 12px;
}
.project-links a {
  font-size: 14px;
  color: #7f8e84;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.project-links a:hover {
  color: var(--green);
}
.project-links .ico {
  width: 14px;
  height: 14px;
}
.project-links i {
  height: 10px;
  border-inline-end: 1px solid #dde5df;
}
.toggle-control {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 0;
  background: none;
  color: #8c9990;
  font-size: 14px;
  white-space: nowrap;
  padding: 0;
}
.switch {
  width: 25px;
  height: 14px;
  border-radius: 20px;
  background: #d6dfd9;
  position: relative;
  display: inline-block;
  flex-shrink: 0;
}
.switch:after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background: #fff;
  border-radius: 50%;
  top: 2px;
  inset-inline-start: 2px;
  box-shadow: 0 1px 2px #0001;
}
.switch.on {
  background: #389a76;
}
.switch.on:after {
  inset-inline-start: 13px;
}
.dropdown {
  position: relative;
}
.popup-menu {
  display: none;
  position: absolute;
  inset-inline-end: 0;
  top: 35px;
  min-width: 160px;
  background: white;
  box-shadow: 0 8px 35px #193f3820;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 5px;
  z-index: 20;
}
.popup-menu.open,
.project-menu:focus-within .popup-menu {
  display: block;
}
.popup-menu button {
  width: 100%;
  text-align: start;
  border: 0;
  background: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  font-size: 14px;
  border-radius: 5px;
  white-space: nowrap;
}
.popup-menu button:hover {
  background: #eff6f1;
}
.popup-menu .danger {
  color: #b46060;
}
.pagination-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 21px 0;
  color: #9aa59d;
  font-size: 14px;
}
.pages {
  display: flex;
  gap: 5px;
  direction: rtl;
}
.pages button {
  border: 1px solid var(--line);
  border-radius: 5px;
  background: white;
  width: 27px;
  height: 27px;
  font-size: 14px;
  display: grid;
  place-items: center;
}
.pages button.current {
  background: #edf5ef;
  color: var(--green);
  border-color: #cde3d5;
}
.pages button:disabled {
  opacity: 0.4;
}
.pages svg {
  width: 12px;
}
.footer {
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding: 15px 0 2px;
  font-size: 14px;
  color: #a5aea8;
}
.footer span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.footer .ico {
  width: 12px;
  height: 12px;
}
.mobile-toggle {
  display: none;
}
.grid-view {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.grid-view .project-top {
  flex-wrap: wrap;
}
.grid-view .project-bottom {
  align-items: flex-start;
  flex-direction: column;
}
.grid-view .project-links {
  flex-wrap: wrap;
  gap: 9px;
}
.grid-view .response-count {
  margin-inline-start: auto;
}
.empty-state {
  text-align: center;
  border: 1px dashed #cdded2;
  border-radius: 10px;
  padding: 50px 15px;
  color: #8b9b90;
}
.empty-state > .ico {
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
  color: #84af95;
}
.empty-state p {
  font-size: 14px;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
}
.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 15px;
}
.panel-title h2 {
  margin: 0;
  font-size: 16px;
}
.panel-title p {
  font-size: 14px;
  color: var(--muted);
  margin: 6px 0 0;
}
.steps {
  display: flex;
  margin: 0 0 26px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 20px;
  gap: 12px;
}
.step {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #98a39c;
  font-size: 14px;
  position: relative;
}
.step:not(:last-child):after {
  content: "";
  width: 24px;
  border-top: 1px solid #dfe8e1;
  position: absolute;
  inset-inline-end: -17px;
}
.step span {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #f2f5f3;
  display: grid;
  place-items: center;
  font-size: 14px;
}
.step.active {
  color: var(--green);
  font-weight: 600;
}
.step.active span {
  background: var(--green);
  color: white;
}
.form-label {
  font-size: 14px;
  color: #5d7164;
  margin-bottom: 7px;
}
.form-control,
.form-select {
  font-size: 14px;
  border-color: #dfe7e1;
  padding: 10px 12px;
  border-radius: 7px;
  line-height: 1.8;
}
.form-control:focus,
.form-select:focus {
  border-color: #8bbfa4;
  box-shadow: 0 0 0 3px #087f6d0c;
}
textarea.form-control {
  min-height: 90px;
}
input[type="checkbox"],
input[type="radio"],
input[type="range"] {
  accent-color: var(--green);
}
.field {
  margin-bottom: 18px;
}
.field-hint {
  font-size: 14px;
  color: #98a59b;
  margin: 6px 0 0;
}
.action-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 4px 0 24px;
}
.action-bar small {
  color: #8b9b90;
  font-size: 14px;
}
.note {
  padding: 12px 15px;
  background: #edf6f0;
  border-radius: 7px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  color: #5d8b71;
  margin-bottom: 20px;
}
.chart-viewport {
  height: 385px;
  overflow: auto;
  background-color: #fbfdfb;
  background-image: radial-gradient(#d9e5dc 1px, transparent 1px);
  background-size: 18px 18px;
  border: 1px solid #e4ebe5;
  border-radius: 9px;
  direction: ltr;
}
.tree {
  display: flex;
  justify-content: center;
  min-width: max-content;
  padding: 35px;
  direction: rtl;
}
.tree ul {
  padding: 35px 0 0;
  position: relative;
  display: flex;
  justify-content: center;
  margin: 0;
  list-style: none;
}
.tree > ul {
  padding-top: 0;
}
.tree li {
  position: relative;
  text-align: center;
  padding: 0 12px;
  display: flex;
  align-items: center;
  flex-direction: column;
}
.tree li:before,
.tree li:after {
  content: "";
  position: absolute;
  top: -18px;
  width: 50%;
  height: 18px;
  border-top: 1px solid #afcdbb;
}
.tree li:before {
  inset-inline-end: 0;
  border-inline-start: 1px solid #afcdbb;
}
.tree li:after {
  inset-inline-start: 0;
}
.tree li:only-child:after,
.tree li:only-child:before {
  display: none;
}
.tree li:first-child:after,
.tree li:last-child:before {
  border-top: 0;
}
.tree li:first-child:before {
  border-radius: 0 4px 0 0;
}
.tree ul ul:before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline-end: 50%;
  height: 18px;
  border-inline-end: 1px solid #afcdbb;
}
.tree > ul > li:before,
.tree > ul > li:after {
  display: none;
}
.tree li:only-child > ul:before {
  height: 18px;
}
.node {
  width: 145px;
  border: 1px solid #c9ddcf;
  background: white;
  border-radius: 8px;
  padding: 10px 10px 5px;
  box-shadow: 0 3px 8px #234c3607;
}
.node.root {
  background: #eaf6ee;
  border-color: #95c5aa;
}
.node textarea {
  resize: none;
  border: 0;
  background: transparent;
  text-align: center;
  overflow: hidden;
  width: 100%;
  font-size: 14px;
  color: #4b6e59;
  min-height: 24px;
  line-height: 1.8;
}
.node-actions {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #ecf1ed;
  padding-top: 4px;
}
.node-actions button {
  border: 0;
  background: transparent;
  color: #7eaa8d;
  line-height: 1;
  width: 21px;
  height: 20px;
}
.node-actions .remove-node {
  color: #ba9999;
}
.node-actions .ico {
  width: 13px;
  height: 13px;
}
.options-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}
.option-item {
  display: flex;
  gap: 5px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 5px 8px;
}
.option-item input {
  width: 100px;
  border: 0;
  outline: 0;
  font-size: 14px;
}
.option-item button {
  border: 0;
  background: none;
  color: #ab9696;
}
.builder-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
}
.toolbox {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field-tool {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 7px;
  padding: 10px 12px;
  text-align: start;
  font-size: 14px;
}
.field-tool:hover {
  background: #f1f8f3;
  border-color: #b4d3be;
}
.field-tool .ico {
  width: 16px;
  color: #759b80;
}
.field-tool span:last-child {
  margin-inline-start: auto;
  color: #a4b2a8;
}
.builder-canvas {
  min-height: 360px;
  border: 1px dashed #cdded2;
  background: #fbfdfb;
  border-radius: 9px;
  padding: 20px;
}
.builder-field {
  border: 1px solid #e0e9e2;
  background: white;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 10px;
  cursor: grab;
}
.builder-field-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.builder-field-head strong {
  font-size: 14px;
}
.builder-field-head .field-buttons {
  margin-inline-start: auto;
  display: flex;
  gap: 5px;
}
.builder-field-head .icon-btn {
  width: 25px;
  height: 25px;
  border: 0;
}
.builder-field-head .ico {
  width: 14px;
}
.builder-field .mock-input {
  background: #fafcfb;
  border: 1px solid #e8eee9;
  border-radius: 5px;
  padding: 8px 10px;
  color: #a6afa8;
  font-size: 14px;
}
.required {
  color: #b86f6f;
}
.scale-preview {
  background: #f8fbf9;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 30px;
  margin-top: 22px;
}
.pair-endpoints {
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
  font-size: 14px;
  color: #44765a;
}
.pair-endpoints span {
  background: #edf5ef;
  padding: 6px 15px;
  border-radius: 6px;
}
.scale-range {
  direction: ltr;
  width: 100%;
  cursor: pointer;
}
.ticks {
  display: flex;
  direction: ltr;
  justify-content: space-between;
  color: #91a094;
  font-size: 14px;
  margin-top: 6px;
}
.range-result {
  text-align: center;
  color: var(--green);
  font-size: 14px;
  margin-top: 20px;
  min-height: 23px;
}
.scale-legend {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 25px;
}
.legend-item {
  border: 1px solid var(--line);
  border-radius: 7px;
  text-align: center;
  padding: 12px 5px;
  font-size: 14px;
  color: #8a9a8e;
}
.legend-item b {
  display: block;
  font-size: 20px;
  color: #5a8068;
}
.settings-layout {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 22px;
}
.color-options {
  display: flex;
  gap: 9px;
  align-items: center;
}
.color-swatch {
  width: 27px;
  height: 27px;
  border: 3px solid white;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #e2e8e3;
}
.color-swatch.selected {
  box-shadow: 0 0 0 2px #5a8e6e;
}
.upload-box {
  border: 1px dashed #cbdccf;
  border-radius: 9px;
  padding: 23px;
  text-align: center;
  color: #8ca193;
  cursor: pointer;
  display: block;
}
.upload-box input {
  display: none;
}
.upload-box strong {
  display: block;
  font-size: 14px;
}
.upload-box small {
  font-size: 14px;
}
.upload-box .ico {
  width: 27px;
  height: 27px;
  margin-bottom: 8px;
}
.mini-preview {
  border: 1px solid #dfe9e2;
  border-radius: 9px;
  overflow: hidden;
}
.mini-preview .mini-banner {
  height: 95px;
  background: #edf6ef;
  display: grid;
  place-items: center;
}
.mini-preview .mini-body {
  padding: 24px;
}
.mini-preview h3 {
  font-size: 17px;
}
.mini-preview .preview-image {
  width: 100%;
  max-height: 140px;
  object-fit: cover;
}
.table-wrap {
  overflow: auto;
}
.table {
  font-size: 14px;
  white-space: nowrap;
  --bs-table-color: #607467;
  --bs-table-border-color: #edf1ee;
}
.table th {
  font-weight: 500;
  background: #f7faf8;
  color: #91a094;
  font-size: 14px;
  padding: 13px 16px;
}
.table td {
  padding: 14px 16px;
  vertical-align: middle;
}
.table .icon-btn {
  border: 0;
  background: transparent;
  width: 28px;
  height: 28px;
}
.table .ico {
  width: 16px;
}
.details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}
.detail-tile {
  padding: 20px;
  background: #f8faf8;
  border: 1px solid #e5ede6;
  border-radius: 8px;
}
.detail-tile small {
  display: block;
  color: #91a094;
  font-size: 14px;
  margin-bottom: 8px;
}
.detail-tile strong {
  font-size: 17px;
  font-weight: 600;
}
.survey-preview {
  max-width: 780px;
  margin: 0 auto;
}
.survey-heading {
  border-top: 4px solid var(--survey-color, var(--green));
  border-radius: 12px;
  background: white;
  padding: 30px;
  border-inline-start: 1px solid var(--line);
  border-inline-end: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}
.survey-heading h1 {
  font-size: 21px;
}
.survey-heading p {
  color: #8a9b90;
  font-size: 14px;
  margin: 10px 0;
}
.preview-progress {
  height: 4px;
  background: #e7eee8;
  border-radius: 4px;
  margin-top: 20px;
  overflow: hidden;
}
.preview-progress span {
  height: 100%;
  background: var(--survey-color, var(--green));
  display: block;
}
.pair-card {
  border: 1px solid #e1eae3;
  border-radius: 9px;
  padding: 22px;
  margin-bottom: 16px;
  background: #fff;
}
.pair-card h3 {
  font-size: 14px;
  margin-bottom: 20px;
  color: #8ca192;
  font-weight: 400;
}
.preview-banner {
  font-size: 14px;
  background: #f8f3e5;
  color: #a8904d;
  padding: 10px 15px;
  border-radius: 7px;
  margin-bottom: 18px;
}
.success-screen {
  text-align: center;
  padding: 55px 20px;
}
.success-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #e6f5ec;
  color: #389a6c;
  display: grid;
  place-items: center;
  margin: 0 auto 24px;
}
.success-icon .ico {
  width: 32px;
  height: 32px;
}
.success-screen h2 {
  font-size: 21px;
}
.success-screen p {
  color: #8e9e93;
  font-size: 14px;
}
.modal-backdrop-custom {
  position: fixed;
  inset: 0;
  background: #15392c52;
  backdrop-filter: blur(3px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-card {
  width: 470px;
  max-width: 100%;
  max-height: 90vh;
  overflow: auto;
  border-radius: 14px;
  background: white;
  box-shadow: 0 20px 80px #12362625;
  padding: 26px;
  animation: enter 0.18s ease;
}
.modal-card.wide {
  width: 620px;
}
.modal-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.modal-heading h2 {
  font-size: 19px;
  margin: 0;
}
.modal-description {
  font-size: 14px;
  color: #8a9b90;
  margin-bottom: 23px;
}
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 24px;
}
.error-msg {
  font-size: 14px;
  color: #b35b5b;
  margin: 10px 0;
}
.custom-level {
  display: flex;
  gap: 10px;
  margin-top: 9px;
  align-items: center;
}
.custom-level span {
  width: 30px;
  text-align: center;
  color: #7b9784;
}
.help-content {
  font-size: 14px;
  line-height: 2.2;
  color: #6a8071;
}
.help-content li {
  margin-bottom: 12px;
}
.help-content strong {
  color: #2c6043;
}
#toast {
  position: fixed;
  inset-inline-end: 28px;
  bottom: 25px;
  z-index: 200;
  background: #234e3a;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  box-shadow: 0 8px 28px #173e3020;
  font-size: 14px;
  opacity: 0;
  transform: translateY(15px);
  transition: 0.2s;
  pointer-events: none;
  max-width: 90vw;
}
#toast.show {
  opacity: 1;
  transform: translateY(0);
}
.mobile-shade {
  display: none;
}
.inline-flex {
  display: flex;
  align-items: center;
  gap: 12px;
}
.radio-label {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  font-size: 14px;
}
.soft-text {
  color: #8c9d91;
  font-size: 14px;
}
.share-link {
  direction: ltr;
  text-align: left;
  word-break: break-all;
  font-size: 14px;
  background: #f4f8f5;
  border: 1px solid #dde8e0;
  border-radius: 7px;
  padding: 12px;
}
.field-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field-options label {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 14px;
}
.preview-image {
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 15px;
}
.guides-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.guide-card {
  padding: 24px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.guide-card .ico {
  color: var(--green);
  margin-bottom: 12px;
}
.guide-card p {
  color: #84968b;
  font-size: 14px;
}
.guide-card button {
  font-size: 14px;
}
.no-wrap {
  white-space: nowrap;
}
@keyframes enter {
  from {
    transform: translateY(8px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@media (min-width: 1450px) {
  .main {
    padding-top: 36px;
  }
  .hero {
    height: 188px;
  }
  .project-top {
    padding-top: 22px;
    padding-bottom: 22px;
  }
  .project-bottom {
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .project-list {
    gap: 16px;
  }
}
@media (max-width: 1200px) {
  :root {
    --sidebar: 210px;
  }
  .sidebar {
    padding-inline-start: 16px;
    padding-inline-end: 16px;
  }
  .main {
    padding: 25px;
  }
  .topbar {
    padding: 0 25px;
  }
  .project-links {
    gap: 8px;
  }
  .project-links a {
    font-size: 14px;
  }
  .stat {
    padding: 15px 12px;
    gap: 10px;
  }
  .stat-icon {
    width: 33px;
    height: 33px;
  }
  .hero-art {
    margin-inline-end: 0;
  }
  .grid-view {
    grid-template-columns: 1fr;
  }
  .project-top {
    padding: 18px 16px;
  }
  .project-bottom {
    padding: 10px 16px;
  }
}
@media (max-width: 990px) {
  :root {
    --sidebar: 190px;
  }
  .sidebar {
    padding: 25px 13px 15px;
  }
  .brand strong {
    font-size: 22px;
  }
  .brandmark {
    width: 34px;
    height: 34px;
  }
  .brand small {
    font-size: 14px;
  }
  .side-link {
    padding: 11px 10px;
  }
  .main {
    padding: 24px 20px;
  }
  .hero {
    padding: 22px;
  }
  .hero-art {
    transform: scale(0.8);
    transform-origin: left center;
    width: 210px;
  }
  .hero h2 {
    font-size: 19px;
  }
  .hero p {
    font-size: 14px;
  }
  .stats {
    gap: 9px;
  }
  .stat {
    flex-direction: column;
    gap: 8px;
    position: relative;
  }
  .stat-icon {
    position: absolute;
    inset-inline-end: 11px;
    top: 14px;
    width: 27px;
    height: 27px;
  }
  .stat-icon .ico {
    width: 15px;
  }
  .stat-number {
    font-size: 22px;
  }
  .project-bottom {
    flex-wrap: wrap;
    row-gap: 12px;
  }
  .project-links {
    flex-wrap: wrap;
  }
  .builder-layout {
    grid-template-columns: 175px 1fr;
  }
  .settings-layout {
    grid-template-columns: 1fr;
  }
  .search-box input {
    width: 180px;
  }
  .toolbar-controls {
    gap: 6px;
  }
  .steps {
    padding: 15px 9px;
    gap: 6px;
  }
  .step {
    font-size: 14px;
    gap: 5px;
  }
  .step:not(:last-child):after {
    width: 12px;
    inset-inline-end: -9px;
  }
}
@media (max-width: 760px) {
  :root {
    --sidebar: 242px;
  }
  .sidebar {
    transform: translateX(100%);
    transition: transform 0.2s;
    padding: 25px 20px;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .mobile-shade.open {
    display: block;
    position: fixed;
    inset: 0;
    background: #12342744;
    z-index: 25;
  }
  .workspace {
    margin-inline-start: 0;
  }
  .topbar {
    height: 64px;
    padding: 0 18px;
  }
  .mobile-toggle {
    display: inline-flex;
    margin-inline-end: 10px;
  }
  .top-actions {
    gap: 10px;
  }
  .top-actions .date {
    font-size: 14px;
  }
  .main {
    padding: 22px 17px;
  }
  .breadcrumb-text {
    gap: 7px;
  }
  .page-heading {
    margin-bottom: 20px;
  }
  h1 {
    font-size: 20px;
  }
  .subtitle {
    font-size: 14px;
  }
  .hero {
    height: 160px;
    padding: 21px;
  }
  .hero-art {
    transform: scale(0.68);
    width: 175px;
    margin-inline-end: -25px;
  }
  .hero p {
    max-width: 260px;
  }
  .hero h2 {
    font-size: 18px;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 25px;
  }
  .stat {
    flex-direction: row;
    padding: 16px;
  }
  .stat-icon {
    position: static;
    width: 36px;
    height: 36px;
  }
  .stat-icon .ico {
    width: 19px;
  }
  .stat-label {
    font-size: 14px;
  }
  .stat-note {
    font-size: 14px;
  }
  .list-toolbar {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
  }
  .toolbar-controls {
    width: 100%;
  }
  .search-box {
    flex: 1;
  }
  .search-box input {
    width: 100%;
  }
  .tabs {
    gap: 23px;
  }
  .project-top {
    padding: 16px 13px;
    gap: 10px;
  }
  .project-symbol {
    width: 34px;
    height: 38px;
  }
  .project-title {
    font-size: 14px;
  }
  .project-title-line {
    gap: 7px;
    flex-wrap: wrap;
  }
  .response-count {
    min-width: 35px;
  }
  .response-count strong {
    font-size: 20px;
  }
  .project-menu {
    margin-inline-start: 0;
  }
  .project-meta {
    font-size: 14px;
    gap: 4px;
  }
  .project-bottom {
    padding: 10px 13px;
  }
  .project-links {
    gap: 8px;
  }
  .project-links a {
    font-size: 14px;
    gap: 4px;
  }
  .project-links .ico {
    width: 13px;
  }
  .footer {
    font-size: 14px;
    gap: 15px;
  }
  .footer span:last-child {
    display: none;
  }
  .panel {
    padding: 18px;
  }
  .steps {
    overflow: auto;
  }
  .step {
    min-width: 85px;
  }
  .step:not(:last-child):after {
    display: none;
  }
  .builder-layout {
    grid-template-columns: 1fr;
  }
  .toolbox {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .builder-canvas {
    padding: 13px;
  }
  .details-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .scale-preview {
    padding: 20px 15px;
  }
  .scale-legend {
    gap: 5px;
  }
  .legend-item {
    font-size: 14px;
  }
  .action-bar {
    flex-wrap: wrap;
  }
  .action-bar small {
    width: 100%;
    order: 3;
  }
  .guides-grid {
    grid-template-columns: 1fr;
  }
  .survey-heading {
    padding: 22px;
  }
  .survey-heading h1 {
    font-size: 20px;
  }
  .settings-layout {
    gap: 0;
  }
  .modal-card {
    padding: 22px;
  }
  .preview-banner {
    font-size: 14px;
  }
}
@media (max-width: 420px) {
  .hero-art {
    display: none;
  }
  .hero {
    height: 165px;
  }
  .hero p {
    max-width: 100%;
  }
  .hero h2 {
    font-size: 20px;
  }
  .page-heading > .btn {
    padding: 9px 12px;
    font-size: 14px;
  }
  .project-symbol {
    display: none;
  }
  .project-title {
    font-size: 14px;
  }
  .project-links i {
    display: none;
  }
  .project-links {
    column-gap: 11px;
    row-gap: 10px;
  }
  .project-links a {
    font-size: 14px;
  }
  .top-actions .date {
    display: none;
  }
  .stat {
    padding: 12px;
    gap: 9px;
  }
  .stat-icon {
    width: 30px;
    height: 30px;
  }
  .ticks {
    font-size: 14px;
  }
}
