/* V18: independent scroll area and permanent bottom action */
body.dz-app .dz-shell{min-height:100dvh;align-items:start}
body.dz-app .dz-sidebar{height:100dvh;max-height:100dvh;min-height:0;box-sizing:border-box;display:flex;flex-direction:column;gap:8px;overflow:hidden;padding:14px 12px;isolation:isolate}
body.dz-app .dz-sidebar .dz-logo{flex:0 0 auto}
body.dz-app .dz-sidebar .dz-nav{flex:1 1 auto;min-height:0!important;height:auto!important;max-height:none;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:4px 0 12px;display:flex;flex-direction:column;gap:4px}
body.dz-app .dz-sidebar .dz-settings-fixed{flex:0 0 auto;border-top:1px solid #ffffff35;padding-top:8px;background:inherit;position:relative;z-index:1}
body.dz-app .dz-sidebar .dz-settings-fixed button{width:100%;text-align:left;display:block;border:0;border-radius:10px;padding:12px 14px;color:inherit;background:#ffffff15;cursor:pointer;font-size:14px;font-weight:700}
body.dz-app .dz-sidebar .dz-settings-fixed button.active{background:#e9f3eb;color:#254b3b}
body.dz-app .dz-sidebar .dz-sidebar-foot{flex:0 0 auto;margin:0;padding:6px 10px;font-size:11px;opacity:.9;overflow-wrap:anywhere}
body.dz-app .dz-nav #dz-report-open{width:100%;margin:0!important;text-align:left;border:0;background:transparent;color:inherit;border-radius:12px;padding:13px 15px}
body.dz-app .dz-nav #dz-report-open:hover{background:#ffffff15}
body.dz-app .dz-nav [data-page="admin"]{margin:0!important;border:0!important;padding:12px 14px!important}
/* Native modal top-layer fixes stacking, irrespective of sidebar/footer z-index. */
body dialog.dz-v18-dialog[open]{box-sizing:border-box;position:fixed;max-height:min(92dvh,950px);max-width:calc(100vw - 24px);overscroll-behavior:contain;z-index:2147483640!important}
body dialog.dz-v18-dialog::backdrop{background:rgba(13,29,23,.68)}
body dialog.dz-v18-dialog .dz-modal-head,body dialog.dz-v18-dialog .dz-settings-dialog-head{position:sticky;top:0;z-index:3;background:var(--dz-card,#fff)}
body dialog.dz-v18-dialog button{touch-action:manipulation}
body.dz-app #message:not(.hidden){z-index:2147483641;max-width:min(440px,calc(100vw - 24px))}
@media(max-width:720px){body.dz-app .dz-sidebar{height:100dvh;max-height:100dvh;padding-bottom:max(12px,env(safe-area-inset-bottom))}body dialog.dz-v18-dialog[open]{max-height:100dvh;max-width:100vw}body dialog.dz-v18-dialog .dz-modal-body,body dialog.dz-v18-dialog .dz-settings-dialog-body{padding-bottom:max(28px,env(safe-area-inset-bottom))}}
