/* Soft Grashaus theme */
:root{
  --zp-bg:#f5f7fb;
  --zp-card:#fff;
  --zp-soft:#f8fafc;
  --zp-text:#102033;
  --zp-muted:#64748b;
  --zp-line:#dbe5ef;
  --zp-primary:#5b8f5a;
  --zp-primary-dark:#4b7a4a;
  --zp-primary-soft:#eef6ee;
  --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}}

/* Grashaus 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;}
}

/* Frontend-Farbschemata pro Benutzer */
.zp20-theme-blue{
  --zp-bg:#f5f7fb;
  --zp-card:#fff;
  --zp-soft:#f8fafc;
  --zp-text:#102033;
  --zp-muted:#64748b;
  --zp-line:#dbe5ef;
  --zp-primary:#5b8f5a;
  --zp-primary-dark:#4b7a4a;
  --zp-primary-soft:#eef6ee;
}
.zp20-theme-green{
  --zp-bg:#f5faf6;
  --zp-card:#fff;
  --zp-soft:#f3f8f1;
  --zp-text:#173025;
  --zp-muted:#607166;
  --zp-line:#d9e7d9;
  --zp-primary:#2f7d4c;
  --zp-primary-dark:#1f5f3a;
  --zp-primary-soft:#eaf6ee;
}
.zp20-theme-sand{
  --zp-bg:#fbf7f1;
  --zp-card:#fff;
  --zp-soft:#fff8ee;
  --zp-text:#332416;
  --zp-muted:#756456;
  --zp-line:#eadbc9;
  --zp-primary:#b8652b;
  --zp-primary-dark:#7a3e1a;
  --zp-primary-soft:#fff0e4;
}
.zp20-theme-green .zp20-header{background:linear-gradient(135deg,#1f5f3a,#3f9462)}
.zp20-theme-sand .zp20-header{background:linear-gradient(135deg,#7a3e1a,#c47a3b)}
.zp20-theme-blue .zp20-header{background:linear-gradient(135deg,#0e4264,#176b9c)}
.zp20-theme-green .zp20-header p,.zp20-theme-green .zp20-user span,.zp20-theme-green .zp20-header .zp20-eyebrow{color:#dcf5e3}
.zp20-theme-sand .zp20-header p,.zp20-theme-sand .zp20-user span,.zp20-theme-sand .zp20-header .zp20-eyebrow{color:#fff1df}
.zp20-theme-green .zp20-owner-summary__avatar,.zp20-theme-green .zp20-list__icon{background:#2f7d4c}
.zp20-theme-sand .zp20-owner-summary__avatar,.zp20-theme-sand .zp20-list__icon{background:#b8652b}
.zp20-theme-green .zp20-card--focus{background:linear-gradient(180deg,#fff,#f4fbf5)}
.zp20-theme-sand .zp20-card--focus{background:linear-gradient(180deg,#fff,#fff8ef)}
.zp20-theme-preview{display:flex;gap:10px;flex-wrap:wrap;margin:4px 0 0}
.zp20-theme-preview__item{display:inline-flex;align-items:center;justify-content:center;min-width:86px;min-height:34px;border-radius:999px;color:#fff;font-weight:800;font-size:13px}
.zp20-theme-preview__item--blue{background:#176b9c}
.zp20-theme-preview__item--green{background:#2f7d4c}
.zp20-theme-preview__item--sand{background:#b8652b}


/* Grashaus 20.5.1 – integrierte Eigentümerhistorie */
.zpws-inline-history summary,
.zp20-owner-history-inline summary,
.zpws-owner-history-manual summary{cursor:pointer;font-weight:700;display:inline-flex;align-items:center;gap:6px;margin:4px 0 8px;}
.zpws-owner-history-inline{margin-top:10px;max-width:100%;overflow:auto;}
.zp20-owner-history-inline{margin-top:8px;padding:10px;border:1px solid rgba(0,0,0,.10);border-radius:12px;background:rgba(255,255,255,.72);}
.zp20-owner-history-inline summary{color:var(--zp20-primary,#176b9c);}
.zpws-owner-history-manual{margin-top:18px;padding:14px;border:1px solid #dcdcde;border-radius:10px;background:#fff;}
.zpws-owner-history-manual[open]{box-shadow:0 8px 24px rgba(0,0,0,.05);}

/* 20.6.0 – Aktives Wirtschaftsjahr im Bereich Ablesen */
.zp20-active-year--read{margin:0 0 16px 0;padding:14px 16px;border-radius:16px;display:inline-flex;flex-direction:column;gap:2px;box-shadow:0 8px 24px rgba(15,23,42,.08);}
.zp20-active-year--read span{font-size:.78rem;text-transform:uppercase;letter-spacing:.06em;opacity:.78;}
.zp20-active-year--read strong{font-size:1.15rem;}
.zp20-active-year--read small{opacity:.82;}

/* ZP20-READ-MASTER-DETAIL-20.6.0 */
.zp20-read-masterdetail{overflow:visible;}
.zp20-read-layout{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(320px,.95fr);gap:16px;align-items:start;}
.zp20-read-list-pane{min-width:0;}
.zp20-read-detail-pane{position:sticky;top:18px;align-self:start;}
.zp20-reading-detail-form{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:0;padding:18px;border:1px solid var(--zp-line);border-radius:16px;background:linear-gradient(180deg,#fff,#f8fbfe);box-shadow:0 10px 28px rgba(15,23,42,.06);}
.zp20-reading-detail-head{grid-column:1/-1;padding-bottom:12px;border-bottom:1px solid #edf1f6;}
.zp20-reading-detail-head h3{margin:0 0 4px;font-size:22px;}
.zp20-reading-detail-head p{margin:0;color:var(--zp-muted);}
.zp20-read-row{cursor:pointer;}
.zp20-read-row:hover td{background:#f8fbfe;}
.zp20-read-row.is-active td{background:var(--zp-primary-soft);}
.zp20-read-row.is-active td:first-child{border-left:4px solid var(--zp-primary);}
.zp20-read-row:focus{outline:2px solid var(--zp-primary);outline-offset:-2px;}
.zp20-reading-detail-form button[type="submit"]{grid-column:1/-1;}
@media (max-width:1050px){.zp20-read-layout{grid-template-columns:1fr}.zp20-read-detail-pane{position:static}.zp20-reading-detail-form{grid-template-columns:1fr}}

/* ZP20-READ-REFINE-20.6.0 */
.zp20-read-row.is-active td{background:#e8f4ff!important;box-shadow:inset 0 1px 0 rgba(23,107,156,.08),inset 0 -1px 0 rgba(23,107,156,.08)}
.zp20-read-row.is-active td:first-child{border-left:6px solid var(--zp-primary);padding-left:calc(12px - 6px)}
.zp20-reading-detail-form{position:relative}
.zp20-reading-detail-form:before{content:"Aktiver Zähler";position:absolute;right:16px;top:14px;font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#176b9c;background:#e8f4ff;border:1px solid rgba(23,107,156,.18);border-radius:999px;padding:4px 8px}
.zp20-read-detail-nav{grid-column:1/-1;display:flex;gap:10px;align-items:center;justify-content:space-between;margin-top:2px}
.zp20-read-detail-nav .zp20-button{width:100%;justify-content:center}
.zp20-read-detail-nav .zp20-button:disabled{opacity:.45;cursor:not-allowed;filter:grayscale(1)}
.zp20-toast{position:fixed;right:24px;bottom:24px;z-index:99999;background:#166534;color:#fff;border-radius:14px;padding:12px 16px;font-weight:800;box-shadow:0 16px 36px rgba(15,23,42,.22);opacity:0;transform:translateY(12px);transition:opacity .18s ease,transform .18s ease}
.zp20-toast.is-visible{opacity:1;transform:translateY(0)}
@media (max-width:782px){.zp20-toast{left:16px;right:16px;bottom:16px;text-align:center}.zp20-read-detail-nav{flex-direction:column}}

/* Grashaus UI-Polish – moderne App-Oberfläche mit Sidebar */
.zp20{
    width:min(1480px,100%);
    margin:0 auto 56px!important;
    padding:0 18px 32px;
    font-size:15px;
    color:#0f172a;
}
body.zp20-standalone-active,
.zp20-standalone-root{
    background:#fff!important;
}
.zp20-standalone-root{
    padding:0!important;
    display:block!important;
}
.zp20-header.zp20-appbar{
    position:sticky;
    top:0;
    z-index:20;
    min-height:70px;
    margin:0 -18px 0;
    padding:14px 24px;
    border-radius:0;
    border-bottom:1px solid #dbe5ef;
    background:rgba(255,255,255,.96)!important;
    color:#0f172a;
    box-shadow:none;
    backdrop-filter:saturate(160%) blur(10px);
}
.zp20-brand{
    display:inline-flex;
    align-items:center;
    gap:12px;
    text-decoration:none!important;
}
.zp20-brand__mark{
    display:inline-grid;
    place-items:center;
    width:42px;
    height:42px;
    border-radius:13px;
    background:#dcfce7;
    color:#16a34a;
    font-weight:950;
    line-height:1;
}
.zp20-brand__name{
    color:#0f172a;
    font-size:29px;
    line-height:1;
    font-weight:850;
    letter-spacing:-.04em;
}
.zp20-header .zp20-weather{
    display:none!important;
}
.zp20-header .zp20-user{
    margin-left:auto;
    min-width:0;
    display:flex;
    align-items:center;
    gap:10px;
    justify-items:initial;
}
.zp20-header .zp20-user span{
    display:none;
}
.zp20-header .zp20-user strong{
    max-width:280px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    color:#334155;
    font-size:13px;
    font-weight:700;
}
.zp20-header .zp20-user a{
    margin:0;
    padding:10px 14px;
    border:1px solid #d5e0eb;
    border-radius:10px;
    color:#0f172a;
    background:#fff;
    text-decoration:none;
    font-weight:750;
}
.zp20-header .zp20-user a:hover{
    background:#f8fafc;
}
.zp20-shell{
    display:grid;
    grid-template-columns:228px minmax(0,1fr);
    gap:0;
    align-items:stretch;
    min-height:calc(100vh - 70px);
}
.zp20-content{
    padding:24px 28px 40px;
    min-width:0;
}
.zp20-nav{
    position:sticky;
    top:70px;
    align-self:start;
    min-height:calc(100vh - 70px);
    padding:28px 16px 18px;
    border:0;
    border-right:1px solid #dbe5ef;
    border-radius:0;
    background:#fff;
    box-shadow:none;
    overflow:visible;
}
.zp20-nav__group,
.zp20-nav__sub{
    display:grid!important;
}
.zp20-nav__group{
    margin-top:22px;
    gap:8px;
}
.zp20-nav__heading,
.zp20-nav__group.is-open .zp20-nav__heading,
.zp20-nav__group.is-open .zp20-nav__heading:hover{
    min-height:0;
    padding:0 12px 6px;
    background:transparent!important;
    color:#64748b!important;
    font-size:12px;
    font-weight:850;
    letter-spacing:.06em;
    text-transform:uppercase;
    cursor:default;
    pointer-events:none;
}
.zp20-nav__heading::after{display:none!important;}
.zp20-nav__sub{
    margin:0!important;
    padding:0!important;
    border-left:0!important;
    gap:6px!important;
}
.zp20-nav a,
.zp20-nav button,
.zp20-subnav button,
.zp20-nav .zp20-nav__sub a{
    position:relative;
    display:flex;
    align-items:center;
    gap:12px;
    min-height:42px;
    padding:10px 13px;
    border-radius:9px;
    background:transparent;
    color:#111827!important;
    font-size:15px;
    font-weight:650;
}
.zp20-nav a::before,
.zp20-nav .zp20-nav__sub a::before{
    width:22px;
    min-width:22px;
    text-align:center;
    color:#1f2937;
    font-size:19px;
    line-height:1;
    opacity:.95;
}
.zp20-nav__item[data-zp20-tab="dashboard"]::before{content:"⌂";}
.zp20-nav__group:nth-of-type(1) .zp20-nav__sub a:nth-child(1)::before{content:"♡";}
.zp20-nav__group:nth-of-type(1) .zp20-nav__sub a:nth-child(2)::before{content:"▥";}
.zp20-nav__group:nth-of-type(1) .zp20-nav__sub a:nth-child(3)::before{content:"◴";}
.zp20-nav__group:nth-of-type(1) .zp20-nav__sub a:nth-child(4)::before{content:"⚒";font-size:17px;}
.zp20-nav__group:nth-of-type(2) .zp20-nav__sub a:nth-child(1)::before{content:"▣";}
.zp20-nav__group:nth-of-type(2) .zp20-nav__sub a:nth-child(2)::before{content:"▤";}
.zp20-nav__group:nth-of-type(2) .zp20-nav__sub a:nth-child(3)::before{content:"☰";}
.zp20-nav__group:nth-of-type(2) .zp20-nav__sub a:nth-child(4)::before{content:"↗";}
.zp20-nav__group:nth-of-type(3) .zp20-nav__sub a:nth-child(1)::before{content:"👥";font-size:16px;}
.zp20-nav__group:nth-of-type(3) .zp20-nav__sub a:nth-child(2)::before{content:"◷";}
.zp20-nav__group:nth-of-type(3) .zp20-nav__sub a:nth-child(3)::before{content:"⚙";}
.zp20-nav__group:nth-of-type(3) .zp20-nav__sub a:nth-child(4)::before{content:"⚙";}
.zp20-nav__item[data-zp20-tab="extras"]::before{content:"✦";}
.zp20-nav a:hover,
.zp20-nav button:hover,
.zp20-subnav button:hover{
    background:#f1f5f9;
    color:#0f172a!important;
}
.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:#ecfdf3!important;
    color:#049435!important;
    box-shadow:none!important;
}
.zp20-nav a.is-active::before,
.zp20-nav .zp20-nav__sub a.is-active::before{
    color:#16a34a;
}
.zp20-nav::after{
    content:"Grashaus v20.6.0";
    position:absolute;
    left:28px;
    bottom:22px;
    color:#64748b;
    font-size:13px;
}
.zp20-message{
    margin:16px 0;
    border-radius:14px;
}
.zp20-dashboard-head,
.zp20-section-head,
.zp20-card,
.zp20-stats article,
.zp20-context,
.zp20-owner-summary,
.zp20-meter,
.zp20-report-owner-card,
.zp20-report-table,
.zp20-reading-table-wrap,
.zp20-reading-detail{
    border-color:#dbe5ef!important;
    border-radius:14px!important;
    box-shadow:none!important;
}
.zp20-dashboard-head,
.zp20-card,
.zp20-context,
.zp20-stats article,
.zp20-meter{
    background:#fff!important;
}
.zp20-section-head h2,
.zp20-dashboard-head h2{
    font-size:34px;
    letter-spacing:-.04em;
}
.zp20-button,
.zp20-form button,
.zp20-context button{
    border-radius:8px;
    background:#2563eb!important;
    box-shadow:0 8px 18px rgba(37,99,235,.18);
}
.zp20-button--secondary{
    background:#fff!important;
    color:#0f172a!important;
    border:1px solid #d5e0eb!important;
    box-shadow:none!important;
}
.zp20 table{
    border-collapse:separate;
    border-spacing:0;
}
.zp20 th{
    background:#f8fafc;
    color:#475569;
    font-weight:850;
}
.zp20 th,.zp20 td{
    border-right:1px solid #e2e8f0;
    border-bottom:1px solid #e2e8f0;
    padding:12px 13px;
}
.zp20 th:first-child,.zp20 td:first-child{border-left:1px solid #e2e8f0;}
.zp20 tr:first-child th:first-child{border-top-left-radius:10px;}
.zp20 tr:first-child th:last-child{border-top-right-radius:10px;}
.zp20 tr:last-child td:first-child{border-bottom-left-radius:10px;}
.zp20 tr:last-child td:last-child{border-bottom-right-radius:10px;}
.zp20 input,.zp20 select,.zp20 textarea{
    border-radius:10px!important;
}
@media (max-width: 900px){
    .zp20{padding:0 12px 24px;}
    .zp20-header.zp20-appbar{margin:0 -12px;padding:12px 16px;position:static;}
    .zp20-brand__name{font-size:24px;}
    .zp20-brand__mark{width:36px;height:36px;border-radius:11px;}
    .zp20-header .zp20-user strong{display:none;}
    .zp20-shell{grid-template-columns:1fr;min-height:0;}
    .zp20-content{padding:18px 0 32px;}
    .zp20-nav{position:static;min-height:0;border-right:0;border-bottom:1px solid #dbe5ef;padding:14px 0 18px;grid-template-columns:1fr;}
    .zp20-nav::after{display:none;}
}

/* 20.6.0 UI-Polish Fix: Wetter wieder sichtbar + Menügruppen einklappbar */
.zp20-header .zp20-weather{
    display:flex!important;
    margin-left:auto!important;
    margin-right:12px!important;
    align-items:center!important;
    gap:8px!important;
    padding:8px 12px!important;
    border-radius:999px!important;
    background:#f8fafc!important;
    border:1px solid #dbe5ef!important;
    color:#334155!important;
    font-size:13px!important;
    font-weight:750!important;
    box-shadow:none!important;
    white-space:nowrap!important;
}
.zp20-header .zp20-weather-sep{color:#94a3b8!important;opacity:1!important;}
.zp20-header .zp20-user{margin-left:0!important;}
.zp20-nav__heading,
.zp20-nav__group.is-open .zp20-nav__heading,
.zp20-nav__group.is-open .zp20-nav__heading:hover{
    pointer-events:auto!important;
    cursor:pointer!important;
    padding:8px 12px!important;
    border-radius:9px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    min-height:36px!important;
    color:#64748b!important;
    background:transparent!important;
}
.zp20-nav__heading:hover{
    background:#f8fafc!important;
    color:#0f172a!important;
}
.zp20-nav__heading::after{
    display:block!important;
    content:"⌄"!important;
    font-size:15px!important;
    line-height:1!important;
    color:#94a3b8!important;
    transform:rotate(-90deg)!important;
    transition:transform .16s ease,color .16s ease!important;
}
.zp20-nav__group.is-open .zp20-nav__heading::after{
    transform:rotate(0deg)!important;
    color:#16a34a!important;
}
.zp20-nav__group.is-open .zp20-nav__heading{
    color:#0f172a!important;
}
.zp20-nav__group:not(.is-open) .zp20-nav__sub{
    display:none!important;
}
.zp20-nav__group.is-open .zp20-nav__sub{
    display:grid!important;
}
@media (max-width: 900px){
    .zp20-header .zp20-weather{width:auto!important;margin-left:0!important;margin-right:0!important;white-space:normal!important;}
}

/* 20.0.46 UI-Polish: ruhigeres Frontend / Stammdaten */
.zp20{
    --zp-primary:#14a83b;
    --zp-primary-dark:#087a2a;
    --zp-primary-soft:#e8f8ec;
    --zp-line:#d9e2ec;
    --zp-soft:#f8fafc;
    color:#0f172a;
}
.zp20-standalone-root{background:#f8fafc;}
.zp20-appbar{
    margin:-24px -24px 20px;
    padding:18px 26px;
    border:0;
    border-bottom:1px solid #e2e8f0;
    border-radius:0;
    background:rgba(255,255,255,.96)!important;
    color:#0f172a;
    box-shadow:none;
}
.zp20-appbar .zp20-brand{display:flex;align-items:center;gap:12px;text-decoration:none;}
.zp20-appbar .zp20-brand__mark{
    display:inline-grid;place-items:center;width:42px;height:42px;border-radius:14px;
    background:linear-gradient(135deg,#dcfce7,#bbf7d0);color:var(--zp-primary);font-weight:950;
}
.zp20-appbar .zp20-brand__name{font-size:28px;font-weight:900;letter-spacing:-.03em;color:#0f172a;}
.zp20-appbar .zp20-user span,.zp20-appbar .zp20-user strong,.zp20-appbar .zp20-user a{color:#475569;}
.zp20-appbar .zp20-user a{color:var(--zp-primary-dark);}
.zp20-shell{grid-template-columns:210px minmax(0,1fr);gap:28px;}
.zp20-nav{
    position:sticky;top:18px;padding:18px 12px;border:0;border-right:1px solid #dbe5ef;border-radius:0;background:transparent;box-shadow:none;
}
.zp20-nav a,.zp20-nav button,.zp20-nav__heading{
    min-height:44px;border-radius:12px;color:#1f2937;font-weight:780;
}
.zp20-nav__heading{
    padding:10px 12px;color:#64748b;font-size:13px;text-transform:uppercase;letter-spacing:.06em;background:transparent!important;
}
.zp20-nav__group.is-open .zp20-nav__heading{color:#475569!important;background:transparent!important;}
.zp20-nav__group.is-open .zp20-nav__heading::after{color:#94a3b8;}
.zp20-nav__sub{gap:7px;margin:4px 0 12px;padding-left:0;border-left:0;}
.zp20-nav .zp20-nav__sub a{min-height:42px;padding:9px 12px 9px 46px;color:#1f2937;font-size:14px;position:relative;}
.zp20-nav a.is-active,
.zp20-nav button.is-active,
.zp20-nav .zp20-nav__sub a.is-active,
.zp20-nav__group .zp20-nav__sub a.is-active{
    background:var(--zp-primary-soft)!important;color:var(--zp-primary-dark)!important;box-shadow:none;
}
.zp20-nav a:hover,.zp20-nav button:hover,.zp20-nav .zp20-nav__sub a:hover{background:#f1f5f9;color:var(--zp-primary-dark);}
.zp20-message{
    border-radius:14px;box-shadow:none;
}
.zp20 > .zp20-message--info:first-of-type{
    margin:0 0 16px;padding:10px 14px;border-color:#bfdbfe;background:#eff6ff;color:#334155;font-size:13px;
}
.zp20-section-head{
    margin-bottom:20px;padding:0;border:0;background:transparent;align-items:center;
}
.zp20-section-head h2{font-size:34px;letter-spacing:-.04em;}
.zp20-section-head p{max-width:640px;color:#64748b;}
.zp20-button,.zp20-context button,.zp20-form button{
    border-radius:12px;background:#2563eb;color:#fff!important;box-shadow:0 10px 22px rgba(37,99,235,.18);
}
.zp20-button:hover,.zp20-context button:hover,.zp20-form button:hover{filter:brightness(.96);}
.zp20-toolbar-card{
    display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:14px;align-items:end;
    margin-bottom:18px;padding:18px 20px;border:1px solid var(--zp-line);border-radius:18px;background:#fff;
    box-shadow:0 14px 32px rgba(15,23,42,.045);
}
.zp20-toolbar-card h3{margin:0;font-size:20px;letter-spacing:-.02em;}
.zp20-owner-view-filter{display:flex!important;align-items:end;gap:10px;margin:0;}
.zp20-owner-view-filter label{display:grid;gap:5px;color:#64748b;font-weight:800;}
.zp20-owner-view-filter label span{font-size:12px;text-transform:uppercase;letter-spacing:.06em;}
.zp20-owner-view-filter select{min-width:230px;min-height:44px;border-radius:12px;}
.zp20-card,
.zp20-table-wrap.zp20-card{
    border:1px solid var(--zp-line);border-radius:18px;background:#fff;box-shadow:0 12px 26px rgba(15,23,42,.035);overflow:hidden;
}
.zp20 table{font-size:14px;}
.zp20 th{background:#f8fafc!important;color:#475569;font-size:12px;}
.zp20 td{padding:13px 12px;border-bottom:1px solid #e8eef5;}
.zp20 tr:last-child td{border-bottom:0;}
.zp20-year-filter button:not(.zp20-button){border:0;border-radius:12px;background:#2563eb;color:#fff;font-weight:800;padding:10px 16px;}
.zp20-owner-export{display:none!important;}
@media (max-width: 900px){
    .zp20-appbar{margin:-12px -12px 16px;padding:14px;}
    .zp20-shell{grid-template-columns:1fr;gap:16px;}
    .zp20-nav{position:static;border-right:0;border-bottom:1px solid #e2e8f0;}
    .zp20-toolbar-card{grid-template-columns:1fr;align-items:stretch;}
    .zp20-owner-view-filter,.zp20-owner-view-filter select{width:100%;}
}


/* Grashaus Soft-Green Button-Umstellung: keine blauen Aktionsschalter mehr */
:root{
  --gh-primary:#4d7f52;
  --gh-primary-hover:#3f6f45;
  --gh-primary-dark:#2f5f36;
  --gh-primary-soft:#edf6ee;
  --gh-primary-border:#b8d7bc;
  --gh-focus:rgba(77,127,82,.18);
}

/* WordPress/Admin Buttons */
.zpws-admin-clean .button-primary,
.zpws-admin-clean input[type="submit"].button-primary,
.zpws-admin-clean button.button-primary,
.zpws-admin-clean a.button-primary,
.zpws-app .button-primary,
.zpws-app input[type="submit"],
.zpws-app button[type="submit"],
.zpws-app .button:not(.button-link-delete),
.zpws-form button,
.zpws-open,
.zpws-fiscal-front-form button,
.zpws-settings-subnav button.active,
.zpws-masterdata-subnav button.active,
.zpws-extras-subnav button.active,
.zpws-meter-filters button.active,
.zpws-segment button.active,
.zpws-front-change-form button[type="submit"],
.zpws-change-actions button[type="submit"],
.zpws-change-details-form button[type="submit"],
.zpws-meter-save-visible-v16843{
  background:var(--gh-primary)!important;
  border-color:var(--gh-primary)!important;
  color:#fff!important;
  box-shadow:0 10px 22px rgba(77,127,82,.18)!important;
}
.zpws-admin-clean .button-primary:hover,
.zpws-admin-clean input[type="submit"].button-primary:hover,
.zpws-admin-clean button.button-primary:hover,
.zpws-admin-clean a.button-primary:hover,
.zpws-app .button-primary:hover,
.zpws-app input[type="submit"]:hover,
.zpws-app button[type="submit"]:hover,
.zpws-app .button:not(.button-link-delete):hover,
.zpws-form button:hover,
.zpws-open:hover,
.zpws-fiscal-front-form button:hover,
.zpws-front-change-form button[type="submit"]:hover,
.zpws-change-actions button[type="submit"]:hover,
.zpws-change-details-form button[type="submit"]:hover{
  background:var(--gh-primary-hover)!important;
  border-color:var(--gh-primary-hover)!important;
}

/* Sekundäre/Tool Buttons nicht blau einfärben */
.zpws-admin-meters-page .zpws-meter-tool,
.zpws-chain-badge,
.zpws-meter-actions-cell .button,
.zpws-actions-cell .button{
  background:#fff!important;
  border-color:var(--gh-primary-border)!important;
  color:var(--gh-primary-dark)!important;
}

/* Blaue Text-/Fokusakzente harmonisieren */
.zpws-app a,
.zpws-inline-history summary,
.zp20-owner-history-inline summary,
.zpws-change-current:after{
  color:var(--gh-primary-dark)!important;
}
.zpws-change-modern-form input:focus,
.zpws-change-modern-form select:focus,
.zpws-change-details-form input:focus,
.zpws-change-details-form select:focus,
.zpws-admin-clean input:focus,
.zpws-admin-clean select:focus,
.zpws-admin-clean textarea:focus{
  border-color:var(--gh-primary)!important;
  box-shadow:0 0 0 3px var(--gh-focus)!important;
  outline:none!important;
}

/* Frontend/Grashaus UI Buttons */
.zp20-button,
.zp20-form button,
.zp20-context button,
.zp20-year-filter button:not(.zp20-button),
.zp20-login .button,
body.zp20-login-page .zp20-login .button,
.printbar button{
  background:var(--gh-primary)!important;
  border-color:var(--gh-primary)!important;
  color:#fff!important;
  box-shadow:0 10px 22px rgba(77,127,82,.18)!important;
}
.zp20-button:hover,
.zp20-form button:hover,
.zp20-context button:hover,
.zp20-year-filter button:not(.zp20-button):hover,
.zp20-login .button:hover,
body.zp20-login-page .zp20-login .button:hover,
.printbar button:hover{
  background:var(--gh-primary-hover)!important;
  border-color:var(--gh-primary-hover)!important;
}
.zp20-button--secondary,
.zp20-button.zp20-button--ghost,
.zp20-actions .zp20-button.zp20-button--ghost{
  background:#fff!important;
  border:1px solid var(--gh-primary-border)!important;
  color:var(--gh-primary-dark)!important;
  box-shadow:none!important;
}
.zp20-nav button.is-active,
.zp20-subnav button.is-active,
.zp20-view-toggle label:has(input:checked){
  background:var(--gh-primary)!important;
  border-color:var(--gh-primary)!important;
  color:#fff!important;
}
.zp20-chart-bar{background:linear-gradient(90deg,var(--gh-primary),#6f9b72)!important;}

/* 20.0.86 Wirtschaftsjahr: Aktion-Spalte sauber halten */
.zp20-years-layout{
    display:grid!important;
    grid-template-columns:minmax(300px,360px) minmax(560px,1fr)!important;
    gap:16px!important;
    align-items:start!important;
}
.zp20-year-table-wrap{
    overflow:visible!important;
    max-width:100%!important;
}
.zp20-year-table{
    width:100%!important;
    table-layout:fixed!important;
}
.zp20-year-table th:nth-child(1),
.zp20-year-table td:nth-child(1){width:28%!important;}
.zp20-year-table th:nth-child(2),
.zp20-year-table td:nth-child(2){width:40%!important;}
.zp20-year-table th:nth-child(3),
.zp20-year-table td:nth-child(3){width:12%!important;}
.zp20-year-table th:nth-child(4),
.zp20-year-table td:nth-child(4){width:20%!important;min-width:0!important;}
.zp20-year-row-actions{
    white-space:normal!important;
    overflow:visible!important;
}
.zp20-year-actions-inline{
    display:flex!important;
    gap:8px!important;
    align-items:center!important;
    justify-content:flex-start!important;
    flex-wrap:wrap!important;
}
.zp20-year-row-actions .zp20-year-action,
.zp20-year-row-actions .zp20-year-current{
    max-width:100%!important;
    box-sizing:border-box!important;
    white-space:nowrap!important;
}
@media (max-width: 1100px){
    .zp20-years-layout{grid-template-columns:1fr!important;}
}


/* 20.0.87 Wirtschaftsjahr finaler Feinschliff */
.zp20-year-date-row{
    grid-template-columns:minmax(130px,42%) minmax(130px,42%)!important;
    justify-content:start!important;
}
.zp20-year-table .zp20-badge--success{
    padding-left:10px!important;
    padding-right:10px!important;
}
.zp20-year-row-actions .zp20-year-action{
    padding:7px 9px!important;
    font-size:11px!important;
    border-radius:8px!important;
}

/* Grashaus v2.4.1 – Frontend Komfort */
.zp20-frontend-home-actions{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
  margin:18px 0 22px;
}
.zp20-action-card{
  display:flex;
  flex-direction:column;
  gap:8px;
  min-height:132px;
  padding:20px;
  border-radius:22px;
  background:linear-gradient(135deg,#ffffff,#f1f8f3);
  border:1px solid rgba(39,107,72,.14);
  box-shadow:0 14px 34px rgba(15,23,42,.08);
  text-decoration:none!important;
  color:#173526!important;
}
.zp20-action-card:hover{transform:translateY(-2px);box-shadow:0 18px 44px rgba(15,23,42,.12)}
.zp20-action-card__icon{font-size:28px;line-height:1}
.zp20-action-card strong{font-size:17px;color:#143820}
.zp20-action-card small{font-size:13px;line-height:1.35;color:#5c6f61}
.zp20-today-card{background:linear-gradient(135deg,#ffffff,#f7fbf8)}
.zp20-task-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.zp20-task-list a{display:grid;grid-template-columns:auto 1fr;gap:4px 10px;padding:14px;border-radius:16px;background:#fff;border:1px solid rgba(39,107,72,.12);text-decoration:none!important;color:#173526!important}
.zp20-task-list a span{grid-row:1 / span 2;font-size:22px}
.zp20-task-list a strong{font-size:15px}
.zp20-task-list a small{color:#66756b}
@media (max-width:980px){.zp20-frontend-home-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.zp20-task-list{grid-template-columns:1fr}}
@media (max-width:560px){.zp20-frontend-home-actions{grid-template-columns:1fr}.zp20-action-card{min-height:0}}

/* Grashaus v2.4.4 – Sidebar Feinschliff: aktive Klammer entfernt, Icons bleiben erhalten */
.zp20-nav{
  width:auto;
  padding:22px 14px 24px!important;
  background:#fff!important;
  border-right:1px solid #dbe5ef!important;
  box-shadow:8px 0 28px rgba(15,23,42,.035)!important;
}
.zp20-nav a,
.zp20-nav button,
.zp20-nav__heading,
.zp20-nav .zp20-nav__sub a{
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  min-height:46px!important;
  border-radius:14px!important;
  text-decoration:none!important;
  transition:background .16s ease,color .16s ease,transform .16s ease,box-shadow .16s ease!important;
}
.zp20-nav__item[data-zp20-tab="dashboard"]{
  min-height:56px!important;
  padding:10px 14px!important;
  gap:12px!important;
  font-weight:850!important;
  color:#15803d!important;
  background:linear-gradient(135deg,#ecfdf3,#f6fff9)!important;
  box-shadow:0 10px 24px rgba(22,163,74,.08)!important;
}
.zp20-nav__item[data-zp20-tab="dashboard"]::before,
.zp20-nav__item[data-zp20-tab="extras"]::before,
.zp20-nav .zp20-nav__sub a::before{
  display:grid!important;
  place-items:center!important;
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  margin:0!important;
  border-radius:12px!important;
  font-size:18px!important;
  line-height:1!important;
  font-family:Arial,"Apple Color Emoji","Segoe UI Emoji",sans-serif!important;
  color:inherit!important;
}
.zp20-nav__item[data-zp20-tab="dashboard"]::before{content:"⌂"!important;background:#dcfce7!important;color:#16a34a!important;}
.zp20-nav__item[data-zp20-tab="extras"]::before{content:"✦"!important;background:#fff7ed!important;color:#f59e0b!important;}
.zp20-nav__group{
  margin-top:20px!important;
  gap:8px!important;
}
.zp20-nav__heading,
.zp20-nav__group.is-open .zp20-nav__heading,
.zp20-nav__group.is-open .zp20-nav__heading:hover{
  min-height:34px!important;
  padding:7px 8px 7px 12px!important;
  background:transparent!important;
  color:#64748b!important;
  font-size:12px!important;
  font-weight:900!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
  box-shadow:none!important;
}
.zp20-nav__heading::after{
  display:block!important;
  margin-left:auto!important;
  content:"⌄"!important;
  color:#16a34a!important;
  font-size:17px!important;
  transform:rotate(-90deg)!important;
  transition:transform .16s ease!important;
}
.zp20-nav__group.is-open .zp20-nav__heading::after{transform:rotate(0deg)!important;}
.zp20-nav__sub{
  display:grid!important;
  gap:8px!important;
  margin:4px 0 0!important;
  padding:0!important;
  border-left:0!important;
}
.zp20-nav__group:not(.is-open) .zp20-nav__sub{display:none!important;}
.zp20-nav__group.is-open .zp20-nav__sub{display:grid!important;}
.zp20-nav .zp20-nav__sub a,
.zp20-nav__item[data-zp20-tab="extras"]{
  gap:12px!important;
  padding:9px 11px!important;
  color:#182234!important;
  font-size:14px!important;
  font-weight:780!important;
  background:transparent!important;
}
.zp20-nav a:hover,
.zp20-nav button:hover,
.zp20-nav .zp20-nav__sub a:hover,
.zp20-nav__heading:hover{
  background:#f8fafc!important;
  color:#0f172a!important;
  transform:translateX(1px);
}
.zp20-nav a.is-active,
.zp20-nav button.is-active,
.zp20-nav .zp20-nav__sub a.is-active,
.zp20-nav__group .zp20-nav__sub a.is-active{
  background:linear-gradient(135deg,#ecfdf3,#f7fff9)!important;
  color:#087a2a!important;
  box-shadow:none!important;
}
/* Farbige Icon-Kacheln je Menüpunkt – Reihenfolge bleibt unverändert */
.zp20-nav__group:nth-of-type(1) .zp20-nav__sub a:nth-child(1)::before{content:"👥"!important;background:#f3e8ff!important;color:#7c3aed!important;}
.zp20-nav__group:nth-of-type(1) .zp20-nav__sub a:nth-child(2)::before{content:"🏢"!important;background:#dbeafe!important;color:#2563eb!important;}
.zp20-nav__group:nth-of-type(1) .zp20-nav__sub a:nth-child(3)::before{content:"◴"!important;background:#ccfbf1!important;color:#0f766e!important;}
.zp20-nav__group:nth-of-type(1) .zp20-nav__sub a:nth-child(4)::before{content:"⚒"!important;background:#ffedd5!important;color:#ea580c!important;}
.zp20-nav__group:nth-of-type(2) .zp20-nav__sub a:nth-child(1)::before{content:"☑"!important;background:#dcfce7!important;color:#16a34a!important;}
.zp20-nav__group:nth-of-type(2) .zp20-nav__sub a:nth-child(2)::before{content:"↗"!important;background:#fef3c7!important;color:#d97706!important;}
.zp20-nav__group:nth-of-type(2) .zp20-nav__sub a:nth-child(3)::before{content:"↺"!important;background:#f3e8ff!important;color:#7c3aed!important;}
.zp20-nav__group:nth-of-type(2) .zp20-nav__sub a:nth-child(4)::before{content:"▯"!important;background:#dbeafe!important;color:#2563eb!important;}
.zp20-nav__group:nth-of-type(3) .zp20-nav__sub a:nth-child(1)::before{content:"👥"!important;background:#dbeafe!important;color:#2563eb!important;}
.zp20-nav__group:nth-of-type(3) .zp20-nav__sub a:nth-child(2)::before{content:"▣"!important;background:#fce7f3!important;color:#db2777!important;}
.zp20-nav__group:nth-of-type(3) .zp20-nav__sub a:nth-child(3)::before{content:"☷"!important;background:#f1f5f9!important;color:#64748b!important;}
.zp20-nav__group:nth-of-type(3) .zp20-nav__sub a:nth-child(4)::before{content:"⚙"!important;background:#f1f5f9!important;color:#64748b!important;}
.zp20-nav a.is-active::before,
.zp20-nav .zp20-nav__sub a.is-active::before{
  filter:saturate(1.08);
  box-shadow:none!important;
}
.zp20-nav::after{
  content:"Grashaus v2.4.4"!important;
  color:#94a3b8!important;
  font-size:12px!important;
}
@media (max-width:900px){
  .zp20-nav{padding:14px!important;border-right:0!important;border-bottom:1px solid #dbe5ef!important;box-shadow:none!important;}
  .zp20-nav::after{display:none!important;}
  .zp20-nav .zp20-nav__sub a,
  .zp20-nav__item[data-zp20-tab="extras"],
  .zp20-nav__item[data-zp20-tab="dashboard"]{min-height:48px!important;}
}
