:root {
  --bg: #f6f6f3;
  --surface: #ffffff;
  --ink: #1d1d1b;
  --muted: #6b6b66;
  --line: rgb(0 0 0 / 10%);
  --hover: rgb(0 0 0 / 4%);
  --ok: #2f7d52;
  --danger: #b4382f;
  font-size: 13px;
}

* {
  box-sizing: border-box;
}

/* 各块自带的 display 会盖过浏览器默认的 [hidden]，这里统一压回隐藏。 */
[hidden] {
  display: none !important;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
  font-size: 13px;
  line-height: 1.5;
}

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

button,
input,
select {
  font: inherit;
  color: inherit;
}

button {
  border: 0.5px solid var(--line);
  background: var(--surface);
  border-radius: 6px;
  padding: 5px 10px;
  cursor: pointer;
}

button:hover {
  background: var(--hover);
}

button.primary {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

button.primary:hover {
  background: #333;
}

button:disabled {
  opacity: 0.5;
  cursor: default;
}

input,
select,
textarea {
  border: 0.5px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  padding: 5px 8px;
  min-width: 0;
  font: inherit;
  color: inherit;
}

label {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

label > span {
  font-size: 12px;
  color: var(--muted);
}

.muted {
  color: var(--muted);
}

.error {
  color: var(--danger);
  font-size: 12px;
}

.credit-plus {
  color: var(--success, #16a34a);
  font-weight: 600;
}

.credit-minus {
  color: var(--danger);
  font-weight: 600;
}

.login {
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 24px;
}

.login-card {
  width: min(340px, 100%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--surface);
  border: 0.5px solid var(--line);
  border-radius: 10px;
  padding: 24px;
}

.login-card h1 {
  font-size: 16px;
  font-weight: 600;
}

.shell {
  display: flex;
  min-height: 100%;
}

.side {
  width: 190px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px 12px;
  border-right: 0.5px solid var(--line);
  background: var(--surface);
}

.brand {
  font-size: 12px;
  font-weight: 600;
  padding: 0 6px;
}

.side nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.side nav button {
  text-align: left;
  border-color: transparent;
  background: transparent;
  padding: 6px 8px;
}

.side nav button.active {
  background: var(--hover);
  border-color: var(--line);
}

.side-foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 6px;
  font-size: 12px;
}

.main {
  flex: 1;
  min-width: 0;
  padding: 24px 28px 48px;
  position: relative;
}

.view {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.view-head h2 {
  font-size: 16px;
  font-weight: 600;
}

.range {
  flex-direction: row;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
}

.kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
}

.kpi {
  background: var(--surface);
  border: 0.5px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.kpi .value {
  font-size: 20px;
  font-weight: 600;
}

.kpi .name {
  font-size: 12px;
  color: var(--muted);
}

.panels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 12px;
}

.panel {
  background: var(--surface);
  border: 0.5px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.panel h3 {
  font-size: 13px;
  font-weight: 600;
}

.chart {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 120px;
  overflow: hidden;
}

.chart .bar {
  flex: 1;
  min-width: 2px;
  border-radius: 2px 2px 0 0;
  background: rgb(0 0 0 / 12%);
  position: relative;
}

.chart .bar:hover {
  background: rgb(0 0 0 / 28%);
}

.chart .bar[data-value]::after {
  content: attr(data-value);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  color: var(--muted);
  display: none;
  white-space: nowrap;
}

.chart .bar:hover::after {
  display: block;
}

.funnel {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.funnel-row {
  display: grid;
  grid-template-columns: 72px 1fr 40px;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}

.funnel-track {
  height: 10px;
  border-radius: 4px;
  background: var(--hover);
  overflow: hidden;
}

.funnel-fill {
  height: 100%;
  background: rgb(0 0 0 / 55%);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 0.5px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

th,
td {
  text-align: left;
  padding: 7px 10px;
  border-bottom: 0.5px solid var(--line);
  font-size: 12px;
  white-space: nowrap;
}

th {
  font-weight: 500;
  color: var(--muted);
  background: var(--bg);
}

tr:last-child td {
  border-bottom: 0;
}

td.actions button {
  margin-right: 6px;
}

td.actions button:last-child {
  margin-right: 0;
}

td.wrap {
  white-space: normal;
}

.tag {
  display: inline-flex;
  align-items: center;
  border: 0.5px solid var(--line);
  border-radius: 4px;
  padding: 0 5px;
  font-size: 12px;
  color: var(--muted);
  margin-right: 4px;
}

.tag.ok {
  color: var(--ok);
}

.tag.danger {
  color: var(--danger);
}

#user-search {
  width: 240px;
}

dialog {
  border: 0.5px solid var(--line);
  border-radius: 10px;
  padding: 0;
  width: min(460px, calc(100vw - 32px));
}

dialog::backdrop {
  background: rgb(0 0 0 / 24%);
}

dialog form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
}

dialog h2 {
  font-size: 15px;
  font-weight: 600;
}

.dialog-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.grow {
  flex: 1;
}

.row {
  display: flex;
  gap: 10px;
}

.row label {
  flex: 1;
}

/* 表单里的补充说明：比正文轻一档，不抢控件注意力 */
.hint {
  color: var(--muted);
  font-size: 11px;
  margin: -4px 0 0;
  line-height: 1.5;
}

.toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: #fff;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 12px;
}

.empty {
  color: var(--muted);
  font-size: 12px;
  padding: 10px 0;
}

.price-form {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 8px 0 12px;
  flex-wrap: wrap;
}

.gateway-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gateway-form .row {
  align-items: flex-end;
}

.gateway-form .row > button {
  flex: none;
}

.payment-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.payment-form .row {
  align-items: flex-end;
}
.payment-form .row > button {
  flex: none;
}
.checkline {
  display: flex;
  align-items: center;
  gap: 6px;
}
.checkline input[type='checkbox'],
.checkline input[type='radio'] {
  width: auto;
}
.rollout-users {
  max-height: 220px;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-top: 8px;
}
.rollout-user {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  font-size: 13px;
  border-bottom: 1px solid var(--line);
}
.rollout-user:last-child {
  border-bottom: none;
}
.rollout-user input[type='checkbox'] {
  width: auto;
}
.rollout-user .rollout-user-mail {
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.feedback-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
}
.feedback-gallery img {
  width: 120px;
  height: 90px;
  object-fit: cover;
  border: 1px solid var(--c-line);
  border-radius: 6px;
  cursor: pointer;
}
.feedback-reply-section {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--c-line);
}
.feedback-reply-section textarea {
  width: 100%;
  box-sizing: border-box;
  margin-top: 8px;
}
.feedback-log {
  max-height: 220px;
  overflow: auto;
  padding: 10px;
  background: var(--c-bg-soft, #f5f5f5);
  border: 1px solid var(--c-line);
  border-radius: 6px;
  font-size: 12px;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-all;
}
.pay-wechat-fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  border-radius: 8px;
  background: var(--hover);
}
.pay-wechat-fields textarea {
  resize: vertical;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px;
}

.models-head {
  display: flex;
  align-items: center;
  gap: 8px;
}

.models-head > span:first-child {
  margin-right: auto;
  font-size: 12px;
  color: var(--muted);
}

.model-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  max-height: 180px;
  overflow: auto;
}

.model-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  flex: none;
}

.model-item > span {
  font-size: 12px;
  color: inherit;
}

.limit-free {
  margin: 8px 0;
}

.price-form input[type='number'] {
  width: 150px;
}

.price-form input[type='text'] {
  width: 170px;
}

.price-form select {
  width: 220px;
}

.fine-form {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin: -4px 0 14px;
}

.fine-label {
  width: 100%;
  font-size: 11px;
  color: var(--muted, #888);
}

.fine-form input[type='number'] {
  width: 130px;
}

.fine-values {
  font-size: 11px;
  line-height: 1.5;
  color: var(--ink);
  max-width: 320px;
}

.import-box {
  margin: 14px 0;
  padding: 12px;
  border: 1px solid var(--border, #d0d0d0);
  border-radius: 8px;
}

.import-form {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin: 8px 0;
}

.import-form input[type='search'] {
  width: 240px;
}

.import-form select {
  width: 180px;
}

.import-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 10px;
}

.import-actions > span:first-child {
  margin-right: auto;
  font-size: 12px;
}

#md-results {
  max-height: 300px;
  overflow: auto;
}

.match-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 8px 0;
  padding: 10px;
  border: 1px solid var(--accent, #4f8ef7);
  border-radius: 6px;
}

.match-bar label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.match-bar label > span {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

.match-bar select {
  min-width: 240px;
  max-width: 360px;
}

.pair-preview {
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px dashed var(--border, #d0d0d0);
  border-radius: 6px;
  font-size: 12px;
  line-height: 1.6;
}

.pair-preview.ready {
  border-style: solid;
  border-color: var(--accent, #4f8ef7);
  color: var(--ink);
}

.pair-preview strong {
  font-weight: 500;
}

#md-results td button.pick-price {
  cursor: pointer;
}

.fx-form {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  margin: 8px 0;
  flex-wrap: wrap;
}

.fx-form label {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fx-form label span {
  font-size: 12px;
  color: var(--muted, #888);
}

.fx-form input {
  width: 120px;
}

.baseline-form {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  margin: 8px 0;
  flex-wrap: wrap;
  padding: 12px;
  border: 1px solid var(--border, #d0d0d0);
  border-radius: 8px;
}

.baseline-form label {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.baseline-form label span {
  font-size: 12px;
  color: var(--muted, #888);
}

.baseline-form .baseline-price {
  padding-bottom: 8px;
  font-size: 12px;
  color: var(--muted, #888);
}

.baseline-form select {
  width: 200px;
}

.chip {
  display: inline-flex;
  margin: 0 6px 4px 0;
  padding: 1px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  font-size: 12px;
  cursor: pointer;
}

table tr.clickable {
  cursor: pointer;
}

table tr.clickable:hover {
  background: rgba(0, 0, 0, 0.03);
}

button.link {
  border: none;
  background: none;
  color: var(--muted);
  font-size: 12px;
  cursor: pointer;
  padding: 0;
}

button.link:hover {
  color: var(--ink);
}

/* ===== 发版管理 ===== */
.release-head-tip {
  font-size: 11px;
  color: var(--muted);
}

.release-overview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.release-stat {
  position: relative;
  min-width: 0;
  padding: 13px 15px;
  background: var(--surface);
  border: 0.5px solid var(--line);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  overflow: hidden;
}

.release-stat::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--stat-color, var(--line));
}

.release-stat[data-tone='live'] {
  --stat-color: #2f7d52;
}

.release-stat[data-tone='warn'] {
  --stat-color: #c07a1e;
}

.release-stat[data-tone='muted'] {
  --stat-color: #b9b9b4;
}

.release-stat .stat-label {
  font-size: 11px;
  color: var(--muted);
}

.release-stat .stat-value {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.release-stat .stat-value.empty {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

.release-stat .stat-sub {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

.release-config {
  padding: 0;
  overflow: hidden;
}

.release-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 15px 18px 13px;
  border-bottom: 1px solid var(--line);
}

.release-panel-head h3 {
  font-size: 14px;
}

.release-panel-head p {
  margin-top: 2px;
  font-size: 11px;
}

.release-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 18px;
}

.release-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.release-field-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.release-field-label {
  font-size: 12px;
  font-weight: 600;
}

.release-field-desc {
  font-size: 11px;
  color: var(--muted);
}

.release-field.inline {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.release-field.inline input {
  width: 180px;
  flex: none;
}

.release-note {
  margin: 0;
  font-size: 11px;
  color: var(--muted);
}

.release-field textarea {
  width: 100%;
  resize: vertical;
  line-height: 1.6;
}

.choice-grid {
  display: grid;
  gap: 8px;
}

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

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

.choice-card {
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  grid-template-areas: 'icon name' 'icon desc' 'icon tag';
  align-content: start;
  gap: 3px 10px;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 9px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}

.choice-card:hover {
  border-color: rgb(0 0 0 / 26%);
}

.choice-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-card:has(input:checked) {
  border-color: var(--ink);
  background: #fafaf8;
  box-shadow: inset 0 0 0 1px var(--ink);
}

.choice-check {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 16px;
  height: 16px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
}

.choice-card:has(input:checked) .choice-check {
  background: var(--ink);
  border-color: var(--ink);
}

.choice-card:has(input:checked) .choice-check::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

.choice-icon {
  grid-area: icon;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--hover);
  color: var(--muted);
  display: grid;
  place-items: center;
  font-size: 15px;
  line-height: 1;
}

.choice-card:has(input:checked) .choice-icon {
  background: var(--ink);
  color: #fff;
}

.choice-name {
  grid-area: name;
  padding-right: 20px;
  font-size: 13px;
  font-weight: 600;
}

.choice-desc {
  grid-area: desc;
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
}

.choice-tag {
  grid-area: tag;
  justify-self: start;
  margin-top: 3px;
  padding: 1px 6px;
  border-radius: 4px;
  background: var(--hover);
  color: var(--muted);
  font-size: 10px;
}

.choice-tag.urgent {
  background: #fdf1e8;
  color: #a85a12;
}

.choice-card.compact {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: 'name' 'desc';
  padding: 11px 12px;
}

.choice-card.compact .choice-icon {
  display: none;
}

.choice-card.compact .choice-name {
  padding-right: 20px;
}

.rollout-detail {
  margin-top: 2px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--bg);
}

.percent-head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.percent-value {
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.percent-value small {
  margin-left: 2px;
  font-size: 14px;
  font-weight: 500;
}

.percent-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 11px;
  color: var(--muted);
}

.percent-control {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
}

.percent-control input[type='range'] {
  flex: 1;
  min-width: 120px;
  padding: 0;
  accent-color: var(--ink);
}

.percent-presets {
  display: flex;
  gap: 4px;
  flex: none;
}

.percent-presets button {
  padding: 3px 8px;
  font-size: 11px;
}

.percent-presets button.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.user-picker-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.user-picker-bar input[type='search'] {
  flex: 1;
  min-width: 160px;
}

.user-picked {
  padding: 2px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 11px;
  white-space: nowrap;
}

.rollout-users {
  max-height: 220px;
  overflow-y: auto;
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.rollout-user {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 10px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}

.rollout-user:last-child {
  border-bottom: 0;
}

.rollout-user:hover {
  background: var(--hover);
}

.rollout-user input {
  width: auto;
  flex: none;
}

.avatar-dot {
  width: 22px;
  height: 22px;
  flex: none;
  border-radius: 50%;
  background: var(--hover);
  color: var(--muted);
  display: grid;
  place-items: center;
  font-size: 10px;
}

.rollout-user .u-name {
  font-size: 12px;
  white-space: nowrap;
}

.rollout-user .u-mail {
  margin-left: auto;
  font-size: 11px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.release-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 18px;
  border-top: 1px solid var(--line);
  background: #fafaf8;
}

.release-status {
  font-size: 11px;
  color: var(--muted);
}

.release-status.dirty {
  color: #a85a12;
}

.release-status.saved {
  color: var(--ok);
}

.release-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.panel-head h3 {
  font-size: 13px;
  font-weight: 600;
}

.panel-head .muted {
  font-size: 11px;
}

.update-preview {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(180deg, #fff, #fbfbf9);
  box-shadow: 0 4px 14px rgb(0 0 0 / 4%);
}

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

.preview-badge {
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 10px;
}

.preview-version {
  font-size: 12px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.preview-notes {
  min-height: 56px;
  max-height: 150px;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 12px;
  line-height: 1.6;
}

.preview-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.preview-chip {
  padding: 2px 7px;
  border-radius: 4px;
  background: var(--hover);
  color: var(--muted);
  font-size: 10px;
}

.preview-tip {
  font-size: 11px;
}

.guide-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.guide-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.guide-list li > span {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--hover);
  color: var(--muted);
  display: grid;
  place-items: center;
  font-size: 10px;
}

.guide-list strong {
  font-size: 12px;
  font-weight: 600;
}

.guide-list p {
  margin-top: 2px;
  font-size: 11px;
  line-height: 1.5;
}

@media (max-width: 1080px) {
  .release-grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

@media (max-width: 640px) {
  .release-overview,
  .choice-grid-2,
  .choice-grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .release-field.inline {
    flex-direction: column;
    align-items: stretch;
  }

  .release-field.inline input {
    width: 100%;
  }
}
