/* ORD-0078 · the section index sheet, shared by every shell (see
   mcs_section_index.js). The structure is the Claims Portal Settings
   page's (ORD-0050 slab 2, the page he said he loves): the index sticks
   on the left under the top bar, the boxes sit in a column on the right,
   the page heading spans both. Applied only while the engine has put the
   page into two columns (.six-on); otherwise every rule here is inert.
   The tokens fall back to their shell's values so the same sheet serves
   the Admin family and the Waypoint Center. */
.view.six-on.active, .page.six-on.active {
  /* !important because the Waypoint Center's own `.page.active` rule is
     itself !important (display:block); importance ties, then this
     selector's higher specificity wins — the cascade test pins it */
  display: grid !important;
  grid-template-columns: minmax(0, 212px) minmax(0, 1fr);
  gap: 18px; align-items: start;
}
.six-on > .page-header { grid-column: 1 / -1; }
.six-on > .six-index { grid-column: 1; }
.six-on > .six-body { grid-column: 2; min-width: 0; }
.six-index {
  position: sticky; top: calc(var(--topbar-h, 60px) + 16px);
  background: #fff; border: 1px solid var(--border, #E2E8F0); border-radius: var(--radius-lg, 12px);
  box-shadow: var(--shadow, 0 1px 3px rgba(0,0,0,.08)); padding: 10px;
  display: flex; flex-direction: column; gap: 2px;
}
.six-index[hidden] { display: none; }
.six-ig {
  font-size: 10.5px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
  color: var(--text-muted, #64748B); margin: 0 6px 3px;
}
.six-ii {
  display: block; padding: 5px 8px; font-size: 12.5px; color: var(--text, #1E293B);
  border-left: 2px solid transparent; border-radius: 0 6px 6px 0;
  cursor: pointer; text-decoration: none; user-select: none;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.six-ii:hover { background: var(--bg, #F1F5F9); }
.six-ii:focus-visible { outline: 2px solid var(--carolina, #4B9CD3); outline-offset: -2px; }
.six-ii.on { background: #EAF3FA; border-left-color: var(--carolina, #4B9CD3); font-weight: 600; color: var(--mc-navy, var(--navy, #1B3A6B)); }
.six-keep { display: none; }
@media (max-width: 900px) {
  .view.six-on.active, .page.six-on.active { grid-template-columns: 1fr; }
  .six-on > .six-index, .six-on > .six-body { grid-column: 1; }
  .six-index { position: static; flex-direction: row; flex-wrap: wrap; }
  .six-ig { width: 100%; }
}

/* ORD-0093 (2026-09-08): the entry is a label with a control beside it
   that opens the box in its own window; a click answers on the spot — the
   entry lights and the box pulses where it landed. */
.six-ii { display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.six-il { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.six-pop {
  flex: none; border: 0; background: transparent; color: var(--text-muted, #64748B);
  font: inherit; font-size: 13px; line-height: 1; padding: 2px 4px; border-radius: 4px;
  cursor: pointer; opacity: .55;
}
.six-ii:hover .six-pop, .six-pop:focus-visible { opacity: 1; }
.six-pop:hover { background: #fff; color: var(--mc-navy, var(--navy, #1B3A6B)); }
.six-pop:focus-visible { outline: 2px solid var(--carolina, #4B9CD3); outline-offset: 1px; }
@keyframes six-hit {
  0%   { box-shadow: 0 0 0 0 rgba(75, 156, 211, .0); }
  25%  { box-shadow: 0 0 0 4px rgba(75, 156, 211, .55); }
  100% { box-shadow: 0 0 0 0 rgba(75, 156, 211, 0); }
}
.six-hit { animation: six-hit 1.4s ease-out; }
@media (prefers-reduced-motion: reduce) {
  .six-hit { animation: none; box-shadow: 0 0 0 3px rgba(75, 156, 211, .55); }
}
