.page {
  position: fixed;
  inset: 0;
  max-width: 440px;
  margin: 0 auto;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  z-index: 25;
}

.page__top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px 14px;
  border-bottom: 1px solid var(--hairline);
  flex-shrink: 0;
}

.page__back {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s;
  text-decoration: none;
}

.page__back:active {
  background: var(--ink);
}

.page__back:active svg * {
  stroke: #fff;
}

.page__title {
  flex: 1;
  min-width: 0;
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: 23px;
  color: var(--ink);
}

.page__body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 24px 44px;
  -webkit-overflow-scrolling: touch;
}

.page__draft {
  margin: 14px 20px 0;
  padding: 9px 13px;
  border-radius: 10px;
  background: rgba(169,116,42,0.12);
  color: #8a6a23;
  font-family: var(--body);
  font-size: 11.5px;
  line-height: 1.4;
}

.page__updated {
  font-family: var(--body);
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.page__h {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: 19px;
  color: var(--ink);
  margin: 22px 0 6px;
}

.page__p {
  font-family: var(--body);
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-mid);
  margin: 0 0 4px;
}

.page__intro {
  font-family: var(--body);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-mid);
  margin: 0 0 14px;
}

/* more info steps */
.mi-step {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline);
}

.mi-num {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--accent-wash);
  color: var(--accent-deep);
  font-family: var(--display);
  font-style: italic;
  font-weight: 600;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mi-step-title {
  font-family: var(--body);
  font-size: 15px;
  font-weight: 600;
}

.mi-step-body {
  font-family: var(--body);
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-dim);
  margin-top: 3px;
}

.mi-guidelines {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
}

.mi-guidelines li {
  position: relative;
  padding-left: 16px;
  font-family: var(--body);
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-mid);
  margin-bottom: 8px;
}

.mi-guidelines li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
}

/* removal form */
.rm-field {
  margin-bottom: 16px;
}

.rm-label {
  display: block;
  margin-bottom: 7px;
  font-family: var(--body);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--muted);
}

.rm-input {
  width: 100%;
  box-sizing: border-box;
  border: 1.5px solid var(--hairline-2);
  border-radius: 12px;
  background: var(--paper);
  padding: 12px 13px;
  font-family: var(--body);
  font-size: 13.5px;
  color: var(--ink);
  outline: none;
}

.rm-input:focus {
  border-color: var(--accent);
}

textarea.rm-input {
  min-height: 96px;
  resize: none;
  line-height: 1.5;
}

.rm-input::placeholder {
  color: var(--muted);
}

.rm-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23918f86' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  padding-right: 36px;
}

.rm-tip {
  font-family: var(--body);
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-dim);
  background: var(--accent-wash);
  padding: 11px 13px;
  border-radius: 10px;
  margin-bottom: 16px;
}

.rm-note {
  font-family: var(--body);
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-dim);
  margin-bottom: 18px;
}

.rm-btn {
  width: 100%;
  padding: 15px;
  border-radius: 999px;
  background: var(--accent);
  border: none;
  color: #fff;
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: 19px;
  box-shadow: var(--shadow-float);
  transition: transform 0.1s;
}

.rm-btn:active {
  transform: translateY(1px);
}

.rm-alt {
  text-align: center;
  font-family: var(--body);
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 16px;
}

.rm-sent {
  font-family: var(--body);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--accent-deep);
  background: var(--accent-wash);
  padding: 16px 18px;
  border-radius: 12px;
}
