/* HesaPlus — Sol menu tasarim sistemi, 23 Kasim 2026.
   Kokpit benzeri hiyerarsi; mevcut HesaPlus mavi palet ve dark mode korunur.
   html.dark paletini ve eski modul formlarini degistirmez. */
:root { --hp-nav-accent:#3ba1e8; --hp-nav-accent-strong:#1c87c1;
  --hp-nav-bg:#fff;--hp-nav-text:#394c60;--hp-nav-muted:#8393a2;
  --hp-nav-border:#e7ecf2;--hp-nav-hover:#f1f7fc;--hp-nav-active:#eaf4fd;
  --hp-nav-header:#fff; --hp-nav-content:#f7f9fc;
  --hp-nav-width:252px;--hp-nav-mini:78px;--hp-nav-top:64px;
}
html.dark { --hp-nav-bg:#202327;--hp-nav-text:#d2dce5;--hp-nav-muted:#9eaab5;
  --hp-nav-border:#343b43;--hp-nav-hover:#303a45;--hp-nav-active:#243f52;
  --hp-nav-header:#202226;--hp-nav-content:#181a1d;--hp-nav-accent:#61b6ee;--hp-nav-accent-strong:#8acaf1;
}
/* Head is a single quiet toolbar, same on desktop and phone. */
html .hp-shell-enabled .hp-shell-header { position:fixed!important; height:var(--hp-nav-top)!important;
  inset:0 0 auto 0!important; z-index:1051!important; width:100%!important;
  background:var(--hp-nav-header)!important; border-bottom:1px solid var(--hp-nav-border)!important;
  box-shadow:0 1px 9px rgba(25,49,69,.035)!important; margin:0!important;
  display:flex!important;align-items:center!important;justify-content:space-between!important;
}
html .hp-shell-enabled .hp-shell-header .hp-shell-brand { position:static!important; flex:1 1 auto;
  display:flex!important;align-items:center!important; gap:11px; min-width:0!important;
  float:none!important;margin:0!important;padding:0 16px 0 18px!important;
  width:auto!important;height:100%!important;border:0!important;background:transparent!important;
}
.hp-sidebar-toggle { flex:0 0 35px;display:inline-flex;justify-content:center;align-items:center;
  border:1px solid transparent;border-radius:9px;background:transparent;color:var(--hp-nav-text);
  width:35px;height:35px;cursor:pointer; padding:0; font-size:15px;transition:background .15s,border-color .15s;
}
.hp-sidebar-toggle:hover,.hp-sidebar-toggle:focus-visible {background:var(--hp-nav-hover);border-color:var(--hp-nav-border);outline:0}
html .hp-shell-enabled .hp-shell-header .hp-shell-logo { display:inline-flex!important; align-items:center!important;
  gap:8px; flex:0 0 auto; float:none!important; padding:0!important;margin:0!important; max-width:none!important;
  color:var(--hp-nav-text)!important; font-weight:800; text-decoration:none!important;line-height:1.2;
}
.hp-shell-logo img { width:34px;height:34px;object-fit:contain; }
.hp-shell-brand-name { font-size:18px;letter-spacing:-.6px;white-space:nowrap; }
.hp-shell-page-title { margin-left:14px;border-left:1px solid var(--hp-nav-border);padding-left:16px;
  overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--hp-nav-muted);font-size:13px;font-weight:600;min-width:0;
}
html .hp-shell-enabled .hp-shell-header .header-right { flex:0 0 auto;display:flex!important;align-items:center!important;
  gap:4px;width:auto!important;height:100%!important;background:transparent!important;
  border:0!important;padding:0 18px 0 6px!important;margin:0!important;float:none!important;min-width:0;
}
html .hp-shell-enabled .hp-shell-header .notifications { display:inline-flex!important;gap:3px!important;
  align-items:center!important;float:none!important;margin:0 5px 0 0!important;
}
html .hp-shell-enabled .hp-shell-header .notifications>li { display:flex!important;align-items:center!important;
  float:none!important;margin:0!important; padding:0!important;
}
html .hp-shell-enabled .hp-shell-header .notifications>li .notification-icon { width:34px!important;height:34px!important;
  min-width:34px!important;border-radius:8px!important;font-size:15px!important;color:var(--hp-nav-text)!important;
}
html .hp-shell-enabled .hp-shell-header #userbox {float:none!important;margin:0!important;
  padding-left:10px!important;border-left:1px solid var(--hp-nav-border); width:auto!important;min-width:0!important;
}
html .hp-shell-enabled .hp-shell-header #userbox>a {display:flex!important;align-items:center!important;min-height:37px!important;}
html .hp-shell-enabled .hp-shell-header #userbox .profile-info {max-width:135px;}
html .hp-shell-enabled .hp-shell-header #userbox .profile-info span {overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:125px;}
/* Private navigator. No Bootstrap/sidebar-left assumptions. */
.hp-app-sidebar { position:fixed!important;left:0;top:var(--hp-nav-top);bottom:0;
  width:var(--hp-nav-width);max-width:calc(100vw - 48px);display:flex;flex-direction:column;
  background:var(--hp-nav-bg);border-right:1px solid var(--hp-nav-border);z-index:1040;
  box-shadow:5px 0 18px rgba(25,45,65,.028);transition:width .2s ease,transform .22s ease;
  color:var(--hp-nav-text);overflow:hidden;box-sizing:border-box;
}
.hp-sidebar-head {display:flex;align-items:center;justify-content:space-between;min-height:47px;
  padding:14px 18px 4px 20px;flex:0 0 auto;}
.hp-sidebar-kicker {display:flex;align-items:center;gap:8px;color:var(--hp-nav-muted);
  font-weight:800;font-size:10px;letter-spacing:1.35px;white-space:nowrap;}
.hp-sidebar-dot {background:var(--hp-nav-accent-strong);width:7px;height:7px;border-radius:99px;box-shadow:0 0 0 3px rgba(39,142,208,.1)}
.hp-sidebar-close {display:none;align-items:center;justify-content:center;border:0;background:transparent;
  border-radius:8px;width:32px;height:32px;color:var(--hp-nav-text);cursor:pointer;}
/* Kokpit-style identity card in place of quick-sale and search controls. */
.hp-sidebar-account {position:relative;z-index:2;flex:0 0 auto;margin:12px 13px 15px;}
.hp-sidebar-account-trigger {display:flex;align-items:center;width:100%;min-width:0;gap:10px;
  min-height:62px;padding:10px;background:var(--hp-nav-hover);border:1px solid var(--hp-nav-border);
  border-radius:12px;cursor:pointer;color:var(--hp-nav-text);text-align:left;
  transition:background .15s,border-color .15s;}
.hp-sidebar-account-trigger:hover,.hp-sidebar-account-trigger:focus-visible,
.hp-sidebar-account-trigger[aria-expanded="true"] {background:var(--hp-nav-active);border-color:var(--hp-nav-accent);outline:0;}
.hp-sidebar-account-trigger:focus-visible {box-shadow:0 0 0 2px rgba(39,142,208,.18);}
.hp-sidebar-account-avatar {display:block;flex:0 0 38px;width:38px;height:38px;border-radius:11px;
  object-fit:cover;border:1px solid var(--hp-nav-border);background:var(--hp-nav-bg);}
.hp-sidebar-account-info {display:block;flex:1;min-width:0;line-height:1.32;}
.hp-sidebar-account-info strong {display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;
  white-space:nowrap;font-size:12.5px;font-weight:800;color:var(--hp-nav-text);}
.hp-sidebar-account-info small {display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;
  white-space:nowrap;font-size:10.5px;font-weight:500;color:var(--hp-nav-muted);margin-top:3px;}
.hp-sidebar-account-chevron {flex:0 0 auto;color:var(--hp-nav-muted);font-size:10px;
  transition:transform .18s ease;}
.hp-sidebar-account-trigger[aria-expanded="true"] .hp-sidebar-account-chevron {transform:rotate(180deg);}
.hp-sidebar-account-menu {position:absolute;top:calc(100% + 6px);left:0;right:0;
  display:flex;flex-direction:column;gap:2px;padding:7px;max-height:min(65vh,400px);
  overflow-y:auto;overscroll-behavior:contain;z-index:4;
  background:var(--hp-nav-bg);border:1px solid var(--hp-nav-border);border-radius:12px;
  box-shadow:0 12px 26px rgba(10,33,55,.18);}
.hp-sidebar-account-menu[hidden] {display:none!important;}
.hp-sidebar-account-menu a {display:flex;align-items:center;gap:11px;padding:8px 10px;box-sizing:border-box;line-height:1.3;
  min-height:41px;border-radius:8px;text-decoration:none!important;white-space:nowrap;
  color:var(--hp-nav-text)!important;font-size:12px;font-weight:600;}
.hp-sidebar-account-menu a:hover,.hp-sidebar-account-menu a:focus-visible {
  background:var(--hp-nav-hover)!important;color:var(--hp-nav-accent-strong)!important;outline:0;}
.hp-sidebar-account-menu a i {display:inline-flex;flex:0 0 18px;align-items:center;
  justify-content:center;color:var(--hp-nav-muted);font-size:13px;}
.hp-sidebar-account-divider {display:block;height:1px;flex:0 0 1px;background:var(--hp-nav-border);margin:4px 5px;}
.hp-sidebar-account-signout {color:var(--hp-nav-accent-strong)!important;}
.hp-sidebar-scroll { flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;
  overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:0 10px 20px;scrollbar-width:thin;
  scrollbar-color:var(--hp-nav-border) transparent;}
.hp-menu-group {padding:10px 0 9px;}
.hp-menu-group[hidden],.hp-menu-list>li[hidden],.hp-menu-link[hidden] {display:none!important;}
.hp-menu-group-title { color:var(--hp-nav-muted)!important;font-size:10px!important;line-height:19px!important;
  font-weight:800!important;letter-spacing:1.25px!important; padding:0 12px!important;
  margin:0 0 6px!important;white-space:nowrap;
}
.hp-menu-list {list-style:none;padding:0;margin:0;}
.hp-menu-list>li {display:block;margin:1px 0;}
.hp-menu-link {position:relative;display:flex;align-items:center;gap:11px;min-height:38px;
  padding:8px 10px;margin:0;border-radius:9px;color:var(--hp-nav-text)!important;
  font-size:12.5px;font-weight:600;line-height:1.4;white-space:nowrap;
  text-decoration:none!important;transition:background .16s,color .16s;
}
.hp-menu-link:hover,.hp-menu-link:focus-visible {background:var(--hp-nav-hover);color:var(--hp-nav-accent-strong)!important;outline:none;}
.hp-menu-link.is-active {background:var(--hp-nav-active)!important;color:var(--hp-nav-accent-strong)!important;font-weight:800;}
.hp-menu-icon {display:inline-flex;align-items:center;justify-content:center;flex:0 0 20px;
  width:20px;height:21px;color:var(--hp-nav-muted);font-size:15px;}
.hp-menu-link:hover .hp-menu-icon,.hp-menu-link.is-active .hp-menu-icon {color:var(--hp-nav-accent-strong);}
.hp-menu-label {overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;flex:1;}
.hp-menu-active-mark {position:absolute;right:3px;top:10px;bottom:10px;width:3px;border-radius:5px;
  background:var(--hp-nav-accent-strong);}
/* Work surface starts after the sidebar, without affecting module internal tables. */
html .hp-shell-enabled .hp-app-workspace { display:block!important; padding-top:var(--hp-nav-top)!important;
  margin-left:0!important;margin-right:0!important;
  min-height:100vh;overflow:visible!important;width:100%!important;background:var(--hp-nav-content);
}
html .hp-shell-enabled .hp-app-workspace>.content-body { display:block!important;
  margin:0 0 0 var(--hp-nav-width)!important;width:auto!important;max-width:none!important;
  padding:18px 24px 38px!important;min-height:calc(100vh - var(--hp-nav-top))!important;
  background:var(--hp-nav-content)!important;transition:margin-left .2s ease;box-sizing:border-box;
}
html .hp-shell-enabled .hp-app-workspace>.content-body>.page-header { position:static!important;
  top:auto!important;left:auto!important;right:auto!important;display:flex;align-items:center;
  min-height:48px;height:auto!important;margin:0 0 19px!important;padding:10px 15px!important;
  border:1px solid var(--hp-nav-border)!important;border-radius:10px!important;
  background:var(--hp-nav-bg)!important;box-shadow:none!important;overflow:hidden;
}
html .hp-shell-enabled .hp-app-workspace>.content-body>.page-header .breadcrumbs li a,
html .hp-shell-enabled .hp-app-workspace>.content-body>.page-header .breadcrumbs li span {color:var(--hp-nav-text)!important;}
html .hp-shell-enabled .hp-app-workspace>.content-body>.page-header .breadcrumbs li:last-child span {font-weight:700;}
html .hp-shell-enabled .hp-app-workspace>.content-body>.page-header .sidebar-right-toggle {color:var(--hp-nav-text)!important;}
html.hp-sidebar-collapsed .hp-app-sidebar {width:var(--hp-nav-mini);}
html.hp-sidebar-collapsed .hp-shell-enabled .hp-app-workspace>.content-body {margin-left:var(--hp-nav-mini)!important;}
html.hp-sidebar-collapsed .hp-app-sidebar .hp-sidebar-kicker,
html.hp-sidebar-collapsed .hp-app-sidebar .hp-menu-group-title,
html.hp-sidebar-collapsed .hp-app-sidebar .hp-menu-label,
html.hp-sidebar-collapsed .hp-app-sidebar .hp-menu-active-mark {display:none!important;}
html.hp-sidebar-collapsed .hp-app-sidebar {overflow:visible;}
html.hp-sidebar-collapsed .hp-app-sidebar .hp-sidebar-account {margin:8px 10px 13px;}
html.hp-sidebar-collapsed .hp-app-sidebar .hp-sidebar-account-trigger {justify-content:center;padding:8px 0;min-height:50px;}
html.hp-sidebar-collapsed .hp-app-sidebar .hp-sidebar-account-info,
html.hp-sidebar-collapsed .hp-app-sidebar .hp-sidebar-account-chevron {display:none;}
html.hp-sidebar-collapsed .hp-app-sidebar .hp-sidebar-account-menu {
  position:fixed;top:calc(var(--hp-nav-top) + 74px);left:calc(var(--hp-nav-mini) - 5px);
  right:auto;width:234px;max-height:calc(100vh - var(--hp-nav-top) - 90px);}
html.hp-sidebar-collapsed .hp-app-sidebar .hp-sidebar-head {padding:0;min-height:15px;}
html.hp-sidebar-collapsed .hp-app-sidebar .hp-sidebar-scroll {padding:0 10px 18px;}
html.hp-sidebar-collapsed .hp-app-sidebar .hp-menu-group {padding:8px 0;border-bottom:1px solid var(--hp-nav-border);}
html.hp-sidebar-collapsed .hp-app-sidebar .hp-menu-link {justify-content:center;min-height:43px;padding:8px 0;}
html.hp-sidebar-collapsed .hp-app-sidebar .hp-menu-icon {font-size:17px;}
.hp-nav-overlay {position:fixed;inset:var(--hp-nav-top) 0 0;background:rgba(16,29,44,.46);
  z-index:1039;backdrop-filter:blur(2px);}
.hp-nav-overlay[hidden] {display:none!important;}
@media (max-width:1199px) { .hp-shell-page-title {display:none;} }
@media (max-width:991px) {
  html .hp-shell-enabled .hp-shell-header .hp-shell-brand {padding:0 9px 0 12px!important;gap:7px;}
  html .hp-shell-enabled .hp-shell-header .header-right {padding:0 10px 0 0!important;gap:0;}
  html .hp-shell-enabled .hp-shell-header .notifications {gap:0!important;margin:0 3px 0 0!important;}
  .hp-app-sidebar,html.hp-sidebar-collapsed .hp-app-sidebar {width:272px;max-width:calc(100vw - 44px);
    transform:translateX(-110%); box-shadow:7px 0 26px rgba(0,0,0,.13);}
  html.hp-nav-open .hp-app-sidebar {transform:translateX(0)!important;}
  html .hp-shell-enabled .hp-app-workspace>.content-body,
  html.hp-sidebar-collapsed .hp-shell-enabled .hp-app-workspace>.content-body {
    margin-left:0!important; padding:14px 14px 28px!important; width:100%!important;min-width:0!important;
  }
  html.hp-sidebar-collapsed .hp-app-sidebar .hp-sidebar-kicker,
  html.hp-sidebar-collapsed .hp-app-sidebar .hp-menu-group-title,
  html.hp-sidebar-collapsed .hp-app-sidebar .hp-menu-label,
  html.hp-sidebar-collapsed .hp-app-sidebar .hp-menu-active-mark {display:initial!important;}
  html.hp-sidebar-collapsed .hp-app-sidebar {overflow:hidden;}
  html.hp-sidebar-collapsed .hp-app-sidebar .hp-sidebar-account {margin:12px 13px 15px;}
  html.hp-sidebar-collapsed .hp-app-sidebar .hp-sidebar-account-trigger {justify-content:flex-start;padding:10px;min-height:62px;}
  html.hp-sidebar-collapsed .hp-app-sidebar .hp-sidebar-account-info {display:block;}
  html.hp-sidebar-collapsed .hp-app-sidebar .hp-sidebar-account-chevron {display:inline-block;}
  html.hp-sidebar-collapsed .hp-app-sidebar .hp-sidebar-account-menu {
    position:absolute;top:calc(100% + 6px);left:0;right:0;width:auto;
    max-height:min(65vh,400px);}
  html.hp-sidebar-collapsed .hp-app-sidebar .hp-sidebar-head {padding:14px 18px 4px 20px;min-height:47px;}
  html.hp-sidebar-collapsed .hp-app-sidebar .hp-sidebar-scroll {padding:0 10px 20px;}
  html.hp-sidebar-collapsed .hp-app-sidebar .hp-menu-group {padding:10px 0 9px;border-bottom:0;}
  html.hp-sidebar-collapsed .hp-app-sidebar .hp-menu-link {justify-content:initial;min-height:38px;padding:8px 10px;}
  html.hp-sidebar-collapsed .hp-app-sidebar .hp-menu-icon {font-size:15px;}
  .hp-sidebar-close {display:inline-flex;}
  html.hp-nav-open body {overflow:hidden!important;}
  html .hp-shell-enabled .hp-app-workspace>.content-body>.page-header {min-height:44px;margin:0 0 14px!important;padding:9px!important;}
}
@media (max-width:520px) {
  .hp-shell-brand-name {font-size:16px;}
  .hp-shell-logo img {width:27px;height:27px;}
  html .hp-shell-enabled .hp-shell-header .hp-shell-brand {gap:3px;padding-left:7px!important;}
  html .hp-shell-enabled .hp-shell-header .header-right {padding-right:6px!important;}
  html .hp-shell-enabled .hp-shell-header .notifications>li .notification-icon {width:28px!important;min-width:28px!important;height:31px!important;}
  html .hp-shell-enabled .hp-shell-header #userbox {padding-left:5px!important;}
  html .hp-shell-enabled .hp-shell-header #userbox .profile-info,
  html .hp-shell-enabled .hp-shell-header #userbox .custom-caret {display:none!important;}
  html .hp-shell-enabled .hp-shell-header #userbox .profile-picture {margin:0!important;}
  html .hp-shell-enabled .hp-app-workspace>.content-body {padding:10px 10px 25px!important;}
}
@media (prefers-reduced-motion:reduce) {
 .hp-app-sidebar,.hp-menu-link,.hp-sidebar-account-trigger,.hp-shell-enabled .content-body {transition:none!important;}
}

/* The module body rows need Bootstrap's outer gutters to fill the original
   content width. The shell's 14px/10px mobile padding already protects the
   viewport, so match the negative row margin to that padding. Apply only to
   direct page rows; nested form rows, tables and modal grids stay unchanged. */
@media (max-width:991px) {
  html .hp-shell-enabled .hp-app-workspace>.content-body>.row {
    margin-left:-14px!important;
    margin-right:-14px!important;
  }
}
@media (max-width:520px) {
  html .hp-shell-enabled .hp-app-workspace>.content-body>.row {
    margin-left:-10px!important;
    margin-right:-10px!important;
  }
}

/* A single, reliable user menu lives in the sidebar on desktop and mobile. */
html .hp-shell-enabled .hp-shell-header #userbox,
html .hp-shell-enabled .hp-shell-header .header-right > .separator {display:none!important;}

/* Breadcrumb: keep Quick Access aligned with page title on every viewport. */
html .hp-shell-enabled .hp-app-workspace > .content-body > .page-header.hp-mobile-breadcrumb {
    display:flex!important;align-items:center!important;justify-content:space-between!important;
}
html .hp-shell-enabled .hp-app-workspace > .content-body > .page-header.hp-mobile-breadcrumb .hp-breadcrumb-trail {
    min-width:0!important;flex:1 1 auto!important;
}
html .hp-shell-enabled .hp-app-workspace > .content-body > .page-header.hp-mobile-breadcrumb .hp-breadcrumb-actions {
    display:flex!important;align-items:center!important;justify-content:flex-end!important;
    margin-left:auto!important;float:none!important;flex:0 0 auto!important;
    align-self:center!important;position:static!important;min-height:38px!important;
}
html .hp-shell-enabled .hp-app-workspace > .content-body > .page-header.hp-mobile-breadcrumb .hp-breadcrumb-actions .sidebar-right-toggle {
    position:static!important;top:auto!important;right:auto!important;bottom:auto!important;
    display:inline-flex!important;align-items:center!important;justify-content:center!important;
    align-self:center!important;flex:0 0 38px!important;width:38px!important;height:38px!important;
    padding:0!important;margin:0!important;transform:none!important;line-height:1!important;
}
html .hp-shell-enabled .hp-app-workspace > .content-body > .page-header.hp-mobile-breadcrumb .hp-breadcrumb-actions .sidebar-right-toggle i {
    position:static!important;display:block!important;font-size:16px!important;line-height:1!important;
    margin:0!important;vertical-align:middle!important;
}


/* 23.11.2026 — Header utility dropdowns: legacy theme.css on phones forces
   translate3d(-50%,96px) and top:auto, leaving a large blank gap. Scope the
   fix to the new app shell; don't change form or module dropdowns. */
html .hp-shell-enabled .hp-shell-header .header-right > .notifications > li {
  position: relative !important;
}
html .hp-shell-enabled .hp-shell-header .header-right > .notifications > li > .notification-menu {
  position: absolute !important;
  top: calc(100% + 18px) !important;
  right: -8px !important;
  left: auto !important;
  bottom: auto !important;
  margin: 0 !important;
  transform: none !important;
  -webkit-transform: none !important;
  will-change: auto !important;
  width: 325px !important;
  max-width: calc(100vw - 24px) !important;
  max-height: calc(100dvh - var(--hp-nav-top) - 16px);
  overflow-y: auto;
  overscroll-behavior: contain;
  box-sizing: border-box;
}
/* Touch layout: all three dropdowns open immediately below the fixed header;
   a consistent right edge prevents clipping on 320px-wide phones. */
@media (max-width: 991px) {
  html .hp-shell-enabled .hp-shell-header .header-right > .notifications > li {
    position: static !important;
  }
  html .hp-shell-enabled .hp-shell-header .header-right > .notifications > li > .notification-menu,
  html .hp-shell-enabled .hp-shell-header .header-right > .notifications > li > #bell + .notification-menu {
    position: fixed !important;
    top: calc(var(--hp-nav-top) + 5px) !important;
    right: 12px !important;
    left: auto !important;
    bottom: auto !important;
    width: min(340px, calc(100vw - 24px)) !important;
    max-width: calc(100vw - 24px) !important;
    max-height: calc(100dvh - var(--hp-nav-top) - 18px);
    margin: 0 !important;
    transform: none !important;
    -webkit-transform: none !important;
  }
  html .hp-shell-enabled .hp-shell-header .notifications > li > .notification-menu::before,
  html .hp-shell-enabled .hp-shell-header .notifications > li > .notification-icon::before {
    display: none !important;
  }
}

@media (min-width: 992px) {
  /* Older custom.css gives the bell an ID-specific offset. Match the other tools. */
  html .hp-shell-enabled .hp-shell-header .header-right > .notifications > li > #bell + .notification-menu {
    position: absolute !important;
    top: calc(100% + 18px) !important;
    right: -8px !important;
    left: auto !important;
    transform: none !important;
    -webkit-transform: none !important;
    margin: 0 !important;
  }
}


/* Quick access: the legacy right panel started at viewport top (0).
   In our fixed-header shell that buried its "Kapat" bar underneath the
   64px application header. Give the panel its own visible below-header
   viewport and keep its scroll area inside that viewport on all devices. */
html .hp-shell-enabled #sidebar-right.sidebar-right {
  top:var(--hp-nav-top)!important;
  bottom:0!important;
  min-height:0!important;
  height:calc(100vh - var(--hp-nav-top))!important;
  height:calc(100dvh - var(--hp-nav-top))!important;
  z-index:1048!important; /* Above content/sidebars, below the fixed header */
  box-sizing:border-box;
}
html .hp-shell-enabled #sidebar-right .mobile-close.hp-quick-close {
  display:flex!important;
  flex:0 0 44px;
  height:44px;
  min-height:44px;
  padding:10px 20px!important;
  align-items:center;
  justify-content:flex-end;
  position:relative!important;
  z-index:2;
  box-sizing:border-box;
  color:#f2f2f2;
  opacity:1!important;
  visibility:visible!important;
  text-decoration:none;
}
html .hp-shell-enabled #sidebar-right .mobile-close.hp-quick-close:hover,
html .hp-shell-enabled #sidebar-right .mobile-close.hp-quick-close:focus-visible {
  background:#202020;
  color:#fff;
}
html .hp-shell-enabled #sidebar-right .nano {
  height:calc(100% - 44px)!important;
  min-height:0!important;
}

/* 23.11.2026 — Mobil: sidebar ac/kapat kontrollerine dokununca
   tarayici/tema odak cercevesi kalmasin. Sadece bu iki buton hedeflenir;
   diger formlarin ve modullerin focus stillerine dokunulmaz. */
html .hp-shell-enabled #hp-sidebar-toggle,
html .hp-shell-enabled #hp-sidebar-close {
  -webkit-tap-highlight-color: transparent;
}
html .hp-shell-enabled #hp-sidebar-toggle:focus,
html .hp-shell-enabled #hp-sidebar-toggle:focus-visible,
html .hp-shell-enabled #hp-sidebar-toggle:active,
html .hp-shell-enabled #hp-sidebar-close:focus,
html .hp-shell-enabled #hp-sidebar-close:focus-visible,
html .hp-shell-enabled #hp-sidebar-close:active {
  outline: none !important;
  box-shadow: none !important;
  border-color: transparent !important;
}
/* Klavye ile gezinen kullaniciya, cercevesiz hafif arka plan ipucu. */
html .hp-shell-enabled #hp-sidebar-toggle:focus-visible,
html .hp-shell-enabled #hp-sidebar-close:focus-visible {
  background-color: var(--hp-nav-hover) !important;
}


/* 23.11.2026 — Header dokunma alanlarini hafif buyut.
   Yalnizca uygulama kabugunun ust navigasyonu hedeflenir.
   Modul butonlari, dropdown konumlari ve sidebar yapisi degismez. */
html .hp-shell-enabled .hp-shell-header #hp-sidebar-toggle {
  flex: 0 0 39px;
  width: 39px;
  height: 39px;
  font-size: 16px;
}
html .hp-shell-enabled .hp-shell-header .header-right > .notifications > li > .notification-icon {
  width: 38px !important;
  min-width: 38px !important;
  height: 38px !important;
  font-size: 16px !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}
html .hp-shell-enabled .hp-shell-header .header-right > .notifications > li > .notification-icon > i {
  font-size: 16px !important;
}
/* Dar telefonlarda dort sag kontrol yatayda sigsin. */
@media (max-width: 520px) {
  html .hp-shell-enabled .hp-shell-header .header-right > .notifications > li > .notification-icon {
    width: 32px !important;
    min-width: 32px !important;
    height: 35px !important;
  }
}
