/* ENTHORIS marketing tokens and shared component rules. */
:where(body.premium-site, body.rg-site, body.enthoris-marketing) {
  --ent-ink: #102a43;
  --ent-ink-strong: #0c2440;
  --ent-text-muted: #475569;
  --ent-teal: #087f78;
  --ent-teal-dark: #06655f;
  --ent-teal-soft: #e7f5f3;
  --ent-action: #0b7972;
  --ent-accent: #0d9488;
  --ent-accent-text: #0f766e;
  --ent-secondary: #1e40af;
  --ent-slate: #50677a;
  --ent-canvas: #f4f9fc;
  --ent-canvas-alt: #f5f9fc;
  --ent-muted-surface: #d9eaf0;
  --ent-highlight: #e8f5f3;
  --ent-surface: #fff;
  --ent-border-neutral: #e2e8f0;
  --ent-border: #dbe6ec;
  --ent-border-strong: #c6d9e2;
  --ent-input-border: #9eb4bd;
  --ent-success: #167c57;
  --ent-warning: #9b6415;
  --ent-error: #b42318;
  --ent-information: var(--ent-secondary);
  --ent-disabled: #64748b;
  --ent-radius-sm: 10px;
  --ent-radius-action: 11px;
  --ent-radius-md: 15px;
  --ent-radius-lg: 20px;
  --ent-radius-legacy-card: 18px;
  --ent-radius-elevated: 26px;
  --ent-shadow: 0 13px 36px rgba(16,42,67,.065);
  --ent-shadow-elevated: 0 18px 50px rgba(16,42,67,.11);
  --ent-shadow-soft: 0 10px 28px rgba(16,42,67,.07);
  --ent-focus: #e9a52c;
  --ent-space-1: 4px;
  --ent-space-2: 8px;
  --ent-space-3: 12px;
  --ent-space-4: 16px;
  --ent-space-5: 20px;
  --ent-space-6: 24px;
  --ent-space-8: 32px;
  --ent-space-10: 40px;
  --ent-space-12: 48px;
  --ent-space-16: 64px;
  --ent-space-20: 80px;
  --ent-space-24: 96px;
  --ent-container-content: 1180px;
  --ent-container-detail: 1160px;
  --ent-container-wide: 1320px;
  --ent-container-article: 820px;
  --ent-container-form: 840px;
  --ent-container-regional: 1120px;
  --ent-font-ui: Inter, "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif;
  --ent-font-regional: system-ui, -apple-system, "Nirmala UI", "Mangal", sans-serif;
  --ent-text-body: 1rem;
  --ent-text-supporting: .875rem;
  --ent-text-label: .75rem;
  --ent-text-page-heading: clamp(2.125rem, 4vw, 3.375rem);
  --ent-text-card-heading: clamp(1.25rem, 2.25vw, 1.625rem);
  --ent-text-section-heading: clamp(1.625rem, 2.7vw, 2.25rem);
  --ent-line-heading: 1.15;
  --ent-line-copy: 1.65;
  --ent-weight-action: 790;
  --ent-heading-tracking: -.032em;
  --ent-control-size: 44px;
  --ent-button-comfortable: 48px;
  --ent-icon-size: 20px;
  --ent-hero-art: 330px;
  --ent-card-art: 96px;
  --ent-stroke: 1px;
  --ent-motion-fast: .18s;
}
body.premium-site {
  color: var(--ent-ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.premium-site main { min-width: 0; }
body.premium-site .pm-header {
  background: rgba(255,255,255,.985);
  border-bottom: 1px solid var(--ent-border);
  box-shadow: 0 3px 15px rgba(16,42,67,.025);
  isolation: isolate;
}
body.premium-site .pm-header .pm-nav { gap: clamp(10px, 1.8vw, 25px); }
body.premium-site .pm-header .pm-brand img { object-fit: contain; }
body.premium-site .pm-header .pm-links,
body.premium-site .pm-header .pm-nav-actions { min-width: 0; }
body.premium-site .pm-header .pm-mega { max-height: min(76vh, 660px); overflow-y: auto; overscroll-behavior: contain; }
body.premium-site .pm-header .pm-nav-details > summary { border-radius: var(--ent-radius-sm); }
body.premium-site .pm-header .pm-nav-details > summary:focus-visible,
body.premium-site .pm-header a:focus-visible { outline-offset: 3px; }
body.premium-site .pm-btn,
body.premium-site .pm-nav-actions > .pm-btn {
  border-radius: var(--ent-radius-action);
  font-weight: var(--ent-weight-action);
  line-height: 1.3;
  text-align: center;
  transition: background-color var(--ent-motion-fast) ease, border-color var(--ent-motion-fast) ease, box-shadow var(--ent-motion-fast) ease;
}
body.premium-site .pm-btn:not(.pm-btn-ghost-light) { min-height: var(--ent-control-size); }
body.premium-site .pm-btn-primary { background: var(--ent-action); border-color: var(--ent-action); color: var(--ent-surface); }
body.premium-site .pm-btn-primary:hover { background: var(--ent-teal-dark); border-color: var(--ent-teal-dark); }
body.premium-site .pm-btn-secondary { background: white; border-color: var(--ent-border); color: var(--ent-ink); }
body.premium-site .pm-btn-secondary:hover { background: var(--ent-teal-soft); border-color: #a9d9d2; }
body.premium-site .pm-container { max-width: var(--ent-container-wide); }
body.premium-site .pm-subhero,
body.premium-site .pm-hero { color: var(--ent-ink); }
body.premium-site .pm-subhero h1,
body.premium-site .pm-hero h1 { overflow-wrap: break-word; line-height: 1.1; letter-spacing: -.042em; }
body.premium-site .pm-subhero h1 { font-size: var(--ent-text-page-heading); }
body.premium-site .pm-subhero-grid > *,
body.premium-site .pm-story-split > * { min-width: 0; }
body.premium-site .pm-section-head h2 { line-height: var(--ent-line-heading); letter-spacing: var(--ent-heading-tracking); }
body.premium-site .pm-section-head p,
body.premium-site .pm-subhero p { line-height: var(--ent-line-copy); }
body.premium-site .pm-actions { gap: 10px; }
body.premium-site :is(.pm-module,.pm-value,.pm-role,.pm-specialty,.pm-product,.pm-resource,.pm-screen-card,.pm-feature-card,.pm-card,.pm17-product-card) {
  border-color: var(--ent-border);
}
body.premium-site :is(.pm-module,.pm-value,.pm-role,.pm-specialty,.pm-product,.pm-resource,.pm-feature-card,.pm-card) {
  border-radius: var(--ent-radius-lg);
}
body.premium-site .pm-footer { background: var(--ent-ink-strong); }
body.premium-site .pm-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
body.premium-site input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
body.premium-site select,
body.premium-site textarea { max-width: 100%; }
body.premium-site label { line-height: 1.4; }
body.premium-site :is(input,select,textarea,button,a,summary,[role="button"]):focus-visible {
  outline: 3px solid var(--ent-focus);
  outline-offset: 3px;
}
:where(body.premium-site, body.rg-site, body.enthoris-marketing) :is(.pm-review-table-wrap,.india-hms-table-wrap):focus-visible {
  outline: 3px solid var(--ent-focus);
  outline-offset: 3px;
}
body.premium-site :is(.pm-faq,.ml-faq) details > summary {
  min-height: var(--ent-control-size);
  line-height: var(--ent-line-copy);
}
body.premium-site .pm-specialty-art img,
body.premium-site .pm-solution-hero-art img,
body.premium-site .pm-product-hero-art img { object-fit: contain; }
@media (max-width: 1120px) {
  body.premium-site .pm-header .pm-nav-actions { margin-inline-start: auto; }
  body.premium-site .pm-header .pm-links { justify-content: flex-start; }
}
@media (max-width: 1150px) {
  body.premium-site .pm-header .pm-mega { max-height: min(65vh, 600px); }
}
@media (max-width: 720px) {
  body.premium-site .pm-container { padding-inline: max(18px, env(safe-area-inset-left)); }
  body.premium-site .pm-subhero h1 { overflow-wrap: anywhere; }
  body.premium-site .pm-actions > .pm-btn { max-width: 100%; }
  body.premium-site .pm-header .pm-mega { max-height: none; overflow: visible; }
  body.premium-site .pm-section-head p { max-width: 70ch; }
  body.premium-site :is(.pm-module,.pm-value,.pm-role,.pm-specialty,.pm-product,.pm-resource) { min-width: 0; }
}
@media (prefers-reduced-motion: reduce) {
  body.premium-site .pm-btn,
  body.premium-site .pm-nav-details > summary { transition: none; }
  body.premium-site [class*="animate"] { animation-duration: .01ms; animation-iteration-count: 1; }
}
/* Correct a verified 360px overflow on six Phase 16 module detail heroes.
 * Their grid image had an intrinsic 350px min-content width. */
body.premium-site .pm16-detail-hero .pm16-detail-art { width:100%; max-width:100%; min-width:0; }
body.premium-site .pm16-detail-hero .pm16-detail-art img { max-width:100%; }
@media (max-width:720px) {
  body.premium-site .pm16-detail-hero .pm16-detail-art img { width:min(260px,100%); height:auto; }
}
