/* 消费限额补充区块 —— 只复用 demo 既有规范
   容器 .key-create-limit-fields、标签 .key-create-limit-title、提示 .key-create-limit > small
   灰色「金额精确到分」提示已去掉，small 只用于填 0 的橙色警示
   这里只有三处 demo 里没有的布局补丁：跨列、阈值行、橙色小字 */

.key-create-limit-fields > .key-create-limit {
  grid-column: 1 / -1;
  margin-top: 8px; /* 与 .key-create-grid 的 20px 行距对齐（12 + 8） */
}

.key-create-limit-fields > small {
  grid-column: 1 / -1;
  margin-top: 4px; /* 12 + 4，与 .key-create-limit > small 的 10 + 6 对齐 */
  color: #a1a1aa;
  font-size: 10px;
  line-height: 1.45;
  display: block;
}

.key-create-limit-options {
  display: grid;
  gap: 8px;
}

.key-create-limit-options label {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #18181b;
  font-size: 12px;
  line-height: 18px;
  cursor: pointer;
}

.key-create-limit-options input {
  width: 15px;
  height: 15px;
  accent-color: #18181b;
  margin: 0;
  padding: 0;
  flex: none;
  border: 0;
  background: none;
}

/* 抵消 .key-create-limit-fields input:focus 的蓝色焦点环（那是给文本框用的，套在 radio 上是个蓝方块） */
.key-create-limit-options input:focus {
  box-shadow: none;
  border-color: transparent;
}

/* 键盘导航时保留可见焦点，鼠标点击不出现 */
.key-create-limit-options input:focus-visible {
  outline: 2px solid var(--accent-blue-strong);
  outline-offset: 2px;
}

.key-create-notify-line {
  display: flex;
  align-items: center;
  gap: 6px;
}

.key-create-notify-line .ui-select {
  display: flex;
  align-items: center;
  width: 88px;
  flex: none;
}

.key-create-limit-fields .is-warn-text {
  color: #d45b12;
}
