/* The legacy stylesheet pulls the login button up with a negative margin
   (position:absolute; margin-top:-50px), which covers "Nie pamiętasz hasła?".
   Keep the button on its own row. */
.main-content--right .userdata {
    border: 0;
    min-inline-size: 0;
}

.main-content--right .userdata .form-login-utilities {
    display: grid;
    grid-template-columns: auto auto;
    column-gap: 20px;
    row-gap: 4px;
    justify-content: end;
    align-items: center;
}

.main-content--right .userdata .form-login-utilities #form-login-remember {
    grid-column: 1;
    grid-row: 1 / span 2;
    justify-content: flex-start;
}

.main-content--right .userdata .form-login-utilities a {
    grid-column: 2;
    margin-left: 0;
    text-align: right;
}

/* updated_template.css sets body { overflow-x: hidden !important }.
   That forces overflow-y to auto, so the page grows a second scrollbar
   after the first paint and the layout jumps. Scroll only on html. */
html {
    height: auto !important;
    overflow-x: clip;
    overflow-y: scroll;
    scrollbar-gutter: stable;
}

body:not(.lock) {
    height: auto !important;
    min-height: 100%;
    min-width: 0;
    max-width: none !important;
    overflow: visible !important;
}

/* The open menu owns scrolling; neither the page nor the link list
   should create a second scroll container inside the fixed header. */
@media (max-width: 1023px) {
    html:has(body.lock) {
        overflow-y: hidden;
    }

    .mobile-header {
        overflow: hidden;
        grid-template-rows: 58px minmax(0, 1fr);
    }

    .mobile-header__content {
        min-height: 0;
        overflow-y: auto;
        overscroll-behavior-y: contain;
    }

    .mobile-header .navbar-menu-mobile {
        overflow: visible !important;
    }
}

/* Keep the logo proportional and inside the 58px mobile header. */
.main-header__brand .brand-image,
.mobile-header__brand .brand-image {
    margin: 0;
}

.main-header .content {
    padding-bottom: 1vw;
}

.main-header__brand {
    margin-bottom: 0;
    align-self: center;
}

.main-header__brand .brand-image {
    width: clamp(64px, 7vw, 120px);
    max-width: 100%;
    aspect-ratio: 163 / 140;
    overflow: hidden;
}

.main-header__brand .brand-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.mobile-header__brand {
    min-width: 0;
    min-height: 0;
}

.mobile-header__bar {
    padding-top: 2px;
    padding-bottom: 2px;
}

.mobile-header__brand .brand-image {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 54px;
    height: 54px;
    overflow: hidden;
}

.mobile-header__brand .brand-image img {
    /* The PNG has 40 transparent rows below the visible logo. */
    flex: none;
    width: auto;
    height: 70px;
    max-width: none;
    object-fit: contain;
}

body[data-frame="guest"] .mobile-header__bar {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 8px;
    padding-left: 8px;
    padding-right: 8px;
}

.navbar-wcag--guest-bar {
    justify-self: end;
    gap: 8px;
    padding: 4px;
    border-radius: 6px;
    background: var(--color-background);
}

.navbar-wcag--guest-bar .navbar-wcag__control {
    gap: 2px;
}

.navbar-wcag--guest-bar .navbar-wcag__control__item {
    --size: clamp(26px, 4vw, 32px);
}

/* Guest homepage messages are the old Qlue tabs, not stacked articles. */
#tabHeader {
    position: relative;
    overflow: visible;
}

#tabHeader::before {
    left: -20px;
    margin-left: 0;
    height: 100%;
    top: 0;
}

#tabHeader ul {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 8px;
}

#tabHeader ul > li {
    display: flex;
    float: none;
    width: auto;
    max-width: 280px;
}

#tabHeader #tab1,
#tabHeader #tab2,
#tabHeader #tab1.active,
#tabHeader #tab2.active {
    height: auto !important;
    min-height: 38px;
    box-sizing: border-box;
    white-space: normal;
    line-height: 1.25;
    text-decoration: none !important;
    border: 1px solid #00063b !important;
    background: #fff !important;
    color: #00063b !important;
    font-weight: 500;
}

#tabHeader #tab1.active,
#tabHeader #tab2.active {
    background: #10bdf6 !important;
    border-color: #10bdf6 !important;
    color: #fff !important;
    font-weight: 700;
}

@media (max-width: 700px) {
    #tabHeader {
        margin-left: 14px !important;
    }

    #tabHeader::before {
        left: -14px;
        width: 6px;
    }

    #tabHeader ul {
        flex-direction: column;
        gap: 6px;
    }

    #tabHeader ul > li {
        width: 100%;
        max-width: none;
        min-width: 0;
    }

    #tabHeader #tab1,
    #tabHeader #tab2 {
        width: 100%;
        min-height: 44px;
        margin: 0 !important;
        padding: 8px 12px !important;
        font-size: 0.9em !important;
        text-align: center;
    }
}

.tabs {
    max-width: 100%;
}

#qlue-tabs {
    overflow: visible;
}

@media (max-width: 1023px) {
    .secondary-header {
        box-sizing: border-box;
        height: auto;
        min-height: 0;
        padding: 10px 16px;
        font-size: clamp(16px, 2vw, 20px);
        line-height: 1.3;
    }

}

.main-content--left a {
    display: block;
    height: 100%;
}

.main-content--right .userdata .form-register-wrapper {
    align-items: stretch;
    flex-wrap: wrap;
    gap: 16px;
}

.main-content--right .userdata .form-register-wrapper .pretext,
.main-content--right .userdata .form-register-wrapper a {
    white-space: nowrap;
    margin-top: 0;
    margin-bottom: 0;
}

.main-content--right .userdata .form-register-wrapper .pretext {
    display: flex;
    align-items: center;
    line-height: 1;
}

.main-content--right .userdata .form-register-wrapper .pretext::before {
    top: 0;
    bottom: 0;
    height: auto;
}

.main-content--right .userdata .form-register-wrapper a {
    flex: 0 0 auto;
    align-self: center;
}

/* Keep the login panel compact at medium widths. */
@media (max-width: 1199px) {
    .main-content--right {
        max-width: 520px;
        padding: 24px !important;
    }

    .main-content--right .pretext {
        font-size: 22px;
    }

    .main-content--right .userdata #form-login-username,
    .main-content--right .userdata #form-login-password {
        margin: 12px 0;
    }

    .main-content--right .userdata #form-login-username label,
    .main-content--right .userdata #form-login-password label {
        font-size: 20px;
        margin: 6px 0;
    }

    .main-content--right .userdata #form-login-username input,
    .main-content--right .userdata #form-login-password input {
        box-sizing: border-box;
        width: 100%;
        padding: 12px;
        margin-bottom: 0;
    }

    .main-content--right .userdata .art-button {
        font-size: 16px !important;
        padding: 10px 24px !important;
        min-height: 44px;
        box-sizing: border-box;
    }

    .main-content--right .userdata hr {
        margin: 20px 0;
    }

    .main-content--right .userdata .form-register-wrapper {
        flex-wrap: wrap;
        gap: 16px;
    }

    .main-content--right .userdata .form-register-wrapper .pretext {
        margin-bottom: 0 !important;
        white-space: normal;
    }

    .tabs {
        max-width: 760px;
        margin: 20px auto 0;
    }
}

@media (max-width: 480px) {
    .main-content--left {
        display: none;
    }

    .main-content--right .userdata .form-login-utilities {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 6px;
    }

    .main-content--right .userdata .form-login-utilities #form-login-remember {
        grid-row: auto;
        margin: 0 0 4px;
    }

    .main-content--right .userdata .form-login-utilities a {
        grid-column: 1;
        text-align: center;
    }

    #tabContentContainer .tabContent-inner {
        text-align: left;
    }
}

#ca_banner {
    background: #f4f7fb !important;
    color: #00063b;
    height: auto !important;
    bottom: 0 !important;
    padding: 12px 16px !important;
}

#ca_banner h2,
#ca_banner p {
    color: #00063b !important;
}

.main-content--right .userdata .form-login-submit-wrapper {
    position: static !important;
    margin-top: 12px !important;
    display: flex;
    justify-content: flex-end;
    clear: both;
}

.main-content--right .userdata .art-button,
.userdata .art-button {
    float: none !important;
}

.main-content--right .userdata input.art-button {
    width: auto;
}

#RozrachunkiMenu .DivMenuButton[data-tip] {
    position: relative;
}

#RozrachunkiMenu .DivMenuButton[data-tip]:hover::after,
#RozrachunkiMenu .DivMenuButton[data-tip]:focus-visible::after {
    content: attr(data-tip);
    position: absolute;
    z-index: 20;
    bottom: calc(100% + 6px);
    left: 5px;
    padding: 5px 8px;
    color: #fff;
    font-size: 12pt;
    font-family: Arial, "Arial Unicode MS", Helvetica, sans-serif;
    line-height: 1.2;
    white-space: nowrap;
    background: #10bdf6;
}

#posesje tbody tr[data-meters] {
    cursor: pointer;
}

#posesje tbody tr.selected td,
#wodomierze tbody tr.selected td {
    background: #b0bed9;
}

#wodomholder h1 {
    clear: both;
    margin-top: 16px;
}

#WyboryRozrachunki {
    width: 100%;
    float: none;
    overflow: hidden;
}

#WyboryRozrachunki.is-hidden {
    display: none !important;
}

#WyboryRozrachunki .PolaDane #dane-klienta div .klient-info-dane {
    display: flex !important;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 4px 20px;
    width: 100%;
    text-align: left;
}

html body #WyboryRozrachunki #dane-klienta .klient-info-dane strong {
    float: none;
    width: auto !important;
    max-width: 100%;
    margin-right: 0;
}

#WyboryRozrachunki #dane-klienta .klient-info-dane > span {
    max-width: 100%;
    overflow-wrap: anywhere;
}

#Faktury,
#Wplaty,
#Windykacja,
#Online {
    clear: both;
    float: none;
    width: 100%;
}

#RozrachunkiMenu.ibok-tabs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    height: auto !important;
    margin: 0 0 16px 20px !important;
}

#RozrachunkiMenu.ibok-tabs > .DivMenuButton,
#RozrachunkiMenu.ibok-tabs > .DivMenuButton2 {
    width: auto !important;
    max-width: none !important;
    float: none !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    height: 38px !important;
    padding: 0 16px !important;
    margin: 0 !important;
    font-size: 16px !important;
    font-weight: 700;
    line-height: 1.2;
    color: #00063b !important;
    background: transparent !important;
    border: 1px solid transparent !important;
    text-decoration: none;
    white-space: nowrap;
    box-sizing: border-box;
    cursor: pointer;
}

#RozrachunkiMenu.ibok-tabs > .DivMenuButton2 {
    background: #fff !important;
    border: 1.5px solid #00063b !important;
}

#RozrachunkiMenu.ibok-tabs--stacked {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin-left: 0 !important;
}

#RozrachunkiMenu.ibok-tabs--stacked::before {
    display: none;
}

#RozrachunkiMenu.ibok-tabs--stacked > .DivMenuButton,
#RozrachunkiMenu.ibok-tabs--stacked > .DivMenuButton2 {
    width: 100% !important;
    height: auto !important;
    min-height: 44px;
    padding: 10px 12px !important;
    white-space: normal;
    text-align: center;
}

@media (max-width: 480px) {
    #RozrachunkiMenu.ibok-tabs {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        margin-left: 0 !important;
    }

    #RozrachunkiMenu.ibok-tabs::before {
        display: none;
    }

    #RozrachunkiMenu.ibok-tabs > .DivMenuButton,
    #RozrachunkiMenu.ibok-tabs > .DivMenuButton2 {
        width: 100% !important;
        height: auto !important;
        min-height: 44px;
        padding: 10px 12px !important;
        white-space: normal;
        text-align: center;
    }
}

.ibok-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 12px 16px;
    clear: both;
    width: 100%;
    margin: 0 0 16px;
    padding: 12px;
    background: #f4f7fb;
    border-radius: 8px;
}

.ibok-filters label {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 150px;
    color: #00063b;
    font-size: 13px;
    font-weight: 700;
}

.ibok-filters select,
.ibok-filters input[type="date"] {
    height: 36px;
    min-width: 160px;
    padding: 0 8px;
    border: 1px solid #c5d0dc;
    border-radius: 4px;
    background: #fff;
    color: #00063b;
    font-weight: 400;
}

.ibok-filters button {
    height: 36px;
    margin-top: 18px;
    padding: 0 22px;
    border: 0;
    border-radius: 18px;
    background: #0693d8;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.ibok-balance,
.ibok-lead {
    clear: both;
    margin: 0 0 12px;
}

.ibok-table-wrap {
    clear: both;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
}

table.ibok-table {
    width: calc(100% - 2px);
    border-collapse: collapse;
    font-size: 14px;
    background: #fff;
}

table.ibok-table th,
table.ibok-table td {
    box-sizing: border-box;
    padding: 7px 5px;
    border-bottom: 1px solid #e3eaf2;
    text-align: left;
    vertical-align: middle;
}

table.ibok-table .ibok-fit {
    white-space: nowrap;
}

table.ibok-table th {
    background: #f4f7fb;
    color: #00063b;
    font-weight: 700;
}

table.ibok-table tbody tr:hover td {
    background: #f7fbfe;
}

table.ibok-table .num {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

col.ibok-col-pdf,
table.ibok-table .ibok-col-pdf {
    width: 56px;
}

table.ibok-table .ibok-col-pdf {
    padding: 6px 8px;
    text-align: center;
}

table.ibok-table .ibok-col-pdf a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

table.ibok-table .ibok-col-pdf img {
    position: static !important;
    right: auto !important;
    left: auto !important;
    display: block !important;
    width: 18px;
    height: 22px;
    margin: 0 !important;
    border: 0;
}

.ibok-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

#posesje tbody tr.selected td {
    background: #d9ecf8;
}

#dialog-odczyt {
    width: min(1100px, calc(100vw - 3rem));
    max-width: calc(100vw - 3rem);
    top: 50%;
    transform: translateY(-50%);
}

#dialog-odczyt .ibok-dialog__body {
    max-height: 65vh;
    overflow: auto;
    padding: 16px 20px 8px;
}

#dialog-odczyt .ibok-table-wrap {
    overflow: visible;
}

#dialog-odczyt ol {
    margin: 0 0 8px;
    padding-left: 20px;
}

#dialog-odczyt .odczyt-blad,
#dialog-odczyt .odczyt-ostrzezenie {
    color: #c00;
    font-size: 10pt;
}

#dialog-odczyt .odczyt-ostrzezenie {
    font-weight: 700;
}

#dialog-odczyt .odczyt-prognoza {
    margin: 18px 0 10px;
    font-size: 12pt;
}

#dialog-odczyt table.ibok-table {
    width: 100%;
    table-layout: auto;
}

#dialog-odczyt table.ibok-table th {
    white-space: normal;
    padding: 8px 10px;
    line-height: 1.25;
}

#dialog-odczyt table.ibok-table td {
    white-space: nowrap;
    padding: 8px 10px;
}

#dialog-odczyt .odczyt-sumy {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    margin: 14px 0 6px;
}

#dialog-odczyt .odczyt-sumy p {
    margin: 0;
}

#dialog-odczyt .ibok-dialog__buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    align-items: center;
}

#dialog-odczyt .ibok-dialog__buttons form {
    margin: 0;
}

.ibok-status {
    display: inline-block;
    white-space: normal;
}

.ibok-status--processing {
    color: #333;
    font-weight: 700;
}

.wcag-contrast-yellow-black .ibok-status--processing,
.wcag-contrast-black-yellow .ibok-status--processing,
.wcag-contrast-black-white .ibok-status--processing {
    color: var(--color-text);
}

.ibok-status--due {
    padding: 4px 10px;
    border-radius: 12px;
    background: #0693d8;
    color: #fff;
    font-weight: 700;
}

.ibok-pager {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 16px;
    margin-top: 12px;
}

.ibok-pager__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
}

.ibok-pager__summary {
    margin: 0;
    color: #00063b;
}

.ibok-pager__size {
    margin: 0;
}

.ibok-pager__size label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #00063b;
    font-size: 14px;
}

.ibok-pager__size select {
    height: 32px;
    padding: 0 8px;
    border: 1px solid #c5d0dc;
    border-radius: 6px;
    background: #fff;
    color: #00063b;
}

.ibok-pager__pages {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.ibok-pager__pages a,
.ibok-pager__pages span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 32px;
    padding: 0 10px;
    border-radius: 6px;
    color: #00063b;
    text-decoration: none;
    background: #f4f7fb;
}

.ibok-pager__pages a:hover {
    background: #d9ecf8;
}

.ibok-pager__pages .is-current {
    background: #0693d8;
    color: #fff;
    font-weight: 700;
}

.ibok-pager__pages .is-disabled {
    color: #8aa0b5;
}

#whold {
    box-sizing: border-box;
    padding: 8px 12px 24px;
    border: 1px solid #ddd;
    background: linear-gradient(#f6f6f6 0%, #fff 50px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

#whold .ibok-table-wrap {
    overflow-x: hidden;
}

#whold table.ibok-table {
    width: 100%;
    table-layout: fixed;
}

.ibok-articles {
    display: grid;
    grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
    gap: 8px 28px;
    align-items: start;
}

.ibok-articles nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ibok-articles nav a {
    padding: 8px 12px;
    border-radius: 4px;
    text-decoration: none;
}

.ibok-articles nav a.is-current {
    background: #10bdf6;
    color: #fff;
}

#art-main a.ibok-pay-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 44px;
    padding: 8px 16px;
    border: 1px solid var(--color-text, #00063b);
    border-radius: 8px;
    background: var(--color-text, #00063b);
    color: var(--color-background, #fff) !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
    white-space: nowrap;
}

#art-main a.ibok-pay-link:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

#art-main a.ibok-pay-link:focus-visible {
    outline: 3px solid var(--color-primary, #0693d8);
    outline-offset: 3px;
}

.ibok-articles [data-article-panel] {
    display: none;
}

.ibok-articles [data-article-panel].is-current {
    display: block;
}

.ibok-articles__picker {
    display: none;
}

.ibok-payment {
    max-width: 760px;
    margin: 20px auto;
    overflow-wrap: anywhere;
}

.ibok-payment__choices {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 24px 0;
}

.ibok-payment__choice {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 20px 16px;
    border: 1px solid currentColor;
    border-radius: 10px;
    cursor: pointer;
    text-align: center;
}

.ibok-payment__choice:has(input:checked) {
    outline: 3px solid #0693d8;
}

.ibok-payment__choice--disabled {
    opacity: .65;
    cursor: default;
}

.ibok-payment__choice input {
    width: 20px;
    height: 20px;
    margin: 0;
}

.ibok-payment__choice b {
    font-size: 1.4em;
}

.ibok-payment p {
    text-align: left !important;
    margin: 16px 0;
}

.ibok-payment__notice {
    padding: 12px;
    border-left: 4px solid #0693d8;
}

#art-main .ibok-payment .art-button {
    height: auto;
    min-height: 44px;
    max-width: 100%;
    white-space: normal;
    padding: 12px 24px !important;
}

.ibok-payment .art-button:disabled {
    opacity: .6;
    cursor: not-allowed;
}

@media (max-width: 480px) {
    .ibok-payment__choices {
        grid-template-columns: minmax(0, 1fr);
    }
}

.ibok-subscription {
    max-width: 960px;
    margin: 60px auto 40px;
    text-align: left;
}

.ibok-subscription__methods {
    max-width: 680px;
    margin: 0 auto 30px;
    padding: 0;
    border: 0;
    min-width: 0;
}

.ibok-subscription__methods legend {
    width: 100%;
    padding: 0 0 30px;
    color: var(--color-text);
    font-size: 28px;
    font-weight: 800;
    text-align: center;
}

.ibok-subscription__methods label,
.ibok-subscription__consent {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 6px 0;
    cursor: pointer;
    color: var(--color-text);
    font-size: 16px;
    width: auto;
    line-height: 1.4;
}

.ibok-subscription__methods label > span,
.ibok-subscription__consent > span {
    flex: 1;
    min-width: 0;
}

.ibok-subscription__heading {
    margin: 50px 0 30px !important;
    color: var(--color-text) !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    text-align: center;
}

.ibok-subscription input[type="radio"],
.ibok-subscription input[type="checkbox"] {
    flex: none;
    width: 16px;
    height: 16px;
    margin: 0;
}

.ibok-subscription__address,
.ibok-subscription__form {
    display: grid;
    gap: 8px;
    min-width: 0;
    width: min(500px, 100%);
    margin: 0 auto 20px !important;
}

.ibok-subscription__address > label,
.ibok-subscription__form > label:not(.ibok-subscription__consent) {
    color: var(--color-text);
    font-size: 18px;
    font-weight: 700;
    text-align: left;
}

.ibok-subscription select,
.ibok-subscription input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]) {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 44px;
    margin-bottom: 12px;
    padding: 10px 12px;
    border: 0;
    border-radius: 0;
    background: #f3f3f3;
    color: var(--color-text);
    font: inherit;
    font-size: 16px;
}

#art-main .ibok-subscription .art-button {
    min-height: 44px;
    height: auto;
    white-space: normal;
    border: 0;
    border-radius: 40px;
    padding: 14px 24px !important;
    background: #0693d8;
    color: #fff !important;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
    width: auto;
    font-size: 16px;
}

.ibok-subscription__actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

#art-main .ibok-subscription__actions .art-button {
    flex: 1 1 180px;
}

@media (max-width: 700px) {
    .ibok-subscription {
        margin-top: 28px;
    }

    .ibok-subscription__methods legend,
    .ibok-subscription__heading {
        font-size: 24px !important;
    }

    .ibok-subscription__methods label {
        padding: 8px 0;
    }
}

#art-main .ibok-subscription .ibok-subscription__secondary {
    background: #00063b;
}

.ibok-subscription__sms {
    padding: 16px;
    border: 2px solid #0693d8;
    border-radius: 6px;
    overflow-wrap: anywhere;
}

.ibok-subscription p {
    text-align: left !important;
}

@media (max-width: 700px) {
    .ibok-articles {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .ibok-articles nav {
        display: none;
    }

    .ibok-articles [data-article-panel] p {
        text-align: left !important;
    }

    .ibok-articles__picker {
        display: flex;
        flex-direction: column;
        gap: 6px;
        font-weight: 700;
        text-align: left;
    }

    .ibok-articles__picker select {
        box-sizing: border-box;
        width: 100%;
        min-height: 44px;
        padding: 10px 12px;
        border: 1px solid currentColor;
        border-radius: 4px;
        background: var(--color-background);
        color: var(--color-text);
        font: inherit;
        font-size: 16px;
    }
}

#posesje tbody tr {
    cursor: pointer;
}

#odczyt-holder {
    clear: both;
    width: 100%;
    min-width: 0;
    height: 420px;
    margin-top: 12px;
    overflow: hidden;
}

.ibok-analizy-pick select,
#dyspozycja-sms select,
form#dyspozycja select {
    min-width: 280px;
    max-width: 100%;
}

form#dyspozycja.form-signin {
    width: min(500px, 100%);
    margin: 0 auto 32px;
}

form#dyspozycja.form-signin div,
form#dyspozycja.form-signin p {
    position: static;
    width: auto;
    max-width: none;
    margin: 0;
    text-align: left;
}

form#dyspozycja.form-signin > p {
    margin: 0 0 14px;
}

form#dyspozycja.form-signin .pretext {
    display: flex;
    align-items: center;
    height: 31px;
    margin: 0 0 20px;
    padding-left: 20px;
    font-size: 28px;
    font-weight: 800;
    position: relative;
}

form#dyspozycja .pretext::before {
    content: "";
    position: absolute;
    left: 0;
    width: 12px;
    height: 100%;
    border-radius: 2px;
    background: #40beff;
}

form#dyspozycja .form-control {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin: 0 0 10px;
    padding: 10px 12px;
    border: 0;
    border-radius: 4px;
    background: #f3f3f3;
    font-size: 16px;
    box-shadow: none;
}

form#dyspozycja .form-control:focus {
    outline: 2px solid #40beff;
    position: relative;
    z-index: 2;
}

form#dyspozycja [data-tip] {
    cursor: help;
}

form#dyspozycja #dyspozycja-zgody {
    margin-top: 8px;
}

form#dyspozycja #dyspozycja-zgody > div {
    margin: 14px 0;
}

form#dyspozycja #dyspozycja-zgody p {
    margin: 0 0 4px;
}

form#dyspozycja .dyspozycja-zgody--wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin-top: 6px;
}

form#dyspozycja .dyspozycja-error {
    color: #a94442;
    margin: -4px 0 10px;
}

form#dyspozycja .button--container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
    margin-top: 18px;
}

form#dyspozycja .button--container a,
form#dyspozycja .button--container button {
    flex: none;
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 10px 18px;
    border: 2px solid #40beff;
    border-radius: 40px;
    background: #40beff;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    white-space: normal;
    overflow: visible;
    cursor: pointer;
}

form#dyspozycja .button--container a {
    border-color: #00063b;
    background: #00063b;
}

#przetwarzanie {
    max-width: 860px;
    margin: 8px auto 0;
    padding-top: 16px;
    border-top: 1px solid #0693d8;
    text-align: left;
}

#przetwarzanie ol {
    margin: 12px 0 12px 1.2em;
    padding: 0;
}

#przetwarzanie li {
    margin: 0 0 8px;
}
