.app{min-height:100vh;display:flex;flex-direction:column}.header{background:var(--primary);color:#fff;padding:0}.header-top{display:flex;align-items:center;justify-content:space-between;padding:1rem 2rem;max-width:1000px;margin:0 auto;width:100%}.header-logo{display:flex;align-items:center;gap:.85rem}.header-emblem{width:48px;height:48px;background:#ffffff26;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:1.5rem;border:2px solid rgba(255,255,255,.3)}.header-info h1{font-size:1rem;font-weight:700;letter-spacing:.01em;line-height:1.3}.header-info p{font-size:.75rem;opacity:.75;font-weight:400}.header-user{display:flex;align-items:center;gap:.65rem}.header-user-avatar{width:34px;height:34px;border-radius:50%;border:2px solid rgba(255,255,255,.4);object-fit:cover}.header-user-avatar-placeholder{width:34px;height:34px;border-radius:50%;background:#fff3;display:flex;align-items:center;justify-content:center;font-size:.8rem;font-weight:700;border:2px solid rgba(255,255,255,.3)}.header-user-name{font-size:.85rem;font-weight:500}.header-logout{background:#ffffff26;border:1px solid rgba(255,255,255,.2);color:#fff;padding:.35rem .75rem;border-radius:6px;cursor:pointer;font-size:.75rem;font-family:inherit;transition:background .2s}.header-logout:hover{background:#ffffff40}.header-nav{background:var(--primary-dark);padding:0 2rem}.header-nav-inner{max-width:1000px;margin:0 auto;display:flex;gap:.25rem}.header-nav-item{padding:.6rem 1rem;font-size:.8rem;font-weight:500;color:#ffffffb3;cursor:default}.header-nav-item.active{color:#fff;border-bottom:2px solid var(--gold)}.banner{background:var(--bg-white);border-bottom:1px solid var(--border-light)}.banner-inner{max-width:1000px;margin:0 auto;padding:2.5rem 2rem;display:flex;align-items:center;gap:2rem}.banner-icon{width:80px;height:80px;background:var(--primary-light);border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:2.2rem;flex-shrink:0;border:3px solid var(--primary)}.banner-text h2{font-size:1.5rem;font-weight:800;color:var(--text-dark);margin-bottom:.4rem}.banner-text p{font-size:.95rem;color:var(--text-light);line-height:1.5}.banner-meta{display:flex;gap:1.5rem;margin-top:.75rem;flex-wrap:wrap}.banner-meta-item{display:flex;align-items:center;gap:.4rem;font-size:.8rem;color:var(--text-light)}.banner-meta-item span:first-child{font-size:1rem}.auth-section{max-width:480px;margin:2rem auto;padding:0 1.5rem;width:100%}.auth-card{background:var(--bg-white);border:1px solid var(--border-light);border-radius:var(--radius);padding:2.5rem 2rem;text-align:center;box-shadow:var(--shadow)}.auth-card-icon{width:64px;height:64px;background:var(--primary-light);border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:1.75rem;margin:0 auto 1.25rem}.auth-card h3{font-size:1.15rem;font-weight:700;color:var(--text-dark);margin-bottom:.5rem}.auth-card p{font-size:.9rem;color:var(--text-light);line-height:1.6;margin-bottom:1.75rem}.telegram-btn{display:inline-flex;align-items:center;gap:.6rem;background:var(--telegram);color:#fff;border:none;padding:.75rem 1.75rem;border-radius:8px;font-size:.95rem;font-weight:600;font-family:inherit;cursor:pointer;transition:all .2s;box-shadow:0 2px 8px #2aabee4d}.telegram-btn:hover{background:#229ed9;transform:translateY(-1px);box-shadow:0 4px 12px #2aabee59}.telegram-btn svg{width:20px;height:20px}.auth-notice{margin-top:1.25rem;padding:.75rem 1rem;background:var(--gold-light);border-radius:8px;border-left:3px solid var(--gold);font-size:.78rem;color:#8a7020;text-align:left;line-height:1.5}.content{max-width:1000px;margin:0 auto;padding:1.5rem 2rem 3rem;width:100%}.vote-success-bar{background:var(--green-light);border:1px solid #b8e6c8;border-radius:var(--radius);padding:1rem 1.25rem;display:flex;align-items:center;gap:.75rem;margin-bottom:1.5rem;animation:slideDown .3s ease}.vote-success-bar span:first-child{font-size:1.2rem}.vote-success-bar-text{font-size:.9rem;font-weight:600;color:#1e7e46}.vote-success-bar-text small{font-weight:400;display:block;font-size:.8rem;color:#3a9c5e;margin-top:.15rem}@keyframes slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.25rem;flex-wrap:wrap;gap:.75rem}.section-title{font-size:1.1rem;font-weight:700;color:var(--text-dark);display:flex;align-items:center;gap:.5rem}.section-title:before{content:"";width:4px;height:20px;background:var(--primary);border-radius:2px}.total-badge{font-size:.8rem;color:var(--text-light);background:var(--bg-white);padding:.4rem .9rem;border-radius:999px;border:1px solid var(--border-light);box-shadow:var(--shadow)}.candidates-list{display:flex;flex-direction:column;gap:.85rem}.candidate-card{background:var(--bg-white);border:1px solid var(--border-light);border-radius:var(--radius);padding:1.25rem 1.5rem;display:grid;grid-template-columns:auto 1fr auto;gap:1.25rem;align-items:center;transition:all .2s;box-shadow:var(--shadow)}.candidate-card:hover{box-shadow:var(--shadow-hover);border-color:var(--border)}.candidate-card.voted{border-color:var(--primary);background:var(--primary-light);box-shadow:0 2px 12px #2c5f8a1a}.candidate-number{width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:1rem;font-weight:800;color:#fff;flex-shrink:0}.candidate-body{min-width:0}.candidate-name{font-size:1rem;font-weight:700;color:var(--text-dark);margin-bottom:.15rem}.candidate-class{font-size:.78rem;color:var(--text-light);margin-bottom:.5rem}.candidate-program{font-size:.85rem;color:var(--text);line-height:1.5;margin-bottom:.75rem}.candidate-progress{display:flex;align-items:center;gap:.75rem}.candidate-bar{flex:1;height:8px;background:var(--bg);border-radius:4px;overflow:hidden}.candidate-bar-fill{height:100%;border-radius:4px;transition:width .6s cubic-bezier(.22,1,.36,1)}.candidate-stats{font-size:.78rem;color:var(--text-light);white-space:nowrap;min-width:90px;text-align:right}.candidate-stats strong{color:var(--text-dark);font-weight:700}.candidate-action{flex-shrink:0}.vote-btn{padding:.6rem 1.5rem;border-radius:8px;border:none;font-size:.85rem;font-weight:600;font-family:inherit;cursor:pointer;transition:all .2s;white-space:nowrap}.vote-btn.can-vote{background:var(--primary);color:#fff;box-shadow:0 2px 8px #2c5f8a40}.vote-btn.can-vote:hover{background:var(--primary-dark);transform:translateY(-1px);box-shadow:0 4px 12px #2c5f8a4d}.vote-btn.already-voted{background:var(--green);color:#fff;cursor:default}.vote-btn.other-voted{background:var(--bg);color:var(--text-light);border:1px solid var(--border-light);cursor:default}.rules-card{background:var(--bg-white);border:1px solid var(--border-light);border-radius:var(--radius);padding:1.25rem 1.5rem;margin-top:1.25rem;box-shadow:var(--shadow)}.rules-title{font-size:.9rem;font-weight:700;color:var(--text-dark);margin-bottom:.75rem;display:flex;align-items:center;gap:.5rem}.rules-list{list-style:none}.rules-list li{font-size:.82rem;color:var(--text);padding:.45rem 0;border-bottom:1px solid var(--border-light);display:flex;align-items:baseline;gap:.5rem;line-height:1.45}.rules-list li:last-child{border-bottom:none}.rules-list li span:first-child{flex-shrink:0}.footer{margin-top:auto;background:var(--primary-dark);color:#fff9;padding:1.25rem 2rem;text-align:center;font-size:.78rem}.footer a{color:#fffc;text-decoration:none}@media(max-width:700px){.header-top{padding:.85rem 1.25rem}.header-emblem{width:40px;height:40px;font-size:1.2rem}.header-info h1{font-size:.9rem}.header-nav{padding:0 1.25rem;overflow-x:auto}.banner-inner{padding:1.75rem 1.25rem;flex-direction:column;text-align:center;gap:1rem}.banner-icon{width:64px;height:64px;font-size:1.8rem}.banner-text h2{font-size:1.25rem}.banner-meta{justify-content:center}.content{padding:1.25rem 1.25rem 2rem}.candidate-card{grid-template-columns:auto 1fr;gap:1rem;padding:1rem 1.15rem}.candidate-action{grid-column:1 / -1}.vote-btn{width:100%}.auth-card{padding:2rem 1.5rem}}.auth-page{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:1.5rem;background:var(--bg)}.auth-card{background:var(--bg-white);border:1px solid var(--border-light);border-radius:var(--radius);padding:2.5rem 2rem;max-width:420px;width:100%;text-align:center;box-shadow:var(--shadow)}.auth-card h2{font-size:1.35rem;font-weight:800;color:var(--text-dark);margin-bottom:.25rem}.auth-card h3{font-size:1.1rem;font-weight:700;color:var(--text-dark);margin-bottom:.5rem}.auth-card-header{margin-bottom:1.5rem}.auth-icon-big{font-size:3rem;margin-bottom:.75rem}.auth-hint{color:var(--text-light);font-size:.88rem;line-height:1.5}.auth-steps{display:flex;justify-content:center;gap:1.5rem;margin-bottom:1.75rem}.auth-step{display:flex;flex-direction:column;align-items:center;gap:.4rem;font-size:.75rem;color:var(--text-light);transition:color .2s}.auth-step.active{color:var(--primary)}.auth-step.done{color:var(--green)}.auth-step-dot{width:30px;height:30px;border-radius:50%;background:var(--border-light);display:flex;align-items:center;justify-content:center;font-size:.75rem;font-weight:700;transition:all .2s}.auth-step.active .auth-step-dot{background:var(--primary);color:#fff}.auth-step.done .auth-step-dot{background:var(--green);color:#fff}.auth-form-group{margin-bottom:1rem;text-align:left}.auth-form-group label{display:block;font-size:.8rem;font-weight:600;color:var(--text-light);margin-bottom:.4rem}.auth-input{width:100%;padding:.75rem 1rem;background:var(--bg);border:1px solid var(--border);border-radius:8px;color:var(--text-dark);font-size:1rem;font-family:inherit;outline:none;transition:border-color .2s}.auth-input:focus{border-color:var(--primary)}.auth-input::placeholder{color:var(--text-light);opacity:.6}.auth-btn{width:100%;padding:.75rem;border:none;border-radius:8px;font-size:.95rem;font-weight:600;font-family:inherit;cursor:pointer;transition:all .2s}.auth-btn-primary{background:var(--primary);color:#fff;box-shadow:0 2px 8px #2c5f8a40}.auth-btn-primary:hover:not(:disabled){background:var(--primary-dark);transform:translateY(-1px);box-shadow:0 4px 12px #2c5f8a4d}.auth-btn-primary:disabled{opacity:.5;cursor:not-allowed}.auth-btn-secondary{background:transparent;color:var(--text-light);margin-top:.5rem}.auth-btn-secondary:hover{color:var(--text-dark)}.auth-error{background:var(--accent-light);border:1px solid rgba(192,57,43,.3);color:var(--accent);padding:.65rem 1rem;border-radius:8px;font-size:.82rem;margin-bottom:1rem;text-align:left}.auth-result-info{margin:1rem 0;text-align:left}.auth-result-row{display:flex;justify-content:space-between;padding:.6rem 0;border-bottom:1px solid var(--border-light);font-size:.88rem}.auth-result-row:last-child{border-bottom:none}.auth-result-label{color:var(--text-light)}*,*:before,*:after{margin:0;padding:0;box-sizing:border-box}:root{--bg: #f5f0eb;--bg-white: #ffffff;--bg-warm: #faf7f3;--primary: #2c5f8a;--primary-dark: #1e4466;--primary-light: #e8f0f7;--accent: #c0392b;--accent-light: #fdecea;--gold: #d4a017;--gold-light: #fdf6e3;--green: #27ae60;--green-light: #eafaf1;--text: #2c3e50;--text-light: #7f8c8d;--text-dark: #1a252f;--border: #ddd5cb;--border-light: #ece7e0;--shadow: 0 2px 12px rgba(0, 0, 0, .06);--shadow-hover: 0 4px 20px rgba(0, 0, 0, .1);--telegram: #2AABEE;--radius: 12px}html{font-size:16px;scroll-behavior:smooth}body{font-family:Inter,-apple-system,BlinkMacSystemFont,sans-serif;background:var(--bg);color:var(--text);min-height:100vh;-webkit-font-smoothing:antialiased}#root{min-height:100vh;display:flex;flex-direction:column}::selection{background:var(--primary);color:#fff}
