:root{--ink:#17223b;--purple:#6757d8;--line:#e4e8f0}*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Arial,Helvetica,sans-serif}button,textarea{font:inherit}.candidate-page{min-height:100vh;display:grid;grid-template-columns:minmax(330px,.82fr) minmax(500px,1.18fr);background:#f5f7fb;color:var(--ink)}.candidate-intro{position:relative;overflow:hidden;display:flex;min-height:100vh;flex-direction:column;padding:52px clamp(32px,5vw,78px);background:linear-gradient(145deg,#16213a 0%,#243154 58%,#3f3a75 100%);color:#fff}.candidate-intro:before,.candidate-intro:after{content:"";position:absolute;border-radius:50%}.candidate-intro:before{width:420px;height:420px;right:-230px;top:-150px;background:#7568e64d}.candidate-intro:after{width:320px;height:320px;left:-180px;bottom:-150px;background:#46bfa42b}.candidate-brand{position:relative;z-index:1;display:flex;align-items:center;gap:12px;width:max-content;color:inherit;text-decoration:none}.candidate-brand>span{display:grid;width:44px;height:44px;place-items:center;border-radius:13px;background:linear-gradient(135deg,#8e7df6,#6757d8);font-size:19px;font-weight:900}.candidate-brand div{display:flex;flex-direction:column;gap:3px}.candidate-brand b{font-size:17px}.candidate-brand small{color:#aab4ca;font-size:11px}.candidate-copy{position:relative;z-index:1;margin:auto 0}.candidate-kicker{display:inline-flex;border:1px solid #ffffff26;border-radius:20px;background:#ffffff0d;padding:7px 12px;color:#c9c4ff;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}.candidate-copy h1{max-width:620px;margin:22px 0 18px;font-size:clamp(38px,5vw,66px);line-height:1.02;letter-spacing:-.045em}.candidate-copy p{max-width:570px;margin:0;color:#c2cadb;font-size:15px;line-height:1.7}.candidate-trust{position:relative;z-index:1;display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.candidate-trust>div{display:flex;align-items:flex-start;gap:10px;border:1px solid #ffffff17;border-radius:14px;background:#ffffff0a;padding:14px}.candidate-trust i{display:grid;width:24px;height:24px;flex:0 0 auto;place-items:center;border-radius:8px;background:#7b6ee8;font-size:10px;font-style:normal;font-weight:800}.candidate-trust span{display:flex;min-width:0;flex-direction:column;gap:4px}.candidate-trust b{font-size:10px}.candidate-trust small{color:#99a5bc;font-size:8px;line-height:1.35}.candidate-chat{align-self:center;width:min(760px,calc(100% - 64px));height:min(780px,calc(100vh - 64px));margin:32px auto;display:grid;grid-template-rows:auto 1fr auto;overflow:hidden;border:1px solid var(--line);border-radius:24px;background:#fff;box-shadow:0 28px 80px #28324a20}.candidate-chat-head{display:flex;align-items:center;gap:11px;border-bottom:1px solid #edf0f5;padding:18px 22px;background:#fff}.candidate-bot-avatar,.mini-avatar{display:grid;place-items:center;border-radius:50%;background:linear-gradient(135deg,#7667e5,#5548bd);color:#fff;font-weight:800}.candidate-bot-avatar{width:42px;height:42px;font-size:12px}.candidate-chat-head>div:nth-child(2){display:flex;flex-direction:column;gap:4px}.candidate-chat-head b{font-size:13px}.candidate-chat-head span{display:flex;align-items:center;gap:5px;color:#8892a4;font-size:9px}.candidate-chat-head span i{width:6px;height:6px;border-radius:50%;background:#2db67d}.candidate-chat-head em{margin-left:auto;color:#8478dc;font-size:10px;font-style:normal;font-weight:700}.candidate-messages{overflow-y:auto;padding:24px 24px 12px;background:linear-gradient(180deg,#f8f9fc,#f5f7fb)}.candidate-day{width:max-content;margin:0 auto 20px;border-radius:14px;background:#e9ecf2;padding:5px 10px;color:#8992a2;font-size:9px}.candidate-message{display:flex;align-items:flex-end;gap:8px;margin-bottom:14px}.candidate-message.candidate{justify-content:flex-end}.candidate-message>div{max-width:min(78%,560px);border-radius:16px 16px 16px 5px;background:#fff;padding:12px 14px;box-shadow:0 2px 8px #27334f0d}.candidate-message.candidate>div{border-radius:16px 16px 5px 16px;background:var(--purple);color:#fff}.candidate-message p{white-space:pre-wrap;margin:0;font-size:13px;line-height:1.5}.candidate-message time{display:block;margin-top:5px;color:#a2aabb;font-size:8px;text-align:right}.candidate-message.candidate time{color:#d3cef9}.mini-avatar{width:26px;height:26px;flex:0 0 auto;font-size:8px}.candidate-message.typing>div{display:flex;gap:4px;padding:15px 18px}.candidate-message.typing i{width:5px;height:5px;border-radius:50%;background:#9fa7b5;animation:candidateTyping 1.15s infinite}.candidate-message.typing i:nth-child(2){animation-delay:.15s}.candidate-message.typing i:nth-child(3){animation-delay:.3s}.candidate-controls{border-top:1px solid #e9edf3;padding:16px 20px 17px;background:#fff}.consent-actions{display:flex;gap:9px}.consent-actions button{height:42px;border-radius:10px;padding:0 17px;font-size:11px;font-weight:700;cursor:pointer}.consent-actions .accept{border:0;background:var(--purple);color:#fff}.consent-actions .accept:hover{background:#584ac5}.consent-actions .decline{border:1px solid #e0e5ed;background:#fff;color:#798397}.candidate-controls form{display:grid;grid-template-columns:1fr 42px;gap:10px}.candidate-controls textarea{width:100%;min-height:48px;max-height:110px;resize:none;border:1px solid #e1e6ef;border-radius:12px;padding:11px 13px;outline:0;font:12px/1.45 Arial,Helvetica,sans-serif}.candidate-controls textarea:focus{border-color:#7668df;box-shadow:0 0 0 3px #6757d817}.candidate-controls form button{width:42px;height:42px;align-self:center;border:0;border-radius:12px;background:var(--purple);color:#fff;font-size:17px;cursor:pointer}.candidate-controls button:disabled{cursor:default;opacity:.55}.candidate-note{margin:11px 0 0;color:#a0a8b7;font-size:8px;line-height:1.5}.candidate-finished{display:flex;flex-direction:column;align-items:center;gap:4px;border-radius:12px;background:#effaf5;padding:12px;color:#25845f}.candidate-finished b{font-size:12px}.candidate-finished span{font-size:9px}.candidate-error{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:9px;border-radius:9px;background:#fff0f2;padding:9px 11px;color:#a74351;font-size:9px}.candidate-error button{border:0;border-radius:7px;background:#a74351;padding:6px 9px;color:#fff;font-size:8px;cursor:pointer}[hidden]{display:none!important}@keyframes candidateTyping{0%,60%,100%{transform:translateY(0);opacity:.4}30%{transform:translateY(-3px);opacity:1}}@media(max-width:980px){.candidate-page{grid-template-columns:1fr}.candidate-intro{min-height:auto;padding:26px 24px 30px}.candidate-copy{margin:54px 0 42px}.candidate-copy h1{font-size:44px}.candidate-trust{display:none}.candidate-chat{width:min(760px,calc(100% - 28px));height:700px;margin:14px auto 28px}}@media(max-width:560px){.candidate-intro{padding:22px 18px 24px}.candidate-copy{margin:42px 0 5px}.candidate-copy h1{margin:16px 0 12px;font-size:34px}.candidate-copy p{font-size:13px}.candidate-chat{width:100%;height:calc(100dvh - 285px);min-height:520px;margin:0;border-width:1px 0 0;border-radius:0}.candidate-chat-head{padding:14px 16px}.candidate-messages{padding:18px 14px 8px}.candidate-message>div{max-width:86%}.candidate-controls{padding:13px 14px}.consent-actions{display:grid}.consent-actions button{width:100%}}
