/* Candidate enhancement; existing Jaban Guide variables remain the visual source. */
#consultForm { display: none !important; }
#videoPlayerModal, #recipeModal, #docModal { display: none !important; }
.jr-panel, .jr-product-links, .jr-resource-card {
  color: var(--color-text, #183442);
  font-family: inherit;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.jr-panel {
  padding: clamp(1.25rem, 4vw, 2rem);
  border: 1px solid #d4e2e7;
  border-radius: 16px;
  background: var(--color-surface, #fff);
}
.jr-panel h2, .jr-panel h3, .jr-product-links h4, .jr-resource-card h3 {
  color: var(--color-primary, #153e53);
  line-height: 1.45;
  margin: 0 0 .7rem;
}
.jr-panel p, .jr-product-links p, .jr-resource-card p { margin: 0 0 .85rem; }
.jr-product-links { border-top: 1px solid #d4e2e7; padding-top: 1.25rem; margin-top: 1.25rem; }
.jr-product-links ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .6rem; }
.jr-product-links li { margin: 0; }
.jr-link, .jr-action {
  color: var(--color-primary, #153e53);
  background: #edf5f7;
  border: 1px solid #b9d0d8;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  min-height: 44px;
  padding: .65rem .9rem;
  text-decoration: none;
  font: inherit;
  font-weight: 700;
  line-height: 1.5;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  text-align: center;
}
.jr-link:hover, .jr-action:hover { background: #dcebf0; }
.jr-product-links .jr-link { display: flex; justify-content: flex-start; text-align: left; }
.jr-actions { display: flex; gap: .65rem; flex-wrap: wrap; align-items: center; }
.jr-note { color: var(--color-text-muted, #52636c); font-size: .9rem; }
.jr-status { display: inline-block; border-radius: 99px; padding: .2rem .65rem; margin-bottom: .65rem; background: #edf5f7; color: #315361; font-size: .85rem; font-weight: 700; }
.jr-resource-card { padding: 1.5rem !important; cursor: auto !important; }
.jr-resource-placeholder { display: grid; place-items: center; min-height: 130px; background: #edf5f7; color: #315361; border-radius: 10px; font-weight: 700; margin-bottom: 1rem; }
.jr-inline-notice { padding: 1rem; border-left: 3px solid #6a96a8; background: #f0f6f8; border-radius: 4px; }
.jr-focus:focus-visible, .jr-link:focus-visible, .jr-action:focus-visible,
.mobile-menu-btn:focus-visible, #mobileDrawer a:focus-visible {
  outline: 3px solid #c46617;
  outline-offset: 4px;
}
#mobileDrawer[hidden], #mobileDrawer[inert] { display: none !important; }
#mobileDrawer[data-jr-menu-state="open"] { display: flex !important; }
.jr-dialog {
  width: min(560px, calc(100% - 2rem));
  max-height: calc(100dvh - 3rem);
  overflow: auto;
  box-sizing: border-box;
  border: 1px solid #bdd2db;
  border-radius: 16px;
  padding: 1.5rem;
  color: var(--color-text, #183442);
  background: #fff;
  font-family: inherit;
  line-height: 1.75;
  box-shadow: 0 20px 60px #152f4440;
}
.jr-dialog::backdrop { background: #132e45aa; }
.jr-dialog h2 { color: var(--color-primary, #153e53); font-size: 1.35rem; margin: 0 0 1rem; line-height: 1.5; }
.jr-dialog p { margin: 0 0 1rem; }
.jr-dialog-close { float: right; margin: 0 0 .8rem 1rem; }
.jr-dialog-fallback[open] { display: block; position: fixed; z-index: 10000; inset: 50% auto auto 50%; transform: translate(-50%, -50%); margin: 0; }
.jr-dialog-fallback:not([open]) { display: none; }
@media (max-width: 480px) {
  .jr-actions { display: grid; }
  .jr-actions > * { width: 100%; }
  .jr-panel { padding: 1.25rem; }
  .jr-dialog { padding: 1.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  #mobileDrawer, .jr-dialog, .jr-link, .jr-action { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* B03 Resource presentation extensions */
.badge-published {
  background: #e0f2fe;
  color: #0369a1 !important;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}
.badge-purchaser {
  background: #f1f5f9;
  color: #475569 !important;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}
.jr-btn-download {
  background: var(--color-primary, #0f172a);
  color: #fff !important;
  padding: 0.65rem 1.25rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
}
.jr-btn-download:hover {
  opacity: 0.9;
}
.jr-purchaser-notice {
  background: #f8fafc;
  border-left: 3px solid #94a3b8;
  padding: 0.5rem 0.75rem;
  border-radius: 0 4px 4px 0;
}
.jr-recipe-steps {
  background: #f8fafc;
  padding: 0.75rem 1rem 0.75rem 2rem;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}

