:root { color-scheme: light; font: 16px/1.55 Inter, system-ui, sans-serif; color: #182529; background: #f1f4f2; }
* { box-sizing: border-box; }
body { margin: 0; }
main { max-width: 740px; margin: 0 auto; padding: 48px 24px; }
header { margin-bottom: 24px; }
h1 { margin: 5px 0 0; font-size: clamp(2rem, 7vw, 3.15rem); letter-spacing: -.045em; }
h2 { margin: 0; font-size: 1.125rem; }
a { color: #145851; }
.site { font-size: .92rem; font-weight: 600; text-decoration: none; }
nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
nav a { padding: 8px 13px; border: 1px solid #c6d3ca; border-radius: 7px; text-decoration: none; }
nav a[aria-current] { background: #d8e8df; border-color: #729a85; }
form { border: 1px solid #ccd7cf; border-radius: 12px; background: #fff; padding: 24px; display: grid; gap: 9px; }
label { margin-top: 7px; font-weight: 600; }
input, select, button { font: inherit; border: 1px solid #aabdb2; border-radius: 6px; padding: 9px 11px; }
input, select { width: 100%; background: #fbfcfb; color: inherit; }
button { justify-self: start; cursor: pointer; background: #fff; color: #145851; }
button[type="submit"] { background: #164a40; color: #fff; border-color: #164a40; }
button:disabled { cursor: wait; opacity: .55; }
.prompt-selectors { display: grid; grid-template-columns: minmax(9.5rem, 1fr) minmax(0, 2fr); gap: 16px; }
.prompt-input { min-width: 0; }
.prompt-input label { display: block; margin: 0 0 7px; }
#prompt { width: 100%; padding: 12px; resize: vertical; font: inherit; color: inherit; background: #fbfcfb; border: 1px solid #aabdb2; border-radius: 6px; }
.prompt-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.prompt-actions button { background: #164a40; color: #fff; border-color: #164a40; }
#prompt-form #status { min-height: 1.5em; margin: 0; }
@media (max-width: 520px) { .prompt-selectors { grid-template-columns: 1fr; gap: 9px; } }
:focus-visible { outline: 3px solid #739cc3; outline-offset: 2px; }
.hint, #status { margin: 4px 0 10px; color: #48605a; font-size: .92rem; white-space: pre-line; }
.history { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 27px; }
#receipts { padding: 0; list-style: none; }
#receipts li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid #d9e1dc; }
#receipts li.empty { color: #48605a; }
[hidden] { display: none !important; }
