@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--navy:#102849;--navy2:#172f56;--blue:#19467f;--red:#db3546;--line:#e2e8f0;--muted:#718198;--ink:#1b2b42;--bg:#f5f7fa}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Manrope,Arial,sans-serif;color:var(--ink)}button,input,textarea{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}.public-container{width:min(1200px,calc(100% - 64px));margin:auto}.flag-line{display:grid;grid-template-columns:repeat(3,1fr);height:5px}.flag-line span:nth-child(1){background:#fff}.flag-line span:nth-child(2){background:#2b67b2}.flag-line span:nth-child(3){background:#e03948}.public-header{background:white;border-bottom:1px solid #e6eaf0}.header-row{min-height:89px;display:flex;justify-content:space-between;align-items:center;gap:30px}.brand{display:flex;align-items:center;gap:12px}.brand-mark{display:grid;place-items:center;width:45px;height:45px;background:#163d73;color:white;border-radius:12px;font-size:25px}.star-symbol{transform:rotate(15deg)}.brand-copy{display:flex;flex-direction:column}.brand-copy strong{font-weight:800;font-size:16px}.brand-copy small{font-size:9px;color:#657992;letter-spacing:.015em;max-width:220px}.public-header nav{display:flex;gap:29px;font-size:12px;font-weight:700;color:#44566e}.public-header nav a:hover{color:#1a64b3}.header-cta{padding:12px 17px;border:1px solid #d9e3f1;color:#234c80;font-size:11px;font-weight:800;border-radius:7px}.hero{background:linear-gradient(115deg,#10294c,#0b2445 68%,#173866);color:white;position:relative;overflow:hidden;padding:87px 0 99px}.hero:before{content:"";width:660px;height:660px;border:1px solid #ffffff0d;position:absolute;border-radius:50%;right:-170px;top:-230px;box-shadow:0 0 0 100px #ffffff05,0 0 0 205px #ffffff03}.hero-grid{display:grid;grid-template-columns:1fr 450px;gap:75px;position:relative;align-items:center;z-index:1}.hero-tag{display:inline-flex;align-items:center;gap:10px;font-size:10px;letter-spacing:.07em;font-weight:800;color:#dce8fb;background:#ffffff14;border:1px solid #ffffff20;border-radius:4px;padding:10px 12px}.live-dot,.mini-red-dot{width:7px;height:7px;display:inline-block;border-radius:50%;background:#f06c73}.hero-tag-divider{width:1px;height:12px;background:#ffffff44}.hero h1{font-size:clamp(35px,4vw,59px);letter-spacing:-.048em;line-height:1.14;margin:24px 0 19px;font-weight:800;max-width:700px}.hero-lead{font-size:14px;color:#c8d7ed;line-height:1.9;max-width:540px;margin:0 0 32px}.hero-buttons{display:flex;gap:24px;align-items:center}.btn{border:0;border-radius:8px;padding:13px 20px;font-weight:800;font-size:12px}.white-btn{display:inline-flex;align-items:center;gap:42px;padding:16px 20px;background:white;color:#112d53;font-size:12px;border-radius:7px;font-weight:800}.hero-secondary{font-size:12px;color:#d8e3f4;font-weight:700}.trust-line{font-size:10px;color:#adc3df;margin-top:39px;display:flex;gap:10px;align-items:center;flex-wrap:wrap}.trust-line i{width:3px;height:3px;background:#90b4d9;border-radius:50%}.trust-icon{border:1px solid #abc5df;border-radius:50%;width:17px;height:17px;display:grid;place-items:center}.hero-panel{background:white;color:var(--ink);border-radius:12px;padding:30px 29px;box-shadow:0 24px 80px #0314284f}.hero-panel-top{display:flex;justify-content:space-between;font-size:11px;letter-spacing:.08em;font-weight:800;color:#405672}.hero-panel-title{font-size:14px;margin:24px 0 18px;color:#41516a;font-weight:600}.countdown{display:flex;align-items:start;justify-content:space-between}.countdown>div{display:flex;flex-direction:column;align-items:center;min-width:68px}.countdown b{font-size:37px;letter-spacing:-.055em;color:#142a4a;line-height:1.3}.countdown small{font-size:10px;color:#8795a7}.countdown>span{font-size:30px;color:#8795aa;line-height:1.3}.panel-divider{height:1px;background:#e8edf4;margin:30px 0 23px}.stat-columns{display:grid;grid-template-columns:1fr 1fr;gap:20px}.stat-columns>div+div{border-left:1px solid #e6ebf0;padding-left:25px}.stat-columns small{display:block;color:#8491a3;font-size:9px;letter-spacing:.09em;font-weight:800}.stat-columns strong{display:block;font-size:28px;margin-top:7px}.hero-panel-foot{background:#f1f5fa;text-align:center;font-size:11px;color:#506886;font-weight:700;margin-top:24px;padding:13px;border-radius:5px}.hero-decoration{position:absolute;bottom:27px;left:50%;transform:translateX(-50%);white-space:nowrap;color:#91aac83d;font-size:10px;letter-spacing:.3em}.features{background:#fff;border-bottom:1px solid #e8edf3}.feature-row{display:grid;grid-template-columns:repeat(3,1fr);padding:28px 0}.feature-row>div{display:flex;gap:13px;align-items:center;justify-content:center;border-right:1px solid #e8edf3}.feature-row>div:first-child{justify-content:start}.feature-row>div:last-child{border:0;justify-content:end}.feature-icon{font-size:23px;color:#225999}.feature-row b,.feature-row small{display:block}.feature-row b{font-size:12px}.feature-row small{font-size:10px;color:#8493a5;margin-top:4px}.candidates-section{padding-top:89px;padding-bottom:104px}.section-label{font-size:10px;letter-spacing:.15em;font-weight:800;color:#2a6aa9}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin:10px 0 35px}.section-heading h2,.information-section h2,.rules-section h2{font-size:33px;letter-spacing:-.045em;margin:8px 0 10px}.section-heading p{font-size:13px;color:#8190a4;margin:0}.sort-note{font-size:11px;font-weight:800;color:#2c6795;background:#ebf3f9;padding:10px 12px;border-radius:5px;white-space:nowrap}.candidate-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px}.candidate-card{border:1px solid #e4eaf0;border-radius:9px;background:white;overflow:hidden;box-shadow:0 6px 24px #0b2a4e08}.candidate-photo{height:225px;background:linear-gradient(135deg,#d5e0ec,#edf2f8);position:relative;overflow:hidden;display:grid;place-items:center}.candidate-photo img{width:100%;height:100%;object-fit:cover;position:relative;z-index:1}.candidate-avatar{font-size:88px;color:#849cb4;font-weight:800}.candidate-rank{position:absolute;z-index:2;top:17px;left:17px;background:#fff;padding:8px 11px;border-radius:5px;color:#1b416f;font-size:11px;font-weight:800}.candidate-info{padding:25px}.candidate-info h3{font-size:17px;letter-spacing:-.025em;margin:0 0 9px}.candidate-info p{font-size:11px;color:#8190a2;line-height:1.75;min-height:40px;margin:0}.card-separator{height:1px;background:#ebeff3;margin:21px 0 15px}.candidate-votes{display:flex;justify-content:space-between;align-items:center;margin-bottom:17px}.candidate-votes span{font-size:11px;color:#8b98a9}.candidate-votes b{font-size:20px;color:#234970}.vote-button{width:100%;border:0;border-radius:6px;padding:15px 16px;background:#17457a;color:white;text-align:left;font-size:11px;font-weight:800;display:flex;justify-content:space-between;align-items:center}.vote-button:hover{background:#2466a7}.vote-button:disabled{background:#96a3b3;cursor:not-allowed}.information-section{background:#f2f6fb;padding:85px 0}.information-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:110px;align-items:center}.information-section h2{margin:15px 0 20px}.information-section p{font-size:13px;line-height:2.1;color:#667992}.text-link{display:inline-block;margin-top:16px;color:#215789;font-size:12px;font-weight:800}.info-highlight{border:1px solid #dce6f0;padding:35px;background:#fff;min-height:250px;position:relative}.info-highlight>span{font-weight:800;letter-spacing:.15em;font-size:9px;color:#7a8da5}.info-highlight h3{font-size:26px;letter-spacing:-.04em;margin:32px 0 10px}.info-highlight p{font-size:11px;margin:0}.decorative-tricolor{position:absolute;right:35px;top:32px;display:flex;gap:3px}.decorative-tricolor i{display:block;width:7px;height:28px;background:#e3e9f0}.decorative-tricolor i:nth-child(2){background:#326ab5}.decorative-tricolor i:nth-child(3){background:#d83e4d}.rules-section{padding-top:84px;padding-bottom:100px}.rules-card{display:flex;gap:22px;border:1px solid #e0e8f0;background:#fff;padding:28px;margin-top:25px;border-radius:8px}.rules-icon{width:38px;height:38px;min-width:38px;display:grid;place-items:center;border-radius:50%;background:#e9f2fc;color:#27609d;font-weight:800}.rules-card h3{margin:0 0 10px;font-size:15px}.rules-card p{color:#677990;font-size:12px;line-height:1.9}.rules-card .disclaimer{font-size:11px;color:#9aa6b5}.public-footer{background:#102849;color:#d4e0ee}.footer-top{display:grid;grid-template-columns:2fr 1fr 1.4fr;gap:40px;padding:60px 0}.footer-title{font-weight:800;font-size:17px;color:white}.footer-top p,.footer-top a,.footer-top span{display:block;font-size:11px;line-height:1.9;color:#9eb4cf;margin-top:10px}.footer-top b{display:block;color:white;font-size:12px;margin-bottom:15px}.footer-bottom{display:flex;justify-content:space-between;border-top:1px solid #ffffff18;padding:18px 0 25px;font-size:10px;color:#90aac8}.toast{position:fixed;z-index:40;bottom:25px;right:25px;background:#153d72;color:#fff;padding:15px 25px;border-radius:8px;box-shadow:0 10px 40px #0003;opacity:0;transform:translateY(20px);transition:.2s;pointer-events:none;font-size:13px}.toast.visible{opacity:1;transform:translateY(0)}
/* admin */
.admin-body{background:#f2f5f9;color:#25344b}.admin-layout{display:grid;grid-template-columns:260px 1fr;min-height:100vh}.sidebar{background:#102846;color:#dce7f6;padding:30px 17px;display:flex;flex-direction:column}.admin-brand{font-size:24px;color:#6aa9f8;padding:3px 12px 35px}.admin-brand span{font-size:15px;letter-spacing:.07em;font-weight:800;color:white;margin-left:8px}.side-label{font-size:10px;letter-spacing:.15em;color:#6e8aaa;margin:18px 12px 12px;font-weight:800}.site-nav{display:flex;gap:11px;align-items:center;font-size:12px;color:#a9bfda;padding:14px 12px;border-radius:7px;word-break:break-all}.site-nav.active{background:#22456e;color:white;font-weight:800}.green-dot{width:7px;height:7px;background:#61c9a6;border-radius:50%;flex-shrink:0}.add-site{border-top:1px solid #ffffff1c;margin-top:20px;padding:25px 9px}.add-site label{color:#bed0e6;font-size:11px}.add-site input{margin:10px 0 11px;background:#0e233e;border:1px solid #45617f;color:white}.add-site .btn{width:100%;color:white;border-color:#54749b}.sidebar-bottom{margin-top:auto;border-top:1px solid #ffffff1c;padding:20px 12px;display:flex;flex-direction:column;gap:15px;font-size:12px;color:#9bb5d3}.link-button{background:none;border:none;color:#a8bed8;padding:0}.admin-main{max-width:1250px;width:100%;margin:auto;padding:45px 53px}.admin-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px}.eyebrow{font-size:10px;letter-spacing:.15em;color:#6087b7;font-weight:800}.admin-head h1{font-size:29px;letter-spacing:-.04em;margin:8px 0}.admin-head p,.panel p{font-size:12px;color:#8a97a7}.admin-avatar{width:43px;height:43px;display:grid;place-items:center;border-radius:50%;background:#dce8f6;color:#32679b;font-size:12px;font-weight:800}.project-meta{display:flex;align-items:center;gap:13px;background:white;border:1px solid #e4e9f1;border-radius:9px;padding:15px 20px;font-size:12px;margin-bottom:25px}.project-meta strong{font-weight:800}.project-meta a{margin-left:auto;color:#2f72b1;font-size:11px;font-weight:800}.pill{background:#e5f8f1;color:#259069;padding:7px 10px;font-size:10px;border-radius:5px;font-weight:800}.tabs{display:flex;gap:23px;border-bottom:1px solid #dce4ef;margin-bottom:22px}.tab{background:none;border:none;padding:15px 3px;color:#8794a5;font-size:12px;font-weight:800;border-bottom:2px solid transparent}.tab.active{color:#225c9f;border-bottom-color:#2b6fb5}.panel{background:white;border:1px solid #e3e8f1;box-shadow:0 8px 30px #15345905;border-radius:10px;padding:30px;margin-bottom:20px}.panel-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:27px;gap:15px}.panel-title h2{font-size:19px;margin:0 0 7px}.panel-title p{margin:0}.grid-fields{display:grid;grid-template-columns:1fr 1fr;gap:21px}.grid-fields .wide{grid-column:1/-1}label{display:block;font-size:11px;font-weight:800;color:#53647b}input,textarea{display:block;width:100%;border:1px solid #dce4ee;border-radius:6px;padding:12px 13px;margin-top:9px;font-size:12px;color:#25384d;background:#fff;outline:none}textarea{resize:vertical;line-height:1.7}input:focus,textarea:focus{border-color:#4c89c8;box-shadow:0 0 0 3px #4c89c817}.hint{font-size:11px;line-height:1.7;color:#8290a5;background:#f5f8fc;border-left:3px solid #90b6df;padding:13px 15px;margin-top:24px}.primary{background:#225f9e;color:#fff}.primary:hover{background:#1b4e84}.outlined{border:1px solid #d4dfec;background:white;color:#3069a2}.save-bar{display:flex;justify-content:space-between;align-items:center;padding:17px 22px;background:white;border:1px solid #e1e8f0;border-radius:8px;gap:20px}.save-bar span{font-size:11px;color:#8997a7}.delete-form{text-align:right;margin:16px 0 0}.delete-form button,.remove-person{border:0;background:transparent;color:#c45b65;font-size:11px}.hidden{display:none}.person-editor{border:1px solid #e2e9f1;border-radius:8px;margin:16px 0;overflow:hidden}.person-heading{padding:15px 20px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e5ebf2;font-size:12px}.person-num{color:#2b6aa8;padding-right:10px}.person-content{display:grid;grid-template-columns:150px 1fr;gap:24px;padding:20px}.person-preview{width:150px;height:176px;background:#edf2f7;border-radius:5px;display:grid;place-items:center;color:#b0c0d2;font-size:10px;font-weight:800;position:relative;overflow:hidden}.person-preview img{width:100%;height:100%;object-fit:cover;position:absolute;z-index:1}.person-fields{display:grid;grid-template-columns:1fr 1fr;gap:15px}.person-fields label:nth-child(2),.person-fields label:nth-child(3){grid-column:1/-1}.person-fields textarea{min-height:64px}.auth-box{width:min(420px,calc(100% - 30px));margin:12vh auto;background:#fff;padding:35px;border-radius:13px;box-shadow:0 15px 70px #10284612}.auth-box .admin-brand{background:#102846;border-radius:7px;margin-bottom:25px;padding:17px}.auth-box h1{font-size:24px}.auth-box .muted{font-size:12px;color:#77889a;line-height:1.7}.auth-box form{margin-top:25px}.auth-box .btn{width:100%;margin-top:17px}.error,.success{padding:13px;border-radius:6px;font-size:12px;margin-bottom:20px}.error{background:#fff0f0;color:#b53642}.success{background:#e9f9f2;color:#267d58}.empty-panel{padding:60px;text-align:center}
@media(max-width:1000px){.hero-grid{grid-template-columns:1fr 370px;gap:30px}.hero h1{font-size:43px}.header-cta{display:none}.information-grid{gap:40px}.admin-main{padding:32px}.candidate-grid{gap:14px}.candidate-info{padding:20px}}
@media(max-width:720px){.public-container{width:min(100% - 36px,600px)}.header-row{min-height:70px}.brand-mark{width:39px;height:39px}.brand-copy strong{font-size:13px}.brand-copy small{max-width:170px;font-size:8px}.public-header nav{display:none}.hero{padding:49px 0 65px}.hero-grid{grid-template-columns:1fr;gap:39px}.hero h1{font-size:37px}.hero-lead{font-size:12px}.hero-buttons{gap:15px;flex-wrap:wrap}.hero-secondary{font-size:11px}.trust-line{margin-top:25px}.hero-panel{padding:23px 20px}.countdown b{font-size:32px}.countdown>div{min-width:45px}.hero-decoration{font-size:8px;letter-spacing:.1em}.feature-row{grid-template-columns:1fr;gap:0;padding:10px 0}.feature-row>div,.feature-row>div:first-child,.feature-row>div:last-child{justify-content:start;border-right:0;border-bottom:1px solid #e8edf3;padding:12px 0}.feature-row>div:last-child{border-bottom:0}.candidates-section{padding-top:60px;padding-bottom:60px}.section-heading{align-items:start;flex-direction:column}.section-heading h2,.information-section h2,.rules-section h2{font-size:27px}.candidate-grid{grid-template-columns:1fr}.candidate-photo{height:240px}.candidate-info p{min-height:0}.information-grid{grid-template-columns:1fr}.information-section{padding:60px 0}.rules-section{padding:65px 0}.footer-top{grid-template-columns:1fr 1fr;gap:23px}.footer-brand{grid-column:1/-1}.footer-bottom{flex-direction:column;gap:8px}.admin-layout{display:block}.sidebar{padding:13px;min-height:auto}.sidebar .admin-brand{padding:5px 0 13px}.sidebar nav{display:flex;overflow:auto;gap:7px}.site-nav{white-space:nowrap}.sidebar .side-label{margin:5px}.add-site{padding:12px 0;display:flex;gap:8px;align-items:end;margin-top:7px}.add-site label{flex:1}.add-site .btn{width:auto;padding:12px 9px;white-space:nowrap}.sidebar-bottom{display:none}.admin-main{padding:25px 15px}.admin-head h1{font-size:23px}.admin-avatar{display:none}.project-meta{flex-wrap:wrap}.tabs{gap:11px}.tab{font-size:10px}.panel{padding:20px 15px}.grid-fields,.person-content,.person-fields{grid-template-columns:1fr}.person-fields label:nth-child(2),.person-fields label:nth-child(3){grid-column:auto}.person-preview{width:100%;height:160px}.save-bar{align-items:stretch;flex-direction:column}.save-bar .btn{width:100%}.person-heading{padding:13px}.section-heading{gap:14px}}

/* GolosRU 2.0: editor affordances, pairs, pages and legal documents */
.add-site .add-project-btn{display:flex!important;justify-content:center;align-items:center;gap:6px;background:#327bdc!important;color:#fff!important;border:1px solid #67a6ff!important;box-shadow:0 8px 20px #0002;min-height:46px;opacity:1!important;visibility:visible!important}
.add-site .add-project-btn:hover{background:#4894f8!important;transform:translateY(-1px)}
.add-site .add-subpage-btn{display:flex;align-items:center;justify-content:center;background:#214d78;color:#fff!important;border:1px solid #466f9e;min-height:43px}
.add-site .add-subpage-btn:hover{background:#326599}
.domain-branch{margin:6px 0 12px;border-bottom:1px solid #ffffff16;padding-bottom:7px}
.domain-branch-row{display:flex;align-items:center;gap:2px;min-width:0}
.domain-branch-row .site-nav{flex:1;min-width:0;padding:11px 4px 11px 7px;overflow:hidden;text-overflow:ellipsis;word-break:break-word}
.site-nav.subpage-link{padding-left:13px;font-size:11px;color:#9bb6d6}
.copy-link,.edit-link{background:transparent;border:1px solid transparent;color:#a4bddb;font-weight:800;flex:0 0 29px;height:31px;border-radius:6px;display:grid;place-items:center;cursor:pointer;font-size:15px;padding:0}
.copy-link:hover,.edit-link:hover{background:#2d527f;color:#fff;border-color:#466c99}
.edit-link{font-size:17px;flex-basis:27px}
.copy-inline{background:#edf5ff;color:#225c99;border:0;padding:8px 10px;border-radius:6px;white-space:nowrap;font-weight:800;font-size:11px}
.address-rename{display:flex;align-items:end;gap:14px;max-width:600px}
.address-rename label{flex:1}
.address-rename .btn{white-space:nowrap}
.project-tools{margin-top:24px}
.project-tools>p{line-height:1.8}
.delete-form button{padding:8px 0;font-size:12px;font-weight:800}
.delete-form button:hover{color:#9c1928;text-decoration:underline}
.pair-heading{padding:25px 0 8px;border-top:1px solid #e0e8f1;margin-top:24px}
.pair-heading h3{margin:0 0 6px;font-size:17px}
.pair-heading p{font-size:12px;color:#72829b;line-height:1.7}
.pair-url{border:1px solid #dfebf7;border-radius:9px;background:#f4f8fd;padding:16px;margin:12px 0;line-height:1.7}
.pair-url input{font-weight:500;background:#fff;letter-spacing:.01em}
.pair-url small{display:block;font-size:10px;color:#8290a7;font-weight:500;margin-top:5px}
.photo-vote-wrap{padding:14px 18px 0;background:#fff}
.photo-vote-wrap .vote-button{text-decoration:none;min-height:48px;font-size:13px;letter-spacing:.01em;box-shadow:0 6px 14px #123e7520}
.photo-vote-wrap .vote-button:hover{color:#fff;text-decoration:none;transform:translateY(-1px)}
.photo-vote-wrap .vote-button:disabled{box-shadow:none;transform:none}
.candidate-info{padding-top:15px}
.candidate-info h3{margin:4px 0 8px}
.voting-note{margin-top:24px;color:#8897a9;font-size:11px;line-height:1.85;padding:14px 17px;border-left:3px solid #ced9e7;background:#f7f9fc}
.history-section{background:#fff;padding:80px 0}
.history-section h2{font-size:30px;letter-spacing:-.035em;margin:14px 0 28px}
.history-grid{display:grid;grid-template-columns:1fr 1fr;gap:35px}
.history-grid>div{border:1px solid #e4eaf1;border-radius:10px;padding:27px;background:#f8fafc}
.history-grid h3{margin:0 0 12px;font-size:17px;color:#17335e}
.history-grid p{font-size:12px;line-height:1.9;color:#6c7f97}
.legal-footer{grid-template-columns:1.45fr 1fr 1fr}
.legal-footer .footer-brand strong{color:#fff}
.legal-footer .footer-brand p{margin:4px 0;line-height:1.85}
.doc-top{min-height:88px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid #e2e8f1}
.doc-top a{color:#2364aa;font-size:13px;font-weight:800}
.doc-top strong{color:#1c3960;font-size:20px}
.doc-wrap{max-width:850px!important;padding:60px 0 92px}
.doc-wrap h1{font-size:clamp(28px,4vw,43px);margin:17px 0}
.doc-date{border-bottom:1px solid #e5eaf0;padding-bottom:23px;color:#8492a5;font-size:12px}
.doc-wrap h2{font-size:18px;line-height:1.6;margin:33px 0 8px}
.doc-wrap p{font-size:13px;line-height:2;color:#566982}
.doc-wrap a{color:#1e70bc;text-decoration:underline}
.doc-footer{background:#102849;color:#d0dfef;padding:24px 0}
.doc-footer .public-container{display:flex;justify-content:space-between;gap:15px;font-size:12px}
.doc-footer a{color:#fff;font-weight:800}
@media(max-width:720px){
 .sidebar nav.site-tree{display:block;max-height:215px;overflow:auto}
 .domain-branch-row{min-width:100%}
 .add-site{display:block}
 .add-site .btn{width:100%}
 .tabs{overflow:auto;white-space:nowrap;padding-bottom:2px}
 .tab{font-size:11px;flex-shrink:0}
 .history-section{padding:58px 0}
 .history-grid,.legal-footer{grid-template-columns:1fr}
 .history-section h2{font-size:26px}
 .legal-footer .footer-brand{grid-column:auto}
 .candidate-photo{height:255px}
 .photo-vote-wrap{padding:13px 16px 0}
 .address-rename{flex-direction:column;align-items:stretch}
 .doc-top{min-height:72px}
 .doc-top strong{font-size:17px}
 .doc-wrap{padding:38px 0 65px}
}

/* GolosRU 3.0 — Russian tricolor design / contestants first / results below */
:root{--navy:#102a51;--navy2:#173d70;--blue:#245eb6;--red:#c93442;--ink:#192f4a}
.flag-line{height:7px;grid-template-columns:repeat(3,1fr);background:#fff}
.flag-line span:nth-child(1){background:#fff}
.flag-line span:nth-child(2){background:#225bb5}
.flag-line span:nth-child(3){background:#d63b4f}
.public-header{box-shadow:0 5px 25px #0a27500a;position:relative;z-index:9}
.brand-mark{border-radius:10px;background:linear-gradient(150deg,#173a6d,#10274f);box-shadow:0 7px 18px #10274f20}
.mini-flag{width:28px;height:22px;display:grid;grid-template-rows:repeat(3,1fr);transform:rotate(-8deg);border-radius:2px;overflow:hidden;box-shadow:0 2px 7px #0004}
.mini-flag i:nth-child(1){background:#fff}.mini-flag i:nth-child(2){background:#235cba}.mini-flag i:nth-child(3){background:#e14554}
.brand-copy strong{font-size:21px;letter-spacing:-.045em;color:#14365f}
.brand-copy small{max-width:255px;font-size:10px}
.hero.hero-rework{background:radial-gradient(ellipse 630px 340px at 85% 30%,#2a5392 0,transparent 85%),linear-gradient(120deg,#071f41,#0e325f 63%,#153966);padding:65px 0 0}
.hero-rework:before{width:650px;height:650px;top:-180px;right:-140px;box-shadow:0 0 0 60px #ffffff04,0 0 0 190px #ffffff03}
.hero-rework .hero-grid{grid-template-columns:minmax(0,1.17fr) minmax(340px,.83fr);gap:40px;min-height:380px;align-items:center}
.hero-rework .hero-content{position:relative;z-index:3;padding-bottom:30px}
.hero-kicker{color:#bad0ed;font-weight:800;font-size:11px;letter-spacing:.18em;margin-top:27px;text-transform:uppercase}
.hero-kicker span{color:#e75b65;padding:0 6px}
.hero-rework h1{font-size:clamp(35px,4.5vw,61px);line-height:1.09;max-width:730px;letter-spacing:-.052em;margin:13px 0 23px}
.hero-rework .hero-lead{font-size:15px;line-height:1.85;max-width:680px;color:#d5e4f5;margin-bottom:27px}
.hero-rework .white-btn{background:#fff;color:#0c2d56;box-shadow:0 14px 40px #01132c55;transition:transform .2s,background .2s}
.hero-rework .white-btn:hover{background:#f3f6fd;transform:translateY(-2px)}
.hero-rework .trust-line{margin-top:27px;color:#a8c3e4;max-width:620px}
.hero-visual{position:relative;min-height:360px;display:grid;align-items:center;justify-items:center;isolation:isolate}
.flag-glow{position:absolute;z-index:-1;width:330px;height:330px;border-radius:50%;background:radial-gradient(circle,#cfe9ff24 0,#b2d7ff0b 50%,transparent 72%);box-shadow:0 0 0 33px #ffffff07,0 0 0 69px #ffffff05}
.flag-wave{position:relative;z-index:1;width:min(390px,100%);height:235px;display:flex;flex-direction:column;overflow:hidden;border:1px solid #ffffff3b;box-shadow:0 30px 80px #0005,16px -8px 0 #ffffff08;border-radius:10px 42px 25px 44px;transform:perspective(700px) rotateY(-13deg) rotateZ(-5deg) skewY(-2deg)}
.flag-wave:after{content:"";position:absolute;inset:0;background:linear-gradient(92deg,#00000024,#ffffff55 40%,#ffffff06 73%,#00000033);pointer-events:none}
.flag-stripe{flex:1}.flag-stripe.white{background:#fff}.flag-stripe.blue{background:#2259b5}.flag-stripe.red{background:#da344a}
.flag-caption{position:absolute;z-index:2;bottom:-1px;left:14px;right:0;display:flex;align-items:end;justify-content:space-between;gap:15px;color:#c1d6f2}
.flag-caption span{font-size:9px;letter-spacing:.13em;font-weight:800;line-height:1.8}
.flag-caption strong{text-align:right;color:#fff;font-size:19px;letter-spacing:.14em;line-height:1.15}
.rf-visual-outline{position:absolute;inset:0;display:grid;place-items:center;color:#ffffff08;font-size:220px;font-weight:800;letter-spacing:-.11em;z-index:-1;user-select:none}
.hero-summary{position:relative;z-index:4;border-top:1px solid #ffffff26;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 0 21px;margin-top:30px;font-size:11px;color:#b5cee9}
.hero-summary b{color:#fff;font-weight:800}
.hero-summary span:last-child{text-align:right}
.candidates-section{padding-top:72px;padding-bottom:80px}
.candidates-section .section-label{color:#bb2f48}
.section-heading h2{font-size:clamp(28px,3vw,38px);color:#132e53}
.candidate-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.candidate-card{border-radius:16px;box-shadow:0 10px 36px #132f5110;transition:transform .2s,box-shadow .2s}
.candidate-card:hover{transform:translateY(-3px);box-shadow:0 20px 45px #132f511c}
.candidate-photo{height:260px;padding:22px;display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse at 50% 30%,#f1f7ff,#e4ecf8 75%,#d8e4f4);overflow:hidden}
.candidate-photo img{display:block;position:relative;z-index:1;width:min(216px,95%);height:min(216px,95%);border-radius:50%;object-fit:cover;object-position:50% 50%;border:7px solid #fff;box-shadow:0 14px 36px #1a38682e;aspect-ratio:1/1;flex-shrink:0}
.candidate-avatar{position:absolute;font-size:75px;color:#829cbb;z-index:0}
.candidate-rank{top:16px;left:16px;border-radius:24px;z-index:3;border:1px solid #d4e0ed}
.candidate-info{padding:20px 22px 24px}
.candidate-info h3{color:#14305a;font-size:19px}
.candidate-info p{font-size:12px;min-height:52px}
.candidate-votes{margin-bottom:0}
.photo-vote-wrap{padding:0 20px;margin-top:-2px;background:#fff}
.photo-vote-wrap .vote-button{justify-content:center;position:relative;min-height:50px;font-size:13px;border-radius:9px;background:linear-gradient(102deg,#1a4c8f,#245ea9);box-shadow:0 8px 18px #0d35672a;transition:transform .17s,background .17s}
.photo-vote-wrap .vote-button span{position:absolute;right:18px;font-size:17px}
.photo-vote-wrap .vote-button:hover{background:#2b69bb}
.results-section{padding:83px 0 90px;background:linear-gradient(110deg,#f0f5fc,#f7f9fe)}
.results-intro{margin-bottom:25px}.results-intro h2{font-size:clamp(27px,3vw,36px);letter-spacing:-.045em;color:#16355b;margin:12px 0 6px}
.results-intro p{font-size:13px;color:#75869b;margin:0}
.results-panel{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:20px;align-items:stretch}
.time-result,.stats-result{background:#fff;border:1px solid #e2e9f4;box-shadow:0 12px 45px #102e5810;border-radius:15px;padding:31px 32px}
.time-result h3{font-size:18px;color:#17365e;margin:15px 0 19px}.result-kicker{font-size:10px;letter-spacing:.07em;font-weight:800;color:#38628f;display:flex;gap:9px;align-items:center}.deadline-note{margin:22px 0 0;font-size:11px;color:#8595ac}
.results-panel .countdown{max-width:415px;gap:7px}.results-panel .countdown>div{min-width:50px}.results-panel .countdown b{font-size:36px}.results-panel .countdown small{font-size:11px}.results-panel .countdown>span{font-size:28px}
.stats-result{display:grid;grid-template-columns:1fr 1fr;gap:25px;align-items:center}
.stats-result>div+div{border-left:1px solid #e2e8f0;padding-left:25px}.stats-result span{display:block;font-size:12px;color:#63799a;font-weight:700}.stats-result strong{display:block;font-size:clamp(26px,3vw,38px);color:#1a4b87;margin:8px 0;letter-spacing:-.04em}.stats-result small{display:block;color:#8b9bb1;font-size:10px;line-height:1.65}
.features{background:#fff}.history-section{background:#f9fbfd}.information-section{background:#f2f6fb}
.person-preview img{object-fit:cover;object-position:50% 50%}
.ssl-badge{font-size:9px;color:#bfcee1;padding:0 5px 8px 40px;letter-spacing:.015em}
.ssl-badge.active{color:#93e6be}.ssl-badge.error{color:#f3ce98}.ssl-badge.dns_wait{color:#bdcee7}
.ssl-info{display:flex;flex-direction:column;gap:4px;background:#eef5ff;color:#3b587d;border:1px solid #dbe9f8;padding:13px 17px;border-radius:9px;margin:0 0 22px;font-size:12px;line-height:1.65}
.ssl-info strong{color:#245284;font-size:12px}.ssl-info.active{background:#e9f8f0;border-color:#c5e9d8;color:#2c7a55}.ssl-info.active strong{color:#18704b}.ssl-info.error{background:#fff5e9;border-color:#f4dec3}
@media(max-width:1100px){.hero-rework .hero-grid{grid-template-columns:minmax(0,1fr) 330px;gap:15px}.hero-rework h1{font-size:43px}.flag-wave{height:205px}.hero-visual{min-height:330px}.candidate-grid{gap:12px}.candidate-photo{height:233px}.candidate-photo img{height:185px;width:185px}.results-panel{grid-template-columns:1fr}}
@media(max-width:720px){.brand-copy strong{font-size:19px}.flag-line{height:6px}.hero.hero-rework{padding:40px 0 0}.hero-rework .hero-grid{grid-template-columns:1fr;gap:0}.hero-rework h1{font-size:clamp(33px,8.7vw,43px);margin:11px 0 17px}.hero-kicker{font-size:9px;letter-spacing:.12em;margin-top:20px}.hero-rework .hero-lead{font-size:13px}.hero-rework .hero-content{padding-bottom:0}.hero-rework .hero-visual{min-height:250px;margin-top:7px}.flag-wave{height:163px;max-width:275px;transform:perspective(600px) rotateY(-10deg) rotateZ(-4deg) skewY(-2deg)}.flag-glow{width:250px;height:250px}.flag-caption{bottom:0}.flag-caption span{font-size:7px}.flag-caption strong{font-size:13px}.rf-visual-outline{font-size:160px}.hero-summary{margin-top:2px;flex-direction:column;align-items:flex-start;gap:8px;font-size:10px}.hero-summary span:last-child{text-align:left}.hero-rework .trust-line{font-size:9px}.candidate-grid{grid-template-columns:1fr}.candidates-section{padding-top:56px;padding-bottom:57px}.candidate-photo{height:259px}.candidate-photo img{width:216px;height:216px}.candidate-info p{min-height:0}.results-section{padding:55px 0}.time-result,.stats-result{padding:24px 19px}.results-panel{gap:14px}.stats-result{gap:12px}.stats-result>div+div{padding-left:12px}.stats-result strong{font-size:27px}.results-panel .countdown b{font-size:clamp(23px,6.9vw,34px)}.results-panel .countdown>div{min-width:0}.results-panel .countdown>span{font-size:25px}.result-kicker{font-size:9px}.ssl-badge{padding-left:35px}}
@media(min-width:600px) and (max-width:900px){.candidate-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.candidate-card,.photo-vote-wrap .vote-button{transition:none}}

/* GolosRU: local photo uploads */
.photo-controls{grid-column:1/-1!important}
.upload-hint{font-weight:500;color:#8292a5;display:block;margin:7px 0}
.file-upload-line{display:flex;flex-direction:column;gap:5px;margin-top:7px}
.file-input{font-size:12px;padding:10px;border:1px dashed #87add3;background:#f5f9fd;cursor:pointer}
.file-input::file-selector-button{border:0;border-radius:6px;background:#1f579b;color:#fff;font-weight:800;padding:10px 14px;margin-right:12px;cursor:pointer}
.upload-status{display:block;min-height:17px;font-size:10px;color:#6d829b;font-weight:600;line-height:1.7}
.person-preview img{object-position:center center!important}
.candidate-photo img{object-position:center center!important}
@media(max-width:720px){.photo-controls{grid-column:1/-1!important}}

/* v4: compact multi-domain controls */
.sidebar{padding:16px 11px}
.admin-layout{grid-template-columns:252px minmax(0,1fr)}
.sidebar .admin-brand{display:flex;align-items:baseline;gap:6px;padding:7px 6px 16px;white-space:nowrap}
.admin-brand .admin-golos{font-size:24px;font-weight:900;letter-spacing:-1px;color:#78b9ff;margin:0}
.admin-brand .admin-golos b{font-weight:900;color:#ff6675}
.admin-brand .admin-control{font-size:9px;letter-spacing:0;color:#88a9ce;margin:0}
.auth-box .admin-brand{padding:14px}
.side-label{font-size:9px;letter-spacing:.09em;margin:10px 5px 8px}
.sidebar nav.site-tree{display:block;overflow-y:auto;max-height:min(65vh,850px);scrollbar-width:thin}
.domain-branch{margin:0!important;padding:1px 0!important;border-bottom:1px solid #ffffff12}
.domain-branch-row{display:flex;align-items:center;gap:2px;min-height:33px}
.domain-branch-row .site-nav{display:flex;gap:6px;padding:7px 3px!important;min-height:32px;flex:1;min-width:0;font-size:11px}
.domain-branch-row .host-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.copy-link,.edit-link{height:26px;flex:0 0 23px;font-size:13px}
.domain-check{display:grid;place-items:center;width:16px;height:16px;border-radius:50%;flex:0 0 16px;color:white;font-weight:900;font-size:11px}
.domain-check.used{background:#df4255}
.domain-check.waiting{background:#f1ad27;color:#403207}
.ssl-mini{display:block;font-size:9px;line-height:1;flex:0 0 10px;color:#7795b9;cursor:help}
.ssl-mini.active{color:#44d4a2}.ssl-mini.error{color:#e07567}.ssl-mini.dns_wait{color:#edb94e}.ssl-mini.issuing{color:#57abff}
.domain-branch-row .site-nav.subpage-link{padding-left:5px!important;font-size:10px}
.add-site.bulk-domain-form{margin-top:13px;padding:14px 4px 5px}
.bulk-domain-form textarea{background:#0e233e;border:1px solid #45617f;color:white;min-height:68px;resize:vertical;font-size:11px;margin:8px 0}
.bulk-domain-form textarea::placeholder{color:#829cb9}
.bulk-domain-form small{display:block;font-size:9px;line-height:1.5;color:#90a9c6;margin-top:9px}
.brand-copy .logo-blue{color:#18569d}.brand-copy .logo-red{color:#d63d4a}
@media(max-width:720px){.admin-layout{display:block}.sidebar nav.site-tree{max-height:235px}.sidebar{padding:12px}.sidebar .admin-brand{padding:4px 5px 12px}.domain-branch{min-width:210px}}
