:root {
  --oe-main-nav-width: 232px;
  --oe-secondary-nav-width: 220px;
  --oe-content-left: 452px;
  --oe-header-height: 56px;
}

.orange-secondary-rail {
  position: fixed;
  left: var(--oe-main-nav-width);
  top: var(--oe-header-height);
  bottom: 0;
  z-index: 10015;
  box-sizing: border-box;
  width: var(--oe-secondary-nav-width);
  overflow-x: hidden;
  overflow-y: auto;
  padding: 20px 12px 26px;
  border-right: 1px solid #e5ddd2;
  background: #fff;
  color: #2c2721;
  box-shadow: 4px 0 18px rgba(61, 45, 27, .035);
  font: 14px/1.45 "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  scrollbar-width: thin;
  scrollbar-color: #d5c5b1 transparent;
}

.orange-secondary-rail::-webkit-scrollbar { width: 5px; }
.orange-secondary-rail::-webkit-scrollbar-thumb { border-radius: 8px; background: #d5c5b1; }
.orange-secondary-rail::-webkit-scrollbar-track { background: transparent; }
.orange-secondary-rail * { box-sizing: border-box; }

.orange-secondary-head {
  padding: 0 10px 17px;
  border-bottom: 1px solid #eee7de;
}
.orange-secondary-head span {
  display: block;
  margin-bottom: 4px;
  overflow: hidden;
  color: #a47332;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.orange-secondary-head h2 {
  margin: 0;
  overflow: hidden;
  color: #29241f;
  font-size: 21px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.orange-secondary-menu {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-top: 13px;
}
.orange-secondary-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
}
.orange-secondary-group + .orange-secondary-group {
  padding-top: 17px;
  border-top: 1px solid #eee7de;
}
.orange-secondary-group h3 {
  margin: 0;
  padding: 0 12px 4px;
  color: #a09384;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .12em;
}
.orange-secondary-group-items {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.orange-secondary-menu a,
.orange-secondary-menu button {
  display: flex;
  width: 100%;
  min-height: 42px;
  align-items: center;
  padding: 0 12px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 9px;
  outline: 0;
  background: transparent;
  color: #62594f;
  font: inherit;
  font-weight: 500;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}
.orange-secondary-menu a span,
.orange-secondary-menu button span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.orange-secondary-menu a:hover,
.orange-secondary-menu button:hover {
  border-color: #eadfce;
  background: #faf6f0;
  color: #3f3020;
}
.orange-secondary-menu a.active,
.orange-secondary-menu button.active {
  border-color: #dfc7a3;
  background: #efe5d7;
  color: #7d5728;
  font-weight: 700;
}
.orange-secondary-menu a.active::before,
.orange-secondary-menu button.active::before {
  width: 4px;
  height: 18px;
  flex: none;
  margin-right: 9px;
  border-radius: 5px;
  background: #b58240;
  content: "";
}

/* These enhanced settings surfaces are mounted after the navigation script.
   Keep their content aligned even when their legacy module writes an inline
   left offset or a narrow-screen rule. */
.store-profile-pro,
#pageDecoration,
.store-settings-overlay,
.frontdesk-theme-settings,
.cloud-services-page {
  left: var(--oe-content-left) !important;
  top: var(--oe-header-height) !important;
}

.frontdesk-theme-settings .fts-actions {
  left: var(--oe-content-left) !important;
}
