.app-shell.ui01-shell {
  --ui01-page: var(--oxy-page-bg);
  --ui01-sidebar: var(--oxy-sidebar-bg);
  --ui01-surface: var(--oxy-surface);
  --ui01-soft: var(--oxy-surface-soft);
  --ui01-border: var(--oxy-border);
  --ui01-border-strong: var(--oxy-border-strong);
  --ui01-ink: var(--oxy-text-primary);
  --ui01-secondary: var(--oxy-text-secondary);
  --ui01-muted: var(--oxy-text-muted);
  --ui01-primary: var(--oxy-primary);
  --ui01-blue-soft: var(--oxy-primary-soft);
  --ui01-purple: var(--oxy-purple);
  --ui01-mint: var(--oxy-mint);
  --ui01-success: var(--oxy-success);
  --ui01-warning: var(--oxy-warning);
  --ui01-danger: var(--oxy-danger);
  display: grid;
  grid-template-columns: 194px minmax(0, 1fr);
  min-height: 100vh;
  color: var(--ui01-ink);
  background: var(--ui01-page);
  font-family: var(--oxy-font-family);
}
.ui01-shell *,
.ui01-shell *::before,
.ui01-shell *::after { box-sizing: border-box; }
.ui01-shell .oxy-icon {
  display: inline-block;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  background-color: currentColor;
  -webkit-mask: var(--oxy-icon-src) center / contain no-repeat;
  mask: var(--oxy-icon-src) center / contain no-repeat;
}
.app-shell.ui01-shell .sidebar {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 194px;
  height: 100vh;
  min-height: 650px;
  padding: 12px 11px 13px;
  overflow: hidden;
  color: var(--ui01-ink);
  background: var(--ui01-sidebar);
  border-right: 1px solid var(--ui01-border);
}
.app-shell.ui01-shell .brand {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  padding: 0 6px 10px;
  border-bottom: 1px solid var(--ui01-border);
}
.app-shell.ui01-shell .brand-logo {
  display: block;
  width: 150px;
  max-width: 100%;
  height: 52px;
  object-fit: contain;
  object-position: center;
}
.app-shell.ui01-shell .main-nav {
  display: grid;
  align-content: start;
  gap: 5px;
  min-height: 0;
  padding: 10px 0;
  overflow: auto;
}
.app-shell.ui01-shell .nav-group { display: grid; gap: 2px; }
.app-shell.ui01-shell .nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 40px;
  padding: 0 10px;
  border: 0;
  border-radius: 11px;
  color: #4c5b7c;
  background: transparent;
  text-align: left;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  transition: color var(--oxy-motion-fast), background var(--oxy-motion-fast), box-shadow var(--oxy-motion-fast);
}
.app-shell.ui01-shell .nav-item:hover { color: var(--ui01-primary); background: #e5f0ff; }
.app-shell.ui01-shell .nav-item.active {
  color: #fff;
  background: var(--oxy-gradient-nav-active);
  box-shadow: 0 7px 16px rgba(47, 140, 255, .18);
}
.app-shell.ui01-shell .nav-item:not(:has(> .nav-item-icon))::before {
  display: inline-block;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  background-color: currentColor;
  -webkit-mask: var(--ui01-nav-icon) center / contain no-repeat;
  mask: var(--ui01-nav-icon) center / contain no-repeat;
  content: "";
}
.app-shell.ui01-shell .nav-item[data-route="#/dashboard"] { --ui01-nav-icon: url("/assets/icons/lucide/layout-dashboard.svg"); }
.app-shell.ui01-shell .nav-item[data-route="#/machines"] { --ui01-nav-icon: url("/assets/icons/lucide/store.svg"); }
.app-shell.ui01-shell .nav-item[data-route="#/service/today"] { --ui01-nav-icon: url("/assets/icons/lucide/wrench.svg"); }
.app-shell.ui01-shell .nav-item[data-route="#/sales/summary"] { --ui01-nav-icon: url("/assets/icons/lucide/chart-no-axes-combined.svg"); }
.app-shell.ui01-shell .nav-item[data-route="#/reports/finance"] { --ui01-nav-icon: url("/assets/icons/lucide/file-text.svg"); }
.app-shell.ui01-shell .nav-item[data-route="#/settings"] { --ui01-nav-icon: url("/assets/icons/lucide/settings-2.svg"); }
.app-shell.ui01-shell .nav-item-icon { width: 17px; height: 17px; }
.app-shell.ui01-shell .nav-chevron { width: 13px; height: 13px; margin-left: auto; opacity: .65; }
.app-shell.ui01-shell .nav-children {
  display: grid;
  gap: 1px;
  margin: 0 0 3px 19px;
  padding-left: 8px;
  border-left: 1px solid var(--ui01-border-strong);
}
.app-shell.ui01-shell .secondary-item {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 29px;
  padding: 4px 7px;
  border-radius: 8px;
  color: var(--ui01-muted);
  text-decoration: none;
  font-size: 12px;
  line-height: 16px;
}
.app-shell.ui01-shell .secondary-item:hover,
.app-shell.ui01-shell .secondary-item.active { color: var(--ui01-primary); background: #e5f0ff; }
.app-shell.ui01-shell .nav-child-icon { width: 13px; height: 13px; }
.app-shell.ui01-shell .sidebar-footer {
  display: grid;
  gap: 8px;
  margin-top: auto;
}
.app-shell.ui01-shell .sidebar-profile {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 8px 7px;
  border: 1px solid var(--ui01-border);
  border-radius: 13px;
  background: rgba(255,255,255,.72);
}
.app-shell.ui01-shell .sidebar-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  overflow: hidden;
  border-radius: 50%;
  color: #fff;
  background: var(--oxy-gradient-primary);
}
.app-shell.ui01-shell .sidebar-avatar-icon { width: 18px; height: 18px; }
.app-shell.ui01-shell .sidebar-profile-copy { display: grid; min-width: 0; gap: 2px; }
.app-shell.ui01-shell .sidebar-profile-copy strong,
.app-shell.ui01-shell .sidebar-profile-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.app-shell.ui01-shell .sidebar-profile-copy strong { color: var(--ui01-ink); font-size: 14px; font-weight: 700; }
.app-shell.ui01-shell .sidebar-profile-copy small { color: var(--ui01-secondary); font-size: 12px; line-height: 16px; }
.app-shell.ui01-shell .icon-button,
.app-shell.ui01-shell .sidebar-logout {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  margin-left: auto;
  padding: 0;
  border: 0;
  border-radius: 8px;
  color: var(--ui01-muted);
  background: transparent;
}
.app-shell.ui01-shell .sidebar-logout:hover { color: var(--ui01-danger); background: #fff0f2; }
.app-shell.ui01-shell .sidebar-logout-icon { width: 18px; height: 18px; }
.app-shell.ui01-shell .sidebar-logout-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.app-shell.ui01-shell .sidebar-health {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 9px 8px;
  border: 1px solid var(--ui01-border);
  border-radius: 12px;
  color: var(--ui01-secondary);
  background: rgba(255,255,255,.55);
}
.app-shell.ui01-shell .sidebar-health > span:last-child { display: grid; gap: 3px; min-width: 0; }
.app-shell.ui01-shell .sidebar-health strong { font-size: 12px; font-weight: 700; line-height: 16px; }
.app-shell.ui01-shell .sidebar-health small { color: var(--ui01-secondary); font-size: 12px; line-height: 16px; }
.app-shell.ui01-shell .sidebar-health-dot {
  width: 8px;
  height: 8px;
  margin-top: 2px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #a9b4c8;
}
.app-shell.ui01-shell .sidebar-health[data-sidebar-health="ready"] .sidebar-health-dot { background: var(--ui01-success); box-shadow: 0 0 0 3px #e6faef; }
.app-shell.ui01-shell .sidebar-health[data-sidebar-health="partial"] .sidebar-health-dot,
.app-shell.ui01-shell .sidebar-health[data-sidebar-health="stale"] .sidebar-health-dot { background: var(--ui01-warning); box-shadow: 0 0 0 3px #fff5e1; }
.app-shell.ui01-shell .sidebar-health[data-sidebar-health="error"] .sidebar-health-dot { background: var(--ui01-danger); box-shadow: 0 0 0 3px #ffecef; }
.app-shell.ui01-shell .sidebar-build { padding: 0 5px; color: var(--ui01-muted); font-size: 10px; }
.app-shell.ui01-shell .main-content { min-width: 0; background: var(--ui01-page); }
.app-shell.ui01-shell .topbar {
  min-height: 72px;
  padding: 13px 22px;
  color: var(--ui01-ink);
  background: rgba(255,255,255,.84);
  border-bottom: 1px solid var(--ui01-border);
}
.app-shell.ui01-shell .topbar h1 { color: var(--ui01-ink); font-family: inherit; font-size: 21px; }
.app-shell.ui01-shell .topbar .eyebrow { color: var(--ui01-muted); }
.app-shell.ui01-shell .topbar .secondary { color: var(--ui01-primary); border-color: var(--ui01-border-strong); }
.app-shell.ui01-shell .menu-button { color: var(--ui01-primary); }
.app-shell.ui01-shell .menu-glyph {
  position: relative;
  display: inline-block;
  width: 17px;
  height: 13px;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}
.app-shell.ui01-shell .menu-glyph::after {
  position: absolute;
  top: 4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  content: "";
}
#authView.auth-screen { background: linear-gradient(135deg,#f4f8ff,#e8f3ff); }
#authView .brand-logo-auth { width: 210px; height: 88px; margin: 0 0 12px; object-fit: contain; object-position: left center; }
#authView .auth-card .brand-mark { display: none; }
.app-shell.ui01-shell .page-view { max-width: none; padding: 18px 18px 26px; }
.app-shell.ui01-shell .auth-screen { background: linear-gradient(135deg,#f4f8ff,#e8f3ff); }
.app-shell.ui01-shell .brand-logo-auth { width: 210px; height: 88px; margin: 0 0 12px; object-fit: contain; object-position: left center; }
.app-shell.ui01-shell .auth-card .brand-mark { display: none; }
.app-shell.ui01-shell.ui01-active .topbar { display: none; }

.app-shell.ui01-shell.ui01-active .ui01-home {
  width: 100%;
  max-width: 1540px;
  margin: 0 auto;
  color: var(--ui01-ink);
  font-family: inherit;
}
.app-shell.ui01-shell.ui01-active .ui01-home,
.app-shell.ui01-shell.ui01-active .ui01-home * { box-sizing: border-box; }
.app-shell.ui01-shell.ui01-active .ui01-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 54px;
  margin: 0 0 13px;
}
.app-shell.ui01-shell.ui01-active .ui01-greeting { min-width: 0; }
.app-shell.ui01-shell.ui01-active .ui01-header h2 {
  margin: 0;
  color: var(--ui01-ink);
  font-size: var(--oxy-type-display-size);
  font-weight: 800;
  line-height: var(--oxy-type-display-line);
}
.app-shell.ui01-shell.ui01-active .ui01-header p { margin: 3px 0 0; color: var(--ui01-secondary); font-size: 14px; line-height: 20px; font-weight: 500; }
.app-shell.ui01-shell.ui01-active .ui01-header-actions { display: flex; align-items: center; gap: 9px; }
.app-shell.ui01-shell.ui01-active .ui01-date-chip,
.app-shell.ui01-shell.ui01-active .ui01-period-control,
.app-shell.ui01-shell.ui01-active .ui01-header-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  border: 1px solid var(--ui01-border);
  border-radius: 11px;
  color: var(--ui01-ink);
  background: var(--ui01-surface);
  box-shadow: 0 2px 8px rgba(42,76,140,.025);
}
.app-shell.ui01-shell.ui01-active .ui01-date-chip { gap: 8px; padding: 0 10px; color: var(--ui01-secondary); font-size: 12px; font-weight: 600; white-space: nowrap; }
.app-shell.ui01-shell.ui01-active .ui01-date-chip .oxy-icon,
.app-shell.ui01-shell.ui01-active .ui01-period-control > .oxy-icon:first-child { color: var(--ui01-primary); }
.app-shell.ui01-shell.ui01-active .ui01-period-control { position: relative; gap: 6px; min-width: 190px; padding: 0 10px; }
.app-shell.ui01-shell.ui01-active .ui01-period-control select {
  width: 100%;
  height: 34px;
  padding: 0 16px 0 0;
  appearance: none;
  border: 0;
  outline: 0;
  color: var(--ui01-ink);
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
}
.app-shell.ui01-shell.ui01-active .ui01-select-chevron { position: absolute; right: 8px; width: 13px; height: 13px; pointer-events: none; color: var(--ui01-muted); }
.app-shell.ui01-shell.ui01-active .ui01-header-icon { position: relative; width: 42px; text-decoration: none; color: var(--ui01-secondary); }
.app-shell.ui01-shell.ui01-active .ui01-header-icon:hover { color: var(--ui01-primary); border-color: var(--ui01-primary); }
.app-shell.ui01-shell.ui01-active .ui01-notification-count {
  position: absolute;
  top: -4px;
  right: -4px;
  display: grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  padding: 0 4px;
  border: 2px solid #fff;
  border-radius: 999px;
  color: #fff;
  background: var(--ui01-danger);
  font-size: 12px;
  font-weight: 800;
}
.app-shell.ui01-shell.ui01-active .ui01-partial,
.app-shell.ui01-shell.ui01-active .ui01-stale { display: inline-flex; align-items: center; gap: 4px; margin: 4px 8px 0 0; color: #a56e0c; font-size: 12px; font-weight: 700; }
.app-shell.ui01-shell.ui01-active .ui01-stale { color: #bd4555; }
.app-shell.ui01-shell.ui01-active .ui01-partial .oxy-icon,
.app-shell.ui01-shell.ui01-active .ui01-stale .oxy-icon { width: 12px; height: 12px; }

.app-shell.ui01-shell.ui01-active .ui01-kpis { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 10px; margin-bottom: 12px; }
.app-shell.ui01-shell.ui01-active .ui01-kpi,
.app-shell.ui01-shell.ui01-active .ui01-card {
  min-width: 0;
  border: 1px solid var(--ui01-border);
  border-radius: var(--oxy-radius-card-sm);
  background: var(--ui01-surface);
  box-shadow: var(--oxy-shadow-card);
}
.app-shell.ui01-shell.ui01-active .ui01-kpi { display: flex; min-height: 140px; flex-direction: column; justify-content: space-between; padding: 12px; background: linear-gradient(180deg,var(--oxy-surface) 0%,var(--oxy-surface-soft) 100%); }
.app-shell.ui01-shell.ui01-active .ui01-kpi-top { display: flex; align-items: center; gap: 9px; min-height: 42px; }
.app-shell.ui01-shell.ui01-active .ui01-kpi-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: inherit;
  background: transparent;
}
.app-shell.ui01-shell.ui01-active .ui01-kpi-icon .ui01-content-icon { width: 42px; height: 42px; object-fit: contain; }
.app-shell.ui01-shell.ui01-active .ui01-kpi-label { color: var(--ui01-secondary); font-size: 14px; font-weight: 650; line-height: 20px; }
.app-shell.ui01-shell.ui01-active .ui01-kpi-value { display: block; overflow: hidden; color: var(--ui01-ink); font-size: var(--oxy-type-kpi-lg-size); font-weight: 800; line-height: var(--oxy-type-kpi-lg-line); text-overflow: ellipsis; white-space: nowrap; font-variant-numeric: tabular-nums; }
.app-shell.ui01-shell.ui01-active .ui01-kpi-foot { display: flex; align-items: end; justify-content: space-between; gap: 5px; min-height: 20px; }
.app-shell.ui01-shell.ui01-active .ui01-kpi-foot small { color: var(--ui01-secondary); font-size: 12px; line-height: 16px; }
.app-shell.ui01-shell.ui01-active .ui01-kpi-ring { width: 35px; height: 35px; flex: 0 0 auto; }
.app-shell.ui01-shell.ui01-active .ui01-kpi-ring circle { fill: none; stroke-width: 6; }
.app-shell.ui01-shell.ui01-active .ui01-ring-track { stroke: #e8effa; }
.app-shell.ui01-shell.ui01-active .ui01-ring-value { transform: rotate(-90deg); transform-origin: 22px 22px; stroke: var(--ui01-primary); stroke-linecap: round; }
.app-shell.ui01-shell.ui01-active .ui01-kpi-miniviz { display: flex; align-items: end; gap: 2px; width: 47px; height: 22px; flex: 0 0 auto; }
.app-shell.ui01-shell.ui01-active .ui01-kpi-miniviz i { display: block; min-width: 2px; flex: 1; border-radius: 2px 2px 0 0; background: #9ccfff; }
.app-shell.ui01-shell.ui01-active .ui01-kpi-miniviz-empty i { height: 2px; background: #e5edf8; }
.app-shell.ui01-shell.ui01-active .ui01-stock-mini { width: 50px; height: 7px; overflow: hidden; flex: 0 0 auto; border-radius: 99px; background: #edf2fa; }
.app-shell.ui01-shell.ui01-active .ui01-stock-mini i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#46d792,#25c9c6); }

.app-shell.ui01-shell.ui01-active .ui01-primary-grid { display: grid; grid-template-columns: minmax(0,1.8fr) minmax(330px,1fr); align-items: stretch; gap: 10px; }
.app-shell.ui01-shell.ui01-active .ui01-card { padding: 14px; }
.app-shell.ui01-shell.ui01-active .ui01-chart-card { min-height: 310px; }
.app-shell.ui01-shell.ui01-active .ui01-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 9px; }
.app-shell.ui01-shell.ui01-active .ui01-card-head > div { min-width: 0; }
.app-shell.ui01-shell.ui01-active .ui01-card-head h3 { display: flex; align-items: center; gap: 7px; margin: 0; color: var(--ui01-ink); font-size: 16px; font-weight: 700; line-height: 24px; }
.app-shell.ui01-shell.ui01-active .ui01-card-head h3 > .oxy-icon { width: 17px; height: 17px; color: var(--ui01-primary); }
.app-shell.ui01-shell.ui01-active .ui01-section-icon { width: var(--oxy-control-compact); height: var(--oxy-control-compact); flex: 0 0 var(--oxy-control-compact); object-fit: contain; }
.app-shell.ui01-shell.ui01-active .ui01-card-head p { margin: 3px 0 0; color: var(--ui01-secondary); font-size: 13px; line-height: 18px; }
.app-shell.ui01-shell.ui01-active .ui01-card-head a { display: inline-flex; align-items: center; gap: 4px; color: var(--ui01-primary); font-size: 12px; font-weight: 650; text-decoration: none; white-space: nowrap; }
.app-shell.ui01-shell.ui01-active .ui01-card-head a:hover { color: var(--oxy-primary-hover); }
.app-shell.ui01-shell.ui01-active .ui01-card-head a .oxy-icon { width: 12px; height: 12px; }
.app-shell.ui01-shell.ui01-active .ui01-side-stack { display: grid; grid-template-rows: minmax(0,1.1fr) minmax(0,.9fr); gap: 10px; }
.app-shell.ui01-shell.ui01-active .ui01-status-card,
.app-shell.ui01-shell.ui01-active .ui01-connectivity-card { display: flex; flex-direction: column; justify-content: center; }
.app-shell.ui01-shell.ui01-active .ui01-status-card .ui01-card-head,
.app-shell.ui01-shell.ui01-active .ui01-connectivity-card .ui01-card-head { margin-bottom: 4px; }
.app-shell.ui01-shell.ui01-active .ui01-status-layout { display: grid; grid-template-columns: minmax(92px,.75fr) minmax(0,1.25fr); align-items: center; gap: 9px; min-height: 0; }
.app-shell.ui01-shell.ui01-active .ui01-donut { width: min(100%,124px); justify-self: center; overflow: visible; }
.app-shell.ui01-shell.ui01-active .ui01-donut-track,
.app-shell.ui01-shell.ui01-active .ui01-donut-segment { fill: none; stroke-width: 13; }
.app-shell.ui01-shell.ui01-active .ui01-donut-track { stroke: #edf2fa; }
.app-shell.ui01-shell.ui01-active .ui01-donut-segment { stroke-linecap: butt; }
.app-shell.ui01-shell.ui01-active .tone-working { stroke: #21c58a; background: #21c58a; }
.app-shell.ui01-shell.ui01-active .tone-attention { stroke: #ff6677; background: #ff6677; }
.app-shell.ui01-shell.ui01-active .tone-setup { stroke: #f3b638; background: #f3b638; }
.app-shell.ui01-shell.ui01-active .tone-stale { stroke: #a86cff; background: #a86cff; }
.app-shell.ui01-shell.ui01-active .tone-inactive { stroke: #8b98b1; background: #8b98b1; }
.app-shell.ui01-shell.ui01-active .tone-unknown { stroke: #c5cedd; background: #c5cedd; }
.app-shell.ui01-shell.ui01-active .ui01-donut-total { fill: var(--ui01-ink); font: 800 24px var(--oxy-font-family); }
.app-shell.ui01-shell.ui01-active .ui01-donut-label { fill: var(--ui01-secondary); font: 12px var(--oxy-font-family); }
.app-shell.ui01-shell.ui01-active .ui01-status-list { display: grid; gap: 4px; min-width: 0; max-height: 135px; margin: 0; padding: 0; overflow: auto; list-style: none; }
.app-shell.ui01-shell.ui01-active .ui01-status-list li { display: flex; align-items: center; justify-content: space-between; gap: 6px; color: var(--ui01-secondary); font-size: 12px; line-height: 16px; }
.app-shell.ui01-shell.ui01-active .ui01-status-list li > span { display: flex; align-items: center; gap: 5px; min-width: 0; }
.app-shell.ui01-shell.ui01-active .ui01-status-list li > span:last-child { gap: 5px; flex: 0 0 auto; }
.app-shell.ui01-shell.ui01-active .ui01-status-list b { color: var(--ui01-ink); font-size: 12px; font-variant-numeric: tabular-nums; }
.app-shell.ui01-shell.ui01-active .ui01-status-list small { color: var(--ui01-secondary); font-size: 12px; }
.app-shell.ui01-shell.ui01-active .ui01-status-mark { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: currentColor; }
.app-shell.ui01-shell.ui01-active .ui01-status-mark.tone-working { color: #21c58a; }
.app-shell.ui01-shell.ui01-active .ui01-status-mark.tone-attention { color: #ff6677; }
.app-shell.ui01-shell.ui01-active .ui01-status-mark.tone-setup { color: #f3b638; }
.app-shell.ui01-shell.ui01-active .ui01-status-mark.tone-stale { color: #a86cff; }
.app-shell.ui01-shell.ui01-active .ui01-status-mark.tone-inactive { color: #8b98b1; }
.app-shell.ui01-shell.ui01-active .ui01-status-mark.tone-unknown { color: #c5cedd; }
.app-shell.ui01-shell.ui01-active .ui01-connectivity-value { display: flex; align-items: baseline; gap: 5px; margin: 4px 0 7px; }
.app-shell.ui01-shell.ui01-active .ui01-connectivity-value strong { color: var(--ui01-ink); font-size: 26px; font-weight: 800; }
.app-shell.ui01-shell.ui01-active .ui01-connectivity-value span { color: var(--ui01-secondary); font-size: 12px; }
.app-shell.ui01-shell.ui01-active .ui01-connectivity-segments { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 7px; }
.app-shell.ui01-shell.ui01-active .ui01-connectivity-segment { display: block; width: 16px; height: 18px; border-radius: 5px; background: #e8edf5; }
.app-shell.ui01-shell.ui01-active .ui01-connectivity-segment.tone-connected { background: linear-gradient(180deg,#31d4cf,#2896ff); }
.app-shell.ui01-shell.ui01-active .ui01-connectivity-segment.tone-disconnected { background: #ff8491; }
.app-shell.ui01-shell.ui01-active .ui01-connectivity-segment.tone-unknown { background: #c7d1e0; }
.app-shell.ui01-shell.ui01-active .ui01-connectivity-counts { display: flex; flex-wrap: wrap; gap: 8px; }
.app-shell.ui01-shell.ui01-active .ui01-connectivity-counts span { display: inline-flex; align-items: center; gap: 4px; color: var(--ui01-secondary); font-size: 12px; white-space: nowrap; }
.app-shell.ui01-shell.ui01-active .ui01-connectivity-counts i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.app-shell.ui01-shell.ui01-active .ui01-connectivity-counts .tone-connected { color: #19b98b; }
.app-shell.ui01-shell.ui01-active .ui01-connectivity-counts .tone-disconnected { color: #e85b68; }
.app-shell.ui01-shell.ui01-active .ui01-connectivity-counts .tone-unknown { color: #7c8ba7; }
.app-shell.ui01-shell.ui01-active .ui01-connectivity-note { display: block; margin-top: 5px; color: var(--ui01-secondary); font-size: 12px; }
.app-shell.ui01-shell.ui01-active .ui01-connectivity-empty { display: flex; align-items: center; gap: 8px; color: var(--ui01-muted); font-size: 12px; }
.app-shell.ui01-shell.ui01-active .ui01-connectivity-empty .oxy-icon { width: 16px; height: 16px; }
.app-shell.ui01-shell.ui01-active .ui01-status-empty { padding: 10px; color: var(--ui01-muted); font-size: 12px; }

.app-shell.ui01-shell.ui01-active .ui01-chart-controls { display: flex; width: fit-content; gap: 3px; margin: 0 0 4px; padding: 3px; border: 1px solid var(--oxy-border); border-radius: var(--oxy-radius-control); background: var(--oxy-surface-soft); }
.app-shell.ui01-shell.ui01-active .ui01-chart-controls button { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; padding: 0 11px; border: 1px solid transparent; border-radius: 8px; color: var(--ui01-secondary); background: transparent; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.app-shell.ui01-shell.ui01-active .ui01-chart-controls button[aria-pressed="true"] { border-color: var(--ui01-border); color: var(--ui01-ink); background: #fff; box-shadow: 0 1px 3px rgba(42,76,140,.08); }
.app-shell.ui01-shell.ui01-active .ui01-legend-mark { display: inline-block; width: 8px; height: 8px; border-radius: 50%; }
.app-shell.ui01-shell.ui01-active .ui01-legend-mark.amount { background: var(--ui01-primary); }
.app-shell.ui01-shell.ui01-active .ui01-legend-mark.count { border-radius: 3px; background: var(--ui01-purple); }
.app-shell.ui01-shell.ui01-active .ui01-chart-svg { display: block; width: 100%; min-height: 180px; overflow: visible; }
.app-shell.ui01-shell.ui01-active .ui01-chart-wrap { min-width: 0; }
.app-shell.ui01-shell.ui01-active .ui01-chart-grid { stroke: var(--oxy-border-strong); stroke-width: 1; }
.app-shell.ui01-shell.ui01-active .ui01-chart-axis,
.app-shell.ui01-shell.ui01-active .ui01-chart-date { fill: var(--ui01-secondary); font: 16px var(--oxy-font-family); font-variant-numeric: tabular-nums; }
.app-shell.ui01-shell.ui01-active .ui01-chart-axis-right { text-anchor: end; }
.app-shell.ui01-shell.ui01-active .ui01-chart-date { font-size: 16px; }
.app-shell.ui01-shell.ui01-active .ui01-chart-baseline { stroke: var(--ui01-border-strong); }
.app-shell.ui01-shell.ui01-active .ui01-chart-line { fill: none; stroke-width: 3.5px; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; transition: opacity var(--oxy-motion-fast); }
.app-shell.ui01-shell.ui01-active .ui01-chart-line-amount { stroke: var(--oxy-primary); }
.app-shell.ui01-shell.ui01-active .ui01-chart-area { fill: url(#ui01AmountFill); stroke: none; }
.app-shell.ui01-shell.ui01-active .ui01-chart-point { fill: var(--oxy-surface); stroke-width: 2.5; vector-effect: non-scaling-stroke; transition: opacity var(--oxy-motion-fast); }
.app-shell.ui01-shell.ui01-active .ui01-chart-point-amount { stroke: var(--oxy-primary); }
.app-shell.ui01-shell.ui01-active .ui01-chart-point-amount { stroke-width: 3.25; }
.app-shell.ui01-shell.ui01-active .ui01-chart-bar-count { fill: var(--oxy-purple); fill-opacity: .78; stroke: #8551d6; stroke-width: 1; vector-effect: non-scaling-stroke; transition: fill-opacity var(--oxy-motion-fast); }
.app-shell.ui01-shell.ui01-active .ui01-chart-bar-count:hover,
.app-shell.ui01-shell.ui01-active .ui01-chart-bar-count:focus { fill-opacity: 1; outline: none; }
.app-shell.ui01-shell.ui01-active .ui01-chart-wrap[data-ui01-chart-amount="off"] .ui01-chart-amount-series,
.app-shell.ui01-shell.ui01-active .ui01-chart-wrap[data-ui01-chart-count="off"] .ui01-chart-count-series { display: none; }
.app-shell.ui01-shell.ui01-active .ui01-chart-axis-captions { display: flex; justify-content: space-between; padding: 0 5px; color: var(--ui01-secondary); font-size: 12px; line-height: 16px; }
.app-shell.ui01-shell.ui01-active .ui01-chart-note { display: none; }
.app-shell.ui01-shell.ui01-active .ui01-chart-empty { display: grid; min-height: 188px; place-content: center; justify-items: center; gap: 7px; color: var(--ui01-secondary); text-align: center; }
.app-shell.ui01-shell.ui01-active .ui01-chart-empty > span { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 12px; color: var(--ui01-primary); background: var(--ui01-blue-soft); }
.app-shell.ui01-shell.ui01-active .ui01-chart-empty strong { font-size: 14px; }
.app-shell.ui01-shell.ui01-active .ui01-chart-empty small { color: var(--ui01-secondary); font-size: 12px; }

.app-shell.ui01-shell.ui01-active .ui01-secondary-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: stretch; gap: 10px; margin-top: 10px; }
.app-shell.ui01-shell.ui01-active .ui01-secondary-grid > .ui01-card { min-height: 228px; }
.app-shell.ui01-shell.ui01-active .ui01-top-list,
.app-shell.ui01-shell.ui01-active .ui01-stock-list,
.app-shell.ui01-shell.ui01-active .ui01-attention-list { display: grid; gap: 5px; margin: 0; padding: 0; list-style: none; }
.app-shell.ui01-shell.ui01-active .ui01-top-list li a { display: grid; grid-template-columns: minmax(65px,.75fr) minmax(40px,1fr) 36px; align-items: center; gap: 8px; min-height: 24px; color: var(--ui01-secondary); text-decoration: none; font-size: 13px; }
.app-shell.ui01-shell.ui01-active .ui01-top-list li a > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-shell.ui01-shell.ui01-active .ui01-top-list b { color: var(--ui01-ink); text-align: right; font-size: 13px; }
.app-shell.ui01-shell.ui01-active .ui01-top-track,
.app-shell.ui01-shell.ui01-active .ui01-stock-track { display: block; height: 9px; overflow: hidden; border-radius: 999px; background: #edf2fa; }
.app-shell.ui01-shell.ui01-active .ui01-top-track i { display: block; height: 100%; border-radius: inherit; background: var(--oxy-gradient-analytics); }
.app-shell.ui01-shell.ui01-active .ui01-analytics-note { display: block; margin: 0 0 6px; color: var(--ui01-secondary); font-size: 12px; line-height: 16px; }
.app-shell.ui01-shell.ui01-active .ui01-stock-summary { display: flex; align-items: baseline; gap: 7px; margin-bottom: 7px; }
.app-shell.ui01-shell.ui01-active .ui01-stock-summary strong { color: var(--ui01-ink); font-size: 24px; font-weight: 800; }
.app-shell.ui01-shell.ui01-active .ui01-stock-summary span { color: var(--ui01-secondary); font-size: 13px; }
.app-shell.ui01-shell.ui01-active .ui01-stock-track { height: 10px; margin-bottom: 6px; }
.app-shell.ui01-shell.ui01-active .ui01-stock-track i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#48d993,#25c9c6); }
.app-shell.ui01-shell.ui01-active .ui01-stock-list li { display: flex; justify-content: space-between; gap: 8px; padding: 4px 0; border-top: 1px solid #f0f4fa; font-size: 13px; line-height: 18px; }
.app-shell.ui01-shell.ui01-active .ui01-stock-list a { overflow: hidden; color: var(--ui01-secondary); text-overflow: ellipsis; white-space: nowrap; text-decoration: none; }
.app-shell.ui01-shell.ui01-active .ui01-stock-list span { flex: 0 0 auto; color: #bf5962; }
.app-shell.ui01-shell.ui01-active .ui01-stock-empty,
.app-shell.ui01-shell.ui01-active .ui01-empty,
.app-shell.ui01-shell.ui01-active .ui01-stock-clear { color: var(--ui01-secondary); font-size: 12px; }
.app-shell.ui01-shell.ui01-active .ui01-stock-clear { margin: 8px 0; }
.app-shell.ui01-shell.ui01-active .ui01-attention-card { border-color: #f8e3e5; background: linear-gradient(145deg,#fff,#fff7f8); }
.app-shell.ui01-shell.ui01-active .ui01-attention-card .ui01-card-head h3 { color: var(--ui01-ink); }
.app-shell.ui01-shell.ui01-active .ui01-attention-list a { display: flex; align-items: center; gap: 8px; min-height: 36px; padding: 4px 5px; border-radius: 9px; color: var(--ui01-secondary); text-decoration: none; }
.app-shell.ui01-shell.ui01-active .ui01-attention-list a:hover { background: #fff0f2; }
.app-shell.ui01-shell.ui01-active .ui01-attention-icon { display: block; width: 30px; height: 30px; flex: 0 0 30px; object-fit: contain; }
.app-shell.ui01-shell.ui01-active .ui01-attention-copy { display: grid; min-width: 0; gap: 2px; }
.app-shell.ui01-shell.ui01-active .ui01-attention-copy b { overflow: hidden; color: var(--ui01-ink); font-size: 13px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.app-shell.ui01-shell.ui01-active .ui01-attention-copy small { overflow: hidden; color: var(--ui01-secondary); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.app-shell.ui01-shell.ui01-active .ui01-attention-count { margin-left: auto; color: #d85465; }
.app-shell.ui01-shell.ui01-active .ui01-attention-count .oxy-icon { width: 18px; height: 18px; }
.app-shell.ui01-shell.ui01-active .ui01-attention-clear { display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: 10px; color: #1b9d72; background: #edfaf4; }
.app-shell.ui01-shell.ui01-active .ui01-attention-clear .oxy-icon { width: 17px; height: 17px; }
.app-shell.ui01-shell.ui01-active .ui01-attention-clear span { display: grid; gap: 2px; }
.app-shell.ui01-shell.ui01-active .ui01-attention-clear strong { font-size: 13px; }
.app-shell.ui01-shell.ui01-active .ui01-attention-clear small { color: var(--ui01-secondary); font-size: 12px; }
.app-shell.ui01-shell.ui01-active .ui01-attention-unavailable { color: #8b6a2d; background: #fff7e8; }

.app-shell.ui01-shell.ui01-active .ui01-table-card { margin-top: 10px; padding: 13px; }
.app-shell.ui01-shell.ui01-active .ui01-table-card .ui01-card-head { align-items: center; }
.app-shell.ui01-shell.ui01-active .ui01-table-count { flex: 0 0 auto; color: var(--ui01-secondary); font-size: 12px; }
.app-shell.ui01-shell.ui01-active .ui01-table-tools { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 8px; margin: 0 0 9px; }
.app-shell.ui01-shell.ui01-active .ui01-table-tools label { display: grid; gap: 3px; color: var(--ui01-secondary); font-size: 12px; font-weight: 600; }
.app-shell.ui01-shell.ui01-active .ui01-table-tools input,
.app-shell.ui01-shell.ui01-active .ui01-table-tools select {
  width: 118px;
  height: 34px;
  padding: 0 8px;
  border: 1px solid var(--ui01-border-strong);
  border-radius: 8px;
  color: var(--ui01-ink);
  background: #fff;
  font: inherit;
  font-size: 12px;
}
.app-shell.ui01-shell.ui01-active .ui01-table-tools select { min-width: 105px; }
.app-shell.ui01-shell.ui01-active .ui01-input-wrap { position: relative; display: block; }
.app-shell.ui01-shell.ui01-active .ui01-input-wrap .oxy-icon { position: absolute; top: 8px; left: 8px; width: 14px; height: 14px; color: var(--ui01-muted); }
.app-shell.ui01-shell.ui01-active .ui01-input-wrap input { width: 184px; padding-left: 28px; }
.app-shell.ui01-shell.ui01-active .ui01-registry-link { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 10px; border: 1px solid var(--ui01-border); border-radius: 8px; color: var(--ui01-primary); background: #fff; font-size: 12px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.app-shell.ui01-shell.ui01-active .ui01-registry-link:hover { border-color: var(--ui01-primary); background: var(--ui01-blue-soft); }
.app-shell.ui01-shell.ui01-active .ui01-registry-link .oxy-icon { width: 16px; height: 16px; }
.app-shell.ui01-shell.ui01-active .ui01-table-wrap { width: 100%; max-width: 100%; overflow-x: auto; border: 1px solid var(--ui01-border); border-radius: 10px; }
.app-shell.ui01-shell.ui01-active .ui01-table-wrap table { width: 100%; min-width: 880px; border-collapse: collapse; }
.app-shell.ui01-shell.ui01-active .ui01-table-wrap th { padding: 7px 8px; color: var(--ui01-secondary); background: #f8fbff; text-align: left; font-size: 12px; font-weight: 650; white-space: nowrap; }
.app-shell.ui01-shell.ui01-active .ui01-table-wrap td { height: 42px; padding: 5px 8px; border-top: 1px solid #edf2fa; color: var(--ui01-secondary); font-size: 13px; line-height: 18px; vertical-align: middle; }
.app-shell.ui01-shell.ui01-active .ui01-table-wrap tr:hover td { background: #fbfdff; }
.app-shell.ui01-shell.ui01-active .ui01-table-wrap td:first-child { min-width: 130px; }
.app-shell.ui01-shell.ui01-active .ui01-table-wrap td small { display: block; margin-top: 1px; color: var(--ui01-secondary); font-size: 12px; line-height: 16px; }
.app-shell.ui01-shell.ui01-active .ui01-machine-link { color: var(--ui01-primary); font-size: 14px; font-weight: 700; text-decoration: none; }
.app-shell.ui01-shell.ui01-active .ui01-pill { display: inline-flex; align-items: center; min-height: 22px; padding: 2px 7px; border-radius: 999px; color: var(--ui01-secondary); background: #eef2f8; font-size: 12px; font-weight: 650; white-space: nowrap; }
.app-shell.ui01-shell.ui01-active .ui01-pill.tone-working { color: #11966d; background: #e5f8ef; }
.app-shell.ui01-shell.ui01-active .ui01-pill.tone-attention,
.app-shell.ui01-shell.ui01-active .ui01-pill.tone-error { color: #bd4656; background: #ffeaed; }
.app-shell.ui01-shell.ui01-active .ui01-pill.tone-not_configured { color: #a56e0c; background: #fff4dc; }
.app-shell.ui01-shell.ui01-active .ui01-pill.tone-no_fresh_data { color: #7950b5; background: #f1e9ff; }
.app-shell.ui01-shell.ui01-active .ui01-row-actions { display: flex; gap: 5px; }
.app-shell.ui01-shell.ui01-active .ui01-row-actions a { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 7px; color: var(--ui01-primary); }
.app-shell.ui01-shell.ui01-active .ui01-row-actions a:hover { background: var(--ui01-blue-soft); }
.app-shell.ui01-shell.ui01-active .ui01-row-actions .oxy-icon { width: 18px; height: 18px; }
.app-shell.ui01-shell.ui01-active .ui01-table-empty { padding: 24px; color: var(--ui01-secondary); text-align: center; font-size: 12px; }
.app-shell.ui01-shell.ui01-active .ui01-table-meta { display: flex; justify-content: space-between; gap: 8px; margin: 6px 1px 0; color: var(--ui01-secondary); font-size: 12px; }
.app-shell.ui01-shell.ui01-active .ui01-empty { margin: 9px 0; text-align: center; }
.app-shell.ui01-shell.ui01-active .ui01-skeleton { min-height: 220px; display: grid; place-items: center; border: 1px solid var(--ui01-border); border-radius: 15px; color: var(--ui01-secondary); background: rgba(255,255,255,.65); }
.app-shell.ui01-shell.ui01-active .ui01-error { max-width: 680px; margin: 18px auto; padding: 28px; color: var(--ui01-secondary); }
.app-shell.ui01-shell.ui01-active .ui01-error h2 { margin-top: 0; color: var(--ui01-ink); font-size: 18px; }
.app-shell.ui01-shell.ui01-active .visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

@media (max-width: 1120px) {
  .app-shell.ui01-shell { grid-template-columns: 178px minmax(0,1fr); }
  .app-shell.ui01-shell .sidebar { width: 178px; }
  .app-shell.ui01-shell.ui01-active .page-view { padding: 14px; }
  .app-shell.ui01-shell.ui01-active .ui01-kpis { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .app-shell.ui01-shell.ui01-active .ui01-primary-grid { grid-template-columns: minmax(0,1.6fr) minmax(265px,1fr); }
  .app-shell.ui01-shell.ui01-active .ui01-secondary-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .app-shell.ui01-shell.ui01-active .ui01-attention-card { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  .app-shell.ui01-shell { display: block; }
  .app-shell.ui01-shell .sidebar { position: fixed; z-index: 50; inset: 0 auto 0 0; width: min(290px,84vw); height: 100dvh; min-height: 0; transform: translateX(-105%); transition: transform .18s ease; box-shadow: var(--oxy-shadow-floating); }
  body.drawer-open .app-shell.ui01-shell .sidebar { transform: translateX(0); }
  .app-shell.ui01-shell .drawer-backdrop { position: fixed; z-index: 40; inset: 0; background: rgba(27,37,89,.28); }
  body.drawer-open .app-shell.ui01-shell .drawer-backdrop { display: block; }
  .app-shell.ui01-shell .topbar { display: flex; min-height: 48px; padding: 6px 12px; border: 0; background: transparent; }
  .app-shell.ui01-shell.ui01-active .topbar { display: flex; }
  .app-shell.ui01-shell.ui01-active .topbar > div,
  .app-shell.ui01-shell.ui01-active .topbar-tools { display: none; }
  .app-shell.ui01-shell .menu-button { display: block; width: 34px; height: 34px; }
  .app-shell.ui01-shell .page-view { padding: 8px 12px 22px; }
  .app-shell.ui01-shell.ui01-active .ui01-header { align-items: flex-start; flex-direction: column; }
  .app-shell.ui01-shell.ui01-active .ui01-header-actions { width: 100%; justify-content: flex-start; flex-wrap: wrap; }
  .app-shell.ui01-shell.ui01-active .ui01-primary-grid { grid-template-columns: 1fr; }
  .app-shell.ui01-shell.ui01-active .ui01-side-stack { grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: auto; }
  .app-shell.ui01-shell.ui01-active .ui01-status-card { grid-column: 1 / -1; }
  .app-shell.ui01-shell.ui01-active .ui01-secondary-grid { grid-template-columns: 1fr; }
  .app-shell.ui01-shell.ui01-active .ui01-secondary-grid > .ui01-card { min-height: 0; }
  .app-shell.ui01-shell.ui01-active .ui01-attention-card { grid-column: auto; }
  .app-shell.ui01-shell.ui01-active .ui01-table-tools { justify-content: flex-start; margin: 0 0 8px; }
}
@media (max-width: 540px) {
  .app-shell.ui01-shell.ui01-active .page-view { padding: 7px 10px 20px; }
  .app-shell.ui01-shell.ui01-active .ui01-kpis { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
  .app-shell.ui01-shell.ui01-active .ui01-kpi { min-height: 104px; padding: 9px; }
  .app-shell.ui01-shell.ui01-active .ui01-kpi-label { font-size: 12px; line-height: 16px; }
  .app-shell.ui01-shell.ui01-active .ui01-kpi-value { font-size: 20px; line-height: 26px; }
  .app-shell.ui01-shell.ui01-active .ui01-side-stack { grid-template-columns: 1fr; }
  .app-shell.ui01-shell.ui01-active .ui01-status-card { grid-column: auto; }
  .app-shell.ui01-shell.ui01-active .ui01-status-layout { grid-template-columns: 100px minmax(0,1fr); }
  .app-shell.ui01-shell.ui01-active .ui01-chart-card { padding: 10px; }
  .app-shell.ui01-shell.ui01-active .ui01-chart-svg { min-height: 150px; }
  .app-shell.ui01-shell.ui01-active .ui01-chart-controls { flex-wrap: wrap; }
  .app-shell.ui01-shell.ui01-active .ui01-chart-controls button { font-size: 12px; }
  .app-shell.ui01-shell.ui01-active .ui01-table-card .ui01-card-head { align-items: flex-start; flex-direction: column; }
  .app-shell.ui01-shell.ui01-active .ui01-table-tools label { flex: 1 1 120px; }
  .app-shell.ui01-shell.ui01-active .ui01-table-tools input,
  .app-shell.ui01-shell.ui01-active .ui01-table-tools select,
  .app-shell.ui01-shell.ui01-active .ui01-input-wrap input { width: 100%; }
  .app-shell.ui01-shell.ui01-active .ui01-table-meta { flex-direction: column; }
}
