/* Design tokens (colors, type, fonts) are already loaded globally by the
   page via colors_and_type.css, so we don't re-import them here.

   The Producer Co-pilot was authored with a global border-box reset; the
   Policy Owner experience was not. To avoid perturbing PO layouts we scope
   these resets to the producer subtree (.producer-shell) only. The class
   utilities below are safe globally — they only take effect where their
   class is actually used (producer screens + the experience menu). */
.producer-shell, .producer-shell *, .producer-shell *::before, .producer-shell *::after { box-sizing: border-box; }

.producer-shell button { font: inherit; cursor: pointer; }

.helm-star {
  display: inline-block;
  width: 1em;
  height: 1em;
  background: currentColor;
  -webkit-mask: url('helm/icons/icon_ai.svg') center / contain no-repeat;
          mask: url('helm/icons/icon_ai.svg') center / contain no-repeat;
}

/* Ink card surface — Helm's signature paper feel */
.ink-card {
  background: var(--helm-white);
  border: 1px solid var(--helm-dark-green);
  box-shadow: var(--shadow-card);
  border-radius: var(--r-5);
}

/* Pill buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--r-pill);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  border: none;
  cursor: pointer;
  transition: transform 80ms ease, opacity 120ms ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--helm-chartreuse-2); color: var(--helm-white); }
.btn-secondary { background: var(--helm-soft-chartreuse); color: var(--helm-white); }
.btn-ghost {
  background: transparent;
  color: var(--helm-dark-green);
  border: 1px solid var(--helm-dark-green);
}
.btn-ghost-light {
  background: transparent;
  color: var(--helm-white);
  border: 1px solid rgba(254,252,245,0.4);
}

/* Chips */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  font-family: var(--font-sans);
}
.chip-soft { background: rgba(193,201,131,0.5); color: var(--helm-chartreuse-2); }
.chip-lemon { background: var(--helm-lemon); color: var(--helm-dark-green); }
.chip-ink { background: var(--helm-dark-green); color: var(--helm-white); }
.chip-outline {
  background: transparent;
  border: 1px solid var(--helm-dark-ecru);
  color: var(--helm-dark-green);
}

/* Marc page background */
.marc-page {
  position: absolute;
  inset: 0;
  background: var(--helm-white);
  overflow: hidden;
  font-family: var(--font-sans);
  color: var(--helm-dark-green);
}

/* Common overlay scrim */
.scrim {
  position: absolute;
  inset: 0;
  background: rgba(0,29,0,0.45);
  pointer-events: none;
}

/* AI prose used for the editorial register */
.ai-prose {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: normal;
  font-size: 18px;
  line-height: 28px;
  color: var(--helm-dark-green);
}

/* small dashed connector / used for sankey-y overlays */
.dotted-rule {
  border: none;
  border-top: 1px dashed currentColor;
  opacity: 0.5;
  margin: 0;
}

/* helm logo lockup */
.lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 18px;
  color: var(--helm-dark-green);
}
.lockup .divider { width: 1px; height: 20px; background: var(--helm-dark-green); opacity: 0.4; }
