:root { color-scheme: light; }
body {
  margin: 0;
  min-height: 100vh;
  background: #fff5f7;
  color: #343a40;
  font: 16px/1.45 Inter, "Liberation Sans", sans-serif;
}
.overlay {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: rgba(33, 37, 41, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.panel {
  width: min(420px, 100%);
  background: #fff;
  border: 1px solid rgba(255, 107, 150, 0.25);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 8px 40px rgba(255, 107, 150, 0.25);
}
.panel h2 {
  margin: 0 0 12px;
  font-family: Poppins, Inter, sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  background: linear-gradient(135deg, #ff6b96, #ff8fab);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
label, .hint { display: block; font-size: 0.82rem; margin-bottom: 6px; color: #6c757d; }
label input { display: block; margin-top: 6px; }
input, select, button { font: inherit; }
input, select {
  width: 100%;
  box-sizing: border-box;
  height: 46px;
  border: 1px solid rgba(255, 107, 150, 0.35);
  border-radius: 12px;
  background: #fff;
  padding: 0 12px;
}
input:focus-visible, select:focus-visible { outline: 2px solid #ff6b96; outline-offset: 1px; }
button.primary, button.ghost { height: 46px; margin-top: 10px; border-radius: 50px; }
button.primary {
  width: 100%;
  border: 0;
  background: linear-gradient(135deg, #ff6b96, #ff8fab);
  color: white;
  font-weight: 600;
}
button.primary:disabled { opacity: 0.4; }
button.ghost { width: 100%; border: 1px solid #ff6b96; background: transparent; color: #e91e63; }
.error { color: #a33b32; font-size: 0.9rem; min-height: 1.2em; margin: 8px 0 0; }
.switch { margin-bottom: 12px; }
.locked, .open-note {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid rgba(255, 107, 150, 0.25);
  border-radius: 20px;
  background: #fff;
}
input.ltr { direction: ltr; text-align: left; }
