:root {
  color-scheme: dark;
  --hn-bg: #202729;
  --hn-panel: rgba(0, 0, 0, .235);
  --hn-panel-strong: rgba(0, 0, 0, .286);
  --hn-glass-edge: rgba(255, 255, 255, .10);
  --hn-glass-reflection: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.015) 12px, transparent 28px), linear-gradient(0deg, rgba(255,255,255,.0225), transparent 18px), linear-gradient(90deg, rgba(255,255,255,.0225), transparent 18px), linear-gradient(270deg, rgba(255,255,255,.0225), transparent 18px);
  --hn-glass-inner-shadow: inset 0 1px 4px rgba(255,255,255,.12), inset 1px 0 3px rgba(255,255,255,.03), inset -1px 0 3px rgba(255,255,255,.03), inset 0 -1px 3px rgba(255,255,255,.03);
  --hn-text: #f1f3ee;
  --hn-muted: #9da7a4;
  --hn-line: rgba(255, 255, 255, .14);
  --hn-accent: #4d6ea9;
  --hn-positive: #b3e68d;
  --hn-negative: #f39585;
  --hn-shadow: 0 12px 42px rgba(0, 0, 0, .11), inset 0 1px 0 rgba(255, 255, 255, .035);
  --hn-radius: 24px;
  --hn-sidebar-width: 78px;
  --hn-hover: rgba(255, 255, 255, .075);
  --hn-selected: rgba(255, 255, 255, .09);
  --hn-accent-ink: #fff;
  --hn-backdrop: rgba(0, 0, 0, .24);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
html[data-theme="light"] {
  color-scheme: light;
  --hn-bg: #e8eae1;
  --hn-panel: rgba(255, 255, 255, .14);
  --hn-panel-strong: rgba(255, 255, 255, .20);
  --hn-text: #202722;
  --hn-muted: #687267;
  --hn-line: rgba(0, 0, 0, .10);
  --hn-positive: #3c7a36;
  --hn-negative: #b74e40;
  --hn-shadow: 0 12px 42px rgba(0, 0, 0, .045), inset 0 1px 0 rgba(255, 255, 255, .45);
  --hn-hover: rgba(255, 255, 255, .20);
  --hn-selected: rgba(255, 255, 255, .28);
  --hn-backdrop: rgba(0, 0, 0, .12);
}
* { box-sizing: border-box; }
html { min-height: 100%; background: var(--hn-bg); }
html, body { overscroll-behavior-y: none; }
body { position: relative; min-width: 320px; margin: 0; color: var(--hn-text); background: transparent; font-size: 14px; line-height: 1.45; }
.hn-ambient {
  --hn-glow-blue: 114 156 176; --hn-glow-warm: 157 123 104; --hn-glow-olive: 128 143 76;
  position: absolute; z-index: 0; inset: 0; overflow: hidden; pointer-events: none;
  background: radial-gradient(ellipse at 20% 10%, rgb(var(--hn-glow-blue) / .3), transparent 65%), radial-gradient(ellipse at 90% 40%, rgb(var(--hn-glow-warm) / .25), transparent 65%), var(--hn-bg);
}
html[data-theme="light"] .hn-ambient { --hn-glow-blue: 137 169 192; --hn-glow-warm: 195 151 128; --hn-glow-olive: 162 183 103; }
.hn-ambient-canvas { display: block; width: 100%; height: 100%; }
.hn-ambient:not([data-renderer="webgl"]) .hn-ambient-canvas { visibility: hidden; }
/* Fade only the background into iOS chrome; content stays above these edges. */
@supports (-webkit-touch-callout: none) {
  @media (hover: none) and (pointer: coarse) {
    .hn-ambient::before, .hn-ambient::after {
      content: "";
      position: fixed;
      z-index: 1;
      left: 0;
      right: 0;
      pointer-events: none;
      background: linear-gradient(var(--hn-edge-direction), var(--hn-bg) 0px, var(--hn-bg) var(--hn-edge-inset), transparent 100%);
    }
    .hn-ambient::before {
      --hn-edge-direction: to bottom;
      --hn-edge-inset: env(safe-area-inset-top, 0px);
      top: 0;
      height: calc(env(safe-area-inset-top, 0px) + 64px);
    }
    .hn-ambient::after {
      --hn-edge-direction: to top;
      --hn-edge-inset: env(safe-area-inset-bottom, 0px);
      bottom: 0;
      height: calc(env(safe-area-inset-bottom, 0px) + 64px);
    }
    .hn-app .hn-drawer-backdrop {
      -webkit-mask-image: linear-gradient(to bottom,
        transparent env(safe-area-inset-top, 0px),
        #000 calc(env(safe-area-inset-top, 0px) + 64px),
        #000 calc(100% - env(safe-area-inset-bottom, 0px) - 64px),
        transparent calc(100% - env(safe-area-inset-bottom, 0px)));
      mask-image: linear-gradient(to bottom,
        transparent env(safe-area-inset-top, 0px),
        #000 calc(env(safe-area-inset-top, 0px) + 64px),
        #000 calc(100% - env(safe-area-inset-bottom, 0px) - 64px),
        transparent calc(100% - env(safe-area-inset-bottom, 0px)));
    }
  }
  @media (display-mode: standalone) {
    .hn-ambient::after { content: none; }
  }
}
/* Volume belongs to each element, so native scrolling moves the whole surface. */
.hn-app :is(.hn-sidebar, .hn-nav-item, .hn-profile, .hn-breadcrumb, .hn-previous-home, .hn-icon-button, .hn-workspace-tab, .hn-new-workspace, .hn-subnav, .hn-kpi, .hn-chart-panel, .hn-shop-panel, .hn-empty-panel, .hn-shop-control, .hn-chart-tooltip) {
  background-image: var(--hn-glass-reflection);
  border-color: var(--hn-glass-edge);
  background-clip: border-box;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .10), var(--hn-glass-inner-shadow);
}
html[data-theme="light"] .hn-app :is(.hn-sidebar, .hn-nav-item, .hn-profile, .hn-breadcrumb, .hn-previous-home, .hn-icon-button, .hn-workspace-tab, .hn-new-workspace, .hn-subnav, .hn-kpi, .hn-chart-panel, .hn-shop-panel, .hn-empty-panel) {
  border-color: rgba(255, 255, 255, .55);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .06), inset 0 1px 4px rgba(255, 255, 255, .4);
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
button, a, input, select { outline-offset: 4px; }
:focus-visible { outline: 2px solid var(--hn-accent); }
button:disabled { cursor: default; opacity: .5; }
button svg, a svg { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
[hidden] { display: none !important; }
.hn-workspace-panel[hidden] { display: none !important; }
.hn-skip-link { position: fixed; left: 20px; top: -80px; z-index: 100; padding: 10px 16px; border: 1px solid var(--hn-line); color: var(--hn-text); background: var(--hn-panel-strong); border-radius: 12px; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.hn-skip-link:focus { top: 12px; }
.hn-app { position: relative; z-index: 1; display: grid; align-items: start; grid-template-columns: var(--hn-sidebar-width) minmax(0, 1fr); gap: 22px; padding: max(18px, env(safe-area-inset-top, 0px)) max(22px, env(safe-area-inset-right, 0px)) max(18px, env(safe-area-inset-bottom, 0px)) max(18px, env(safe-area-inset-left, 0px)); height: auto; min-height: 100dvh; overflow: visible; }
.hn-sidebar { position: sticky; top: max(18px, env(safe-area-inset-top, 0px)); height: calc(100dvh - 100px); min-width: 0; overflow-y: auto; display: flex; flex-direction: column; padding: 20px 12px 12px; border: 1px solid var(--hn-line); border-radius: 25px; background: var(--hn-panel); box-shadow: var(--hn-shadow); backdrop-filter: blur(24px) saturate(1.1); -webkit-backdrop-filter: blur(24px) saturate(1.1); }
.hn-masthead { grid-column: 1 / -1; display: grid; grid-template-columns: max-content minmax(0, 1fr); align-items: center; gap: inherit; min-width: 0; }
.hn-masthead-shop { justify-self: end; width: 240px; max-width: 100%; min-width: 0; }
.hn-brand { display: flex; align-items: center; gap: 9px; margin: 0 5px; width: max-content; }
.hn-brand-mark { display: block; width: 44px; height: 44px; flex-shrink: 0; object-fit: contain; border-radius: 20%; opacity: .6; }
.hn-brand .hn-brand-word { font-family: "Recursive", ui-monospace, monospace; font-size: 22px; font-weight: 700; letter-spacing: .5px; font-variation-settings: "MONO" 0, "CASL" 1, "CRSV" .5, "slnt" 0; }
.hn-brand-word > span { display: block; margin-top: 2px; color: var(--hn-muted); font-size: 9px; font-weight: 450; letter-spacing: .1px; }
.hn-nav-caption { margin: 0 12px 12px; color: var(--hn-muted); font-size: 10px; font-weight: 550; letter-spacing: 1.3px; text-transform: uppercase; }
.hn-nav { display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; gap: 8px; }
.hn-nav-item { position: relative; display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 10px 11px; border: 1px solid var(--hn-line); border-radius: 14px; color: var(--hn-muted); background: var(--hn-panel); text-align: left; font-weight: 500; font-size: 12px; transition: background-color 1s, color 1s, border-color 1s; }
.hn-nav-item:hover { color: var(--hn-text); background-color: var(--hn-hover); }
.hn-nav-item > span:not(.hn-nav-external):not(.hn-active-dot) { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hn-nav-item.is-active, .hn-nav-item[aria-current="page"] { color: var(--hn-text); border-color: var(--hn-line); background-color: var(--hn-selected); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04); }
.hn-nav-item.is-active > svg { color: var(--hn-accent); }
.hn-nav-external { margin-left: auto; font-size: 14px; opacity: .48; transition: opacity 1s; }
.hn-nav-item:hover .hn-nav-external { opacity: 1; }
.hn-active-dot { width: 5px; height: 5px; margin-left: auto; border-radius: 50%; background: var(--hn-accent); }
.hn-sidebar-bottom { display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; gap: 18px; margin-top: auto; padding-top: 26px; }
.hn-nav-secondary .hn-nav-item { min-height: 39px; font-size: 12px; }
.hn-nav-secondary .hn-nav-item > svg { width: 18px; height: 18px; }
.hn-profile { display: flex; align-items: center; gap: 8px; padding: 10px 8px; border: 1px solid var(--hn-line); border-radius: 16px; background: var(--hn-panel); min-width: 0; }
.hn-avatar { width: 33px; height: 33px; flex: 0 0 auto; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--hn-line); border-radius: 50%; color: var(--hn-text); background: var(--hn-selected); font-size: 13px; font-weight: 650; }
.hn-avatar img { width: 100%; height: 100%; object-fit: cover; }
.hn-profile-copy { min-width: 0; flex: 1; }
.hn-profile-copy strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; font-weight: 600; }
.hn-profile-copy > span { display: block; margin-top: 2px; color: var(--hn-muted); font-size: 10px; }
.hn-profile form { margin: 0; }
.hn-profile .hn-logout { width: 28px; height: 32px; border: 0; border-radius: 9px; background: transparent; }
.hn-profile .hn-logout svg { width: 16px; height: 16px; }
.hn-content { display: flex; flex-direction: column; min-width: 0; height: auto; min-height: calc(100dvh - 36px); padding: 0; }
.hn-topbar { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.hn-topbar-start, .hn-topbar-actions { display: flex; align-items: center; gap: 16px; min-width: 0; }
.hn-breadcrumb { display: flex; align-items: center; gap: 10px; min-height: 36px; padding: 9px 15px; border: 1px solid var(--hn-line); border-radius: 24px; background: var(--hn-panel); box-shadow: var(--hn-shadow); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); color: var(--hn-muted); font-size: 11px; }
.hn-breadcrumb > span { opacity: .4; }
.hn-breadcrumb strong { color: var(--hn-text); font-weight: 500; }
.hn-previous-home { display: inline-flex; align-items: center; gap: 5px; min-height: 36px; padding: 8px 13px; border: 1px solid var(--hn-line); border-radius: 24px; background: var(--hn-panel); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); color: var(--hn-muted); font-size: 10px; transition: color .2s; }
.hn-previous-home:hover { color: var(--hn-text); }
.hn-previous-home > span { margin-left: 5px; }
.hn-icon-button { width: 38px; height: 38px; display: inline-grid; place-items: center; padding: 0; border: 1px solid var(--hn-line); border-radius: 50%; background: var(--hn-panel); color: var(--hn-muted); transition: background .2s, color .2s, border-color .2s; }
.hn-icon-button:hover { color: var(--hn-text); background: var(--hn-hover); border-color: var(--hn-muted); }
.hn-menu-button { display: none; }
.hn-theme-button svg { width: 17px; height: 17px; }
.hn-theme-moon, html[data-theme="light"] .hn-theme-sun { display: none; }
html[data-theme="light"] .hn-theme-moon { display: block; }
.hn-workspace-bar { display: flex; align-items: center; gap: 8px; min-height: 39px; margin-top: 12px; flex: 0 0 auto; }
.hn-workspace-tabs { display: flex; align-items: stretch; gap: 7px; min-width: 0; overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--hn-line) transparent; }
.hn-workspace-tab { position: relative; display: inline-flex; align-items: center; justify-content: space-between; gap: 15px; min-width: 135px; max-width: 230px; min-height: 35px; padding: 8px 10px 8px 14px; border: 1px solid var(--hn-line); border-radius: 13px; color: var(--hn-muted); background: var(--hn-panel); box-shadow: var(--hn-shadow); font-size: 11px; white-space: nowrap; transition: background .2s, color .2s; }
.hn-workspace-tab:hover { background: var(--hn-hover); color: var(--hn-text); }
.hn-workspace-tab[aria-selected="true"], .hn-workspace-tab.is-active { border-color: var(--hn-line); background: var(--hn-selected); color: var(--hn-text); }
.hn-workspace-tab > span { overflow: hidden; text-overflow: ellipsis; }
.hn-workspace-item { position: relative; display: flex; align-items: center; flex: 0 0 auto; max-width: 230px; }
.hn-workspace-item .hn-workspace-tab { padding-right: 37px; }
.hn-workspace-item .hn-tab-close { position: absolute; right: 7px; top: 50%; margin-top: -10px; }
.hn-tab-close { width: 21px; height: 21px; flex: 0 0 auto; display: inline-grid; place-items: center; padding: 0; border: 0; border-radius: 6px; background: transparent; color: var(--hn-muted); font-size: 15px; }
.hn-tab-close:hover { color: var(--hn-text); background: var(--hn-hover); }
.hn-new-workspace { width: 33px; height: 33px; flex: 0 0 auto; display: inline-grid; place-items: center; padding: 0; border: 1px solid var(--hn-line); border-radius: 12px; background: var(--hn-panel); color: var(--hn-muted); }
.hn-new-workspace:hover { background: var(--hn-hover); color: var(--hn-text); }
.hn-new-workspace svg { width: 15px; height: 15px; }
.hn-page-intro { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 20px; margin: 15px 0 18px; }
.hn-eyebrow { margin: 0 0 7px; color: var(--hn-muted); font-size: 11px; letter-spacing: .15px; }
.hn-page-intro h1 { margin: 0; font-size: 21px; line-height: 1.25; letter-spacing: -.6px; font-weight: 500; }
.hn-subnav { position: relative; display: inline-flex; align-items: center; gap: 3px; padding: 4px; flex: 0 0 auto; border: 1px solid var(--hn-line); border-radius: 30px; background: var(--hn-panel); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.hn-subnav-tab { position: relative; z-index: 1; padding: 9px 17px; min-height: 34px; border: 0; border-radius: 24px; color: var(--hn-muted); background: transparent; font-size: 11px; white-space: nowrap; transition: color .2s, background .2s, box-shadow .2s; }
.hn-subnav-tab:hover { color: var(--hn-text); }
.hn-subnav-tab.is-active, .hn-subnav-tab[aria-selected="true"] { background: var(--hn-selected); color: var(--hn-text); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 2px 7px rgba(0, 0, 0, .04); }
.hn-subnav-indicator { position: absolute; z-index: 0; top: 4px; left: 0; border-radius: 24px; background: var(--hn-selected); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 2px 7px rgba(0, 0, 0, .04); pointer-events: none; transition: transform 1s ease-in-out, width 1s ease-in-out, height 1s ease-in-out; }
.hn-subnav:has(.hn-subnav-indicator) .hn-subnav-tab.is-active, .hn-subnav:has(.hn-subnav-indicator) .hn-subnav-tab[aria-selected="true"] { background: transparent; box-shadow: none; }
.hn-main { flex: initial; min-width: 0; height: auto; min-height: 0; overflow: visible; outline: none; }
.hn-workspace-panel { min-width: 0; }
.hn-main.is-switching { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; }
.hn-main.is-switching > .hn-workspace-panel { grid-area: 1 / 1; }
.hn-initial-loading { display: flex; align-items: center; justify-content: center; gap: 11px; min-height: 340px; color: var(--hn-muted); border: 1px solid var(--hn-line); border-radius: var(--hn-radius); background: var(--hn-panel); }
.hn-loading-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--hn-accent); animation: hn-pulse 1.4s ease-in-out infinite; }
.hn-nav-item, .hn-profile, .hn-avatar, .hn-breadcrumb, .hn-previous-home, .hn-icon-button, .hn-workspace-tab, .hn-new-workspace, .hn-subnav, .hn-initial-loading { backdrop-filter: blur(20px) saturate(1.1); -webkit-backdrop-filter: blur(20px) saturate(1.1); }
.hn-footer { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 2px 16px; color: var(--hn-muted); font-size: 10px; opacity: .7; }
.hn-footer > span:first-child { font-weight: 600; letter-spacing: -.25px; }
.hn-drawer-backdrop { display: none; }
@media (min-width: 761px) {
  .hn-masthead .hn-brand { margin-inline: calc((var(--hn-sidebar-width) - 44px) / 2) 0; }
  .hn-sidebar { padding-inline: 13px; }
  .hn-sidebar .hn-nav-caption,
  .hn-sidebar .hn-nav-item > :is(.hn-nav-external, .hn-active-dot) { display: none; }
  .hn-sidebar :is(.hn-nav-item, .hn-profile) {
    justify-content: flex-start; width: max-content; min-width: 100%; max-width: 100%; gap: 0;
    transition: max-width 1s, gap 1s, background-color 1s, color 1s, border-color 1s, backdrop-filter 1s, -webkit-backdrop-filter 1s;
  }
  .hn-sidebar .hn-nav-item { padding-inline: 14px; }
  .hn-sidebar .hn-nav-item > svg { flex: 0 0 20px; }
  .hn-sidebar .hn-profile { padding-inline: 8px; }
  .hn-sidebar .hn-profile-copy { white-space: nowrap; max-width: 200px; }
  .hn-sidebar .hn-profile-copy > span { overflow: hidden; text-overflow: ellipsis; }
  .hn-sidebar .hn-nav-item > span:not(.hn-nav-external):not(.hn-active-dot),
  .hn-sidebar .hn-profile > :is(.hn-profile-copy, form) { flex: none; opacity: 0; transition: opacity 1s; }
  .hn-sidebar .hn-profile form { pointer-events: none; }
  .hn-sidebar :is(.hn-nav-item:is(:hover, :focus-visible), .hn-profile:is(:hover, :focus-within)) {
    max-width: 280px; gap: 10px; background-color: rgba(0,0,0,.75);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  }
  .hn-sidebar .hn-nav-item:is(:hover, :focus-visible) > span:not(.hn-nav-external):not(.hn-active-dot),
  .hn-sidebar .hn-profile:is(:hover, :focus-within) > :is(.hn-profile-copy, form) { opacity: 1; }
  .hn-sidebar .hn-profile:is(:hover, :focus-within) form { pointer-events: auto; }
}
@keyframes hn-pulse { 0%,100% { opacity: .35; } 50% { opacity: 1; } }
@media (min-width: 1600px) { .hn-app { padding: 24px 30px 24px 24px; gap: 28px; } .hn-sidebar { top: 24px; height: calc(100dvh - 112px); } }
@media (max-width: 1100px) { .hn-app { gap: 18px; padding-inline: 14px 18px; } .hn-brand { margin-inline: 2px; gap: 8px; } .hn-brand-word { font-size: 15px; } .hn-brand-word > span { font-size: 8px; } .hn-nav-item { gap: 9px; padding-inline: 9px; } .hn-nav-secondary .hn-nav-item { font-size: 11px; } .hn-subnav-tab { padding-inline: 13px; } }
@media (max-width: 760px) {
  .hn-app { --hn-mobile-content-bottom: calc(68px + max(20px, env(safe-area-inset-bottom, 0px))); }
  .hn-masthead { gap: 12px; }
  .hn-masthead-shop { width: 200px; }
  .hn-app { grid-template-columns: minmax(0, 1fr); align-content: start; padding: max(12px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(12px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
  .hn-sidebar { position: fixed; z-index: 50; top: max(12px, env(safe-area-inset-top, 0px)); left: auto; right: max(20px, env(safe-area-inset-right, 0px)); width: min(280px, calc(100vw - 48px)); height: calc(100dvh - max(12px, env(safe-area-inset-top, 0px)) - max(20px, env(safe-area-inset-bottom, 0px)) - 68px); padding: 24px 17px 16px; transform: translateX(calc(100% + max(20px, env(safe-area-inset-right, 0px)))); visibility: hidden; transition: none; background: var(--hn-panel-strong); }
  .hn-app[data-sidebar-animate="true"] .hn-sidebar { transition: transform 1s ease-in-out, visibility 0s 1s; }
  .hn-app[data-sidebar-open="true"] .hn-sidebar { transform: translateX(0); visibility: visible; transition-delay: 0s; }
  .hn-sidebar { reading-flow: flex-visual; }
  .hn-sidebar-bottom { display: contents; }
  .hn-sidebar-bottom > .hn-nav-secondary { order: -1; }
  .hn-sidebar > .hn-nav { margin-top: auto; padding-top: 26px; }
  .hn-sidebar-bottom > .hn-profile { margin-top: 18px; }
  .hn-drawer-backdrop { display: block; position: fixed; inset: 0; z-index: 49; padding: 0; border: 0; opacity: 0; visibility: hidden; pointer-events: none; background: var(--hn-backdrop); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
  .hn-app[data-sidebar-animate="true"] .hn-drawer-backdrop { transition: opacity 1s ease-in-out, visibility 0s 1s; }
  .hn-app[data-sidebar-open="true"] .hn-drawer-backdrop { opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }
  .hn-menu-button.hn-icon-button { display: inline-grid; position: fixed; z-index: 51; right: max(20px, env(safe-area-inset-right, 0px)); bottom: max(20px, env(safe-area-inset-bottom, 0px)); width: 56px; height: 56px; }
  .hn-icon-button { width: 44px; height: 44px; }
  .hn-nav-item, .hn-nav-secondary .hn-nav-item { min-height: 44px; }
  .hn-profile .hn-logout { width: 44px; height: 44px; }
  .hn-subnav-tab { min-height: 44px; }
  .hn-new-workspace { width: 44px; height: 44px; }
  .hn-workspace-tab { min-height: 44px; }
  .hn-workspace-item .hn-tab-close { width: 44px; height: 44px; right: 0; margin-top: -22px; }
  .hn-workspace-item .hn-workspace-tab { padding-right: 46px; }
  .hn-topbar { min-height: 44px; }
  .hn-topbar-start { gap: 10px; }
  .hn-content { padding: 0; min-height: 0; }
  .hn-page-intro { margin-top: 14px; }
  .hn-breadcrumb { font-size: 10px; gap: 8px; }
  .hn-breadcrumb > span { display: none; }
  .hn-brand { margin-inline: 6px; }
  .hn-brand-word { font-size: 17px; }
  .hn-brand-word > span { font-size: 9px; }
}
@media (max-width: 520px) {
  .hn-content { padding: 0; }
  .hn-page-intro { align-items: flex-start; flex-direction: column; gap: 12px; margin: 13px 0 16px; }
  .hn-page-intro h1 { font-size: 21px; }
  .hn-subnav { max-width: 100%; overflow-x: auto; }
  .hn-subnav-tab { min-height: 44px; padding-inline: 17px; }
  .hn-topbar-actions { gap: 10px; }
  .hn-previous-home { font-size: 10px; }
  .hn-breadcrumb { max-width: 145px; padding-inline: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .hn-previous-home { padding: 9px 11px; font-size: 0; }
  .hn-previous-home > span { margin: 0; font-size: 16px; }
  .hn-footer { padding-top: 24px; }
  .hn-footer > span:last-child { font-size: 9px; }
}
/* iOS adds a status-bar scrim above installed web apps, beyond the safe inset. */
@supports (-webkit-touch-callout: none) {
  @media (display-mode: standalone) and (max-width: 760px) {
    .hn-app {
      --hn-standalone-clearance: 16px;
      padding-top: calc(max(12px, env(safe-area-inset-top, 0px)) + var(--hn-standalone-clearance));
    }
  }
}
@media (pointer: coarse) {
  .hn-icon-button, .hn-new-workspace, .hn-workspace-tab, .hn-subnav-tab, .hn-nav-secondary .hn-nav-item { min-height: 44px; }
  .hn-icon-button, .hn-new-workspace { min-width: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
/* Clip the filtered paint to the host's actual border box and corner radii. */
.hn-app :is(.hn-sidebar, .hn-nav-item, .hn-profile, .hn-avatar, .hn-breadcrumb, .hn-previous-home, .hn-icon-button, .hn-workspace-tab, .hn-new-workspace, .hn-subnav, .hn-initial-loading, .hn-kpi, .hn-shop-panel, .hn-empty-panel, .hn-chart-tooltip, .hn-finance-note) {
  border-radius: var(--hn-glass-radius, var(--hn-radius));
  clip-path: inset(0 round var(--hn-glass-radius, var(--hn-radius)));
}
.hn-sidebar { --hn-glass-radius: 25px; }
.hn-nav-item, .hn-chart-tooltip { --hn-glass-radius: 14px; }
.hn-profile { --hn-glass-radius: 16px; }
.hn-avatar, .hn-icon-button { --hn-glass-radius: 50%; }
.hn-breadcrumb, .hn-previous-home { --hn-glass-radius: 24px; }
.hn-workspace-tab { --hn-glass-radius: 13px; }
.hn-new-workspace, .hn-finance-note { --hn-glass-radius: 12px; }
.hn-subnav { --hn-glass-radius: 30px; }
@media (max-width: 760px) { .hn-kpi { --hn-glass-radius: 16px; } }
/* Frosting needs a single blur, without a second colour-processing pass. */
.hn-app :is(.hn-nav-item, .hn-profile, .hn-avatar, .hn-breadcrumb, .hn-previous-home, .hn-icon-button, .hn-workspace-tab, .hn-new-workspace, .hn-subnav, .hn-initial-loading, .hn-kpi, .hn-chart-panel, .hn-shop-panel, .hn-empty-panel, .hn-finance-note) {
  backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px);
}
.hn-sidebar { backdrop-filter: blur(32px); -webkit-backdrop-filter: blur(32px); }
.hn-app :is(.hn-kpi, .hn-shop-panel, .hn-empty-panel, .hn-shop-control, .hn-initial-loading) {
  backdrop-filter: blur(44px); -webkit-backdrop-filter: blur(44px);
}
@media (min-width: 761px) {
  .hn-app .hn-sidebar { overflow: visible; z-index: 10; }
}
/* Overlays must diffuse the interface beneath them, not just the ambient background. */
.hn-app .hn-chart-panel { position: relative; z-index: 0; }
.hn-app .hn-kpi { z-index: 0; }
/* Paint tint and reflections independently of Safari's backdrop-filter layer. */
.hn-app :is(.hn-sidebar, .hn-kpi, .hn-chart-panel, .hn-periods) {
  clip-path: none; border-color: transparent; background-color: var(--hn-panel); background-image: none;
  box-shadow: 0 10px 24px rgba(0,0,0,.10); backdrop-filter: none; -webkit-backdrop-filter: none;
}
.hn-sidebar::before, .hn-kpi::before, .hn-chart-panel::before, .hn-periods::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; box-sizing: border-box; border: 1px solid transparent; border-radius: inherit;
  clip-path: inset(0 round var(--hn-glass-radius,var(--hn-radius)));
  backdrop-filter: blur(44px); -webkit-backdrop-filter: blur(44px); pointer-events: none;
}
.hn-sidebar::before { backdrop-filter: blur(48px); -webkit-backdrop-filter: blur(48px); }
.hn-periods::before { backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.hn-sidebar::after, .hn-kpi::after, .hn-chart-panel::after, .hn-periods::after {
  content: ""; position: absolute; inset: 0; z-index: 10; box-sizing: border-box;
  border: 1px solid var(--hn-glass-edge); border-radius: inherit;
  background-image: var(--hn-glass-reflection); box-shadow: var(--hn-glass-inner-shadow);
  pointer-events: none;
}
.hn-app .hn-chart-tooltip {
  background-color: var(--hn-panel);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.hn-app[data-sidebar-open="true"] .hn-sidebar {
  background-color: var(--hn-panel-strong);
}
.hn-app[data-sidebar-open="true"] .hn-sidebar::before { backdrop-filter: blur(52px); -webkit-backdrop-filter: blur(52px); }
