/* A compact, consistent route menu and visible researcher account actions. */
header.pr-site-header {
  display:flex !important;
  align-items:center !important;
  flex-direction:row !important;
  justify-content:space-between !important;
  flex-wrap:nowrap !important;
  gap:16px !important;
  min-height:76px;
  padding:12px clamp(16px,3vw,48px) !important;
  z-index:1000 !important;
}
header.pr-site-header > .brand,
header.pr-site-header > .workspace-brand,
header.pr-site-header > .coach-brand,
header.pr-site-header > .projects-brand {
  flex:0 0 auto;
  white-space:nowrap;
}
.pr-module-menu { position:relative; margin-left:auto; flex:0 0 auto; }
.pr-module-menu summary {
  display:flex;
  align-items:center;
  gap:8px;
  cursor:pointer;
  list-style:none;
  padding:10px 15px;
  border:1px solid #cbd5e1;
  border-radius:12px;
  background:#fff;
  color:#25334a;
  font:700 .94rem/1.25 Inter,ui-sans-serif,system-ui,sans-serif;
  white-space:nowrap;
}
.pr-module-menu summary::-webkit-details-marker { display:none; }
.pr-module-menu summary::after { content:"▾"; color:#4f46e5; font-size:1rem; }
.pr-module-menu[open] summary::after { transform:rotate(180deg); }
header.pr-site-header .pr-module-menu > nav {
  position:absolute !important;
  right:0;
  top:calc(100% + 12px);
  z-index:1001;
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-items:stretch;
  gap:6px !important;
  width:min(600px,calc(100vw - 32px));
  max-height:min(74vh,620px);
  overflow-y:auto !important;
  margin:0 !important;
  padding:14px !important;
  border:1px solid #d7e0eb;
  border-radius:18px;
  background:#fff;
  box-shadow:0 20px 54px rgba(15,23,42,.18);
}
header.pr-site-header .pr-module-menu > nav a {
  display:flex;
  align-items:center;
  min-height:42px;
  margin:0 !important;
  padding:8px 10px !important;
  border:0 !important;
  border-radius:10px !important;
  background:transparent;
  color:#334155 !important;
  text-decoration:none;
  font:700 .9rem/1.3 Inter,ui-sans-serif,system-ui,sans-serif;
  white-space:normal !important;
}
header.pr-site-header .pr-module-menu > nav a:hover,
header.pr-site-header .pr-module-menu > nav a[aria-current="page"] {
  background:#edf3ff !important;
  color:#1d4ed8 !important;
}
.pr-account-actions { display:flex; align-items:center; gap:8px; flex:0 0 auto; white-space:nowrap; }
.pr-account-actions a {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:9px 14px;
  border:1px solid #c7d2e5;
  border-radius:12px;
  background:#fff;
  color:#233a74;
  text-decoration:none;
  font:800 .9rem/1.2 Inter,ui-sans-serif,system-ui,sans-serif;
}
.pr-account-actions .pr-account-signin,
.pr-account-actions .pr-account-projects {
  background:#304de3;
  color:#fff;
  border-color:#304de3;
}
.pr-account-actions a:hover,.pr-module-menu summary:hover { box-shadow:0 4px 14px rgba(29,78,216,.14); }
.pr-account-actions a:focus-visible,.pr-module-menu summary:focus-visible,
.pr-module-menu nav a:focus-visible { outline:3px solid #8497ff; outline-offset:3px; }
@media(max-width:700px) {
  header.pr-site-header {
    display:grid !important;
    grid-template-columns:minmax(0,1fr) auto;
    gap:8px !important;
  }
  header.pr-site-header > .brand,
  header.pr-site-header > .workspace-brand,
  header.pr-site-header > .coach-brand,
  header.pr-site-header > .projects-brand { white-space:normal; }
  .pr-module-menu { grid-column:2;grid-row:1; }
  .pr-account-actions { grid-column:1/-1;grid-row:2;justify-content:flex-end; }
  header.pr-site-header .pr-module-menu > nav { grid-template-columns:1fr;width:calc(100vw - 32px); }
}
@media(max-width:420px) {
  .pr-module-menu summary { padding:9px 11px;font-size:.83rem; }
  .pr-account-actions a { min-height:38px;padding:8px 11px;font-size:.82rem; }
}
@media print {
  header.pr-site-header { display:none !important; }
  body { background:#fff !important; }
  .pr-account-actions { display:none !important; }
}
