:root{color-scheme:light;--navy:#111827;--ink:#17202e;--muted:#687487;--line:#e4e9f0;--panel:#fff;--bg:#f4f6fa;--accent:#255ad5;--accent-dark:#194cb9;--green:#17754f;--red:#b83042;--shadow:0 14px 45px rgba(18,28,45,.07)}
*{box-sizing:border-box}html{font:16px/1.45 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}body{margin:0;background:var(--bg);color:var(--ink)}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.46}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(25px,3vw,34px);line-height:1.22;margin-bottom:16px;letter-spacing:-.035em}h2{font-size:20px;line-height:1.32;letter-spacing:-.02em}h3{font-size:17px}a{color:#174ba5}a:hover{text-decoration:none}.muted{color:var(--muted)}.small{font-size:12px}.lead{font-size:16px;color:#4a5769;line-height:1.7}.candidate-page{min-height:100dvh;display:flex;align-items:center;justify-content:center;padding:36px 16px 64px}.candidate-card{width:min(100%,750px);padding:clamp(22px,5vw,43px);background:var(--panel);border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow)}.login-card{max-width:480px}.candidate-header{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:35px}.brand{font-size:13px;font-weight:850;letter-spacing:.12em;color:#142b5c}.pill{border-radius:99px;padding:7px 12px;font-size:12px;font-weight:650;white-space:nowrap}.pill.light{background:#eef2ff;color:#3652a1}.start-form,.modal-form{display:flex;flex-direction:column;gap:11px}.start-form>label,.modal-form>label{font-size:13px;font-weight:680}.control{width:100%;height:48px;padding:11px 15px;border:1px solid #ced7e2;border-radius:10px;background:#fff;color:var(--ink);outline:0;transition:.15s}.control:focus{border-color:#4873cf;box-shadow:0 0 0 3px #dce7ff}.start-form>input{margin-bottom:8px}.vacancy{display:inline-block;background:#f0f4fc;border-radius:8px;padding:8px 12px;color:#496182;font-size:13px;margin:0 0 22px}.consent-row{display:flex;align-items:flex-start;gap:12px;margin:12px 0 6px;color:#445267;font-size:13px!important;font-weight:400!important;line-height:1.6}.consent-row input{width:18px;height:18px;margin:1px 0 0;flex:none;accent-color:var(--accent)}.instruction{border-radius:14px;padding:18px 20px;background:#f3f6fb;color:#506074;font-size:13px;line-height:1.65}.instruction p{margin:7px 0 0}.instruction b{color:#192c47}.button{min-height:42px;border-radius:10px;padding:10px 18px;border:1px solid transparent;font-weight:700;font-size:13px;transition:.12s;white-space:nowrap}.button:active:not(:disabled){transform:scale(.99)}.button.primary{color:#fff;background:var(--accent)}.button.primary:hover:not(:disabled){background:var(--accent-dark)}.button.secondary{color:#1b4aa5;background:#e9f0ff}.button.ghost{color:#45546b;background:#fff;border:1px solid #dfe5ed}.button.danger{color:#a32736;background:#fff1f2;border-color:#ffc7d0}.button.wide{width:100%;min-height:48px}.button.tiny{padding:7px 10px;min-height:34px;font-size:12px}.progress{display:flex;gap:6px;margin:0 0 28px}.progress span{height:6px;border-radius:20px;background:#e6ebf3;flex:1}.progress span.filled{background:#2d64d8}.section-title{font-size:19px;margin-bottom:10px}.statements{display:flex;flex-direction:column;gap:10px;margin-top:27px}.statement{display:flex;gap:12px;align-items:center;justify-content:space-between;border:1px solid #e3e8ef;padding:16px 15px;border-radius:12px;transition:border .14s,background .14s}.statement.selected{border-color:#9fb8f6;background:#f6f9ff}.statement-text{display:flex;align-items:flex-start;gap:12px;min-width:0}.statement-text p{font-size:14px;line-height:1.52;margin:0}.statement-letter{background:#ecf0f7;color:#65738c;border-radius:7px;font-size:11px;font-weight:800;min-width:26px;height:26px;display:grid;place-items:center}.selected .statement-letter{background:#e1eaff;color:#2453b6}.counter{display:flex;align-items:center;gap:8px;flex:none}.icon-button{width:33px;height:33px;border:1px solid #d9e1ec;border-radius:9px;background:#fff;font-size:19px;font-weight:500;color:#264c90;line-height:1}.count{font-weight:750;text-align:center;width:21px;font-variant-numeric:tabular-nums}.test-footer{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:22px;padding:22px 0 6px;border-top:1px solid var(--line)}.sum-box{display:flex;flex-direction:column;gap:1px}.sum-title{font-size:12px;color:var(--muted)}.sum-count{font-size:24px;line-height:1.1;font-variant-numeric:tabular-nums}.sum-count.complete{color:var(--green)}.sum-box p{margin:0}.helper{font-size:12px;margin:10px 0 0;color:var(--muted)}.success-symbol{width:64px;height:64px;background:#e0f6ec;color:var(--green);border-radius:50%;display:grid;place-items:center;font-size:36px;margin:20px 0}.admin{min-height:100dvh}.topbar{height:74px;background:#fff;border-bottom:1px solid #e8edf5;padding:0 max(24px,calc((100vw - 1160px)/2));display:flex;align-items:center;justify-content:space-between;gap:14px}.topbar-actions{display:flex;align-items:center;gap:16px}.account-label{font-size:12px;color:#69788c}.dashboard{max-width:1160px;margin:auto;padding:42px 24px 100px}.dash-title,.panel-top{display:flex;align-items:center;justify-content:space-between;gap:18px}.dash-title{margin-bottom:26px}.dash-title h1{margin:0}.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-bottom:26px}.stat-card{min-height:121px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:20px 24px;display:flex;flex-direction:column;gap:9px}.stat-card strong{font-size:31px;font-variant-numeric:tabular-nums;line-height:1}.stat-card span{color:#7a8798;font-size:13px}.data-panel{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden;box-shadow:0 6px 30px rgba(20,30,50,.025)}.panel-top{padding:22px 24px;border-bottom:1px solid var(--line)}.panel-top h2{margin:0}.search{max-width:320px}.records-table{width:100%;border-collapse:collapse;text-align:left}.records-table th{background:#f8fafc;color:#758196;font-size:12px;font-weight:650;padding:14px 20px}.records-table td{border-top:1px solid #edf0f5;padding:15px 20px;font-size:13px}.records-table td b{display:block;font-size:13px;font-weight:680}.records-table td small{display:block;color:#8994a3;margin-top:3px;font-size:11px}.status{display:inline-flex;align-items:center;gap:4px;font-size:11px;font-weight:700;color:#64748b;background:#f1f5f9;border-radius:99px;padding:6px 10px;white-space:nowrap}.status.completed{background:#e4f5ec;color:#167248}.status.started{background:#fff3d5;color:#92630c}.status.abandoned,.status.revoked{background:#fff0f0;color:#a54444}.users-btn{margin-top:20px}.empty{padding:38px;text-align:center;color:#758398}.overlay{position:fixed;inset:0;background:rgba(17,24,39,.52);z-index:10;display:flex;align-items:flex-start;justify-content:center;overflow-y:auto;padding:60px 16px}.modal{width:min(100%,560px);margin:auto;background:#fff;border-radius:18px;padding:26px;box-shadow:0 30px 90px rgba(0,0,0,.24)}.modal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px}.modal-header h2{margin:0}.icon-close{min-width:40px}.modal-form>h3{margin:20px 0 0}.generated{margin-top:10px;display:flex;flex-direction:column;gap:10px}.generated p{margin:0;font-size:13px;color:#4d586b}.detail-info{border-radius:12px;padding:17px;background:#f4f7fb;margin-bottom:22px}.detail-info h3{margin-bottom:8px}.detail-info p{font-size:13px;color:#5f6d81;margin:4px 0}.role-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;border-bottom:1px solid #edf0f4;padding:12px 0;font-size:14px}.role-row b{font-size:14px}.role-row.leader{background:#f0f7ff;border-radius:10px;padding:14px;margin:6px 0;border:1px solid #bfd3ff}.role-row em{font-style:normal;font-size:11px;font-weight:700;color:#2459aa}.other-roles{padding:20px 0;border-top:1px solid var(--line);margin-top:20px;font-size:13px;color:#617187}.other-roles summary{cursor:pointer}.other-roles p{margin:6px 0}.modal>.danger{margin-top:22px}.user-line{padding:13px 0;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:13px}.users-list{max-height:260px;overflow:auto}.toast{position:fixed;z-index:20;bottom:24px;right:24px;max-width:380px;color:#fff;background:#9b2d3c;padding:15px 20px;border-radius:11px;box-shadow:0 15px 40px #0002;font-size:13px}.toast.success{background:#20674b}.toast[hidden]{display:none}.center{min-height:70vh;display:grid;place-items:center}
@media(max-width:700px){.candidate-page{align-items:flex-start;padding:12px 10px 50px}.candidate-card{padding:22px 17px;border-radius:15px}.candidate-header{margin-bottom:25px}.brand{font-size:11px;letter-spacing:.07em}.pill{font-size:10px;padding:6px 9px}.statement{padding:13px 11px;align-items:flex-start;flex-direction:column}.statement-text p{font-size:13.4px}.counter{align-self:flex-end}.test-footer{gap:14px}.test-footer .button{padding:10px 12px;white-space:normal;max-width:51%}.topbar{padding:0 16px}.account-label{display:none}.dashboard{padding:25px 12px 80px}.dash-title{align-items:flex-start}.dash-title h1{font-size:24px}.dash-title .button{white-space:normal;text-align:center}.stat-grid{gap:6px}.stat-card{padding:12px 10px;min-height:100px}.stat-card strong{font-size:25px}.stat-card span{font-size:11px;line-height:1.3}.panel-top{flex-direction:column;align-items:stretch;padding:17px 14px}.search{max-width:none}.table-list{overflow:auto}.records-table{min-width:660px}.records-table td,.records-table th{padding:12px 11px}.overlay{padding:16px 10px}.modal{padding:18px 16px}.role-row{font-size:13px}}
.control.small-role{width:138px;height:38px;padding:6px 9px;font-size:12px}
.status.expired{background:#fff4e8;color:#96591c}
