@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}}

/* GolosRU: compact per-domain external browser checkbox */
.external-mode-help{font-size:10px;line-height:1.35;color:#93acd1;padding:2px 10px 11px}
.external-mode-form{margin:0;display:flex;flex:0 0 24px;align-items:center;justify-content:center}
.external-mode-label{display:flex;align-items:center;justify-content:center;position:relative;cursor:pointer;width:24px;height:27px}
.external-mode-check{position:absolute;inset:2px;width:20px;height:22px;margin:0;opacity:0;cursor:pointer}
.external-mode-label span{display:grid;place-items:center;border:1px solid #49627e;color:#8ba3c4;border-radius:6px;width:20px;height:22px;font-size:13px;pointer-events:none}
.external-mode-check:checked + span{background:#1b8d6b;border-color:#48caa4;color:#fff}
.external-mode-check:focus-visible + span{outline:2px solid #89b7ff;outline-offset:2px}

/* Domain health, selection and trash controls */
.domain-actions{display:flex;gap:5px;flex-wrap:wrap;padding:7px 10px}.small-action{border:1px solid #6c87a3;background:#25496d;color:#fff;padding:6px 8px;border-radius:7px;font-size:11px;text-decoration:none;cursor:pointer}.small-action:disabled{opacity:.5}.check-progress{color:#bdd6f2;font-size:11px}.domain-select{width:13px;height:13px;flex:0 0 13px;margin:0 2px 0 0;accent-color:#73d1fe}.check-badge{font-size:10px;max-width:65px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex-shrink:1;color:#a1b4c9}.check-badge.ok{color:#58d99d}.check-badge.bad,.check-badge.error,.check-badge.dns{color:#ffb08a}.tiny-trash-form{margin:0;display:flex}.tiny-trash-form button{border:0;background:none;color:#b8cadf;cursor:pointer;font-size:13px;padding:2px}.tiny-trash-form button:hover{color:#ff9e9e}.trash-entry{display:flex;flex-wrap:wrap;align-items:center;gap:12px;border-bottom:1px solid #d9e4ee;padding:12px 3px}.trash-entry small{color:#687d93}.trash-entry form{margin:0}.small-action.danger{background:#862d46}@media(max-width:660px){.check-badge{max-width:42px}.domain-actions{gap:4px}}

.tiny-trash-form button.suggest-delete{color:#ff706e;text-shadow:0 0 6px #f004} 

/* Scan4Ban: opt-in external manual check (no undocumented API or captcha bypass) */
.scan4ban-domain{border:1px solid #536e88;background:#1d3a55;color:#b7e9ff;border-radius:6px;width:22px;height:25px;display:grid;place-items:center;font-size:12px;cursor:pointer;flex:0 0 22px;padding:0}.scan4ban-domain:hover{background:#2a5b81;color:#fff}.scan4ban-domain:focus-visible{outline:2px solid #9cd7ff;outline-offset:1px}

/* GOLOSRU_SIDEBAR_WIDE_20261110 */

@media (min-width:900px) {

.admin-layout {
    display:grid!important;
    grid-template-columns:600px minmax(0,1fr)!important;
}

.sidebar {
    width:600px!important;
    max-width:600px!important;
    box-sizing:border-box;
    padding:20px 18px!important;
}

.sidebar nav.site-tree {
    width:100%;
    overflow-x:hidden;
}

.domain-branch-row {
    display:flex;
    align-items:center;
    gap:6px!important;
    min-height:43px!important;
}

.domain-branch-row .site-nav {
    flex:1 1 auto!important;
    min-width:0!important;
    font-size:13px!important;
}

.domain-branch-row .host-label {
    font-size:13px!important;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.check-badge {
    max-width:120px!important;
    min-width:55px;
    font-size:11px!important;
    background:transparent!important;
    border:0!important;
    padding:2px!important;
    box-shadow:none!important;
}

.domain-actions {
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}

.domain-actions .small-action {
    font-size:12px;
    padding:8px 12px;
}

}


/* GOLOSRU_SELECT_BAD_20261110 */
@media(min-width:900px){.admin-layout{grid-template-columns:600px minmax(0,1fr)!important}.sidebar{width:600px;max-width:600px;box-sizing:border-box}.domain-branch-row .site-nav{min-width:0;flex:1}.domain-branch-row .host-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.check-badge{max-width:90px!important;min-width:70px;text-align:center}}

/* GOLOSRU_NEXT_20261110: refreshed modes + controls */
@media(min-width:900px){.admin-layout{display:grid!important;grid-template-columns:minmax(540px,600px) minmax(0,1fr)!important}.sidebar{width:100%!important;max-width:none!important;padding:20px 22px!important}.domain-branch-row{display:flex;align-items:center;gap:7px!important;min-height:43px}.domain-branch-row .site-nav{flex:1 1 auto!important;min-width:0!important}.host-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px!important}.check-badge{min-width:83px!important;max-width:100px!important;font-size:10px!important;border-radius:7px!important;background:transparent!important;border:0!important;padding:4px!important;box-shadow:none!important}.admin-main{max-width:none;min-width:0;padding:36px 40px}}
.mode-switch{display:flex;flex-wrap:wrap;gap:7px;margin:10px 0 8px}.mode-switch a{border-radius:9px;padding:9px 12px;background:#ffffff12;color:#d0dff2;font-size:12px;font-weight:800;border:1px solid #ffffff24}.mode-switch a.active{background:#7f5cff;color:#fff}.mode-switch .mode-settings{margin-left:auto}.mode-caption{font-size:10px;opacity:.7;line-height:1.5;margin-bottom:22px}.domain-actions{display:flex!important;flex-wrap:wrap!important;gap:8px!important;align-items:center;padding:12px!important;background:#ffffff0b;border:1px solid #ffffff16;border-radius:13px!important;margin-bottom:14px}.domain-actions .action-caption{flex:0 0 100%;font-size:10px;font-weight:800;letter-spacing:.1em;color:#b9cdee}.domain-actions .small-action{border-radius:8px!important;padding:9px 12px!important}.domain-actions .danger{background:#7e3443!important;color:#fff!important}.domain-actions #check-progress{flex-basis:100%;font-size:11px}.domain-select{width:15px!important;min-width:15px!important;margin:0!important;accent-color:#7a5dff}.check-badge.ok{color:#43dfaa!important}.check-badge.bad,.check-badge.dns,.check-badge.error{color:#ff8c9f!important}.settings-panel,.thanks-editor{max-width:900px}.server-status{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:22px 0}.server-status>div{padding:18px;border:1px solid #e7ebf1;border-radius:12px;background:#f7f9fd}.server-status small{display:block;color:#8191a4;margin-bottom:8px}.server-status strong{font-size:16px;overflow-wrap:anywhere}.server-form,.thanks-fields{display:grid;gap:14px;max-width:800px;margin:15px 0 25px}.server-form select{width:100%;display:block;padding:12px;margin-top:7px;border-radius:8px;border:1px solid #d8e2f0}.server-form .btn,.thanks-fields .btn{justify-self:start}.migration-box{background:#f2f6fd;padding:22px;border-radius:14px;margin-top:30px}.migration-hint{margin-top:15px}.migration-box code{display:block;white-space:pre-wrap;overflow-wrap:anywhere;margin-top:10px}.thanks-link{display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding:12px 0}.thanks-link code{word-break:break-all}.thanks-link .btn{padding:11px 15px}.thanks-fields .checkbox-line{display:flex;align-items:center;gap:9px}.thanks-fields .checkbox-line input{width:17px;height:17px;margin:0}
/* TG admin: deliberately visually distinct from MAX */
.admin-body.mode-tg{background:#f4f9ff!important}.mode-tg .sidebar{background:#f9fcff!important;color:#123b61!important;border-right:1px solid #cce3f6}.mode-tg .sidebar .side-label,.mode-tg .sidebar .mode-caption,.mode-tg .sidebar .external-mode-help,.mode-tg .sidebar .sidebar-help{color:#557eab!important}.mode-tg .domain-actions{background:#e8f5ff!important;border-color:#c9e5fa!important}.mode-tg .domain-actions .action-caption{color:#376fa0!important}.mode-tg .domain-actions .small-action,.mode-tg .mode-switch a{background:#e0f1ff;color:#125485!important;border-color:#b5d8f4!important}.mode-tg .mode-switch a.active{background:#1591dc;color:#fff}.mode-tg .site-nav{color:#214b74!important}.mode-tg .domain-branch{border-color:#d4e8f7!important}.mode-tg .sidebar .admin-brand .admin-golos,.mode-tg .sidebar .admin-brand .admin-control{color:#176fa9!important}.mode-tg .sidebar .domain-branch-row .copy-link,.mode-tg .sidebar .domain-branch-row .edit-link{color:#2573a7!important}.mode-tg .sidebar nav.site-tree{scrollbar-color:#b7d9ee transparent}
/* MAX public: keep all existing voting layout and buttons, replace visual language */
.landing-max .hero.hero-rework{background:radial-gradient(circle at 77% 28%,#6e2acb70,transparent 47%),radial-gradient(circle at 6% 74%,#6424a744,transparent 54%),linear-gradient(125deg,#0b0718,#21123d 63%,#080815)}
.landing-max .hero-rework .white-btn{color:#33155e;background:linear-gradient(110deg,#fff,#e5d4ff);box-shadow:0 15px 40px #6e2acb44}
.landing-max .hero-rework .hero-kicker{color:#dbc9ff}.landing-max .flag-glow{background:radial-gradient(circle,#8a53ff66,transparent 66%)}
.landing-max .public-header{background:#0c0a1b;color:#fff}.landing-max .brand-copy small,.landing-max .public-header nav{color:#c7b5e4}.landing-max .header-cta{background:#7942d5!important;border-color:#7942d5!important;color:#fff!important}.landing-max .logo-blue{color:#b9a0ff}.landing-max .logo-red{color:#ff6c8b}
/* TG public: new white/azure digital identity, all behavior left untouched */
.landing-tg{background:#f7fbff}.landing-tg .flag-line{display:none}.landing-tg .public-header{background:#fff;border-bottom:1px solid #e1edf9;box-shadow:0 4px 25px #1967a510}.landing-tg .hero.hero-rework{background:radial-gradient(circle at 90% 0,#b8e4ff 0,transparent 42%),radial-gradient(circle at 6% 74%,#ceeefe 0,transparent 48%),linear-gradient(140deg,#f5fbff,#e4f4ff);color:#0b2c52}.landing-tg .hero-rework h1{color:#092947}.landing-tg .hero-rework .hero-lead{color:#4f7295}.landing-tg .hero-rework .hero-kicker,.landing-tg .hero-rework .hero-tag,.landing-tg .hero-rework .trust-line{color:#1875aa}.landing-tg .hero-rework .white-btn{background:linear-gradient(120deg,#118fd2,#34b2ef);color:#fff;box-shadow:0 12px 32px #118fd230}.landing-tg .hero-rework .hero-secondary{color:#1476a8}.landing-tg .hero-visual{filter:drop-shadow(0 15px 36px #268bc040);background:linear-gradient(140deg,#a2e1ff44,#ffffff33);border-radius:32px}.landing-tg .flag-wave{opacity:.33}.landing-tg .flag-caption strong{color:#146ca7}.landing-tg .rf-visual-outline{color:#1896cb28}.landing-tg .hero-summary{color:#467797;border-top:1px solid #abd9f3}.landing-tg .candidates-section .section-label,.landing-tg .results-section .section-label{color:#1590cc}.landing-tg .candidate-card{box-shadow:0 12px 35px #1688ce13;border-radius:18px;overflow:hidden}.landing-tg .public-header .header-cta{background:#1098da!important;color:#fff!important;border-radius:40px}.landing-tg .brand-mark{background:linear-gradient(120deg,#41c5ff,#108bd0);border-radius:50%}.landing-tg .brand-mark .mini-flag{display:none}.landing-tg .brand-mark:after{content:'✦';color:#fff;font-size:27px}.landing-tg .brand-copy strong{text-transform:uppercase}.landing-tg .brand-copy .logo-blue:after{content:'_';color:#2aace1}.landing-tg .logo-blue{color:#1a92d1}.landing-tg .logo-red{color:#14539f}
/* /thanks: no voting action is executed when this page is opened */
.thanks-public{margin:0;min-height:100vh;display:grid;place-items:center;padding:28px;font-family:Manrope,Arial,sans-serif}.thanks-max{background:radial-gradient(circle at 70% 20%,#6530b550,transparent 45%),linear-gradient(140deg,#080710,#231037,#090915);color:#fff}.thanks-tg{background:radial-gradient(circle at 90% 10%,#b6e6ff,transparent 40%),linear-gradient(120deg,#f8fdff,#e5f4ff);color:#143857}.thanks-card{width:min(600px,100%);padding:clamp(26px,5vw,56px);text-align:center;border-radius:28px;background:#ffffff0c;border:1px solid #ffffff25;box-shadow:0 25px 80px #05031833}.thanks-tg .thanks-card{background:#ffffffd9;border:1px solid #d0e9fb;box-shadow:0 25px 80px #1b7bb519}.thanks-logo{font-weight:900;letter-spacing:.09em;font-size:18px}.thanks-max .thanks-logo span{color:#a783ff}.thanks-tg .thanks-logo span{color:#19a0dc}.thanks-check{width:95px;height:95px;display:grid;place-items:center;margin:35px auto;border-radius:50%;background:linear-gradient(140deg,#7443f0,#be70ff);font-size:52px;box-shadow:0 12px 50px #8b3bdb66}.thanks-tg .thanks-check{background:linear-gradient(135deg,#15a8e8,#3ac9ee);box-shadow:0 14px 50px #21b4ea4f}.thanks-tag{font-size:11px;letter-spacing:.19em;font-weight:800;opacity:.75}.thanks-card h1{font-size:clamp(28px,5vw,44px);line-height:1.15;letter-spacing:-.045em;margin:15px 0}.thanks-card p{font-size:16px;line-height:1.75;opacity:.78}.thanks-button{display:inline-block;margin-top:25px;padding:15px 28px;border-radius:12px;font-weight:800;background:#8652e9;color:#fff}.thanks-tg .thanks-button{background:#119bdd}.thanks-public footer{position:fixed;bottom:18px;left:0;right:0;text-align:center;opacity:.55;font-size:11px;padding:0 20px}
@media(max-width:720px){.admin-layout{display:block!important}.mode-switch{flex-wrap:wrap}.sidebar{width:100%!important}.server-status{grid-template-columns:1fr}.thanks-public footer{position:static;margin-top:35px}}

/* GOLOSRU_CHANNEL_V2 — MAX black/white/red; TELEGRAM white/black/red */
.admin-body.mode-max{background:#09090b!important;color:#fff!important}
.mode-max .sidebar{background:#050505!important;color:#fff!important;border-right:1px solid #292929!important}
.mode-max .admin-main{background:#09090b!important;color:#fff!important}
.mode-max .admin-head,.mode-max .admin-head h1,.mode-max .panel h2,.mode-max .panel h3,.mode-max .panel-title h2{color:#fff!important}
.mode-max .panel,.mode-max .settings-panel,.mode-max .thanks-editor,.mode-max .channel-transfer{background:#151515!important;color:#fafafa!important;border:1px solid #333!important;box-shadow:none!important}
.mode-max label,.mode-max .panel p,.mode-max .panel .hint,.mode-max .admin-head p,.mode-max .section-label{color:#e1e1e1!important}
.mode-max input:not([type=checkbox]),.mode-max textarea,.mode-max select{background:#0b0b0b!important;color:#fff!important;border:1px solid #555!important}
.mode-max .admin-head .eyebrow,.mode-max .sidebar .side-label,.mode-max .sidebar .mode-caption,.mode-max .sidebar .external-mode-help,.mode-max .sidebar .sidebar-help{color:#cfcfcf!important}
.mode-max .sidebar a,.mode-max .sidebar .site-nav{color:#fff!important}
.mode-max .domain-branch{border-color:#303030!important}
.mode-max .mode-switch a,.mode-max .domain-actions .small-action{background:#1c1c1c!important;color:#fff!important;border:1px solid #444!important}
.mode-max .mode-switch a.active,.mode-max .domain-actions .small-action:hover{background:#ca172e!important;color:#fff!important;border-color:#ca172e!important}
.mode-max .domain-actions{background:#121212!important;border:1px solid #383838!important}
.mode-max .domain-actions .action-caption{color:#fff!important}
.mode-max .btn.primary,.mode-max .btn.add-project-btn,.mode-max .btn.add-subpage-btn,.mode-max .header-cta,.mode-max .save-bar .btn{background:#d51f35!important;color:#fff!important;border-color:#d51f35!important;box-shadow:none!important}
.mode-max .btn.outlined{background:#2a0c13!important;color:#fff!important;border-color:#a82133!important}
.mode-max .server-status>div,.mode-max .migration-box{background:#202020!important;color:#fff!important;border-color:#333!important}
.mode-max .server-status strong,.mode-max .server-status small,.mode-max .migration-box code{color:#fff!important}
.admin-body.mode-tg{background:#fff!important;color:#111!important}
.mode-tg .sidebar{background:#fff!important;color:#111!important;border-right:1px solid #d8d8d8!important}
.mode-tg .admin-main{background:#f9f9f9!important;color:#111!important}
.mode-tg .admin-head h1,.mode-tg .panel h2,.mode-tg .panel h3,.mode-tg .panel-title h2,.mode-tg label{color:#111!important}
.mode-tg .panel,.mode-tg .settings-panel,.mode-tg .thanks-editor,.mode-tg .channel-transfer{background:#fff!important;color:#111!important;border:1px solid #e1e1e1!important;box-shadow:0 12px 34px #11111109!important}
.mode-tg .sidebar .side-label,.mode-tg .sidebar .mode-caption,.mode-tg .sidebar .external-mode-help,.mode-tg .sidebar .sidebar-help,.mode-tg .domain-actions .action-caption{color:#464646!important}
.mode-tg .sidebar a,.mode-tg .sidebar .site-nav,.mode-tg .sidebar .admin-brand .admin-golos,.mode-tg .sidebar .admin-brand .admin-control{color:#111!important}
.mode-tg .domain-branch{border-color:#e8e8e8!important}
.mode-tg .mode-switch a,.mode-tg .domain-actions .small-action{background:#fff!important;color:#171717!important;border:1px solid #d5d5d5!important}
.mode-tg .mode-switch a.active,.mode-tg .domain-actions .small-action:hover{background:#d51f35!important;color:#fff!important;border-color:#d51f35!important}
.mode-tg .domain-actions{background:#f7f7f7!important;border:1px solid #ddd!important}
.mode-tg .btn.primary,.mode-tg .btn.add-project-btn,.mode-tg .btn.add-subpage-btn,.mode-tg .save-bar .btn{background:#d51f35!important;color:#fff!important;border-color:#d51f35!important;box-shadow:none!important}
.mode-tg .btn.outlined{color:#b81429!important;border-color:#d51f35!important;background:#fff!important}
.mode-tg .server-status>div,.mode-tg .migration-box{background:#fff!important;color:#111!important;border-color:#ddd!important}
.mode-tg .server-status strong,.mode-tg .server-status small,.mode-tg .migration-box code{color:#111!important}
.mode-switch{display:flex!important;gap:8px!important;align-items:center;padding:0 0 10px!important}
.mode-switch .mode-tab{padding:12px 18px!important;font-size:13px!important;letter-spacing:.055em;border-radius:8px!important}
.mode-switch .mode-new-tab{margin-left:0!important;padding:10px 12px!important}
.mode-switch .mode-settings{margin-left:auto!important}
@media(min-width:900px){.admin-layout{grid-template-columns:minmax(560px,640px) minmax(0,1fr)!important}}
.channel-transfer{margin-top:20px}.channel-transfer form{margin-top:15px}
/* Redesigned public landing: modern, responsive, with existing voting DOM and voting JS preserved */
.public-body .hero.hero-rework{position:relative;isolation:isolate;overflow:hidden;border-radius:0;min-height:610px}
.public-body .hero.hero-rework::before{content:'';position:absolute;width:800px;height:800px;right:-280px;top:-350px;border-radius:50%;pointer-events:none;filter:blur(10px);opacity:.65}
.public-body .hero.hero-rework .hero-content{position:relative;z-index:2;padding-top:45px;padding-bottom:42px}
.public-body .hero.hero-rework h1{font-weight:900;letter-spacing:-.055em;line-height:1.07;max-width:830px;text-wrap:balance;font-size:clamp(40px,5.3vw,82px)}
.public-body .hero.hero-rework .hero-lead{font-size:clamp(16px,1.55vw,20px);line-height:1.7;max-width:650px}
.public-body .hero.hero-rework .hero-kicker{font-size:11px;letter-spacing:.19em;font-weight:800}
.public-body .hero.hero-rework .hero-tag{border-radius:99px;padding:10px 16px;display:inline-flex;gap:9px;align-items:center}
.public-body .hero.hero-rework .white-btn{border-radius:12px;padding:16px 25px;font-size:14px;font-weight:850}
.public-body .hero-visual{position:relative;min-height:380px}
.public-body .hero-summary{position:relative;z-index:2;backdrop-filter:blur(12px);border-radius:12px;padding:15px 20px}
.landing-max .hero.hero-rework{background:radial-gradient(ellipse at 82% 40%,#542277 0%,transparent 42%),radial-gradient(ellipse at 44% 94%,#39093e 0%,transparent 48%),linear-gradient(120deg,#090511 20%,#151021 68%,#040308)!important;color:#fff}
.landing-max .hero.hero-rework::before{background:radial-gradient(circle,#a850ff4c,transparent 64%)}
.landing-max .hero-visual{transform:rotate(-5deg);filter:drop-shadow(0 40px 70px #0007)}
.landing-max .hero-visual .flag-wave{border-radius:25px;transform:perspective(700px) rotateY(-10deg)}
.landing-max .hero.hero-rework .hero-tag{background:#ffffff14;border:1px solid #ffffff24;color:#fff}
.landing-max .hero-summary{background:#ffffff10;border:1px solid #ffffff1e;color:#fff}
.landing-max .candidates-section{background:#fbfaff}
.landing-tg .hero.hero-rework{background:radial-gradient(ellipse at 95% 10%,#8ad1ff88,transparent 45%),radial-gradient(ellipse at 10% 100%,#a4ebff85,transparent 50%),linear-gradient(135deg,#f9fdff 10%,#e9f6ff 60%,#d5f0ff)!important;color:#0a243f}
.landing-tg .hero.hero-rework::before{background:repeating-radial-gradient(circle,#50a5ef2a 0,#50a5ef2a 1px,transparent 2px,transparent 31px);opacity:.6;transform:skew(-9deg)}
.landing-tg .hero.hero-rework h1{color:#0c2943!important}
.landing-tg .hero.hero-rework .hero-tag{background:#fff;border:1px solid #b7dff5;color:#126092;box-shadow:0 4px 18px #1b9de90d}
.landing-tg .hero-visual{background:radial-gradient(circle at 45% 40%,#ffffffda 2%,#b7e8ff77 65%,transparent 80%);border:1px solid #ffffffad;box-shadow:0 30px 90px #398dc52e;border-radius:36px;transform:rotate(3deg)}
.landing-tg .hero-visual .flag-wave,.landing-tg .hero-visual .flag-caption,.landing-tg .hero-visual .rf-visual-outline{display:none!important}
.landing-tg .hero-visual:before{content:'G';display:grid;place-items:center;position:absolute;width:190px;height:190px;left:50%;top:44%;transform:translate(-50%,-50%) rotate(-9deg);background:linear-gradient(140deg,#008bd5,#44c6fa);border-radius:54px;color:#fff;font-size:125px;font-weight:950;box-shadow:0 30px 60px #0078ba59;text-shadow:0 6px 12px #006ba233}
.landing-tg .hero-visual:after{content:'GOLOS_RU  /  DIGITAL VOTING';position:absolute;bottom:55px;left:0;right:0;text-align:center;color:#127baa;font-weight:900;letter-spacing:.12em;font-size:13px}
.landing-tg .hero-summary{background:#ffffffb6;border:1px solid #c6e6fa;color:#215d87}
.landing-tg .candidates-section{background:#f6fbff}
.landing-tg .candidate-card{border:1px solid #e1eff8!important;box-shadow:0 16px 50px #1278ac15!important;border-radius:22px!important}
.landing-tg .brand-mark{background:linear-gradient(145deg,#00aaff,#197cca)!important;border-radius:14px!important}
.landing-tg .brand-mark:after{content:'G';font-size:26px;font-weight:950}
.landing-max .brand-mark{background:linear-gradient(145deg,#6b2fc9,#b25af2)!important;border-radius:14px!important}
.landing-max .hero-rework .white-btn{background:#fff!important;color:#261044!important}
@media(max-width:780px){.public-body .hero.hero-rework{min-height:0}.public-body .hero-visual{min-height:230px;margin-bottom:22px}.landing-tg .hero-visual:before{width:135px;height:135px;font-size:86px;border-radius:38px}.landing-tg .hero-visual:after{bottom:25px;font-size:10px}.public-body .hero.hero-rework .hero-content{padding-top:25px}}

/* GOLOSRU_REMOTE_V1 */
.tg-connect-panel{margin:22px 0;padding:22px;border:1px solid currentColor;border-radius:14px;max-width:850px}
.tg-connect-panel .server-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px;align-items:end}
.tg-connect-panel input{width:100%}.tg-connect-panel .checkbox-line{grid-column:1/-1;display:flex;gap:10px;align-items:center}
.tg-connect-panel .checkbox-line input{width:auto}.tg-sync-note{overflow-wrap:anywhere;line-height:1.6}
.mode-max .tg-connect-panel{border-color:#333;background:#111}.mode-tg .tg-connect-panel{border-color:#ddd;background:#fff}

/* GOLOSRU_VISUAL_V3 - responsive voting-first designs inspired by supplied mobile reference */
:root{--golos-purple:#673dff;--golos-blue:#0788f0}
.public-body{font-family:Manrope,Arial,sans-serif}
.public-body.landing-max{background:#f1edff;color:#12144d}
.public-body.landing-tg{background:#eafff0;color:#121d50}
.landing-max .public-header{background:linear-gradient(100deg,#6843ff,#6b54eb)!important;color:#fff;border:0!important}
.landing-tg .public-header{background:linear-gradient(110deg,#1687cf,#0072bd)!important;color:#fff;border:0!important}
.public-body .public-header .brand-copy strong{font-size:26px;font-weight:950;letter-spacing:-.065em;color:#fff}
.public-body .public-header .logo-blue{color:#fff!important}
.public-body .public-header .logo-red{color:#ff3355!important;text-shadow:0 2px 6px #0001}
.public-body .public-header nav,.public-body .public-header nav a,.public-body .public-header .header-cta{color:#fff!important}
.public-body .public-header .header-cta{border-color:#ffffff7a!important}
.public-body .hero.hero-rework{min-height:0!important;text-align:center;border-radius:0!important;padding:0!important}
.landing-max .hero.hero-rework{background:radial-gradient(ellipse at 6% 80%,#d5c6ff 0,transparent 45%),linear-gradient(160deg,#fff 6%,#f5f1ff 68%,#e1d7ff 100%)!important;color:#13144d!important}
.landing-tg .hero.hero-rework{background:radial-gradient(ellipse at 100% 100%,#a8ffca 0,transparent 40%),linear-gradient(145deg,#fff 20%,#f7fffb 85%)!important;color:#13144d!important}
.public-body .hero.hero-rework .public-container{max-width:1040px}
.public-body .hero.hero-rework .hero-grid{display:block!important;padding:46px 0 22px!important}
.public-body .hero.hero-rework .hero-content{padding:0!important;max-width:860px;margin:0 auto}
.public-body .hero.hero-rework .hero-visual{display:none!important}
.public-body .hero.hero-rework .hero-tag{display:inline-flex!important;font-size:11px!important;letter-spacing:.06em;background:#fff!important;border:1px solid #e4ddff!important;color:#151e55!important;box-shadow:0 6px 20px #3d248516}
.landing-tg .hero.hero-rework .hero-tag{border-color:#a9e9bf!important}
.public-body .hero.hero-rework .hero-kicker{color:#5c48ab!important;margin:16px 0 6px;font-size:12px!important;font-weight:900}
.landing-tg .hero.hero-rework .hero-kicker{color:#0873a5!important}
.public-body .hero.hero-rework h1{font-weight:950!important;font-size:clamp(34px,6vw,65px)!important;line-height:1.08!important;letter-spacing:-.055em!important;color:#0b1649!important;margin:12px auto 20px!important;max-width:810px}
.public-body .hero.hero-rework .hero-lead{font-size:clamp(15px,2vw,19px)!important;line-height:1.6!important;color:#27335b!important;margin:0 auto 27px;max-width:590px}
.public-body .hero-buttons{justify-content:center}
.public-body .hero.hero-rework .hero-secondary{color:#30416d!important}
.public-body .hero.hero-rework .trust-line{justify-content:center;margin-top:20px;color:#48527a!important}
.public-body .hero.hero-rework .trust-icon{border-color:#7e85a8}
.public-body .hero.hero-rework .hero-summary{color:#30376c!important;background:#ffffffab!important;display:flex;flex-wrap:wrap;justify-content:center;gap:10px;border:1px solid #ffffffed!important;box-shadow:0 8px 24px #43478c10!important;padding:12px 20px!important;margin-bottom:20px!important}
.public-body .candidates-section{padding-top:35px!important;padding-bottom:80px!important}
.landing-max .candidates-section{background:linear-gradient(#f4efff,#fff)!important}
.landing-tg .candidates-section{background:linear-gradient(#f4fff8,#fff)!important}
.public-body .candidates-section .section-label{display:block;text-align:center;color:#4e4b93}
.public-body .section-heading{display:block;text-align:center;margin:12px auto 32px;max-width:740px}
.public-body .section-heading h2{font-size:clamp(24px,4vw,34px);font-weight:900;color:#111649}
.public-body .section-heading p{color:#415070}
.public-body .sort-note{display:inline-flex;margin-top:15px;border-radius:99px}
.public-body .candidate-grid{display:grid;grid-template-columns:minmax(0,1fr)!important;gap:18px!important;max-width:820px;margin:auto}
.public-body .candidate-card{display:grid!important;grid-template-columns:180px minmax(0,1fr);grid-template-rows:auto auto!important;column-gap:20px;align-items:center;background:#ffffff!important;box-shadow:0 9px 24px #34256324!important;border:1px solid #e2d9ff!important;border-radius:24px!important;padding:16px!important;overflow:hidden}
.landing-tg .candidate-card{border-color:#dbe8ee!important;box-shadow:0 9px 24px #237d7630!important}
.public-body .candidate-photo{grid-column:1;grid-row:1 / span 2;width:170px!important;height:170px!important;border-radius:50%!important;overflow:hidden!important;box-shadow:0 4px 18px #2222;background:#e1e6fa!important}
.public-body .candidate-photo img{border-radius:50%;object-fit:cover}
.public-body .candidate-rank{top:5px;left:5px;border-radius:99px}
.public-body .candidate-info{grid-column:2;grid-row:1;padding:0!important;align-self:end;min-width:0}
.public-body .candidate-info h3{color:#0d1645!important;font-size:clamp(17px,2.3vw,22px)!important;line-height:1.23;letter-spacing:-.035em}
.public-body .candidate-info p{font-size:12px!important;min-height:0!important;margin:5px 0!important}
.public-body .candidate-info .card-separator{display:none}
.public-body .candidate-votes{justify-content:flex-start;gap:8px;margin:4px 0!important;flex-wrap:wrap}
.public-body .candidate-votes b{font-size:16px!important;color:#111649!important;order:-1}
.public-body .candidate-votes span{font-size:11px;color:#3e4772}
.public-body .photo-vote-wrap{grid-column:2;grid-row:2;align-self:start;padding-top:12px}
.public-body .vote-button{width:100%!important;max-width:330px;display:flex;justify-content:center!important;gap:15px;border-radius:14px!important;text-align:center!important;font-size:15px!important;padding:12px 17px!important;color:#fff!important;background:linear-gradient(110deg,#8142ff,#4d13ee)!important;box-shadow:0 6px 14px #692dee35!important}
.landing-tg .vote-button{background:linear-gradient(110deg,#198ff3,#006be4)!important;box-shadow:0 6px 14px #066bdf35!important}
.public-body .vote-button:disabled{background:#8893a9!important}
.public-body .features{border-top:1px solid #e4e6f1}
.public-body .brand-mark{background:linear-gradient(145deg,#178df7,#623aff)!important;box-shadow:0 6px 15px #0002}
.public-body .brand-mark .mini-flag{display:none}
.public-body .brand-mark:after{content:'✓'!important;font-size:25px!important;color:#fff}
.public-body .timer-ended{font-size:clamp(25px,4vw,41px)!important;font-weight:950;color:#1c2656;letter-spacing:.06em;display:block;margin:auto}
.thanks-public .thanks-cross{background:linear-gradient(135deg,#ff4b54,#bc0718)!important;box-shadow:0 15px 40px #c9143350!important;color:white!important}
.thanks-icon-choice{display:block;margin:14px 0!important}
.thanks-icon-choice select{display:block;width:100%;padding:12px;background:transparent;color:inherit;border:1px solid #a4a8b5;border-radius:9px;margin-top:8px}
@media(max-width:780px){
  .public-container{width:min(100% - 28px,640px)}
  .public-header .header-row{min-height:70px;gap:10px}
  .public-header nav{display:none!important}
  .public-header .brand-copy strong{font-size:21px!important}
  .public-header .brand-copy small{display:none}
  .public-header .header-cta{font-size:10px;padding:9px!important}
  .public-body .hero.hero-rework .hero-grid{padding:32px 0 15px!important}
  .public-body .hero.hero-rework h1{font-size:clamp(29px,8.5vw,45px)!important}
  .public-body .hero.hero-rework .hero-secondary{font-size:11px}
  .public-body .candidate-card{grid-template-columns:102px minmax(0,1fr)!important;column-gap:11px;padding:11px!important;border-radius:18px!important}
  .public-body .candidate-photo{width:98px!important;height:98px!important}
  .public-body .candidate-info h3{font-size:15px!important}
  .public-body .candidate-info p{font-size:10px!important;line-height:1.35}
  .public-body .photo-vote-wrap{padding-top:5px}
  .public-body .vote-button{padding:9px!important;font-size:12px!important;border-radius:9px!important}
  .public-body .candidate-votes b{font-size:13px!important}
  .public-body .candidate-votes span{font-size:10px}
  .public-body .hero.hero-rework .hero-summary{font-size:10px!important}
}

/* GOLOSRU_TEMPLATE_OLD_NEW_20261110 */

/* GOLOSRU REFERENCE-ACCURATE LANDING V4 — isolated from admin and legacy public CSS */
.public-body.landing-max.grv4-page, .public-body.landing-tg.grv4-page{background:#fff;color:#0e1647;min-height:100vh}
.grv4-page .grv4-shell{font-family:Manrope,Arial,sans-serif;position:relative;overflow:hidden;color:#0b154b}
.grv4-page .grv4-top{position:relative;z-index:5;background:linear-gradient(110deg,#5941ff,#6546ff 55%,#5439eb);padding:13px 16px 0}
.grv4-page.landing-tg .grv4-top{background:linear-gradient(110deg,#168aca,#0575be 58%,#078bd1)}
.grv4-page .grv4-top-inner{max-width:950px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:68px;padding:0 12px 10px;background:rgba(255,255,255,.96);border-radius:25px 25px 0 0}
.grv4-page.landing-tg .grv4-top-inner{background:transparent}
.grv4-page .grv4-back,.grv4-page .grv4-more{flex:0 0 44px;display:grid;place-items:center;color:#4b21f4;font-weight:900;text-decoration:none;font-size:30px;line-height:1}
.grv4-page .grv4-more{font-size:20px;letter-spacing:2px;align-self:center}
.grv4-page.landing-tg .grv4-back,.grv4-page.landing-tg .grv4-more{color:#fff}
.grv4-page .grv4-logo{display:flex;align-items:center;justify-content:center;gap:6px;min-width:0;text-decoration:none}
.grv4-page .grv4-logo-icon{width:47px;height:47px;display:inline-grid;place-items:center;flex:0 0 47px}
.grv4-page .grv4-logo-icon svg{width:100%;height:100%}
.grv4-page .grv4-logo-pill{white-space:nowrap;display:inline-flex;gap:0;align-items:baseline;justify-content:center;border-radius:999px;border:1px solid #b9bee0;box-shadow:0 3px 7px #14135c34;background:#fff;padding:8px 16px 9px;font-family:Arial,sans-serif;font-size:clamp(21px,4.6vw,34px);line-height:1;font-weight:950;letter-spacing:-.075em;color:#1510ba}
.grv4-page .grv4-logo-red{color:#e4003d}
.grv4-page .grv4-stage{position:relative;isolation:isolate;background:radial-gradient(ellipse at 20% 45%,#e4dcff 0,transparent 48%),linear-gradient(155deg,#f4eeff 0%,#f7f3ff 60%,#eae0ff 100%);padding:36px 18px 58px;min-height:600px}
.grv4-page.landing-tg .grv4-stage{background-color:#d6f8d9;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%2365c88d' opacity='.7' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m10 26 31-11-12 32-6-13z M23 34l18-19'/%3E%3Cpath d='M77 10c-15-4-25 6-24 17 1 8 9 13 20 11l9 5-2-9c15-13 6-20-3-24Z'/%3E%3Cpath d='m70 69 4 10 11 1-8 8 2 11-9-6-10 6 2-11-8-8 11-1z'/%3E%3Cpath d='M15 82c0-7 10-9 13-3 4-6 14-4 14 3 0 8-14 17-14 17s-13-9-13-17Z'/%3E%3C/g%3E%3C/svg%3E"),linear-gradient(155deg,#d7ffd8,#baf3c6);background-size:120px 120px,auto}
.grv4-page .grv4-stage-inner{position:relative;z-index:1;max-width:820px;margin:auto}
.grv4-page .grv4-intro{text-align:center;padding:10px 14px 20px}
.grv4-page .grv4-flag-line{display:flex;align-items:center;justify-content:center;gap:12px;margin-bottom:12px}
.grv4-page .grv4-flag-line i{width:65px;height:1px;background:#8b99c9}
.grv4-page .grv4-flag{font-size:38px;line-height:1}
.grv4-page .grv4-label{display:none}
.grv4-page .grv4-intro h1{max-width:800px;margin:10px auto 15px;font-size:clamp(31px,5.5vw,51px);line-height:1.08;font-weight:950;letter-spacing:-.045em;color:#071447;overflow-wrap:anywhere}
.grv4-page .grv4-under-title{height:1px;background:#8897c3;max-width:95%;margin:0 auto 13px}
.grv4-page .grv4-subtitle{color:#101a4b;max-width:650px;font-size:clamp(14px,2.4vw,19px);line-height:1.43;font-weight:600;margin:0 auto}
.grv4-page .grv4-section-title{display:flex;align-items:center;gap:14px;margin:5px 4px 16px}
.grv4-page .grv4-section-title span{flex:1;height:2px;background:linear-gradient(90deg,#7d52ff,#b49ff5)}
.grv4-page.landing-tg .grv4-section-title span{background:#8ea6c1}
.grv4-page .grv4-section-title h2{margin:0;white-space:nowrap;font-size:clamp(17px,3vw,25px);line-height:1.15;color:#0c164d;font-weight:900;letter-spacing:-.035em}
.grv4-page .grv4-cards{display:grid;grid-template-columns:1fr;gap:14px;margin:0 auto}
.grv4-page .grv4-card{display:grid;grid-template-columns:145px 1px minmax(0,1fr);align-items:center;gap:18px;border-radius:22px;min-height:166px;padding:15px 21px;background:linear-gradient(145deg,#fff,#fcfaff);border:1px solid #dcd5ff;box-shadow:0 7px 15px #634ad02b;position:relative;overflow:hidden}
.grv4-page.landing-tg .grv4-card{background:#fff;border-color:#d5e4f0;box-shadow:0 7px 12px #224b8940}
.grv4-page .grv4-avatar{width:139px;height:139px;border-radius:50%;position:relative;overflow:hidden;display:grid;place-items:center;background:#e6e4f4}
.grv4-page .grv4-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%;position:relative;z-index:1}
.grv4-page .grv4-avatar-fallback{font-weight:950;font-size:45px;color:#5968a1}
.grv4-page .grv4-separator{height:114px;width:1px;background:#a8b8e2}
.grv4-page .grv4-person{align-self:center;min-width:0;display:flex;flex-direction:column;gap:5px}
.grv4-page .grv4-person h3{font-size:clamp(17px,2.7vw,23px);line-height:1.17;letter-spacing:-.035em;color:#0b1547;margin:0 0 6px;font-weight:900;overflow-wrap:anywhere}
.grv4-page .grv4-description{font-size:11px;color:#58618a;line-height:1.3;margin:0;max-height:28px;overflow:hidden}
.grv4-page .grv4-vote{display:flex;align-items:center;justify-content:center;width:100%;max-width:360px!important;min-height:39px!important;padding:7px 15px!important;border:0!important;border-radius:12px!important;background:linear-gradient(180deg,#8a30ff,#5210ef)!important;color:white!important;font-size:clamp(14px,2.3vw,18px)!important;line-height:1.15;font-weight:850!important;text-decoration:none!important;letter-spacing:-.015em;box-shadow:0 5px 9px #6439da26!important;cursor:pointer}
.grv4-page.landing-tg .grv4-vote{background:linear-gradient(180deg,#168cff,#0061e3)!important;box-shadow:0 5px 9px #0570db25!important}
.grv4-page .grv4-vote:disabled{background:#8898b6!important;cursor:wait}
.grv4-page .grv4-votes{font-size:clamp(12px,2vw,15px);color:#121c50;font-weight:650;line-height:1.3;margin-top:3px}
.grv4-page .grv4-note{font-size:10px;line-height:1.5;text-align:center;max-width:650px;margin:19px auto 0;color:#535f89}
.grv4-page .grv4-empty{text-align:center;font-size:14px;padding:25px}
.grv4-page .grv4-links{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:20px}
.grv4-page .grv4-links a{display:inline-flex;align-items:center;background:#ffffff9f;border:1px solid #dad8f2;border-radius:999px;padding:7px 14px;text-decoration:none;color:#34346d;font-size:11px;font-weight:800}
.grv4-page .grv4-bottom-wave{position:absolute;pointer-events:none;bottom:-1px;left:0;right:0;height:45px;background:#d5c6ff;clip-path:polygon(0% 35%,15% 0%,32% 60%,50% 80%,68% 40%,87% 0%,100% 42%,100% 100%,0 100%);opacity:.9}
.grv4-page.landing-tg .grv4-bottom-wave{display:none}
.grv4-page .results-section{position:relative;z-index:2}
@media(min-width:1150px){.grv4-page .grv4-stage-inner{max-width:1020px}.grv4-page .grv4-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.grv4-page .grv4-card{grid-template-columns:112px 1px minmax(0,1fr);gap:14px;padding:16px}.grv4-page .grv4-avatar{width:110px;height:110px}.grv4-page .grv4-person h3{font-size:19px}.grv4-page .grv4-separator{height:100px}}
@media(max-width:580px){.grv4-page .grv4-top{padding:6px 0 0}.grv4-page .grv4-top-inner{min-height:58px;padding:0 8px 6px;border-radius:19px 19px 0 0}.grv4-page .grv4-back,.grv4-page .grv4-more{flex-basis:34px;font-size:25px}.grv4-page .grv4-more{font-size:17px}.grv4-page .grv4-logo-icon{width:37px;height:37px;flex-basis:37px}.grv4-page .grv4-logo-pill{font-size:clamp(19px,6.3vw,29px);padding:8px 10px}.grv4-page .grv4-stage{padding:14px 10px 51px;min-height:600px}.grv4-page .grv4-intro{padding:6px 6px 16px}.grv4-page .grv4-flag-line{margin:3px 0 7px}.grv4-page .grv4-flag{font-size:29px}.grv4-page .grv4-flag-line i{width:53px}.grv4-page .grv4-intro h1{font-size:clamp(28px,8vw,42px);margin:8px auto 14px}.grv4-page .grv4-subtitle{font-size:clamp(13px,3.5vw,16px)}.grv4-page .grv4-section-title{gap:8px;margin-bottom:13px}.grv4-page .grv4-section-title h2{font-size:clamp(15px,4.5vw,20px)}.grv4-page .grv4-cards{gap:12px}.grv4-page .grv4-card{grid-template-columns:clamp(85px,27vw,125px) 1px minmax(0,1fr);gap:clamp(9px,2.4vw,14px);padding:12px 12px;min-height:146px;border-radius:20px}.grv4-page .grv4-avatar{width:clamp(85px,27vw,125px);height:clamp(85px,27vw,125px)}.grv4-page .grv4-separator{height:102px}.grv4-page .grv4-person h3{font-size:clamp(14px,4.1vw,19px);margin:0 0 4px}.grv4-page .grv4-description{display:none}.grv4-page .grv4-vote{min-height:37px!important;border-radius:10px!important;font-size:clamp(12px,3.8vw,17px)!important;padding:7px 8px!important}.grv4-page .grv4-votes{font-size:clamp(12px,3.1vw,14px)}.grv4-page .grv4-note{font-size:9px}}
@media(max-width:355px){.grv4-page .grv4-card{grid-template-columns:75px 1px minmax(0,1fr);gap:7px;padding:10px 8px}.grv4-page .grv4-avatar{width:75px;height:75px}.grv4-page .grv4-person h3{font-size:13px}.grv4-page .grv4-vote{font-size:12px!important}.grv4-page .grv4-logo-pill{font-size:19px}}

/* TG reference: inset ivory-white content canvas with patterned mint margins */
.grv4-page.landing-tg .grv4-stage{padding-top:28px;padding-bottom:40px}
.grv4-page.landing-tg .grv4-stage-inner{background:linear-gradient(#fff,#fcfeff);border:1px solid #dce8ed;box-shadow:0 14px 40px #178f5e29;border-radius:27px;padding:20px 18px 25px}
.grv4-page.landing-tg .grv4-intro{padding-top:2px}
@media(max-width:580px){.grv4-page.landing-tg .grv4-stage{padding:26px 14px 42px}.grv4-page.landing-tg .grv4-stage-inner{padding:14px 8px 25px;border-radius:24px}.grv4-page.landing-tg .grv4-card{padding:10px 9px}.grv4-page.landing-tg .grv4-section-title{margin:2px 6px 14px}}

.template-card{margin:15px 0 24px}.template-card .template-change-form{display:flex;gap:12px;flex-wrap:wrap;align-items:end}.template-change-form label,.template-select{display:flex;flex-direction:column;gap:5px;font-weight:700}.template-card select,.template-select select{padding:11px;border:1px solid #a4a7b2;border-radius:8px;background:#fff;color:#18233e;min-width:190px}.template-change-form a{padding:12px} .bulk-domain-form .template-select{margin:8px 0}.add-site .template-select{margin:9px 0}


/* GOLOSRU_CRM_UI_V7 — presentation-only. No public landing selectors. */
.admin-body.mode-max {
 --crm-bg:#101318;--crm-side:#171b21;--crm-card:#1c222b;--crm-card2:#232a34;
 --crm-ink:#f2f5f9;--crm-muted:#aebac9;--crm-line:#374252;--crm-accent:#ef5260;
 --crm-on-accent:#fff;--crm-hover:#29323f;--crm-quiet:#202832;--crm-shade:0 14px 42px #07090e55;
 color-scheme:dark;
}
.admin-body.mode-tg {
 --crm-bg:#f3f6fa;--crm-side:#fff;--crm-card:#fff;--crm-card2:#f6f8fc;
 --crm-ink:#172437;--crm-muted:#586b80;--crm-line:#d6e0eb;--crm-accent:#1875d1;
 --crm-on-accent:#fff;--crm-hover:#eef5ff;--crm-quiet:#eff4fb;--crm-shade:0 12px 35px #192e4714;
 color-scheme:light;
}
.admin-body {background:var(--crm-bg)!important;color:var(--crm-ink)!important;line-height:1.5}
.admin-body *{box-sizing:border-box}
.admin-body .admin-layout{grid-template-columns:minmax(420px,510px) minmax(0,1fr)!important;min-height:100vh;background:var(--crm-bg)!important;align-items:stretch}
.admin-body .sidebar{width:auto!important;max-width:none!important;min-width:0!important;background:var(--crm-side)!important;color:var(--crm-ink)!important;padding:24px 19px!important;border-right:1px solid var(--crm-line)!important;box-shadow:none!important;gap:0!important}
.admin-body .admin-brand{display:flex!important;align-items:center!important;gap:8px!important;padding:8px 8px 18px!important;color:var(--crm-ink)!important;font-size:24px!important;font-weight:850;letter-spacing:-.04em}
.admin-body .admin-brand .admin-golos{color:var(--crm-ink)!important}
.admin-body .admin-brand .admin-golos b{color:var(--crm-accent)!important}
.admin-body .admin-brand .admin-control{font-size:10px!important;color:var(--crm-muted)!important;margin-left:auto!important;letter-spacing:.12em}
.admin-body .mode-switch{display:grid!important;grid-template-columns:1fr 1fr auto!important;gap:8px!important;margin:0 0 12px!important;padding:6px!important;background:var(--crm-card2)!important;border:1px solid var(--crm-line)!important;border-radius:15px!important;align-items:stretch}
.admin-body .mode-switch a{margin:0!important;min-width:0;min-height:43px;display:flex!important;align-items:center;justify-content:center;padding:9px 12px!important;border:1px solid transparent!important;border-radius:10px!important;background:transparent!important;color:var(--crm-muted)!important;font-size:12px!important;font-weight:850!important;letter-spacing:.025em!important;box-shadow:none!important}
.admin-body .mode-switch a.active{background:var(--crm-accent)!important;color:var(--crm-on-accent)!important;box-shadow:0 3px 14px #0002!important}
.admin-body .mode-switch a:not(.active):hover{color:var(--crm-ink)!important;background:var(--crm-hover)!important}
.admin-body .mode-switch .mode-new-tab,.admin-body .mode-switch .mode-settings{margin:0!important;min-width:40px!important;padding:8px!important;justify-self:stretch}
.admin-body .mode-caption{opacity:1!important;margin:0 2px 18px!important;padding:11px 13px!important;border:1px solid var(--crm-line)!important;border-radius:10px!important;color:var(--crm-muted)!important;background:var(--crm-quiet)!important;font-size:11px!important;line-height:1.55}
.admin-body .mode-caption b{color:var(--crm-ink)!important}
.admin-body .mode-max .mode-caption{border-left:3px solid #ef5260!important}
.admin-body.mode-max .mode-caption{border-left:3px solid #ef5260!important}
.admin-body.mode-tg .mode-caption{border-left:3px solid #1875d1!important}
.admin-body .side-label{margin:12px 5px 7px!important;color:var(--crm-muted)!important;font-size:10px!important;letter-spacing:.12em!important;font-weight:850!important}
.admin-body .external-mode-help{border-radius:10px!important;background:var(--crm-quiet)!important;border:1px solid var(--crm-line)!important;color:var(--crm-muted)!important;line-height:1.55!important;font-size:11px!important;margin:8px 0 12px!important;padding:11px 12px!important}
/* Tools: discovery / selection / destructive actions are visually separated without moving or changing behavior. */
.admin-body .domain-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin:0 0 16px!important;padding:14px!important;background:var(--crm-card)!important;border:1px solid var(--crm-line)!important;border-radius:15px!important;align-items:stretch!important}
.admin-body .domain-actions .action-caption{grid-column:1/-1!important;flex:auto!important;display:block!important;margin:0 0 3px!important;padding:0!important;color:var(--crm-muted)!important;font-size:10px!important;font-weight:850!important;letter-spacing:.12em!important}
.admin-body .domain-actions .small-action{display:flex!important;align-items:center!important;justify-content:center!important;min-width:0!important;min-height:37px!important;padding:8px 9px!important;background:var(--crm-card2)!important;border:1px solid var(--crm-line)!important;color:var(--crm-ink)!important;box-shadow:none!important;border-radius:9px!important;font-size:11px!important;font-weight:750!important;line-height:1.3!important;text-align:center!important;white-space:normal!important}
.admin-body .domain-actions .small-action:hover{background:var(--crm-hover)!important;border-color:var(--crm-accent)!important}
.admin-body .domain-actions #check-all,.admin-body .domain-actions #check-selected{background:var(--crm-accent)!important;color:var(--crm-on-accent)!important;border-color:var(--crm-accent)!important}
.admin-body .domain-actions #select-all-domains,.admin-body .domain-actions #select-bad-domains{border-color:var(--crm-accent)!important}
.admin-body .domain-actions #clear-domains{color:var(--crm-muted)!important}
.admin-body .domain-actions #trash-selected-domains{background:#8a2935!important;color:#fff!important;border-color:#b44754!important}
.admin-body .domain-actions a[href*="trash=1"]{background:var(--crm-quiet)!important}
.admin-body .domain-actions .check-progress{grid-column:1/-1!important;font-size:11px!important;color:var(--crm-muted)!important;overflow-wrap:anywhere}
/* Domain list: full names and compact symbolic controls, with native title tooltips preserved. */
.admin-body .site-tree{margin:0!important;max-height:min(52vh,780px)!important;overflow:auto!important;overflow-x:hidden!important;padding:2px!important;scrollbar-width:thin;scrollbar-color:var(--crm-line) transparent}
.admin-body .domain-branch{background:var(--crm-card)!important;border:1px solid var(--crm-line)!important;border-radius:12px!important;margin:0 0 8px!important;overflow:hidden}
.admin-body .domain-branch-row{display:flex!important;align-items:center!important;gap:5px!important;min-height:47px!important;padding:4px 7px!important;min-width:0!important;flex-wrap:nowrap!important;background:transparent!important;border-bottom:1px solid transparent!important}
.admin-body .domain-branch-row:not(:last-child){border-bottom-color:var(--crm-line)!important}
.admin-body .domain-branch-row:hover{background:var(--crm-hover)!important}
.admin-body .domain-branch-row .site-nav{flex:1 1 auto!important;min-width:85px!important;max-width:none!important;padding:7px 4px!important;margin:0!important;display:flex!important;align-items:center!important;gap:7px!important;color:var(--crm-ink)!important;font-size:12px!important;line-height:1.35!important;background:transparent!important;border:0!important;box-shadow:none!important;overflow:visible!important}
.admin-body .domain-branch-row .site-nav.active{color:var(--crm-accent)!important;font-weight:850!important}
.admin-body .domain-branch-row .site-nav .host-label{display:block!important;flex:1 1 auto!important;min-width:0!important;max-width:none!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;color:inherit!important;font-size:12px!important}
.admin-body .domain-branch-row button,.admin-body .domain-branch-row .edit-link{flex-shrink:0!important}
.admin-body .domain-branch-row .copy-link,.admin-body .domain-branch-row .edit-link,.admin-body .domain-branch-row .scan4ban-domain,.admin-body .domain-branch-row .tiny-trash-form button{display:grid!important;place-items:center!important;min-width:26px!important;width:26px!important;height:29px!important;padding:3px!important;margin:0!important;border:1px solid transparent!important;background:transparent!important;color:var(--crm-muted)!important;border-radius:6px!important;font-size:14px!important;line-height:1!important}
.admin-body .domain-branch-row .copy-link:hover,.admin-body .domain-branch-row .edit-link:hover,.admin-body .domain-branch-row .scan4ban-domain:hover{background:var(--crm-card2)!important;color:var(--crm-ink)!important;border-color:var(--crm-line)!important}
.admin-body .domain-branch-row .tiny-trash-form button:hover{background:#a62f4030!important;color:#f46b79!important}
.admin-body .domain-select{accent-color:var(--crm-accent)!important;flex:0 0 15px!important;width:15px!important;height:15px!important;margin:0 2px!important}
.admin-body .external-mode-form{display:flex!important;align-items:center!important;margin:0!important}
.admin-body .external-mode-label{display:flex!important;align-items:center!important;margin:0!important;color:var(--crm-ink)!important}
.admin-body .ssl-mini{position:relative;flex:0 0 13px!important;min-width:13px!important;color:var(--crm-muted)!important;text-align:center!important;cursor:help!important;font-size:14px!important;line-height:1!important}
.admin-body .ssl-mini.active{color:#32c48d!important;filter:drop-shadow(0 0 3px #32c48d55)}
.admin-body .ssl-mini.error{color:#ed6572!important}.admin-body .ssl-mini.dns_wait,.admin-body .ssl-mini.pending{color:#e9ac4d!important}.admin-body .ssl-mini.issuing{color:#53b8ea!important}
.admin-body .check-badge{display:inline-flex!important;align-items:center!important;max-width:73px!important;min-width:0!important;flex:0 1 73px!important;padding:5px 4px!important;background:var(--crm-quiet)!important;border:1px solid var(--crm-line)!important;border-radius:6px!important;color:var(--crm-muted)!important;font-size:10px!important;line-height:1.2!important;text-align:center!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;cursor:help!important}
.admin-body .check-badge.ok{color:#35c78c!important;border-color:#35c78c66!important}.admin-body .check-badge.bad,.admin-body .check-badge.error,.admin-body .check-badge.dns{color:#f18d92!important;border-color:#ef647255!important}
.admin-body .domain-branch-row .domain-check{color:#49c993!important}
.admin-body .site-nav.subpage-link{color:var(--crm-muted)!important;font-size:11px!important}
.admin-body .add-site,.admin-body .sidebar-bottom{color:var(--crm-ink)!important}
.admin-body .add-site{background:var(--crm-card)!important;border:1px solid var(--crm-line)!important;border-radius:13px!important;padding:14px!important;margin:8px 0!important}
.admin-body .add-site small,.admin-body .sidebar-help{color:var(--crm-muted)!important}
.admin-body .sidebar-help{padding:13px!important;background:var(--crm-quiet)!important;border:1px solid var(--crm-line)!important;border-radius:10px!important;line-height:1.6}
.admin-body .sidebar-bottom{margin-top:18px!important}
.admin-body .sidebar .link-button{color:var(--crm-muted)!important}
/* Main editing area: consistent cards, legible form controls and hierarchy. */
.admin-body .admin-main{width:100%!important;max-width:1560px!important;margin:0 auto!important;padding:32px clamp(20px,3vw,52px) 72px!important;background:transparent!important;color:var(--crm-ink)!important;min-width:0!important}
.admin-body .admin-head{padding:7px 0 21px!important;border-bottom:1px solid var(--crm-line)!important;margin-bottom:26px!important}
.admin-body .admin-head h1{font-size:clamp(24px,2.25vw,34px)!important;font-weight:850!important;letter-spacing:-.035em!important;color:var(--crm-ink)!important;line-height:1.15!important;margin:8px 0!important}
.admin-body .admin-head p,.admin-body .panel p{color:var(--crm-muted)!important;font-size:13px!important;line-height:1.6!important}
.admin-body .eyebrow{color:var(--crm-accent)!important;font-size:11px!important;font-weight:850!important;letter-spacing:.13em!important}
.admin-body .admin-avatar{background:var(--crm-card2)!important;color:var(--crm-ink)!important;border:1px solid var(--crm-line)!important;box-shadow:none!important;border-radius:12px!important}
.admin-body .panel,.admin-body .settings-panel,.admin-body .thanks-editor{background:var(--crm-card)!important;color:var(--crm-ink)!important;border:1px solid var(--crm-line)!important;box-shadow:var(--crm-shade)!important;border-radius:16px!important;max-width:none!important}
.admin-body .panel h1,.admin-body .panel h2,.admin-body .panel h3,.admin-body .panel h4{color:var(--crm-ink)!important}
.admin-body .panel .section-label,.admin-body .section-label{color:var(--crm-accent)!important;font-weight:850!important;letter-spacing:.13em!important}
.admin-body .panel-divider{background:var(--crm-line)!important}
.admin-body .server-status>div{background:var(--crm-card2)!important;color:var(--crm-ink)!important;border:1px solid var(--crm-line)!important;box-shadow:none!important}
.admin-body .server-status small{color:var(--crm-muted)!important}
.admin-body input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),.admin-body textarea,.admin-body select{background:var(--crm-card2)!important;color:var(--crm-ink)!important;border:1px solid var(--crm-line)!important;border-radius:9px!important;outline-offset:2px!important;box-shadow:none!important;min-height:40px}
.admin-body input::placeholder,.admin-body textarea::placeholder{color:var(--crm-muted)!important;opacity:.82!important}
.admin-body input:focus,.admin-body textarea:focus,.admin-body select:focus{border-color:var(--crm-accent)!important;outline:2px solid color-mix(in srgb,var(--crm-accent),transparent 70%)!important}
.admin-body label,.admin-body legend,.admin-body .muted{color:var(--crm-muted)!important}
.admin-body .btn,.admin-body button.primary,.admin-body .btn.primary{border-radius:9px!important;font-weight:800!important;box-shadow:none!important}
.admin-body .btn.primary,.admin-body .btn.add-project-btn,.admin-body .btn.add-subpage-btn{background:var(--crm-accent)!important;color:var(--crm-on-accent)!important;border:1px solid var(--crm-accent)!important}
.admin-body .error{background:#92293724!important;color:#f28b95!important;border:1px solid #be526077!important}
.admin-body .success{background:#24a97b18!important;color:#34c18b!important;border:1px solid #28a47966!important}
.admin-body.mode-tg .success{color:#137c59!important}
.admin-body :focus-visible{outline:2px solid var(--crm-accent)!important;outline-offset:2px!important}
@media (max-width:1290px) and (min-width:1001px){.admin-body .admin-layout{grid-template-columns:minmax(380px,430px) minmax(0,1fr)!important}.admin-body .sidebar{padding:20px 12px!important}.admin-body .domain-branch-row{gap:3px!important;padding:3px 4px!important}.admin-body .check-badge{flex-basis:62px!important}}
@media (max-width:1000px){.admin-body .admin-layout{display:block!important}.admin-body .sidebar{border-right:0!important;border-bottom:1px solid var(--crm-line)!important;padding:18px!important}.admin-body .site-tree{max-height:340px!important}.admin-body .admin-main{padding:24px 18px 52px!important}}
@media (max-width:560px){.admin-body .sidebar{padding:12px!important}.admin-body .domain-actions{grid-template-columns:1fr 1fr!important;padding:10px!important}.admin-body .domain-branch-row .edit-link{display:none!important}.admin-body .domain-branch-row .check-badge{flex-basis:58px!important;font-size:9px!important}.admin-body .admin-main{padding:18px 12px 42px!important}.admin-body .server-status{grid-template-columns:1fr!important}.admin-body .mode-switch{grid-template-columns:1fr 1fr auto!important}.admin-body .mode-switch .mode-settings{grid-column:1 / -1!important;min-height:34px!important}}
