:root { --gds:#d41f23; --gds2:#b81c1f; --ink:#1a1f2b; --muted:#5b6472; --line:#e6e9ef; --bg:#f6f8fc; }
* { box-sizing:border-box; }
body { margin:0; font-family:'Segoe UI',system-ui,Arial,sans-serif; color:var(--ink);
       background:linear-gradient(160deg,#f6f8fc 0%,#eef2f9 100%); min-height:100vh; }
a { color:var(--gds2); }
.wrap { max-width:640px; margin:0 auto; padding:32px 16px 60px; }
.wrap.wide { max-width:1040px; }
.brand { display:flex; align-items:center; gap:16px; margin-bottom:26px; }
.brand-logo { height:48px; width:auto; display:block; }
.brand-tag { color:var(--muted); font-size:14px; border-left:1px solid var(--line); padding-left:16px; }
.card { background:#fff; border:1px solid var(--line); border-radius:16px; padding:28px;
        box-shadow:0 10px 30px rgba(16,32,64,.06); overflow-x:auto; }
.card.center { text-align:center; }
h1 { font-size:23px; margin:0 0 6px; }
h2 { font-size:16px; margin:22px 0 6px; }
.lead { color:var(--muted); margin:0 0 22px; font-size:15px; }
.prose p { line-height:1.55; font-size:14.5px; }
label { display:block; font-size:13px; font-weight:600; margin:14px 0 5px; }
.opt { font-weight:400; color:var(--muted); }
input[type=text], input[type=email], input[type=tel], input[type=url], select, textarea {
  width:100%; padding:11px 13px; font-size:15px; font-family:inherit; color:var(--ink);
  border:1px solid var(--line); border-radius:9px; background:#fbfcfe; }
input[type=file] { width:100%; padding:10px; border:1px dashed #c9cfda; border-radius:9px; background:#fbfcfe; font-size:14px; }
input:focus, select:focus, textarea:focus { outline:none; border-color:var(--gds2); background:#fff; }
.row { display:flex; gap:14px; } .row > div { flex:1; min-width:0; }
@media (max-width:520px) { .row { flex-direction:column; gap:0; } .card { padding:20px; } }
.terms { display:flex; gap:9px; align-items:flex-start; margin:18px 0 14px; font-size:13px; font-weight:400; color:var(--muted); }
.terms input { margin-top:2px; }
.hp { position:absolute; left:-10000px; width:1px; height:1px; overflow:hidden; }
button { margin-top:20px; width:100%; padding:13px; font-size:16px; font-weight:600; color:#fff;
         background:var(--gds); border:none; border-radius:10px; cursor:pointer; font-family:inherit; }
button:hover { background:var(--gds2); }
button.small { width:auto; margin:0; padding:9px 16px; font-size:14px; }
button.ghost { background:#fff; color:var(--ink); border:1px solid var(--line); }
button.ghost:hover { background:var(--bg); }
button.red { background:#a5271b; }
button.link { width:auto; margin:0; padding:0; background:none; color:var(--gds2); font-size:14px; font-weight:600; }
.btn { display:inline-block; padding:9px 16px; border:1px solid var(--line); border-radius:9px; text-decoration:none;
       color:var(--ink); font-size:14px; font-weight:600; background:#fff; }
.btn:hover { background:var(--bg); }
.err { background:#fdecea; color:#a5271b; border:1px solid #f5c6c0; padding:11px 14px; border-radius:9px; font-size:14px; margin-bottom:16px; }
.foot { color:var(--muted); font-size:12px; text-align:center; margin-top:22px; }
.ok-badge { font-size:44px; color:#1e824c; }
.muted { color:var(--muted); font-size:13px; }
.bar { display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap; }
form.inline { display:flex; gap:10px; align-items:center; margin:10px 0 18px; }
form.inline input { flex:1; min-width:0; }
.actions { display:flex; gap:10px; align-items:center; flex-wrap:wrap; margin:14px 0 6px; }
.actions form.inline { margin:0; flex:1; min-width:260px; }
table { width:100%; border-collapse:collapse; font-size:14px; margin-top:10px; }
th { text-align:left; font-size:12px; text-transform:uppercase; letter-spacing:.04em; color:var(--muted);
     border-bottom:1px solid var(--line); padding:8px 10px; }
td { border-bottom:1px solid var(--line); padding:10px; vertical-align:middle; }
td.num, th.num { text-align:right; } td.right { text-align:right; }
tr.closed td { color:var(--muted); }
.pill { display:inline-block; padding:3px 10px; border-radius:99px; font-size:12px; font-weight:600; background:#eef1f6; color:var(--ink); }
.pill.open { background:#e3f4ea; color:#1e6b41; } .pill.closed { background:#eef1f6; color:var(--muted); }
.pill.s-new { background:#e8f0fe; color:#1a4fb5; } .pill.s-shortlisted, .pill.s-interview, .pill.s-offer { background:#fff4e0; color:#8a5300; }
.pill.s-hired { background:#e3f4ea; color:#1e6b41; } .pill.s-unsuccessful, .pill.s-withdrawn { background:#f3f3f3; color:#777; }
dl.details { display:grid; grid-template-columns:140px 1fr; gap:10px 16px; font-size:14px; margin:18px 0; }
dl.details dt { color:var(--muted); } dl.details dd { margin:0; overflow-wrap:anywhere; }
.pre { white-space:pre-wrap; }
@media (max-width:520px) { dl.details { grid-template-columns:1fr; gap:2px; } dl.details dd { margin-bottom:10px; } }
details.danger { margin-top:28px; border-top:1px solid var(--line); padding-top:14px; font-size:14px; color:var(--muted); }
details.danger summary { cursor:pointer; color:#a5271b; font-weight:600; }
