:root {
  --blue: #2f6fdb;
  --blue-strong: #255ed1;
  --blue-soft: #e8f3ff;
  --green: #58a02a;
  --green-soft: #edf8e6;
  --mint: #0f9c78;
  --orange: #f7a11f;
  --orange-soft: #fff3df;
  --purple: #5630bd;
  --purple-soft: #f1ebff;
  --red: #df3d4c;
  --red-soft: #fff0f2;
  --ink: #171a22;
  --muted: #6f7785;
  --line: #e3e7ee;
  --surface: #ffffff;
  --surface-soft: #f7f9fd;
  --shadow: 0 18px 60px rgba(27, 38, 62, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #eef3fb;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-width: 100%;
  min-height: 100%;
  margin: 0;
}

body {
  background:
    radial-gradient(circle at 16% 12%, rgba(47, 111, 219, 0.13), transparent 30%),
    linear-gradient(135deg, #f6f9ff 0%, #eef3fb 100%);
}

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

.prototype {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.device {
  position: relative;
  width: min(100vw - 24px, 414px);
  height: min(100vh - 48px, 896px);
  min-height: 720px;
  overflow: hidden;
  border: 13px solid #050506;
  border-radius: 44px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.device::before,
.device::after {
  content: "";
  position: absolute;
  right: -17px;
  z-index: 4;
  width: 4px;
  border-radius: 999px;
  background: #bfc3c9;
}

.device::before {
  top: 132px;
  height: 58px;
}

.device::after {
  top: 206px;
  height: 104px;
}

.device-notch {
  position: absolute;
  top: -1px;
  left: 50%;
  z-index: 5;
  width: 142px;
  height: 30px;
  transform: translateX(-50%);
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
  background: #050506;
}

.device-notch span,
.device-notch i {
  position: absolute;
  top: 13px;
  display: block;
  background: #737780;
}

.device-notch span {
  left: 45px;
  width: 52px;
  height: 5px;
  border-radius: 8px;
}

.device-notch i {
  right: 30px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.app {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #ffffff;
}

.screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: #ffffff;
}

.status-bar {
  height: 36px;
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  padding: 0 17px 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.status-icons {
  grid-column: 3;
  justify-self: end;
  display: flex;
  gap: 5px;
  align-items: center;
}

.signal,
.wifi,
.battery {
  display: block;
  background: #171a22;
}

.signal {
  width: 15px;
  height: 10px;
  clip-path: polygon(0 100%, 20% 72%, 20% 100%, 35% 100%, 35% 55%, 55% 55%, 55% 100%, 70% 100%, 70% 36%, 90% 36%, 90% 100%);
}

.wifi {
  width: 12px;
  height: 9px;
  clip-path: polygon(0 30%, 50% 0, 100% 30%, 88% 45%, 50% 24%, 12% 45%);
}

.battery {
  width: 22px;
  height: 10px;
  border-radius: 3px;
  position: relative;
}

.battery::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 3px;
  width: 2px;
  height: 4px;
  border-radius: 2px;
  background: #171a22;
}

.scroll-area {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 0 16px 92px;
  scrollbar-width: none;
}

.scroll-area::-webkit-scrollbar {
  display: none;
}

.screen.no-nav .scroll-area {
  padding-bottom: 18px;
}

.hero-icon {
  width: 76px;
  height: 76px;
  margin: 22px auto 16px;
  display: grid;
  place-items: center;
  border: 4px solid #b9daf9;
  border-radius: 50%;
  background: #e8f3ff;
}

.hero-icon::before {
  content: "";
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #3589df;
}

.centered-copy {
  text-align: center;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.title {
  font-size: 21px;
  line-height: 1.18;
  font-weight: 850;
  letter-spacing: 0;
}

.subtitle {
  margin-top: 8px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.33;
  font-weight: 650;
}

.divider {
  height: 2px;
  margin: 32px 0 22px;
  background: #dce1e8;
}

.section-title {
  margin-bottom: 14px;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 850;
}

.section-title span {
  color: var(--muted);
  font-weight: 750;
}

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

.topic-card {
  min-height: 160px;
  border: 3px solid var(--topic-border);
  border-radius: 16px;
  background: var(--topic-soft);
  color: var(--topic-text);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 10px;
  text-align: center;
  cursor: pointer;
  transition: transform 140ms ease, box-shadow 140ms ease, background-color 140ms ease;
}

.topic-card:active {
  transform: scale(0.98);
}

.topic-card:not(.selected) {
  border-color: #d3d6db;
  background: #ffffff;
  color: #2d3138;
}

.topic-card.selected {
  box-shadow: 0 8px 18px rgba(35, 92, 176, 0.12);
}

.topic-card .topic-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--topic-border);
  color: #ffffff;
}

.topic-card:not(.selected) .topic-icon {
  background: var(--topic-muted);
}

.topic-name {
  font-size: 18px;
  line-height: 1.18;
  font-weight: 850;
}

.topic-count {
  color: inherit;
  font-size: 13px;
  font-weight: 750;
}

.selection-summary {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  margin: 14px 0 10px;
  padding: 12px;
  border: 1px solid #b9d6f4;
  border-radius: 10px;
  background: #eaf4ff;
  color: #1f5db5;
  font-size: 13px;
  font-weight: 800;
}

.selection-summary strong {
  display: block;
  color: #1b56ab;
  font-size: 15px;
}

.primary-button,
.secondary-button,
.ghost-button {
  min-height: 47px;
  border: 0;
  border-radius: 9px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 850;
  cursor: pointer;
}

.primary-button {
  width: 100%;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--blue-strong));
  box-shadow: 0 10px 18px rgba(47, 111, 219, 0.18);
}

.primary-button.purple {
  background: linear-gradient(135deg, #6730c8, #4217a3);
  box-shadow: 0 10px 18px rgba(86, 48, 189, 0.2);
}

.secondary-button {
  border: 1px solid #cbd2dd;
  background: #ffffff;
  color: #1f2733;
}

.ghost-button {
  min-height: 36px;
  background: transparent;
  color: var(--blue);
  padding: 0 6px;
}

.header {
  padding: 0 16px 14px;
}

.top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hello {
  font-size: 20px;
  line-height: 1.15;
  font-weight: 850;
}

.location {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #4b5361;
  font-size: 12px;
  font-weight: 700;
}

.icon-button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #253043;
  background: transparent;
  cursor: pointer;
}

.header-link {
  border: 0;
  background: transparent;
  color: var(--blue-strong);
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.filter-row {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 2px 0 14px;
  scrollbar-width: none;
}

.filter-row::-webkit-scrollbar {
  display: none;
}

.chip {
  flex: 0 0 auto;
  min-height: 28px;
  border: 1px solid #e0e5ee;
  border-radius: 999px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #3d4654;
  background: #ffffff;
  font-size: 11px;
  font-weight: 750;
  cursor: pointer;
}

.chip.active {
  border-color: var(--blue);
  background: var(--blue);
  color: #ffffff;
}

.issue-list {
  display: grid;
  gap: 12px;
}

.issue-card {
  width: 100%;
  border: 1px solid #e1e5ed;
  border-radius: 16px;
  background: #ffffff;
  padding: 16px;
  text-align: left;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  box-shadow: 0 3px 10px rgba(28, 36, 52, 0.04);
  cursor: pointer;
}

.issue-card:active {
  transform: translateY(1px);
}

.issue-tag {
  width: max-content;
  border-radius: 6px;
  padding: 4px 8px;
  color: var(--tag-color);
  background: var(--tag-bg);
  font-size: 11px;
  font-weight: 850;
}

.issue-title {
  display: block;
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.3;
  font-weight: 850;
}

.issue-meta {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #687181;
  font-size: 12px;
  font-weight: 700;
}

.issue-symbol {
  width: 64px;
  height: 64px;
  align-self: center;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--tag-color);
  background: var(--tag-bg);
}

.idea-card {
  margin-top: 16px;
  border: 2px solid #c7b8ff;
  border-radius: 12px;
  background: #f4efff;
  padding: 13px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  color: #3e2495;
}

.idea-card strong {
  display: block;
  font-size: 14px;
  line-height: 1.25;
}

.idea-card span {
  display: block;
  margin-top: 7px;
  font-size: 11px;
  font-weight: 800;
}

.read-progress {
  margin-bottom: 14px;
  border: 1px solid #a9cef7;
  border-radius: 12px;
  padding: 10px;
  background: #e9f4ff;
}

.read-progress-row {
  display: flex;
  justify-content: space-between;
  color: #2360ba;
  font-size: 13px;
  font-weight: 850;
}

.progress-bar {
  height: 7px;
  margin-top: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #cfe3fb;
}

.progress-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--blue);
}

.back-header {
  min-height: 42px;
  padding: 0 8px 0 6px;
  display: grid;
  grid-template-columns: 36px 1fr 36px;
  align-items: center;
}

.back-header h1 {
  font-size: 15px;
  line-height: 1.2;
  text-align: center;
  font-weight: 850;
}

.detail-title {
  margin: 0 0 7px;
  font-size: 20px;
  line-height: 1.14;
  font-weight: 900;
}

.mini-chip {
  width: max-content;
  border-radius: 5px;
  padding: 4px 7px;
  color: var(--tag-color);
  background: var(--tag-bg);
  font-size: 10px;
  font-weight: 850;
}

.detail-section {
  margin-top: 20px;
}

.detail-section h2 {
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 900;
}

.detail-section p {
  color: #3d4654;
  font-size: 13px;
  line-height: 1.42;
  font-weight: 600;
}

.illustration-row {
  margin: 16px 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: end;
  gap: 10px;
}

.person,
.bus {
  border-radius: 10px 10px 4px 4px;
  background: #7fb26a;
}

.person {
  height: 42px;
}

.person:nth-child(2) {
  height: 55px;
  background: #b3c1ca;
}

.bus {
  height: 58px;
  background: #348ce1;
}

.objectives {
  display: grid;
  gap: 8px;
}

.objective {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #2a333f;
  font-size: 13px;
  font-weight: 750;
}

.check-dot {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: #1f9d51;
  color: #ffffff;
}

.info-box {
  border-radius: 12px;
  padding: 12px;
  background: #e7f6e9;
  color: #1c4a28;
}

.info-box h3 {
  color: #1f7035;
  font-size: 13px;
  font-weight: 900;
}

.info-box p {
  margin-top: 7px;
  color: #265231;
}

.stepper {
  --accent: #5630bd;
  --accent-soft: rgba(86, 48, 189, 0.18);
  display: grid;
  grid-template-columns: repeat(var(--steps, 4), 1fr);
  gap: 0;
  align-items: start;
  margin: 12px 0 22px;
}

.stepper.stepper-purple { --accent: #5630bd; --accent-soft: rgba(86, 48, 189, 0.18); }
.stepper.stepper-green  { --accent: #1f9d51; --accent-soft: rgba(31, 157, 81, 0.20); }
.stepper.stepper-blue   { --accent: #2f6fdb; --accent-soft: rgba(47, 111, 219, 0.18); }

.step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  padding-top: 6px;
}

.step-dot {
  position: relative;
  z-index: 2;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #d6dbe4;
}

.step.active .step-dot {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 5px var(--accent-soft);
}

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

.step-line {
  position: absolute;
  z-index: 1;
  top: 13px;
  left: -50%;
  right: 50%;
  height: 2px;
  background: #d6dbe4;
}

.step.active .step-line,
.step.done .step-line {
  background: var(--accent);
}

.step-label {
  font-size: 11px;
  font-weight: 800;
  color: #8a93a2;
  text-align: center;
}

.step.active .step-label {
  color: var(--accent);
}

.step.done .step-label {
  color: #4d5664;
}

.form-title {
  margin-bottom: 14px;
  font-size: 17px;
  font-weight: 900;
}

.field-group {
  margin-top: 16px;
}

.field-group label,
.field-label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 850;
}

.text-field,
.text-area {
  width: 100%;
  border: 1px solid #dbe0e8;
  border-radius: 9px;
  padding: 12px;
  background: #ffffff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
  outline: 0;
}

.text-field:focus,
.text-area:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(86, 48, 189, 0.12);
}

.text-area {
  min-height: 128px;
  resize: vertical;
}

.choice-list {
  display: grid;
  gap: 9px;
}

.choice {
  width: 100%;
  border: 1px solid #dfe3ea;
  border-radius: 10px;
  padding: 12px;
  background: #ffffff;
  text-align: left;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  cursor: pointer;
}

.choice.selected {
  border-color: #b49df1;
  background: var(--purple-soft);
  box-shadow: inset 0 0 0 1px #b49df1;
}

.radio {
  width: 16px;
  height: 16px;
  border: 2px solid #c5cad4;
  border-radius: 50%;
  margin-top: 2px;
}

.choice.selected .radio {
  border-color: var(--purple);
  box-shadow: inset 0 0 0 3px #ffffff;
  background: var(--purple);
}

.choice strong {
  display: block;
  font-size: 13px;
  font-weight: 900;
}

.choice span {
  display: block;
  margin-top: 4px;
  color: #5d6675;
  font-size: 11px;
  font-weight: 650;
}

.wizard-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 18px;
}

.wizard-actions.single {
  grid-template-columns: 1fr;
}

.category-option {
  min-height: 49px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
}

.category-option .small-icon {
  color: var(--option-color);
  background: var(--option-soft);
}

.small-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.benefit-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.pill {
  min-height: 30px;
  border: 1px solid #dfe4ec;
  border-radius: 999px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  color: #4c5565;
  background: #ffffff;
  font-size: 12px;
  font-weight: 760;
  cursor: pointer;
}

.pill.active {
  border-color: var(--purple);
  background: var(--purple);
  color: #ffffff;
}

.review-card,
.next-card,
.activity-card {
  border: 1px solid #e0e5ee;
  border-radius: 16px;
  background: #ffffff;
  padding: 16px;
}

.review-card,
.next-card {
  border-radius: 12px;
  padding: 13px;
}

.review-card dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.review-card dt {
  color: #6a7280;
  font-size: 11px;
  font-weight: 850;
}

.review-card dd {
  margin: 4px 0 0;
  color: #242c38;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 700;
}

.success-icon {
  width: 74px;
  height: 74px;
  margin: 28px auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: #1f9d51;
}

.confetti {
  position: relative;
  height: 76px;
}

.confetti span {
  position: absolute;
  width: 5px;
  height: 12px;
  border-radius: 3px;
  background: var(--c);
  transform: rotate(var(--r));
}

.confetti span:nth-child(1) { left: 42px; top: 12px; --c: #0f9c78; --r: -30deg; }
.confetti span:nth-child(2) { left: 112px; top: 24px; --c: #f7a11f; --r: 18deg; }
.confetti span:nth-child(3) { left: 174px; top: 9px; --c: #2f6fdb; --r: -8deg; }
.confetti span:nth-child(4) { right: 88px; top: 22px; --c: #df3d4c; --r: 33deg; }
.confetti span:nth-child(5) { right: 38px; top: 6px; --c: #5630bd; --r: -24deg; }

.next-card {
  margin-top: 22px;
  background: #fbfcff;
}

.next-card h3 {
  font-size: 13px;
  font-weight: 900;
}

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

.next-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  color: #424b5b;
  font-size: 12px;
  line-height: 1.34;
  font-weight: 700;
}

.tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 4px 0 14px;
  border-bottom: 1px solid #e2e7ef;
}

.tab-button {
  min-height: 40px;
  border: 0;
  background: transparent;
  color: #5d6675;
  font-size: 11px;
  font-weight: 850;
  cursor: pointer;
  border-bottom: 3px solid transparent;
}

.tab-button.active {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

.activity-list {
  display: grid;
  gap: 12px;
}

.activity-card {
  width: 100%;
  min-height: 108px;
  text-align: left;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(28, 36, 52, 0.04);
}

.status-label {
  width: max-content;
  border-radius: 6px;
  padding: 4px 9px;
  color: var(--status-color);
  background: var(--status-bg);
  font-size: 11px;
  font-weight: 900;
}

.activity-card h3 {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.3;
  font-weight: 900;
}

.activity-card p {
  margin-top: 8px;
  color: #6d7583;
  font-size: 12px;
  font-weight: 750;
}

.chevron {
  align-self: center;
  color: #8a93a2;
}

.decided-check {
  align-self: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: #10b981;
}

.issue-meta .dot {
  color: #c2c8d2;
}

.timeline {
  display: grid;
  gap: 0;
  margin-top: 16px;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  padding-bottom: 21px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 17px;
  bottom: 0;
  width: 2px;
  background: #d9dee8;
}

.timeline-item:last-child::before {
  display: none;
}

.timeline-marker {
  width: 18px;
  height: 18px;
  border: 2px solid #bec5d0;
  border-radius: 50%;
  background: #ffffff;
}

.timeline-item.done .timeline-marker {
  border: 0;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: #1e9d53;
}

.timeline-item.active .timeline-marker {
  border-color: var(--blue);
  box-shadow: inset 0 0 0 4px #ffffff;
  background: var(--blue);
}

.timeline-content {
  min-width: 0;
}

.timeline-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.timeline-heading strong {
  font-size: 13px;
  font-weight: 900;
}

.timeline-heading span {
  color: #697281;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.timeline-content p {
  margin-top: 5px;
  color: #687181;
  font-size: 11px;
  line-height: 1.36;
  font-weight: 700;
}

.timeline-note {
  margin-top: 10px;
  border: 1px solid #b9d6f7;
  border-radius: 8px;
  padding: 9px;
  background: #eaf4ff;
  color: #255a9f;
  font-size: 11px;
  line-height: 1.36;
  font-weight: 750;
}

.profile-card {
  border: 1px solid #e0e5ee;
  border-radius: 14px;
  background: #ffffff;
  padding: 14px;
}

.profile-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid #edf0f5;
}

.profile-row:last-child {
  border-bottom: 0;
}

.profile-row strong {
  font-size: 13px;
  font-weight: 900;
}

.profile-row span {
  display: block;
  margin-top: 3px;
  color: #6d7583;
  font-size: 11px;
  font-weight: 700;
}

.switch {
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: var(--blue);
  position: relative;
  flex: 0 0 auto;
}

.switch::after {
  content: "";
  position: absolute;
  top: 3px;
  right: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
}

.bottom-nav {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 76px;
  border-top: 1px solid #e1e6ee;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
}

.nav-button {
  border: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: #687181;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}

.nav-button.active {
  color: var(--blue);
}

.nav-button.propose {
  color: var(--purple);
}

.nav-button.propose .nav-icon {
  width: 42px;
  height: 42px;
  margin-top: -14px;
  border-radius: 50%;
  background: var(--purple);
  color: #ffffff;
  box-shadow: 0 7px 17px rgba(86, 48, 189, 0.28);
}

.nav-icon {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
}

.toast {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 88px;
  z-index: 10;
  border-radius: 12px;
  padding: 11px 13px;
  color: #ffffff;
  background: rgba(24, 31, 43, 0.92);
  font-size: 12px;
  font-weight: 750;
  box-shadow: 0 12px 30px rgba(23, 26, 34, 0.24);
}

.hidden {
  display: none !important;
}

svg {
  display: block;
}

@media (max-width: 520px) {
  .prototype {
    padding: 0;
  }

  .device {
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .device::before,
  .device::after,
  .device-notch {
    display: none;
  }
}

@media (max-height: 760px) and (min-width: 521px) {
  .prototype {
    padding: 12px;
  }

  .device {
    height: calc(100vh - 24px);
    min-height: 0;
  }
}

/* Browser app shell: no fake phone frame. */
body {
  background: #f7f9fd;
}

.prototype {
  position: fixed;
  inset: 0;
  display: block;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 0;
  background: #f7f9fd;
}

.app {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background: #f7f9fd;
}

.screen {
  background: #f7f9fd;
}

.status-bar {
  display: none;
}

.scroll-area {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 28px 20px 104px;
}

.screen.no-nav .scroll-area {
  padding-bottom: 34px;
}

.header {
  padding: 0 0 18px;
}

.brand-link {
  border: 0;
  background: transparent;
  color: var(--blue);
  padding: 0 0 18px;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.topic-grid {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.topic-card {
  min-height: 156px;
}

.bottom-nav {
  grid-template-columns: repeat(4, 1fr);
}

@media (min-width: 760px) {
  .scroll-area {
    padding: 100px 36px 48px;
  }

  .screen.no-nav .scroll-area {
    padding-top: 42px;
  }

  .bottom-nav {
    top: 0;
    bottom: auto;
    height: 72px;
    border-top: 0;
    border-bottom: 1px solid #e1e6ee;
    display: grid;
    grid-template-columns: repeat(4, minmax(110px, 154px));
    justify-content: center;
    gap: 6px;
    padding: 10px 24px;
  }

  .nav-button {
    min-width: 0;
    min-height: 48px;
    border-radius: 12px;
    flex-direction: row;
    gap: 9px;
    font-size: 12px;
  }

  .nav-button.active {
    background: #eaf3ff;
  }

  .nav-button.propose .nav-icon {
    width: 28px;
    height: 28px;
    margin-top: 0;
  }

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

  .issue-card {
    min-height: 156px;
  }
}

@media (max-width: 520px) {
  .scroll-area {
    padding: 22px 16px 92px;
  }

  .screen.no-nav .scroll-area {
    padding-bottom: 22px;
  }

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