main.shell-main.snd-main {
  padding-left: 18px;
  padding-right: 18px;
  padding-bottom: 56px;
}

.snd-sheet {
  width: min(760px, 100%);
  margin: 12px auto 0;
  padding: 28px 22px 32px;
  background: #f7f7f5;
  color: #14302c;
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(8, 18, 16, 0.28);
}

.snd-sheet section[hidden],
#snd-chip[hidden],
#snd-miss[hidden],
#snd-download[hidden],
#snd-canvas[hidden] {
  display: none !important;
}

.snd-title {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  line-height: 1.2;
  font-weight: 800;
  color: #14302c;
  letter-spacing: -0.02em;
}

.snd-title::after {
  content: "";
  display: block;
  width: 72px;
  height: 6px;
  margin-top: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2fbf9a, #e23d3d);
}

.snd-lead,
.snd-skip,
.snd-safe,
.snd-read,
.snd-dim,
.snd-hard,
.snd-refuse,
.snd-miss {
  margin: 12px 0 0;
  color: #14302c;
  font-size: 1.02rem;
  line-height: 1.65;
}

.snd-skip,
.snd-safe,
.snd-hard {
  color: #3d5c56;
}

.snd-gates {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.snd-gate-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 48px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #eef8f5;
  color: #14302c;
  font-size: 1rem;
  line-height: 1.45;
}

.snd-gate-row input {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  flex: 0 0 22px;
  accent-color: #2fbf9a;
}

.snd-gate-row input:checked {
  accent-color: #e23d3d;
}

.snd-start,
.snd-actions button,
#snd-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 18px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: #e23d3d;
  color: #fff;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.snd-ghost,
#snd-download {
  background: transparent;
  color: #14302c;
  border: 1.5px solid #14302c;
}

.snd-count {
  margin: 0;
  color: #3d5c56;
  font-weight: 700;
}

.snd-meter {
  display: flex;
  gap: 3px;
  margin-top: 10px;
}

.snd-seg {
  flex: 1;
  height: 5px;
  border-radius: 99px;
  background: #d5eee7;
}

.snd-seg.is-in {
  background: #2fbf9a;
}

.snd-chip {
  display: inline-block;
  margin: 16px 0 0;
  padding: 4px 10px;
  border-radius: 999px;
  background: #14302c;
  color: #f7f7f5;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.snd-prompt {
  margin: 14px 0 0;
  color: #14302c;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  line-height: 1.35;
  font-weight: 750;
}

.snd-ruler {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.snd-tick {
  flex: 1 1 112px;
  min-width: 104px;
  min-height: 52px;
  padding: 8px 10px;
  border: 1.5px solid #b7ddd4;
  border-radius: 14px;
  background: #fff;
  color: #14302c;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.snd-tick:nth-child(1) { background: #f3faf8; }
.snd-tick:nth-child(2) { background: #e5f6f1; }
.snd-tick:nth-child(3) { background: #d4f0e8; }
.snd-tick:nth-child(4) { background: #fde8e4; }
.snd-tick:nth-child(5) { background: #f8d0cc; }

.snd-tick:hover,
.snd-tick:focus-visible {
  border-color: #e23d3d;
  outline: none;
}

.snd-tick.is-on {
  background: #fde8e6;
  border-color: #e23d3d;
  box-shadow: 0 0 0 3px rgba(226, 61, 61, 0.28);
  color: #14302c;
  transform: none;
}

.snd-figure {
  margin: 0;
}

.snd-grid-name {
  margin: 0 0 12px;
  color: #14302c;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 850;
  line-height: 1.15;
}

.snd-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.snd-cell {
  position: relative;
  height: 148px;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid #c9e8df;
  background: #e7f7f2;
}

.snd-cell.is-hot {
  border-color: #f0b4b0;
  background: #fdeceb;
}

.snd-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: #2fbf9a;
}

.snd-cell.is-hot .snd-bar {
  background: #e23d3d;
}

.snd-cell-label {
  position: relative;
  z-index: 1;
  display: block;
  padding: 12px 14px;
  color: #14302c;
  font-weight: 800;
}

.snd-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.snd-tag,
.snd-none {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1.5px solid #2fbf9a;
  color: #14302c;
  background: transparent;
  font-weight: 700;
}

.snd-tag.is-solid {
  background: #e23d3d;
  border-color: #e23d3d;
  color: #fff;
}

.snd-type {
  margin: 22px 0 0;
  color: #14302c;
  font-size: 1.7rem;
  line-height: 1.2;
}

.snd-kicker {
  margin: 22px 0 0;
  color: #0f6e5c;
  font-size: 0.92rem;
  font-weight: 800;
}

.snd-open {
  margin: 8px 0 0;
  padding-left: 1.2em;
  color: #14302c;
}

.snd-open li {
  margin: 6px 0;
}

.snd-clip {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: #e7f7f2;
  color: #14302c;
  font-weight: 750;
}

.snd-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.snd-actions button {
  margin-top: 8px;
}

#snd-download {
  margin-top: 8px;
  text-decoration: none;
}

.snd-prompt:focus,
.snd-type:focus {
  outline: none;
}

.snd-tick:focus-visible,
.snd-start:focus-visible,
.snd-actions button:focus-visible,
#snd-download:focus-visible {
  outline: 2px solid #14302c;
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .snd-tick {
    flex: 1 1 42%;
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .snd-tick,
  .snd-bar,
  .snd-start {
    transition: none;
  }
}
