.ic-topbar { position: sticky; top: 0; z-index: 80; display: flex; align-items: center; justify-content: space-between; min-height: 76px; padding: 11px 30px; border-bottom: 1px solid var(--line); background: rgba(247, 248, 252, .94); backdrop-filter: blur(14px); transition: margin-left .25s ease, width .25s ease; }
.ic-brand { display: flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 850; text-decoration: none; }
.ic-brand-mark { display: grid; place-items: center; width: 45px; height: 45px; border-radius: 13px; background: linear-gradient(135deg, #5148db, #766cf3); color: #fff; font: 800 15px 'DM Mono', monospace; box-shadow: 0 8px 18px rgba(78, 70, 229, .22); }
.ic-brand-copy { display: grid; line-height: 1.15; }
.ic-brand-copy strong { font-size: 16px; }
.ic-brand-copy small { margin-top: 4px; color: var(--muted); font-size: 11px; font-weight: 700; }
.ic-topbar-actions { display: flex; gap: 9px; }
.ic-topbar-actions a, .ic-topbar-actions button { display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 8px 14px; border: 1px solid #cfd5e2; border-radius: 9px; background: #fff; color: #303a52; font-size: 14px; font-weight: 800; text-decoration: none; cursor: pointer; }
.ic-topbar-actions a:hover, .ic-topbar-actions button:hover { border-color: var(--indigo); color: var(--indigo); background: #f0efff; }
.ic-menu-button { display: none !important; }
.ic-sidebar { position: fixed; inset: 0 auto 0 0; z-index: 100; width: 76px; border-right: 1px solid #39425f; background: var(--navy); color: #fff; box-shadow: 8px 0 30px rgba(24, 31, 53, .13); overflow: hidden; transition: width .25s ease, transform .25s ease; }
.ic-sidebar:hover, .ic-sidebar.is-pinned { width: 340px; }
.ic-sidebar-head { display: flex; align-items: center; height: 76px; padding: 13px 15px; border-bottom: 1px solid #3a435f; }
.ic-sidebar-logo { display: grid; place-items: center; flex: 0 0 46px; width: 46px; height: 46px; border-radius: 12px; background: #655bf2; color: #fff; font: 800 14px 'DM Mono', monospace; }
.ic-sidebar-name { min-width: 205px; margin-left: 13px; opacity: 0; transform: translateX(-8px); transition: .2s; color: #fff; font-size: 16px; font-weight: 850; white-space: nowrap; }
.ic-sidebar:hover .ic-sidebar-name, .ic-sidebar.is-pinned .ic-sidebar-name { opacity: 1; transform: none; }
.ic-pin { display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px; margin-left: auto; border: 1px solid #4b5572; border-radius: 9px; background: #303951; color: #cfd5e8; cursor: pointer; opacity: 0; transition: .2s; }
.ic-sidebar:hover .ic-pin, .ic-sidebar.is-pinned .ic-pin { opacity: 1; }
.ic-sidebar-scroll { height: calc(100vh - 76px); padding: 17px 11px 30px; overflow-y: auto; overflow-x: hidden; }
.ic-menu-group { margin-bottom: 18px; }
.ic-menu-heading { height: 30px; margin: 0; padding: 5px 13px; color: #929cb6; font: 800 10px 'DM Mono', monospace; letter-spacing: 1px; white-space: nowrap; opacity: 0; transition: .2s; }
.ic-sidebar:hover .ic-menu-heading, .ic-sidebar.is-pinned .ic-menu-heading { opacity: 1; }
.ic-branch { margin: 4px 0; }
.ic-branch summary, .ic-menu-link { display: flex; align-items: center; min-height: 47px; padding: 7px 11px; border-radius: 9px; color: #cad0e0; text-decoration: none; cursor: pointer; list-style: none; white-space: nowrap; transition: .18s; }
.ic-branch summary::-webkit-details-marker { display: none; }
.ic-branch summary:hover, .ic-menu-link:hover { color: #fff; background: #313a55; }
.ic-branch.active > summary, .ic-menu-link.active { color: #fff; background: #5148db; }
.ic-menu-icon { display: grid; place-items: center; flex: 0 0 30px; width: 30px; height: 30px; border-radius: 8px; background: #343d59; color: #c4cadb; font: 800 13px 'DM Mono', monospace; }
.active > summary .ic-menu-icon, .ic-menu-link.active .ic-menu-icon { background: rgba(255, 255, 255, .16); color: #fff; }
.ic-menu-label { margin-left: 11px; opacity: 0; transform: translateX(-7px); transition: .2s; font-size: 14px; font-weight: 750; }
.ic-sidebar:hover .ic-menu-label, .ic-sidebar.is-pinned .ic-menu-label { opacity: 1; transform: none; }
.ic-arrow { margin-left: auto; opacity: 0; color: #969fb8; font-style: normal; transition: transform .2s, opacity .2s; }
.ic-sidebar:hover .ic-arrow, .ic-sidebar.is-pinned .ic-arrow { opacity: 1; }
.ic-branch[open] > summary .ic-arrow { transform: rotate(90deg); }
.ic-submenu { display: none; margin: 5px 0 8px 22px; padding-left: 10px; border-left: 1px solid #46506d; }
.ic-sidebar:hover .ic-branch[open] > .ic-submenu, .ic-sidebar.is-pinned .ic-branch[open] > .ic-submenu { display: block; }
.ic-submenu .ic-branch summary, .ic-submenu .ic-menu-link { min-height: 41px; padding: 6px 8px; }
.ic-submenu .ic-menu-icon { width: 25px; height: 25px; flex-basis: 25px; font-size: 10px; }
.ic-submenu .ic-menu-label { margin-left: 9px; font-size: 13px; }
.ic-menu-link.coming-soon { color: #7f89a2; cursor: default; }
.ic-menu-link.coming-soon:hover { background: transparent; color: #7f89a2; }
.ic-soon { margin-left: auto; padding: 3px 6px; border-radius: 999px; background: #303951; color: #8993ac; font: 700 8px 'DM Mono', monospace; opacity: 0; }
.ic-sidebar:hover .ic-soon, .ic-sidebar.is-pinned .ic-soon { opacity: 1; }
.ic-backdrop { display: none; }
.navigation-ready main { width: auto; max-width: 1320px; margin-left: max(100px, calc((100vw - 1244px) / 2)); margin-right: max(24px, calc((100vw - 1396px) / 2)); transition: margin-left .25s ease, margin-right .25s ease, width .25s ease; }
.navigation-ready .site-footer { width: auto; margin-left: 76px; margin-right: 0; transition: margin-left .25s ease, width .25s ease; }
.navigation-ready .ic-topbar { width: calc(100% - 76px); margin-left: 76px; }
.navigation-ready.sidebar-pinned main { width: auto; max-width: 1320px; margin-left: max(364px, calc((100vw - 980px) / 2)); margin-right: max(24px, calc((100vw - 1660px) / 2)); }
.navigation-ready.sidebar-pinned .site-footer { width: auto; margin-left: 340px; margin-right: 0; }
.navigation-ready.sidebar-pinned .ic-topbar { width: calc(100% - 340px); margin-left: 340px; }

@media (max-width: 900px) {
  .ic-topbar { min-height: 70px; padding: 10px 16px; }
  .ic-brand-copy small { display: none; }
  .ic-menu-button { display: inline-flex !important; }
  .ic-sidebar, .ic-sidebar:hover, .ic-sidebar.is-pinned { width: min(340px, 90vw); transform: translateX(-103%); }
  .ic-sidebar.mobile-open { transform: none; }
  .ic-sidebar-name, .ic-menu-heading, .ic-menu-label, .ic-arrow, .ic-soon { opacity: 1; transform: none; }
  .ic-pin { display: none; }
  .ic-sidebar .ic-branch[open] > .ic-submenu { display: block; }
  .ic-backdrop.visible { display: block; position: fixed; inset: 0; z-index: 90; background: rgba(17, 24, 39, .5); }
  .navigation-ready main, .navigation-ready .site-footer, .navigation-ready.sidebar-pinned main, .navigation-ready.sidebar-pinned .site-footer { width: min(1320px, calc(100% - 32px)); margin-left: auto; margin-right: auto; }
  .navigation-ready .ic-topbar, .navigation-ready.sidebar-pinned .ic-topbar { width: 100%; margin-left: 0; }
}

@media (max-width: 560px) {
  .ic-brand-copy { display: none; }
  .ic-topbar-actions span { display: none; }
  .ic-topbar-actions a, .ic-topbar-actions button { width: 42px; justify-content: center; padding: 8px; }
}
