:root{--navy:#183153;--gold:#D4A72C;--ink:#22262b;--muted:#5d6670;--line:#d6dde4;--light:#E9EEF2;--bad:#a12a2a;--good:#1f7a4d;color-scheme:light}
*{box-sizing:border-box}
body{margin:0;background:var(--light);color:var(--ink);font:16px/1.5 Arial,Helvetica,sans-serif}
.bar{background:var(--navy);border-bottom:3px solid var(--gold);padding:14px 16px;display:flex;justify-content:center}
.bar img{width:150px;height:auto}
.card{max-width:560px;margin:20px auto;background:#fff;border:1px solid var(--line);border-radius:12px;padding:22px 20px;margin-inline:16px}
@media (min-width:600px){.card{margin-inline:auto;padding:28px 32px}}
h1{font-size:22px;color:var(--navy);margin:0 0 8px}
p{margin:0 0 12px}
.muted{color:var(--muted);font-size:14px}
label{display:flex;flex-direction:column;gap:6px;font-weight:bold;font-size:14px;margin:0 0 14px}
input[type=text],input[type=date]{font:inherit;padding:12px;border:1px solid var(--line);border-radius:8px;width:100%}
button{font:inherit;font-weight:bold;background:var(--navy);color:#fff;border:0;border-radius:8px;padding:13px 18px;cursor:pointer;width:100%}
button.secondary{background:#fff;color:var(--navy);border:1px solid var(--navy)}
button:disabled{opacity:.55;cursor:default}
.drop{border:2px dashed var(--line);border-radius:12px;padding:22px 14px;text-align:center;margin:0 0 14px}
.drop.over{border-color:var(--navy);background:#f3f6f9}
.files{list-style:none;padding:0;margin:0 0 14px}
.files li{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:8px 0;border-bottom:1px solid var(--line);font-size:14px;overflow-wrap:anywhere}
.files button{width:auto;padding:6px 10px;font-size:13px;background:#fff;color:var(--bad);border:1px solid var(--line)}
.err{color:var(--bad);font-weight:bold}
.ok{color:var(--good)}
.tag{display:inline-block;background:#fff4d6;border:1px solid #e9cf7f;color:#6b5200;border-radius:999px;padding:2px 10px;font-size:13px;margin:0 0 12px}
.cat{background:var(--light);border-radius:8px;padding:10px 12px;margin:0 0 14px}
.foot{max-width:560px;margin:0 auto 32px;padding:0 16px;display:flex;flex-direction:column;gap:4px;font-size:13px;color:var(--muted);text-align:center}
.foot b{color:var(--navy);letter-spacing:.3px}
.sr{position:absolute;left:-9999px}
.pick{display:inline-block;background:#fff;color:var(--navy);border:1px solid var(--navy);border-radius:8px;padding:11px 16px;font-weight:bold;cursor:pointer;margin:0 auto}
.pick:focus-within,.sr:focus+.pick{outline:3px solid var(--gold)}

/* Required fields (public/required.js marks them from the existing required attribute) */

/* Validation after a submit attempt (required.js): the field and a short message, cleared once corrected */
input.field-error:not([type=checkbox]):not([type=radio]),select.field-error,textarea.field-error,.quickout.field-error{border:2px solid var(--bad,#b42318);border-radius:8px}
input[type=checkbox].field-error,input[type=radio].field-error{outline:2px solid var(--bad,#b42318);outline-offset:2px}
.field-msg{display:block;color:var(--bad,#b42318);font-size:12px;font-weight:600;margin-top:2px}

/* “Required” in words beside required fields (required.js) */
.req-tag{display:inline-block;margin:0 0 0 6px;padding:0 6px;border:1px solid #d6dee6;border-radius:999px;font-size:11px;font-weight:600;line-height:16px;color:#5f6670;background:#fff}
.field-msg .field-hint{font-weight:400;color:#1b2a3d}
.hp{position:absolute;left:-9999px}
#f{display:flex;flex-direction:column;gap:12px;margin-top:12px}
#f label{display:flex;flex-direction:column;gap:4px;font-weight:600}
#f label.check{flex-direction:row;gap:8px;font-weight:normal;align-items:flex-start}
#f input,#f textarea{font:inherit;padding:8px;border:1px solid #ccd5df;border-radius:8px}
/* Open Roles careers page (16 Nov 2026) */
.careers{max-width:720px}
.roles{list-style:none;padding:0;margin:0 0 16px}
.roles li{border-top:1px solid var(--line);padding:16px 0}
.roles h2{font-size:18px;color:var(--navy);margin:0 0 4px}
.apply{display:inline-block;background:var(--navy);color:#fff;text-decoration:none;font-weight:bold;border-radius:8px;padding:10px 18px}
.apply.secondary{background:#fff;color:var(--navy);border:1px solid var(--navy)}
.apply:focus{outline:3px solid var(--gold)}
.summary{white-space:pre-line}
/* Staffing & Workforce portal (16 Nov 2026) */
.sec{font-size:18px;color:var(--navy);margin:22px 0 4px;border-left:4px solid var(--gold);padding-left:10px}
.choice{display:flex;justify-content:space-between;align-items:center;gap:12px;background:var(--light);border-radius:10px;padding:14px;margin:0 0 10px}
.choice div{display:flex;flex-direction:column;gap:2px}
.choice button,.choice .apply{width:auto;white-space:nowrap;background:var(--gold);color:var(--navy);border:0}
@media (max-width:520px){.choice{flex-direction:column;align-items:stretch}.choice button,.choice .apply{text-align:center}}
select,textarea,input[type=email],input[type=tel],input[type=number],input:not([type]){font:inherit;padding:12px;border:1px solid var(--line);border-radius:8px;width:100%}
.hp{position:absolute;left:-9999px}
.check{flex-direction:row;align-items:center;font-weight:normal}
/* Postings and future opportunities (18 Nov 2026): bubbles like the CRM's, and a clear future-opportunity box. */
.roles .team{margin:0 0 6px;color:var(--muted);font-size:14px}
.bubs{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 8px}
.bub{display:inline-block;background:var(--light);color:var(--navy);border-radius:999px;padding:4px 12px;font-size:13px;font-weight:600}
.pre{white-space:pre-line}
.future{background:#fdf6e3;border:1px solid #ecd9a0;border-left:5px solid var(--gold);border-radius:12px;padding:16px 18px;margin:8px 0 4px}
.future h2{font-size:18px;color:var(--navy);margin:0 0 6px}
.apply.gold{background:var(--gold);color:var(--navy)}
.optin{background:var(--light);border-radius:10px;padding:10px 12px}
.optin small{display:block;margin-top:2px}
/* Staffing portal hiring request (22 Nov 2026): grouped, short to start */
.staffing{max-width:720px}
.staffing .lede{font-size:16px;color:var(--ink);margin:0 0 16px}
.staffing .grp{border:1px solid var(--line);border-radius:10px;padding:14px 14px 2px;margin:0 0 14px;display:grid;grid-template-columns:1fr 1fr;column-gap:14px}
.staffing .grp legend{font-weight:bold;color:var(--navy);padding:0 6px}
.staffing details.grp summary{grid-column:1/-1;cursor:pointer;font-weight:bold;color:var(--navy);margin:0 0 12px}
.staffing details.grp:not([open]){padding-bottom:0}
.staffing .grp .wide,.staffing .grp p.wide{grid-column:1/-1}
.staffing .acts{display:flex;gap:10px}
.staffing .acts button{width:auto}
@media (max-width:560px){.staffing .grp{grid-template-columns:1fr}}
/* Careers: each role is collapsed until opened (Owner, 30 Nov 2026). */
.roles details.role summary{cursor:pointer;list-style:none}
.roles details.role summary::-webkit-details-marker{display:none}
.roles details.role .more{display:inline-block;margin-top:4px;font-size:14px;font-weight:600;color:var(--navy);text-decoration:underline}
.roles details.role[open] .more{display:none}
.roles details.role summary:focus-visible{outline:3px solid var(--gold);outline-offset:2px}
