:root{--navy:#0201bf;--navy-dark:#010178;--blue:#0201bf;--blue-light:#eeeeff;--yellow:#0201bf;--surface:#fff;--background:#f1f2f6;--border:#cfd2df;--text:#25263a;--muted:#686a7d;--success:#237a4b;--danger:#b42318;--shadow:0 2px 8px rgba(22,22,80,.09)}
body:not(.login-page){padding-top:156px}body header{height:112px;align-items:stretch}body header>.row{min-width:0;flex:1;align-items:stretch}body header .logo{width:280px;height:112px;padding:17px 22px;flex:0 0 280px}body header .ribbon-workspace{min-width:0;height:112px;overflow:hidden}body header .ribbon-tabs{height:40px;min-height:40px;padding:0 12px;overflow:hidden}body header .ribbon-tab{min-height:39px;padding:9px 17px}body header .ribbon-workspace .menu{height:72px;min-height:72px;padding:0 8px;overflow-x:hidden;overflow-y:hidden;scrollbar-width:none}body header .ribbon-workspace .menu::-webkit-scrollbar{display:none}body header .ribbon-workspace .menu-link{min-width:104px;height:72px;padding:8px 13px;flex-direction:column;gap:5px;border-right:1px solid #e2e3ec;font-size:11px}body header .ribbon-workspace .menu-link i{font-size:21px}body header>.header-user{width:255px;min-width:255px!important;padding:22px!important;display:flex;flex-direction:column;align-items:flex-end;justify-content:center;text-align:right;border-left:1px solid var(--border);background:#fff;color:var(--text);line-height:1.35}.header-user-label{margin-bottom:3px;color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.06em}.header-user strong{color:#303147;font-size:14px}.header-user small{margin-top:3px;font-size:12px}.header-user small span{padding:0 4px;color:#a1a2b0}.header-user .logout{text-decoration:none}.header-user .logout:hover{text-decoration:underline}body .sub-header{top:112px;height:44px;padding:0 30px;border-bottom:0}
@media(max-width:1100px){body header .logo{width:220px;flex-basis:220px;padding:14px 16px}body header .header-user{display:none}}
@media(max-width:780px){body:not(.login-page){padding-top:148px}body header{height:104px}body header .logo{width:132px;height:104px;flex-basis:132px;padding:12px 9px}body header .ribbon-workspace{height:104px}body header .ribbon-tabs{height:34px;min-height:34px;overflow-x:auto}body header .ribbon-tab{min-height:33px;padding:7px 11px}body header .ribbon-workspace .menu{height:70px;min-height:70px;overflow-x:auto}body header .ribbon-workspace .menu-link{min-width:88px;height:70px;padding:6px 9px}body .sub-header{top:104px;height:44px;padding:0 14px}}
body:not(.login-page){padding-top:130px}body header{height:86px}body header .logo{width:250px;height:86px;flex-basis:250px;padding:12px 18px}body header .ribbon-workspace{height:86px}body header .ribbon-tabs{height:32px;min-height:32px}body header .ribbon-tab{min-height:31px;padding:6px 15px;font-size:11px}body header .ribbon-workspace .menu{height:54px;min-height:54px}body header .ribbon-workspace .menu-link{min-width:96px;height:54px;padding:5px 11px;gap:3px;font-size:10px}body header .ribbon-workspace .menu-link i{font-size:18px}body header>.header-user{padding:12px 20px!important}body .sub-header{top:86px;height:44px}
@media(max-width:1100px){body header .logo{width:195px;flex-basis:195px;padding:10px 14px}}
@media(max-width:780px){body:not(.login-page){padding-top:126px}body header{height:82px}body header .logo{width:120px;height:82px;flex-basis:120px;padding:9px 7px}body header .ribbon-workspace{height:82px}body header .ribbon-tabs{height:30px;min-height:30px}body header .ribbon-tab{min-height:29px;padding:5px 9px}body header .ribbon-workspace .menu{height:52px;min-height:52px}body header .ribbon-workspace .menu-link{min-width:80px;height:52px;padding:4px 7px}body .sub-header{top:82px;height:44px}}
.menu-link.active{color:var(--navy-dark);background:var(--blue-light);box-shadow:inset 0 -3px var(--yellow)}
.ribbon-workspace{min-width:0;display:flex;flex:1;flex-direction:column;align-self:stretch}.ribbon-tabs{height:34px;display:flex;align-items:flex-end;gap:1px;padding:0 10px;background:#f3f5f7;border-bottom:1px solid var(--border)}.ribbon-tab{width:auto;min-height:33px;margin:0;padding:7px 14px;color:#405368;background:transparent;border:0;border-radius:0;font-size:12px;font-weight:650}.ribbon-tab:hover{color:var(--navy);background:#e4eaf0;border-color:transparent}.ribbon-tab.active{color:var(--navy);background:#fff;box-shadow:inset 0 3px var(--blue);border-left:1px solid var(--border);border-right:1px solid var(--border)}.ribbon-workspace .menu{height:48px;padding-left:8px;background:#fff}.ribbon-workspace .menu-link{min-width:88px;height:48px;padding:5px 11px;flex-direction:row;gap:7px;border-right:1px solid #e2e7ec;font-size:11px}.ribbon-workspace .menu-link i{font-size:17px}.ribbon-workspace .menu-link[hidden]{display:none}.ribbon-workspace .menu-link.active{box-shadow:inset 0 -3px var(--yellow)}
.remember-option{margin:4px 0 14px;display:flex;align-items:center;gap:9px;color:var(--text);font-weight:400}.remember-option input{width:17px;height:17px;margin:0;flex:0 0 auto}.remember-option span{line-height:1.3}
.bulk-import{margin-top:12px;padding-top:22px;border-top:1px solid var(--border)}.bulk-import h2{margin-bottom:10px}.bulk-import p{margin-bottom:10px;color:var(--muted)}.bulk-import textarea{font-family:Consolas,"Courier New",monospace;line-height:1.5}.bulk-import small{display:block;margin:-1px 0 12px}.bulk-import button{width:100%}
.credentials-wrapper{display:block}.credential-card{border:1px solid var(--border);box-shadow:none}.credential-actions{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.credential-actions p{margin-top:6px}.credential-actions button{flex:0 0 auto}.credential-data{margin:4px 0 8px;border-collapse:collapse}.credential-data th,.credential-data td{padding:9px 11px;border:1px solid #000;background:#fff;color:#000}.credential-data th{width:190px;font-weight:700}.credential-value{font:700 16px Consolas,"Courier New",monospace;letter-spacing:.03em}.credential-notice{margin-top:4px;line-height:1.5}@media print{body{padding:0;background:#fff}body>*{visibility:hidden}.credentials-wrapper,.credentials-wrapper *{visibility:visible}.credentials-wrapper{position:absolute;inset:0;width:100%;margin:0}.credential-card{padding:0;border:0;box-shadow:none}.credential-actions button{display:none}.credential-actions{display:block}.credential-data th,.credential-data td{background:#fff!important;color:#000!important}.credential-notice{margin-top:10px}}
@media(max-width:780px){body:not(.login-page){padding-top:126px}body header{height:82px}body .sub-header{top:82px}.ribbon-tabs{overflow-x:auto;align-items:stretch}.ribbon-tab{flex:0 0 auto;padding-inline:11px}.ribbon-workspace .menu{overflow-x:auto}.ribbon-workspace .menu-link{min-width:82px}}
*{box-sizing:border-box}html{min-height:100%}body{min-height:100vh;margin:0;padding:126px 0 0;color:var(--text);background:var(--background);font-family:"Segoe UI",Arial,sans-serif;font-size:14px;line-height:1.45}a{color:var(--blue);text-decoration:none}a:hover{color:var(--navy-dark);text-decoration:underline}h1,h2,h3{margin:0;color:var(--navy-dark);line-height:1.25}h2{padding-bottom:12px;border-bottom:1px solid var(--border);font-size:20px;font-weight:650}p{margin:0}small{color:var(--muted)}
.container-wrapper{width:min(1500px,calc(100% - 40px));margin:24px auto;display:flex;align-items:stretch;justify-content:center;gap:20px}.container{width:100%;min-width:0;padding:24px;display:flex;flex-direction:column;gap:14px;background:var(--surface);border:1px solid var(--border);border-radius:4px;box-shadow:var(--shadow)}
label{display:block;margin:10px 0 5px;color:#36374f;font-size:13px!important;font-weight:600}input[type=text],input[type=password],input[type=datetime-local],input[type=number],input[type=date],input[type=email],input[type=file],select,textarea{width:100%;min-height:40px;margin:0 0 8px;padding:9px 11px;color:var(--text);background:#fff;border:1px solid #aeb0c2;border-radius:3px;outline:none;font:inherit;transition:border-color .15s,box-shadow .15s}textarea{min-height:100px;resize:vertical}input:focus,select:focus,textarea:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(2,1,191,.14)}input:disabled,select:disabled,textarea:disabled{background:#f0f2f4;color:#59697a;cursor:not-allowed}input[type=checkbox],input[type=radio]{accent-color:var(--blue)}
button,.button,.action-link{min-height:38px;padding:9px 16px;display:inline-flex;align-items:center;justify-content:center;gap:7px;color:#fff;background:var(--blue);border:1px solid var(--blue);border-radius:3px;cursor:pointer;font:inherit;font-size:13px;font-weight:650;text-transform:none;transition:.15s}button:hover,.button:hover,.action-link:hover{color:#fff;background:var(--navy);border-color:var(--navy);text-decoration:none}button.small{min-height:32px;padding:6px 10px;font-size:12px}.btn-approve{background:var(--success);border-color:var(--success)}.btn-deny,.delete-btn{background:var(--danger);border-color:var(--danger)}.btn-info,button.cancel{color:var(--navy);background:#fff;border-color:#9babbc}.buttons{display:flex;flex-wrap:wrap;gap:8px}
.message,.validation-error{padding:11px 13px;color:#244967;background:var(--blue-light);border:1px solid #bfd3e5;border-left:4px solid var(--blue);border-radius:2px;font-size:13px;font-weight:600}.message.error,.validation-error{color:#7f1d1d;background:#fff0f0;border-color:#e7b8b8;border-left-color:var(--danger)}.message.success{color:#175c38;background:#edf8f2;border-color:#b8dcc9;border-left-color:var(--success)}.message a{color:inherit;text-decoration:underline}
.form-note{margin:0 0 8px;color:var(--muted);font-size:12px;line-height:1.45}.form-note strong{color:var(--text)}
table{width:100%;margin:0 0 12px;border-collapse:collapse;background:#fff;border:1px solid var(--border)}th,td{padding:10px 11px;text-align:left;vertical-align:middle;border:1px solid #d8e0e8;font-size:13px}th{color:#2d4359;background:#eef3f7;font-weight:700}tbody tr:nth-child(even){background:#fafbfd}tbody tr:hover{background:#f2f7fb}td form{margin:0}
header{position:fixed;z-index:999;inset:0 0 auto;height:82px;display:flex;align-items:center;justify-content:space-between;color:var(--text);background:#fff;border-bottom:1px solid #c7d1dc;box-shadow:0 1px 5px rgba(20,45,70,.12)}header>.row{height:100%;min-width:0;display:flex;align-items:stretch}.logo{width:245px;height:82px;padding:12px 18px;display:flex;align-items:center;background:#fff;border-right:1px solid #d8e0e8}.logo img{width:100%;height:100%;padding:0;object-fit:contain;object-position:left center}.menu{height:82px;display:flex;align-items:stretch;overflow-x:auto;scrollbar-width:thin}.menu-link{min-width:78px;height:82px;padding:9px 10px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:#344a60;border-right:1px solid #e2e7ec;font-size:11px;font-weight:600;text-align:center;white-space:nowrap}.menu-link i{margin:0;color:var(--blue);font-size:19px}.menu-link:hover{color:var(--navy-dark);background:var(--blue-light);text-decoration:none}header>div:last-child{min-width:225px;padding:0 20px!important;color:#344a60;line-height:1.35}.logout{color:var(--blue);font-weight:600}.sub-header{position:fixed;z-index:998;top:82px;left:0;right:0;height:44px;padding:0 24px;display:flex;align-items:center;color:#fff;background:var(--navy);border-bottom:3px solid var(--yellow);font-size:13px;font-weight:600}
.modal{display:none;position:fixed;z-index:1300;inset:0;overflow:auto;padding:30px;background:rgba(9,28,48,.55)}.modal.is-open{display:block}.modal-content{width:min(720px,100%);max-height:calc(100vh - 60px);margin:0 auto;padding:28px;overflow-y:auto;background:#fff;border:1px solid var(--border);border-radius:4px;box-shadow:0 16px 40px rgba(0,0,0,.22)}.form-modal .modal-content{width:min(680px,100%)}.modal-header{margin-bottom:14px;padding-bottom:12px;display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid var(--border)}.modal-header h2{padding:0;border:0}.modal-close{width:36px;min-width:36px;min-height:36px;padding:0;color:#4c5260;background:#fff;border-color:var(--border);font-size:22px;line-height:1}.modal-close:hover{color:#fff}.modal-actions{margin:0 0 14px;display:flex;flex-wrap:wrap;gap:8px}.modal form>button[type=submit]{margin-top:8px}.row-form-items{display:flex;gap:12px}body.modal-open{overflow:hidden}
body.login-page{padding:0;background:#eeeef5}.login-shell{min-height:100vh;display:grid;grid-template-columns:minmax(340px,42%) 1fr}.login-brand-panel{padding:54px;display:flex;flex-direction:column;justify-content:space-between;color:#fff;background:linear-gradient(145deg,#010178 0%,#0201bf 100%)}.login-brand-panel img{width:min(360px,90%);max-height:112px;padding:15px;object-fit:contain;background:#fff;border-radius:4px}.login-brand-copy h1{margin:30px 0 13px;color:#fff;font-size:clamp(28px,3vw,42px);font-weight:600}.login-brand-copy p{max-width:540px;color:#eeeeff;font-size:16px}.login-brand-footer{color:#d8d8ff;font-size:12px}.login-form-panel{padding:48px;display:flex;align-items:center;justify-content:center}.login-card{width:min(440px,100%);padding:34px;background:#fff;border:1px solid #cfd2df;border-top:5px solid var(--blue);border-radius:4px;box-shadow:0 8px 24px rgba(22,22,80,.12)}.login-card h2{margin-bottom:8px;padding:0;border:0;font-size:25px}.login-intro{margin-bottom:24px;color:var(--muted)}.login-card label{margin-top:14px}.login-card input[type=text],.login-card input[type=password]{min-height:46px}.login-card button{width:100%;min-height:46px;margin-top:10px;font-size:14px}.login-security{margin-top:18px;padding-top:16px;display:flex;gap:9px;color:var(--muted);border-top:1px solid #e0e1eb;font-size:12px}
::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background:#dfe5eb}::-webkit-scrollbar-thumb{background:#8b9bad;border:2px solid #dfe5eb;border-radius:8px}
@media(max-width:1100px){header>div:last-child{display:none}.logo{width:200px}}@media(max-width:780px){body{padding-top:120px}header{height:76px}header>.row{width:100%}.logo{width:150px;height:76px;padding:10px;flex:0 0 auto}.menu{height:76px;flex:1}.menu-link{min-width:69px;height:76px;padding:7px;font-size:10px}.sub-header{top:76px;height:44px;padding:0 14px}.container-wrapper{width:calc(100% - 20px);margin:14px auto;flex-direction:column}.container{width:100%;padding:17px}.row-form-items{flex-direction:column}button{width:100%}.buttons{flex-direction:column}.login-shell{grid-template-columns:1fr}.login-brand-panel{min-height:245px;padding:28px}.login-brand-panel img{width:255px;max-height:84px}.login-brand-copy h1{margin-top:20px;font-size:27px}.login-brand-copy p{font-size:14px}.login-brand-footer{display:none}.login-form-panel{padding:22px 14px 40px}.login-card{padding:24px 20px}}@media(max-width:600px){.table,.table thead,.table tbody,.table th,.table td,.table tr{display:block}.table thead{display:none}.table tr{margin-bottom:12px;padding:8px;border:1px solid var(--border);background:#fff}.table td{min-height:30px;border:0;border-bottom:1px solid #edf0f3}.modal{padding:12px}.modal-content{max-height:calc(100vh - 24px);padding:20px}}

/* Pełny układ mobilny aplikacji */
.mobile-logout{display:none}
@media(max-width:780px){
html{overflow-x:hidden}body{max-width:100%;overflow-x:hidden;font-size:13px}body:not(.login-page){padding-top:126px}
header{height:82px;overflow:hidden}header>.row{min-width:0;width:100%}.logo{width:64px!important;height:82px!important;flex:0 0 64px!important;padding:10px 7px!important}.logo img{content:url('zsz2_su_sygnet_kolor.svg');object-position:center}
.ribbon-workspace{width:calc(100vw - 64px);height:82px!important}.ribbon-tabs{height:30px!important;min-height:30px!important;padding:0 3px!important;overflow-x:auto!important;overflow-y:hidden;scrollbar-width:none}.ribbon-tabs::-webkit-scrollbar{display:none}.ribbon-tab{min-height:29px!important;padding:5px 10px!important;font-size:10px!important;white-space:nowrap}
.ribbon-workspace .menu{height:52px!important;min-height:52px!important;padding-left:0!important;overflow-x:auto!important;overflow-y:hidden!important;scroll-snap-type:x proximity}.ribbon-workspace .menu-link{min-width:76px!important;height:52px!important;padding:4px 7px!important;flex:0 0 auto;flex-direction:column!important;gap:2px!important;font-size:9px!important;scroll-snap-align:start}.ribbon-workspace .menu-link i{font-size:16px!important}.mobile-logout{display:flex}
.sub-header{top:82px!important;height:44px!important;padding:0 10px!important;overflow:hidden;font-size:11px!important;line-height:1.25;white-space:nowrap;text-overflow:ellipsis}
.container-wrapper{width:calc(100% - 16px)!important;margin:10px auto!important;gap:10px!important;display:flex!important;flex-direction:column!important}.container{max-width:100%!important;min-width:0!important;padding:14px!important;gap:11px!important;overflow-x:auto;border-radius:2px}h1{font-size:22px}h2{font-size:17px}h3{font-size:15px}
input[type=text],input[type=password],input[type=datetime-local],input[type=number],input[type=date],input[type=email],input[type=file],select,textarea{min-width:0;min-height:44px;font-size:16px}textarea{min-height:120px}label{font-size:12px!important}
.buttons,.modal-actions,.credential-actions,.protocol-toolbar{width:100%;flex-direction:column!important;align-items:stretch!important}.buttons>*,.modal-actions>*,.credential-actions>*,.protocol-toolbar>*{width:100%!important}.action-link{white-space:normal;text-align:center}td form[style*="inline"],td .inline-form,.inline-status,.inline{display:flex!important;flex-direction:column;gap:6px;width:100%;margin-top:6px!important}td button,td .button,td .action-link{width:100%;margin:2px 0}
table:not(.credential-data){min-width:620px}table.table{min-width:0}.table td{overflow-wrap:anywhere}.container>table:not(.table),.table-wrap,.protocol-table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
.modal{padding:8px!important;overscroll-behavior:contain}.modal-content{width:100%!important;max-width:none!important;max-height:calc(100dvh - 16px)!important;margin:0!important;padding:16px!important;border-radius:3px}.modal-header{position:sticky;z-index:2;top:-16px;margin:-16px -16px 12px;padding:13px 16px;background:#fff}.modal-header h2{font-size:17px}.modal-close{width:38px!important;min-width:38px!important;flex:0 0 38px}.row-form-items,.dates,.time-fields{flex-direction:column!important;gap:0!important}
.final-meta{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}.final-meta div{min-width:0!important}.election-data{grid-template-columns:1fr!important}.print-status dl,.account-data{grid-template-columns:1fr!important}.credential-data{display:table!important;min-width:520px}.credentials-wrapper{overflow-x:auto}.impersonation-bar{height:auto!important;min-height:44px;padding:5px 8px!important;align-items:center;gap:6px}.impersonation-bar span{min-width:0;line-height:1.2}.impersonation-bar button{width:auto!important;white-space:normal}.impersonating-body:not(.login-page){padding-top:170px!important}.impersonating-body .sub-header{top:126px!important}
.login-shell{display:block;min-height:100dvh}.login-brand-panel{min-height:auto;padding:20px 18px}.login-brand-panel img{width:210px;max-height:68px}.login-brand-copy h1{margin:14px 0 7px;font-size:23px}.login-brand-copy p{font-size:13px}.login-form-panel{padding:16px 10px 28px;align-items:flex-start}.login-card{padding:21px 16px}.login-card h2{font-size:21px}
}
@media(max-width:420px){.logo{width:54px!important;flex-basis:54px!important;padding:9px 5px!important}.ribbon-workspace{width:calc(100vw - 54px)}.ribbon-tab{padding-inline:8px!important}.ribbon-workspace .menu-link{min-width:70px!important}.container-wrapper{width:calc(100% - 10px)!important}.container{padding:12px!important}.modal{padding:4px!important}.modal-content{max-height:calc(100dvh - 8px)!important;padding:14px!important}.modal-header{top:-14px;margin:-14px -14px 12px;padding:12px 14px}}

/* Kompaktowe akcje w tabeli harmonogramu */
.schedule-table th:last-child,.schedule-table td:last-child{width:190px;min-width:190px}.schedule-table td:last-child>.status-saved,.schedule-table td:last-child>.status-empty{display:block;margin:0 0 7px}.schedule-table td:last-child>.schedule-edit-button,.schedule-table td:last-child>form{display:inline-block;vertical-align:top}.schedule-table td:last-child>.schedule-edit-button,.schedule-table td:last-child>form button{width:auto!important;min-width:76px!important;min-height:32px!important;margin:0 5px 0 0!important;padding:6px 10px!important;font-size:11px!important;line-height:1.2;white-space:nowrap}.schedule-table td:last-child>form{margin:0!important}.schedule-table td:last-child>form button{margin-right:0!important}.schedule-table td:last-child i{margin-right:5px}@media(max-width:700px){.schedule-table th:last-child,.schedule-table td:last-child{width:170px;min-width:170px}.schedule-table td:last-child>.schedule-edit-button,.schedule-table td:last-child>form button{min-width:68px!important;padding:6px 8px!important}}

/* Animacja głosowania na ekranie logowania */
.login-brand-panel{position:relative;overflow:hidden}.login-brand-panel:before,.login-brand-panel:after{content:"";position:absolute;border:1px solid rgba(255,255,255,.1);border-radius:50%;pointer-events:none}.login-brand-panel:before{width:340px;height:340px;right:-150px;top:-120px}.login-brand-panel:after{width:230px;height:230px;left:-120px;bottom:40px}.login-brand-panel>div,.login-brand-footer{position:relative;z-index:1}.ballot-animation{position:relative;width:230px;height:225px;margin:28px auto 5px;filter:drop-shadow(0 18px 25px rgba(0,0,55,.3));animation:ballot-scene 2.6s ease-in-out infinite;will-change:transform}.ballot-box{position:absolute;left:28px;right:28px;bottom:0;height:112px;border:2px solid rgba(255,255,255,.9);border-radius:7px 7px 12px 12px;background:linear-gradient(145deg,rgba(255,255,255,.24),rgba(255,255,255,.1));box-shadow:inset 0 0 24px rgba(255,255,255,.08)}.ballot-box-label{position:absolute;left:22px;right:22px;top:34px;padding:9px 0;text-align:center;color:#0201bf;background:#fff;border-radius:3px;font-size:13px;font-weight:800;letter-spacing:.18em}.ballot-slot{position:absolute;z-index:3;left:48px;right:48px;bottom:105px;height:10px;border:2px solid rgba(255,255,255,.9);border-radius:8px;background:#01016f;box-shadow:0 0 0 7px rgba(255,255,255,.13)}.ballot-paper{position:absolute;z-index:2;top:5px;left:82px;width:68px;height:82px;padding:13px 10px;background:#fff;border-radius:3px;box-shadow:0 8px 16px rgba(0,0,70,.28);transform-origin:center bottom;animation:ballot-drop 2.6s cubic-bezier(.55,.05,.4,1) infinite;animation-play-state:running;will-change:transform,opacity}.ballot-paper:before{content:"";position:absolute;inset:0;border:1px solid rgba(2,1,191,.18);border-radius:3px}.ballot-paper span{display:block;height:4px;margin-bottom:8px;background:#d9dcf4;border-radius:3px}.ballot-paper span:nth-child(2){width:70%}.ballot-paper b{display:block;margin-top:4px;color:#ffc400;font-size:26px;line-height:1;text-align:center}.ballot-slot:after{content:"";position:absolute;inset:-8px;border-radius:12px;box-shadow:0 0 18px rgba(255,196,0,.7);opacity:0;animation:slot-flash 2.6s ease infinite}@keyframes ballot-drop{0%{opacity:0;transform:translateY(-32px) rotate(-9deg)}10%{opacity:1}52%{opacity:1;transform:translateY(18px) rotate(3deg)}68%,100%{opacity:0;transform:translateY(88px) scale(.72)}}@keyframes slot-flash{0%,45%,75%,100%{opacity:0}57%{opacity:1}}@keyframes ballot-scene{0%,100%{transform:translateY(0)}50%{transform:translateY(4px)}}@media(prefers-reduced-motion:reduce){.ballot-paper,.ballot-slot:after,.ballot-animation{animation:none}.ballot-paper{opacity:1;transform:translateY(18px)}}@media(max-width:780px){.ballot-animation{width:180px;height:145px;margin:10px auto 0}.ballot-box{left:25px;right:25px;height:70px}.ballot-box-label{top:20px;padding:5px;font-size:10px}.ballot-slot{left:42px;right:42px;bottom:64px}.ballot-paper{left:66px;width:50px;height:59px;padding:8px;animation-name:ballot-drop-mobile}.ballot-paper span{height:3px;margin-bottom:5px}.ballot-paper b{font-size:19px}@keyframes ballot-drop-mobile{0%{opacity:0;transform:translateY(-22px) rotate(-8deg)}10%{opacity:1}52%{opacity:1;transform:translateY(7px) rotate(2deg)}68%,100%{opacity:0;transform:translateY(52px) scale(.7)}}
