:root {
  font-family: Inter, system-ui, "PingFang SC", sans-serif;
  color: #132e33;
  background: #edf5f4;
  line-height: 1.55;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
main { width: min(100% - 32px, 640px); margin: 36px auto; }
header, .actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
header { justify-content: space-between; }
h1 { margin: 0; font-size: clamp(1.6rem, 5vw, 2.2rem); }
h2 { margin: 0 0 12px; font-size: 1.15rem; }
section, #login { border: 1px solid #d4e3e1; background: white; border-radius: 16px; padding: 20px; margin: 16px 0; }
figure { margin: 16px 0; padding: 12px; border-radius: 10px; background: #f1f6f5; }
img { display: block; width: 100%; max-height: 420px; object-fit: contain; }
figcaption, p { color: #425b60; font-size: .92rem; }
button, input { font: inherit; color: inherit; min-height: 44px; border: 1px solid #9ebbb8; border-radius: 8px; padding: 8px 12px; background: white; }
button { cursor: pointer; }
button:disabled { opacity: .5; cursor: default; }
.primary { color: white; background: #12675d; border-color: #12675d; }
label { display: block; margin: 12px 0; }
input { display: block; width: 100%; margin-top: 4px; }
#message:empty, #operation:empty { display: none; }
