* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #f5f5f7;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.wrap { width: 100%; max-width: 420px; }
.card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.hidden { display: none !important; }

.tabs { display: flex; gap: 8px; margin-bottom: 20px; }
.tab {
  flex: 1;
  padding: 10px;
  border: none;
  background: #eee;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
}
.tab.active { background: #111; color: #fff; }

.form { display: flex; flex-direction: column; gap: 10px; }
.form.row { flex-direction: row; margin-bottom: 16px; }
.form input {
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  width: 100%;
}
.form button {
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  background: #111;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  white-space: nowrap;
}
.form button:hover { opacity: 0.85; }

.error { color: #d33; font-size: 13px; margin-top: 12px; }

.appHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 14px;
  color: #555;
}
.linkBtn {
  background: none;
  border: none;
  color: #d33;
  cursor: pointer;
  font-size: 13px;
}

.items { list-style: none; padding: 0; margin: 0; }
.items li {
  padding: 10px 12px;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}
.items li:last-child { border-bottom: none; }
