/* TokenWave customer navigation v1.1. Source: shared/navigation/. */
:root { --tw-navigation-width: 224px; }
.tw-customer-sidebar { position: fixed; z-index: 80; inset: 0 auto 0 0; display: flex; flex-direction: column; width: var(--tw-navigation-width); padding: 24px 16px; overflow-y: auto; overscroll-behavior: contain; border-right: 1px solid var(--tw-line, #ddddd5); background: var(--tw-bg, #faf9f6); color: var(--tw-text, #3d3d36); font: 14px/1.6 var(--tw-font-body, system-ui, sans-serif); }
.tw-customer-sidebar, .tw-customer-sidebar * { box-sizing: border-box; }
.tw-customer-sidebar a { color: inherit; text-decoration: none; }
.tw-customer-sidebar button { font: inherit; cursor: pointer; }
.tw-nav-brand-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 8px 24px; }
.tw-nav-brand { display: flex; align-items: center; min-height: 44px; min-width: 0; }
.tw-nav-brand img { display: block; width: 164px; height: auto; max-width: 100%; }
.tw-nav-home { display: flex; align-items: center; min-height: 44px; padding: 8px 12px; margin-bottom: 24px; border-left: 2px solid transparent; border-radius: 0 4px 4px 0; font-weight: 400; }
.tw-nav-home::before { content: '←'; margin-right: 12px; font-weight: 400; }
.tw-nav-home[aria-current=page] { background: var(--tw-accent-soft, #f0ebfa); border-left-color: var(--tw-accent, #6c4ccf); color: var(--tw-ink, #1d1d17); font-weight: 600; }
.tw-nav-label { display: flex; justify-content: space-between; gap: 8px; padding: 0 12px; margin-bottom: 12px; color: var(--tw-muted, #66665d); font-size: 12px; }
.tw-nav-count { font-family: var(--tw-font-mono, monospace); }
.tw-product-list { display: grid; gap: 8px; }
.tw-product-group { min-width: 0; }
.tw-product-link { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 12px; border-left: 2px solid transparent; border-radius: 0 4px 4px 0; }
.tw-product-title { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.tw-product-arrow { color: var(--tw-muted, #66665d); }
.tw-product-current { flex-shrink: 0; font-size: 12px; font-weight: 400; color: var(--tw-muted, #66665d); }
.tw-product-group.is-current > .tw-product-link { color: var(--tw-ink, #1d1d17); font-weight: 600; border-left-color: var(--tw-ink, #1d1d17); }
.tw-product-pages { padding: 8px 0; }
.tw-nav-home:hover, .tw-product-link:hover { background: var(--tw-surface-muted, #f0efeb); }
.tw-nav-status:empty, .tw-nav-notice:empty { display: none; }
.tw-nav-status, .tw-nav-notice { margin: 0 12px 16px; font-size: 12px; color: var(--tw-muted, #66665d); line-height: 1.75; }
.tw-nav-status p { margin: 0; color: inherit; }
.tw-customer-sidebar .tw-nav-retry { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 0; border: 0; background: transparent; color: var(--tw-ink, #1d1d17); font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
.tw-nav-notice { margin-top: 16px; }
.tw-nav-footer { margin-top: auto; padding: 16px 8px 0; border-top: 1px solid var(--tw-line, #ddddd5); color: var(--tw-muted, #66665d); font-size: 12px; }
.tw-nav-close, .tw-navigation-toggle, .tw-mobile-home { display: none; }
.tw-nav-backdrop[hidden] { display: none; }
.tw-customer-sidebar :where(a,button,input):focus-visible, .tw-navigation-toggle:focus-visible, .tw-mobile-home:focus-visible { outline: 2px solid var(--tw-accent, #6c4ccf); outline-offset: 3px; }
@media (max-height: 820px) and (min-width: 1024px) {
  .tw-customer-sidebar { padding-block: 16px; }
  .tw-nav-footer { margin-top: 24px; }
}
@media (max-width: 1023px) {
  .tw-customer-sidebar { display: none; width: min(320px, calc(100vw - 24px)); padding: 16px; }
  .tw-customer-sidebar.is-open { display: flex; box-shadow: var(--tw-shadow-overlay, 0 8px 24px #1d1d1726); }
  .tw-customer-sidebar .tw-nav-close { display: inline-flex; justify-content: center; align-items: center; flex-shrink: 0; width: 44px; height: 44px; border: 0; background: transparent; color: var(--tw-ink, #1d1d17); font-size: 24px; }
  .tw-navigation-toggle, .tw-mobile-home { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; min-height: 44px; padding: 8px 12px; border: 1px solid var(--tw-line-strong, #85857b); border-radius: 4px; background: var(--tw-bg, #faf9f6); color: var(--tw-ink, #1d1d17); font: 14px/1.5 var(--tw-font-body, system-ui, sans-serif); text-decoration: none; }
  .tw-mobile-home { padding-inline: 4px; min-width: 44px; border-color: transparent; }
  .tw-nav-backdrop { position: fixed; z-index: 79; inset: 0; background: var(--tw-backdrop, #1d1d1766); }
  .tw-nav-footer { padding-top: 32px; }
}
@media (prefers-reduced-motion: reduce) { .tw-customer-sidebar, .tw-customer-sidebar * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
