/* Presentation overrides for the supplied KSEF Cosma project. */
:root{--mz-bg:#101827;--mz-panel:#1c283a;--mz-field:#121e30;--mz-head:#253349;--mz-line:#35445b;--mz-input-line:#556c8b;--mz-text:#e5edf8;--mz-muted:#bacbe3;--mz-link:#8cb9ff;--mz-active:#2e4568;--mz-blue:#275cda;--mz-hover:#3470ef;--mz-pending:#2baff4;--mz-shadow:none;color-scheme:dark}
:root[data-ezd-theme="light"]{--mz-bg:#f4f6fa;--mz-panel:#fff;--mz-field:#fff;--mz-head:#edf2f8;--mz-line:#d5deeb;--mz-input-line:#a8b8cc;--mz-text:#24324b;--mz-muted:#526783;--mz-link:#235fa8;--mz-active:#dfebfd;--mz-blue:#255bd6;--mz-hover:#194bc1;--mz-pending:#d9efff;--mz-shadow:0 5px 20px #17243e08;color-scheme:light}
body.ezd-app,body.ezd-login{--ezd-bg:var(--mz-bg);--ezd-line:var(--mz-line);--ezd-muted:var(--mz-muted);--ezd-blue:var(--mz-link);--ezd-navy:var(--mz-bg);background:var(--mz-bg)!important;color:var(--mz-text)!important}
.ezd-app .ezd-shell{display:flex!important;flex-direction:column;min-height:100vh}.ezd-app .ezd-sidebar{display:flex;flex-direction:row;align-items:center;gap:24px;padding:9px 16px!important;min-height:65px;background:var(--mz-bg);border-bottom:1px solid var(--mz-line);flex-wrap:wrap}.ezd-app .ezd-brand{font-size:26px;color:var(--mz-link);font-weight:500;letter-spacing:0;line-height:1.2}.ezd-app .ezd-brand small{display:block!important;color:var(--mz-muted);font-size:12px;margin:2px 0 0!important}.ezd-app .ezd-nav-label,.ezd-app .ezd-sidebar-footer{display:none}.ezd-app #main-nav{display:flex!important;flex-wrap:wrap;gap:5px}.ezd-app #main-nav li a{padding:11px 13px;color:var(--mz-text);border-radius:7px}.ezd-app #main-nav li a:before{display:none}.ezd-app #main-nav li a.current,.ezd-app #main-nav li a[aria-current=page]{background:var(--mz-active);color:var(--mz-text)}.ezd-app #main-nav li a:hover{background:var(--mz-head);color:var(--mz-text)}.ezd-app .ezd-workspace{flex:1}.ezd-app .ezd-toolbar{background:var(--mz-panel);padding:8px 16px!important;min-height:56px;border-bottom:2px solid var(--mz-line);gap:14px}.ezd-app .ezd-toolbar-title{color:var(--mz-muted)}.ezd-app .divprofil,.ezd-app .txtprofil{color:var(--mz-text)}.ezd-app .txtprofil a,.ezd-app .txtprofil a:hover{color:var(--mz-link)}.ezd-toolbar-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.ezd-app .log_out{display:inline-flex;align-items:center;justify-content:center;min-width:38px;min-height:38px;color:var(--mz-muted)!important;border-color:var(--mz-input-line);font-size:20px;line-height:1;padding:7px}.ezd-app .content{padding:24px 20px!important;color:var(--mz-text)}.ezd-app .ezd-pageheading h1,.ezd-app h2,.ezd-app h3{color:var(--mz-text)}.ezd-app .ezd-pageheading h1{font-size:27px;letter-spacing:-.3px}.ezd-app .ezd-pageheading p{color:var(--mz-muted)}.ezd-app .ezd-pageheading{margin-bottom:24px}
.ezd-app table.tabelGrid,.ezd-app table.formularz_kontaktowy{background:var(--mz-panel);color:var(--mz-text);box-shadow:0 0 0 1px var(--mz-line)}.ezd-app table.tabelGrid th,.ezd-app table.tabelGrid .naglw1 th{background:var(--mz-head)!important;color:var(--mz-muted);border-color:var(--mz-line)!important;font-size:14px;padding:14px;line-height:1.6}.ezd-app table.tabelGrid td{color:var(--mz-text);border-color:var(--mz-line)!important;font-size:14px;padding:16px 14px}.ezd-app table.tabelGrid .tab1,.ezd-app table.tabelGrid .tab2{background:var(--mz-panel);color:var(--mz-text)}.ezd-app table.tabelGrid .tab1:hover,.ezd-app table.tabelGrid .tab2:hover,.ezd-app table.tabelGrid .tabSelect{background:var(--mz-head)}.ezd-app table.tabelGrid th a{color:var(--mz-muted)}.ezd-app .ezd-ksef-id{color:var(--mz-muted);font-size:12px}.ezd-app .ezd-table-scroll{scrollbar-color:var(--mz-input-line) var(--mz-panel)}
.ezd-app :is(input[type=text],input[type=password],input[type=date],input[type=number],select,textarea),.ezd-login :is(.inp_name,.inp_password,.inp_name_rec)>input{background:var(--mz-field)!important;color:var(--mz-text)!important;border-color:var(--mz-input-line)!important}.ezd-app input::placeholder,.ezd-app textarea::placeholder,.ezd-login input::placeholder{color:var(--mz-muted);opacity:.85}.ezd-app input[type=checkbox],.ezd-app input[type=radio]{accent-color:var(--mz-blue)}.ezd-app label{color:var(--mz-muted)}.ezd-app :is(a.zaloguj,input[type=submit],input[type=button],button.ezd-button),.ezd-login input.ezd-auth-primary{background:var(--mz-blue)!important;color:white!important;border-color:#6089f1}.ezd-app a.zaloguj:hover,.ezd-app input[type=submit]:hover,.ezd-login input.ezd-auth-primary:hover{background:var(--mz-hover)!important}.ezd-app a.zaloguj[id$=Anuluj],.ezd-login input.ezd-auth-secondary{background:var(--mz-head)!important;color:var(--mz-text)!important;border-color:var(--mz-input-line)}
.ezd-app .chosen-container-single .chosen-single,.ezd-app .chosen-container .chosen-drop,.ezd-app .chosen-container .chosen-choices{background:var(--mz-field)!important;color:var(--mz-text)!important;border-color:var(--mz-input-line)!important}.ezd-app .chosen-container .chosen-results li.highlighted{background:var(--mz-blue)!important;color:#fff!important}.ezd-app .chosen-container .chosen-search input{color:var(--mz-text)!important;background-color:var(--mz-field)!important}
.ezd-app .content .ezd-status-pending{background-color:var(--mz-pending)!important;color:var(--mz-text)!important}.ezd-app td:has(>select.ezd-status-pending){background:var(--mz-pending)!important}.ezd-app .content select.ezd-status{background:var(--mz-field)!important;color:var(--mz-text)!important}.ezd-app .content .ezd-status-accepted:not(select){background:#1e593f;color:#e0ffec}.ezd-app .content .ezd-status-posted:not(select){background:#304b78;color:#e0ebff}.ezd-app .content .ezd-status-rejected:not(select){background:#713745;color:#ffedf0}
.ezd-app .menu_center ul li a{background:var(--mz-panel)!important;color:var(--mz-link);border-color:var(--mz-input-line);box-shadow:var(--mz-shadow)}.ezd-app .menu_center ul li a:hover{background:var(--mz-head)!important;border-color:var(--mz-link)}.ezd-app .menu_center ul li a p{color:var(--mz-link);font-size:14px}.ezd-app .ezd-note-panel,.ezd-app .ksef-wrapper{background:var(--mz-panel);color:var(--mz-text);border-color:var(--mz-line)}.ezd-app .ezd-note-panel>b,.ezd-app .party-column h2{color:var(--mz-muted)}.ezd-app .ksef-sys-header,.ezd-app .invoice-type-banner,.ezd-app .grand-total{background:var(--mz-head);color:var(--mz-text)}.ezd-app .items-table :is(td,th),.ezd-app .vat-table :is(td,th),.ezd-app .invoice-footer{border-color:var(--mz-line)!important;color:var(--mz-text)}.ezd-app .items-table th,.ezd-app .vat-table th{background:var(--mz-head)!important;color:var(--mz-muted)}.ezd-app #footer{color:var(--mz-muted);border-color:var(--mz-line)}.ezd-app #lightbox-container-loding{background:var(--mz-panel);color:var(--mz-text)}
/* Keep the existing toolkit calendar geometry and animations. */
.ezd-app .ajax__calendar_container{background:var(--mz-panel)!important;color:var(--mz-text)!important;border:1px solid var(--mz-input-line)!important;border-radius:7px;box-shadow:0 6px 20px #0003}.ezd-app .ajax__calendar_header,.ezd-app .ajax__calendar_footer{color:var(--mz-text)!important;background:var(--mz-panel)!important}.ezd-app .ajax__calendar_day,.ezd-app .ajax__calendar_month,.ezd-app .ajax__calendar_year{color:var(--mz-text)!important}.ezd-app .ajax__calendar_other .ajax__calendar_day{color:var(--mz-muted)!important}.ezd-app .ajax__calendar_active .ajax__calendar_day,.ezd-app .ajax__calendar_hover .ajax__calendar_day{background:var(--mz-blue)!important;color:#fff!important;border-color:var(--mz-blue)!important}.ezd-app .ui-datepicker{background:var(--mz-panel);color:var(--mz-text);border-color:var(--mz-line)}.ezd-app .ui-datepicker-header{background:var(--mz-head);color:var(--mz-text)}
.ezd-login form{padding:55px 20px!important}.ezd-login .ezd-login-brand{color:var(--mz-text);font-size:32px}.ezd-login .ezd-login-caption{color:var(--mz-muted)}.ezd-login .login_panel{background:var(--mz-panel);border:2px solid var(--mz-line);box-shadow:none;max-width:432px;border-radius:13px;padding:30px}.ezd-login .ezd-auth-title{color:var(--mz-text)}.ezd-login :is(.ezd-auth-description,.ezd-auth-note,.ezd-login-footer),.ezd-login .inp_name label,.ezd-login .inp_password label{color:var(--mz-muted)}.ezd-login .ezd-auth-step{color:var(--mz-link)}.ezd-login .ezd-auth-feedback{color:#ffb5a8}.ezd-login .ezd-login-footer{color:var(--mz-muted);margin-top:25px}.ezd-theme-button{display:inline-flex;align-items:center;justify-content:center;min-height:38px;background:var(--mz-active);color:var(--mz-text);border:1px solid #7892b2;border-radius:6px;padding:8px 13px;font:600 13px/1.4 "Segoe UI",Arial,sans-serif;cursor:pointer;white-space:nowrap}.ezd-theme-button:hover{background:var(--mz-head)}.ezd-login .ezd-theme-button{display:block;margin:20px auto 0}.ezd-theme-button:focus-visible{outline:3px solid var(--mz-link);outline-offset:3px}:root[data-ezd-theme=light] .ezd-login .ezd-auth-feedback{color:#9b321c}
@media(max-width:700px){.ezd-app .ezd-sidebar{gap:12px;padding:12px 16px!important}.ezd-app #header{flex:1 1 100%}.ezd-app .ezd-toolbar{padding:10px 16px!important;align-items:flex-start}.ezd-toolbar-actions{gap:10px}.ezd-app .content{padding:20px 12px!important}.ezd-app .menu_center ul li{flex:1 1 170px}.ezd-app .menu_center ul li a{width:100%}.ezd-login form{padding:35px 16px!important}.ezd-login .login_panel{padding:24px}}
@media print{:root[data-ezd-theme],:root{--mz-bg:white;--mz-panel:white;--mz-field:white;--mz-head:#eee;--mz-text:black;--mz-muted:#333;--mz-link:black;--mz-line:#ccc;--mz-pending:white;color-scheme:light}.ezd-theme-button{display:none!important}}

/* Document screen: full-width actions, notes/history, centered invoice. */
.ezd-app .ezd-document-actions>tbody>tr>td{font-size:14px!important;text-align:left!important;padding:12px!important;vertical-align:top}.ezd-app .ezd-document-actions select{max-width:100%!important;min-width:0;width:100%!important;margin:3px 0!important}.ezd-app .ezd-document-actions input[type=text]{max-width:100%;width:100%!important;margin:3px 0!important}.ezd-app .ezd-document-actions>tbody>tr:first-child>th{text-align:center!important}.ezd-app .ezd-document-actions td:has(>a.zaloguj){vertical-align:middle}.ezd-app .ezd-notes-grid{grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);margin-top:20px;margin-bottom:54px;gap:18px}.ezd-app .ezd-note-panel{border:2px solid var(--mz-line);padding:22px 20px}.ezd-app .ezd-note-panel h2{font-size:14px;color:var(--mz-text);margin-bottom:18px}.ezd-app .ezd-note-panel>b{font-size:14px;color:var(--mz-text)}.ezd-app .mz-print-action{display:flex;justify-content:flex-end;min-height:44px}.ezd-app .mz-print-action a{margin:0 0 4px!important}.ezd-app .ezd-note-panel textarea{min-height:90px!important;margin:0 0 10px!important}.ezd-app .ksef-wrapper{margin:0 auto;max-width:1100px;padding:25px;border:2px solid var(--mz-line)!important}.ezd-app .ksef-wrapper .invoice-meta{text-align:right;margin-bottom:15px}.ezd-app .ksef-wrapper .invoice-type-banner h1{font-size:13px;line-height:1.5;font-weight:400;color:var(--mz-text);margin:0;padding:0;background:transparent}.ezd-app .ksef-wrapper .invoice-type-banner{padding:10px;margin-bottom:36px}.ezd-app .ksef-wrapper .party-column h2{border-color:var(--mz-muted);font-weight:400;margin:0 0 16px}.ezd-app .ksef-wrapper .parties-grid{margin-top:20px;gap:24px}.ezd-app .ksef-wrapper p{font-size:13px;line-height:1.5;margin:0}.ezd-app .ksef-wrapper .grand-total{background:var(--mz-head);color:var(--mz-text);border-color:var(--mz-line)}
@media(max-width:1100px){.ezd-app .mz-cosma-actions>tbody>tr:nth-child(2){display:none}.ezd-app .mz-cosma-actions>tbody>tr:nth-child(3){display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.ezd-app .mz-cosma-actions>tbody>tr:nth-child(3)>td{display:block;width:100%!important}.ezd-app .mz-cosma-actions>tbody>tr:nth-child(3)>td:before{display:block;font-weight:600;font-size:13px;margin-bottom:6px;color:var(--mz-muted)}.ezd-app .mz-cosma-actions>tbody>tr:nth-child(3)>td:nth-child(1):before{content:"Dział / Oddział"}.ezd-app .mz-cosma-actions>tbody>tr:nth-child(3)>td:nth-child(2):before{content:"Koszty MPK"}.ezd-app .mz-cosma-actions>tbody>tr:nth-child(3)>td:nth-child(3):before{content:"Rodzaj"}.ezd-app .mz-cosma-actions>tbody>tr:nth-child(3)>td:nth-child(4):before{content:"Konto / Klasyfikacja"}.ezd-app .mz-cosma-actions>tbody>tr:nth-child(3)>td:nth-child(5):before{content:"Status"}.ezd-app .mz-cosma-actions>tbody>tr:nth-child(3)>td:last-child{grid-column:1/-1}.ezd-app .mz-cosma-actions>tbody>tr:nth-child(3)>td:last-child:before{content:"Przekazanie"}}
@media(max-width:900px){.ezd-app .ezd-notes-grid{grid-template-columns:1fr;margin-bottom:28px}.ezd-app .ksef-wrapper{padding:16px}.ezd-app .ksef-wrapper .parties-grid{grid-template-columns:1fr}}
@media(max-width:500px){.ezd-app .mz-cosma-actions>tbody>tr:nth-child(3){grid-template-columns:1fr}}
@media print{.ezd-app .ksef-wrapper{border:0!important;max-width:none;padding:0}.ezd-app .ksef-wrapper .parties-grid{grid-template-columns:1fr 1fr}}
/* Readability revision: lists, status contrast, hover and form spacing. */
.ezd-app table.tabelGrid>tbody>tr{background-color:var(--mz-panel)!important}
.ezd-app table.tabelGrid>tbody>tr:hover{background-color:var(--mz-head)!important}
.ezd-app table.ezd-filterbar>tbody>tr:hover,.ezd-app table.tabelGrid:has(input[id$=TextBoxSzukaj])>tbody>tr:hover{background-color:var(--mz-panel)!important}
.ezd-app .ezd-data-grid>tbody>tr>:is(td,th),.ezd-app .ezd-data-grid>thead>tr>:is(td,th){font-size:16px!important;line-height:1.55!important;padding:16px 14px!important}
.ezd-app .ezd-data-grid :is(td span,td a,td select,td input,td button,.ezd-ksef-id){font-size:16px!important;line-height:1.5!important}
.ezd-app .ezd-data-grid select{min-height:44px;min-width:160px;max-width:260px;width:100%;padding:10px 12px!important}
.ezd-app .menu_center ul li a p{font-size:16px!important}
.ezd-app .content :is(span,select)[data-mz-status]{--status-bg:#32445d;--status-fg:#eef4ff;background:var(--status-bg)!important;color:var(--status-fg)!important;border:1px solid var(--status-bg)!important;font-weight:500!important;opacity:1!important}
.ezd-app .content :is(span,select)[data-mz-status=downloaded]{--status-bg:#122236;--status-fg:#e4efff}
.ezd-app .content :is(span,select)[data-mz-status=pending]{--status-bg:#4f3b18;--status-fg:#ffdb80}
.ezd-app .content :is(span,select)[data-mz-status=accepted]{--status-bg:#143f33;--status-fg:#a2f3dc}
.ezd-app .content :is(span,select)[data-mz-status=posted]{--status-bg:#43336a;--status-fg:#eee5ff}
.ezd-app .content :is(span,select)[data-mz-status=rejected]{--status-bg:#662d3c;--status-fg:#ffe0e7}
.ezd-app .content .ezd-status-label{display:inline-block;white-space:normal;overflow-wrap:normal;font-size:16px!important;padding:6px 9px;line-height:1.5;max-width:100%}
.ezd-app .content td[data-mz-status-cell=downloaded]{background:#2eb1ff!important}
.ezd-app .content td[data-mz-status-cell=pending]{background:#fbede8!important}
.ezd-app .content td[data-mz-status-cell=accepted]{background:#d3efde!important}
.ezd-app .content td[data-mz-status-cell=posted]{background:#fae2eb!important}
.ezd-app .content td[data-mz-status-cell=rejected]{background:#fee0d6!important}
.ezd-app .content td[data-mz-status-cell=neutral]{background:var(--mz-panel)!important}
.ezd-app .content select[data-mz-status] option{background:var(--mz-field);color:var(--mz-text)}
:root[data-ezd-theme=light] .ezd-app .content :is(span,select)[data-mz-status=neutral]{--status-bg:#e3ebf6;--status-fg:#24324b}
.ezd-app .ksef-wrapper{font-size:15px!important;line-height:1.6}
.ezd-app .ksef-wrapper :is(p,div,span,section,strong,b,address){font-size:15px!important;line-height:1.6!important}
.ezd-app .ksef-wrapper .party-column h2,.ezd-app .ksef-wrapper .invoice-type-banner,.ezd-app .ksef-wrapper .invoice-type-banner h1{font-size:15px!important;line-height:1.6!important}
.ezd-app .ksef-wrapper :is(.items-table,.vat-table) :is(td,th,td span,td strong,td a){font-size:16px!important;line-height:1.5!important;padding:12px 10px}
.ezd-app table.formularz_kontaktowy{max-width:620px;padding:24px!important;border:1px solid var(--mz-line)!important;border-spacing:0;background:var(--mz-panel)!important}
.ezd-app table.formularz_kontaktowy>tbody>tr>td{padding:0 0 22px!important}
.ezd-app table.formularz_kontaktowy>tbody>tr:last-child>td{padding-bottom:0!important}
.ezd-app .formularz_kontaktowy span.nazwa{display:block!important;float:none!important;width:auto!important;height:auto!important;min-height:0;margin:0 0 10px!important;padding:0!important;font-size:15px!important;line-height:1.5!important;color:var(--mz-muted)}
.ezd-app .formularz_kontaktowy input:not([type=submit]):not([type=button]){display:block;width:100%!important;max-width:420px!important;min-height:46px;margin:0!important;font-size:16px!important;padding:11px 13px!important}
.ezd-app .formularz_kontaktowy input:focus{background:var(--mz-field)!important;color:var(--mz-text)!important}
.ezd-app .formularz_kontaktowy td>br{display:none}
@media(max-width:700px){.ezd-app table.formularz_kontaktowy{padding:20px!important}.ezd-app .ezd-data-grid>tbody>tr>:is(td,th){padding:14px 12px!important}}
@media print{.ezd-print .ksef-wrapper{font-size:12px}.ezd-print .ksef-wrapper :is(td,th){font-size:12px}}

.ezd-app .content .ezd-data-grid :is(td span,td a,td select,td input,td button){font-size:16px!important;line-height:1.5!important}.ezd-app .content table:has(input[id$=TextBoxSzukaj]) :is(input[type=text],select){font-size:16px!important;min-height:44px}
.ezd-app .ezd-table-scroll>table.mz-wide-grid{min-width:1800px}.ezd-app .content .ezd-data-grid select[id$=DropDownSTATUS]{min-width:220px;max-width:280px}.ezd-app .content table:has(input[id$=TextBoxSzukaj]) select{min-width:210px}.ezd-app .content table:has(input[id$=TextBoxSzukaj]) input[id$=DataOd],.ezd-app .content table:has(input[id$=TextBoxSzukaj]) input[id$=DataDo]{width:170px!important}
/* Document edit fields share one appearance; semantic colors stay on lists. */
.ezd-app .content table.ezd-document-actions>tbody>tr,
.ezd-app .content table.ezd-document-actions>tbody>tr:hover,
.ezd-app .content table.ezd-document-actions>tbody>tr>td,
.ezd-app .content table.ezd-document-actions>tbody>tr:hover>td,
.ezd-app .content table.ezd-document-actions>tbody>tr>td[data-mz-status-cell]{background:var(--mz-panel)!important}
.ezd-app .content table.ezd-document-actions select,
.ezd-app .content table.ezd-document-actions select.ezd-status[data-mz-status],
.ezd-app .content table.ezd-document-actions select:hover,
.ezd-app .content table.ezd-document-actions select:focus{background:var(--mz-field)!important;color:var(--mz-text)!important;border:1px solid var(--mz-input-line)!important;font-weight:400!important}
.ezd-app .content select.ezd-status[data-mz-status=neutral]{background:var(--mz-field)!important;color:var(--mz-text)!important;border:1px solid var(--mz-input-line)!important;font-weight:400!important}


/* Profile panel follows the full-width Mazurian reference. */
.ezd-app .content table.formularz_kontaktowy{width:100%!important;max-width:none!important;border:2px solid var(--mz-line)!important;border-radius:10px;padding:24px!important}
.ezd-app .content .formularz_kontaktowy input:not([type=submit]):not([type=button]){width:360px!important;max-width:100%!important}
/* Scope calendar colors to the popup, without changing toolkit geometry. */
.ezd-app .content .ajax__calendar_container,
.ezd-app .content .ajax__calendar_body,
.ezd-app .content .ajax__calendar_days,
.ezd-app .content .ajax__calendar_months,
.ezd-app .content .ajax__calendar_years,
.ezd-app .content .ajax__calendar_container table,
.ezd-app .content .ajax__calendar_container table tr,
.ezd-app .content .ajax__calendar_container table tr:hover,
.ezd-app .content .ajax__calendar_container table :is(td,th){background:var(--mz-panel)!important;color:var(--mz-text)!important;border-color:transparent!important;box-shadow:none!important}
.ezd-app .content .ajax__calendar_container{border:1px solid var(--mz-input-line)!important;padding:8px!important;box-shadow:0 8px 24px #0005!important}
.ezd-app .content .ajax__calendar_container .ajax__calendar_day,
.ezd-app .content .ajax__calendar_container .ajax__calendar_month,
.ezd-app .content .ajax__calendar_container .ajax__calendar_year{background:var(--mz-panel)!important;color:var(--mz-text)!important;border:1px solid transparent!important;font:500 13px/17px "Segoe UI",Arial,sans-serif!important}
.ezd-app .content .ajax__calendar_container .ajax__calendar_dayname{background:var(--mz-panel)!important;color:var(--mz-muted)!important;font:600 12px/17px "Segoe UI",Arial,sans-serif!important}
.ezd-app .content .ajax__calendar_container .ajax__calendar_other .ajax__calendar_day{color:var(--mz-muted)!important;background:var(--mz-panel)!important}
.ezd-app .content .ajax__calendar_container .ajax__calendar_active :is(.ajax__calendar_day,.ajax__calendar_month,.ajax__calendar_year){background:var(--mz-blue)!important;color:#fff!important;border-color:var(--mz-blue)!important;font-weight:700!important;border-radius:3px}
.ezd-app .content .ajax__calendar_container .ajax__calendar_hover :is(.ajax__calendar_day,.ajax__calendar_month,.ajax__calendar_year){background:var(--mz-active)!important;color:var(--mz-text)!important;border-color:var(--mz-input-line)!important;border-radius:3px}
.ezd-app .content .ajax__calendar_header,.ezd-app .content .ajax__calendar_title,.ezd-app .content .ajax__calendar_footer{background:var(--mz-panel)!important;color:var(--mz-text)!important;font-family:"Segoe UI",Arial,sans-serif!important}
.ezd-app .content .ajax__calendar_title{font-size:14px!important;font-weight:700!important}.ezd-app .content .ajax__calendar_footer{font-size:12px!important;border-top:1px solid var(--mz-line);margin-top:5px;padding-top:4px}
.ezd-app .content .ajax__calendar_prev,.ezd-app .content .ajax__calendar_next{background:none!important;position:relative}
.ezd-app .content .ajax__calendar_prev:before,.ezd-app .content .ajax__calendar_next:before{content:"";position:absolute;top:4px;border:5px solid transparent}
.ezd-app .content .ajax__calendar_prev:before{left:0;border-right-color:var(--mz-text)}.ezd-app .content .ajax__calendar_next:before{right:0;border-left-color:var(--mz-text)}
@media(max-width:700px){.ezd-app .content table.formularz_kontaktowy{padding:20px!important}.ezd-app .content .formularz_kontaktowy input:not([type=submit]):not([type=button]){width:100%!important}}

/* Put insets on cells: table padding is ignored with collapsed borders. */
.ezd-app .content table.formularz_kontaktowy{border-collapse:separate!important;border-spacing:0!important;padding:0!important;overflow:hidden}
.ezd-app .content table.formularz_kontaktowy>tbody>tr>td{padding:0 24px 22px!important}
.ezd-app .content table.formularz_kontaktowy>tbody>tr:first-child>td{padding-top:24px!important}
.ezd-app .content table.formularz_kontaktowy>tbody>tr:last-child>td{padding-bottom:24px!important}
.ezd-app .content table.formularz_kontaktowy a.zaloguj{margin-left:0!important;margin-bottom:0!important}
.ezd-app .txtprofil a.log_out{display:inline-flex!important;align-items:center;justify-content:center;width:40px!important;height:40px!important;min-height:40px;padding:8px!important;border:1px solid #7892b2!important;border-radius:6px;background:transparent!important;color:var(--mz-muted)!important;line-height:1;transition:background-color .15s,border-color .15s}
.ezd-app .txtprofil a.log_out:hover{background:var(--mz-active)!important;border-color:var(--mz-link)!important;color:var(--mz-text)!important}
.ezd-app .txtprofil a.log_out .ezd-logout-icon{display:block!important;width:21px!important;height:21px!important;flex:none}
@media(max-width:700px){.ezd-app .content table.formularz_kontaktowy>tbody>tr>td{padding-left:20px!important;padding-right:20px!important}.ezd-app .content table.formularz_kontaktowy>tbody>tr:first-child>td{padding-top:20px!important}.ezd-app .content table.formularz_kontaktowy>tbody>tr:last-child>td{padding-bottom:20px!important}}
@media(prefers-reduced-motion:reduce){.ezd-app .txtprofil a.log_out{transition:none}}

/* UpdateProgress: centered card, independent of old fixed heights and GIF. */
.ezd-app #jquery-overlay{position:fixed!important;inset:0!important;width:100%!important;height:100%!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:20px!important;margin:0!important;background:rgba(10,18,32,.55)!important;opacity:1!important;z-index:10000!important}
.ezd-app #jquery-lightbox{position:static!important;top:auto!important;left:auto!important;width:auto!important;max-width:100%!important;height:auto!important;margin:0!important;padding:0!important;line-height:1.5!important;text-align:left!important}
.ezd-app #lightbox-container-loding{display:flex!important;align-items:center!important;justify-content:center!important;gap:14px!important;width:auto!important;min-width:190px;max-width:100%;height:auto!important;min-height:76px;position:static!important;margin:0!important;padding:20px 24px!important;border:1px solid var(--mz-input-line)!important;border-radius:12px!important;background:var(--mz-panel)!important;color:var(--mz-text)!important;box-shadow:0 12px 40px #0004}
.ezd-app #lightbox-container-ima{display:block!important;float:none!important;width:28px!important;height:28px!important;padding:0!important;margin:0!important;flex:0 0 28px}
.ezd-app #lightbox-container-ima img{display:none!important}
.ezd-app #lightbox-container-ima:before{content:"";display:block;width:28px;height:28px;border:3px solid var(--mz-line);border-top-color:var(--mz-link);border-radius:50%;animation:ezd-loading-spin .85s linear infinite}
.ezd-app #lightbox-container-text{display:block!important;float:none!important;width:auto!important;height:auto!important;margin:0!important;padding:0!important;line-height:1.5!important;font-size:16px!important;text-align:left!important;color:var(--mz-text)!important}
.ezd-app #lightbox-container-text i{font:600 16px/1.5 "Segoe UI",Arial,sans-serif!important;color:var(--mz-text)!important}
@keyframes ezd-loading-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.ezd-app #lightbox-container-ima:before{animation:none}}
