* { box-sizing: border-box; }
body {
  font-family: -apple-system, system-ui, "Segoe UI", Roboto, sans-serif;
  margin: 0; background: #f4f5f7; color: #1a1a2e;
}
.wrap { max-width: 560px; margin: 0 auto; padding: 16px; }
header {
  background: #2b2d6e; color: #fff; padding: 14px 16px;
  display: flex; align-items: center; justify-content: space-between;
}
header h1 { font-size: 17px; margin: 0; }
header .who { font-size: 13px; opacity: .85; }
h2 { font-size: 16px; margin: 18px 0 10px; }
.card {
  background: #fff; border-radius: 12px; padding: 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,.06); margin-bottom: 14px;
}
label { display: block; font-size: 13px; color: #555; margin: 10px 0 4px; }
input, select {
  width: 100%; padding: 11px 12px; font-size: 16px;
  border: 1px solid #cdd2dc; border-radius: 9px; background: #fff;
}
button {
  width: 100%; padding: 13px; font-size: 16px; font-weight: 600;
  background: #4a4ee0; color: #fff; border: 0; border-radius: 10px;
  cursor: pointer; margin-top: 12px;
}
button.sec { background: #eceefb; color: #2b2d6e; }
button:active { opacity: .85; }
.slotbtns { display: flex; gap: 8px; }
.slotbtns button { margin-top: 0; }
.slotbtns button.off { background: #eceefb; color: #2b2d6e; }
.eqrow { display: flex; align-items: center; gap: 10px; margin: 8px 0; }
.eqrow .nm { flex: 1; font-size: 14px; }
.eqrow .norm { font-size: 12px; color: #888; }
.eqrow input { width: 90px; text-align: center; }
.msg { padding: 10px 12px; border-radius: 9px; font-size: 14px; margin: 10px 0; }
.msg.ok { background: #e7f7ec; color: #186a3b; }
.msg.err { background: #fdecec; color: #a31515; }
.msg.warn { background: #fff4e0; color: #8a5a00; }
.hide { display: none; }
.linkbtn { display:block; text-align:center; text-decoration:none; }
.ca { border-top: 1px solid #eee; padding-top: 10px; margin-top: 10px; }
.ca .p { color: #d11; font-weight: 600; font-size: 14px; }
small.muted { color: #999; font-size: 12px; }
