/* Compact introductions and primary actions without shrinking ordinary form controls. */
:root { --wf-green: #0d653d; }
body .rich-cover { height: 112px; }
body .rich-identity { gap: 14px; padding: 0 20px 12px; }
body .rich-avatar.large { width: 80px; height: 80px; margin-top: -30px; border-width: 4px; }
body .rich-avatar.large b { font-size: 1.1rem; }
body .rich-identity h1 { font-size: var(--ds-page-title, clamp(1.55rem, 2vw, 1.8rem)); line-height: 1.2; margin: 3px 0; }
body .rich-identity strong { font-size: .82rem; }
body .rich-identity p { margin-top: 5px; gap: 10px; }
body .rich-metrics { gap: 22px; padding: 10px 20px; }
body .rich-columns { margin-top: 14px; gap: 14px; }
body .rich-main, body .rich-columns aside { gap: 14px; }
body .rich-page button.primary,
body .rich-page button.secondary,
body .rich-hero-actions button { min-height: 36px; padding: 7px 11px; font-size: .72rem; gap: 5px; }
body .rich-page button.primary { background: #086b3c !important; border: 1px solid #086b3c !important; color: #fff !important; padding: 7px 11px !important; font-size: .72rem !important; }
body .rich-page button.secondary { background: #fff; border: 1px solid #cbded2; color: #086b3c; }
body .rich-hero-actions button svg { width: 15px; height: 15px; }

body .rich-company-page .rich-company-cover { height: 96px; }
body .rich-company-cover-fallback svg { width: 52px; height: 52px; }
body .rich-company-page .rich-avatar.large.company { width: 68px; height: 68px; margin-top: -24px; }
body .rich-company-page .rich-company-heading h1 { font-size: var(--ds-page-title, clamp(1.55rem, 2vw, 1.8rem)); }
body .rich-company-page .rich-identity { gap: 12px; padding: 0 18px 11px; }
body .rich-company-page .rich-metrics { padding: 8px 16px; }

body .learning-course-hero { min-height: 0; gap: 1rem; padding: clamp(1rem, 2vw, 1.25rem); border-radius: var(--ds-radius-md, .85rem); }
body .learning-course-hero__visual { min-height: 8rem; max-height: 12rem; align-self: center; }
body .learning-course-hero__content > .learning-button { margin-top: .8rem; }
body .learning-course-hero__meta { margin-top: .7rem; }
body .company-diagnostic-score,
body .company-diagnostic-result-summary { padding: clamp(1rem, 2vw, 1.3rem); }
body .company-diagnostic-score strong { font-size: clamp(1.55rem, 2.5vw, 2rem); }
body .company-diagnostic-result-summary h2 { font-size: var(--ds-banner-title, 1.35rem); }
body .company-diagnostic-next { margin-top: 1rem; padding: 1rem; }

body .ds-button { min-height: 2.4rem; padding: .52rem .78rem; }
body .mp-journey > header button,
body .wf-page-action button { min-height: 38px; padding: .45rem .75rem; font-size: .78rem; }

@media (max-width: 620px) {
  body .rich-cover { height: 84px; }
  body .rich-avatar.large { width: 66px; height: 66px; margin-top: -23px; }
  body .rich-identity { gap: 10px; padding: 0 13px 11px; }
  body .rich-identity > div:nth-child(2) { flex-basis: calc(100% - 80px); }
  body .rich-identity h1 { font-size: 1.3rem; }
  body .rich-metrics { padding: 9px 13px; gap: 10px; }
  body .rich-company-page .rich-company-cover { height: 76px; }
  body .rich-company-page .rich-avatar.large.company { width: 58px; height: 58px; margin-top: -20px; }
  body .rich-company-page .rich-identity { padding: 0 12px 10px; }
  body .rich-page button.primary,
  body .rich-page button.secondary,
  body .rich-hero-actions button,
  body .mp-journey > header button,
  body .wf-page-action button { min-height: 40px; }
  body .rich-page:not(.rich-company-page) .rich-hero-actions { display: flex !important; flex-wrap: wrap; width: 100%; gap: .4rem; }
  body .rich-page:not(.rich-company-page) .rich-hero-actions button { flex: 1 1 auto; min-width: 0; padding: .45rem .5rem !important; font-size: .67rem !important; white-space: nowrap; }
  body .ds-button { min-height: 2.5rem; }
}

.nexo-operation-notices {
  position: fixed;
  z-index: 10020;
  top: 5.25rem;
  right: 1rem;
  display: grid;
  gap: .6rem;
  width: min(22rem, calc(100vw - 2rem));
  pointer-events: none;
}
.nexo-operation-notice {
  display: grid;
  grid-template-columns: 1.4rem minmax(0, 1fr) auto;
  align-items: start;
  gap: .65rem;
  padding: .85rem;
  border: 1px solid #d5e6da;
  border-radius: .8rem;
  background: #fff;
  box-shadow: 0 12px 34px #123c2830;
  color: #123d2b;
  pointer-events: auto;
  animation: nexo-operation-in .18s ease-out;
}
.nexo-operation-notice.is-error { border-color: #e7bcb7; }
.nexo-operation-notice__icon {
  display: grid;
  width: 1.4rem;
  height: 1.4rem;
  place-items: center;
  border-radius: 50%;
  background: #e8f5eb;
  color: #116b40;
  font-size: .85rem;
  font-weight: 800;
}
.nexo-operation-notice.is-loading .nexo-operation-notice__icon {
  border: 2px solid #cfe5d5;
  border-top-color: #167744;
  background: transparent;
  animation: nexo-operation-spin .8s linear infinite;
}
.nexo-operation-notice.is-error .nexo-operation-notice__icon { background: #fff0ed; color: #a83c32; }
.nexo-operation-notice__copy { min-width: 0; }
.nexo-operation-notice__copy strong { display: block; font-size: .78rem; line-height: 1.35; }
.nexo-operation-notice__copy span { display: block; margin-top: .15rem; color: #5e7567; font-size: .7rem; line-height: 1.4; }
.nexo-operation-notice__close { border: 0; border-radius: .35rem; background: transparent; color: #6e8175; cursor: pointer; font-size: 1rem; line-height: 1; padding: .1rem .25rem; }
.nexo-operation-notice__close:hover { background: #edf5ef; }
@keyframes nexo-operation-spin { to { transform: rotate(360deg); } }
@keyframes nexo-operation-in { from { opacity: 0; transform: translateY(-.4rem); } }
@media (max-width: 640px) { .nexo-operation-notices { top: 4.75rem; left: .75rem; right: .75rem; width: auto; } }
@media (prefers-reduced-motion: reduce) { .nexo-operation-notice, .nexo-operation-notice.is-loading .nexo-operation-notice__icon { animation-duration: .01ms; } }
