:root {
  --bg: #07090a;
  --surface: #101315;
  --panel: rgba(18, 21, 23, 0.94);
  --panel-strong: rgba(23, 27, 30, 0.98);
  --line: rgba(255, 255, 255, 0.1);
  --text: #f2f5f0;
  --muted: #a4aba2;
  --acid: #d7ff3f;
  --acid-soft: rgba(215, 255, 63, 0.16);
  --blue: #2f7cff;
  --blue-soft: rgba(47, 124, 255, 0.18);
  --coral: #ff6b4a;
  --coral-soft: rgba(255, 107, 74, 0.16);
  --steel: #76818b;
  --shadow: 0 18px 46px rgba(0, 0, 0, 0.5);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  background:
    radial-gradient(circle at 50% -4%, rgba(215, 255, 63, 0.16), transparent 28%),
    radial-gradient(circle at 100% 12%, rgba(47, 124, 255, 0.18), transparent 28%),
    linear-gradient(180deg, #07090a 0%, #0d1114 46%, #07090a 100%);
}

button,
textarea {
  font: inherit;
}

button {
  border: 0;
}

.app-shell {
  width: min(460px, 100%);
  margin: 0 auto;
  padding: 8px 8px 24px;
}

.hero-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: start;
  min-height: 0;
  padding: 14px;
  overflow: hidden;
  border: 1px solid rgba(215, 255, 63, 0.18);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(215, 255, 63, 0.17), transparent 32%),
    linear-gradient(215deg, rgba(47, 124, 255, 0.28), transparent 38%),
    linear-gradient(160deg, rgba(24, 28, 30, 0.98), rgba(10, 12, 13, 0.96)),
    url("data:image/svg+xml,%3Csvg width='520' height='260' viewBox='0 0 520 260' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23d7ff3f' stroke-opacity='.16' stroke-width='2'%3E%3Cpath d='M16 198c58-24 97-30 143-12 50 20 92 12 134-21 42-32 92-48 151-24 22 9 43 11 65 4'/%3E%3Cpath d='M0 222h520' stroke-dasharray='5 13'/%3E%3Cpath d='M49 178l47-66 45 48 34-78 58 106 54-137 64 99 38-35 57 63' stroke='%232f7cff' stroke-opacity='.28'/%3E%3C/g%3E%3C/svg%3E");
  background-size: cover;
  box-shadow: var(--shadow);
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: auto -22% -42% 18%;
  height: 150px;
  background: linear-gradient(90deg, transparent, rgba(215, 255, 63, 0.32), rgba(47, 124, 255, 0.28), transparent);
  filter: blur(24px);
  transform: rotate(-8deg);
}

.hero-copy,
.hero-stats {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 7px;
  color: var(--acid);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: 38px;
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: 20px;
  line-height: 1.05;
}

.training-focus small {
  color: var(--muted);
  font-size: 12px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 8px;
}

.card {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.055), transparent 38%),
    var(--panel);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.24);
}

.today-card {
  display: grid;
  gap: 9px;
}

.section-title,
.boris-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.title-with-icon,
.today-plan {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
}

.title-with-icon {
  justify-content: flex-start;
}

.today-icon,
.plan-icon,
.section-icon,
.sport-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: #101500;
  background: linear-gradient(135deg, var(--acid), #9dff55);
  font-weight: 950;
  box-shadow: 0 10px 24px rgba(215, 255, 63, 0.16);
}

.medal-icon {
  background: linear-gradient(135deg, #ffd45c, var(--coral));
  box-shadow: 0 10px 24px rgba(255, 107, 74, 0.16);
}

.weight-icon {
  color: #071016;
  background: linear-gradient(135deg, #7ad7ff, var(--blue));
  box-shadow: 0 10px 24px rgba(47, 124, 255, 0.16);
}

.goal-icon {
  background: linear-gradient(135deg, var(--acid), #66f18f);
  box-shadow: 0 10px 24px rgba(102, 241, 143, 0.14);
}

.book-icon {
  color: #fff7ed;
  background: linear-gradient(135deg, #8c6cff, #273f85);
  box-shadow: 0 10px 24px rgba(140, 108, 255, 0.16);
}

.line-icon {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.collapse-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(215, 255, 63, 0.2);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.065);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.chevron {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 150ms ease;
}

.collapse-btn.open .chevron {
  transform: rotate(225deg) translate(-1px, -1px);
}

.today-details {
  display: grid;
  gap: 10px;
  padding-top: 4px;
}

.today-details[hidden] {
  display: none;
}

.plan-details {
  display: grid;
  gap: 8px;
  padding-top: 9px;
}

.plan-details[hidden],
.routes-details[hidden],
.weight-details[hidden],
.goals-details[hidden],
.history-details[hidden] {
  display: none;
}

.routes-details,
.weight-details,
.goals-details,
.history-details {
  display: grid;
  gap: 8px;
  padding-top: 9px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.compact {
  margin-bottom: 10px;
}

.muted {
  color: var(--muted);
  line-height: 1.45;
  font-size: 13px;
}

.intensity-badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid rgba(215, 255, 63, 0.3);
  border-radius: 999px;
  color: #101500;
  background: linear-gradient(135deg, var(--acid), #a6ff5b);
  font-size: 12px;
  font-weight: 900;
}

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

.training-focus div {
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.055);
}

.training-focus strong {
  display: block;
  margin-top: 4px;
  font-size: 14px;
}

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

.sport-stat {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 3px 7px;
  align-items: center;
  min-height: 76px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  color: var(--text);
  text-align: left;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), transparent 40%),
    rgba(255, 255, 255, 0.048);
  cursor: pointer;
}

.sport-stat:nth-child(5) {
  grid-column: 1 / -1;
}

.sport-stat .sport-icon {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  color: #eef5ff;
  background: linear-gradient(135deg, var(--blue), #1b3b66);
  box-shadow: none;
}

.sport-stat:nth-child(2) .sport-icon {
  background: linear-gradient(135deg, var(--coral), #8f2d1e);
}

.sport-stat:nth-child(3) .sport-icon {
  color: #101500;
  background: linear-gradient(135deg, var(--acid), #5f7f1f);
}

.sport-stat:nth-child(4) .sport-icon {
  background: linear-gradient(135deg, #62c7ff, #14517d);
}

.sport-stat:nth-child(5) .sport-icon {
  background: linear-gradient(135deg, #e9eef8, #64768d);
}

.sport-label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.sport-stat strong {
  grid-column: 2;
  display: block;
  font-size: 17px;
  line-height: 1;
}

.sport-stat small {
  grid-column: 2;
  color: var(--muted);
  font-size: 10px;
}

.sport-detail {
  grid-column: 1 / -1;
  display: none;
  margin-top: 3px;
  padding-top: 7px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  color: #d6ddd2;
  font-size: 12px;
  line-height: 1.35;
}

.sport-stat.active {
  border-color: rgba(215, 255, 63, 0.38);
  background:
    linear-gradient(145deg, rgba(215, 255, 63, 0.12), transparent 44%),
    rgba(255, 255, 255, 0.065);
}

.sport-stat.active .sport-detail {
  display: block;
}

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

.primary-btn,
.ghost-btn,
.mini-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 13px;
  color: #101500;
  background: linear-gradient(135deg, var(--acid), #9dff55);
  font-weight: 900;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease;
}

.primary-btn:hover,
.ghost-btn:hover,
.mini-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(215, 255, 63, 0.15);
}

.ghost-btn,
.mini-btn {
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text);
  background: rgba(255, 255, 255, 0.065);
}

.mini-btn {
  min-height: 32px;
  padding: 0 9px;
  color: #dce7ee;
  font-size: 12px;
}

.plan-list,
.routes-list,
.weight-list,
.goals-list,
.history-list {
  display: grid;
  gap: 7px;
}

.plan-item,
.route-item,
.history-item {
  display: grid;
  gap: 6px;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.052);
}

.plan-item {
  grid-template-columns: 50px minmax(0, 1fr) auto;
  align-items: center;
  width: 100%;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  min-height: 66px;
}

.plan-item.editing {
  border-color: rgba(47, 124, 255, 0.4);
  background:
    linear-gradient(145deg, rgba(47, 124, 255, 0.13), transparent 44%),
    rgba(255, 255, 255, 0.065);
}

.day-pill {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 15px;
  color: #f7fbff;
  background: linear-gradient(135deg, var(--blue), #19406f);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.plan-item h3,
.route-item h3,
.history-item h3 {
  margin: 0;
  font-size: 15px;
}

.plan-item p,
.route-item p,
.history-item p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.distance-chip {
  grid-column: 3;
  justify-self: end;
  padding: 7px 9px;
  border-radius: 999px;
  color: #ffd6ca;
  background: var(--coral-soft);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.plan-detail {
  grid-column: 1 / -1;
  display: none;
  margin-top: 5px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #d6ddd2;
  font-size: 12px;
  line-height: 1.45;
}

.plan-detail strong {
  display: block;
  margin-bottom: 4px;
  color: var(--acid);
  font-size: 13px;
}

.plan-edit-btn {
  margin-top: 9px;
  min-height: 32px;
  padding: 0 11px;
}

.plan-item.active {
  border-color: rgba(215, 255, 63, 0.38);
  background:
    linear-gradient(145deg, rgba(215, 255, 63, 0.12), transparent 44%),
    rgba(255, 255, 255, 0.065);
}

.plan-item.active .plan-detail {
  display: block;
}

.plan-item.editing .plan-detail {
  display: none;
}

.single-plan-edit {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  padding-top: 9px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.single-plan-edit input,
.single-plan-edit textarea {
  width: 100%;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 11px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  font-size: 12px;
  outline: none;
}

.single-plan-edit textarea {
  grid-column: 1 / -1;
  min-height: 54px;
  resize: vertical;
}

.single-plan-edit input:focus,
.single-plan-edit textarea:focus {
  border-color: rgba(47, 124, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(47, 124, 255, 0.1);
}

.single-plan-actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.plan-proposal {
  display: grid;
  gap: 9px;
  padding: 10px;
  border: 1px solid rgba(215, 255, 63, 0.28);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(215, 255, 63, 0.12), transparent 42%),
    linear-gradient(215deg, rgba(47, 124, 255, 0.14), transparent 48%),
    rgba(255, 255, 255, 0.055);
}

.plan-proposal[hidden] {
  display: none;
}

.proposal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.proposal-head h3 {
  margin: 0;
  font-size: 17px;
}

.proposal-head span {
  padding: 6px 9px;
  border-radius: 999px;
  color: #101500;
  background: var(--acid);
  font-size: 12px;
  font-weight: 950;
}

.proposal-note {
  margin: 0;
  color: #d6ddd2;
  font-size: 12px;
  line-height: 1.45;
}

.proposal-list {
  display: grid;
  gap: 7px;
}

.proposal-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) minmax(82px, 0.7fr);
  gap: 7px;
  align-items: center;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(5, 8, 12, 0.34);
}

.proposal-day {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  color: #f7fbff;
  background: linear-gradient(135deg, var(--blue), #183a61);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.proposal-item input,
.proposal-item textarea {
  width: 100%;
  min-height: 34px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 11px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  font-size: 12px;
  outline: none;
}

.proposal-item textarea {
  grid-column: 2 / -1;
  min-height: 54px;
  resize: vertical;
}

.proposal-item input:focus,
.proposal-item textarea:focus {
  border-color: rgba(215, 255, 63, 0.52);
  box-shadow: 0 0 0 3px rgba(215, 255, 63, 0.09);
}

.proposal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.route-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
}

.record-time {
  color: var(--acid);
  font-size: 19px;
  font-weight: 950;
}

.record-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}

.delete-record-btn {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 122, 102, 0.24);
  border-radius: 12px;
  color: #ff9a8b;
  background:
    linear-gradient(145deg, rgba(255, 122, 102, 0.14), transparent 58%),
    rgba(255, 255, 255, 0.06);
}

.delete-record-btn svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.record-bar {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.record-bar span {
  display: block;
  width: var(--bar-width, 40%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--acid), var(--coral), var(--blue));
}

.record-podium {
  display: grid;
  gap: 6px;
  margin-top: 9px;
}

.record-rank {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 7px 8px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.055);
}

.record-rank:first-child {
  border-color: rgba(215, 255, 63, 0.24);
  background:
    linear-gradient(135deg, rgba(215, 255, 63, 0.12), transparent 54%),
    rgba(255, 255, 255, 0.06);
}

.record-rank span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.record-rank strong {
  color: var(--text);
  font-size: 14px;
  font-weight: 950;
}

.record-rank small {
  color: var(--muted);
  font-size: 11px;
}

.weight-summary,
.weight-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 10px;
  align-items: center;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.052);
}

.weight-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 7px;
  align-items: end;
  padding: 9px;
  border: 1px solid rgba(47, 124, 255, 0.22);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(47, 124, 255, 0.11), transparent 58%),
    rgba(255, 255, 255, 0.052);
}

.weight-form label {
  display: grid;
  gap: 5px;
}

.weight-form label span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.weight-form input {
  width: 100%;
  min-height: 38px;
  padding: 0 9px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 11px;
  color: var(--text);
  background: rgba(5, 8, 12, 0.46);
  font-size: 13px;
  outline: none;
}

.weight-form input:focus {
  border-color: rgba(47, 124, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(47, 124, 255, 0.1);
}

.weight-form .primary-btn {
  min-height: 38px;
}

.weight-summary {
  border-color: rgba(215, 255, 63, 0.28);
  background:
    linear-gradient(145deg, rgba(215, 255, 63, 0.1), transparent 44%),
    rgba(255, 255, 255, 0.06);
}

.weight-summary span,
.weight-item span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.weight-summary strong,
.weight-item strong {
  color: var(--acid);
  font-size: 18px;
}

.weight-summary small {
  grid-column: 1 / -1;
  color: #d6ddd2;
  font-size: 12px;
}

.goal-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.052);
}

.goal-item h3 {
  margin: 0;
  color: var(--text);
  font-size: 15px;
}

.goal-item p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.goal-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--acid);
  box-shadow: 0 0 18px rgba(215, 255, 63, 0.4);
}

.weight-chart {
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
}

.weight-chart svg {
  display: block;
  width: 100%;
  height: 132px;
}

.chart-grid {
  fill: none;
  stroke: rgba(255, 255, 255, 0.1);
  stroke-width: 1;
}

.chart-axis {
  stroke: rgba(255, 255, 255, 0.18);
  stroke-width: 1;
}

.chart-y-label,
.chart-x-label {
  fill: var(--muted);
  font-size: 9px;
  font-weight: 800;
}

.chart-x-label.latest {
  text-anchor: end;
}

.chart-line {
  fill: none;
  stroke: var(--acid);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 10px rgba(215, 255, 63, 0.28));
}

.chart-dot {
  fill: var(--panel-strong);
  stroke: var(--acid);
  stroke-width: 2;
}

.chart-dot.latest {
  fill: var(--acid);
}

.chart-labels {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.chart-labels strong {
  color: var(--acid);
}

.history-item {
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
}

.activity-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: var(--acid);
  background: linear-gradient(135deg, rgba(47, 124, 255, 0.22), rgba(215, 255, 63, 0.1));
}

.history-meta {
  grid-column: 2;
  justify-self: start;
  color: var(--acid);
  font-weight: 950;
}

textarea {
  width: 100%;
  min-height: 76px;
  resize: vertical;
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  color: var(--text);
  background: rgba(5, 8, 12, 0.56);
  outline: none;
}

textarea:focus {
  border-color: rgba(215, 255, 63, 0.56);
  box-shadow: 0 0 0 4px rgba(215, 255, 63, 0.1);
}

.icon-check,
.icon-spark,
.icon-mic,
.icon-send {
  width: 16px;
  height: 16px;
  display: inline-block;
  position: relative;
}

.icon-check::before {
  content: "";
  position: absolute;
  width: 12px;
  height: 7px;
  border-left: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: rotate(-45deg);
  top: 2px;
  left: 1px;
}

.icon-spark::before {
  content: "✦";
  position: absolute;
  inset: -3px 0 0;
}

.icon-mic::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 0;
  width: 7px;
  height: 11px;
  border-radius: 999px;
  background: currentColor;
}

.icon-mic::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 7px;
  width: 11px;
  height: 7px;
  border: 2px solid currentColor;
  border-top: 0;
  border-radius: 0 0 999px 999px;
}

.icon-send::before {
  content: "";
  position: absolute;
  inset: 2px;
  clip-path: polygon(0 0, 100% 50%, 0 100%, 22% 52%);
  background: currentColor;
}

@media (min-width: 720px) {
  .app-shell {
    padding-top: 26px;
  }

  .hero-panel {
    padding: 24px;
  }
}

@media (max-width: 620px) {
  .app-shell {
    padding: 8px 8px 22px;
  }

  .hero-panel,
  .card {
    border-radius: 21px;
  }

  .section-title {
    align-items: flex-start;
  }

  .action-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .primary-btn,
  .ghost-btn {
    width: 100%;
  }

  .proposal-item {
    grid-template-columns: 36px minmax(0, 1fr);
  }

  .proposal-item input:nth-of-type(2),
  .proposal-item input:nth-of-type(3),
  .proposal-item textarea {
    grid-column: 2;
  }

  .weight-form {
    grid-template-columns: 1fr 1fr;
  }

  .weight-form .primary-btn {
    grid-column: 1 / -1;
  }
}
