/* Local candidate only. Home interaction cues use the authorization attributes
   already supplied by navigation.js; no destinations or behaviors are changed.
   Dimensions, assets, typography, media and the central composition stay intact. */

/* Restrict clickable cues to controls positively marked available. Sector
   containers also carry data-a53-nav, but only their existing heading controls
   carry aria-disabled: do not make the entire media card look like a button. */
.canvas:has(> .overview) [data-a53-nav][aria-disabled="false"],
.canvas:has(> .overview) .a53-canonical-menu a[href] {
  cursor: pointer;
}

.canvas:has(> .overview) [data-a53-nav][aria-disabled="true"],
.canvas:has(> .overview) .microphone[aria-disabled="true"] {
  cursor: not-allowed;
}

/* Gold #82590f exceeds 3:1 against white and the existing pale-gold rail
   selection. An inset ring avoids changing the dimensions of the icon rail. */
.canvas:has(> .overview) > .rail .rail-item[aria-disabled="false"]:hover {
  border-radius: 11px;
  background-color: #fff7e5;
  box-shadow: inset 0 0 0 1px #82590f, 0 2px 6px #82590f1a;
}

.canvas:has(> .overview) > .rail .menu-control[aria-disabled="false"]:hover > span {
  box-shadow: inset 0 0 0 1px #82590f, 0 2px 6px #82590f1a;
}

.canvas:has(> .overview) > .rail .rail-item[aria-disabled="true"] > .icon {
  opacity: 0.55;
}

/* A hover ring on the existing targets reveals interaction without moving
   them or introducing new visible controls. Existing title labels remain. */
.canvas:has(> .overview) :is(.metric, .analyze, .deliveries, .question)[data-a53-nav][aria-disabled="false"]:hover {
  box-shadow: inset 0 0 0 1px #82590f;
}

.canvas:has(> .overview) .sector-heading[data-a53-nav][aria-disabled="false"]:hover {
  background-color: #fff4d9;
  box-shadow: none;
  text-decoration: none;
}

.canvas:has(> .overview) .a53-canonical-menu a[href]:hover {
  background-color: #fff4d9;
  box-shadow: inset 0 0 0 1px #82590f;
}

/* Available controls only. The outline occupies no layout space; the inset
   variant stays visible in the narrow rail and inside clipped sector cards. */
.canvas:has(> .overview) [data-a53-nav][aria-disabled="false"]:focus-visible,
.canvas:has(> .overview) .a53-canonical-menu a[href]:focus-visible,
.canvas:has(> .overview) .a53-canonical-menu input:focus-visible {
  outline: 2px solid #82590f;
  outline-offset: 2px;
}

.canvas:has(> .overview) > .rail .rail-item[aria-disabled="false"]:focus-visible,
.canvas:has(> .overview) .sector-heading[aria-disabled="false"]:focus-visible {
  outline-offset: -2px;
}

/* Keep disabled sector labels readable and distinct without changing their
   existing permission state or hiding them. */
.canvas:has(> .overview) .sector-heading[aria-disabled="true"] {
  color: #696458;
}
