/* DSIRM website: one small stylesheet. Plain, readable, no web fonts, nothing loaded from elsewhere. */
* { box-sizing: border-box; }
html { font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif; font-size: 100%; line-height: 1.5; color: #1a1a1a; background: #fff; }
body { margin: 0; }
main { max-width: 70rem; margin: 0 auto; padding: 1rem 1.25rem 3rem; }
h1 { font-size: 1.6rem; margin: 1rem 0 0.5rem; }
h2 { font-size: 1.2rem; margin: 2rem 0 0.5rem; border-bottom: 1px solid #c8c8c8; padding-bottom: 0.25rem; }
a { color: #0b4f9e; }
a:focus, button:focus, input:focus { outline: 3px solid #f2a900; outline-offset: 2px; }

.standin-banner { margin: 0; padding: 0.6rem 1.25rem; background: #8a1c1c; color: #fff; font-weight: 700; text-align: center; }
.site-header { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; padding: 0.6rem 1.25rem; background: #f1f3f5; border-bottom: 1px solid #c8c8c8; }
.site-name { font-weight: 700; letter-spacing: 0.05em; }
.site-header nav { display: flex; gap: 1rem; align-items: center; }
.who { color: #444; }

table { border-collapse: collapse; width: 100%; margin: 0.5rem 0 1rem; }
th, td { text-align: left; vertical-align: top; padding: 0.4rem 0.6rem; border-bottom: 1px solid #dcdcdc; }
th { background: #f1f3f5; font-weight: 600; }
td.number, th.number { text-align: right; }
.mono { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 0.85rem; overflow-wrap: anywhere; }
.table-scroll { overflow-x: auto; }
.empty { color: #555; font-style: italic; }

form.stacked { display: flex; flex-wrap: wrap; gap: 0.5rem 0.75rem; align-items: end; margin: 0.5rem 0 1rem; }
form.inline { display: inline; margin: 0; }
label { display: block; font-weight: 600; }
input[type=text], input[type=email], input[type=file] { font: inherit; padding: 0.35rem 0.5rem; border: 1px solid #767676; border-radius: 3px; min-width: 18rem; max-width: 100%; }
input.link { min-width: 22rem; max-width: none; background: #f8f8f8; }
button, a.button { font: inherit; padding: 0.4rem 0.9rem; border: 1px solid #0b4f9e; border-radius: 3px; background: #0b4f9e; color: #fff; cursor: pointer; text-decoration: none; display: inline-block; }
button.secondary { background: #fff; color: #0b4f9e; }
button.link-button { background: none; border: none; color: #0b4f9e; text-decoration: underline; padding: 0; }

.message { padding: 0.6rem 0.9rem; border-left: 0.3rem solid; margin: 1rem 0; }
.message.error { border-color: #8a1c1c; background: #fbeaea; }
.message.ok { border-color: #1c6b2f; background: #e9f6ec; }
.message.info { border-color: #0b4f9e; background: #eaf1fa; }
dl.switches { display: grid; grid-template-columns: max-content 1fr; gap: 0.25rem 1rem; margin: 0.5rem 0; }
dl.switches dt { font-weight: 600; }
dl.switches dd { margin: 0; }
.hint { color: #444; font-size: 0.9rem; margin: 0.25rem 0; }
.withdrawn { color: #8a1c1c; font-weight: 600; }
ol.steps li { margin-bottom: 0.4rem; }
