:root { color-scheme: light; font-family: Inter, Segoe UI, Arial, sans-serif; background: #f3f6f8; color: #162331; }
body { margin: 0; }
header { display:flex; justify-content:space-between; align-items:center; padding: 14px 5vw; background:#153e68; color:#fff; }
h1 { font-size:1.35rem; margin:0; } h2 { margin-top:0; font-size:1.1rem; }
main, .notice { max-width:1100px; margin:18px auto; padding:0 18px; } .notice { color:#5a3000; background:#fff4d8; border-left:4px solid #e7a819; padding-top:10px; padding-bottom:10px; }
section { background:#fff; border:1px solid #d7e0e8; border-radius:8px; padding:18px; margin:16px 0; box-shadow:0 1px 2px #0012; }
form { display:grid; gap:10px; } label { display:grid; gap:4px; font-size:.92rem; } input, select, textarea { font:inherit; padding:7px; border:1px solid #aebdcc; border-radius:4px; }
fieldset { display:grid; gap:8px; border:1px solid #cbd7e2; border-radius:5px; } legend { font-weight:600; } button, .button { appearance:none; background:#1769aa; border:0; border-radius:4px; color:white; padding:8px 12px; font:inherit; cursor:pointer; text-decoration:none; width:max-content; } header button { background:#fff; color:#153e68; }
.market-row, .attachment-row { display:grid; grid-template-columns:90px 1fr 1fr 1.4fr 145px; gap:6px; align-items:center; margin:5px 0; } .attachment-row { grid-template-columns: 300px 1fr; }
.message { white-space:pre-wrap; margin-top:10px; }.error { color:#a51e1e; }.ok { color:#176333; }.actions { display:flex; gap:8px; flex-wrap:wrap; }.job { border-top:1px solid #d7e0e8; padding:12px 0; }.job h3 { margin:0 0 6px; font-size:1rem; }.bad { color:#a51e1e; font-weight:600; }.good { color:#176333; font-weight:600; }
code { background:#edf2f6; padding:1px 3px; } .login { max-width:360px; margin:12vh auto; background:#fff; padding:24px; border-radius:8px; box-shadow:0 1px 7px #0013; }.login form { margin-top:18px; }
@media (max-width:800px) { .market-row { grid-template-columns:1fr 1fr; }.attachment-row { grid-template-columns:1fr; } }
button:disabled { opacity: .5; cursor: not-allowed; }
#template-originals { display: grid; gap: 12px; }
#template-originals legend, #template-originals code { overflow-wrap: anywhere; }
