:root { color-scheme: dark; font-family: Inter, system-ui, sans-serif; background: #101519; color: #ecf0ed; }
* { box-sizing: border-box; }
body { margin: 0; }
main { max-width: 960px; margin: auto; padding: 32px clamp(20px, 6vw, 68px) 48px; }
header { display: flex; align-items: center; justify-content: space-between; padding-bottom: 22px; border-bottom: 1px solid #3b4549; }
header strong { font-size: 1.2rem; }
header span, #size { color: #adbfba; font-size: .92rem; }
.intro { padding: 32px 0 13px; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); letter-spacing: -.04em; max-width: 660px; margin: 0; line-height: 1.04; }
p, footer { line-height: 1.55; color: #becbc7; }
.panel { background: #1a2226; padding: 24px; border: 1px solid #3b4549; border-radius: 12px; }
label { display: block; font-weight: 650; margin-bottom: 10px; }
input { width: 100%; padding: 13px; background: #0f1518; border: 1px solid #61716e; border-radius: 7px; color: inherit; font: inherit; }
button { border: 0; border-radius: 7px; padding: 11px 17px; background: #b1efd2; color: #10261f; font: inherit; font-weight: 700; cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
:focus-visible { outline: 3px solid #b1efd2; outline-offset: 4px; }
.controls { display: flex; align-items: center; flex-wrap: wrap; gap: 15px; margin-top: 16px; }
#status { margin-bottom: 0; }
#receipt:not([hidden]) { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); gap: 14px; margin-top: 14px; }
h2 { font-size: 1.12rem; margin: 0; }
output { display: block; white-space: normal; overflow-wrap: anywhere; font: .88rem/1.65 "IBM Plex Mono", ui-monospace, monospace; color: #b1efd2; }
footer { border-top: 1px solid #3b4549; margin-top: 26px; padding-top: 18px; font-size: .9rem; }
