:root {
  color-scheme: light;
  font: 16px/1.55 system-ui, sans-serif;
  color: #30251f;
  background: #f5eddb;
}
* { box-sizing: border-box; }
body { min-height: 100dvh; margin: 0; display: grid; place-items: center; padding: 20px; }
main { width: min(100%, 370px); }
.brand { display: flex; align-items: center; gap: 12px; color: #171522; font: 600 1.2rem Georgia, serif; letter-spacing: .12em; }
.lamp { width: 20px; height: 20px; border-radius: 50%; background: radial-gradient(circle, #fff6d0 15%, #dfba6c 40%, #413222 80%); }
h1 { margin: 14px 0 24px; font: 600 2rem "Songti SC", serif; }
button, input { font: inherit; }
button, input { min-height: 44px; width: 100%; padding: 9px 12px; border-radius: 8px; border: 1px solid #b4996f; }
button { background: #e0ba72; color: #30251f; cursor: pointer; font-weight: 600; }
button:disabled { opacity: .7; cursor: wait; }
input { background: #fff8e9; }
:focus-visible { outline: 2px solid #604674; outline-offset: 3px; }
details { margin-top: 18px; }
summary { cursor: pointer; color: #604674; padding-block: 9px; }
form { display: grid; gap: 7px; margin-top: 8px; }
[role=status] { color: #62354e; min-height: 24px; }
