:root {
  font-family: system-ui, sans-serif;
  color: #20382c;
  background: #f2f7f3;
  line-height: 1.65;
}
* { box-sizing: border-box; }
body { margin: 0; }
main { max-width: 760px; margin: 32px auto; padding: 32px; background: white; border: 1px solid #e0e9e3; border-radius: 18px; }
h1 { font-size: clamp(1.6rem, 5vw, 2.2rem); line-height: 1.3; margin: 24px 0; }
h2 { margin: 0 0 16px; }
a { color: #246b41; overflow-wrap: anywhere; text-underline-offset: 3px; }
label, fieldset { display: block; margin: 20px 0; }
label > span { display: block; margin-bottom: 6px; }
fieldset { padding: 12px 18px; border: 1px solid #c6d4ca; border-radius: 10px; }
input, select, textarea, button { font: inherit; max-width: 100%; }
input:not([type=checkbox]), select, textarea { display: block; width: 100%; padding: 10px 12px; border: 1px solid #9aafa0; border-radius: 8px; background: white; color: inherit; }
input[readonly] { background: #f6f8f6; }
textarea { min-height: 110px; }
button { padding: 10px 18px; border: 1px solid #267744; background: #267744; color: white; border-radius: 8px; cursor: pointer; }
button:hover { background: #205f38; }
button:disabled { opacity: .55; cursor: default; }
button.secondary { background: white; color: #246b41; border-color: #a7beae; }
button.secondary:hover { background: #edf5ef; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible { outline: 3px solid #b88a12; outline-offset: 3px; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; margin: 20px 0; }
.actions > a { min-width: 0; }
.check { display: flex; align-items: flex-start; gap: 10px; }
.check input { width: 20px; height: 20px; margin: 4px 0 0; flex: 0 0 auto; accent-color: #267744; }
.check > span { margin-bottom: 0; }
#message { color: #8b3218; overflow-wrap: anywhere; }
#message:empty, #result:empty { display: none; }
#receipt { margin-top: 28px; }
#request_id { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 12px; color: #607367; font-size: .9rem; overflow-wrap: anywhere; }
#request-number { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #20382c; }
#result { white-space: pre-line; padding: 16px 18px; background: #edf5ef; border-radius: 10px; }
.admin-toolbar { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0; }
.admin-toolbar input { flex: 1 1 240px; width: auto; }
#requests { display: grid; gap: 12px; margin: 20px 0 28px; }
#requests button { width: 100%; text-align: left; overflow-wrap: anywhere; background: #f6f8f6; color: #20382c; border-color: #c6d4ca; }
#requests button:hover { background: #edf5ef; border-color: #267744; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; background: #f2f7f3; padding: 16px; border-radius: 10px; }
footer { border-top: 1px solid #c6d4ca; margin-top: 32px; padding-top: 16px; }
footer .actions { margin-bottom: 0; }
#cleanup { margin-top: 24px; }
[hidden] { display: none !important; }
@media (max-width: 800px) { main { margin: 0; border: 0; border-radius: 0; padding: 24px 20px; } }
