/* Secondary navigation changes presentation only; business modules own [hidden]. */
.sp-managed { min-width: 0; }
.sp-page-inactive { display: none !important; }
.sp-managed .sp-grid { grid-template-columns: minmax(0, 1fr); min-width: 0; }
.sp-managed .sp-grid > * { min-width: 0; }
.sp-container { min-width: 0; margin-top: 0; }
.sp-container > summary { display: none; }
.sp-managed > .og-guide { display: none; }
.sp-managed > .section-heading > div:has(h2), .sp-container > .section-heading > div:has(h2) { display: none; }
.sp-managed > .section-heading, .sp-container > .section-heading { margin-bottom: 12px; justify-content: flex-end; }
.sp-title:focus { outline: none; }
/* The product workspace renders its own current screen title and guidance. */
#products:has(#product-workspace:not(.sp-page-inactive)) > .sp-shell .sp-current { display: none; }
.sp-task-pages { margin: 16px 0 20px; padding-bottom: 14px; border-bottom: 1px solid var(--line, #dfe1e6); }
.sp-help { margin: 0 0 16px; color: var(--muted, #646872); font-size: 13px; }
.sp-help > summary { display: list-item; cursor: pointer; width: fit-content; min-height: 44px; padding: 12px 0; }
.sp-help .section-copy { margin: 4px 0 14px; font-size: 13px; }

.sp-shell {
  min-width: 0;
  margin: 0 0 22px;
  padding: 0 0 20px;
  border-bottom: 1px solid var(--line, #dfe1e6);
}
.sp-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  min-width: 0;
  margin: 0 0 10px;
  color: var(--muted, #646872);
  font-size: 13px;
  line-height: 1.55;
}
.sp-breadcrumb a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  max-width: 100%;
  color: var(--muted, #646872);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.sp-breadcrumb a:hover { color: var(--red-dark, #b8001c); text-decoration: underline; }
.sp-breadcrumb span { min-width: 0; overflow-wrap: anywhere; }
.sp-pages {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}
.sp-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 0;
  max-width: 100%;
  padding: 10px 15px;
  border: 1px solid var(--line, #dfe1e6);
  border-radius: 9px;
  color: var(--ink, #111216);
  background: var(--surface, #fff);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
  touch-action: manipulation;
}
.sp-link:hover { border-color: var(--red, #e60024); color: var(--red-dark, #b8001c); }
.sp-link.is-active,
.sp-link[aria-current="page"] {
  color: var(--red-dark, #b8001c);
  background: var(--red-soft, #fff1f3);
  border-color: var(--red, #e60024);
  box-shadow: inset 0 -2px var(--red, #e60024);
}
.sp-link:focus-visible,
.sp-breadcrumb a:focus-visible {
  outline: 3px solid var(--ink, #111216);
  outline-offset: 3px;
}
.sp-current { min-width: 0; margin-top: 18px; }
.sp-mobile-picker { display: none; }
@media (max-width: 620px) {
  .sp-shell > .sp-pages:has(+ .sp-mobile-picker) { display: none; }
  .sp-mobile-picker { display: grid; gap: 4px; color: var(--muted, #646872); font-size: 13px; }
  .sp-mobile-picker select { width: 100%; min-width: 0; min-height: 44px; font-size: 16px; }
}
.sp-title {
  margin: 0;
  color: var(--ink, #111216);
  font-size: 20px;
  font-weight: 750;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.sp-description {
  max-width: 76ch;
  margin: 6px 0 0;
  color: var(--muted, #646872);
  font-size: 14px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.sp-empty {
  min-width: 0;
  margin: 16px 0;
  padding: 20px;
  color: var(--muted, #646872);
  background: var(--surface, #fff);
  border: 1px solid var(--line, #dfe1e6);
  border-left: 3px solid var(--red, #e60024);
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

@media (max-width: 620px) {
  .sp-shell { margin-bottom: 16px; padding-bottom: 16px; }
  .sp-pages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .sp-link { width: 100%; padding: 10px 9px; font-size: 13px; }
  .sp-current { margin-top: 16px; }
  .sp-title { font-size: 18px; }
  .sp-description, .sp-empty { font-size: 13px; }
  .sp-empty { padding: 16px; }
}
