:root{font-family:system-ui,sans-serif;color:#ecf5fc;background:#061525;color-scheme:dark}*{box-sizing:border-box}body{margin:0}main{max-width:760px;margin:auto;padding:28px 20px 50px}header,footer{display:flex;flex-wrap:wrap;gap:18px;align-items:center;padding:16px 0}a{color:#87dfff}h1{font-size:clamp(28px,5vw,42px)}p{line-height:1.65;color:#bed0df}form,#receipt{background:#0c2437;border:1px solid #32688a;border-radius:18px;padding:24px}label{display:block;font-weight:600;margin:20px 0 8px}input,textarea,select,button{font:inherit}input,textarea,select{display:block;width:100%;padding:13px;border:1px solid #607c94;border-radius:9px;background:#071828;color:white}textarea{min-height:95px;resize:vertical}small{display:block;color:#bed0df;line-height:1.5;margin-top:7px}button{border-radius:9px;padding:14px 18px;border:1px solid #78cfee;cursor:pointer;margin-top:20px;background:#123c58;color:#ecf5fc}#submit{background:#85ddfa;color:#061525;font-weight:750;width:100%}button:disabled{opacity:.5;cursor:wait}#status{white-space:pre-wrap}pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;line-height:1.6}.actions{display:flex;gap:14px;flex-wrap:wrap}[hidden]{display:none!important}:focus-visible{outline:3px solid #fff;outline-offset:3px}@media(max-width:450px){form,#receipt{padding:17px}}@media print{header,footer,form,button,#status{display:none!important}body,main,#receipt{background:white;color:black;border:0;padding:0}#receipt{display:block!important}pre{font-size:11pt}}

/* Current RD-Keyboard branding on public contract forms. */
header .brand{display:flex;align-items:center;gap:14px;color:#ecf5fc;text-decoration:none}header .brand img{width:64px;height:64px;object-fit:contain;flex:none}header>a:last-child{margin-left:auto}@media(max-width:450px){header .brand{gap:10px;font-size:14px}header .brand img{width:52px;height:52px}}
