:root{
  --zp-bg:#f5f7fb;
  --zp-card:#fff;
  --zp-soft:#f8fafc;
  --zp-text:#102033;
  --zp-muted:#64748b;
  --zp-line:#dbe5ef;
  --zp-primary:#176b9c;
  --zp-primary-dark:#0f4e75;
  --zp-primary-soft:#e8f3fa;
  --zp-success:#16855b;
  --zp-warning:#a8660b;
  --zp-danger:#b42318;
}
.zp20{box-sizing:border-box;width:min(1320px,calc(100vw - 32px));margin:24px auto 56px;color:var(--zp-text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:15px;line-height:1.5;clear:both}
.zp20 *, .zp20 *::before, .zp20 *::after{box-sizing:inherit}
.zp20[hidden],.zp20 [hidden]{display:none!important}
.zp20 a{color:inherit}.zp20 button,.zp20 input,.zp20 select,.zp20 textarea{font:inherit}.zp20 h1,.zp20 h2,.zp20 h3,.zp20 p{margin-top:0}.zp20 h1,.zp20 h2,.zp20 h3{line-height:1.15;color:#0b1830}.zp20 small{display:block;color:var(--zp-muted)}
.zp20-header{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:14px;padding:28px 32px;border-radius:18px;color:#fff;background:linear-gradient(135deg,#0e4264,#176b9c)}
.zp20-header h1{margin:3px 0 8px;color:#fff;font-size:clamp(30px,4vw,46px);letter-spacing:-.03em}.zp20-header p{margin:0;color:#e1f1fa}.zp20-eyebrow,.zp20-kicker{display:block;margin-bottom:4px;color:var(--zp-primary);font-size:12px;font-weight:800;letter-spacing:.09em;text-transform:uppercase}.zp20-header .zp20-eyebrow{color:#c5e9fb}.zp20-user{display:grid;justify-items:end;min-width:160px}.zp20-user span{font-size:12px;color:#c5e9fb}.zp20-user strong{color:#fff}.zp20-user a{margin-top:6px;color:#fff;text-decoration:underline}
.zp20-message{margin:12px 0;padding:12px 14px;border:1px solid var(--zp-line);border-radius:12px;background:#fff}.zp20-message--info{border-color:#a8d1e8;background:#edf7fc}.zp20-message--success{border-color:#a7dfc9;background:#edfbf5;color:#116c4a}.zp20-message--warning{border-color:#f0cf91;background:#fff8e8}.zp20-message--error{border-color:#f0aaa4;background:#fff1f0;color:var(--zp-danger)}
.zp20-shell{display:grid;grid-template-columns:190px minmax(0,1fr);gap:18px;align-items:start}.zp20-content{min-width:0}.zp20-nav{display:flex;flex-direction:column;gap:6px;padding:10px;border:1px solid var(--zp-line);border-radius:16px;background:#fff}.zp20-nav a,.zp20-nav button,.zp20-subnav button{appearance:none;width:100%;min-height:42px;padding:9px 14px;border:0;border-radius:10px;background:transparent;color:#405068;text-align:left;text-decoration:none;font-weight:750;cursor:pointer}.zp20-nav a:hover,.zp20-nav button:hover,.zp20-subnav button:hover{background:var(--zp-primary-soft);color:var(--zp-primary-dark)}.zp20-nav a.is-active,.zp20-nav button.is-active,.zp20-subnav button.is-active{background:var(--zp-primary);color:#fff}.zp20-nav__sub{display:grid;gap:5px;margin:0 0 4px 10px;padding-left:10px;border-left:2px solid var(--zp-line)}.zp20-nav .zp20-nav__sub a{min-height:34px;padding:7px 10px;font-size:13px;color:var(--zp-muted)}
.zp20-context{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:16px;margin-bottom:18px;padding:18px;border:1px solid var(--zp-line);border-radius:18px;background:#fff}.zp20-context form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-self:end}.zp20-context label{grid-column:1/-1;color:var(--zp-muted);font-weight:700}.zp20-context select,.zp20-context input,.zp20-form input,.zp20-form select,.zp20-form textarea,.zp20-year-filter select{width:100%;min-height:44px;padding:10px 12px;border:1px solid #cbd8e6;border-radius:10px;background:#fff;color:var(--zp-text)}.zp20-context button,.zp20-button,.zp20-form button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;border:0;border-radius:10px;background:var(--zp-primary);color:#fff;text-decoration:none;font-weight:800;cursor:pointer}.zp20-button--secondary{background:var(--zp-primary-soft);color:var(--zp-primary-dark)}
.zp20-owner-summary{padding:14px;border:1px solid var(--zp-line);border-radius:14px;background:var(--zp-soft)}.zp20-owner-summary__top{display:flex;justify-content:space-between;gap:12px;margin-bottom:10px}.zp20-owner-summary__top span,.zp20-owner-person span{color:var(--zp-muted);font-size:12px}.zp20-owner-summary__people{display:grid;gap:10px}.zp20-owner-person{display:grid;grid-template-columns:42px 1fr;gap:10px;padding:10px;border:1px solid var(--zp-line);border-radius:12px;background:#fff}.zp20-owner-summary__avatar,.zp20-list__icon{display:inline-grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#1e8bbd;color:#fff;font-weight:900}.zp20-owner-person ul{margin:6px 0 0;padding:0;list-style:none}.zp20-owner-person li{margin:2px 0;font-size:13px}.zp20-owner-empty,.zp20-empty{padding:16px;border-radius:12px;background:var(--zp-soft);color:var(--zp-muted)}
.zp20-main{min-width:0}.zp20-panel{display:block}.zp20-dashboard-head,.zp20-section-head,.zp20-card__head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:16px}.zp20-dashboard-head{padding:20px 22px;border:1px solid var(--zp-line);border-radius:18px;background:#fff}.zp20-dashboard-head h2,.zp20-section-head h2{margin:0 0 6px;font-size:28px}.zp20-dashboard-head p,.zp20-section-head p{margin:0;color:var(--zp-muted)}
.zp20-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}.zp20-stats article,.zp20-card{border:1px solid var(--zp-line);border-radius:16px;background:#fff}.zp20-stats article{padding:16px}.zp20-stats span{display:block;color:var(--zp-muted);font-weight:750}.zp20-stats strong{display:block;margin-top:4px;font-size:30px;line-height:1;color:#0b1830}.zp20-card{padding:18px;margin-bottom:16px}.zp20-card h2,.zp20-card h3{margin:0 0 8px}.zp20-card--focus{background:linear-gradient(180deg,#fff,#f8fbfe)}.zp20-progress__number{color:var(--zp-primary);font-size:22px}.zp20-progressbar{height:12px;overflow:hidden;border-radius:999px;background:#e6eef6}.zp20-progressbar span{display:block;height:100%;border-radius:inherit;background:var(--zp-primary)}progress.zp20-progress{width:100%;height:12px}.zp20-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.zp20-grid--two{align-items:start}.zp20-facts{display:grid;gap:10px;margin:12px 0 0}.zp20-facts div{display:grid;grid-template-columns:130px 1fr;gap:12px;padding-top:10px;border-top:1px solid #edf1f6}.zp20-facts dt{color:var(--zp-muted);font-weight:700}.zp20-facts dd{margin:0;text-align:right;font-weight:800}.zp20-badge{display:inline-flex;align-items:center;gap:4px;padding:5px 9px;border-radius:999px;background:#eef2f7;color:#46566b;font-size:12px;font-weight:800}.zp20-badge--warning{background:#fff2cc;color:#8a5700}.zp20-badge--info{background:var(--zp-primary-soft);color:var(--zp-primary-dark)}.zp20-badge--success{background:#def8eb;color:#106b48}
.zp20-list{display:grid}.zp20-list__row{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px 4px;border-bottom:1px solid #edf1f6;text-decoration:none}.zp20-list__row:last-child{border-bottom:0}.zp20-list__row strong{display:block}.zp20-list__row > span:last-child{color:var(--zp-primary);font-weight:800}.zp20-list--compact .zp20-list__row{padding:10px 0}

.zp20-open-readings{margin-top:10px;border:1px solid #b8d8ea;border-radius:14px;background:var(--zp-primary-soft);overflow:hidden}
.zp20-open-readings summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 15px;cursor:pointer;color:var(--zp-primary-dark);font-weight:800;list-style:none}
.zp20-open-readings summary::-webkit-details-marker{display:none}
.zp20-open-readings summary::before{content:"▸";display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:999px;background:#fff;color:var(--zp-primary);font-size:13px;flex:0 0 auto}
.zp20-open-readings[open] summary::before{content:"▾"}
.zp20-open-readings summary span{flex:1}
.zp20-open-readings summary strong{font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:var(--zp-primary)}
.zp20-open-readings[open] summary strong{font-size:0}
.zp20-open-readings[open] summary strong::after{content:"ausblenden";font-size:12px}
.zp20-open-readings .zp20-list{padding:0 14px 6px;background:#fff}
.zp20-open-readings .zp20-muted{margin:0;padding:10px 14px 14px;background:#fff}

.zp20-meter-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.zp20-meter{padding:16px;border:1px solid var(--zp-line);border-radius:16px;background:#fff}.zp20-meter__head{display:flex;gap:12px;align-items:flex-start}.zp20-meter__icon{display:inline-grid;place-items:center;width:42px;height:42px;border-radius:12px;background:var(--zp-primary-soft)}.zp20-disclosure{margin-top:12px}.zp20-disclosure summary{cursor:pointer;font-weight:800;color:var(--zp-primary)}.zp20-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px}.zp20-form__wide{grid-column:1/-1}.zp20-form label{display:grid;gap:5px;font-weight:700;color:#3d4d63}.zp20-note{color:var(--zp-muted)}
.zp20-table-wrap{overflow:auto}.zp20 table{width:100%;border-collapse:collapse}.zp20 th,.zp20 td{padding:10px 12px;border-bottom:1px solid #edf1f6;text-align:left;vertical-align:top}.zp20 th{color:var(--zp-muted);font-size:12px;text-transform:uppercase;letter-spacing:.05em}.zp20-thumb{max-width:60px;height:auto}.zp20-actions,.zp20-year-filter{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.zp20-value--up{color:var(--zp-danger)}.zp20-value--down{color:var(--zp-success)}
.zp20-login{max-width:520px}.zp20-login__card{padding:28px;border:1px solid var(--zp-line);border-radius:18px;background:#fff}.zp20-login__form{display:grid;gap:12px}.zp20-login input{width:100%;min-height:44px;padding:10px 12px;border:1px solid #cbd8e6;border-radius:10px}.zp20-check{display:flex!important;grid-template-columns:none!important;gap:8px;align-items:center}.zp20-check input{width:auto!important;min-height:0!important}.zp20-subnav{display:flex;gap:8px;margin-bottom:14px;flex-wrap:wrap}.zp20-subnav button{width:auto;border:1px solid var(--zp-line)}
@media (max-width: 900px){.zp20{width:min(100% - 20px,1180px);margin-top:12px}.zp20-header,.zp20-context,.zp20-dashboard-head,.zp20-section-head{display:grid}.zp20-user{justify-items:start}.zp20-shell{grid-template-columns:1fr}.zp20-nav{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.zp20-context{grid-template-columns:1fr}.zp20-stats,.zp20-grid,
.zp20-open-readings{margin-top:10px;border:1px solid #b8d8ea;border-radius:14px;background:var(--zp-primary-soft);overflow:hidden}
.zp20-open-readings summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 15px;cursor:pointer;color:var(--zp-primary-dark);font-weight:800;list-style:none}
.zp20-open-readings summary::-webkit-details-marker{display:none}
.zp20-open-readings summary::before{content:"▸";display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:999px;background:#fff;color:var(--zp-primary);font-size:13px;flex:0 0 auto}
.zp20-open-readings[open] summary::before{content:"▾"}
.zp20-open-readings summary span{flex:1}
.zp20-open-readings summary strong{font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:var(--zp-primary)}
.zp20-open-readings[open] summary strong{font-size:0}
.zp20-open-readings[open] summary strong::after{content:"ausblenden";font-size:12px}
.zp20-open-readings .zp20-list{padding:0 14px 6px;background:#fff}
.zp20-open-readings .zp20-muted{margin:0;padding:10px 14px 14px;background:#fff}

.zp20-meter-grid{grid-template-columns:1fr}.zp20-form{grid-template-columns:1fr}.zp20-facts div{grid-template-columns:1fr}.zp20-facts dd{text-align:left}}

/* ZählerPro standalone page: intentionally independent from the WordPress theme */
html,
body.zp20-standalone-active{margin:0;padding:0;min-height:100%;width:100%;overflow-x:hidden;background:#f4f7fb}
.zp20-standalone-root{width:100%;min-height:100vh;padding:24px;display:flex;justify-content:center;align-items:flex-start;box-sizing:border-box;background:#f4f7fb}
body.zp20-standalone-active .zp20{width:min(1320px,100%);max-width:1320px;margin:0 auto!important}
@media (max-width:782px){.zp20-standalone-root{padding:12px}}

.zp20-sortbar{
    display:flex;
    justify-content:flex-end;
    align-items:center;
    margin:0 0 12px;
}
.zp20-sortbar label{
    display:flex;
    align-items:center;
    gap:10px;
    font-weight:700;
    color:#334155;
}
.zp20-sortbar select{
    min-width:190px;
    min-height:40px;
    border:1px solid #cbd5e1;
    border-radius:10px;
    background:#fff;
    padding:0 12px;
    font:inherit;
}
@media (max-width: 700px){
    .zp20-sortbar{justify-content:stretch;}
    .zp20-sortbar label,.zp20-sortbar select{width:100%;}
    .zp20-sortbar label{align-items:stretch;flex-direction:column;gap:6px;}
}
.zp20-nav__group{display:grid;gap:5px;margin-top:2px}.zp20-nav__heading{display:block;padding:10px 14px 4px;color:#64748b;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.zp20-nav__group .zp20-nav__sub{margin-left:0}.zp20-nav__group .zp20-nav__sub a.is-active{background:var(--zp-primary);color:#fff}


/* Frontend-Menü Feinschliff */
.zp20-nav{overflow:hidden;}
.zp20-nav a.is-active,
.zp20-nav button.is-active,
.zp20-subnav button.is-active,
.zp20-nav .zp20-nav__sub a.is-active,
.zp20-nav__group .zp20-nav__sub a.is-active{
    background:var(--zp-primary);
    color:#fff!important;
}
.zp20-nav .zp20-nav__sub a.is-active:hover{
    background:var(--zp-primary-dark);
    color:#fff!important;
}
.zp20-nav__group:not(.is-open) .zp20-nav__sub{display:none;}
.zp20-nav__heading{
    display:flex;
    align-items:center;
    justify-content:space-between;
    min-height:42px;
    padding:9px 14px;
    border-radius:10px;
    color:#405068;
    font-size:15px;
    font-weight:750;
    text-transform:none;
    letter-spacing:0;
}
.zp20-nav__heading::after{
    content:'›';
    font-size:18px;
    line-height:1;
    transform:rotate(90deg);
    opacity:.65;
}
.zp20-nav__group:not(.is-open) .zp20-nav__heading::after{transform:rotate(0deg);}
.zp20-nav__group.is-open .zp20-nav__heading{
    background:var(--zp-primary-soft);
    color:var(--zp-primary-dark);
}
.zp20-nav__group .zp20-nav__sub{
    margin:4px 0 4px 0;
    padding-left:8px;
}
.zp20-nav__group .zp20-nav__sub a{
    color:#405068;
    white-space:normal;
}
@media (min-width: 1200px){
    .zp20-standalone-root{padding-left:32px;padding-right:32px;}
}


/* 20.0.42: Frontend-Menü stabilisieren */
.zp20-nav__heading{text-decoration:none;cursor:pointer;}
.zp20-nav__heading:hover{background:var(--zp-primary-soft);color:var(--zp-primary-dark);}
.zp20-nav__group.is-open .zp20-nav__heading{background:var(--zp-primary);color:#fff!important;}
.zp20-nav__group.is-open .zp20-nav__heading:hover{background:var(--zp-primary-dark);color:#fff!important;}
.zp20-nav__group.is-open .zp20-nav__heading::after{color:#fff;}
.zp20-nav__sub a{box-sizing:border-box;max-width:100%;}


/* 20.0.43: Frontend-Klappmenüs Stammdaten/Zähler */
.zp20-nav__group .zp20-nav__heading{user-select:none;}
.zp20-nav__group.is-open .zp20-nav__heading{background:var(--zp-primary);color:#fff!important;}
.zp20-nav__group.is-open .zp20-nav__heading::after{color:#fff;opacity:1;}
.zp20-nav__group:not(.is-open) .zp20-nav__sub{display:none!important;}
.zp20-nav__group.is-open .zp20-nav__sub{display:grid!important;}


/* Startseite Feinschliff v20.0.44 */
.zp20-active-year{
    min-width:230px;
    padding:12px 14px;
    border:1px solid var(--zp-line);
    border-radius:14px;
    background:var(--zp-soft);
    text-align:right;
}
.zp20-active-year span{display:block;color:var(--zp-muted);font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}
.zp20-active-year strong{display:block;margin-top:2px;color:#0b1830;font-size:19px;line-height:1.2}
.zp20-active-year small{margin-top:2px;color:var(--zp-muted)}
.zp20-active-year--empty strong{color:var(--zp-warning)}
.zp20-button.zp20-button--ghost,
.zp20-actions .zp20-button.zp20-button--ghost{
    background:var(--zp-primary);
    color:#fff!important;
}
.zp20-button.zp20-button--ghost:hover,
.zp20-actions .zp20-button.zp20-button--ghost:hover{
    background:var(--zp-primary-dark);
    color:#fff!important;
}
@media (max-width:900px){
    .zp20-active-year{text-align:left;min-width:0;width:100%;}
}

/* 20.0.45 Feinschliff */
.zp20 .zp20-button{color:#fff!important;}
.zp20 .zp20-button:visited{color:#fff!important;}
.zp20 .zp20-button--secondary{color:#fff!important;}

/* 20.0.52 Performance-Feinschliff */
.zp20-table-wrap{max-height:70vh;overflow:auto;contain:layout paint;}
.zp20 table thead th{position:sticky;top:0;z-index:2;background:#fff;box-shadow:0 1px 0 #edf1f6;}
.zp20 table[data-zp20-sortable] th{cursor:pointer;user-select:none;}
.zp20 table[data-zp20-sortable] th::after{content:' ↕';font-weight:700;opacity:.35;}
.zp20 table[data-zp20-sortable] th[aria-sort="ascending"]::after{content:' ↑';opacity:.85;}
.zp20 table[data-zp20-sortable] th[aria-sort="descending"]::after{content:' ↓';opacity:.85;}
.zp20-table-tools{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:0 0 10px;flex-wrap:wrap;}
.zp20-table-tools input{min-height:38px;min-width:260px;padding:8px 12px;border:1px solid #cbd8e6;border-radius:10px;background:#fff;color:var(--zp-text);}
.zp20-table-count{color:var(--zp-muted);font-size:13px;font-weight:700;}

/* 20.0.53 Sammelupdate */
.zp20-button--small{padding:7px 10px;font-size:12px;line-height:1.1;color:#fff!important;text-decoration:none!important;display:inline-flex;align-items:center;justify-content:center;min-height:auto}
.zp20-year-table-wrap{max-height:none;overflow:auto}
.zp20-year-table th,.zp20-year-table td{white-space:nowrap;vertical-align:middle}
.zp20-year-table td:first-child{min-width:130px}
.zp20-panel-management .zp20-section-head .zp20-button,
.zp20-panel-extras .zp20-button{color:#fff!important}

/* 20.0.54 Feinschliff: Verwaltung + Ablesen */
.zp20-panel-management .zp20-grid{
    grid-template-columns:minmax(300px, 420px) minmax(0, 1fr);
    align-items:start;
}
.zp20-year-table-wrap{
    max-height:none!important;
    overflow-x:auto!important;
    overflow-y:visible!important;
    contain:none!important;
    padding-bottom:8px;
}
.zp20-year-table th:last-child,
.zp20-year-table td:last-child{
    min-width:120px;
    text-align:right;
}
.zp20-year-table .zp20-button--small{white-space:nowrap;}
.zp20-read-summary{
    display:flex;
    justify-content:space-between;
    gap:14px;
    align-items:center;
    margin-bottom:12px;
    color:var(--zp-muted);
}
.zp20-read-summary strong{color:#0b1830;font-size:18px;}
.zp20-read-table-wrap{max-height:74vh;}
.zp20-read-table td:first-child strong{
    display:inline-flex;
    min-width:54px;
    justify-content:center;
    padding:5px 8px;
    border-radius:999px;
    background:var(--zp-primary-soft);
    color:var(--zp-primary-dark);
}
.zp20-read-table td:nth-child(2){min-width:150px;}
.zp20-read-table td:nth-child(3){min-width:220px;}
.zp20-read-details summary{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:34px;
    padding:6px 12px;
    border-radius:999px;
    background:var(--zp-primary);
    color:#fff;
    font-weight:800;
}
.zp20-read-details[open] summary{margin-bottom:10px;background:var(--zp-primary-dark);}
.zp20-reading-form--compact{
    min-width:min(620px, calc(100vw - 80px));
    padding:12px;
    border:1px solid var(--zp-line);
    border-radius:12px;
    background:var(--zp-soft);
    box-shadow:0 8px 24px rgba(15,23,42,.08);
}
@media (max-width:900px){
    .zp20-panel-management .zp20-grid{grid-template-columns:1fr;}
    .zp20-read-summary{display:grid;}
    .zp20-reading-form--compact{min-width:0;}
}


/* 20.0.80 Wirtschaftsjahre Frontend Layout */
.zp20-year-table-wrap{
    overflow-x:visible!important;
    overflow-y:visible!important;
    padding-bottom:0!important;
}
.zp20-year-table{
    width:100%!important;
    min-width:0!important;
    table-layout:fixed;
}
.zp20-year-table th,
.zp20-year-table td{
    padding:12px 8px;
    white-space:normal!important;
    vertical-align:middle;
}
.zp20-year-table th:nth-child(1),
.zp20-year-table td:nth-child(1){width:28%;}
.zp20-year-table th:nth-child(2),
.zp20-year-table td:nth-child(2){width:39%; white-space:nowrap!important;}
.zp20-year-table th:nth-child(3),
.zp20-year-table td:nth-child(3){width:15%; text-align:left;}
.zp20-year-table th:nth-child(4),
.zp20-year-table td:nth-child(4){width:18%; min-width:0!important; text-align:left;}
.zp20-year-table .zp20-badge{
    padding:6px 10px;
    font-size:12px;
}
.zp20-year-table .zp20-button--small{
    min-height:34px;
    padding:8px 12px;
    font-size:12px;
    border-radius:9px;
    max-width:100%;
}
@media (max-width: 720px){
    .zp20-year-table th:nth-child(1),
    .zp20-year-table td:nth-child(1){width:25%;}
    .zp20-year-table th:nth-child(2),
    .zp20-year-table td:nth-child(2){width:35%; white-space:normal!important;}
    .zp20-year-table th:nth-child(3),
    .zp20-year-table td:nth-child(3){width:17%;}
    .zp20-year-table th:nth-child(4),
    .zp20-year-table td:nth-child(4){width:23%;}
    .zp20-year-table th,.zp20-year-table td{padding:10px 6px;font-size:13px;}
    .zp20-year-table .zp20-button--small{padding:7px 9px;font-size:11px;}
}

/* 20.0.84: Zählerdaten sollen bei Auswahl 'Alle' vollständig sichtbar sein, ohne internen 12-Zeilen-Scrollbereich. */
.zp20 [data-zp20-subpanel="meters"] .zp20-table-wrap{max-height:none!important;overflow:visible!important;contain:none!important;}
.zp20 [data-zp20-subpanel="meters"] table{width:100%!important;}

/* 20.0.85: Zählerdaten wahlweise gruppiert oder als durchgehende Liste. */
.zp20-checkline{display:inline-flex!important;align-items:center;gap:8px;font-weight:700;color:#334155;white-space:nowrap;}
.zp20-checkline input{width:16px;height:16px;}
.zp20-meter-groups{display:grid;gap:18px;}
.zp20-meter-group>h3{margin:10px 0 8px;font-size:17px;color:#0f172a;display:flex;align-items:baseline;gap:10px;}
.zp20-meter-group>h3 small{font-size:12px;color:#64748b;font-weight:700;}


/* 20.0.86: Darstellungsmodus für Zählerdaten */
.zp20-view-toggle{display:flex!important;align-items:center;gap:10px;flex-wrap:wrap;border:1px solid #dbeafe;border-radius:14px;padding:8px 10px;background:#f8fbff;margin:0;}
.zp20-view-toggle legend{font-size:12px;font-weight:900;color:#475569;padding:0 4px;margin-right:4px;}
.zp20-view-toggle label{display:inline-flex!important;align-items:center;gap:7px;margin:0!important;padding:7px 10px;border-radius:999px;background:#fff;border:1px solid #e2e8f0;color:#0f172a;font-weight:800;white-space:nowrap;cursor:pointer;}
.zp20-view-toggle input{width:16px;height:16px;margin:0;}
.zp20-view-toggle label:has(input:checked){background:#1d4ed8;color:#fff;border-color:#1d4ed8;}
@media (max-width: 720px){.zp20-view-toggle{width:100%;}.zp20-view-toggle label{width:100%;}}

/* 20.0.88: Zählerdaten Ansichten */
.zp20-view-toggle{display:flex;gap:12px;align-items:center;flex-wrap:wrap;border:0;padding:0;margin:0}
.zp20-view-toggle legend{font-weight:700;margin-right:4px}
.zp20-view-toggle label{display:inline-flex;align-items:center;gap:6px;margin:0}

/* 20.0.93 Verbrauch: Zusammenfassung sauber als tabellarischer Block */
.zp20-consumption-summary-table{width:100%;border-collapse:collapse;margin-top:10px;max-width:520px}
.zp20-consumption-summary-table th,.zp20-consumption-summary-table td{padding:10px 12px;border-bottom:1px solid #e6edf5;text-align:left;vertical-align:middle}
.zp20-consumption-summary-table th{font-weight:700;color:#53657d;width:55%}
.zp20-consumption-summary-table td{text-align:right;font-weight:800;color:#06142b;font-variant-numeric:tabular-nums}
.zp20-consumption-summary-table tr:last-child th,.zp20-consumption-summary-table tr:last-child td{border-bottom:0}
.zp20-consumption-summary-table tr.zp20-summary-total th,.zp20-consumption-summary-table tr.zp20-summary-total td{padding-top:14px;font-size:1.05rem;color:#06142b;border-top:2px solid #d9e5f1}

/* 20.0.95 Wohnungsstatus und Auffälligkeiten */
.zp20-status-summary{display:flex;gap:10px;flex-wrap:wrap;margin:4px 0 14px}
.zp20-status-pill{display:inline-flex;align-items:center;gap:8px;border-radius:999px;padding:8px 12px;font-weight:800;background:#f8fafc;border:1px solid #e2e8f0;color:#0f172a}
.zp20-status-pill strong{font-variant-numeric:tabular-nums}
.zp20-status-pill--green{background:#ecfdf5;border-color:#bbf7d0;color:#166534}
.zp20-status-pill--yellow{background:#fff7ed;border-color:#fed7aa;color:#9a3412}
.zp20-status-pill--red{background:#fef2f2;border-color:#fecaca;color:#991b1b}
.zp20-status-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;margin-top:12px}
.zp20-status-row{display:grid;grid-template-columns:14px 1fr auto;gap:10px;align-items:center;text-decoration:none;color:#0f172a;background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:11px 12px}
.zp20-status-row small{display:block;color:#64748b;font-size:12px;margin-top:2px}
.zp20-status-row em{font-style:normal;font-weight:800;font-size:12px;border-radius:999px;padding:5px 8px;background:#f8fafc;color:#334155}
.zp20-status-dot{width:10px;height:10px;border-radius:999px;background:#94a3b8;box-shadow:0 0 0 4px rgba(148,163,184,.14)}
.zp20-status-row--green .zp20-status-dot{background:#22c55e;box-shadow:0 0 0 4px rgba(34,197,94,.14)}
.zp20-status-row--yellow .zp20-status-dot{background:#f59e0b;box-shadow:0 0 0 4px rgba(245,158,11,.16)}
.zp20-status-row--red .zp20-status-dot{background:#ef4444;box-shadow:0 0 0 4px rgba(239,68,68,.14)}
.zp20-status-row--green em{background:#ecfdf5;color:#166534}
.zp20-status-row--yellow em{background:#fff7ed;color:#9a3412}
.zp20-status-row--red em{background:#fef2f2;color:#991b1b}
.zp20-warning-card{border-color:#dbeafe;background:linear-gradient(180deg,#ffffff,#f8fbff)}
.zp20-warning-card table td,.zp20-warning-card table th{white-space:nowrap}
@media (max-width:720px){.zp20-status-row{grid-template-columns:14px 1fr}.zp20-status-row em{grid-column:2}.zp20-warning-card .zp20-table-wrap{overflow-x:auto}}
/* 20.1.3: Verbrauchszusammenfassung detailliert */
.zp20-consumption-summary-table thead th{font-size:.78rem;text-transform:uppercase;letter-spacing:.06em;color:#6b7c93;background:#f8fafc}
.zp20-consumption-summary-table tr.zp20-summary-group th{padding-top:16px;background:#f4f7fb;color:#0f2747;font-size:.95rem;border-top:1px solid #dfe8f3}
.zp20-consumption-summary-table tr.zp20-summary-detail th{font-weight:600;color:#24364d;padding-left:24px}
.zp20-consumption-summary-table tr.zp20-summary-detail th small{display:block;margin-top:3px;color:#7b8ca3;font-weight:500}
.zp20-consumption-summary-table tr.zp20-summary-total th,.zp20-consumption-summary-table tr.zp20-summary-total td{background:#eef5ff;font-weight:900;border-top:2px solid #cfe0f5;color:#06142b}

/* 20.1.6: Verbrauchsdiagramm */
.zp20-chart-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px;margin-top:12px}
.zp20-chart-box{border:1px solid #e5e7eb;border-radius:16px;background:#fff;padding:16px}
.zp20-chart-box h4{margin:0 0 12px;color:#0f172a;font-size:16px}
.zp20-chart-row{display:grid;grid-template-columns:86px minmax(120px,1fr) 120px;gap:10px;align-items:center;margin:9px 0}
.zp20-chart-label{font-weight:700;color:#475569}
.zp20-chart-bar-wrap{height:13px;border-radius:999px;background:#e8eef7;overflow:hidden}
.zp20-chart-bar{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2563eb,#0f766e)}
.zp20-chart-row strong{text-align:right;color:#0f172a;font-variant-numeric:tabular-nums;white-space:nowrap}
@media (max-width:700px){.zp20-chart-row{grid-template-columns:1fr}.zp20-chart-row strong{text-align:left}}

/* ZP 20.1.8 Login-Design: Grashaus Hintergrund */
body.zp20-standalone-active.zp20-login-page{
    min-height:100vh;
    background:#dfe7ef url('login-background.png') center center / cover no-repeat fixed!important;
}
body.zp20-login-page .zp20-standalone-root{
    min-height:100vh;
    padding:0!important;
    background:linear-gradient(90deg,rgba(0,0,0,.10),rgba(0,0,0,.02) 45%,rgba(0,0,0,.08))!important;
    display:flex;
    justify-content:flex-start;
    align-items:flex-start;
}
body.zp20-login-page .zp20-login{
    width:360px!important;
    max-width:calc(100vw - 32px)!important;
    margin:50vh 0 0 49vw!important;
    transform:translateY(-2%);
}
body.zp20-login-page .zp20-login__card{
    padding:24px 26px 22px!important;
    border:1px solid rgba(255,255,255,.72)!important;
    border-radius:22px!important;
    background:rgba(255,255,255,.90)!important;
    box-shadow:0 22px 58px rgba(13,37,20,.26)!important;
    backdrop-filter:blur(4px);
}
body.zp20-login-page .zp20-login__brand{
    text-align:center;
    margin-bottom:18px;
    padding-bottom:14px;
    border-bottom:1px solid rgba(28,79,42,.14);
}
body.zp20-login-page .zp20-login__eyebrow{
    display:block;
    margin:0 0 6px!important;
    color:#2f6f3d!important;
    font-size:30px!important;
    line-height:1;
    letter-spacing:0!important;
    text-transform:none!important;
}
body.zp20-login-page .zp20-login h1{
    margin:0!important;
    color:#2d6739!important;
    font-size:31px!important;
    line-height:1.05;
    letter-spacing:-.02em;
    font-family:Georgia,'Times New Roman',serif;
}
body.zp20-login-page .zp20-login__form form{
    display:grid;
    gap:12px;
}
body.zp20-login-page .zp20-login__form p{
    margin:0!important;
}
body.zp20-login-page .zp20-login label{
    display:block;
    margin:0 0 6px;
    color:#324132;
    font-size:13px;
    font-weight:700;
}
body.zp20-login-page .zp20-login input[type="text"],
body.zp20-login-page .zp20-login input[type="password"]{
    min-height:42px!important;
    border-radius:9px!important;
    border:1px solid rgba(110,126,114,.30)!important;
    background:rgba(255,255,255,.92)!important;
    box-shadow:inset 0 1px 1px rgba(0,0,0,.03);
}
body.zp20-login-page .zp20-login .login-remember{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    margin-top:2px!important;
    font-size:13px;
}
body.zp20-login-page .zp20-login .login-remember label{
    display:flex;
    align-items:center;
    gap:8px;
    margin:0;
    font-weight:600;
}
body.zp20-login-page .zp20-login input[type="checkbox"]{
    width:16px!important;
    min-height:16px!important;
    height:16px!important;
}
body.zp20-login-page .zp20-login .button,
body.zp20-login-page .zp20-login input[type="submit"]{
    width:100%!important;
    min-height:44px!important;
    border:0!important;
    border-radius:9px!important;
    background:#2f6f2f!important;
    color:#fff!important;
    font-weight:800!important;
    box-shadow:0 8px 18px rgba(37,92,44,.20);
    cursor:pointer;
}
body.zp20-login-page .zp20-login .button:hover,
body.zp20-login-page .zp20-login input[type="submit"]:hover{
    background:#255d28!important;
}
@media (max-width: 900px){
    body.zp20-login-page .zp20-standalone-root{
        justify-content:center;
        align-items:flex-end;
        padding:0 16px 8vh!important;
    }
    body.zp20-login-page .zp20-login{
        width:340px!important;
        margin:0!important;
        transform:none;
    }
}
@media (max-width: 520px){
    body.zp20-standalone-active.zp20-login-page{
        background-position:38% center!important;
    }
    body.zp20-login-page .zp20-login__card{
        padding:20px!important;
        border-radius:18px!important;
    }
    body.zp20-login-page .zp20-login h1{font-size:27px!important;}
}

/* 20.2.0 Wetter & Mondphase */
.zp20-header{
    align-items:center;
    gap:22px;
}
.zp20-weather{
    margin-left:auto;
    display:flex;
    align-items:center;
    gap:10px;
    padding:10px 14px;
    border-radius:999px;
    background:rgba(255,255,255,.16);
    border:1px solid rgba(255,255,255,.22);
    color:#fff;
    font-weight:700;
    white-space:nowrap;
    box-shadow:0 10px 28px rgba(0,0,0,.10);
}
.zp20-weather-sep{
    opacity:.65;
    margin:0 2px;
}
@media (max-width: 900px){
    .zp20-header{align-items:flex-start;}
    .zp20-weather{margin-left:0; width:100%; justify-content:center; flex-wrap:wrap; white-space:normal;}
}
