/* Antaro V2 shell corrections */
:root{--antaro-topbar-h:68px;--antaro-footer-h:62px}
.topbar{direction:ltr}
.topbar-actions{direction:ltr;margin-left:auto;display:flex;align-items:center;gap:12px;flex-direction:row}
.topbar-user-copy{direction:rtl;text-align:right}
.search{direction:rtl;text-align:right}
.mobile-menu-btn,.mobile-nav-head,.mobile-menu-backdrop{display:none}

.sidebar,.sidebar .nav,.sidebar .nav-btn,.mobile-nav-head,.topbar-user-copy,.search{font-family:Arial,"Noto Sans Hebrew",sans-serif!important;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
.sidebar .nav-btn{font-weight:700!important;letter-spacing:0!important;line-height:1.25!important}.sidebar .nav-btn span{font-family:inherit!important;font-weight:700!important}

/* Desktop app frame: footer visible; main and sidebar have predictable scrolling */
html,body{height:100%;overflow:hidden}
.app-shell{height:100vh!important;min-height:100vh!important;overflow:hidden!important;display:flex!important;flex-direction:column!important}
.topbar{flex:0 0 var(--antaro-topbar-h)!important}
.workspace-shell{flex:1 1 auto!important;min-height:0!important;height:auto!important;max-height:none!important;overflow:hidden!important}
.main{min-height:0!important;height:100%!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior-y:auto!important;scroll-behavior:auto!important;-webkit-overflow-scrolling:touch}
.sidebar{top:auto!important;position:relative!important;height:100%!important;max-height:none!important;min-height:0!important;align-self:stretch!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior-y:auto!important;scrollbar-gutter:stable;padding-bottom:18px!important;-webkit-overflow-scrolling:touch}
.sidebar::-webkit-scrollbar{width:7px}.sidebar::-webkit-scrollbar-track{background:transparent}.sidebar::-webkit-scrollbar-thumb{background:#aebfc4;border-radius:999px}.sidebar::-webkit-scrollbar-thumb:hover{background:#8fa5ab}
.site-footer{flex:0 0 var(--antaro-footer-h)!important;min-height:var(--antaro-footer-h)!important;position:relative;z-index:70}

@media(min-width:681px){.topbar-actions{width:calc(100% - 520px);max-width:820px;justify-content:flex-end}.topbar-actions .search{flex:1;max-width:520px}}
@media(min-width:1100px){.topbar-actions .search{margin-right:42px}}

.metric-filter{appearance:none;width:100%;font:inherit;color:inherit;text-align:inherit;cursor:pointer;position:relative;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease;outline:none}.metric-filter:hover{transform:translateY(-2px);box-shadow:0 16px 34px rgba(31,79,91,.12)}.metric-filter:focus-visible{box-shadow:0 0 0 3px rgba(15,170,178,.22),0 12px 34px rgba(31,79,91,.08)}.metric-filter.active{transform:translateY(-2px);box-shadow:0 0 0 3px rgba(15,170,178,.20),0 18px 36px rgba(31,79,91,.14);border-color:#0faab2}.metric-filter.active::after{content:'מסנן פעיל';position:absolute;top:10px;left:12px;font-size:10px;font-weight:900;color:#0b8188;background:#e7f8f9;border-radius:999px;padding:4px 7px}.overview-panel-head>div{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}.overview-panel-head>div span{color:var(--muted);font-size:12px}.overview-show-all.hidden{visibility:hidden;pointer-events:none}

@media(max-width:680px){
  :root{--antaro-topbar-h:62px;--antaro-footer-h:0px}
  html,body{height:auto;min-height:100%;overflow:auto}.app-shell{height:auto!important;min-height:100vh!important;overflow:visible!important}body.menu-open{overflow:hidden}
  .topbar{height:62px;padding:0 14px;gap:10px;flex-basis:62px!important}.topbar-brand{min-width:0;flex:1}.topbar-brand-name{font-size:22px}.topbar-brand-mark{font-size:20px}.topbar-brand-tagline,.topbar-user-copy,.topbar-actions .search{display:none}.topbar-actions{margin-left:0;gap:8px;flex-direction:row}.user-badge{width:34px;height:34px;flex-basis:34px;font-size:12px}
  .mobile-menu-btn{display:flex;width:40px;height:40px;border:1px solid rgba(255,255,255,.24);background:rgba(255,255,255,.12);border-radius:10px;align-items:center;justify-content:center;flex-direction:column;gap:4px;padding:0;cursor:pointer}.mobile-menu-btn span{display:block;width:19px;height:2px;border-radius:2px;background:#fff;transition:.2s}.mobile-menu-btn.open span:nth-child(1){transform:translateY(6px) rotate(45deg)}.mobile-menu-btn.open span:nth-child(2){opacity:0}.mobile-menu-btn.open span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}
  .workspace-shell{display:block;position:relative;min-height:auto!important;overflow:visible!important}.main{height:auto!important;overflow:visible!important}.sidebar{display:block;position:fixed!important;top:62px!important;right:0;left:auto;width:min(320px,86vw)!important;height:calc(100vh - 62px)!important;max-height:calc(100vh - 62px)!important;padding:14px!important;background:#f8fbfc;border-left:1px solid var(--line)!important;border-bottom:0!important;z-index:85;transform:translateX(105%);transition:transform .22s ease;overflow-y:auto!important;box-shadow:-18px 0 45px rgba(13,66,76,.16)}.sidebar.open{transform:translateX(0)}
  .mobile-nav-head{display:flex;align-items:center;justify-content:space-between;padding:4px 4px 14px;border-bottom:1px solid var(--line);margin-bottom:10px;color:var(--ink)}.mobile-nav-head strong{font-size:18px}.mobile-menu-close{width:34px;height:34px;border:0;border-radius:9px;background:#eaf5f6;color:#2b5963;font-size:24px;line-height:1;cursor:pointer}.sidebar .nav{display:flex!important;flex-direction:column!important;min-width:0!important;gap:8px}.sidebar .nav-btn{width:100%;font-size:14px!important;min-height:44px!important;text-align:right!important;padding:11px 13px!important;white-space:normal!important;font-weight:700!important}
  .mobile-menu-backdrop{display:block;position:fixed;inset:62px 0 0 0;border:0;background:rgba(9,39,47,.30);backdrop-filter:blur(2px);z-index:80;opacity:0;pointer-events:none;transition:opacity .2s}.mobile-menu-backdrop.open{opacity:1;pointer-events:auto}.view{padding:16px}.site-footer{min-height:auto!important;flex:0 0 auto!important;padding:18px 16px;display:flex;flex-direction:column;gap:12px;text-align:center}.footer-brand{justify-self:auto}.footer-brand-tagline{display:none}.footer-copy{justify-self:auto}.footer-nav{display:none}.metric-filter.active::after{top:8px;left:8px}
}
