/* ED 0.3.70 — user-selectable navigation. Sidebar is the default. */
:root{--ed-sidebar-width:240px;--ed-topnav-height:64px}

.ed-nav-switch-wrap{display:flex;align-items:center;gap:6px;color:#a9cbc4;font-size:10px;line-height:1;min-width:0}
.ed-nav-switch-wrap>span{white-space:nowrap}
.ed-nav-switch{width:38px;height:22px;flex:0 0 38px;border:1px solid #5a8b81;border-radius:999px;padding:2px;background:#285c54;position:relative;cursor:pointer;box-shadow:none}
.ed-nav-switch-knob{display:block;width:16px;height:16px;border-radius:50%;background:#fff;transform:translateX(0);transition:transform .16s ease}
.ed-nav-switch[aria-checked="true"]{background:#2b9a7b;border-color:#55b79d}
.ed-nav-switch[aria-checked="true"] .ed-nav-switch-knob{transform:translateX(16px)}
.ed-nav-switch:focus-visible{outline:2px solid #8de1c8!important;outline-offset:2px}
.ed-nav-switch-wrap [data-ed-nav-save-state]{display:none;white-space:nowrap;color:#ffd98a}
.ed-nav-switch-wrap [data-ed-nav-save-state]:not(:empty){display:inline}

/* Default: fixed full-height sidebar. */
body.ed-nav-sidebar.ed-klm-layout .app-shell{display:block!important;padding-top:0!important;min-height:100dvh!important}
body.ed-nav-sidebar.ed-klm-layout .sidebar{
  position:fixed!important;inset:0 auto 0 0!important;left:0!important;top:0!important;bottom:0!important;
  width:var(--ed-sidebar-width)!important;height:100dvh!important;min-height:100dvh!important;max-height:100dvh!important;
  display:flex!important;flex-direction:column!important;align-items:stretch!important;flex-wrap:nowrap!important;
  gap:0!important;padding:18px 14px!important;overflow-y:auto!important;overflow-x:hidden!important;
  box-sizing:border-box!important;z-index:120!important;box-shadow:2px 0 12px #123b3620!important;
}
body.ed-nav-sidebar.ed-klm-layout .sidebar .brand{display:flex!important;flex-direction:row!important;align-items:center!important;min-width:0!important;margin:0!important;padding:0 8px 18px!important;gap:10px!important;flex:0 0 auto}
body.ed-nav-sidebar.ed-klm-layout .sidebar .brand>div:last-child{display:flex!important;flex-direction:column!important}
body.ed-nav-sidebar.ed-klm-layout .sidebar nav{display:flex!important;flex-direction:column!important;align-items:stretch!important;flex-wrap:nowrap!important;gap:4px!important;flex:0 0 auto!important;margin:0!important;overflow:visible!important}
body.ed-nav-sidebar.ed-klm-layout .sidebar nav a{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:12px!important;padding:11px 12px!important;font-size:14px!important;white-space:nowrap!important;border-radius:10px!important}
body.ed-nav-sidebar.ed-klm-layout .sidebar nav span{display:inline!important}
body.ed-nav-sidebar.ed-klm-layout .sidebar-bottom{display:flex!important;flex-direction:column!important;align-items:stretch!important;flex-wrap:nowrap!important;gap:10px!important;margin-top:auto!important;padding-top:14px!important;flex:0 0 auto!important}
body.ed-nav-sidebar.ed-klm-layout .sidebar-bottom .ed-nav-switch-wrap{justify-content:center;padding:7px 3px 10px;border-bottom:1px solid rgba(255,255,255,.12)}
body.ed-nav-sidebar.ed-klm-layout .sidebar-bottom .zsoft-partner-mark{display:block!important;width:100%!important;margin:0!important;padding:0 6px 10px!important;border:0!important;border-bottom:1px solid rgba(255,255,255,.12)!important;font-size:11px!important}
body.ed-nav-sidebar.ed-klm-layout .sidebar .user-chip{display:flex!important;align-items:center!important;margin:0!important;gap:9px!important;padding:2px 4px!important}
body.ed-nav-sidebar.ed-klm-layout .sidebar .user-chip div{display:flex!important;flex-direction:column!important}
body.ed-nav-sidebar.ed-klm-layout .sidebar .user-chip .avatar{width:30px!important;height:30px!important;font-size:11px!important}
body.ed-nav-sidebar.ed-klm-layout .sidebar-bottom form{width:100%}
body.ed-nav-sidebar.ed-klm-layout .sidebar-bottom button.ghost{width:100%!important}
body.ed-nav-sidebar.ed-klm-layout .main{margin-left:var(--ed-sidebar-width)!important;width:calc(100% - var(--ed-sidebar-width))!important;max-width:none!important;min-width:0!important}
body.ed-nav-sidebar.ed-klm-layout .topbar{position:sticky!important;top:0!important;z-index:110!important;min-height:62px!important;background:#fff!important}
body.ed-nav-sidebar.ed-ui365 :is([id],input,button,select,summary,a){scroll-margin-top:78px}
body.ed-nav-sidebar.ed-klm-layout .mobile-menu{display:none!important}

/* Alternative: current horizontal menu fixed to the top. */
body.ed-nav-top.ed-klm-layout .app-shell{display:block!important;padding-top:var(--ed-topnav-height)!important;min-height:100vh!important}
body.ed-nav-top.ed-klm-layout .sidebar{
  position:fixed!important;inset:0 0 auto 0!important;left:0!important;top:0!important;bottom:auto!important;
  width:100%!important;height:var(--ed-topnav-height)!important;min-height:var(--ed-topnav-height)!important;max-height:var(--ed-topnav-height)!important;
  display:flex!important;flex-direction:row!important;align-items:center!important;flex-wrap:nowrap!important;
  gap:10px!important;padding:8px 14px!important;overflow:hidden!important;box-sizing:border-box!important;
  z-index:120!important;box-shadow:0 2px 10px #123b3622!important;
}
body.ed-nav-top.ed-klm-layout .sidebar .brand{display:flex!important;flex-direction:row!important;align-items:center!important;min-width:142px!important;margin:0!important;padding:0!important;gap:8px!important;flex:0 0 auto!important}
body.ed-nav-top.ed-klm-layout .sidebar .brand>div:last-child{display:flex!important;flex-direction:column!important}
body.ed-nav-top.ed-klm-layout .sidebar nav{display:flex!important;flex-direction:row!important;align-items:center!important;flex-wrap:nowrap!important;gap:2px!important;flex:1 1 auto!important;min-width:0!important;margin:0!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:thin}
body.ed-nav-top.ed-klm-layout .sidebar nav a{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:5px!important;padding:8px 9px!important;font-size:11px!important;white-space:nowrap!important;flex:0 0 auto!important}
body.ed-nav-top.ed-klm-layout .sidebar nav span{display:inline!important}
body.ed-nav-top.ed-klm-layout .sidebar-bottom{display:flex!important;flex-direction:row!important;align-items:center!important;flex-wrap:nowrap!important;gap:8px!important;margin:0!important;padding:0!important;flex:0 0 auto!important;white-space:nowrap!important}
body.ed-nav-top.ed-klm-layout .sidebar-bottom .ed-nav-switch-wrap{padding:0!important;border:0!important}
body.ed-nav-top.ed-klm-layout .sidebar-bottom .zsoft-partner-mark{width:auto!important;margin:0!important;padding:0!important;border:0!important;font-size:10px!important}
body.ed-nav-top.ed-klm-layout .sidebar .user-chip{display:flex!important;margin:0!important;gap:5px!important;padding:0!important}
body.ed-nav-top.ed-klm-layout .sidebar .user-chip div{display:block!important}
body.ed-nav-top.ed-klm-layout .sidebar .user-chip .avatar{width:25px!important;height:25px!important;font-size:10px!important}
body.ed-nav-top.ed-klm-layout .sidebar-bottom form{width:auto!important}
body.ed-nav-top.ed-klm-layout .sidebar-bottom button.ghost{width:auto!important;padding:7px 9px!important;font-size:10px!important}
body.ed-nav-top.ed-klm-layout .main{margin:0!important;width:100%!important;max-width:100%!important;min-width:0!important}
body.ed-nav-top.ed-klm-layout .topbar{position:sticky!important;top:var(--ed-topnav-height)!important;z-index:110!important;background:#fff!important}
body.ed-nav-top.ed-ui365 :is([id],input,button,select,summary,a){scroll-margin-top:calc(var(--ed-topnav-height) + 74px)}
body.ed-nav-top.ed-klm-layout .mobile-menu{display:none!important}

/* Documents v0.3.70: only Open/Delete, always side by side. */
body.ed-ui365 table.documents-table .ui365-doc-actions-heading,
body.ed-ui365 table.documents-table .ui365-doc-actions-cell{width:130px!important;min-width:130px!important}
body.ed-ui365 .ed-doc-actions{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:center!important;gap:6px!important;white-space:nowrap!important}
body.ed-ui365 .ed-doc-actions .small-btn{flex:0 0 auto!important;min-width:54px!important}

@media(max-width:1000px) and (min-width:701px){
  :root{--ed-sidebar-width:210px}
  body.ed-nav-sidebar.ed-klm-layout .sidebar{padding:14px 10px!important}
  body.ed-nav-sidebar.ed-klm-layout .sidebar nav a{font-size:13px!important;padding:10px!important}
  body.ed-nav-top.ed-klm-layout .sidebar .brand{min-width:118px!important}
  body.ed-nav-top.ed-klm-layout .sidebar nav a{font-size:10px!important;padding:8px 6px!important}
  body.ed-nav-top.ed-klm-layout .sidebar-bottom .zsoft-partner-mark{display:none!important}
  body.ed-nav-top.ed-klm-layout .ed-nav-switch-wrap>span{display:none}
}

@media(max-width:700px){
  body.ed-nav-sidebar.ed-klm-layout .app-shell{padding-top:0!important}
  body.ed-nav-sidebar.ed-klm-layout .sidebar{left:-250px!important;width:240px!important;transition:left .2s ease!important;z-index:150!important}
  body.ed-nav-sidebar.ed-klm-layout .sidebar.open{left:0!important}
  body.ed-nav-sidebar.ed-klm-layout .main{margin-left:0!important;width:100%!important}
  body.ed-nav-sidebar.ed-klm-layout .mobile-menu{display:inline-flex!important}
  body.ed-nav-top.ed-klm-layout .sidebar{height:58px!important;min-height:58px!important;max-height:58px!important;padding:7px 9px!important}
  body.ed-nav-top.ed-klm-layout .app-shell{padding-top:58px!important}
  body.ed-nav-top.ed-klm-layout .topbar{top:58px!important}
  body.ed-nav-top.ed-klm-layout .sidebar .brand{min-width:44px!important}
  body.ed-nav-top.ed-klm-layout .sidebar .brand>div:last-child{display:none!important}
  body.ed-nav-top.ed-klm-layout .sidebar nav a{font-size:0!important;padding:8px!important}
  body.ed-nav-top.ed-klm-layout .sidebar nav a>span{display:none!important}
  body.ed-nav-top.ed-klm-layout .sidebar-bottom .zsoft-partner-mark,
  body.ed-nav-top.ed-klm-layout .sidebar-bottom .user-chip{display:none!important}
  body.ed-nav-top.ed-klm-layout .ed-nav-switch-wrap>span{display:none!important}
  body.ed-nav-top.ed-klm-layout .sidebar-bottom button.ghost{display:none!important}
  body.ed-ui365 table.documents-table .ui365-doc-actions-heading,
  body.ed-ui365 table.documents-table .ui365-doc-actions-cell{width:126px!important;min-width:126px!important}
}

/* 0.3.80.111: keep slider thumb centered and fully inside the track. */
.ed-nav-switch{position:relative!important;width:38px!important;height:22px!important;min-width:38px!important;flex:0 0 38px!important;padding:0!important;box-sizing:border-box!important;overflow:hidden!important;}
.ed-nav-switch-knob{position:absolute!important;top:50%!important;left:2px!important;width:16px!important;height:16px!important;box-sizing:border-box!important;transform:translateY(-50%)!important;transition:left .16s ease!important;}
.ed-nav-switch[aria-checked="true"] .ed-nav-switch-knob{left:calc(100% - 18px)!important;transform:translateY(-50%)!important;}
