* { box-sizing: border-box; }
body { margin: 0; font: 17px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; background: #f4f5f7; color: #1d2330; }
main { max-width: 460px; margin: 0 auto; padding: 20px 16px 40px; }
h1 { font-size: 24px; margin: 8px 0 4px; }
h2 { font-size: 19px; margin: 24px 0 8px; }
p.sub { margin: 0 0 18px; color: #5b6475; }
.card { background: #fff; border-radius: 12px; padding: 16px; box-shadow: 0 1px 3px rgba(0,0,0,.08); margin-bottom: 14px; }
label { display: block; font-weight: 600; margin: 12px 0 4px; }
label.tick { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
label.tick input { width: 22px; height: 22px; margin-top: 2px; flex: none; }
input[type=text], input[type=email], input[type=password], input[type=tel] {
  width: 100%; font: inherit; padding: 12px; border: 1px solid #c8cdd6; border-radius: 8px; background: #fff;
}
input:focus { outline: 2px solid #2457d6; outline-offset: 1px; }
button { font: inherit; font-weight: 600; border: 0; border-radius: 8px; padding: 13px 16px; cursor: pointer; }
button.main { width: 100%; margin-top: 16px; background: #2457d6; color: #fff; }
button.small { padding: 8px 12px; font-size: 15px; background: #e7ebf3; color: #1d2330; }
button.danger { background: #fbe3e3; color: #8a1c1c; }
button:disabled { opacity: .6; cursor: default; }
.tabs { display: flex; gap: 6px; margin-bottom: 14px; }
.tabs button { flex: 1; background: #e7ebf3; color: #1d2330; }
.tabs button.on { background: #2457d6; color: #fff; }
.msg { padding: 10px 12px; border-radius: 8px; margin-top: 12px; }
.msg.error { background: #fbe3e3; color: #8a1c1c; }
.msg.ok { background: #e3f6e8; color: #1c6a33; }
.hint { color: #5b6475; font-size: 15px; margin: 4px 0 0; }
.row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 0; border-top: 1px solid #eceef2; flex-wrap: wrap; }
.row:first-child { border-top: 0; }
.row .who { flex: 1 1 160px; }
.row .who b { display: block; }
.row .who span { color: #5b6475; font-size: 15px; }
.row .actions { display: flex; gap: 6px; flex-wrap: wrap; }
.off { opacity: .55; }
.panel { flex-basis: 100%; background: #f4f6fb; border-radius: 8px; padding: 12px; }
.pin { font: 700 28px/1 ui-monospace, Menlo, monospace; letter-spacing: 4px; }
.top { display: flex; justify-content: space-between; align-items: center; }
a { color: #2457d6; }
h2.first { margin-top: 0; }
button.gap { margin-top: 8px; }
