/* Release usability refinements; preserve each product's visual identity. */
:root { --ink-muted: #667085; }
html { scroll-padding-top: 90px; }
body { overflow-wrap: anywhere; }
h1, h2, h3, h4 { text-wrap: balance; }
input, select, textarea, button { font: inherit; }
input:not([type=checkbox]):not([type=radio]), select, textarea { max-width: 100%; }
:where(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid #167cba; outline-offset: 3px; }
button:disabled, .btn[aria-disabled=true] { cursor: not-allowed; opacity: .6; }
.skip-link { position: fixed; top: 8px; left: 12px; z-index: 10000; transform: translateY(-180%); background: #fff; color: #102544; padding: 12px 20px; border: 2px solid #167cba; border-radius: 8px; }
.skip-link:focus { transform: none; }
.table-scroll { max-width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; margin-block: 12px; }
.table-scroll table { margin: 0; }
.container, .card, .form-card, .field, .record-primary { min-width: 0; }
.nav-brand, .org-badge { min-width: 0; }
.org-badge { max-width: 240px; overflow: hidden; text-overflow: ellipsis; }
.site-nav.nav-collapsed .nav-inner { min-height: 64px; padding-block: 12px; }
.site-nav.nav-collapsed.is-open .nav-links { max-height: min(65vh, 620px); overflow-y: auto; }
.integration-notice { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: start; gap: 12px 24px; padding: 16px 20px; margin: 0 0 24px; color: #30455f; background: #f3f7fc; border: 1px solid #cfdae8; border-radius: 10px; font-size: 13px; }
.integration-notice strong { color: #18314e; font-size: 14px; }
.integration-notice p { margin: 5px 0 0; max-width: 70ch; }
.integration-notice details { flex: 0 1 340px; }
.integration-notice summary { cursor: pointer; color: #154e78; font-weight: 600; }
.integration-notice code { font-size: .9em; }
.checkbox-note { display: block; padding: 12px; margin: 8px 0 14px; background: #f3f7fc; border-radius: 6px; font-size: 13px; line-height: 1.5; color: #344054; text-transform: none; font-weight: 400; }
.checkbox-note input { width: auto; margin-right: 8px; }
@media (max-width: 680px) {
  h1 { font-size: clamp(24px, 6.5vw, 30px); }
  .container, .container-lg, .container-xl { padding: 20px; }
  .card[style*="display:flex"], .page-command-bar, .page-heading-row { flex-wrap: wrap; }
  .page-command-actions { display: flex; flex-wrap: wrap; gap: 10px; width: 100%; }
  .page-command-actions > * { flex: 1; text-align: center; }
  .onboarding-panel { padding: 24px; }
  .integration-notice { padding: 14px; }
  .integration-notice details { flex: 1 1 100%; }
  input:not([type=checkbox]):not([type=radio]), textarea, select { font-size: 16px; }
  .nav-toggle, button, .btn { min-height: 44px; }
  .table-scroll { border-radius: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
