:root{font:15px/1.6 system-ui;color:#19372f;background:#f4f5f0}*{box-sizing:border-box}body{margin:0}header{background:#163e32;color:white;padding:24px 4vw;display:flex;justify-content:space-between;align-items:center;gap:20px}h1{margin:4px 0;font-size:30px}header p{margin:0;color:#cfddd5}small{letter-spacing:2px;color:#baceb9}main{padding:20px 4vw}a{color:#216650}header a{color:white;margin-right:14px}button,input,select,textarea{font:inherit;border:1px solid #b9c9be;border-radius:6px;padding:8px 12px;background:white;color:#19372f}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}.primary{background:#1e5c46;color:white;border-color:#1e5c46}nav,.toolbar,.actions{display:flex;gap:10px;flex-wrap:wrap;align-items:end;margin:18px 0}nav{align-items:center}nav button.active{background:#d5e7d7;border-color:#1e5c46}label{display:flex;flex-direction:column;gap:4px}.toolbar label{min-width:140px}#status{padding:12px 16px;background:#e1ecdf;border-radius:6px}.note{color:#596e63;font-size:13px}.scroll{overflow:auto;max-height:66vh;background:white;border:1px solid #d8dfd5}table{border-collapse:collapse;white-space:nowrap;width:100%;font-size:14px}th,td{padding:10px 14px;text-align:left;border-bottom:1px solid #e2e6df}th{background:#e9eee5;position:sticky;top:0}tr:nth-child(even){background:#f9faf7}dialog{border:0;border-radius:12px;max-width:720px;width:94vw;max-height:90vh;padding:26px;color:#19372f}dialog::backdrop{background:#10251d88}.fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}form>label{margin:12px 0}textarea{min-height:72px}#formError{color:#a52a29}#void{color:#a52a29}.actions{justify-content:flex-end}[hidden]{display:none!important}input,select{max-width:100%}@media(max-width:600px){header{align-items:start;flex-direction:column}.fields{grid-template-columns:1fr}main{padding:14px}.toolbar label{width:100%}}

/* Keep long account labels within candidate forms on narrow screens. */
dialog .fields{grid-template-columns:repeat(2,minmax(0,1fr))}dialog label{min-width:0}dialog input,dialog select,dialog textarea{min-width:0;width:100%}@media(max-width:600px){dialog .fields{grid-template-columns:minmax(0,1fr)}}
