/* Shared interaction timings follow Animate UI's CSS-driven menu and press recipes. */
:root {
  --motion-soft: cubic-bezier(.215, .61, .355, 1);
  --motion-menu: 220ms;
  --motion-press: 120ms;
}

.brand-mark {
  background: var(--night);
  box-shadow: none;
  border-radius: 9px;
}

.workspace-chrome {
  column-gap: clamp(12px, 1.65vw, 24px);
  background: var(--surface);
  border-color: var(--line);
}

.chrome-link[aria-current="page"], .chrome-more-trigger.chrome-current {
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.chrome-more-menu {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(552px, calc(100vw - 36px));
  max-height: min(550px, 73dvh, var(--radix-popover-content-available-height, 73dvh));
  padding: 7px;
  gap: 5px;
  box-shadow: 0 10px 32px #18181b1a;
}
.chrome-recruiting-menu {
  grid-template-columns: minmax(0, 1fr);
  width: min(308px, calc(100vw - 36px));
}
.chrome-more-section { min-width: 0; padding: 6px; }
.chrome-more-section + .chrome-more-section { border-inline-start: 1px solid var(--line); }
.chrome-more-label {
  margin: 3px 7px 4px;
  color: var(--muted);
  font-size: .76rem;
  font-weight: 650;
}
.chrome-more-menu .chrome-link {
  display: flex;
  align-items: start;
  min-height: 44px;
  margin: 2px 0;
  padding: 8px;
  gap: 9px;
  white-space: normal;
}
.chrome-more-menu .nav-icon { margin-top: 3px; }
.chrome-link-copy { display: grid; gap: 2px; min-width: 0; }
.chrome-link-copy strong { font-weight: 645; color: inherit; }
.chrome-link-copy small { color: var(--muted); font-size: .73rem; line-height: 1.4; font-weight: 450; }

.candidate-dossier .button-primary,
.self-booking-page .button-primary,
.workroom-mode .button-primary {
  background: var(--accent);
  color: var(--surface);
}
.candidate-dossier .button-primary:hover,
.self-booking-page .button-primary:hover,
.workroom-mode .button-primary:hover { background: var(--accent-strong); color: var(--surface); }

.governance-state { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.governance-effects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 17px 0 8px; }
.governance-effects > div { padding: 12px; background: var(--canvas); border-radius: 8px; }
.governance-effects dt { font-weight: 650; }
.governance-effects dd { margin: 4px 0 0; color: var(--muted); }
.governance-run-result { margin-top: 12px; color: var(--muted); }
.finance-policy-summary { margin: 0; overflow-wrap: anywhere; }

@media (max-width: 1050px) {
  .chrome-more-menu[data-mobile-navigation] .chrome-more-section + .chrome-more-section {
    border-inline-start: 0;
    border-top: 1px solid var(--line);
  }
}
@media (max-width: 580px) {
  .chrome-more-menu { grid-template-columns: minmax(0, 1fr); }
  .chrome-more-section + .chrome-more-section { border-inline-start: 0; border-top: 1px solid var(--line); }
  .governance-effects { grid-template-columns: minmax(0, 1fr); }
  .governance-effects > div { padding: 10px; }
}

@media (prefers-reduced-motion: no-preference) {
  .button-primary { transition: background-color var(--motion-press); }
}
