/* Two themes matching the forms they replace: EOS = dark panel on brick, Nordic = white card on a soft photo. */
:root { --ink: #2c3345; --mut: #464d5f; --line: #d8dbe6; --bad: #d92d20; --panel: #fff; --accent: #249bb4; --head: #249bb4;
        --field-border: #b8bdc9; --page: #f3f3fe; --err-bg: #fdf0ef; --err-ink: #b3261e; }
.brand-eos { --ink: #fff; --mut: #fff; --line: rgba(255,255,255,.75); --panel: rgba(55,15,1,.8); --accent: #894200; --head: #fff;
             --field-border: #894200; --page: #8a4a2b; --bad: #ff5a4d; --err-bg: rgba(255,255,255,.92); --err-ink: #a11207; }
* { box-sizing: border-box; }
html { font: 16px/1.5 Inter, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
body { margin: 0; padding: 65px 16px 72px; min-height: 100vh; color: var(--ink); background: var(--page) center top / cover no-repeat fixed; }
body.brand-eos { background-image: url(bg-eos.jpg); background-size: auto; background-repeat: repeat; background-attachment: scroll; }
body.brand-nordic { background-image: url(bg-nordic.jpg); }
main { max-width: 752px; margin: 0 auto; }
.brandbar { line-height: 0; margin: 0 14px; }
.brandbar img { display: block; width: 100%; height: auto; }
.brand-nordic .brandbar { margin: 0; background: #fff; border-radius: 4px 4px 0 0; padding: 20px 38px 0; }
.brand-nordic .brandbar img { max-width: 520px; }
form, .done { background: var(--panel); border-radius: 4px; padding: 12px 52px 40px; box-shadow: 0 4px 4px rgba(87,100,126,.21); margin-top: 12px; }
.brand-nordic form, .brand-nordic .done { margin-top: 0; border-radius: 0 0 4px 4px; }
h1 { font-size: 32px; line-height: 1.25; font-weight: 700; color: var(--head); margin: 52px -52px 36px; padding: 0 52px 44px; border-bottom: 1px solid var(--line); }
.done h1 { border: 0; margin-bottom: 0; padding-bottom: 12px; }
.done a { color: inherit; }
fieldset { border: 0; padding: 0; margin: 0 0 34px; min-width: 0; }
legend { padding: 0; margin-bottom: 12px; font-weight: 500; font-size: 16px; }
.req { color: var(--bad); }
label { display: block; margin-bottom: 12px; }
label > span { display: block; margin-top: 8px; font-size: 12px; color: var(--mut); overflow-wrap: anywhere; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
input[type=text], input[type=email], input[type=tel], select, textarea {
  width: 100%; min-height: 40px; font: inherit; color: #2c3345; background: #fff; border: 1px solid var(--field-border); border-radius: 4px; padding: 8px 10px; }
fieldset.short input, fieldset.short select { max-width: 310px; }
textarea { resize: vertical; min-height: 160px; }
::placeholder { color: color-mix(in srgb, var(--field-border) 70%, #999); }
input[type=file] { width: 100%; font: inherit; color: #2c3345; padding: 22px 14px; border: 1px dashed var(--field-border); border-radius: 4px; background: #fbfcff; }
input:focus, select:focus, textarea:focus, button:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 40%, #fff); }
.check { display: flex; gap: 9px; align-items: baseline; margin-bottom: 8px; }
.bad input, .bad select, .bad textarea { border-color: var(--bad); box-shadow: 0 0 0 2px var(--bad); }
.err { display: inline-block; margin: 4px 0 0; padding: 3px 9px; border-radius: 3px; background: var(--err-bg); color: var(--err-ink); font-size: 13.5px; font-weight: 600; }
.top { margin: 0 0 28px; padding: 12px 14px; border-left: 4px solid var(--err-ink); background: var(--err-bg); color: var(--err-ink); font-weight: 600; border-radius: 3px; }
.actions { display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 44px -52px 0; padding: 30px 52px 0; border-top: 1px solid var(--line); }
button { min-width: 180px; font: inherit; font-size: 16px; color: #fff; background: var(--accent); border: 1px solid var(--accent); border-radius: 4px; padding: 11px 28px; cursor: pointer; }
.brand-eos button { border-color: #fff; }
button[disabled] { opacity: .6; cursor: default; }
#status { font-size: 14px; color: var(--mut); min-height: 1em; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 560px) { body { padding: 0 0 24px; } form, .done { padding: 8px 20px 28px; border-radius: 0; } h1 { margin: 28px -20px 24px; padding: 0 20px 24px; font-size: 26px; }
  .actions { margin: 28px -20px 0; padding: 22px 20px 0; } .brandbar { margin: 0; } .brand-nordic .brandbar { padding: 14px 20px 0; } .two { grid-template-columns: 1fr; gap: 0; } }

/* EOS header (design A, chosen 2026-12-04): white bar joined to the panel, original logo, blue rule */
.brand-eos .brandbar { margin: 0; background: #fff; border-radius: 4px 4px 0 0; border-bottom: 4px solid #00669b; padding: 12px 52px 12px 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; line-height: 1.3; }
.brand-eos .brandbar img { width: auto; height: 52px; max-width: 100%; }
.brand-eos .tagline { color: #00669b; font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-align: right; }
.brand-eos form, .brand-eos .done { margin-top: 0; border-radius: 0 0 4px 4px; }
@media (max-width: 560px) { .brand-eos .brandbar { border-radius: 0; padding: 10px 20px 10px 8px; } .brand-eos .brandbar img { height: 42px; } .brand-eos .tagline { font-size: 10.5px; letter-spacing: .08em; } }

/* consent line above the submit button */
.consent { margin: 44px 0 -12px; }
.consent .check { align-items: flex-start; margin: 0; }
.consent input { margin-top: 5px; flex: none; width: 17px; height: 17px; }
.consent .ctext { display: inline; margin: 0; font-size: 15px; color: var(--ink); }
.consent .ctext .req { display: inline; }

/* pick several from a long list (journals): search field on top, one journal per row (design B, 2026-12-04) */
.finder .find { width: 100%; min-height: 42px; font: inherit; color: #2c3345; background: #fff; border: 1px solid var(--field-border); border-radius: 4px 4px 0 0; padding: 8px 12px; }
.pick { background: #fff; color: #2c3345; border: 1px solid var(--field-border); border-top: 0; border-radius: 0 0 4px 4px; max-height: 300px; overflow-y: auto; }
.pick .row { display: flex; align-items: center; gap: 12px; margin: 0; padding: 9px 14px; border-bottom: 1px solid #eceef3; cursor: pointer; }
.pick .row:last-of-type { border-bottom: 0; }
.pick .row:hover { background: color-mix(in srgb, var(--accent) 7%, #fff); }
.pick .row[hidden] { display: none; }
.pick .row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pick .box { flex: none; display: grid; place-items: center; width: 20px; height: 20px; margin: 0; border: 2px solid #b8bdc9; border-radius: 4px; font-size: 14px; line-height: 1; color: #fff; }
.pick .row input:checked + .box { background: var(--accent); border-color: var(--accent); }
.pick .row input:checked + .box::after { content: "\2713"; }
.pick .row input:focus-visible + .box { outline: 3px solid #f2b84b; outline-offset: 1px; }
.pick .t { display: block; margin: 0; font-size: 15.5px; color: #2c3345; line-height: 1.3; }
.pick .row input:checked ~ .t { font-weight: 600; }
.pick small { display: block; font-size: 11px; font-weight: 400; color: #7a8294; }
.pick .none { margin: 0; padding: 14px; font-size: 14px; color: #7a8294; }
.bad .pick, .bad .finder .find { border-color: var(--bad); }
.hint { margin: 8px 0 0; font-size: 12px; color: var(--mut); }
.note { margin: 0 0 12px; padding: 10px 14px; border-left: 4px solid #f2b84b; background: rgba(255,255,255,.12); border-radius: 3px; font-size: 14.5px; font-weight: 500; }
.brand-nordic .note { background: #fff8e8; }

/* Nordic header (design C, chosen 2026-12-04): centred mark + name on the site's northern-lights band */
.brand-nordic .brandbar { margin: 0; padding: 30px 20px 26px; border-radius: 4px 4px 0 0; background: #0b0e24 url(nordic-headbg.jpg) center / cover; color: #fff;
  display: flex; flex-direction: column; align-items: center; gap: 6px; line-height: 1.3; text-align: center; }
.brand-nordic .brandbar a { display: flex; flex-direction: column; align-items: center; gap: 6px; color: #fff; text-decoration: none; }
.brand-nordic .brandbar img { width: 58px; height: 58px; max-width: none; }
.brand-nordic .brandname { font-family: Georgia, "Times New Roman", serif; font-size: 28px; letter-spacing: .01em; }
.brand-nordic .tagline { color: #7fe3a6; font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.brand-nordic h1 { text-align: center; }
@media (max-width: 560px) { .brand-nordic .brandbar { border-radius: 0; padding: 22px 16px 20px; } .brand-nordic .brandname { font-size: 23px; } }
