/* Presentation deltas loaded only by the design refresh bundle.
 * Keep original component bundles intact so flag OFF restores the baseline. */
/* Refresh-only delta from app/assets/stylesheets/_base_overrides.css. Baseline rules remain in the normal bundle. */
a:hover {
  color: var(--fg, var(--text-primary, #202124))
}
/* Refresh-only delta from app/assets/stylesheets/design_system/_tokens.css. Baseline rules remain in the normal bundle. */
:root[data-theme="dark"],
[data-theme="dark"] {
  --step-browser:     var(--fg-2)
}
:root[data-theme="light"],
[data-theme="light"] {
  --step-browser:     var(--fg-2)
}
/* Refresh-only delta from app/assets/stylesheets/design_system/components/_auth.css. Baseline rules remain in the normal bundle. */
[data-theme] .auth-card .bg-red-100,
[data-theme] .auth-card [class*="bg-red"] {
  background: var(--danger-bg) !important;
  border-color: color-mix(in srgb, var(--danger-fg) 30%, transparent) !important
}
[data-theme] .auth-card .text-red-900,
[data-theme] .auth-card .text-red-600,
[data-theme] .auth-card [class*="text-red"] { color: var(--danger-fg) !important
}
/* Refresh-only delta from app/assets/stylesheets/design_system/components/_credit_balance_widget.css. Baseline rules remain in the normal bundle. */
[data-theme] .credits-pop {
  visibility: hidden
}
[data-theme] .credits-widget.show .credits-pop {
  visibility: visible
}
/* Refresh-only delta from app/assets/stylesheets/design_system/components/_editor_chat.css. Baseline rules remain in the normal bundle. */
[data-theme] #queue_container.editor-message-queue {
  max-height: clamp(152px, 22dvh, 216px);
  padding-bottom: 8px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  scroll-padding-block: 8px
}
[data-theme] .editor-message-queue:focus-visible {
  outline: 2px solid var(--focus-ring-color);
  outline-offset: -2px;
  border-radius: var(--radius-sm)
}
[data-theme] .queued-chip {
  min-width: 0
}
[data-theme] .queued-chip__text {
  margin: 0
}
[data-theme] .queued-chip__meta {
  line-height: 1.4;
  flex-wrap: wrap
}
@media (hover: none) {
  [data-theme] .queued-chip__action { opacity: 1
  }
}
/* Refresh-only delta from app/assets/stylesheets/design_system/components/_help_drawer.css. Baseline rules remain in the normal bundle. */
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .help-drawer {
  background:var(--rx-overlay); border-color:var(--rx-overlay-border);
  box-shadow:var(--rx-floating-shadow)
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .help-drawer :is(.hd-close,.hd-tickets-link):hover { background:var(--rx-overlay-hover); color:var(--fg)
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .help-drawer :is(.hd-close,.hd-send,.hd-submit,.hd-tickets-link):focus-visible {
  outline:2px solid var(--ref-keyboard-focus); outline-offset:2px
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .hd-send { background:var(--ref-composer-send); color:var(--ref-composer-send-ink)
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .hd-send:hover:not(:disabled,[aria-disabled="true"],[aria-busy="true"]) { background:var(--ref-composer-send-hover)
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .hd-submit { background:var(--rx-primary); color:var(--rx-primary-ink); font-weight:500
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .hd-submit:hover:not(:disabled,[aria-disabled="true"],[aria-busy="true"]) { background:var(--rx-primary-hover)
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .hd-submit:active:not(:disabled,[aria-disabled="true"],[aria-busy="true"]) { background:var(--rx-primary-active)
}
/* Refresh-only delta from app/assets/stylesheets/design_system/components/_launcher_mode.css. Baseline rules remain in the normal bundle. */
@media (prefers-reduced-motion: no-preference) {
  [data-theme] .launcher-mode__indicator[data-mode="creative"] {
    background: color-mix(in srgb, var(--fg-3) 14%, var(--card-bg))
  }
}
@media (prefers-reduced-motion: no-preference) {
  [data-theme] .launcher-mode__indicator[data-mode="creative"]::after {
    background:
      conic-gradient(
        from var(--launcher-beam-angle),
        transparent 0%, transparent 40%,
        rgba(255, 255, 255, 0.2) 56%,
        rgba(255, 255, 255, 0.85) 67%,
        rgba(255, 255, 255, 0.2) 73%,
        transparent 80%, transparent 100%
      ),
      var(--fg-3)
  }
}
@media (prefers-reduced-motion: no-preference) {
  :root[data-theme="light"] .launcher-mode__indicator[data-mode="creative"]::after {
    background:
      conic-gradient(
        from var(--launcher-beam-angle),
        transparent 0%, transparent 40%,
        rgba(0, 0, 0, 0.12) 56%,
        rgba(0, 0, 0, 0.4) 67%,
        rgba(0, 0, 0, 0.12) 73%,
        transparent 80%, transparent 100%
      ),
      var(--fg-3)
  }
}
/* Refresh-only delta from app/assets/stylesheets/design_system/components/_mobile_chat_controls.css. Baseline rules remain in the normal bundle. */
[data-theme] .chat-actions-sheet {
  visibility: hidden;
  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1), visibility 0s 280ms
}
[data-theme] .chat-actions-sheet.is-open {
  visibility: visible;
  transition-delay: 0s
}
@media (max-width: 1023px) {
  [data-theme] .editor-mobile-control,
  [data-theme] .editor-mobile-composer :is(.chat-actions-fab, .editor-send-btn) {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    flex-shrink: 0;
    padding: 10px
  }
}
@media (max-width: 1023px) {
  [data-theme] .editor-mobile-header button { min-height: 44px
  }
}
@media (max-width: 1023px) {
  [data-theme] .editor-mobile-composer textarea { min-width: 0
  }
}
@media (max-width: 1023px) {
  [data-theme] .editor-mobile-control svg { color: currentColor
  }
}
@media (max-width: 1023px) {
  [data-theme] .editor-mobile-navigation {
    display: grid;
    grid-template-columns: minmax(44px, auto) minmax(0, 1fr) minmax(44px, auto);
    gap: 4px;
    padding-inline: 8px
  }
}
@media (max-width: 1023px) {
  [data-theme] .editor-mobile-navigation > [data-mobile-navigation-target="leftAction"] { grid-column: 1; justify-self: start
  }
}
@media (max-width: 1023px) {
  [data-theme] .editor-mobile-navigation > [data-mobile-navigation-target="rightAction"] { grid-column: 3; justify-self: end
  }
}
@media (max-width: 1023px) {
  [data-theme] .editor-mobile-mode-switch {
    position: static;
    transform: none;
    grid-column: 2;
    justify-self: center;
    min-width: 0
  }
}
@media (max-width: 1023px) {
  [data-theme] .editor-mobile-mode-switch button { padding-inline: 12px; min-height: 44px
  }
}
@media (max-width: 1023px) {
  [data-theme] :is(.editor-mobile-header button, .editor-mobile-control, .editor-mobile-mode-switch button, .editor-mobile-composer .editor-send-btn):focus-visible {
    outline: 2px solid var(--focus-ring-color);
    outline-offset: 2px
  }
}
/* Refresh-only delta from app/assets/stylesheets/design_system/components/_notifications_popover.css. Baseline rules remain in the normal bundle. */
[data-theme] .notif-pop {
  visibility: hidden
}
[data-theme] .notif-wrap.show .notif-pop {
  visibility: visible
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .notif-pop {
  background:var(--rx-overlay); border-color:var(--rx-overlay-border);
  box-shadow:var(--rx-floating-shadow)
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .notif-pop :is(.notif-row:not(.invite),.notif-mark,.notif-act:not(.primary)):hover {
  background:var(--rx-overlay-hover); color:var(--fg)
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .notif-pop .notif-act.primary {
  background:var(--rx-primary); color:var(--rx-primary-ink); border-color:transparent
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .notif-pop .notif-act.primary:hover:not(:disabled,[aria-disabled="true"],[aria-busy="true"]) {
  background:var(--rx-primary-hover); color:var(--rx-primary-ink)
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .notif-pop .notif-act.primary:active:not(:disabled,[aria-disabled="true"],[aria-busy="true"]) {
  background:var(--rx-primary-active)
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .notif-pop :is(.notif-mark,.notif-act):focus-visible {
  outline:2px solid var(--ref-keyboard-focus); outline-offset:2px
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .notif-pop :is(.notif-mark,.notif-act):is(:disabled,[aria-disabled="true"]) { opacity:.5; cursor:default
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .notification-widget .notification-popover {
  background:var(--rx-overlay); color:var(--fg);
  border:1px solid var(--rx-overlay-border); border-radius:12px;
  box-shadow:var(--rx-floating-shadow)
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .notification-widget :is(.notification-popover__head,.notification-popover__footer) {
  background:transparent; border-color:var(--line)
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .notification-widget .notification-item { background:transparent; border-color:var(--line)
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .notification-widget .notification-item.unread { background:var(--rx-overlay-selected)
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .notification-widget .notification-item:hover { background:var(--rx-overlay-hover)
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .notification-widget .notification-popover :is(button,a):focus-visible {
  outline:2px solid var(--ref-keyboard-focus); outline-offset:2px
}
@media (max-width: 767px) {
  [data-theme] .support-feature-filters .chip { height: auto; min-height: 44px; padding-block: 8px
  }
}
[data-theme] .integration-guide-article > .help-toc {
  position: static;
  max-height: none;
  align-self: start
}
[data-theme] .integration-guide-article .cf-guide-table {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  margin: 24px 0
}
[data-theme] .integration-guide-article .cf-guide-table > table {
  display: table;
  min-width: 640px;
  margin: 0;
  border: 0;
  overflow: visible
}
[data-theme] .integration-guide-article .cf-guide-table:focus-visible {
  outline: 2px solid var(--focus-ring-color);
  outline-offset: 4px
}
[data-theme] .integration-guide-article .cf-guide-scroll-hint {
  display: none;
  color: var(--fg-2);
  font: 400 13px/1.5 var(--font-body)
}
@media (max-width: 767px) {
  [data-theme] .integration-guide-article .cf-guide-scroll-hint { display: block; margin: 20px 0 8px
  }
}
@media (max-width: 767px) {
  [data-theme] .integration-guide-article .cf-guide-scroll-hint + .cf-guide-table { margin-top: 0
  }
}
@media (min-width: 1024px) {
  [data-theme] .integration-guide-article > .help-article-body { grid-column: 1; grid-row: 1
  }
}
@media (min-width: 1024px) {
  [data-theme] .integration-guide-article > .help-toc {
    grid-column: 2;
    grid-row: 1;
    position: sticky;
    top: 96px;
    max-height: calc(100dvh - 128px)
  }
}
[data-theme] .ti-evaluation-table { min-width: 680px
}
[data-theme] .ti-evaluation-scroll:focus-visible,
[data-theme] .ti-show-table-wrap:focus-visible {
  outline: 2px solid var(--focus-ring-color);
  outline-offset: 4px
}
[data-theme] .ti-table-caption { color: var(--fg-2); font: 500 14px/1.5 var(--font-body)
}
[data-theme] .ti-table-scroll-hint {
  display: none;
  color: var(--fg-2);
  font: 400 13px/1.5 var(--font-body)
}
@media (max-width: 1023px) {
  [data-theme] .ti-table-scroll-hint { display: block; margin: 12px 0 8px
  }
}
/* Refresh-only delta from app/assets/stylesheets/design_system/components/_publish_modal.css. Baseline rules remain in the normal bundle. */
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .pm .status-pill.live {
  color:var(--success-fg); background:var(--success-bg);
  border-color:color-mix(in srgb,var(--success-fg) 30%,var(--line))
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .pm .status-pill.live .dot {
  background:var(--success-fg); box-shadow:none
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .pm .status-pill.pending {
  color:var(--warning-fg); background:color-mix(in srgb,var(--warning-fg) 8%,var(--bg-2));
  border-color:color-mix(in srgb,var(--warning-fg) 28%,var(--line))
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .pm .status-pill.pending .dot { background:var(--warning-fg)
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .pm :is(.deploy-cta,.feature-btn.security,.feature-btn.perf,.feature-btn.seo) {
  background:var(--rx-primary); color:var(--rx-primary-ink); box-shadow:none
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .pm :is(.deploy-cta,.feature-btn.security,.feature-btn.perf,.feature-btn.seo):hover:not(:disabled,[aria-disabled="true"],[aria-busy="true"]) {
  background:var(--rx-primary-hover); transform:none
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .pm :is(.deploy-cta,.feature-btn.security,.feature-btn.perf,.feature-btn.seo):active:not(:disabled,[aria-disabled="true"],[aria-busy="true"]) {
  background:var(--rx-primary-active)
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .pm .feature-btn.github {
  background:var(--rx-secondary); color:var(--fg-2); border-color:var(--line-2)
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .pm .feature-btn.github:hover:not(:disabled,[aria-disabled="true"],[aria-busy="true"]) {
  background:var(--rx-secondary-hover); color:var(--fg)
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .pm :is(.deploy-cta,.feature-btn):focus-visible {
  outline:2px solid var(--ref-keyboard-focus); outline-offset:3px
}
/* Refresh-only delta from app/assets/stylesheets/design_system/components/_templates_integrations.css. Baseline rules remain in the normal bundle. */
[data-theme] .integration-detail { --integration-logo-bg: var(--bg-2)
}
[data-theme="dark"] .integration-detail { --integration-logo-bg: var(--fg)
}
[data-theme] .integration-detail :is(.ti-show-logo, .ti-show-related-logo):has(img) { background: var(--integration-logo-bg)
}
[data-theme] .integration-detail .ti-breadcrumb { padding-block: 28px 12px
}
[data-theme] .integration-detail .ti-show-hero {
  grid-template-columns: minmax(0, 1fr) 304px;
  gap: 56px;
  padding: 32px 0 56px
}
[data-theme] .integration-identity { display: flex; align-items: center; gap: 20px; margin-bottom: 24px
}
[data-theme] .integration-identity > div:last-child { min-width: 0
}
[data-theme] .integration-detail .ti-show-logo { width: 64px; height: 64px; flex-shrink: 0; padding: 12px; margin: 0; border-radius: var(--radius-md)
}
[data-theme] .integration-detail .ti-show-title { font-size: clamp(30px, 3vw, 44px); margin: 0
}
[data-theme] .integration-detail .ti-show-lede { font-size: 17px; line-height: 1.7; max-width: 66ch; margin-bottom: 20px
}
[data-theme] .integration-detail .ti-show-meta { margin: 0; font-size: 12px; line-height: 1.7
}
[data-theme] .integration-detail .ti-show-actions { gap: 12px; margin-top: 28px
}
[data-theme] .integration-detail :is(.ti-show-primary-cta, .ti-show-secondary-cta) {
  min-height: 44px;
  justify-content: center;
  font-size: 14px;
  line-height: 1.4;
  padding: 12px 18px;
  text-decoration: none;
  transition: background-color var(--t-base), color var(--t-base), box-shadow var(--t-base)
}
[data-theme] .integration-detail .ti-show-primary-cta:hover { transform: none
}
[data-theme] .integration-detail .ti-show-primary-cta svg { flex-shrink: 0
}
[data-theme] .integration-summary { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg-2)
}
[data-theme] .integration-summary h2 { margin: 0 0 8px; font: 600 16px/1.4 var(--font-body)
}
[data-theme] .integration-summary .ti-show-facts { grid-template-columns: minmax(0, 1fr); gap: 0; margin: 0
}
[data-theme] .integration-summary .ti-show-fact { padding: 16px 0; border: 0; border-radius: 0; background: transparent
}
[data-theme] .integration-summary .ti-show-fact + .ti-show-fact { border-top: 1px solid var(--line)
}
[data-theme] .integration-summary .ti-show-fact:last-child { padding-bottom: 0
}
[data-theme] .integration-summary .ti-show-fact-label { text-transform: none; letter-spacing: 0; font-size: 12px; font-weight: 400; margin-bottom: 5px
}
[data-theme] .integration-summary .ti-show-fact-value { font-size: 14px; line-height: 1.6; font-weight: 500
}
[data-theme] .integration-summary a { text-decoration: underline; text-underline-offset: 3px
}
[data-theme] .integration-body { display: grid; grid-template-columns: 192px minmax(0, 1fr); gap: 56px; align-items: start; padding-top: 40px; border-top: 1px solid var(--line)
}
[data-theme] .integration-toc { position: sticky; top: 104px; display: grid; gap: 4px
}
[data-theme] .integration-toc p { color: var(--fg-3); margin: 0 0 12px
}
[data-theme] .integration-toc a { display: block; padding: 10px 12px; margin-left: -12px; border-radius: var(--radius-sm); font: 500 13px/1.5 var(--font-body); color: var(--fg-2); text-decoration: none
}
[data-theme] .integration-toc a:hover { color: var(--fg); background: var(--hover-bg)
}
[data-theme] .integration-content { min-width: 0
}
[data-theme] .integration-detail :is(.ti-show-section, .ti-show-hero) { scroll-margin-top: 112px
}
html.os-reference-marketing[data-theme] .integration-detail :is(.ti-show-section, .ti-show-hero) { scroll-margin-top: 0
}
[data-theme] .integration-detail .ti-show-section { padding: 40px 0
}
[data-theme] .integration-detail .ti-show-section:first-child { border-top: 0; padding-top: 0
}
[data-theme] .integration-detail .ti-show-section h2 { font-size: clamp(24px, 2.2vw, 28px); line-height: 1.25; margin-bottom: 20px
}
[data-theme] .integration-detail .ti-show-section-inner { max-width: none
}
[data-theme] .integration-detail .ti-show-prose { font-size: 15px; line-height: 1.75
}
[data-theme] .integration-detail .ti-show-prose > :last-child { margin-bottom: 0
}
[data-theme] .integration-detail .integration-section-lead { color: var(--fg-2); margin: 0 0 24px; font-size: 15px; max-width: 65ch
}
[data-theme] .integration-detail .integration-checklist { list-style: none; padding: 0; margin: 24px 0 0; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg-2); overflow: hidden
}
[data-theme] .integration-detail .integration-checklist li { display: flex; gap: 14px; align-items: baseline; margin: 0; padding: 18px 22px
}
[data-theme] .integration-detail .integration-checklist li + li { border-top: 1px solid var(--line)
}
[data-theme] .integration-detail .integration-checklist li::before { content: ""; flex: 0 0 6px; height: 6px; border-radius: var(--radius-pill); background: var(--accent-text)
}
[data-theme] .integration-detail .ti-show-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px
}
[data-theme] .integration-detail .ti-show-step { display: block; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg-2)
}
[data-theme] .integration-detail .ti-show-step-num { margin-bottom: 20px; border-radius: var(--radius-sm); background: var(--bg-3); color: var(--fg-2); font: 500 13px/1 var(--font-mono); forced-color-adjust: auto
}
[data-theme] .integration-detail .ti-show-step h3 { font-size: 16px; margin-bottom: 10px
}
[data-theme] .integration-detail .ti-show-step p { font-size: 14px; line-height: 1.7
}
[data-theme] .integration-detail .ti-show-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px
}
[data-theme] .integration-detail .ti-show-table { font-size: 14px; min-width: 640px
}
[data-theme] .integration-detail .ti-show-table :is(th, td) { padding: 16px 20px; line-height: 1.65
}
[data-theme] .integration-detail .ti-show-table thead { background: var(--bg-1)
}
[data-theme] .integration-detail .ti-show-table th { text-transform: none; letter-spacing: 0; font-size: 13px; color: var(--fg)
}
[data-theme] .integration-detail .ti-show-table tbody th { width: 22%; font-weight: 500
}
[data-theme] .integration-detail .ti-show-table tr:last-child th { border-bottom: 0
}
[data-theme] .integration-detail .integration-table-note { margin: 20px 0 0; font-size: 13px; line-height: 1.7
}
[data-theme] .integration-detail .ti-show-faq { gap: 0; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden
}
[data-theme] .integration-detail .ti-show-faq-item { border: 0; border-radius: 0; background: transparent
}
[data-theme] .integration-detail .ti-show-faq-item + .ti-show-faq-item { border-top: 1px solid var(--line)
}
[data-theme] .integration-detail .ti-show-faq-item summary { padding: 20px 24px; font-size: 15px; font-weight: 500
}
[data-theme] .integration-detail .ti-show-faq-item summary:hover { background: var(--hover-bg)
}
[data-theme] .integration-detail .ti-show-faq-answer { font-size: 15px; line-height: 1.7; padding: 0 24px 22px
}
[data-theme] .integration-detail .ti-show-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px
}
[data-theme] .integration-detail .ti-show-related-card { align-items: start; gap: 16px; padding: 22px; border-radius: var(--radius-lg); transition: background-color var(--t-base), border-color var(--t-base)
}
[data-theme] .integration-detail .ti-show-related-card:hover { background: var(--bg-3); transform: none
}
[data-theme] .integration-detail .ti-show-related-card > div:last-child { min-width: 0
}
[data-theme] .integration-detail .ti-show-related-logo { width: 40px; height: 40px; padding: 6px
}
[data-theme] .integration-detail .ti-show-related-name { margin-bottom: 6px; font-size: 15px
}
[data-theme] .integration-detail .ti-show-related-desc { display: block; -webkit-line-clamp: unset; overflow: visible; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere
}
[data-theme] .integration-detail .ti-show-section .integration-pairs-title { margin-top: 40px
}
[data-theme] .integration-detail .ti-show-cta { margin: 0 0 64px; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg-1); text-align: left
}
[data-theme] .integration-detail .ti-show-cta h2 { font-size: clamp(24px, 2.2vw, 28px); line-height: 1.25
}
[data-theme] .integration-detail .ti-show-cta p { margin: 12px 0 24px; max-width: 58ch; font-size: 15px; line-height: 1.7
}
[data-theme] .integration-detail :is(a, button, summary, [tabindex="0"]):focus-visible { outline: 2px solid var(--focus-ring-color); outline-offset: 3px
}
[data-theme] .integration-detail .ti-show-faq-item summary:focus-visible { outline-offset: -3px; border-radius: var(--radius-sm)
}
@media (max-width: 1100px) {
  [data-theme] .integration-detail .ti-show-hero { gap: 32px; grid-template-columns: minmax(0, 1fr) 272px
  }
}
@media (max-width: 1100px) {
  [data-theme] .integration-body { grid-template-columns: 168px minmax(0, 1fr); gap: 32px
  }
}
@media (max-width: 1100px) {
  [data-theme] .integration-detail .ti-show-steps { grid-template-columns: minmax(0, 1fr)
  }
}
@media (max-width: 1100px) {
  [data-theme] .integration-detail .ti-show-step { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 16px
  }
}
@media (max-width: 1100px) {
  [data-theme] .integration-detail .ti-show-step-num { margin: 0
  }
}
@media (max-width: 800px) {
  [data-theme] .integration-detail .ti-show-hero { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 24px 0 32px
  }
}
@media (max-width: 800px) {
  [data-theme] .integration-summary .ti-show-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px
  }
}
@media (max-width: 800px) {
  [data-theme] .integration-summary .ti-show-fact:nth-child(2) { border-top: 0
  }
}
@media (max-width: 800px) {
  [data-theme] .integration-body { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 24px
  }
}
@media (max-width: 800px) {
  [data-theme] .integration-toc { position: static; display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 12px
  }
}
@media (max-width: 800px) {
  [data-theme] .integration-toc p { display: none
  }
}
@media (max-width: 800px) {
  [data-theme] .integration-toc a { flex-shrink: 0; min-height: 44px; margin: 0; padding: 11px 14px; border: 1px solid var(--line); background: var(--bg-2)
  }
}
@media (max-width: 540px) {
  [data-theme] .integration-identity { align-items: start; gap: 16px
  }
}
@media (max-width: 540px) {
  [data-theme] .integration-detail .ti-show-logo { width: 48px; height: 48px; padding: 8px
  }
}
@media (max-width: 540px) {
  [data-theme] .integration-detail .ti-show-title { font-size: 28px
  }
}
@media (max-width: 540px) {
  [data-theme] .integration-detail .ti-show-lede { font-size: 16px
  }
}
@media (max-width: 540px) {
  [data-theme] .integration-summary { padding: 20px
  }
}
@media (max-width: 540px) {
  [data-theme] .integration-summary .ti-show-facts { grid-template-columns: minmax(0, 1fr)
  }
}
@media (max-width: 540px) {
  [data-theme] .integration-summary .ti-show-fact:nth-child(2) { border-top: 1px solid var(--line)
  }
}
@media (max-width: 540px) {
  [data-theme] .integration-detail .ti-show-actions { align-items: stretch
  }
}
@media (max-width: 540px) {
  [data-theme] .integration-detail .ti-show-actions > * { width: 100%
  }
}
@media (max-width: 540px) {
  [data-theme] .integration-detail .ti-show-actions form button { width: 100%
  }
}
@media (max-width: 540px) {
  [data-theme] .integration-detail :is(.ti-show-grid, .ti-show-related-grid) { grid-template-columns: minmax(0, 1fr)
  }
}
@media (max-width: 540px) {
  [data-theme] .integration-detail .ti-show-section { padding-block: 32px
  }
}
@media (max-width: 540px) {
  [data-theme] .integration-detail .ti-show-section:first-child { padding-top: 0
  }
}
@media (max-width: 540px) {
  [data-theme] .integration-detail :is(.ti-show-step, .ti-show-related-card) { padding: 20px
  }
}
@media (max-width: 540px) {
  [data-theme] .integration-detail .ti-show-faq-item summary { padding: 18px 20px
  }
}
@media (max-width: 540px) {
  [data-theme] .integration-detail .ti-show-faq-answer { padding: 0 20px 20px
  }
}
@media (max-width: 540px) {
  [data-theme] .integration-detail .ti-show-cta { padding: 24px
  }
}
/* Refresh-only delta from app/assets/stylesheets/design_system/surfaces/_admin.css. Baseline rules remain in the normal bundle. */
.admin-shell {
  --admin-gen-accent: var(--fg-2)
}
/* Refresh-only delta from app/assets/stylesheets/design_system/surfaces/_computer.css. Baseline rules remain in the normal bundle. */
[data-theme] .computer-nav__meta {
  display: flex; align-items: center; gap: 5px; min-width: 0;
  font-family: var(--font-body)
}
[data-theme] .computer-nav__team {
  min-width: 0; overflow: hidden; text-overflow: ellipsis
}
[data-theme] .computer-nav__balance {
  display: inline-flex; align-items: center; gap: 4px; flex: 0 0 auto;
  font-variant-numeric: tabular-nums
}
[data-theme] .computer-nav__balance svg,
[data-theme] .computer-nav__meta > .computer-nav__credits-out { flex: 0 0 auto
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] :is(.csched__form-submit,.cinbox__form-submit,.ctpl__cta--use) {
  background:var(--rx-primary); color:var(--rx-primary-ink); border-color:transparent;
  font-weight:500
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] :is(.csched__form-submit,.cinbox__form-submit,.ctpl__cta--use):hover:not(:disabled,[aria-disabled="true"],[aria-busy="true"]) {
  background:var(--rx-primary-hover); color:var(--rx-primary-ink)
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] :is(.csched__form-submit,.cinbox__form-submit,.ctpl__cta--use):active:not(:disabled,[aria-disabled="true"],[aria-busy="true"]) { background:var(--rx-primary-active)
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] :is(.csched__form-submit,.cinbox__form-submit,.ctpl__cta--use):focus-visible {
  outline:2px solid var(--ref-keyboard-focus); outline-offset:3px
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] :is(.csched__form-submit,.cinbox__form-submit,.ctpl__cta--use):is(:disabled,[aria-disabled="true"]) { opacity:.5; cursor:default
}
/* Refresh-only delta from app/assets/stylesheets/design_system/surfaces/_computer_creative_templates.css. Baseline rules remain in the normal bundle. */
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] :is(.crtpl__zero-cta,.crtpl-show__use,.crtpl-save__submit) {
  background:var(--rx-primary); color:var(--rx-primary-ink); border-color:transparent;
  font-weight:500
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] :is(.crtpl__zero-cta,.crtpl-show__use,.crtpl-save__submit):hover:not(:disabled,[aria-disabled="true"],[aria-busy="true"]) {
  background:var(--rx-primary-hover); color:var(--rx-primary-ink)
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] :is(.crtpl__zero-cta,.crtpl-show__use,.crtpl-save__submit):active:not(:disabled,[aria-disabled="true"],[aria-busy="true"]) { background:var(--rx-primary-active)
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] :is(.crtpl__zero-cta,.crtpl-show__use,.crtpl-save__submit):focus-visible {
  outline:2px solid var(--ref-keyboard-focus); outline-offset:3px
}
@media (hover:hover) and (pointer:fine) {
  html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .crtpl__reveal-cta { background:var(--rx-primary); color:var(--rx-primary-ink); border-color:transparent
  }
}
@media (hover:hover) and (pointer:fine) {
  html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .crtpl__reveal-cta:hover { background:var(--rx-primary-hover); color:var(--rx-primary-ink)
  }
}
/* Refresh-only delta from app/assets/stylesheets/design_system/surfaces/_deploys.css. Baseline rules remain in the normal bundle. */
[data-theme] .dp-page {
  --dp-gen: var(--fg-2)
}
/* Refresh-only delta from app/assets/stylesheets/surfaces/compare.css. Baseline rules remain in the normal bundle. */
html[data-theme] .cmp-table-scroll {
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain
}
html[data-theme] .cmp-table-scroll > table.cmp-readable-table {
  min-width: 720px;
  table-layout: fixed
}
html[data-theme] .cmp-hub-scroll > table.cmp-readable-table { min-width: 800px
}
html[data-theme] .cmp-table-scroll > table.cmp-readable-table :is(th,td) {
  text-align: left;
  vertical-align: top;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
  line-height: 1.6
}
html[data-theme] .cmp-table-scroll > table.cmp-readable-table tbody th {
  font: 600 14px/1.6 var(--font-body);
  letter-spacing: normal;
  text-transform: none
}
html[data-theme] .cmp-table-scroll:focus-visible { outline: 2px solid var(--focus-ring-color); outline-offset: 4px
}
html[data-theme] .cmp-table-scroll-hint { display: none; margin: 0 0 12px; color: var(--fg-2); font: 400 13px/1.5 var(--font-body)
}
@media (max-width: 900px) {
  html.os-reference-marketing[data-theme] .cmp-table-scroll-hint { display: block
  }
}
@media (max-width: 900px) {
  html[data-theme] .cmp-table-scroll-hint { display: block
  }
}
html.os-reference-marketing[data-theme] .cmp-table-scroll > table.cmp-readable-table { min-width: 720px
}
html.os-reference-marketing[data-theme] .cmp-hub-scroll > table.cmp-readable-table { min-width: 800px
}
[data-theme] .cmp-hero-actions, [data-theme] .cmp-page-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px
}
[data-theme] .cmp-page-links { gap: 8px 20px; margin-top: 20px; font: 400 14px/1.5 var(--font-body)
}
[data-theme] .cmp-page-links a { text-decoration: underline; text-underline-offset: 3px
}
[data-theme] .cmp-review-note { max-width: 80ch; margin: 28px auto 0; color: var(--fg-2); font: 400 14px/1.65 var(--font-body)
}
[data-theme] .cmp-review-note p { margin: 0
}
html.os-reference-marketing[data-theme] .cmp-hero--detail { padding-block: 40px 32px
}
html.os-reference-marketing[data-theme] .cmp-hero--detail + .cmp-section { padding-top: 32px
}
html.os-reference-marketing[data-theme] .cmp-hero__title { font-family: "Grifter", var(--font-body)
}
html.os-reference-marketing[data-theme] .cmp-chooser { scroll-margin-top: 100px
}
html.os-reference-marketing[data-theme] .cmp-chooser .cmp-win { text-decoration: none; transition: border-color 120ms ease
}
html.os-reference-marketing[data-theme] .cmp-chooser .cmp-win:hover { border-color: var(--line-2)
}
html.os-reference-marketing[data-theme] .cmp-chooser .cmp-win:focus-visible { outline: 2px solid var(--focus-ring-color); outline-offset: 4px
}
[data-theme] #comparison { scroll-margin-top: 100px
}
@media (max-width: 639px) {
  html.os-reference-marketing[data-theme] .cmp-hero--detail { padding-block: 32px 24px
  }
}
@media (max-width: 639px) {
  [data-theme] .cmp-review-note { text-align: left; margin-top: 24px
  }
}
/* Refresh-only delta from app/assets/stylesheets/surfaces/compare_v4.css. Baseline rules remain in the normal bundle. */
html.os-reference-marketing[data-theme] .os-marketing .cmp-hero--detail { padding-block: 48px 32px
}
html.os-reference-marketing[data-theme] .os-marketing .cmp-method { padding-top: 16px
}
html.os-reference-marketing[data-theme] .os-marketing .cmp-method .panel { padding-block: 28px
}
/* Refresh-only delta from app/assets/stylesheets/surfaces/marketing_v4.css. Baseline rules remain in the normal bundle. */
.os-marketing .tw-card:nth-child(6n) {--tint:var(--fg-3)
}
/* Refresh-only delta from app/views/public/authors/_styles.html.erb. Baseline rules remain in the normal bundle. */
html[data-reference-system="true"][data-theme] .author-avatar { position: relative; overflow: hidden; isolation: isolate
}
html[data-reference-system="true"][data-theme] .author-avatar::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--line); pointer-events: none
}
html[data-reference-system="true"][data-theme] .author-avatar__image { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top
}
/* Refresh-only delta from app/views/public/bossbabe/_styles.html.erb. Baseline rules remain in the normal bundle. */
html[data-reference-system="true"] .bossbabe-page {
    --bb-card-neutral: var(--bb-cream-alt)
}
html[data-reference-system="true"] .bb-card-shot--lavender { background: var(--bb-card-neutral)
}
html[data-reference-system="true"] .bb-capture :is(input, button):disabled { cursor: not-allowed; opacity: .55
}
html[data-reference-system="true"] .bb-product-preview { margin: 0
}
html[data-reference-system="true"] .bb-product-preview .bb-card-img { height: auto
}
html[data-reference-system="true"] .bb-about-grid.bb-about-grid--text { grid-template-columns: minmax(0, 1fr); max-width: 760px; margin-inline: auto
}
/* Refresh-only delta from app/views/public/jv/_styles.html.erb. Baseline rules remain in the normal bundle. */
html[data-reference-system="true"] .jv-page .jv-tier-marker--elite {background:var(--jv-fg-2)
}
/* Refresh-only delta from app/views/public/learning/_styles.html.erb. Baseline rules remain in the normal bundle. */
html[data-reference-system="true"][data-theme] .learn-guide { grid-template-columns: 48px minmax(0, 1fr)
}
html[data-reference-system="true"][data-theme] .learn-guide:has(.learn-guide-image) { grid-template-columns: 248px minmax(0, 1fr)
}
@media (max-width: 640px) {
  html[data-reference-system="true"][data-theme] .learn-guide { grid-template-columns: 28px minmax(0, 1fr)
  }
  html[data-reference-system="true"][data-theme] .learn-guide:has(.learn-guide-image) { grid-template-columns: minmax(0, 1fr)
  }
}
html[data-reference-system="true"][data-theme] .learn-table-scroll { max-width: 100%; overflow-x: auto; margin: 0 0 24px; border-radius: 8px
}
html[data-reference-system="true"][data-theme] .learn-table-scroll:focus-visible { outline: 2px solid var(--focus-ring-color); outline-offset: 4px
}
html[data-reference-system="true"][data-theme] .learn-table-scroll table { display: table; overflow: visible; min-width: 560px; width: 100%; max-width: none; margin: 0
}
html[data-reference-system="true"][data-theme] .learn-article .learn-table-hint { color: var(--fg-2); font-size: 14px; margin: 20px 0 8px
}
html[data-reference-system="true"][data-theme] .learn-article .btn { text-decoration: none
}
@media (min-width: 1100px) {
  html[data-reference-system="true"][data-theme] .learn-article .learn-table-hint { display: none
  }
}

/* The baseline single-line rail label becomes a wrapping metadata row. */
[data-theme] .computer-nav__meta { overflow: visible; text-overflow: clip; }
/* Author media is now an image inside a clipped wrapper. */
html[data-reference-system="true"][data-theme] .author-avatar { border: 0; }
/* Neutral equivalents for platform-owned legacy secondary utilities. The
   global Tailwind palette remains unchanged for the OFF lane and customer UI. */
html[data-reference-system="true"] .bg-secondary-100 { background-color: #e6e8ea; }
html[data-reference-system="true"] .bg-secondary-500 { background-color: #5f666f; }
html[data-reference-system="true"] .border-secondary-300 { border-color: #aab0b8; }
html[data-reference-system="true"] .border-secondary-500 { border-color: #5f666f; }
html[data-reference-system="true"] .hover\:border-secondary-400:hover { border-color: #868d96; }
html[data-reference-system="true"] .text-secondary-700 { color: #3a3f47; }
html[data-reference-system="true"][data-theme="dark"] .dark\:bg-secondary-900\/30 { background-color: rgb(28 31 36 / .3); }
html[data-reference-system="true"][data-theme="dark"] .dark\:border-secondary-600 { border-color: #4b515a; }
html[data-reference-system="true"][data-theme="dark"] .dark\:text-secondary-300 { color: #aab0b8; }
/* App navigation: a disclosure of native links/buttons, not an ARIA menu.
   Dashboard destinations form one group; all rows share the same visual weight. */
[data-theme] .app-nav-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 50;
  width: 256px;
  max-width: calc(100vw - 24px);
  max-height: min(640px, calc(100dvh - 88px));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 6px;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: var(--rx-overlay, var(--bg-1));
  color: var(--fg);
  box-shadow: var(--rx-floating-shadow, 0 12px 28px var(--line));
}
[data-theme] .app-nav-group + .app-nav-group {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid var(--line);
}
[data-theme] .app-nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 32px;
  padding: 7px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--fg-2);
  font: 500 13px/18px var(--font-body);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 120ms ease, color 120ms ease;
}
[data-theme] .app-nav-item:visited { color: var(--fg-2); }
[data-theme] .app-nav-item > svg { flex: 0 0 auto; color: var(--fg-3); }
[data-theme] .app-nav-item:is(:hover, :focus-visible) {
  background: var(--rx-overlay-selected, var(--hover-bg));
  color: var(--fg);
}
[data-theme] .app-nav-item:focus-visible {
  outline: 2px solid var(--fg-3);
  outline-offset: -2px;
}
[data-theme] .app-nav-item[aria-current] {
  background: var(--rx-overlay-selected, var(--bg-2));
  color: var(--fg);
}
[data-theme] .app-nav-item:is(:hover, :focus-visible, [aria-current]) > svg { color: currentColor; }
[data-theme] .app-nav-current { margin-left: auto; visibility: hidden; }
[data-theme] .app-nav-item[aria-current] > .app-nav-current { visibility: visible; }
[data-theme] .app-nav-count {
  margin-left: auto;
  padding: 0 6px;
  border-radius: 4px;
  background: var(--bg-2);
  color: var(--fg-2);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
[data-theme] .app-nav-dialog {
  position: fixed;
  inset: auto 0 0;
  margin: 0 auto;
  width: 100%;
  max-width: 520px;
  max-height: calc(100dvh - 32px);
  padding: 0 6px max(6px, env(safe-area-inset-bottom));
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--line-2);
  border-radius: 16px 16px 0 0;
  background: var(--rx-overlay, var(--bg-1));
  color: var(--fg);
  box-shadow: var(--rx-floating-shadow);
}
[data-theme] .app-nav-dialog::backdrop { background: var(--scrim); }
[data-theme] .app-nav-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
}
[data-theme] .app-nav-dialog-header h2 { font: 600 16px/24px var(--font-body); margin: 0; }
[data-theme] .app-nav-dialog-close { width: auto; }
[data-theme] .app-nav-mobile-content { padding-bottom: 4px; }
@media (max-width: 1023px) {
  [data-theme] .app-nav-menu {
    position: fixed;
    inset: auto 12px 12px;
    width: auto;
    max-height: calc(100dvh - 80px);
    padding-bottom: max(6px, env(safe-area-inset-bottom));
  }
  [data-theme] .app-nav-item { min-height: 44px; }
}
@media (pointer: coarse) {
  [data-theme] .app-nav-item { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  [data-theme] .app-nav-item { transition: none; }
}
/* Overskill Reference Lab snapshot, 2026-09-25. Source: _palette_styles.html.erb.
 * CSS only; source application controllers and behavior remain authoritative. */
/* Codex 26.903.61454 default appearance. Source and web role mapping: REFERENCE-PALETTE.md. */
/* Paint the page canvas. The scrollbar is the one DS rule
   (design_system/components/_scrollbar.css): an inherited scrollbar-color here
   made Chromium ignore its 6px thumb and draw the 15px native bar app-wide. */
html[data-reference-system="true"]:not(.clickfunnels-reference)[data-theme] {
 background-color:var(--bg);
}

html[data-reference-system="true"][data-theme] {
 --brand:#45E760; --ref-brand-alt:#75D785; --ref-gradient-green:var(--brand); --ref-gradient-mint:#2ADF8E; --ref-gradient-lime:#B4FB85; --brand-green-hue:130; --brand-green-saturation:77.142857%; --accent:var(--rx-primary); --accent-fg:var(--rx-primary-ink);
 --accent-hover:var(--rx-primary-hover); --primary-hover:var(--rx-primary-hover);
 --accent-text:var(--fg); --accent-text-hover:var(--fg); --accent-2:var(--rx-primary-hover);
 --rx-primary:var(--fg); --rx-primary-hover:color-mix(in srgb,var(--fg) 80%,var(--bg-2));
 --rx-primary-active:color-mix(in srgb,var(--fg) 70%,var(--bg-2));
 --rx-secondary-ink:var(--fg); --ref-lemon:var(--rx-surface-selected); --ref-aura:transparent;
 --rx-hover-muted:var(--fg-2); --rx-overlay-muted:var(--fg-2); --rx-overlay-focus:var(--fg);
 --rx-overlay-danger:var(--danger-fg); --rx-control:var(--rx-field);
}
html[data-reference-system="true"][data-theme="light"] {
 --ref-segment-selected:var(--rx-raised); --ref-suggestion-bg:#F7F7F7; --ref-suggestion-hover:#F2F2F2;
 --bg:#FCFCFC; --bg-1:#F3F3F3; --bg-2:#FAFAFA; --bg-3:#F5F5F6;
 --fg:#1A1C1F; --fg-2:rgba(26,28,31,.695); --fg-3:var(--fg-2); --fg-4:rgba(26,28,31,.495);
 --line:rgba(26,28,31,.078); --line-2:rgba(26,28,31,.117); --rx-divider:rgba(26,28,31,.049);
 --rx-surface-hover:rgba(26,28,31,.0535); --rx-surface-selected:rgba(26,28,31,.049);
 --rx-hover:rgba(26,28,31,.055); --rx-active:rgba(26,28,31,.085);
 --rx-primary-ink:#FFFFFF; --rx-send:#000000; --rx-send-ink:#FFFFFF;
 --rx-secondary:rgba(26,28,31,.05); --rx-secondary-hover:rgba(26,28,31,.075); --rx-secondary-active:rgba(26,28,31,.10);
 --rx-panel-shadow:0 1px 2px #00000003; --rx-edge-light:#FFFFFF;
 --rx-field:#FCFCFC; --rx-field-hover:#F8F8F9; --rx-field-border:var(--line-2); --rx-readonly:#F6F6F6;
 --rx-raised:#FCFCFC; --rx-composer:#FAFAFA; --rx-overlay:#FDFDFD; --rx-overlay-border:var(--line-2);
 --rx-overlay-hover:#EBEBEB; --rx-overlay-selected:#F0F0F0;
 --rx-overlay-selected-hover:#EBEBEB; --rx-overlay-active:#DDDDDD;
 --ref-brand-detail:var(--ref-brand-soft); --success-fg:hsl(var(--brand-green-hue) var(--brand-green-saturation) 28%); --success-bg:hsl(var(--brand-green-hue) var(--brand-green-saturation) 97%); --warning-fg:#B9480D; --danger-fg:#BA2623; --info-fg:#0169CC; --rx-overlay-danger:#911E1B;
 --rx-floating-shadow:0 2px 6px #0000000A,0 12px 32px #00000014;
}
html[data-reference-system="true"][data-theme="dark"] {
 --ref-segment-selected:#141414; --ref-suggestion-bg:#1D1D1D; --ref-suggestion-hover:#222222;
 --bg:#141414; --bg-1:#171717; --bg-2:#1B1B1B; --bg-3:#1E1E1E;
 --fg:#DFDFDF; --fg-2:rgba(255,255,255,.71); --fg-3:var(--fg-2); --fg-4:rgba(255,255,255,.498);
 --line:rgba(255,255,255,.07); --line-2:rgba(255,255,255,.12); --rx-divider:rgba(255,255,255,.04);
 --rx-surface-hover:rgba(255,255,255,.025); --rx-surface-selected:rgba(255,255,255,.045);
 --rx-hover:rgba(255,255,255,.03); --rx-active:rgba(255,255,255,.05);
 --rx-primary-ink:#2D2D2D; --rx-send:#FFFFFF; --rx-send-ink:#000000;
 --rx-secondary:rgba(223,223,223,.05); --rx-secondary-hover:rgba(223,223,223,.075); --rx-secondary-active:rgba(223,223,223,.10);
 --rx-panel-shadow:0 1px 2px #00000012; --rx-edge-light:#FFFFFF08;
 --rx-field:#191919; --rx-field-hover:#1D1D1D; --rx-field-border:var(--line-2); --rx-readonly:var(--bg-1);
 --rx-raised:#202020; --rx-composer:#202020; --rx-overlay:#202020; --rx-overlay-border:var(--line-2);
 --rx-overlay-hover:#252525; --rx-overlay-selected:#2A2A2A;
 --rx-overlay-selected-hover:#252525; --rx-overlay-active:#242424;
 --ref-brand-detail:var(--ref-brand-soft); --success-fg:hsl(var(--brand-green-hue) var(--brand-green-saturation) 65%); --success-bg:hsl(var(--brand-green-hue) var(--brand-green-saturation) 9%); --warning-fg:#FF8549; --danger-fg:#FF6764; --info-fg:#99CEFF; --rx-overlay-danger:#FFD9D9;
 --rx-floating-shadow:0 0 0 1px #00000020,0 6px 16px #00000038,0 20px 48px #00000055;
}
/* General control focus stays neutral. Editable fields use brand focus below. */
html[data-reference-system="true"][data-theme="light"] {
 --ref-field-focus-visible:var(--ref-keyboard-focus); --ref-hover-border:#BDBDBD; --ref-focus:#929292; --ref-keyboard-focus:#777777; --ref-focus-halo:rgb(0 0 0 / 4%);
}
html[data-reference-system="true"][data-theme="dark"] {
 --ref-field-focus-visible:#626262; --ref-hover-border:#3D3D3D; --ref-focus:#505050; --ref-keyboard-focus:#909090; --ref-focus-halo:rgb(255 255 255 / 2%);
}
html[data-reference-system="true"][data-theme] {
 --focus-ring-color:var(--ref-focus);
 --field-border-focus:var(--ref-focus);
 --field-ring-color:var(--ref-focus-halo);
 --field-ring:0 0 0 2px var(--ref-focus-halo);
}
/* Editable fields: softened brand edge + matching outer halo, with no size change.
   Deepen the same green on light surfaces so the edge remains legible.
   The ClickFunnels fork owns its separate primary-blue field treatment. */
html[data-reference-system="true"]:not(.clickfunnels-reference)[data-theme="light"] {
 --ref-field-focus:var(--ref-brand-soft);
}
html[data-reference-system="true"]:not(.clickfunnels-reference)[data-theme="dark"] {
 --ref-field-focus:var(--ref-brand-soft);
}
html[data-reference-system="true"]:not(.clickfunnels-reference)[data-theme] {
 --ref-field-focus-visible:var(--ref-field-focus);
 --field-border-focus:var(--ref-field-focus);
 --field-ring-color:color-mix(in srgb,var(--ref-brand-soft) 12%,transparent);
 --field-ring:0 0 0 3px var(--field-ring-color);
}
/* Live status is semantic success, independent of the neutral action accent. */
html[data-reference-system="true"][data-theme] .status-pill--live .status-dot {
 background:var(--success-fg);
}
/* Shared soft brand green for credit actions, task progress, active fields and switchers. */
html[data-reference-system="true"][data-theme] {
 --credit-action-bg:color-mix(in srgb,var(--credit-action) 9%,transparent);
 --credit-action-hover:color-mix(in srgb,var(--credit-action) 16%,transparent);
 --credit-link-hover:color-mix(in srgb,var(--credit-action) 10%,transparent);
}
html[data-reference-system="true"][data-theme="light"] { --ref-brand-soft:hsl(var(--brand-green-hue) 55% 28%); --credit-action:var(--ref-brand-soft); }
html[data-reference-system="true"][data-theme="dark"] { --ref-brand-soft:hsl(var(--brand-green-hue) 55% 65%); --credit-action:var(--ref-brand-soft); }
html[data-reference-system="true"][data-theme="light"] { --ref-toggle-edge:var(--ref-brand-soft); --ref-toggle-knob:#FFFFFF; --ref-progress-start:color-mix(in srgb,var(--ref-gradient-mint) 48%,#000); --ref-progress-middle:color-mix(in srgb,var(--ref-gradient-green) 48%,#000); --ref-progress-end:color-mix(in srgb,var(--ref-gradient-lime) 48%,#000); }
html[data-reference-system="true"][data-theme="dark"] { --ref-toggle-edge:var(--ref-brand-soft); --ref-toggle-knob:var(--success-bg); --ref-progress-start:var(--ref-gradient-mint); --ref-progress-middle:var(--ref-gradient-green); --ref-progress-end:var(--ref-gradient-lime); }
html[data-reference-system="true"][data-theme] { --ref-progress-gradient:linear-gradient(100deg,var(--ref-progress-start),var(--ref-progress-middle) 55%,var(--ref-progress-end)); }
/* Shared primary hover: lighter in dark mode, darker in light mode. */
html[data-reference-system="true"][data-theme="light"] { --rx-primary-hover:#111315; }
html[data-reference-system="true"][data-theme="dark"] { --rx-primary:#DEDEDE; --rx-primary-hover:#F7F7F7; }
/* Overskill Reference Lab snapshot, 2026-09-25. Source: _editor_styles.html.erb.
 * CSS only; source application controllers and behavior remain authoritative. */
/* Visual overrides only. Shared across the local development platform layouts; no duplicate markup or replacement controllers. */
html[data-reference-system="true"][data-theme] {
 --font-body:"Geist","Noto Sans JP","Noto Sans Arabic",system-ui,sans-serif; --font-display:var(--font-body);
 --font-mono:"JetBrains Mono","Noto Sans JP","Noto Sans Arabic",monospace;
 --hover-bg:var(--rx-surface-hover); --hover-bg-strong:var(--rx-hover);
 --card-bg:var(--bg-2); --code-bg:var(--bg-1); --rail-bg:var(--bg-1);
 --shadow-sm:var(--rx-panel-shadow); --shadow:var(--rx-floating-shadow);
 --shadow-md:var(--rx-floating-shadow); --shadow-lg:var(--rx-floating-shadow);
 --composer-shadow:0 2px 8px #00000008;
 --composer-focus-shadow:var(--field-ring);
 --radius-sm:8px; --radius-md:12px; --radius-lg:20px;
 /* No --ed-* here: this selector IS the root element, where theme.css already
    declares --ed-canvas: var(--bg), --ed-text-primary: var(--fg),
    --ed-text-secondary: var(--fg-2) and --ed-border: var(--line) — with the
    literal fallbacks this copy dropped. --ed-surface has no readers. */
}
html[data-reference-system="true"] body { font-family:var(--font-body); }
html[data-reference-system="true"] :is(h1,h2,h3,h4,h5,h6) { font-family:var(--font-body); letter-spacing:-.02em; }
/* Component links own their hover ink; a global anchor override breaks filled buttons. */
html[data-reference-system="true"] a:not([class]):hover { color:var(--fg); }
/* Auth navigation links need a non-color hover cue on the neutral palette. */
html[data-reference-system="true"][data-theme] :is(.auth-swap,.auth-alt-link,.auth-foot) a {
 text-decoration:underline; text-decoration-color:transparent;
 text-decoration-thickness:1px; text-underline-offset:4px;
 transition:color 140ms ease,text-decoration-color 140ms ease;
}
html[data-reference-system="true"][data-theme] :is(.auth-swap,.auth-alt-link,.auth-foot) a:hover {
 color:var(--fg); text-decoration-line:underline; text-decoration-color:currentColor;
}
html[data-reference-system="true"][data-theme] :is(.auth-swap,.auth-alt-link,.auth-foot) a:focus-visible {
 outline:2px solid var(--ref-focus); outline-offset:4px; border-radius:2px;
 text-decoration-color:currentColor;
}
@media (prefers-reduced-motion:reduce) {
 html[data-reference-system="true"][data-theme] :is(.auth-swap,.auth-alt-link,.auth-foot) a { transition:none; }
}

/* Keep the auth checkbox and label centered even when its check glyph is hidden.
   The generic form label rule otherwise changes this row to a block baseline. */
html[data-reference-system="true"][data-theme] .auth-card .form label.auth-check-label { display:flex; align-items:center; gap:9px; }

/* Single-message auth notices inherit a heading bottom margin from the form.
   Let the alert's symmetric padding provide all of its vertical spacing. */
html[data-reference-system="true"][data-theme] .auth-card :is([class*="bg-red"],[class*="bg-green"]) > h3:only-child { margin-block:0; }
html[data-reference-system="true"][data-theme] .auth-card .form > :is([class*="bg-red"],[class*="bg-green"]) { padding:10px 14px; }
/* The source form has a -20px top margin; retain it for field rhythm while
   giving a leading notice a full 24px gap below the header. */
html[data-reference-system="true"][data-theme] .auth-card:has(.form > :is([class*="bg-red"],[class*="bg-green"])) .auth-head { margin-bottom:44px; }


html[data-reference-system="true"] .composer { background:var(--rx-composer,var(--bg-2)); border-color:var(--line-2); border-radius:20px; }
html[data-reference-system="true"] .composer:has(textarea:focus) { border-color:var(--field-border-focus); box-shadow:var(--composer-focus-shadow); }
html[data-reference-system="true"] .composer textarea { background:transparent!important; border:0!important; outline:0!important; box-shadow:none!important; font-weight:400; }
html[data-reference-system="true"] :is(.composer-tool,.tb-iconbtn) { border-radius:8px; }
html[data-reference-system="true"] .composer-tool-pill { padding-inline:10px; gap:8px; }
html[data-reference-system="true"] .composer-tool-chevron { margin-left:4px; flex-shrink:0; }
/* Carry the Reference Lab selected pill treatment into real app switchers. */
html[data-reference-system="true"][data-theme] .seg { padding:4px; }
html[data-reference-system="true"][data-theme] .seg-thumb { top:4px; bottom:4px; background:var(--ref-segment-selected); box-shadow:0 0 0 1px var(--line); }
html[data-reference-system="true"][data-theme] .seg-btn:is([aria-selected="true"],[aria-checked="true"]) { color:var(--success-fg); }
/* History/Bookmarks uses its own controller but the shared selected surface. */
html[data-reference-system="true"]:not(.clickfunnels-reference)[data-theme] .vh-tabs .pm-seg-opt:is(.active,[aria-selected="true"]) {
 background:var(--ref-segment-selected); color:var(--ref-selection-ink); box-shadow:0 0 0 1px var(--line);
}
html[data-reference-system="true"]:not(.clickfunnels-reference)[data-theme] .vh-tabs .pm-seg-opt:focus-visible {
 outline:2px solid var(--focus-ring-color); outline-offset:2px;
}

html[data-reference-system="true"] .send { background:var(--rx-send); color:var(--rx-send-ink); box-shadow:none; }
html[data-reference-system="true"] .send svg { color:var(--rx-send-ink); }
html[data-reference-system="true"] .send:hover { background:var(--rx-primary-hover); transform:none; }
html[data-reference-system="true"] :is(.composer-popover,.ed-flyout) { background:var(--rx-overlay); border:1px solid var(--rx-overlay-border); border-radius:14px; box-shadow:var(--rx-floating-shadow); padding:6px; }
/* Autocomplete follows its parent composer; inset surfaces subtract the
   popover's 6px padding and 1px border. Mobile keeps its inline chip strip. */
@media (min-width:769px) {
 html:is([data-reference-system="true"],.reference-root,.reference-editor)[data-theme] .composer > .composer-autocomplete { border-radius:inherit; }
 html:is([data-reference-system="true"],.reference-root,.reference-editor)[data-theme] .composer-autocomplete > :is(div:first-child,button) { border-radius:calc(var(--radius-lg) - 7px); }
 html:is([data-reference-system="true"],.reference-root,.reference-editor)[data-theme] .composer-autocomplete > button { border-bottom-color:transparent!important; }
}
html[data-reference-system="true"] .composer-menu-head { background:transparent; border-bottom:0; font-family:var(--font-body); text-transform:none; letter-spacing:0; font-size:12px; color:var(--fg-2); padding:8px 10px; }
html[data-reference-system="true"] .composer-menu-item { border-radius:8px; }
html[data-reference-system="true"] .composer-menu-item:hover { background:var(--rx-overlay-hover); }
html[data-reference-system="true"] .editor-topbar :is(.proj-switch,.tb-btn,.tb-tab) { border-radius:8px; }
/* Keep app context visible at rest; the open menu retains the quiet hover fill. */
html[data-reference-system="true"][data-theme] .editor-topbar .proj-switch[data-app-navigation-target="trigger"] {
 background:var(--rx-panel); border-color:var(--line);
}
html[data-reference-system="true"][data-theme] .editor-topbar .proj-switch[data-app-navigation-target="trigger"]:is(:hover,[aria-expanded="true"]) {
 background:color-mix(in srgb,var(--rx-panel) 96%,var(--fg)); border-color:var(--line-2);
}
/* Match the 36px credit trigger and view switcher. Minimum dimensions also
   cover the Invite control's legacy inline 28px size without changing its behavior. */
html[data-reference-system="true"][data-theme] .editor-topbar-right :is(.tb-iconbtn,.theme-switcher-trigger) {
 width:36px; height:36px; min-width:36px; min-height:36px; flex-shrink:0; border-radius:8px;
}
html[data-reference-system="true"][data-theme] .editor-topbar-right .tb-btn {
 height:36px; min-height:36px; padding-block:0; border-radius:8px;
}
html[data-reference-system="true"][data-theme] .editor-topbar-right .tb-group:has([data-preview-device-target]) {
 height:36px; box-sizing:border-box; padding:3px; gap:2px; border-radius:8px;
}
html[data-reference-system="true"][data-theme] .editor-topbar-right .tb-icon[data-preview-device-target] {
 width:28px; height:28px; border-radius:4px;
}
/* Keep the primary fill over its 1px edge on hover. The generic toolbar
   hover border otherwise makes Publish look smaller without changing its box. */
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .editor-topbar .tb-btn.is-primary {
 border-color:transparent; background-clip:border-box;
}
/* Match the gapless chat/preview row. Width changes are immediate in the
   reference editor, so the header must not animate behind the resize handle. */
html[data-reference-system="true"][data-theme] [data-editor-layout-chat-open="true"] .editor-topbar { display:flex; flex-wrap:wrap; column-gap:0; row-gap:8px; height:auto; min-height:60px; }
html[data-reference-system="true"][data-theme] [data-editor-layout-chat-open="true"] .editor-topbar-left { flex-shrink:0; }
html[data-reference-system="true"][data-theme] [data-editor-layout-chat-open="true"] .editor-topbar-center { flex:1 0 max-content; }
/* A wide chat plus expanded Apps rail can leave too little room for actions.
   Let that cluster use a second row instead of moving/overlapping the tabs. */
html[data-reference-system="true"][data-theme] [data-editor-layout-chat-open="true"] .editor-topbar-right { flex:0 0 auto; margin-left:auto; padding-left:10px; }
html[data-reference-system="true"][data-theme] .editor-topbar-left-content { flex-shrink:0; transition:opacity 220ms ease-out; }
html[data-reference-system="true"] :is(.ed-flyout-item,.composer-tool):focus-visible { outline:2px solid var(--fg-4); outline-offset:2px; }
html[data-reference-system="true"] .composer-menu-foot { background:transparent; border-top:1px solid var(--line); }
/* Actual editor components, including its legacy-named composer controls. */
html[data-reference-system="true"][data-theme] .chat-composer-card { --editor-composer-radius:20px; background:var(--rx-composer,var(--bg-2)); border:1px solid var(--line-2); border-radius:var(--editor-composer-radius); box-shadow:var(--composer-shadow); }
html[data-reference-system="true"][data-theme] .chat-composer-card:has(textarea:focus) { border-color:var(--field-border-focus); box-shadow:var(--composer-focus-shadow); }
html[data-reference-system="true"][data-theme] .chat-composer-card textarea { background:transparent!important; color:var(--fg); border:0!important; outline:0!important; box-shadow:none!important; padding:16px 16px 8px; font:400 15px/1.6 var(--font-body); }
/* Target the trigger only: the menu radiogroup has the same accessible name. */
html[data-reference-system="true"][data-theme] .chat-composer-card [data-thinking-effort-target="button"] { background:transparent; border-color:transparent; color:var(--fg-2); padding:6px 10px; font-weight:500; }
html[data-reference-system="true"][data-theme] .chat-composer-card [data-thinking-effort-target="button"]:hover { background:var(--hover-bg); color:var(--fg); }
/* Proportional corner: 60% of the composer radius (20px → 12px).
   Softer than a strict inset subtraction; the 13px edge spacing stays even.
   Disabled controls keep the same rounded-square shape with a neutral fill. */
html[data-reference-system="true"][data-theme] .editor-send-btn { border-radius:calc(var(--editor-composer-radius,20px) * .6); }
html[data-reference-system="true"][data-theme] .editor-send-btn:not(:disabled) { background:var(--brand); color:#102016; }
html[data-reference-system="true"][data-theme] .editor-send-btn:not(:disabled) .editor-send-btn--glyph { color:inherit; }
html[data-reference-system="true"][data-theme] .editor-send-btn:hover:not(:disabled) { background:var(--ref-brand-alt); }
html[data-reference-system="true"][data-theme] .think-menu[data-thinking-effort-target] { background:var(--rx-overlay); border-color:var(--rx-overlay-border); border-radius:14px; padding:6px; box-shadow:var(--rx-floating-shadow); }
html[data-reference-system="true"][data-theme] .think-menu .think-menu__head { background:transparent; border-bottom:0; padding:8px 10px; }
html[data-reference-system="true"][data-theme] .think-menu .think-menu__opt { padding:10px; border-radius:8px; }
html[data-reference-system="true"][data-theme] .think-menu .think-menu__opt:hover { background:var(--rx-overlay-hover); }
html[data-reference-system="true"][data-theme] .message-content .rounded-br-none { background:var(--bg-2); border:1px solid var(--line); border-radius:14px; padding:14px 16px; }
html[data-reference-system="true"][data-theme] [data-testid="chat-message-user"] [data-expandable-text-target="content"] > :first-child { margin-top:0; }
html[data-reference-system="true"][data-theme] [data-testid="chat-message-user"] [data-expandable-text-target="content"] > :last-child { margin-bottom:0; }
html[data-reference-system="true"][data-theme] .dash-card { background:var(--bg-2); border-color:var(--line); border-radius:14px; }
@media(max-width:1023px) { html[data-reference-system="true"][data-theme] .chat-composer-card textarea { font-size:16px; } }
/* Retain the native options and selection semantics; let descriptions wrap. */
html[data-reference-system="true"][data-theme] .think-menu { width:288px; max-width:calc(100vw - 32px); }
html[data-reference-system="true"][data-theme] .think-menu .think-menu__head { text-transform:none; letter-spacing:0; font:500 12px/1.4 var(--font-body); color:var(--fg-2); }
html[data-reference-system="true"][data-theme] .think-menu .think-menu__head span { font:inherit; letter-spacing:0; text-transform:none; }
html[data-reference-system="true"][data-theme] .think-menu .think-menu__opt p,
html[data-reference-system="true"][data-theme] .composer-menu-desc { display:block; -webkit-line-clamp:unset; white-space:normal; overflow:visible; line-height:1.5; }
html[data-reference-system="true"][data-theme] .think-menu .think-menu__opt[aria-checked="true"] { background:var(--rx-overlay-selected); box-shadow:none; }
html[data-reference-system="true"][data-theme] .think-menu .think-menu__opt[aria-checked="true"]:hover { background:var(--rx-overlay-selected-hover); }
html[data-reference-system="true"][data-theme] .editor-topbar .tab-btn.is-active svg { color:var(--ref-brand-detail); }
html[data-reference-system="true"][data-theme] .composer-menu-check { background:var(--ref-brand-detail); color:var(--bg); }
@keyframes reference-menu-enter { from { opacity:0; translate:0 3px; } to { opacity:1; translate:0 0; } }
@media(prefers-reduced-motion:no-preference) {
 html[data-reference-system="true"][data-theme] :is(.think-menu,.composer-popover):not(.hidden):not([hidden]),
 html[data-reference-system="true"][data-theme] .nav-user-menu:not(.hidden),
 html[data-reference-system="true"][data-theme] .ed-flyout-host:hover .ed-flyout,
 html[data-reference-system="true"][data-theme] .ed-flyout-host:focus-within .ed-flyout,
 html[data-reference-system="true"][data-theme] [popover]:popover-open {
   animation:reference-menu-enter 160ms cubic-bezier(.2,.8,.2,1);
 }
 html[data-reference-system="true"][data-theme] :is(.think-menu__opt,.composer-menu-item,.tab-btn,.tb-iconbtn,.dash-btn,.composer-tool) { transition:background-color 140ms ease,color 140ms ease,box-shadow 160ms ease; }
}
@media(prefers-reduced-motion:reduce) {
 html[data-reference-system="true"][data-theme] :is(.think-menu,.composer-popover,.ed-flyout,.nav-user-menu,[popover],.think-menu__opt,.composer-menu-item,.tab-btn,.tb-iconbtn,.dash-btn,.composer-tool) { animation:none!important; transition:none!important; }
}
/* Progressive enhancement of the actual native select, not a replacement widget. */
@supports(appearance:base-select) {
 html[data-reference-system="true"][data-theme] select:not([multiple]):not([size]),
 html[data-reference-system="true"][data-theme] select:not([multiple]):not([size])::picker(select) { appearance:base-select; }
 html[data-reference-system="true"][data-theme] select:not([multiple]):not([size]) { display:flex; align-items:center; justify-content:space-between; background:var(--rx-field); background-image:none; color:var(--fg); border:1px solid var(--rx-field-border); border-radius:10px; padding:10px 12px; }
 html[data-reference-system="true"][data-theme] select:not([multiple]):not([size])::picker(select) { padding:6px; border:1px solid var(--rx-overlay-border); border-radius:12px; background:var(--rx-overlay); color:var(--fg); box-shadow:var(--rx-floating-shadow); max-height:320px; overflow:auto; }
 html[data-reference-system="true"][data-theme] select:not([multiple]):not([size])::picker-icon { margin-left:auto; padding-left:12px; color:var(--fg-2); }
 html[data-reference-system="true"][data-theme] select:not([multiple]):not([size]) option { padding:9px 12px; border-radius:var(--radius-control); background:transparent; color:var(--fg); }
 html[data-reference-system="true"][data-theme] select:not([multiple]):not([size]) option:is(:hover,:focus) { background:var(--rx-overlay-hover); }
 html[data-reference-system="true"][data-theme] select:not([multiple]):not([size]) option:checked { background:var(--rx-overlay-selected); }
 html[data-reference-system="true"][data-theme] select:not([multiple]):not([size]) option::checkmark { color:var(--ref-brand-detail); }
 @media(prefers-reduced-motion:no-preference) {
  html[data-reference-system="true"][data-theme] select::picker(select) { animation:reference-menu-enter 160ms cubic-bezier(.2,.8,.2,1); }
 }
 @media(prefers-reduced-motion:reduce) {
  html[data-reference-system="true"][data-theme] select::picker(select) { animation:none!important; }
 }
}
html[data-reference-system="true"][data-theme] .dash-search:has(.dash-search-input:focus) { border-color:var(--field-border-focus); box-shadow:var(--field-ring); }
/* Brand focus on source fields and both reference search controls.
   Keep error and read-only states distinct; the composer owns its outer ring. */
html[data-reference-system="true"][data-theme] :where(.input,.textarea,.select,.search-input,.combo,.ds-bt-input,.pf-field input,.auth-card input:is([type="text"],[type="email"],[type="password"]),.ds-code-input__box,#reference-search,[data-rc-source-query]):focus {
 outline:none;
}
html[data-reference-system="true"][data-theme] :where(.input,.textarea,.select,.search-input,.combo,.ds-bt-input,.pf-field input,.auth-card input:is([type="text"],[type="email"],[type="password"]),.ds-code-input__box,#reference-search,[data-rc-source-query]):focus:not([aria-invalid="true"]):not([readonly]):not(:disabled) {
 border-color:var(--field-border-focus)!important;
 box-shadow:var(--field-ring)!important;
 outline:none!important;
}
html[data-reference-system="true"][data-theme] :is(.input,.textarea,.select,.search-input):focus:not([aria-invalid="true"]):not([readonly]):not(:disabled) {
 background-color:var(--rx-field)!important;
}
html[data-reference-system="true"][data-theme] :is(.input,.textarea)[readonly]:focus {
 --field-border-focus:var(--fg-4);
 --field-ring:0 0 0 3px color-mix(in srgb,var(--fg) 12%,transparent);
}
html[data-reference-system="true"][data-theme] :is(.ed-flyout-item,.composer-tool,.tb-iconbtn):focus-visible {
 outline:2px solid var(--ref-focus); outline-offset:2px;
}
@media(prefers-reduced-motion:no-preference) {
 html[data-reference-system="true"][data-theme] :where(.input,.textarea,.select,.search-input,.combo,.ds-bt-input,.pf-field input,.auth-card input:is([type="text"],[type="email"],[type="password"]),.ds-code-input__box,#reference-search,[data-rc-source-query],.composer,.chat-composer-card) {
  transition:border-color 150ms ease,box-shadow 150ms ease,background-color 150ms ease;
 }
}
@media(prefers-reduced-motion:reduce) {
 html[data-reference-system="true"][data-theme] :where(.input,.textarea,.select,.search-input,.combo,.ds-bt-input,.pf-field input,.auth-card input:is([type="text"],[type="email"],[type="password"]),.ds-code-input__box,#reference-search,[data-rc-source-query],.composer,.chat-composer-card) { transition:none!important; }
}
/* Shared loading/progress treatment. Width and timing remain controller-owned.
   `.os-nav-progress` is the editor-open bar (theme.css / nav_progress_controller);
   it is inserted in the same place as Turbo's own, so one selector reaches both
   and the refresh cannot repaint one bar and miss the other. */
html[data-reference-system="true"][data-theme] :is(.turbo-progress-bar,.os-nav-progress,.ds-progress-fill,.pf-sync-fill,.pb-progress-fill):not(.is-done):not(.is-error) {
 background-image:var(--ref-progress-gradient); background-color:var(--success-fg);
}
html[data-reference-system="true"][data-theme] :is(.ds-progress-fill,.pf-sync-fill,.pb-progress-fill):is(.is-done,.is-error) { background-image:none; }
html[data-reference-system="true"][data-theme] progress { accent-color:var(--success-fg); }
html[data-reference-system="true"][data-theme] progress::-webkit-progress-bar { background:var(--bg-3); }
html[data-reference-system="true"][data-theme] progress::-webkit-progress-value { background:var(--ref-progress-gradient); }
html[data-reference-system="true"][data-theme] progress::-moz-progress-bar { background:var(--ref-progress-gradient); }
/* Everyday labels use Geist; monospace is reserved for technical content. */
html[data-reference-system="true"][data-theme] :is(.chip,.link-chip,.prompt-chip,.status-pill) {
 font-family:var(--font-body); letter-spacing:normal;
}
/* Quiet callouts: unboxed inline notes with small semantic icons. */
html[data-reference-system="true"][data-theme] .ds-callout {
 --callout-accent:var(--fg-2); display:flex; align-items:flex-start; gap:10px;
 padding:6px 0; margin:6px 0; border:0; border-radius:0;
 background:transparent; font-family:var(--font-body); box-shadow:none;
}
html[data-reference-system="true"][data-theme] .ds-callout-warning { --callout-accent:var(--warning-fg); background:transparent; }
html[data-reference-system="true"][data-theme] .ds-callout-danger { --callout-accent:var(--danger-fg); background:transparent; }
html[data-reference-system="true"][data-theme] .ds-callout-icon {
 display:flex; align-items:center; justify-content:center; flex:0 0 16px; height:20px; margin:0;
 color:var(--callout-accent); background:none;
}
html[data-reference-system="true"][data-theme] .ds-callout-icon svg { width:16px; height:16px; }
html[data-reference-system="true"][data-theme] .ds-callout-body { min-width:0; padding-top:0; color:var(--fg-2); font:400 13px/1.5 var(--font-body); }
html[data-reference-system="true"][data-theme] .ds-callout-body p { margin:0 0 3px; font:inherit; color:inherit; }
html[data-reference-system="true"][data-theme] .ds-callout-body p:last-child { margin-bottom:0; }
html[data-reference-system="true"][data-theme] .ds-callout-body strong { color:var(--fg); font-weight:600; }
html[data-reference-system="true"][data-theme] .ds-callout-body a { color:var(--fg); text-decoration:underline; text-underline-offset:3px; }
/* Short title + paragraph reads as a single inline note; rich bodies keep blocks. */
html[data-reference-system="true"][data-theme] .ds-callout-body:has(> p:first-child > strong:only-child):has(> p:nth-child(2):last-child) > p { display:inline; margin:0; }
html[data-reference-system="true"][data-theme] .ds-callout-body:has(> p:nth-child(2):last-child) > p:first-child > strong:only-child { margin-right:.4em; }
/* Modal hierarchy through spacing on one continuous surface. */
html[data-reference-system="true"][data-theme] dialog.modal { background:var(--rx-raised); border-color:var(--line); border-radius:16px; box-shadow:var(--rx-floating-shadow); }
html[data-reference-system="true"][data-theme] .modal-head { padding:20px 20px 0; gap:16px; align-items:center; border-bottom:0; }
html[data-reference-system="true"][data-theme] .modal-title { margin:0; font:600 17px/1.4 var(--font-body); letter-spacing:-.015em; }
html[data-reference-system="true"][data-theme] .modal-head .icon-btn { flex:0 0 28px; width:28px; height:28px; border-radius:8px; color:var(--fg-3); }
html[data-reference-system="true"][data-theme] .modal-head .icon-btn svg { width:16px; height:16px; }
html[data-reference-system="true"][data-theme] .modal-head .icon-btn:focus-visible { outline:2px solid var(--ref-focus); outline-offset:2px; }
html[data-reference-system="true"][data-theme] .modal-body { padding:12px 20px 20px; color:var(--fg-2); font:400 14px/1.55 var(--font-body); }
html[data-reference-system="true"][data-theme] .modal-body p { margin:0 0 12px; font:inherit; color:inherit; }
html[data-reference-system="true"][data-theme] .modal-body > :last-child { margin-bottom:0; }
html[data-reference-system="true"][data-theme] .modal-body strong { color:var(--fg); font-weight:600; }
html[data-reference-system="true"][data-theme] .modal-body ul { list-style:disc; padding-left:20px; }
html[data-reference-system="true"][data-theme] .modal-body li + li { margin-top:6px; }
html[data-reference-system="true"][data-theme] .modal-body li::marker { color:var(--fg-4); }
html[data-reference-system="true"][data-theme] .modal-foot { margin:0; padding:0 20px 20px; gap:8px; border-top:0; background:transparent; }
html[data-reference-system="true"][data-theme] .modal-foot .btn { min-height:36px; padding:8px 14px; font-size:13px; }
@media(max-width:480px) { html[data-reference-system="true"][data-theme] .modal-foot { flex-wrap:wrap; } }
@media(prefers-reduced-motion:reduce) { html[data-reference-system="true"][data-theme] dialog.modal,html[data-reference-system="true"][data-theme] dialog.modal::backdrop { animation:none; } }
/* Transient notes float above the UI; severity stays in the small icon. */
html[data-reference-system="true"][data-theme] .toast {
 background:var(--rx-raised); border:1px solid var(--line); border-radius:12px;
 padding:12px; gap:10px; color:var(--fg); box-sizing:border-box;
 box-shadow:0 2px 4px #00000006,0 8px 24px #0000000d;
}
html[data-reference-system="true"][data-theme="dark"] .toast { box-shadow:0 2px 4px #00000026,0 8px 24px #00000033; }
html[data-reference-system="true"][data-theme] .toast--info { --toast-accent:var(--fg-2); }
html[data-reference-system="true"][data-theme] .toast-icon { width:16px; height:16px; margin-top:2px; }
html[data-reference-system="true"][data-theme] .toast-icon svg { width:16px; height:16px; }
html[data-reference-system="true"][data-theme] .toast-title { margin:0; font:500 13px/1.5 var(--font-body); color:var(--fg); }
html[data-reference-system="true"][data-theme] .toast-msg { margin:3px 0 0; font:400 13px/1.5 var(--font-body); color:var(--fg-2); }
html[data-reference-system="true"][data-theme] .toast-action { margin-top:6px; color:var(--fg); font-size:13px; font-weight:500; }
html[data-reference-system="true"][data-theme] .toast-close { margin:-2px -2px 0 0; color:var(--fg-2); border-radius:6px; }
html[data-reference-system="true"][data-theme] .toast-close:hover { color:var(--fg); background:var(--hover-bg); }
html[data-reference-system="true"][data-theme] .toast-close:focus-visible { outline:2px solid var(--ref-focus); outline-offset:2px; }
/* Credit actions: one restrained brand accent, distinct from utility links. */
html[data-reference-system="true"][data-theme] .credits-pop { background:var(--rx-raised); box-shadow:var(--rx-floating-shadow); }
html[data-reference-system="true"][data-theme] .credits-pop :is(.cp-plan-upgrade,.cp-link) {
 min-height:32px; padding:6px 8px; box-sizing:border-box; border-radius:var(--radius-control);
 gap:6px; text-decoration:none; font:500 13px/1.4 var(--font-body);
 transition:background-color 140ms ease,color 140ms ease;
}
html[data-reference-system="true"][data-theme] .credits-pop .cp-plan-upgrade {
 color:var(--credit-action); background:var(--credit-action-bg);
}
html[data-reference-system="true"][data-theme] .credits-pop .cp-plan-upgrade:hover {
 color:var(--credit-action); background:var(--credit-action-hover);
}
html[data-reference-system="true"][data-theme] .credits-pop .cp-link { color:var(--fg-2); }
html[data-reference-system="true"][data-theme] .credits-pop .cp-link-topup { color:var(--credit-action); }
html[data-reference-system="true"][data-theme] .credits-pop .cp-link:hover { color:var(--fg); background:var(--hover-bg); }
html[data-reference-system="true"][data-theme] .credits-pop .cp-link-topup:hover { color:var(--credit-action); background:var(--credit-link-hover); }
html[data-reference-system="true"][data-theme] .credits-pop :is(.cp-plan-upgrade,.cp-link):focus-visible { outline:2px solid var(--ref-focus); outline-offset:2px; }
html[data-reference-system="true"][data-theme] .credits-pop :is(.cp-plan-upgrade,.cp-link):active { background:var(--rx-hover); }
html[data-reference-system="true"][data-theme] .credits-pop :is(.cp-plan-upgrade,.cp-link) svg { transition:transform 140ms ease; }
html[data-reference-system="true"][data-theme] .credits-pop :is(.cp-plan-upgrade,.cp-link):is(:hover,:focus-visible) svg { transform:translateX(2px); }
html[data-reference-system="true"][data-theme] .credits-pop .cp-tip { border-radius:4px; }
html[data-reference-system="true"][data-theme] .credits-pop .cp-tip:hover { color:var(--fg); background:var(--hover-bg); }
html[data-reference-system="true"][data-theme] .credits-pop .cp-tip:focus-visible { outline:2px solid var(--ref-focus); outline-offset:3px; }
@media(prefers-reduced-motion:reduce) {
 html[data-reference-system="true"][data-theme] .credits-pop :is(.cp-plan-upgrade,.cp-link),
 html[data-reference-system="true"][data-theme] .credits-pop :is(.cp-plan-upgrade,.cp-link) svg { transition:none; }
 html[data-reference-system="true"][data-theme] .credits-pop :is(.cp-plan-upgrade,.cp-link):is(:hover,:focus-visible) svg { transform:none; }
}
/* Reuse the featured-action chevron-to-arrow gesture on credit links. */
html[data-reference-system="true"][data-theme] .credits-pop :is(.cp-plan-upgrade,.cp-link) svg {
 color:inherit; stroke:currentColor; transform:none; width:14px; height:14px;
}
html[data-reference-system="true"][data-theme] .credits-pop :is(.cp-plan-upgrade,.cp-link):is(:hover,:focus-visible) svg { color:inherit; transform:none; }
html[data-reference-system="true"][data-theme] .credits-pop .cp-arrow-stem {
 display:block; transform-box:view-box; transform-origin:17px 12px;
 transform:scaleX(0); opacity:0; transition:transform 200ms cubic-bezier(.2,.8,.2,1),opacity 150ms ease;
}
html[data-reference-system="true"][data-theme] .credits-pop .cp-arrow-head { transition:transform 200ms cubic-bezier(.2,.8,.2,1); }
html[data-reference-system="true"][data-theme] .credits-pop :is(.cp-plan-upgrade,.cp-link):is(:hover,:focus-visible) .cp-arrow-head { transform:translateX(2px); }
html[data-reference-system="true"][data-theme] .credits-pop :is(.cp-plan-upgrade,.cp-link):is(:hover,:focus-visible) .cp-arrow-stem { transform:scaleX(1); opacity:1; }
@media(prefers-reduced-motion:reduce) {
 html[data-reference-system="true"][data-theme] .credits-pop :is(.cp-arrow-stem,.cp-arrow-head) { transition:none; }
}
/* Busy primary buttons retain the idle palette; legacy disabled CSS uses green. */
html[data-reference-system="true"][data-theme] .btn.btn-primary:is(:disabled,[aria-disabled="true"],.is-loading,[aria-busy="true"]) {
 background:var(--rx-primary)!important; border-color:transparent!important; color:var(--rx-primary-ink)!important;
}
html[data-reference-system="true"][data-theme] .btn:is(.is-loading,[aria-busy="true"]) { opacity:1; cursor:progress; }
html[data-reference-system="true"][data-theme] .btn:is(.is-loading,[aria-busy="true"]) :is(.btn-label,.btn-spinner) { color:inherit!important; }
/* Shared source composer: align the existing submit in the bottom action row. */
html[data-reference-system="true"][data-theme] form.composer:has(> .composer-rail) { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; padding:16px; gap:12px; }
html[data-reference-system="true"][data-theme] form.composer:has(> .composer-rail) > .composer-input-wrap { display:contents; }
html[data-reference-system="true"][data-theme] form.composer:has(> .composer-rail) .composer-input { grid-column:1 / -1; grid-row:1; padding:0; }
html[data-reference-system="true"][data-theme] form.composer:has(> .composer-rail) .composer-submit { position:static; grid-column:2; grid-row:2; background:var(--rx-send); color:var(--rx-send-ink); }
html[data-reference-system="true"][data-theme] form.composer:has(> .composer-rail) .composer-submit svg { color:inherit; }
html[data-reference-system="true"][data-theme] form.composer:has(> .composer-rail) > .composer-rail { grid-column:1; grid-row:2; padding:0; min-width:0; gap:8px; flex-wrap:wrap; }
html[data-reference-system="true"][data-theme] form.composer:has(> .composer-rail) .composer-rail-meta { font:400 11px/1.4 var(--font-body); letter-spacing:normal; }
@media(max-width:480px) { html[data-reference-system="true"][data-theme] form.composer:has(> .composer-rail) { padding:12px; } }
html[data-reference-system="true"][data-theme] .composer .composer-submit { background:var(--rx-send); color:var(--rx-send-ink); }
html[data-reference-system="true"][data-theme] .composer .composer-submit svg { color:inherit; }
html[data-reference-system="true"][data-theme] .composer .composer-submit:disabled { opacity:.4; }
/* Hover never raises controls or cards. Keep feedback in paint, not position. */
html[data-reference-system="true"][data-theme] :is(
 .interactive-hover,.inspiration-card,.card-base-hover,.authentication-card,
 .authentication-submit,.authentication-oauth-button,.auth-btn-primary,
 .auth-card input[type="submit"],.auth-card button[type="submit"],.auth-card .button.full,
 .card-hoverable,.send,.dash-app-card,.dash-new-app-card,.nav-avatar,.tmpl-card,
 .ti-show-primary-cta,.ti-show-related-card,.tier.featured .tier-cta,.ent-cta,
 .help-category-card,.deploy-cta,.fnl-card,.psp-why-card,.integ-card
):hover { transform:none!important; translate:none!important; }

/* Device preview uses a neutral selected surface and gray active icon.
   Hover changes ink only, never its surface. */
html[data-reference-system="true"][data-theme] .editor-topbar .tb-group:has([data-preview-device-target]) {
 background:var(--bg-2);
}
html[data-reference-system="true"][data-theme] .editor-topbar .tb-icon[data-preview-device-target] {
 background:transparent!important; color:var(--fg-3)!important;
 box-shadow:none; transition:color 140ms ease;
}
html[data-reference-system="true"][data-theme] .editor-topbar .tb-icon[data-preview-device-target]:hover {
 color:var(--fg)!important;
}
html[data-reference-system="true"][data-theme] .editor-topbar .tb-icon[data-preview-device-target].is-active {
 background:var(--ref-segment-selected)!important; color:var(--fg-2)!important;
 box-shadow:0 0 0 1px var(--line);
}
html[data-reference-system="true"][data-theme] .editor-topbar .tb-icon[data-preview-device-target]:focus-visible {
 outline:2px solid var(--ref-brand-detail); outline-offset:2px;
}
@media(prefers-reduced-motion:reduce) {
 html[data-reference-system="true"][data-theme] .editor-topbar .tb-icon[data-preview-device-target] { transition:none; }
}

/* Connection notices reserve a row between the transcript and composer stack.
   They must never overlap typing, queued prompts or task controls. */
html:is([data-reference-system="true"],.reference-editor)[data-theme] [data-controller~="chat-sync"] > :is([data-chat-sync-target="reconnecting"],[data-chat-sync-target="slowRequest"]) {
 position:static; flex:0 0 auto; align-self:stretch; transform:none; width:auto;
 margin:0 12px 8px; padding:8px 2px; gap:8px; align-items:flex-start;
 border:0!important; border-radius:0; background:transparent!important; box-shadow:none;
 color:var(--fg-2)!important; font-size:13px; font-weight:400; line-height:20px;
}
html:is([data-reference-system="true"],.reference-editor)[data-theme] [data-controller~="chat-sync"] > :is([data-chat-sync-target="reconnecting"],[data-chat-sync-target="slowRequest"]) > span[aria-hidden="true"] {
 flex:0 0 6px; width:6px; height:6px; margin-top:7px; background:var(--warning-fg)!important;
}
/* The waiting notice is a quiet card in the same flow as task and queue cards. */
html:is([data-reference-system="true"],.reference-editor)[data-theme] [data-controller~="chat-sync"] > [data-chat-sync-target="slowRequest"] {
 padding:12px; gap:10px; border:1px solid var(--line)!important; border-radius:16px;
 background:var(--bg-2)!important; box-shadow:var(--rx-panel-shadow);
}
html:is([data-reference-system="true"],.reference-editor)[data-theme] .generation-waiting-title { display:block; color:var(--fg); font-weight:500; }
html:is([data-reference-system="true"],.reference-editor)[data-theme] .generation-waiting-meta { justify-content:space-between; gap:8px 12px; margin-top:8px; }
html:is([data-reference-system="true"],.reference-editor)[data-theme] [data-chat-sync-target="lastProgress"] { color:var(--fg-3); opacity:1; font-variant-numeric:tabular-nums; }
html:is([data-reference-system="true"],.reference-editor)[data-theme] [data-chat-sync-target="statusResult"] {
 margin-top:10px; padding-top:10px; border-top:1px solid var(--line);
 color:var(--fg-3); opacity:1; line-height:18px;
}
html:is([data-reference-system="true"],.reference-editor)[data-theme] [data-chat-sync-target="statusResult"]:empty { display:none; }
html:is([data-reference-system="true"],.reference-editor)[data-theme] .generation-status-check {
 display:inline-flex; align-items:center; justify-content:center; flex-shrink:0;
 min-height:36px; padding:6px 10px; border:1px solid var(--line); border-radius:8px;
 background:var(--bg-3); color:var(--fg-2); text-decoration:none;
 cursor:pointer; font:500 12px/18px var(--font-body); text-align:center;
 transition:background-color 140ms ease,border-color 140ms ease,color 140ms ease;
}
html:is([data-reference-system="true"],.reference-editor)[data-theme] .generation-status-check:hover:not([aria-disabled="true"]) {
 background:color-mix(in srgb,var(--bg-3) 96%,var(--fg)); border-color:var(--line-2); color:var(--fg);
}
html:is([data-reference-system="true"],.reference-editor)[data-theme] .generation-status-check:focus-visible { outline:2px solid var(--ref-brand-detail); outline-offset:2px; }
html:is([data-reference-system="true"],.reference-editor)[data-theme] .generation-status-check[aria-disabled="true"] { opacity:.55; cursor:wait; }
@media (max-width:1023px) {
 html:is([data-reference-system="true"],.reference-editor)[data-theme] .generation-status-check { min-height:44px; }
}
@media (prefers-reduced-motion:reduce) {
 html:is([data-reference-system="true"],.reference-editor)[data-theme] .generation-status-check { transition:none; }
}
@media (forced-colors:active) {
 html:is([data-reference-system="true"],.reference-editor)[data-theme] [data-controller~="chat-sync"] > [data-chat-sync-target="slowRequest"] { border-color:CanvasText!important; background:Canvas!important; box-shadow:none; }
 html:is([data-reference-system="true"],.reference-editor)[data-theme] .generation-status-check { border-color:ButtonText; }
}
/* The local UI simulation can hold either notice for visual review. */
html:is([data-reference-system="true"],.reference-editor)[data-theme] [data-reference-connection-preview="slow"] > [data-chat-sync-target="slowRequest"],
html:is([data-reference-system="true"],.reference-editor)[data-theme] [data-reference-connection-preview="reconnecting"] > [data-chat-sync-target="reconnecting"] { display:flex!important; }
html:is([data-reference-system="true"],.reference-editor)[data-theme] [data-reference-connection-preview="slow"] > [data-chat-sync-target="reconnecting"],
html:is([data-reference-system="true"],.reference-editor)[data-theme] [data-reference-connection-preview="reconnecting"] > [data-chat-sync-target="slowRequest"] { display:none!important; }

/* Mobile navigation already reserves the measured fixed bottom-bar height.
   The task-progress controller's legacy padding would reserve it twice and
   push a wrapped notice out of short chat viewports. Keep the usual 48px
   transcript breathing room for its edge fade and scroll-to-bottom control. */
@media (max-width:1023px) {
 html:is([data-reference-system="true"],.reference-editor)[data-theme] #chat_panel [data-controller~="chat-sync"] > #chat_container { min-height:0; padding-bottom:48px!important; }
}

/* At laptop height the notice takes space from the scrollable transcript,
   keeping the task/queue/composer controls inside the viewport. */
@media (min-width:1024px) and (max-height:1000px) {
 html:is([data-reference-system="true"],.reference-editor)[data-theme] #chat_panel:has(#task_progress_container:not(.hidden):not(.is-under-build-card)) [data-controller~="chat-sync"]:is(:has(> [data-chat-sync-target="slowRequest"]:not(.hidden)),:has(> [data-chat-sync-target="reconnecting"]:not(.hidden)),[data-reference-connection-preview="slow"],[data-reference-connection-preview="reconnecting"]) > #chat_container { min-height:0; }
}

/* ── Page navigator popover — menu-hover + menu-row rhythm ──────────────────
   Sanzone, 2026-09-29, dark editor: the row hover in the "PREVIEW AS · page
   list" dropdown goes DARKER than the popover, and the rows are cramped.

   (a) HOVER, measured. The popover paints --bg-2 (#1E1F21 dark) and a hovered
   row measured #18191A — --bg-1/--rx-chrome, one step DOWN. The row's own
   Tailwind `dark:hover:bg-[var(--hover-bg)]` (#2C2E31, correct) never applies:
   _legacy_bridge.css translates the legacy `.hover\:bg-gray-100` to
   var(--bg-1) at (0,4,2), out-specifying Tailwind's (0,3,0) dark variant. That
   blanket translation is right on the CANVAS, where --bg-1 IS a lift, and
   inverted inside a popover, whose own surface is already --bg-2.

   The Lab names the answer rather than leaving it to a hex: its semantic
   surfaces table annotates --hover-bg "Opaque neutral hover fill. Use the
   separate menu-hover token within popovers." That token is --rx-overlay-hover
   (#292B2E dark / #F4F4F4 light) — lighter than the popover on dark, darker on
   light, in one declaration — and it is already the shipped recipe for a
   refresh popover row (.composer-menu-item:hover, above). No !important: these
   selectors are (0,5,1) against the bridge's (0,4,2).

   (b) RHYTHM. Rows were 36px at 8px/12px with an 8px icon margin. The refresh's
   own menu rows are roomier (the model menu is min-height 44px, padding 10px,
   gap 12px; the account menu 36px/8px 12px/gap 10px). These take the middle:
   a 40px row at 10px/--space-3 with a real flex `gap`, which also replaces the
   icon's Tailwind mr-2 so icon↔label spacing is declared once. The PREVIEW AS
   header takes the same horizontal inset so the segmented control lines up
   with the rows underneath it instead of sitting 4px proud. */
html[data-reference-system="true"][data-theme] [data-page-selector-target="dropdown"] [data-page-selector-target="pageOption"] {
 min-height: 40px;
 padding: 10px var(--space-3);
 gap: 10px;
 border-radius: 8px;
}
html[data-reference-system="true"][data-theme] [data-page-selector-target="dropdown"] [data-page-selector-target="pageOption"]:hover {
 background-color: var(--rx-overlay-hover);
}
/* The gap owns icon↔label spacing now; the partial's Tailwind mr-2 would add a
   second, different one. Both icon variants are zeroed — v1 is display:none
   under [data-theme], but it must not reappear as a stray margin if that ever
   changes. */
html[data-reference-system="true"][data-theme] [data-page-selector-target="dropdown"] [data-page-selector-target="pageOption"] :is(.page-selector-icon-v1,.page-selector-icon-v2 svg) {
 margin-right: 0;
}
html[data-reference-system="true"][data-theme] [data-page-selector-target="dropdown"] .ps-preview-as {
 padding: 10px var(--space-3) 6px;
}
/* The header's wider inset costs the fill track 8px, and the track was ALREADY
   2px short: measured before any change here, "Logged out" clipped at
   scrollWidth 66 in a 64px box — the exact stub _editor_topbar.css's
   `overflow:visible` rule was added to prevent (Sanzone, 2026-07-24). The
   popover's min-w was sized for the three tabs when "End user" landed and has
   been a hair under since. Give it the room instead of tightening the control
   back up: 384px leaves the widest label whole with headroom, and this is the
   one place the popover's own width can move without touching the partial
   (flag-OFF keeps the 360px it ships today). */
html[data-reference-system="true"][data-theme] [data-page-selector-target="dropdown"]:has(.ps-preview-as) {
 min-width: 384px;
}

/* ── Editor chat suggestions — the card needs the RAISED surface here ───────
   Sanzone, 2026-09-29, prod dark editor: the suggestion cards "still render on
   the near-black BASE surface with a hairline border", not the Lab's card.

   DIAGNOSED FIRST, and it is neither of the two obvious answers. The selector
   does NOT miss and the token is NOT undefined: measured live, .suggest-card
   computes #1D1D1D / 1px #292B2F / 10px / 14px 16px — byte-for-byte the Lab
   specimen in _september_refinements.css. #7012 item 6 landed correctly.

   THE GROUND IS WHAT DIFFERS. The Lab's own semantic-surfaces table defines
   --ref-suggestion-bg as "Low-contrast card fill CLOSE TO ITS SURROUNDING
   SURFACE" and --ref-suggestion-hover as "a small tonal change with NO LIFT",
   and the Lab renders every swatch against --bg-2 (#1E1F21 dark), where
   #1D1D1D is exactly that deliberate, barely-there inset. The editor is the
   one host where the block does not sit on --bg-2: its chat column paints
   --rx-editor-canvas #151617. So a token tuned to be invisible against
   #1E1F21 lands 8 points above near-black with a hairline — which reads as
   the base surface, precisely as reported. The role is right; the ground it
   was tuned against is not the one it got.

   Note the token that LOOKS like the fix and is not: the Lab's "Card surface"
   role is --rx-panel, #1E1F21 dark — ONE point off the #1D1D1D already
   shipping. Adopting it would change nothing visible. The refresh's genuinely
   raised surface is --rx-raised (#242528 dark / #FFFFFF light), the same one
   dialog.modal and .credits-pop use.

   RE-POINT, don't restate: the two roles are rebound on the editor body so
   coverage.css's existing `background: var(--ref-suggestion-bg)` and its
   :hover twin resolve to the new values. No specificity fight, no !important,
   and every other host (the Lab specimen, /styleguide) keeps the low-contrast
   role it documents. Both replacements are theme-aware, so one declaration
   covers light and dark — and the hover had to move with the fill or it would
   invert: --ref-suggestion-hover #222222 is DARKER than a #242528 card.
   --hover-bg is the Lab's ordinary surface-hover role (the card is not a
   popover, so the menu-hover token is not the one here) and it lifts on dark
   (#2C2E31) while recessing on light (#F0F0F0).

   No shadow: --rx-floating-shadow belongs to panels that float over content
   (modal, credits popover). These are rows in a list. */
html[data-reference-system="true"][data-theme] [data-reference-editor="true"] {
 --ref-suggestion-bg: var(--rx-raised);
 --ref-suggestion-hover: var(--hover-bg);
}

/* Builder recovery: presentation only. Keep failure copy, tool disclosure and
   recovery endpoints authoritative in the editor partials / BuilderRecovery. */
html[data-reference-system="true"][data-theme] :is(.editor-recovery-card,
  [data-testid="context-overflow-notice"].ds-callout,
  [data-testid="attachment-overflow-notice"].ds-callout) {
  background:var(--bg-2); border:1px solid var(--line-2); border-radius:12px;
  padding:16px; gap:12px; margin-block:12px; box-shadow:none;
}
html[data-reference-system="true"][data-theme] .editor-recovery-card .ds-callout-body {
  display:flex; flex-direction:column; gap:8px; flex:1;
  overflow-wrap:anywhere; font-size:13px; line-height:1.5;
}
html[data-reference-system="true"][data-theme] .editor-recovery-title {
  order:0; margin:0; font-size:15px; line-height:1.4;
}
html[data-reference-system="true"][data-theme] .editor-recovery-body { order:1; }
html[data-reference-system="true"][data-theme] .editor-recovery-card [data-testid="builder-recovery-changes"] {
  order:2; margin:0; color:var(--fg-3); font-size:12px;
}
html[data-reference-system="true"][data-theme] .editor-recovery-card .ds-callout-icon svg {
  width:18px; height:18px; flex:none;
}
html[data-reference-system="true"][data-theme] .editor-recovery-icon-neutral { color:var(--fg-3); }
html[data-reference-system="true"][data-theme] .editor-recovery-details { order:3; margin:0; }
html[data-reference-system="true"][data-theme] .editor-recovery-actions { order:4; }
html[data-reference-system="true"][data-theme] .editor-recovery-details > summary {
  display:inline-flex; align-items:center; gap:6px; min-height:32px;
  padding:6px 8px; margin-left:-8px; border-radius:6px; list-style:none;
  color:var(--fg-2) !important; cursor:pointer;
  transition:background-color 100ms ease,color 100ms ease;
}
html[data-reference-system="true"][data-theme] .editor-recovery-details > summary::-webkit-details-marker { display:none; }
html[data-reference-system="true"][data-theme] .editor-recovery-details > summary:hover {
  background:var(--rx-hover); color:var(--fg) !important;
}
html[data-reference-system="true"][data-theme] .editor-recovery-details > summary:focus-visible {
  outline:2px solid var(--focus-ring-color); outline-offset:2px;
}
html[data-reference-system="true"][data-theme] .editor-recovery-caret {
  width:14px; height:14px; flex:none; transition:transform 100ms ease;
}
html[data-reference-system="true"][data-theme] .editor-recovery-details[open] .editor-recovery-caret { transform:rotate(90deg); }
html[data-reference-system="true"][data-theme] .editor-recovery-details > div {
  border:0 !important; padding:8px 0 0; margin:0;
}
html[data-reference-system="true"][data-theme] .editor-recovery-details code {
  white-space:normal; overflow-wrap:anywhere;
}
/* The turn status line ("Builder stopped before finishing", tool count,
   duration) is the legacy .editor-metadata-line, painted Tailwind gray-400
   #9CA3AF by theme.css: 2.33:1 at 12px on the light editor canvas (design
   audit 2026-11-10, F13). --fg-3 is the refresh's quiet text role and clears
   AA on every surface it sits on (fg_role_contrast_spec). theme.css also
   serves the refresh-off editor and ClickFunnels AI, so the fix lives here. */
html[data-reference-system="true"][data-theme] .editor-metadata-line { color:var(--fg-3); }
/* The previous-preview note must never compete with status and Retry for a
   horizontal slot. Wrapping also keeps long translated labels usable. */
html[data-reference-system="true"][data-theme] .editor-recovery-footer {
  display:flex; flex-wrap:wrap; justify-content:flex-start; align-items:center;
  gap:8px 12px; min-width:0;
}
html[data-reference-system="true"][data-theme] .editor-recovery-footer > div:first-child { min-width:0; }
html[data-reference-system="true"][data-theme] .editor-recovery-footer .continue-action { margin:0; flex:none; }
html[data-reference-system="true"][data-theme] .editor-recovery-footer :is(a,button) { white-space:normal; }
html[data-reference-system="true"][data-theme] [data-testid="shadowed-failed-notice"] {
  flex-basis:100%; order:2; margin-top:4px; padding:0;
  background:transparent; border:0; border-radius:0;
  color:var(--fg-3); font-size:12px; line-height:1.5; overflow-wrap:anywhere;
}
@media (prefers-reduced-motion:reduce) {
  html[data-reference-system="true"][data-theme] .editor-recovery-details :is(summary,.editor-recovery-caret) { transition:none; }
}
html[data-reference-system="true"][data-theme] .editor-recovery-details :is(code,[class*="text-[10px]"]) { font-size:12px; }
/* Shared with the Reference Lab thinking slider. Controller lifecycle owns behavior. */
/* Specificity matches the editor layer; source choices remain controller targets only. */
html:is([data-reference-system="true"],.reference-editor)[data-theme] .ref-thinking-slider[data-thinking-effort-target="menu"] {
 width:296px; max-width:calc(100vw - 32px); padding:14px 16px;
 border:1px solid var(--rx-overlay-border); border-radius:12px;
}
html:is([data-reference-system="true"],.reference-editor)[data-theme] .ref-thinking-slider [role="radiogroup"] { display:none; }
html:is([data-reference-system="true"],.reference-editor)[data-theme] .ref-thinking-slider :is(.think-menu__head,.composer-menu-head) { display:block; margin:0 0 8px; padding:0; border:0; background:transparent; color:var(--fg); font:600 13px/1.4 var(--font-body); text-transform:none; letter-spacing:0; }
html:is([data-reference-system="true"],.reference-editor)[data-theme] .ref-thinking-slider .think-menu__head p { margin:0; color:inherit; font:inherit; text-transform:none; letter-spacing:0; }
html:is([data-reference-system="true"],.reference-editor)[data-theme] .ref-thinking-current {
 display:block; min-height:0; margin:8px 0 0; text-align:left; color:var(--fg-2);
 font:400 12px/1.4 var(--font-body); letter-spacing:0;
}
html:is([data-reference-system="true"],.reference-editor)[data-theme] input.ref-thinking-range {
 -webkit-appearance:none; appearance:none; display:block; box-sizing:border-box;
 width:100%; height:28px!important; min-height:0!important; margin:0; padding:0!important; border:0!important;
 border-radius:99px; box-shadow:none; outline:none; cursor:pointer;
 background:transparent!important;
}
html:is([data-reference-system="true"],.reference-editor)[data-theme] .ref-thinking-range::-webkit-slider-runnable-track {
 height:5px; border-radius:99px;
 background:var(--thinking-gradient,var(--ref-progress-gradient)) left center / var(--thinking-fill) 100% no-repeat,var(--line-2);
}
html:is([data-reference-system="true"],.reference-editor)[data-theme] .ref-thinking-range::-moz-range-track {
 height:5px; border-radius:99px;
 background:var(--thinking-gradient,var(--ref-progress-gradient)) left center / var(--thinking-fill) 100% no-repeat,var(--line-2);
}
html:is([data-reference-system="true"],.reference-editor)[data-theme] .ref-thinking-range::-webkit-slider-thumb {
 -webkit-appearance:none; appearance:none; width:18px; height:18px; margin-top:-6.5px;
 border-radius:50%; background:#fff; border:1px solid #0001; box-shadow:0 1px 3px #0003;
}
html:is([data-reference-system="true"],.reference-editor)[data-theme] .ref-thinking-range::-moz-range-thumb {
 width:18px; height:18px; border-radius:50%; background:#fff; border:1px solid #0001; box-shadow:0 1px 3px #0003;
}
html:is([data-reference-system="true"],.reference-editor)[data-theme] input.ref-thinking-range:focus-visible { outline:2px solid var(--ref-focus); outline-offset:5px; }
html:is([data-reference-system="true"],.reference-editor)[data-theme] .ref-thinking-steps { display:flex; justify-content:space-between; gap:8px; margin-top:6px; pointer-events:none; }
html:is([data-reference-system="true"],.reference-editor)[data-theme] .ref-thinking-steps span { color:var(--fg-3); font:400 12px/1.4 var(--font-body); }
html:is([data-reference-system="true"],.reference-editor)[data-theme] .ref-thinking-steps span[data-selected="true"] { color:var(--fg); font-weight:600; }
@media(max-width:640px) {
 html:is([data-reference-system="true"],.reference-editor)[data-theme] .composer-popover.ref-thinking-slider[data-thinking-effort-target="menu"] { width:auto; max-width:none; left:8px; right:8px; bottom:8px; padding:28px 18px 16px; }
}
/* Overskill Reference Lab snapshot, 2026-09-25. Source: _system_refinements.html.erb.
 * CSS only; source application controllers and behavior remain authoritative. */
/* Source-component refinement layer: source markup and controllers stay authoritative. */
html[data-reference-system="true"][data-theme] {
 --control-border:var(--line-2); --field-border:var(--line-2); --field-border-hover:var(--ref-hover-border);
 --opt-hover-bg:var(--rx-overlay-hover); --opt-selected-bg:var(--rx-overlay-selected); --opt-selected-hover-bg:var(--rx-overlay-selected-hover);
 --hover-border:var(--ref-hover-border); --focus-ring:0 0 0 2px var(--ref-focus-halo);
 --ref-motion-fast:140ms; --ref-motion-menu:160ms;
}
html[data-reference-system="true"][data-theme] :is(.ddmenu,.composer-menu,.think-menu,.dropdown-menu) { background:var(--rx-overlay); border-color:var(--rx-overlay-border); box-shadow:var(--rx-floating-shadow); padding:6px; border-radius:12px; }
html[data-reference-system="true"][data-theme] :is(.ddopt,.composer-menu-item) { border-radius:var(--radius-control); padding:9px 10px; }
html[data-reference-system="true"][data-theme] .ddopt[aria-selected="true"] .tick { color:var(--ref-selection-ink); }
html[data-reference-system="true"][data-theme] .ddgroup { font:500 11px/1.4 var(--font-body); letter-spacing:normal; text-transform:none; color:var(--fg-2); padding:8px 10px; }
html[data-reference-system="true"][data-theme] .combo { padding-right:12px; gap:12px; }
html[data-reference-system="true"][data-theme] .combo .chev { flex-shrink:0; margin-left:auto; }
html[data-reference-system="true"][data-theme] :is(.btn,.icon-btn,.seg-btn,.ds-tab,.card-hoverable,.prompt-chip,.chip,.link-chip,.cp-link,.rx-text-button):focus-visible { outline:2px solid var(--ref-focus); outline-offset:3px; }
html[data-reference-system="true"][data-theme] .card-hoverable:hover { transform:none; background:var(--rx-raised); border-color:var(--line-2); box-shadow:var(--rx-panel-shadow); }
html[data-reference-system="true"][data-theme] :is(.matrix-tile-tag,.feature-card-tag,.ddgroup,.status-pill,.cp-plan,.help-toc-title) { font-family:var(--font-body); letter-spacing:normal; }
html[data-reference-system="true"][data-theme] .status-pill:is(.status-pill--ok,.status-pill--warn,.status-pill--down) { background:var(--bg-2); border-color:var(--line); color:var(--fg-2); }
html[data-reference-system="true"][data-theme] .status-pill--live .status-dot { animation:none; }
html[data-reference-system="true"][data-theme] .ds-tabs { gap:16px; overflow-x:auto; }
html[data-reference-system="true"][data-theme] .ds-tab { padding:10px 4px; white-space:nowrap; }
html[data-reference-system="true"][data-theme] .ds-tab:hover { background:var(--hover-bg); border-radius:6px 6px 0 0; }
html[data-reference-system="true"][data-theme] .ds-tab-count { background:var(--bg-3); color:var(--fg-2); }
html[data-reference-system="true"][data-theme] .opt-card { padding:12px; gap:10px; border-radius:10px; background:var(--bg-2); border-color:var(--line); }
html[data-reference-system="true"][data-theme] .opt-card:has(input:checked) { background:var(--rx-raised); border-color:var(--ref-focus); box-shadow:var(--rx-panel-shadow); }
html[data-reference-system="true"][data-theme] .opt-card:has(input:focus-visible) { outline:2px solid var(--ref-focus); outline-offset:3px; }
html[data-reference-system="true"][data-theme] .opt-card:has(input:disabled) { opacity:.5; cursor:not-allowed; }
html[data-reference-system="true"][data-theme] .opt-card__title { font:500 14px/1.4 var(--font-body); color:var(--fg); }
html[data-reference-system="true"][data-theme] .opt-card__desc { margin-top:4px; font:400 13px/1.5 var(--font-body); color:var(--fg-2); }
/* A static gradient signals an enabled switch. The thumb position remains the
   primary state cue; checkbox/radio marks stay solid for small-size clarity. */
html[data-reference-system="true"][data-theme] .switch input:checked ~ .track,
html[data-reference-system="true"][data-theme] .toggle:checked { background:var(--ref-progress-gradient); border-color:var(--ref-toggle-edge); }
html[data-reference-system="true"][data-theme] .switch input:checked ~ .knob,
html[data-reference-system="true"][data-theme] .toggle:checked::after { background:var(--ref-toggle-knob); box-shadow:0 1px 2px #0003; }
html[data-reference-system="true"][data-theme] :is(.checkbox,.radio) { accent-color:var(--fg); }
html[data-reference-system="true"][data-theme] :is(.checkbox,.radio):checked { background-color:var(--fg); border-color:var(--fg); }
html[data-reference-system="true"][data-theme] .ds-progress-track { overflow:hidden; border-radius:99px; }
html[data-reference-system="true"][data-theme] .ds-progress-fill { border-radius:inherit; }
html[data-reference-system="true"][data-theme] .ds-progress-fill.is-error { background:var(--danger-fg); }
html[data-reference-system="true"][data-theme] .cl-empty { padding:24px; border:1px solid var(--line); border-radius:12px; background:var(--bg-2); }
html[data-reference-system="true"][data-theme] .cl-empty strong { font:600 18px/1.4 var(--font-body); color:var(--fg); }
html[data-reference-system="true"][data-theme] .cl-empty span { font:400 13px/1.5 var(--font-body); color:var(--fg-2); }
.reference-layout .ref-source-fixture { margin:16px 0; padding:20px; border:1px solid var(--line); border-radius:14px; background:var(--bg-2); }
.reference-layout .ref-option-fixture { display:grid; gap:8px; border:0; padding:0; margin:0; max-width:540px; }
.reference-layout .ref-option-fixture legend { margin-bottom:12px; font-weight:500; }
.reference-layout [data-ref-tab-demo] { margin-top:20px; }
.reference-layout [data-ref-tab-demo] [role=tabpanel] { padding:16px 4px; }
@media(prefers-reduced-motion:no-preference) {
 html[data-reference-system="true"][data-theme] .dd.open .ddmenu { animation:ref-menu-arrive var(--ref-motion-menu) ease-out; }
 html[data-reference-system="true"][data-theme] :is(.btn,.icon-btn,.card-hoverable,.ddopt,.chip,.prompt-chip,.link-chip) { transition:background-color var(--ref-motion-fast) ease,border-color var(--ref-motion-fast) ease,color var(--ref-motion-fast) ease,box-shadow var(--ref-motion-fast) ease; }
}
@keyframes ref-menu-arrive { from { opacity:0; translate:0 3px; } to { opacity:1; translate:0 0; } }
@media(prefers-reduced-motion:reduce) {
 html[data-reference-system="true"][data-theme] :is(.ddmenu,.composer-menu,.think-menu,.status-dot,.ds-progress-fill,.pf-sync-fill,.pb-progress-fill,.switch .track,.switch .knob,.toggle,.toggle::after) { animation:none!important; transition:none!important; }
}
@media(pointer:coarse) { html[data-reference-system="true"][data-theme] :is(.check-row,.ddopt,.ds-tab,.seg-btn) { min-height:44px; } }
@media(max-width:600px) { .reference-layout .ref-source-fixture { padding:14px; } .reference-layout .sg-src-row { display:block; } .reference-layout .sg-src-key { width:auto; } }
@media(forced-colors:active) {
 html[data-reference-system="true"][data-theme] .switch input:checked ~ .track,html[data-reference-system="true"][data-theme] .toggle:checked { background:Highlight; border-color:Highlight; }
 html[data-reference-system="true"][data-theme] .switch input:checked ~ .knob,html[data-reference-system="true"][data-theme] .toggle:checked::after { background:HighlightText; }
}
html[data-reference-system="true"][data-theme] [data-testid="integration-already-connected"] { padding:12px 14px; border:1px solid var(--line); background:var(--bg-2); color:var(--fg); font:500 14px/1.5 var(--font-body); }
html[data-reference-system="true"][data-theme] [data-testid="integration-already-connected"] svg { color:var(--success-fg); width:18px; height:18px; }
html[data-reference-system="true"][data-theme] [data-testid="integration-already-connected"] .text-sm { color:var(--fg-2); font-size:13px; }
html[data-reference-system="true"][data-theme] .wint-status--connected { background:var(--success-bg); color:var(--success-fg); border-color:transparent; }
.reference-layout .ref-password-fixture { max-width:400px; display:grid; gap:8px; }
.reference-layout .ref-password-fixture label:not(:first-child) { margin-top:8px; }
.reference-layout .ref-password-fixture .input { width:100%; padding-right:44px; }
html[data-reference-system="true"][data-theme] [data-controller="password-visibility"] button { width:40px; justify-content:center; padding:0; border-radius:8px; color:var(--fg-2); }
html[data-reference-system="true"][data-theme] [data-controller="password-visibility"] button:hover { background:var(--hover-bg); color:var(--fg); }
html[data-reference-system="true"][data-theme] [data-controller="password-visibility"] button:focus-visible { outline:2px solid var(--ref-focus); outline-offset:2px; }
html[data-reference-system="true"][data-theme] #knowledge_panel_error:empty { display:none; }
html[data-reference-system="true"][data-theme] #knowledge_panel_error { background:var(--bg-2); border:1px solid var(--line); border-radius:10px; padding:12px 14px; }
html[data-reference-system="true"][data-theme] #knowledge_panel_error h3 { color:var(--fg); font:500 14px/1.4 var(--font-body); }
html[data-reference-system="true"][data-theme] #knowledge_panel_error p { color:var(--fg-2); font:400 13px/1.5 var(--font-body); }
html[data-reference-system="true"][data-theme] #knowledge_panel_error :is(.fa-exclamation-circle,.ref-error-symbol) { color:var(--danger-fg); }
html[data-reference-system="true"][data-theme] #knowledge_panel_error button { display:grid; place-items:center; width:28px; height:28px; border-radius:6px; color:var(--fg-2); }
html[data-reference-system="true"][data-theme] #knowledge_panel_error button:hover { color:var(--fg); background:var(--hover-bg); }
html[data-reference-system="true"][data-theme] #knowledge_panel_error button:focus-visible { outline:2px solid var(--ref-focus); outline-offset:2px; }
/* Overskill Reference Lab snapshot, 2026-09-25. Source: _motion_refinements.html.erb.
 * CSS only; source application controllers and behavior remain authoritative. */
html[data-reference-system="true"][data-theme] {
 --ref-motion-enter:180ms; --ref-motion-exit:110ms;
 --ref-motion-ease:cubic-bezier(.22,1,.36,1);
}
/* Controllers continue to own open/hidden state. Discrete display transitions
   let an exit finish without JS timers delaying semantic closure. */
@supports (transition-behavior:allow-discrete) {
 @media(prefers-reduced-motion:no-preference) {
  html[data-reference-system="true"][data-theme] :is(.ddmenu,.think-menu,.composer-popover,dialog.modal) {
   animation:none; opacity:0; translate:0 -2px; scale:.98; transform-origin:top center;
   transition:opacity var(--ref-motion-exit) ease,translate var(--ref-motion-exit) ease,scale var(--ref-motion-exit) ease,display var(--ref-motion-exit) allow-discrete,overlay var(--ref-motion-exit) allow-discrete;
  }
  html[data-reference-system="true"][data-theme] :is(.think-menu,.composer-popover):not(dialog) { translate:0 2px; transform-origin:bottom center; }
  html[data-reference-system="true"][data-theme] .dd.open .ddmenu,
  html[data-reference-system="true"][data-theme] :is(.think-menu,.composer-popover):not(.hidden):not([hidden]),
  html[data-reference-system="true"][data-theme] dialog.modal[open] {
   animation:none; opacity:1; translate:0 0; scale:1;
   transition-duration:var(--ref-motion-enter); transition-timing-function:var(--ref-motion-ease);
  }
  html[data-reference-system="true"][data-theme] .dd:not(.open) .ddmenu,
  html[data-reference-system="true"][data-theme] :is(.think-menu,.composer-popover):is(.hidden,[hidden]),
  html[data-reference-system="true"][data-theme] dialog.modal:not([open]) { pointer-events:none; }
  @starting-style {
   html[data-reference-system="true"][data-theme] .dd.open .ddmenu,
   html[data-reference-system="true"][data-theme] dialog.modal[open] { opacity:0; translate:0 -2px; scale:.98; transform-origin:top center; }
   html[data-reference-system="true"][data-theme] :is(.think-menu,.composer-popover):not(.hidden):not([hidden]) { opacity:0; translate:0 2px; scale:.98; }
  }
  html[data-reference-system="true"][data-theme] dialog.modal::backdrop {
   opacity:0; transition:opacity var(--ref-motion-exit) ease,display var(--ref-motion-exit) allow-discrete,overlay var(--ref-motion-exit) allow-discrete;
  }
  html[data-reference-system="true"][data-theme] dialog.modal[open]::backdrop { opacity:1; }
  @starting-style { html[data-reference-system="true"][data-theme] dialog.modal[open]::backdrop { opacity:0; } }
 }
}
@media(prefers-reduced-motion:no-preference) {
 html[data-reference-system="true"][data-theme] :is(.switch .knob,.toggle::after) { transition:transform var(--ref-motion-enter) var(--ref-motion-ease),background-color var(--ref-motion-enter) ease; }
 html[data-reference-system="true"][data-theme] :is(.ds-progress-fill,.pf-sync-fill,.pb-progress-fill) { transition:width 220ms ease; }
 html[data-reference-system="true"][data-theme] :is(.seg-btn,.ds-tab,.icon-btn,.composer-tool) { transition:background-color var(--ref-motion-fast) ease,color var(--ref-motion-fast) ease; }
}
@media(prefers-reduced-motion:reduce) {
 html[data-reference-system="true"][data-theme] :is(.ddmenu,.think-menu,.composer-popover,dialog.modal,.os-tooltip--compact,[role="tooltip"],.switch .knob,.toggle::after,.ds-progress-fill,.pf-sync-fill,.pb-progress-fill,.seg-btn,.ds-tab,.icon-btn,.composer-tool),
 html[data-reference-system="true"][data-theme] dialog.modal::backdrop { animation:none!important; transition:none!important; translate:none; scale:none; }
}

/* Adapted motion direction from transitions.dev; existing controllers own state.
   Independent scale preserves centering transforms. No hover displacement. */
@keyframes ref-pop-scale-up { from { scale:.98; transform-origin:bottom center; } to { transform-origin:bottom center; } }
@keyframes ref-pop-scale-down { from { scale:.98; transform-origin:top center; } to { transform-origin:top center; } }
@media(prefers-reduced-motion:no-preference) {
 html[data-reference-system="true"][data-theme] {
  --ds-pop-in-up:ds-pop-fade 140ms ease,ds-pop-rise-up 180ms var(--ref-motion-ease),ref-pop-scale-up 180ms var(--ref-motion-ease);
  --ds-pop-in-down:ds-pop-fade 140ms ease,ds-pop-rise-down 180ms var(--ref-motion-ease),ref-pop-scale-down 180ms var(--ref-motion-ease);
 }
 html[data-reference-system="true"][data-theme] dialog.modal { translate:none; transform-origin:center; }
 html[data-reference-system="true"][data-theme] .composer-popover.flip { translate:0 -2px; transform-origin:top center; }
 @supports (transition-behavior:allow-discrete) {
  html[data-reference-system="true"][data-theme] [data-credit-topup-modal-target="modal"] {
   opacity:0;
   transition:opacity var(--ref-motion-exit) ease,display var(--ref-motion-exit) allow-discrete;
  }
  html[data-reference-system="true"][data-theme] [data-credit-topup-modal-target="modal"]:not(.hidden) {
   opacity:1; transition-duration:var(--ref-motion-enter);
  }
  html[data-reference-system="true"][data-theme] .topup-modal-panel {
   scale:.985; transition:scale var(--ref-motion-exit) var(--ref-motion-ease);
  }
  html[data-reference-system="true"][data-theme] [data-credit-topup-modal-target="modal"]:not(.hidden) .topup-modal-panel {
   scale:1; transition-duration:var(--ref-motion-enter);
  }
  html[data-reference-system="true"][data-theme] [data-credit-topup-modal-target="modal"].hidden { pointer-events:none; }
  @starting-style {
   html[data-reference-system="true"][data-theme] [data-credit-topup-modal-target="modal"]:not(.hidden) { opacity:0; }
   html[data-reference-system="true"][data-theme] [data-credit-topup-modal-target="modal"]:not(.hidden) .topup-modal-panel { scale:.985; }
   html[data-reference-system="true"][data-theme] dialog.modal[open] { translate:none; scale:.985; transform-origin:center; }
  }
 }
 /* Progressive enhancement: native disclosures stay immediate in older engines. */
 @supports (interpolate-size:allow-keywords) and selector(details::details-content) {
  html[data-reference-system="true"][data-theme] details:is(.appimport-help,.wint-disclosure,.skill-row-more,.skill-pack-skipped,.ti-show-faq-item)::details-content {
   interpolate-size:allow-keywords; block-size:0; overflow:clip; opacity:0;
   transition:block-size var(--ref-motion-enter) var(--ref-motion-ease),opacity var(--ref-motion-exit) ease,content-visibility var(--ref-motion-enter) allow-discrete;
  }
  html[data-reference-system="true"][data-theme] details:is(.appimport-help,.wint-disclosure,.skill-row-more,.skill-pack-skipped,.ti-show-faq-item)[open]::details-content { block-size:auto; opacity:1; }
 }
}
@media(prefers-reduced-motion:reduce) {
 html[data-reference-system="true"][data-theme] { --ds-pop-in-up:none; --ds-pop-in-down:none; }
 html[data-reference-system="true"][data-theme] :is([data-credit-topup-modal-target="modal"],.topup-modal-panel) { transition:none!important; scale:none; }
}

/* Upward-only bounce made centered deployment dots look top-heavy. Keep their
   geometry fixed and signal activity through opacity (including all phases). */
@keyframes reference-deployment-dot-pulse {
  0%, 100% { opacity: .45; }
  50% { opacity: 1; }
}
html[data-reference-system="true"][data-theme] .deployment-progress-dots > div {
  transform: none;
  animation: reference-deployment-dot-pulse 1.2s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  html[data-reference-system="true"][data-theme] .deployment-progress-dots > div { animation: none; opacity: 1; }
}
/* Overskill Reference Lab snapshot, 2026-09-25. Source: _model_refinements.html.erb.
 * CSS only; source application controllers and behavior remain authoritative. */
html[data-reference-system="true"][data-theme] [data-model-selector-target="menu"].composer-menu { width:340px; max-width:calc(100vw - 24px); padding:6px; border-radius:14px; }
html[data-reference-system="true"][data-theme] [data-model-selector-target="menu"] .composer-menu-head { padding:8px 10px; color:var(--fg-2); font:500 12px/1.4 var(--font-body); text-transform:none; letter-spacing:normal; border:0; background:none; }
html[data-reference-system="true"][data-theme] [data-model-selector-target="menu"] .composer-menu-list { padding:0; max-height:min(560px,70dvh); overflow-y:auto; overscroll-behavior:contain; }
html[data-reference-system="true"][data-theme] :is([data-model-selector-target="option"], [data-model-family-trigger]).composer-menu-item { display:grid; grid-template-columns:minmax(0,1fr) 16px; gap:12px; align-items:center; flex:none; height:auto; width:100%; min-height:44px; padding:10px; border:0; border-radius:8px; background:transparent; box-shadow:none; text-align:left; }
html[data-reference-system="true"][data-theme] :is([data-model-selector-target="option"], [data-model-family-trigger]).is-locked { opacity:1; }
html[data-reference-system="true"][data-theme] :is([data-model-selector-target="option"], [data-model-family-trigger]).is-selected { background:var(--rx-overlay-selected); box-shadow:none; }
html[data-reference-system="true"][data-theme] :is([data-model-selector-target="option"], [data-model-family-trigger]):hover { background:var(--rx-overlay-hover); }
html[data-reference-system="true"][data-theme] :is([data-model-selector-target="option"], [data-model-family-trigger]):focus-visible { outline:2px solid var(--ref-focus); outline-offset:-2px; background:var(--rx-overlay-hover); }
html[data-reference-system="true"][data-theme] :is([data-model-selector-target="option"], [data-model-family-trigger]) .composer-menu-icon { display:none; }
html[data-reference-system="true"][data-theme] :is([data-model-selector-target="option"], [data-model-family-trigger]) .composer-menu-body { min-width:0; }
html[data-reference-system="true"][data-theme] :is([data-model-selector-target="option"], [data-model-family-trigger]) .composer-menu-title-row { display:flex; flex-wrap:wrap; gap:6px; align-items:center; }
html[data-reference-system="true"][data-theme] :is([data-model-selector-target="option"], [data-model-family-trigger]) .composer-menu-title { color:var(--fg); font:500 14px/1.4 var(--font-body); overflow-wrap:anywhere; }
html[data-reference-system="true"][data-theme] :is([data-model-selector-target="option"], [data-model-family-trigger]) .composer-menu-desc { margin:3px 0 0; font:400 12px/1.45 var(--font-body); color:var(--fg-2); display:block; white-space:normal; overflow:visible; }
html[data-reference-system="true"][data-theme] :is([data-model-selector-target="option"], [data-model-family-trigger]) .composer-menu-tag-recommended { font:400 10px/1.4 var(--font-body); text-transform:none; letter-spacing:normal; color:var(--fg-2); background:var(--bg-3); border:0; padding:2px 5px; }
html[data-reference-system="true"][data-theme] :is([data-model-selector-target="option"], [data-model-family-trigger]) :is(.composer-menu-check,.composer-menu-lock) { width:16px; height:16px; padding:0; border:0; border-radius:0; background:none; box-shadow:none; color:var(--fg); }
html[data-reference-system="true"][data-theme] :is([data-model-selector-target="option"], [data-model-family-trigger]) .composer-menu-lock { color:var(--fg-2); }
html[data-reference-system="true"][data-theme] :is([data-model-selector-target="option"], [data-model-family-trigger]).is-selected .composer-menu-check { color:var(--success-fg); }
html[data-reference-system="true"][data-theme] :is([data-model-selector-target="option"], [data-model-family-trigger]) :is(.composer-menu-check,.composer-menu-lock) svg { width:16px; height:16px; }
html[data-reference-system="true"][data-theme] [data-model-selector-target="menu"] .composer-menu-foot { padding:10px; border-color:var(--line); }
html[data-reference-system="true"][data-theme] [data-model-selector-target="menu"] .composer-menu-foot-text { font:400 12px/1.5 var(--font-body); color:var(--fg-2); }
html[data-reference-system="true"][data-theme] [data-model-selector-target="button"].composer-tool { box-shadow:none; border:1px solid var(--line-2); outline:none; border-radius:8px; }
html[data-reference-system="true"][data-theme] [data-model-selector-target="button"].composer-tool:hover { background:var(--rx-overlay-hover); }
html[data-reference-system="true"][data-theme] [data-model-selector-target="button"].composer-tool:focus:not(:focus-visible) { box-shadow:none; outline:none; border-color:var(--line-2); }
html[data-reference-system="true"][data-theme] [data-model-selector-target="button"].composer-tool:focus-visible { box-shadow:none; outline:2px solid var(--ref-focus); outline-offset:2px; }
@media(max-width:640px) { html[data-reference-system="true"][data-theme] [data-model-selector-target="menu"].composer-popover { width:auto; max-width:none; left:8px; right:8px; bottom:8px; } }
html[data-reference-system="true"][data-theme] :is([data-chat-actions-sheet-target="modelOption"], .chat-actions-family-trigger) { min-height:48px; padding:10px 12px; border:0; border-radius:8px; }
html[data-reference-system="true"][data-theme] :is([data-chat-actions-sheet-target="modelOption"], .chat-actions-family-trigger) .chat-actions-row-title { font:500 14px/1.4 var(--font-body); }
html[data-reference-system="true"][data-theme] :is([data-chat-actions-sheet-target="modelOption"], .chat-actions-family-trigger) .chat-actions-row-sub { font:400 12px/1.45 var(--font-body); color:var(--fg-2); }
html[data-reference-system="true"][data-theme] [data-chat-actions-sheet-target="modelOption"][disabled] { opacity:.65; cursor:not-allowed; }
html[data-reference-system="true"][data-theme] [data-chat-actions-sheet-target="modelOption"] .chat-actions-model-check { color:var(--success-fg); background:none; padding:0; }

/* Keep real pricing and capability information; the lab's fixture condensed it. */
html[data-reference-system="true"][data-theme] :is([data-model-selector-target="option"], [data-model-family-trigger]) :is(.composer-menu-tag-cost,.composer-menu-tag-intel) { font:400 13px/1.4 var(--font-body); letter-spacing:normal; text-transform:none; color:var(--fg-2); background:none; border:0; padding:0; }

/* Model families (:model_picker_provider_families): the family row wears the
   model row's treatment above through the same `:is()` (equal specificity, and
   a flag-off page has no family row, so nothing else moves). It lays out as a
   row, not the two-column grid: name and count, then an optional lock, then the
   chevron. Fly-out rows sit inside their own card. */
html[data-reference-system="true"][data-theme] [data-model-family-trigger].composer-menu-item { display:flex; align-items:center; gap:12px; }
/* Brand logos (grouped picker only): a model row that leads with a logo gets a
   logo column in front of the two-column grid; the logo sits on the name's
   line (14px/1.4 = 19.6px, the 20px box). The family row is flex and needs
   nothing more than the box's own align-self. */
html[data-reference-system="true"][data-theme] [data-model-selector-target="option"].composer-menu-item.has-model-logo { grid-template-columns:20px minmax(0,1fr) 16px; }
html[data-reference-system="true"][data-theme] .has-model-logo > .model-family-logo { align-self:start; }
/* The logo column (20px box + 12px gap) comes out of the text, so the grouped
   menu is that much wider on a desktop-width screen: every name, cost label and
   chip keeps the width it had without logos. Phones keep their edge-to-edge
   sheet (the max-width:640px rule below sets width:auto). */
@media (min-width:641px) { html[data-reference-system="true"][data-theme] [data-model-selector-target="menu"].composer-menu:has(.model-family-logo) { width:372px; } }
html[data-reference-system="true"][data-theme] [data-model-family-trigger] .composer-menu-body { flex:1; }
html[data-reference-system="true"][data-theme] [data-model-family-trigger] .composer-menu-family-chevron { color:var(--fg-2); }
/* Overskill Reference Lab snapshot, 2026-09-25. Source: _platform_qa_styles.html.erb.
 * CSS only; source application controllers and behavior remain authoritative. */
/* Local QA: bridge legacy scaffold controls to the same semantic palette. */
/* Co-branded campaign keeps its own identity while retaining navigation on scroll. */
html[data-reference-system="true"] .bb-header { position: sticky; top: 0; z-index: 90; }
html[data-reference-system="true"][data-theme] .reference-scaffold-alert { display:flex; align-items:flex-start; gap:10px; padding:12px 14px; margin:12px 0; border:1px solid var(--line); border-radius:10px; background:var(--bg-2); color:var(--fg-2); font:400 14px/1.5 var(--font-body); }
html[data-reference-system="true"][data-theme] .reference-scaffold-alert__icon { flex:none; margin-top:2px; color:var(--fg-2); }
html[data-reference-system="true"][data-theme] .reference-scaffold-alert__icon.is-danger { color:var(--danger-fg); }
html[data-reference-system="true"][data-theme] .reference-scaffold-alert__body { min-width:0; overflow-wrap:anywhere; }
html[data-reference-system="true"][data-theme] .reference-scaffold-alert__body > :first-child { margin-top:0; }
html[data-reference-system="true"][data-theme] .reference-scaffold-alert__body > :last-child { margin-bottom:0; }
html[data-reference-system="true"][data-theme] :is(.ds-bt-box-desc,.ds-bt-input) { font-family:var(--font-body); font-weight:400; }

html[data-reference-system="true"][data-theme] .form :is(input[type=submit].button,button.button) { background:var(--rx-primary)!important; color:var(--rx-primary-ink)!important; border:1px solid transparent; border-radius:8px; padding:10px 16px; font:500 14px/1.4 var(--font-body); box-shadow:none; }
html[data-reference-system="true"][data-theme] .form :is(input[type=submit].button,button.button):hover { background:var(--rx-primary-hover)!important; color:var(--rx-primary-ink)!important; transform:none; }
html[data-reference-system="true"][data-theme] .form .buttons a[data-turbo-method="delete"] { color:var(--danger-fg); border-radius:6px; }
html[data-reference-system="true"][data-theme] .form .buttons a[data-turbo-method="delete"]:hover { text-decoration:underline; text-underline-offset:4px; }
@media(max-width:480px) {
 html[data-reference-system="true"][data-theme] .form .buttons { display:flex; flex-wrap:wrap; gap:8px; }
 html[data-reference-system="true"][data-theme] .form .buttons > :is(input[type=submit],button[type=submit]) { flex-basis:100%; margin:0; }
 html[data-reference-system="true"][data-theme] .form .buttons > a { flex:1; margin:0; padding:10px 12px; text-align:center; }
}
html[data-reference-system="true"][data-theme] .form .button-secondary { color:var(--fg-2); border-radius:6px; }
html[data-reference-system="true"][data-theme] .form .button-secondary:hover { color:var(--fg); text-decoration:underline; text-underline-offset:4px; }
html[data-reference-system="true"][data-theme] .ds-bt-input:focus:not([aria-invalid="true"]):not([readonly]):not(:disabled) { border-color:var(--field-border-focus); outline:0; box-shadow:var(--field-ring); }
html[data-reference-system="true"][data-theme] .cint__note { padding:12px 16px; line-height:1.5; }
html[data-reference-system="true"][data-theme] :is(.dash-apps-count,.dash-card-status,.dash-card-meta,.dash-foot-bottom,.dash-foot-heading,.auth-check-text) { font-family:var(--font-body); letter-spacing:.02em; }
/* Use the actual Select2 controller instead of the inaccessible native fallback. */
html[data-reference-system="true"][data-theme] .select2-container { display:inline-block!important; position:relative; vertical-align:middle; width:100%; max-width:100%; }
html[data-reference-system="true"][data-theme] select.select2-hidden-accessible { position:absolute!important; width:1px!important; height:1px!important; padding:0!important; overflow:hidden!important; clip:rect(0,0,0,0)!important; clip-path:inset(50%)!important; border:0!important; }
html[data-reference-system="true"][data-theme] .select2-selection--single { display:flex; align-items:center; min-height:44px; padding:10px 40px 10px 12px; border:1px solid var(--line-2); border-radius:8px; background:var(--rx-field); color:var(--fg); cursor:pointer; }
html[data-reference-system="true"][data-theme] .select2-selection__rendered { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
html[data-reference-system="true"][data-theme] .select2-selection__arrow { position:absolute; right:16px; top:50%; width:7px; height:7px; border-right:1.5px solid currentColor; border-bottom:1.5px solid currentColor; transform:translateY(-70%) rotate(45deg); }
html[data-reference-system="true"][data-theme] .select2-selection__arrow b { display:none; }
html[data-reference-system="true"][data-theme] .select2-selection:focus-visible { outline:none!important; border-color:var(--field-border-focus)!important; box-shadow:var(--field-ring)!important; }
html[data-reference-system="true"][data-theme] .select2-dropdown { display:block; background:var(--rx-overlay); color:var(--fg); padding:6px; border:1px solid var(--rx-overlay-border); border-radius:10px; box-shadow:var(--rx-floating-shadow); overflow:hidden; }
html[data-reference-system="true"][data-theme] body > .select2-container { position:absolute; z-index:1100; }
html[data-reference-system="true"][data-theme] .select2-search--dropdown { display:block; padding:4px; }
html[data-reference-system="true"][data-theme] .select2-search__field { width:100%; border:1px solid var(--line-2); border-radius:6px; background:var(--rx-field)!important; color:var(--fg)!important; padding:8px 10px; }
html[data-reference-system="true"][data-theme] .select2-results__options { list-style:none; margin:0; padding:0; max-height:260px; overflow-y:auto; }
html[data-reference-system="true"][data-theme] .select2-results__option { padding:9px 10px; border-radius:6px; color:var(--fg)!important; cursor:pointer; }
html[data-reference-system="true"][data-theme] .select2-results__option--highlighted { background:var(--rx-overlay-hover); color:var(--fg); }
html[data-reference-system="true"][data-theme] .select2-results__option[aria-selected=true] { background:var(--rx-overlay-selected); font-weight:600; }
html[data-reference-system="true"][data-theme] .select2-results__option[aria-disabled=true] { color:var(--fg-4)!important; cursor:default; }
html[data-reference-system="true"][data-theme] .select2-container--default .select2-selection--single { border:1px solid var(--line-2)!important; background:var(--rx-field)!important; color:var(--fg)!important; box-shadow:none!important; }
html[data-reference-system="true"][data-theme] .select2-container--open .select2-selection--single { border-color:var(--field-border-focus)!important; box-shadow:var(--field-ring)!important; }
html[data-reference-system="true"][data-theme] .select2-container--default .select2-selection__arrow { height:7px!important; min-height:0!important; padding:0!important; top:50%!important; bottom:auto!important; right:16px!important; }
html[data-reference-system="true"][data-theme] .select2-container--default .select2-dropdown { border:1px solid var(--rx-overlay-border)!important; }
html[data-reference-system="true"][data-theme] .select2-container--default .select2-results__option--highlighted[aria-selected] { background:var(--rx-overlay-hover)!important; color:var(--fg)!important; }
html[data-reference-system="true"][data-theme] .select2-container .select2-search__field:focus { outline:0!important; border-color:var(--field-border-focus)!important; box-shadow:var(--field-ring)!important; }
html[data-reference-system="true"][data-theme] .select2-container--default .select2-selection__rendered { color:var(--fg)!important; padding:0; line-height:1.5; }
html[data-reference-system="true"][data-theme] .auth-card label.ds-bt-field-label { font-family:var(--font-body); font-size:12px; letter-spacing:.02em; text-transform:none; }
html[data-reference-system="true"][data-theme] .auth-card .form > input.auth-btn-primary { margin-top:16px; }
/* Profile forms retain their real fields and shared searchable select. */
html[data-reference-system="true"][data-theme] .profile-page :is(.pf-field label,.photo-upload .choose,.id-meta .since) { font-family:var(--font-body); text-transform:none; letter-spacing:0; }
html[data-reference-system="true"][data-theme] .profile-page .pf-field label { font-size:13px; line-height:1.5; color:var(--fg-2); }
html[data-reference-system="true"][data-theme] .profile-page .panel:has(.select2-container--open) { overflow:visible; }
html[data-reference-system="true"][data-theme] .profile-page .select-wrap > .select2-container--open { z-index:1100; }
html[data-reference-system="true"][data-theme] .profile-page .warn-banner { background:var(--bg-2); color:var(--fg-2); border-color:var(--line); box-shadow:none; }
html[data-reference-system="true"][data-theme] .profile-page .warn-banner > svg { color:var(--warning-fg); }
/* Align prices and actions even when a pack has no bonus line. */
html[data-reference-system="true"][data-theme] .topup-pack-credits { flex:1; }
html[data-reference-system="true"][data-theme] :is(.topup-pack-badge,.topup-pack-discount,.topup-pack-bonus,.topup-modal-secure) { font-family:var(--font-body); letter-spacing:.02em; }
html[data-reference-system="true"][data-theme] .select2-container:has(> .select2-dropdown) { width:auto; z-index:1100; }
html[data-reference-system="true"][data-theme] .members-card:has(.select2-container--open) { overflow:visible; }
html[data-reference-system="true"][data-theme] .members-field:has(select.members-select) { min-width:120px; }
html[data-reference-system="true"][data-theme] .members-invite > .members-btn { min-height:44px; }
html[data-reference-system="true"][data-theme] .select2-search--hide { display:none; }
html[data-reference-system="true"][data-theme] :is(.members-card-head,.support-card-head) { border-radius:inherit; border-bottom-left-radius:0; border-bottom-right-radius:0; }
html[data-reference-system="true"][data-theme] .support-card:has(.select2-container--open) { overflow:visible; }
html[data-reference-system="true"][data-theme] .support-priority-card:has(input:focus-visible) { outline:2px solid var(--ref-focus); outline-offset:3px; }
@media (max-width:639px) {
  html[data-reference-system="true"][data-theme] .notification-type-info { grid-column:1 / -1; }
  html[data-reference-system="true"][data-theme] :is(.notification-channel-labels,.notification-channel-controls) { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); text-align:center; }
}
/* Payment settings share the local theme and UI typography. */
html[data-reference-system="true"][data-theme] :is(.payments-identity-label,.payments-table-head,.payments-footer-attribution,.payments-mode-pill) { font-family:var(--font-body); letter-spacing:.02em; text-transform:none; }
html[data-reference-system="true"][data-theme] .payments-card-title { font-size:16px; line-height:1.5; }
html[data-reference-system="true"][data-theme] .payments-orchestration-form [role=switch] { align-items:center; background:var(--bg-3)!important; }
html[data-reference-system="true"][data-theme] .payments-orchestration-form [role=switch][aria-checked=true] { background:var(--rx-primary)!important; }
html[data-reference-system="true"][data-theme] .payments-orchestration-form [role=switch][aria-checked=true] > span { background:var(--rx-primary-ink)!important; }
html[data-reference-system="true"][data-theme] a.text-primary-600 { color:var(--fg-2); text-decoration:underline; text-underline-offset:3px; text-decoration-color:var(--line-2); }
html[data-reference-system="true"][data-theme] a.text-primary-600:hover { color:var(--fg); text-decoration-color:currentColor; }
html[data-reference-system="true"][data-theme] :is(.payments-identity-label,.payments-footer-attribution) { font-size:12px; }
@media (max-width:639px) {
  html[data-reference-system="true"][data-theme] .payments-card > div:has(> .payments-orchestration-form) { flex-direction:column-reverse; gap:12px!important; }
}
html[data-reference-system="true"][data-theme] .computer-library__filters > .select2-container:not(:has(> .select2-dropdown)) { width:150px!important; flex:0 0 150px; }
html[data-reference-system="true"][data-theme] .composer-scope__check { color:var(--fg)!important; background:transparent!important; }
@media (max-width:639px) {
  html[data-reference-system="true"][data-theme] .computer-library__filters { flex-wrap:wrap; }
  html[data-reference-system="true"][data-theme] .computer-library__filters > .select2-container:not(:has(> .select2-dropdown)) { flex:1 1 130px; }
}
html[data-reference-system="true"][data-theme] .computer-library__search { height:44px; }
html[data-reference-system="true"][data-theme] .computer-library__search:focus-within { border-color:var(--field-border-focus); box-shadow:var(--field-ring); }
html[data-reference-system="true"][data-theme] .reference-rail-lockup { display:block; width:120.4px; overflow:hidden; flex:none; color:var(--fg); }
html[data-reference-system="true"][data-theme] .reference-rail-lockup > svg { width:120.4px!important; max-width:none!important; }
html[data-reference-system="true"][data-theme] .computer-nav--collapsed .reference-rail-lockup { width:28px; }
@media (max-width:639px) {
  html[data-reference-system="true"][data-theme] .computer-library__filters > .select2-container:not(:has(> .select2-dropdown)),
  html[data-reference-system="true"][data-theme] .computer-library__search { flex:1 1 100%; width:100%!important; }
}
/* Preserve the supplied lockup proportions; compact utility headers show its mark. */
html[data-reference-system="true"][data-theme] .os-rail-mobilebar__brand { flex:0 0 103.2px; width:103.2px; }
html[data-reference-system="true"][data-theme] .os-rail-mobilebar__brand > .brand-full-lockup { width:103.2px!important; max-width:none!important; }
@media (max-width:559px) {
  html[data-reference-system="true"][data-theme] .os-rail-shell--page:has(.os-rail-utilbar) .os-rail-mobilebar__brand { flex-basis:24px; width:24px; overflow:hidden; }
}
html[data-reference-system="true"][data-theme] .computer-skill-card__state { font-family:var(--font-body); letter-spacing:0; font-size:11px; text-transform:lowercase; }
html[data-reference-system="true"][data-theme] .computer-skill-card__when > span { font-size:12px; letter-spacing:0; text-transform:none; }
@media (max-width:639px) {
  html[data-reference-system="true"][data-theme] .computer-skills__head { margin-bottom:20px; gap:12px; }
  html[data-reference-system="true"][data-theme] .computer-skills__head p { margin-bottom:0; }
  html[data-reference-system="true"][data-theme] .computer-skill-card__head { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:4px 12px; }
  html[data-reference-system="true"][data-theme] .computer-skill-card__slug { grid-row:2; grid-column:1 / -1; overflow-wrap:anywhere; }
  html[data-reference-system="true"][data-theme] .computer-skill-card__state { grid-row:1; grid-column:2; }
  html[data-reference-system="true"][data-theme] .computer-skill-card__toggle { min-height:40px; }
}
html[data-reference-system="true"][data-theme] .ds-bt-input { border:1px solid var(--line-2); box-shadow:none; border-radius:8px; }
html[data-reference-system="true"][data-theme] .ds-bt-input:hover { border-color:var(--hover-border); }
html[data-reference-system="true"][data-theme] .ds-bt-input:focus:not([aria-invalid="true"]):not([readonly]):not(:disabled) { border-color:var(--field-border-focus); box-shadow:var(--field-ring); }
html[data-reference-system="true"][data-theme] a.button:not(.button-secondary):not(.button-danger) { display:inline-flex; align-items:center; justify-content:center; background:var(--rx-primary); color:var(--rx-primary-ink); border:1px solid transparent; border-radius:8px; padding:10px 16px; font:500 14px/1.4 var(--font-body); box-shadow:none; }
html[data-reference-system="true"][data-theme] a.button:not(.button-secondary):not(.button-danger):hover { background:var(--rx-primary-hover); transform:none; }
html[data-reference-system="true"][data-theme] a.button:focus-visible { outline:2px solid var(--ref-focus); outline-offset:3px; }
html[data-reference-system="true"][data-theme] main p a:not(.button):not([class*="btn"]) { text-decoration:underline; text-underline-offset:3px; text-decoration-color:var(--line-2); }
html[data-reference-system="true"][data-theme] main p a:not(.button):not([class*="btn"]):hover { text-decoration-color:currentColor; }
html[data-reference-system="true"][data-theme] footer :is(h5,.foot-bottom) { font-family:var(--font-body); letter-spacing:.02em; }
html[data-reference-system="true"][data-theme] :is(.mem-filter-empty,.mem-account-sub,.mem-empty,.mem-badge) { font-family:var(--font-body); letter-spacing:0; text-transform:none; }
html[data-reference-system="true"][data-theme] .mem-filter-empty { font-size:14px; color:var(--fg-2); }
html[data-reference-system="true"][data-theme] :is(.mem-account-sub) { font-size:12px; }
html[data-reference-system="true"][data-theme] .apikeys-page .text-center { padding-inline:20px; }
@media (max-width:639px) {
  html[data-reference-system="true"][data-theme] .apikeys-form { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
  html[data-reference-system="true"][data-theme] .apikeys-form > .field { width:auto; min-width:0; }
  html[data-reference-system="true"][data-theme] .apikeys-form > .field:has(#api_key_name),
  html[data-reference-system="true"][data-theme] .apikeys-form > button { grid-column:1 / -1; width:100%; }
}
html[data-reference-system="true"][data-theme] .cm-editor { background:var(--bg-2)!important; color:var(--fg); }
html[data-reference-system="true"][data-theme] .cm-gutters { background:var(--bg-2)!important; border-right:1px solid var(--line)!important; color:var(--fg-3)!important; }
html[data-reference-system="true"][data-theme] :is(.cm-activeLine,.cm-activeLineGutter) { background:var(--bg-3)!important; }
html[data-reference-system="true"][data-theme] .cm-scroller { font-family:var(--font-mono)!important; }
html[data-reference-system="true"][data-theme] [data-database-manager-target="createTableModal"] > div > div { background:var(--rx-overlay)!important; border:1px solid var(--rx-overlay-border); border-radius:16px; box-shadow:var(--rx-floating-shadow); }
html[data-reference-system="true"][data-theme] [aria-label="Close create table"] { width:32px; height:32px; display:flex; align-items:center; justify-content:center; border-radius:8px; }
html[data-reference-system="true"][data-theme] [aria-label="Close create table"]:hover { background:var(--rx-overlay-hover); }
html[data-reference-system="true"][data-theme] [data-database-manager-target="createTableModal"] :is(button):focus-visible { outline:2px solid var(--ref-focus)!important; outline-offset:2px; box-shadow:none!important; }
/* Adapt to the canvas width after the app rail and resizable chat take space. */
html[data-reference-system="true"][data-theme] #dashboard_panel { container-type:inline-size; container-name:editor-dashboard; }
@container editor-dashboard (max-width:650px) {
  html[data-reference-system="true"][data-theme] .dash { grid-template-columns:48px minmax(0,1fr); }
  html[data-reference-system="true"][data-theme] .dash-nav { padding:8px 4px; }
  html[data-reference-system="true"][data-theme] .dash-nav-item { justify-content:center; padding:0; width:40px; height:40px; }
  html[data-reference-system="true"][data-theme] .dash-nav-item > span { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
}
html[data-reference-system="true"][data-theme] .ds-info-card { background:transparent!important; border:0!important; padding:12px 0; box-shadow:none; }
html[data-reference-system="true"][data-theme] .ds-info-card__title { font:600 14px/1.5 var(--font-body); color:var(--fg)!important; }
html[data-reference-system="true"][data-theme] .ds-info-card__icon { color:var(--fg-3)!important; font-size:14px; }
html[data-reference-system="true"][data-theme] .ds-info-card__body { font:400 13px/1.55 var(--font-body); color:var(--fg-2)!important; }
html[data-reference-system="true"][data-theme] .ds-info-card__body li::marker { color:var(--fg-4); }
html[data-reference-system="true"][data-theme] .user-directory-filter { display:block; position:relative; min-width:110px; }
@container editor-dashboard (max-width:650px) {
  html[data-reference-system="true"][data-theme] .user-directory-stats { grid-template-columns:repeat(auto-fit,minmax(110px,1fr)); }
  html[data-reference-system="true"][data-theme] .user-directory-desktop-head { display:block!important; padding:16px; }
  html[data-reference-system="true"][data-theme] .user-directory-mobile-head { display:none!important; }
  html[data-reference-system="true"][data-theme] .user-directory-desktop-head > div { flex-direction:column; align-items:stretch; gap:16px; }
  html[data-reference-system="true"][data-theme] .user-directory-desktop-head > div > div:last-child { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
  html[data-reference-system="true"][data-theme] .user-directory-desktop-head > div > div:last-child > * { margin:0; min-width:0; }
  html[data-reference-system="true"][data-theme] .user-directory-desktop-head .relative:has(input) { grid-column:1 / -1; }
  html[data-reference-system="true"][data-theme] .user-directory-desktop-head input { width:100%; min-width:0; }
}
/* KEYBOARD FOCUS RING — one neutral ring, readable on every surface (design
   audit 2026-11-10, F1). This rule used to force --ref-focus (#929292 light,
   #505050 dark): the quiet POINTER-focus grey, measured from pixels at 2.52:1
   on the light rail, 2.38:1 on the dark rail and 1.9:1 on the dark composer,
   under the 3:1 WCAG 1.4.11 asks of a focus indicator. --ref-keyboard-focus is
   the value reference_foundations.css documents for keyboard focus (#777777 /
   #909090): still a soft neutral graphite, not the hard green #2853 retired,
   and >= 3.23:1 on every fill a ring sits on in either theme (pinned by
   spec/design_system/focus_ring_contrast_spec.rb). */
html[data-reference-system="true"][data-theme] :focus-visible { outline-color:var(--ref-keyboard-focus)!important; }
/* ONE ring per control. .btn and .seg-btn carried the component library's
   2px box-shadow ring AND the refresh's 2px outline at a 2px offset; the two
   touch, so with both in the keyboard colour they read as one heavy 4px band.
   The outline (with its 2px air gap) is the refresh's recipe, so the shadow
   goes. */
html[data-reference-system="true"][data-theme] :is(.btn,.seg-btn):focus-visible { box-shadow:none; }
/* The editor composer's buttons drew NO ring at all (0 pixels changed on
   keyboard focus for Plan/Build and the model picker). theme.css:927 strips
   outline AND box-shadow with !important from `.editor-chat-input-wrapper
   *:focus-visible` so the textarea's ring does not stack on the composer's
   focus-within edge; the wildcard caught every control beside it. theme.css
   also loads with the refresh off and on ClickFunnels AI, so the legacy rule
   stays and this restores the outline for the controls only, refresh-scoped.
   The textarea is deliberately left out: the composer edge is its indicator. */
html[data-reference-system="true"][data-theme] .editor-chat-input-wrapper :is(button,a[href],[role=button],[role=tab],[role=switch]):focus-visible {
  outline-style:solid!important; outline-width:2px!important; outline-offset:2px!important;
}
@container editor-dashboard (max-width:650px) {
  html[data-reference-system="true"][data-theme] .grid:is([class~="lg:grid-cols-4"],[class~="grid-cols-4"]) { grid-template-columns:repeat(2,minmax(0,1fr)); }
  html[data-reference-system="true"][data-theme] .grid[class~="lg:grid-cols-2"] { grid-template-columns:minmax(0,1fr); }
}
@container editor-dashboard (max-width:400px) {
  html[data-reference-system="true"][data-theme] .grid[class~="md:grid-cols-2"] { grid-template-columns:minmax(0,1fr); }
}
html[data-reference-system="true"][data-theme] #dashboard_panel :is(button,a)[class~="bg-primary-500"] { background:var(--rx-primary)!important; color:var(--rx-primary-ink)!important; border-color:transparent!important; box-shadow:none; }
html[data-reference-system="true"][data-theme] #dashboard_panel :is(button,a)[class~="bg-primary-500"]:hover { background:var(--rx-primary-hover)!important; }
@container editor-dashboard (max-width:750px) {
  html[data-reference-system="true"][data-theme] .apiex { flex-direction:column; }
  html[data-reference-system="true"][data-theme] .apiex__mtabs { display:flex; flex-shrink:0; padding:12px 16px; }
  html[data-reference-system="true"][data-theme] :is(.apiex__list,.apiex__detail) { flex:1; min-height:0; min-width:0; width:100%; border-right:0; }
  html[data-reference-system="true"][data-theme] .apiex[data-api-view="request"] .apiex__list,
  html[data-reference-system="true"][data-theme] .apiex[data-api-view="endpoints"] .apiex__detail { display:none; }
  html[data-reference-system="true"][data-theme] [data-api-explorer-target="urlInput"] { min-width:0; width:100%; }
  html[data-reference-system="true"][data-theme] [data-api-explorer-target="requestPanel"] { padding:16px; }
}
html[data-reference-system="true"][data-theme] .api-method-filter { position:relative; width:100px; flex-shrink:0; }
html[data-reference-system="true"][data-theme] #dashboard_panel :is(button,a)[class~="bg-blue-600"] { background:var(--rx-primary)!important; color:var(--rx-primary-ink)!important; border-color:transparent!important; }
html[data-reference-system="true"][data-theme] #dashboard_panel :is(button,a)[class~="bg-blue-600"]:hover { background:var(--rx-primary-hover)!important; }
html[data-reference-system="true"][data-theme] .apiex [class~="border-blue-500"] { border-color:var(--fg-3)!important; }
html[data-reference-system="true"][data-theme] [data-env-var-modal-target="modal"] > .bg-gray-500 { background:rgba(0,0,0,.55)!important; backdrop-filter:blur(4px); }
html[data-reference-system="true"][data-theme] [data-env-var-modal-target="modal"] .relative.transform { background:var(--rx-overlay)!important; border:1px solid var(--rx-overlay-border); border-radius:16px; box-shadow:var(--rx-floating-shadow); }
html[data-reference-system="true"][data-theme] [data-env-var-modal-target="title"] { font-weight:600; font-size:18px; margin-bottom:20px; }
html[data-reference-system="true"][data-theme] .task-history-filter { position:relative; display:block; min-width:120px; }
html[data-reference-system="true"][data-theme] #settings_panel :is(h3,label) > i { color:var(--fg-3)!important; }
html[data-reference-system="true"][data-theme] #settings_panel textarea[name*="custom_instructions"] { font-family:var(--font-body)!important; }
@container editor-dashboard (max-width:650px) {
  html[data-reference-system="true"][data-theme] .settings-env-shortcut { flex-direction:column; align-items:flex-start; gap:16px; }
}
html[data-reference-system="true"][data-theme] [data-env-var-modal-target="modal"] > .fixed { z-index:1200; }
html[data-reference-system="true"][data-theme] .api-field-filter { display:block; position:relative; min-width:0; }
html[data-reference-system="true"][data-theme] .apiex nav button[class~="border-blue-500"] { color:var(--fg)!important; }
@container editor-dashboard (max-width:400px) {
  html[data-reference-system="true"][data-theme] [data-api-explorer-target="requestPanel"] .flex:has(> .api-method-filter) { display:grid; grid-template-columns:90px minmax(0,1fr); gap:8px; }
  html[data-reference-system="true"][data-theme] [data-api-explorer-target="requestPanel"] .flex:has(> .api-method-filter) > * { margin:0; }
  html[data-reference-system="true"][data-theme] .api-method-filter { width:90px; }
  html[data-reference-system="true"][data-theme] [data-api-explorer-target="requestPanel"] .flex:has(> .api-method-filter) > button { grid-column:1 / -1; }
}
html[data-reference-system="true"][data-theme] [data-env-var-modal-target="modal"] :is(button):focus-visible { outline:2px solid var(--ref-focus)!important; outline-offset:2px; box-shadow:none!important; }
html[data-reference-system="true"][data-theme] #dashboard_panel:has([data-env-var-modal-target="modal"]:not(.hidden)),
html[data-reference-system="true"][data-theme] .dash-main:has([data-env-var-modal-target="modal"]:not(.hidden)) { z-index:1300; }
@media (min-width:1024px) {
  html[data-reference-system="true"][data-theme] #dashboard_panel:has([data-env-var-modal-target="modal"]:not(.hidden)) { position:relative; }
}
html[data-reference-system="true"][data-theme] .os-btn-green { background:var(--rx-primary); color:var(--rx-primary-ink); }
html[data-reference-system="true"][data-theme] .os-btn-green:hover { background:var(--rx-primary-hover); }
html[data-reference-system="true"][data-theme] :is(.nav-pop,.nav-sheet) { background:var(--rx-overlay); border-color:var(--rx-overlay-border); }
html[data-reference-system="true"][data-theme] :is(.ns-h,.plan-k,.plan-incl-h) { font-family:var(--font-body); letter-spacing:0; }
html[data-reference-system="true"][data-theme] .ns-grp a:hover { color:var(--fg); background:var(--rx-overlay-hover); }
html[data-reference-system="true"][data-theme] main h1 + .learn-lead { margin-top:20px; }
html[data-reference-system="true"][data-theme] .nav-avatar { background:var(--bg-3); color:var(--fg); }
html[data-reference-system="true"][data-theme] .nav-avatar:hover { background:var(--hover-bg); }
html[data-reference-system="true"][data-theme] .help-category-card-meta { font-family:var(--font-body); letter-spacing:0; text-transform:none; }
/* Rails inserts hidden form fields before the first visible field. */
html[data-reference-system="true"][data-theme] form[class*="space-y-"] > :nth-child(1 of :not(input[type="hidden"])) { margin-top:0; }
html[data-reference-system="true"][data-theme] .api-docs-main :is(.text-gray-400,.text-gray-500,.text-gray-600) { color:var(--fg-2); }
html[data-reference-system="true"][data-theme] .api-docs-hero-title { flex-wrap:wrap; gap:12px; }
html[data-reference-system="true"][data-theme] .api-docs-hero-title > span { margin-left:0; }
html[data-reference-system="true"][data-theme] .trust-info-surface.border { background:var(--bg-2); border-color:var(--line); border-radius:12px; padding:16px; }
html[data-reference-system="true"][data-theme] .trust-info-surface.border :is(h2,h3) { color:var(--fg)!important; font-size:16px; }
html[data-reference-system="true"][data-theme] .trust-info-surface.border p { color:var(--fg-2)!important; font-size:14px; line-height:1.6; }
html[data-reference-system="true"][data-theme] { --status-live:var(--success-fg); --status-warn:var(--warning-fg); --status-down:var(--danger-fg); }
html[data-reference-system="true"][data-theme] .trust-status-badge { background:var(--bg-2)!important; border-color:var(--line)!important; }
html[data-reference-system="true"][data-theme] .trust-uptime-value { color:var(--fg)!important; }
html[data-reference-system="true"][data-theme] .trust-status-summary { background:var(--bg-2)!important; border-color:var(--line)!important; padding:24px; }
html[data-reference-system="true"][data-theme] .trust-status-summary > svg { width:28px; height:28px; margin-bottom:12px; }
html[data-reference-system="true"][data-theme] .trust-subscribe-action { background:var(--rx-primary)!important; color:var(--rx-primary-ink)!important; }
html[data-reference-system="true"][data-theme] .trust-subscribe-action:hover { background:var(--rx-primary-hover)!important; }
html[data-reference-system="true"][data-theme] .trust-main :is(.text-primary-500,.text-primary-600) { color:var(--fg-2)!important; }
html[data-reference-system="true"][data-theme] .trust-main [class~="bg-primary-500/10"] { background:var(--bg-3)!important; }
html[data-reference-system="true"][data-theme] .trust-main a[class~="bg-primary-500"] { background:var(--rx-primary)!important; color:var(--rx-primary-ink)!important; }
html[data-reference-system="true"][data-theme] .trust-main a[class~="bg-primary-500"]:hover { background:var(--rx-primary-hover)!important; }
html[data-reference-system="true"][data-theme] .ti-show-primary-cta { background:var(--rx-primary); color:var(--rx-primary-ink); border-color:transparent; }
html[data-reference-system="true"][data-theme] .ti-show-primary-cta:hover { background:var(--rx-primary-hover); color:var(--rx-primary-ink); }
html[data-reference-system="true"][data-theme] .cmp-hero-actions { display:flex; flex-wrap:wrap; justify-content:center; gap:12px; }
html[data-reference-system="true"][data-theme] .cmp-table-scroll-hint { display:none; }
html[data-reference-system="true"][data-theme] .cmp-table th { font-family:var(--font-body); letter-spacing:0; text-transform:none; }
@media (max-width:680px) {
  html[data-reference-system="true"][data-theme] .cmp-table-scroll .cmp-table { min-width:640px; }
  html[data-reference-system="true"][data-theme] .cmp-table-scroll-hint { display:block; font:400 13px/1.5 var(--font-body); color:var(--fg-2); margin:0 0 12px; }
}
html[data-reference-system="true"][data-theme] dialog.oscmdk { background:var(--rx-overlay); border-color:var(--rx-overlay-border); box-shadow:var(--rx-floating-shadow); }
html[data-reference-system="true"][data-theme] .oscmdk__heading { font:500 12px/1.5 var(--font-body); letter-spacing:0; text-transform:none; color:var(--fg-2); }
html[data-reference-system="true"][data-theme] .oscmdk__empty > svg { display:block; margin:0 auto 12px; color:var(--fg-2); }
html[data-reference-system="true"][data-theme] .oscmdk__empty-hint { color:var(--fg-2); }
html[data-reference-system="true"][data-theme] #share_modal { z-index:1400; }
html[data-reference-system="true"][data-theme] #share_modal [data-unified-share-modal-target="content"] { background:var(--rx-overlay); border:1px solid var(--rx-overlay-border); border-radius:16px; box-shadow:var(--rx-floating-shadow); }
html[data-reference-system="true"][data-theme] #share_modal nav button[aria-selected="true"] { color:var(--fg)!important; border-color:var(--fg-3)!important; }
html[data-reference-system="true"][data-theme] #share_modal .share-access-note { background:var(--bg-3)!important; border:1px solid var(--line)!important; padding:12px; }
html[data-reference-system="true"][data-theme] #share_modal .share-access-note p { color:var(--fg-2)!important; margin:0; line-height:1.5; }
html[data-reference-system="true"][data-theme] #share_modal :is(button,a):focus-visible { outline:2px solid var(--ref-focus)!important; outline-offset:2px; box-shadow:none!important; }
@media (max-width:1023px) { html[data-reference-system="true"][data-theme] #share_modal [data-unified-share-modal-target="content"] { border-bottom-left-radius:0; border-bottom-right-radius:0; } }
html[data-reference-system="true"][data-theme] .pm { background:var(--rx-overlay); border-color:var(--rx-overlay-border); box-shadow:var(--rx-floating-shadow); }
html[data-reference-system="true"][data-theme] .pm :is(.pm-head,.pm-foot) { background:var(--rx-overlay); }
html[data-reference-system="true"][data-theme] .pm .deploy-cta { box-shadow:none; }
html[data-reference-system="true"][data-theme] .pm :is(.pm-group-label,.pm-foot h4) { font-family:var(--font-body); letter-spacing:0; text-transform:none; }
html[data-reference-system="true"][data-theme] .pm .customize-callout { background:var(--bg-3); border-color:var(--line); }
html[data-reference-system="true"][data-theme] .pm .customize-callout-title { color:var(--fg); }
html[data-reference-system="true"][data-theme] .pm .status-pill:is(.ready,.notyet) { color:var(--fg-2); background:var(--bg-3); border-color:var(--line); }
html[data-reference-system="true"][data-theme] :is(.billing-summary-card-label,.billing-stat-label,.chat-actions-section-label) { font-family:var(--font-body); letter-spacing:.02em; }
html[data-reference-system="true"][data-theme] .mcp-host-card__kind { font-family:var(--font-body); font-size:11px; line-height:1.5; letter-spacing:.01em; text-transform:none; color:var(--fg-2); }
html[data-reference-system="true"][data-theme] .mcp-host-card__code { white-space:pre-wrap; overflow-wrap:anywhere; }
html[data-reference-system="true"][data-theme] :is(.agents-code__label,.agents-code__head,.agents-code__copy) { font-family:var(--font-body); letter-spacing:.02em; }
html[data-reference-system="true"][data-theme] .agents-code__block--prompt :is(pre,code) { font-family:var(--font-body); white-space:pre-wrap; overflow-wrap:anywhere; line-height:1.6; }
html[data-reference-system="true"][data-theme] .agents-cta .agents-cta__fine { display:flex; justify-content:center; flex-wrap:wrap; gap:8px 16px; margin:24px auto 0; font-size:13px; line-height:1.5; }
html[data-reference-system="true"][data-theme] .agents-standard__icon--shipped { color:var(--success-fg); }
html[data-reference-system="true"][data-theme] .agents-standard__icon--planned { color:var(--fg-2); }
html[data-reference-system="true"][data-theme] .agents-standard__desc strong { color:var(--fg); }
html[data-reference-system="true"][data-theme] .agents-lead { max-width:75ch; }
/* Comparison copy is informational, not a semantic warning or success state. */
html[data-reference-system="true"][data-theme] .cmp-win__badge { background:var(--bg-3); color:var(--fg-2); font:500 11px/1.5 var(--font-body); letter-spacing:.02em; text-transform:none; }
html[data-reference-system="true"][data-theme] :is(.alt-prompt__cta,.cmp-sources__reviewed) { font-family:var(--font-body); letter-spacing:.02em; text-transform:none; }
html[data-reference-system="true"][data-theme] .alt-prompt__cta { font-size:13px; }
html[data-reference-system="true"][data-theme] .alt-prompts__grid { grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr)); padding:0; }
html[data-reference-system="true"][data-theme] .alt-prompt { transition:background 160ms ease,border-color 160ms ease; }
html[data-reference-system="true"][data-theme] .alt-prompt:hover { transform:none; background:var(--hover-bg); border-color:var(--fg-3); }
html[data-reference-system="true"][data-theme] .alt-prompt:focus-visible { outline:2px solid var(--ref-focus); outline-offset:3px; }
html[data-reference-system="true"][data-theme] .alt-review-note { padding-top:24px; padding-bottom:40px; }
html[data-reference-system="true"][data-theme] .alt-review-note .ds-container { max-width:920px; }
html[data-reference-system="true"][data-theme] .alt-review-links { display:flex; flex-wrap:wrap; gap:8px 20px; font-size:14px; margin:0; }
html[data-reference-system="true"][data-theme] .cmp-hero:has(+ .alt-review-note) { padding-bottom:32px; }
@media (min-width:1024px) {
  html[data-reference-system="true"][data-theme] .cmp-wins:has(> :nth-child(3):last-child) { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
html[data-reference-system="true"][data-theme] .pf-back { display:flex; width:fit-content; margin-bottom:28px; font:500 13px/1.5 var(--font-body); letter-spacing:0; text-transform:none; }
html[data-reference-system="true"][data-theme] .pf-meta { font-family:var(--font-body); line-height:1.6; color:var(--fg-2); max-width:75ch; }
html[data-reference-system="true"][data-theme] .pf-table th { font:500 12px/1.5 var(--font-body); letter-spacing:0; text-transform:none; }
html[data-reference-system="true"][data-theme] .pf-fee-type { white-space:normal; }
html[data-reference-system="true"][data-theme] .pf-back:hover { text-decoration:underline; text-underline-offset:3px; color:var(--fg); }
@media (max-width:720px) {
  html[data-reference-system="true"][data-theme] .pf-page { padding-top:28px; }
  html[data-reference-system="true"][data-theme] .pf-footer { padding:20px; }
}
@media (max-width:720px) {
  html[data-reference-system="true"][data-theme] .pf-table tr:hover td { background:transparent; }
}
html[data-reference-system="true"][data-theme] .os-marketing :is(.tl-date,.pillx) { font-family:var(--font-body); letter-spacing:.02em; text-transform:none; }
html[data-reference-system="true"][data-theme] .os-marketing .tl-what ul { list-style:disc; }
html[data-reference-system="true"][data-theme] .os-marketing .integ-note { display:block; font-weight:400; line-height:1.6; color:var(--fg-2); }
html[data-reference-system="true"][data-theme] .os-marketing :is(.lead,.integ-note) a { text-decoration:underline; text-decoration-color:var(--fg-3); text-underline-offset:3px; }
html[data-reference-system="true"][data-theme] .os-marketing :is(.lead,.integ-note) a:hover { color:var(--fg); text-decoration-color:currentColor; }
/* Account integration filters must not inherit the centered Computer page container. */
html[data-reference-system="true"][data-theme] .wint-shell .cint__search { margin:0; max-width:420px; min-height:44px; }
html[data-reference-system="true"][data-theme] .wint-shell .cint__search input { font-size:14px; }
html[data-reference-system="true"][data-theme] .wint-shell .cint__sort { margin-left:auto; }
html[data-reference-system="true"][data-theme] .wint-shell .cint__tile { border-radius:12px; padding:12px 16px; gap:4px; }
html[data-reference-system="true"][data-theme] .wint-shell .cint__tile-num { font-size:20px; line-height:1.2; font-weight:600; }
html[data-reference-system="true"][data-theme] .wint-shell .cint__tile-label { line-height:1.4; }
html[data-reference-system="true"][data-theme] .nah .nah-chip { min-height:36px; padding:8px 16px; flex-shrink:0; line-height:1.4; }
@media (min-width:640px) {
  html[data-reference-system="true"][data-theme] .nah .nah-chips { display:flex; flex-wrap:wrap; }
  html[data-reference-system="true"][data-theme] .nah .nah-more { flex:0 0 auto; }
}
@media (max-width:640px) {
  html[data-reference-system="true"][data-theme] .wint-shell .cint__search { max-width:none; flex-basis:100%; }
  html[data-reference-system="true"][data-theme] .wint-shell .cint__sort { margin-left:0; }
}
html[data-reference-system="true"][data-theme] :is(a,button).bg-editor-accent-green { background:var(--rx-primary)!important; color:var(--rx-primary-ink)!important; }
html[data-reference-system="true"][data-theme] :is(a,button).bg-editor-accent-green:hover { background:var(--rx-primary-hover)!important; color:var(--rx-primary-ink)!important; opacity:1; }
@supports(appearance:base-select) {
 html[data-reference-system="true"][data-theme] .cint__sort-select:not([multiple]):not([size])::picker-icon { content:""; width:7px; height:7px; border-right:1.5px solid currentColor; border-bottom:1.5px solid currentColor; padding:0; margin-left:16px; margin-right:3px; transform:translateY(-2px) rotate(45deg); }
}
/* Reset the legacy Select2 top-only padding and 35px text line box together. */
html[data-reference-system="true"][data-theme] .select2-container--default .select2-selection--single { height:44px!important; padding:0 40px 0 12px!important; align-items:center; }
html[data-reference-system="true"][data-theme] .select2-container--default .select2-selection--single .select2-selection__rendered { padding:0!important; height:auto!important; min-height:0!important; line-height:20px!important; }
@media (min-width:1024px) {
 html[data-reference-system="true"][data-theme] .os-rail-shell--page { height:100dvh; min-height:0; overflow:hidden; }
 html[data-reference-system="true"][data-theme] .os-rail-shell--page > .os-rail-shell__main { height:100%; min-height:0; overflow-y:auto; overscroll-behavior-y:contain; }
 html[data-reference-system="true"][data-theme] .os-rail-shell--page > .computer-nav { flex-shrink:0; height:100dvh; }
}
html[data-reference-system="true"][data-theme] .mem-page.mcl-page { max-width:760px; }
html[data-reference-system="true"][data-theme] .payments-banner { border:1px solid var(--line); }
html[data-reference-system="true"][data-theme] .rca-evidence section { border:1px solid var(--line); border-radius:10px; }
html[data-reference-system="true"][data-theme] .users-manage-members { white-space:nowrap; flex-shrink:0; }
@media(max-width:640px) {
 html[data-reference-system="true"][data-theme] .users-manage-members,
 html[data-reference-system="true"][data-theme] #users_panel :is(.btn,.ds-tab) { min-height:44px; }
 html[data-reference-system="true"][data-theme] [data-user-management-target="roleModal"] button[aria-label] { width:44px; height:44px; flex-shrink:0; }
 html[data-reference-system="true"][data-theme] [data-user-management-target="roleModal"] label:has(input[type=checkbox]) { min-height:44px; margin-top:0; }
 html[data-reference-system="true"][data-theme] [data-user-management-target="roleModal"] input[type=checkbox] { width:16px; height:16px; flex-shrink:0; accent-color:var(--fg-2); }
}
@media(max-width:640px) {
 html[data-reference-system="true"][data-theme] .topup-modal-header { position:relative; padding-right:64px; }
 html[data-reference-system="true"][data-theme] .topup-modal-header-actions { flex-basis:auto; }
 html[data-reference-system="true"][data-theme] .topup-modal-close { position:absolute; top:20px; right:20px; }
}
/* Content hierarchy: sections stay open; rows align; controls retain boundaries. */
html[data-reference-system="true"][data-theme] .members-header { margin-bottom:32px; }
html[data-reference-system="true"][data-theme] .members-header-subtitle { max-width:65ch; }
html[data-reference-system="true"][data-theme] .members-stack { gap:36px; }
html[data-reference-system="true"][data-theme] .members-card { background:transparent; border:0; border-radius:0; box-shadow:none; overflow:visible; }
html[data-reference-system="true"][data-theme] .members-card-head { background:transparent; padding:0 0 16px; border:0; }
html[data-reference-system="true"][data-theme] .members-card-title { font-size:16px; font-weight:600; }
html[data-reference-system="true"][data-theme] .members-card-count { font-family:var(--font-body); font-size:13px; color:var(--fg-2); margin-left:8px; }
html[data-reference-system="true"][data-theme] .members-card-body { padding:0; }
html[data-reference-system="true"][data-theme] .members-invite-help { max-width:80ch; font-size:12px; line-height:1.6; margin-top:12px; }
html[data-reference-system="true"][data-theme] .members-list { border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
html[data-reference-system="true"][data-theme] .members-row { min-height:68px; padding:12px 0; gap:12px; }
html[data-reference-system="true"][data-theme] .members-avatar { width:32px; height:32px; font-family:var(--font-body); font-size:12px; background:var(--rx-secondary); color:var(--fg-2); }
html[data-reference-system="true"][data-theme] .members-status-badge { border:0; border-radius:0; background:transparent; padding:0; font:400 13px/1.4 var(--font-body); text-transform:none; letter-spacing:0; color:var(--fg-2); }
html[data-reference-system="true"][data-theme] .members-row-actions:empty { display:none; }
html[data-reference-system="true"][data-theme] .members-name .members-status-badge--you { margin-left:8px; font-size:12px; }
html[data-reference-system="true"][data-theme] .select2-container--default .select2-results__option[aria-selected="true"] { background:var(--rx-overlay-selected)!important; color:var(--fg)!important; }
html[data-reference-system="true"][data-theme] .select2-container--default .select2-results__option--highlighted[aria-selected] { background:var(--rx-overlay-hover)!important; color:var(--fg)!important; }
html[data-reference-system="true"][data-theme] .wint-header { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:10px 24px; }
html[data-reference-system="true"][data-theme] .wint-header .wint-callout-text { grid-column:1 / -1; grid-row:2; max-width:75ch; font-size:14px; }
html[data-reference-system="true"][data-theme] .wint-header .cint__head-actions { grid-column:2; grid-row:1; align-self:center; margin:0; }
html[data-reference-system="true"][data-theme] .wint-header .cint__browse { background:transparent; border-color:transparent; padding:6px 0; font-size:13px; }
html[data-reference-system="true"][data-theme] .wint-header .cint__browse:hover { text-decoration:underline; text-underline-offset:4px; }
html[data-reference-system="true"][data-theme] .wint-shell .cint__note { display:flex; align-items:flex-start; gap:8px; background:transparent; border:0; border-radius:0; padding:0; font-size:12px; line-height:1.6; color:var(--fg-2); margin:0 0 24px; }
html[data-reference-system="true"][data-theme] .wint-shell .cint__tiles { display:flex; flex-wrap:wrap; gap:20px 40px; margin-bottom:28px; }
html[data-reference-system="true"][data-theme] .wint-shell .cint__tile { background:transparent; border:0; border-radius:0; padding:0; min-width:100px; box-shadow:none; }
html[data-reference-system="true"][data-theme] .wint-shell .cint__tile-label { font-size:12px; color:var(--fg-2); }
html[data-reference-system="true"][data-theme] .wint-shell .cint__toolbar { padding:0 0 20px; border-bottom:1px solid var(--line); }
html[data-reference-system="true"][data-theme] .wint-shell .cint__sort-select { background:transparent; border-color:transparent; box-shadow:none; }
html[data-reference-system="true"][data-theme] .wint-shell .cint__sort-select:hover { background:var(--rx-hover); }
html[data-reference-system="true"][data-theme] .wint-empty { display:grid; grid-template-columns:24px minmax(0,1fr); column-gap:12px; row-gap:4px; padding:12px 0; border:0; border-radius:0; background:transparent; text-align:left; }
html[data-reference-system="true"][data-theme] .wint-empty-icon { grid-column:1; grid-row:1 / 3; width:24px; height:24px; margin:0; background:transparent; color:var(--fg-2); }
html[data-reference-system="true"][data-theme] .wint-empty-title { grid-column:2; font-size:14px; margin:0; }
html[data-reference-system="true"][data-theme] .wint-empty-text { grid-column:2; max-width:68ch; margin:0; font-size:13px; line-height:1.6; }
html[data-reference-system="true"][data-theme] .wint-shell :is(.cint__heading,.wint-section-title) { font:600 14px/1.4 var(--font-body); letter-spacing:0; text-transform:none; }
html[data-reference-system="true"][data-theme] .wint-shell :is(.cint__card,.wint-card) { border-radius:12px; padding:16px; background:var(--bg-2); box-shadow:none; }
html[data-reference-system="true"][data-theme] .wint-shell .cint__grid { gap:12px; grid-template-columns:repeat(2,minmax(0,1fr)); }
@media(max-width:560px) {
 html[data-reference-system="true"][data-theme] .members-row-meta { flex-basis:auto; padding-left:0; margin-left:auto; }
 html[data-reference-system="true"][data-theme] .members-row-actions { padding-left:44px; }
 html[data-reference-system="true"][data-theme] .wint-header { grid-template-columns:1fr; }
 html[data-reference-system="true"][data-theme] .wint-shell .cint__grid { grid-template-columns:1fr; }
 html[data-reference-system="true"][data-theme] .wint-header .cint__head-actions { grid-column:1; grid-row:3; justify-self:start; }
 html[data-reference-system="true"][data-theme] .wint-shell .cint__tiles { gap:16px 24px; }
 html[data-reference-system="true"][data-theme] .wint-shell .cint__tile { flex:1 1 35%; }
}
html[data-reference-system="true"][data-theme] .wint-shell .cint__note > svg { flex-shrink:0; margin-top:3px; }
html[data-reference-system="true"][data-theme] .wint-empty-icon { align-self:start; }

/* Scaffold tables must scroll within their own region, never clip actions. */
html[data-reference-system="true"][data-theme] .box-table { max-width:100%; overflow-x:auto; overscroll-behavior-x:contain; }
html[data-reference-system="true"][data-theme] .box-table:focus-visible { outline:2px solid var(--ref-focus); outline-offset:-2px; }
html[data-reference-system="true"][data-theme] .box-table .table { width:100%; min-width:760px; border-collapse:collapse; }
html[data-reference-system="true"][data-theme] .box-table .table :is(th,td) { padding:14px 16px; vertical-align:middle; }
html[data-reference-system="true"][data-theme] .box-table .table th { font:500 12px/1.4 var(--font-body); letter-spacing:0; text-transform:none; color:var(--fg-2); white-space:nowrap; }
html[data-reference-system="true"][data-theme] .box-table .table td { font-size:14px; line-height:1.5; border-color:var(--line); }
html[data-reference-system="true"][data-theme] .box-table .table td.buttons { white-space:nowrap; min-width:96px; }
html[data-reference-system="true"][data-theme] .box-table .table td:not(.buttons) { max-width:300px; overflow-wrap:anywhere; min-width:80px; }
html[data-reference-system="true"][data-theme] .ds-bt-box:has(.box-table) { background:transparent; border:0; box-shadow:none; border-radius:0; }
html[data-reference-system="true"][data-theme] .ds-bt-box:has(.box-table) > div:first-child { padding-inline:16px; }

html[data-reference-system="true"][data-theme] .box-table .app-env-vars-table { min-width:1120px; }
html[data-reference-system="true"][data-theme] .box-table .table td.buttons :is(a,button) { display:inline-flex; align-items:center; justify-content:center; min-height:32px; padding:6px 10px; color:var(--fg-2); background:transparent; border:1px solid transparent; border-radius:var(--radius-control); font:500 13px/1.4 var(--font-body); text-decoration:none; }
html[data-reference-system="true"][data-theme] .box-table .table td.buttons :is(a,button):hover { color:var(--fg); background:var(--rx-overlay-hover); }
html[data-reference-system="true"][data-theme] .box-table .table td.buttons form:has(input[name="_method"][value="delete"]) button { color:var(--danger-fg); }
html[data-reference-system="true"][data-theme] .box-table .table td.buttons :is(a,button):focus-visible { outline:2px solid var(--ref-focus); outline-offset:2px; }

html[data-reference-system="true"][data-theme] .box-table .table :is(thead,tbody,tr) { border-color:var(--line)!important; }
html[data-reference-system="true"][data-theme] .ds-bt-box .button-secondary { color:var(--fg-2); }
html[data-reference-system="true"][data-theme] .ds-bt-box .button-secondary:hover { color:var(--fg); text-decoration:underline; text-underline-offset:4px; }
html[data-reference-system="true"][data-theme] .form input[type=radio] { accent-color:var(--fg-2); color:var(--fg-2); background-color:var(--rx-field)!important; border-color:var(--line-2)!important; }
html[data-reference-system="true"][data-theme] .form input[type=radio]:focus-visible { outline:2px solid var(--ref-focus); outline-offset:3px; box-shadow:none!important; }

html[data-reference-system="true"][data-theme] .workflow-list-page { max-width:1120px; margin-inline:auto; padding:32px 24px; }
html[data-reference-system="true"][data-theme] .workflow-list-page > .flex { gap:24px; }
html[data-reference-system="true"][data-theme] .workflow-list-page h1 { font:600 30px/1.2 var(--font-body); letter-spacing:-.035em; }
html[data-reference-system="true"][data-theme] .workflow-list-page a[href$="/workflows/new"] { background:var(--rx-primary); color:var(--rx-primary-ink); border:1px solid transparent; border-radius:8px; font:500 14px/1.4 var(--font-body); min-height:40px; white-space:nowrap; }
html[data-reference-system="true"][data-theme] .workflow-list-page a[href$="/workflows/new"]:hover { background:var(--rx-primary-hover); color:var(--rx-primary-ink); }
html[data-reference-system="true"][data-theme] .workflow-list-empty { background:transparent; border:1px solid var(--line); border-radius:12px; padding:48px 24px; }
html[data-reference-system="true"][data-theme] .workflow-list-empty > div:first-child { width:40px; height:40px; background:var(--bg-2); color:var(--fg-2); border-radius:10px; }
html[data-reference-system="true"][data-theme] .workflow-list-empty > div:first-child svg { width:20px; height:20px; color:inherit; }
@media(max-width:600px) {
 html[data-reference-system="true"][data-theme] .workflow-list-page { padding:24px 16px; }
 html[data-reference-system="true"][data-theme] .workflow-list-page > .flex { align-items:flex-start; flex-direction:column; gap:16px; }
 html[data-reference-system="true"][data-theme] .workflow-list-page h1 { font-size:26px; }
}

html[data-reference-system="true"][data-theme] .database-settings-page { max-width:1040px; }
html[data-reference-system="true"][data-theme] .database-settings-page [class~="shadow"] { background:transparent; box-shadow:none; border:1px solid var(--line); border-radius:12px; }
html[data-reference-system="true"][data-theme] .database-settings-page [class~="bg-gradient-to-r"] { background:transparent; border:0; padding:16px 0; }
html[data-reference-system="true"][data-theme] .database-settings-page [class~="bg-gradient-to-r"] svg { color:var(--fg-3); flex-shrink:0; }
html[data-reference-system="true"][data-theme] .database-settings-page a[class~="shadow"] { transition:background-color 140ms ease; }
html[data-reference-system="true"][data-theme] .database-settings-page a[class~="shadow"]:hover { background:var(--bg-2); box-shadow:none; }
html[data-reference-system="true"][data-theme] .database-settings-page a[class~="shadow"] svg { width:22px; height:22px; flex-shrink:0; color:var(--fg-2); }
html[data-reference-system="true"][data-theme] .database-settings-page .database-mode-option { border:1px solid var(--line-2)!important; background:transparent!important; gap:12px; }
html[data-reference-system="true"][data-theme] .database-settings-page .database-mode-option:has(input:checked) { border-color:var(--fg-3)!important; background:var(--bg-2)!important; }
html[data-reference-system="true"][data-theme] .database-settings-page .database-mode-option:hover { background:var(--bg-2)!important; }
html[data-reference-system="true"][data-theme] .database-settings-page input[type=radio] { accent-color:var(--fg-2); margin-right:0; flex-shrink:0; }
html[data-reference-system="true"][data-theme] .database-settings-page .database-mode-option span { color:var(--fg-2); background:var(--bg-3); }
html[data-reference-system="true"][data-theme] .database-settings-page [class~="text-blue-600"] { color:var(--fg-2); }
@media(max-width:600px) {
 html[data-reference-system="true"][data-theme] .database-settings-page .p-6 > .flex.items-center.justify-between { flex-wrap:wrap; gap:16px; }
 html[data-reference-system="true"][data-theme] .database-settings-page h1 { font-size:26px; line-height:1.2; }
 html[data-reference-system="true"][data-theme] .database-settings-page .w-32 { width:80px; flex-shrink:0; }
}

html[data-reference-system="true"][data-theme] .database-settings-page :is([class~="bg-blue-50"],[class~="bg-yellow-50"]) { background:transparent; border:1px solid var(--line); }
html[data-reference-system="true"][data-theme] .database-settings-page :is([class~="bg-blue-50"],[class~="bg-yellow-50"]) :is(h2,h3,h4) { color:var(--fg); }
html[data-reference-system="true"][data-theme] .database-settings-page :is([class~="bg-blue-50"],[class~="bg-yellow-50"]) :is(p,ul,svg) { color:var(--fg-2); }
html[data-reference-system="true"][data-theme] .database-settings-page [class~="bg-blue-50"] > svg { width:32px; height:32px; }
@media(max-width:600px) {
 html[data-reference-system="true"][data-theme] .database-settings-page #app-selector .p-4 > .flex { flex-direction:column; align-items:flex-start; gap:16px; }
}

/* Separate summaries from editable cards in the real editor dashboard. */
html[data-reference-system="true"][data-theme] :is(.dash-overview,.user-directory-stats) :is(.stat-tile,.credit-cell) { background:transparent; border:0; box-shadow:none; border-radius:0; }
html[data-reference-system="true"][data-theme] .dash-overview .stats-grid { gap:16px; padding-block:8px; }
html[data-reference-system="true"][data-theme] .dash-overview .credit-empty { border:0; background:transparent; }
html[data-reference-system="true"][data-theme] .dash-overview .credit-head .ico { background:transparent; color:var(--fg-2); }
html[data-reference-system="true"][data-theme] #settings_panel [class~="shadow"] { box-shadow:none; border-radius:12px; }
html[data-reference-system="true"][data-theme] #settings_panel button.text-editor-accent-blue { color:var(--fg-2); text-underline-offset:3px; }
html[data-reference-system="true"][data-theme] #settings_panel button.text-editor-accent-blue:hover { color:var(--fg); }

@media(max-width:600px) {
 html[data-reference-system="true"][data-theme] #tasks_panel .p-12 { padding:28px 16px; }
 html[data-reference-system="true"][data-theme] #tasks_panel .p-12 > p { font-size:14px; line-height:1.6; }
}

/* Mobile dashboard is a stacking context below the bottom toolbar. Promote it
   only while its real modal is open so the scrim covers navigation as well. */
html[data-reference-system="true"][data-theme] #dashboard_panel:has(:is([data-database-manager-target="createTableModal"],[data-env-var-modal-target="modal"],[data-user-management-target="roleModal"],[data-user-management-target="userRoleModal"]):not(.hidden):not([hidden])) { z-index:80!important; }

html[data-reference-system="true"][data-theme] #analytics_panel [data-analytics-dashboard-target="noDataNotice"] { background:transparent; border:0; padding:12px 0; }
html[data-reference-system="true"][data-theme] #analytics_panel [data-analytics-dashboard-target="noDataNotice"] :is(p,i) { color:var(--fg-2); }
html[data-reference-system="true"][data-theme] #analytics_panel table th { font-family:var(--font-body); letter-spacing:0; text-transform:none; }
/* Empty/error messages should fit the panel rather than an empty five-column table. */
html[data-reference-system="true"][data-theme] #analytics_panel table:has(td[colspan="5"]:only-child) thead { display:none; }
html[data-reference-system="true"][data-theme] #analytics_panel [role="region"]:focus-visible { outline:2px solid var(--ref-focus); outline-offset:-2px; }

html[data-reference-system="true"][data-theme] .apiex input.flex-1 { min-width:0; }
@media(max-width:600px) {
 html[data-reference-system="true"][data-theme] [data-api-explorer-target="headersList"] > div { display:grid; grid-template-columns:minmax(0,1fr) 32px; gap:8px; }
 html[data-reference-system="true"][data-theme] [data-api-explorer-target="headersList"] > div > input { grid-column:1; width:100%; margin:0; }
 html[data-reference-system="true"][data-theme] [data-api-explorer-target="headersList"] > div > button { grid-column:2; grid-row:1 / span 2; margin:0; min-height:32px; }
}
  html[data-reference-system="true"][data-theme] .user-directory-stats .icobox { background: transparent !important; color: var(--fg-3) !important; }
  html[data-reference-system="true"][data-theme] [data-user-management-target="roleModal"] > div > div { max-height:calc(100dvh - 32px); overflow-y:auto; }
  html[data-reference-system="true"][data-theme] #settings_panel .bg-yellow-50 { background:var(--bg-2)!important; border-color:var(--line)!important; }
  html[data-reference-system="true"][data-theme] #settings_panel .bg-yellow-50 :is(p,i,a) { color:var(--fg-2)!important; }
  html[data-reference-system="true"][data-theme] #settings_panel .bg-yellow-50 a:hover { color:var(--fg)!important; }
  html[data-reference-system="true"][data-theme] :is([data-user-management-target="roleModal"],[data-user-management-target="userRoleModal"]) > div > div { background:var(--rx-overlay)!important; border:1px solid var(--rx-overlay-border); box-shadow:var(--rx-floating-shadow); }
  html[data-reference-system="true"][data-theme] [data-user-management-target="roleModal"] .text-gray-500 { color:var(--fg-3)!important; }
  @media (max-width:600px) {
    html[data-reference-system="true"][data-theme] .subdomain-edit-form .pm-subdomain-edit-row { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
    html[data-reference-system="true"][data-theme] .subdomain-edit-form .pm-subdomain-edit-row > div { grid-column:1 / -1; min-width:0; }
    html[data-reference-system="true"][data-theme] .subdomain-edit-form .pm-subdomain-edit-row > button { margin-left:0; }
    html[data-reference-system="true"][data-theme] .subdomain-edit-form input { min-width:0; }
  }
  html[data-reference-system="true"][data-theme] .mobile-modal { top:0!important; max-height:100dvh; transform:none!important; z-index:1500!important; }
  html[data-reference-system="true"][data-theme] .mobile-modal.active > .fixed.bottom-0 { transform:translateY(0); }
  html[data-reference-system="true"][data-theme] .mobile-modal > .fixed.bottom-0 { background:var(--rx-overlay)!important; border:1px solid var(--rx-overlay-border); box-shadow:var(--rx-floating-shadow); transition-duration:180ms; }
  html[data-reference-system="true"][data-theme] .mobile-modal :is(h3,span,button,a) { color:var(--fg-2); }
  html[data-reference-system="true"][data-theme] .mobile-modal h3 { color:var(--fg); margin:0; }
  html[data-reference-system="true"][data-theme] .mobile-modal :is(button,a):hover { background:var(--bg-2); color:var(--fg); }
  @media (prefers-reduced-motion:reduce) { html[data-reference-system="true"][data-theme] .mobile-modal > .fixed.bottom-0 { transition:none!important; } }
  html[data-reference-system="true"][data-theme] .deployment-center { max-width:1120px; }
  html[data-reference-system="true"][data-theme] .deployment-center .shadow-sm { background:transparent!important; border:1px solid var(--line)!important; border-radius:12px; box-shadow:none; }
  html[data-reference-system="true"][data-theme] .deployment-center .border-b { border-color:var(--line)!important; }
  html[data-reference-system="true"][data-theme] .deployment-center :is(.text-gray-500,.text-gray-600) { color:var(--fg-3)!important; }
  html[data-reference-system="true"][data-theme] .deployment-center th { font-family:var(--font-body); text-transform:none; letter-spacing:0; }
  html[data-reference-system="true"][data-theme] .deployment-center h3 { margin-bottom:0; }
  @media(max-width:600px) {
    html[data-reference-system="true"][data-theme] .deployment-center > .mb-8 > .flex,
    html[data-reference-system="true"][data-theme] .deployment-center .p-6.border-b > .flex { flex-direction:column; align-items:flex-start; gap:16px; }
    html[data-reference-system="true"][data-theme] .deployment-center .p-6 { padding:20px; }
    html[data-reference-system="true"][data-theme] .deployment-center h1 { font-size:26px; }
  }
  html[data-reference-system="true"][data-theme] [data-controller~="audit-dashboard"] .shadow { box-shadow:none; border:1px solid var(--line); border-radius:12px; background:transparent!important; }
  html[data-reference-system="true"][data-theme] [data-controller~="audit-dashboard"] :is(.border-b,.border-t) { border-color:var(--line)!important; }
  html[data-reference-system="true"][data-theme] [data-controller~="audit-dashboard"] label:has(input[type="radio"]) { background:transparent!important; }
  html[data-reference-system="true"][data-theme] [data-controller~="audit-dashboard"] label:has(input:checked) { background:var(--bg-2)!important; }
  html[data-reference-system="true"][data-theme] [data-controller~="audit-dashboard"] input[type="radio"] { accent-color:var(--fg-2); color:var(--fg-2); }
  html[data-reference-system="true"][data-theme] [data-controller~="audit-dashboard"] .grid:has(input[type="date"]) { grid-template-columns:1fr; }
  html[data-reference-system="true"][data-theme] [data-controller~="audit-dashboard"] input[type="date"] { min-width:0; width:100%; }
  html[data-reference-system="true"][data-theme] [data-controller~="audit-dashboard"] :is(.text-gray-500,.text-gray-600) { color:var(--fg-3)!important; }
  html[data-reference-system="true"][data-theme] [data-controller~="audit-dashboard"] #audit_logs_content { flex:1; min-width:0; }
  @media(max-width:600px) {
    html[data-reference-system="true"][data-theme] [data-controller~="audit-filters"] .space-y-1 { display:grid; grid-template-columns:1fr 1fr; gap:4px; }
    html[data-reference-system="true"][data-theme] [data-controller~="audit-filters"] .space-y-1 > label { margin:0; padding:8px 4px; }
  }
  html[data-reference-system="true"][data-theme] .audit-filter-panel summary { cursor:pointer; }
  html[data-reference-system="true"][data-theme] .audit-filter-panel[open] summary { margin-bottom:20px; }
  html[data-reference-system="true"][data-theme] .audit-filter-panel summary:focus-visible { outline:2px solid var(--ref-focus); outline-offset:4px; }
  html[data-reference-system="true"][data-theme] [data-controller~="audit-dashboard"] :is(input[type="text"],input[type="date"]) { background:var(--rx-field)!important; color:var(--fg); border:1px solid var(--rx-field-border); border-radius:var(--radius-control); padding:10px 12px; }
  html[data-reference-system="true"][data-theme] .app-file-source { max-height:28rem; overflow:auto; padding:16px; border:1px solid var(--line); border-radius:var(--radius-control); background:var(--bg-2); margin-block:16px; }
  html[data-reference-system="true"][data-theme] .app-file-source pre { margin:0; white-space:pre-wrap; overflow-wrap:anywhere; font-family:var(--font-mono); font-size:13px; line-height:1.65; }
  html[data-reference-system="true"][data-theme] .app-file-source:focus-visible { outline:2px solid var(--ref-focus); outline-offset:2px; }
  html[data-reference-system="true"][data-theme] .app-file-form textarea { min-height:20rem; font-family:var(--font-mono); font-size:13px; line-height:1.65; }
  html[data-reference-system="true"][data-theme] .app-file-source-label { font-size:12px; font-weight:600; margin-bottom:12px; }
  html[data-reference-system="true"][data-theme] .wint-pill { font-family:var(--font-body); letter-spacing:0; text-transform:none; font-size:12px; padding:7px 12px; }
  @media(max-width:600px) { html[data-reference-system="true"][data-theme] .wint-btn { min-height:44px; } }
  html[data-reference-system="true"][data-theme] .ti-show-fact { background:transparent; border:0; border-radius:0; padding:12px 0; }
  html[data-reference-system="true"][data-theme] .ti-show-step-num { background:var(--bg-2); color:var(--fg-2); forced-color-adjust:auto; }
  html[data-reference-system="true"][data-theme] .ti-show-table-wrap { margin-bottom:16px; }
  html[data-reference-system="true"][data-theme] .ti-show-table-wrap:focus-visible { outline:2px solid var(--ref-focus); outline-offset:2px; }
  html[data-reference-system="true"][data-theme] .ti-show-table { min-width:680px; }
  @media(max-width:600px) { html[data-reference-system="true"][data-theme] .ti-section + .ti-section--cta { margin-top:0; padding:28px 20px; } }
  html[data-reference-system="true"][data-theme] .os-marketing .cmp-wrap:focus-visible { outline:2px solid var(--ref-focus); outline-offset:4px; }
  html[data-reference-system="true"][data-theme] .os-marketing .cmp :is(thead th,.cmp-grp th) { font-family:var(--font-body); font-size:12px; letter-spacing:0; text-transform:none; color:var(--fg-3); }
  html[data-reference-system="true"][data-theme] .os-marketing .cmp thead th:first-child { color:var(--fg-3); }
  html[data-reference-system="true"][data-theme] .os-marketing .cmp-hint { line-height:1.5; }
  @media(max-width:720px) { html[data-reference-system="true"][data-theme] .os-marketing .cmp-hint { display:block; } }
  html[data-reference-system="true"][data-theme] .os-marketing .faq details[open] summary i { transform:none; border-color:var(--line-2); color:var(--fg); }
  html[data-reference-system="true"][data-theme] .os-marketing .faq summary i svg { transition:transform 180ms cubic-bezier(.22,1,.36,1); }
  html[data-reference-system="true"][data-theme] .os-marketing .faq details[open] summary i svg { transform:rotate(45deg); }
  @media(prefers-reduced-motion:reduce) { html[data-reference-system="true"][data-theme] .os-marketing .faq summary i svg { transition:none; } }
  html[data-reference-system="true"][data-theme] .os-marketing #enterprise .one-up > .up { background:transparent; border:0; padding:0; box-shadow:none; }
  html[data-reference-system="true"][data-theme] .legal-document .prose { color:var(--fg-2); --tw-prose-body:var(--fg-2); --tw-prose-headings:var(--fg); --tw-prose-bold:var(--fg); --tw-prose-links:var(--fg); --tw-prose-bullets:var(--fg-3); }
  html[data-reference-system="true"][data-theme] .legal-document .prose :is(p,li,ul,ol) { color:var(--fg-2); }
  html[data-reference-system="true"][data-theme] .legal-document .prose :is(h2,h3,h4,strong) { color:var(--fg); }
  html[data-reference-system="true"][data-theme] .legal-document .prose a { color:var(--fg); text-decoration:underline; text-underline-offset:3px; text-decoration-color:var(--fg-3); }
  html[data-reference-system="true"][data-theme] .legal-document .prose a:hover { text-decoration-color:currentColor; }
  html[data-reference-system="true"][data-theme] .legal-document header > p { font-family:var(--font-body)!important; }
  @media(max-width:600px) { html[data-reference-system="true"][data-theme] .legal-document > div { padding:24px 20px; } html[data-reference-system="true"][data-theme] .legal-document { padding-block:24px; } }
  html[data-reference-system="true"][data-theme] .legal-document .prose :is(ul,ol) { list-style-position:outside; padding-left:1.4em; }
  html[data-reference-system="true"][data-theme] .os-marketing :is(.ic-cat,.cat-chips .filter b) { font-family:var(--font-body); font-size:12px; letter-spacing:0; text-transform:none; }
  html[data-reference-system="true"][data-theme="dark"] .os-marketing :is(.ic-logo,#groups) img:is([src="https://cdn.simpleicons.org/notion"],[src="https://cdn.simpleicons.org/typeform"]) { filter:invert(1); }
  html[data-reference-system="true"][data-theme] .learn-article blockquote { border:0; border-radius:10px; background:var(--bg-2); padding:16px 20px; color:var(--fg-2); }
  html[data-reference-system="true"][data-theme] .knowledge-search-controls .input { min-height:46px; }
  html[data-reference-system="true"][data-theme] :is(.mcl-viewall) { font-family:var(--font-body); font-size:12px; letter-spacing:0; text-transform:none; color:var(--fg-3); }
  html[data-reference-system="true"][data-theme] .mcl-viewall:hover { color:var(--fg); text-decoration:underline; text-underline-offset:3px; }

html[data-reference-system="true"][data-theme] .cmp-table-scroll a { color:var(--fg); text-decoration:underline; text-decoration-color:var(--fg-3); text-underline-offset:3px; transition:text-decoration-color 120ms ease; }
html[data-reference-system="true"][data-theme] .cmp-table-scroll a:hover { text-decoration-color:currentColor; }
html[data-reference-system="true"][data-theme] .cmp-hub-scroll :is(.cmp-table,.cmp-hub) { min-width:760px; }

html[data-reference-system="true"][data-theme] .cmp-faq { background:transparent; border:0; border-radius:0; box-shadow:none; padding:20px 0; }
html[data-reference-system="true"][data-theme] .cmp-faqs { gap:0; }

html[data-reference-system="true"][data-theme] :is(.xp-stat__label,.xp-shape__cta) { font-family:var(--font-body); letter-spacing:0; text-transform:none; }
html[data-reference-system="true"][data-theme] .xp-shape__cta { font-size:13px; }

html[data-reference-system="true"][data-theme] .xp-shape:hover { transform:none; background:var(--hover-bg); border-color:var(--fg-3); }

html[data-reference-system="true"][data-theme] [data-testid="notification-dropdown"] :is([data-testid="mark-all-read-button"],a[href$="notification_preferences"]) { color:var(--fg-2)!important; }
html[data-reference-system="true"][data-theme] [data-testid="notification-dropdown"] :is([data-testid="mark-all-read-button"],a[href$="notification_preferences"]):hover { color:var(--fg)!important; text-decoration:underline; text-underline-offset:3px; }

html[data-reference-system="true"][data-theme] .dash-app-card-url--empty { font-family:var(--font-body); letter-spacing:0; }

html[data-reference-system="true"][data-theme] .dash-search-empty { margin:0 0 24px; color:var(--fg-2); font:400 14px/1.5 var(--font-body); }

html[data-reference-system="true"][data-theme] .live-wrap { color:var(--fg); }
html[data-reference-system="true"][data-theme] :is(.live-sub,.live-label,.live-foot,.live-totals) { color:var(--fg-2); }
html[data-reference-system="true"][data-theme] .live-totals b { color:var(--fg); }
html[data-reference-system="true"][data-theme] .live-card { background:transparent; border-color:transparent; }
html[data-reference-system="true"][data-theme] .live-card--hero { background:var(--bg-2); border-color:var(--line); }
html[data-reference-system="true"][data-theme] :is(.live-pill,.live-foot) { font-family:var(--font-body); letter-spacing:0; text-transform:none; }
html[data-reference-system="true"][data-theme] .live-cta:hover { transform:none; filter:none; background:var(--rx-primary-hover); color:var(--rx-primary-ink); }
@media (prefers-reduced-motion:reduce) { html[data-reference-system="true"][data-theme] :is(.live-dot,.live-bump) { animation:none; } }

html[data-reference-system="true"][data-theme] :is(.bb-pill,.bb-card):hover { transform:none; }

html[data-reference-system="true"][data-theme] .psp-vs-cell--os { background:var(--bg-2); border-color:var(--line-2); }
html[data-reference-system="true"][data-theme] :is(.psp-vs-brand,.psp-vs-legend,.psp-vs-legend-item,.psp-demo-label,.psp-demo-foot,.psp-beat-num) { font-family:var(--font-body); letter-spacing:0; text-transform:none; }
html[data-reference-system="true"][data-theme] .psp-vs-cell a { text-decoration:underline; text-decoration-color:var(--fg-3); text-underline-offset:3px; }
html[data-reference-system="true"][data-theme] .psp-vs-cell a:hover { color:var(--fg); text-decoration-color:currentColor; }

html[data-reference-system="true"][data-theme] .psp-why-icon { background:var(--bg-3); color:var(--fg-2); }
html[data-reference-system="true"][data-theme] .psp-why-card:hover { transform:none; }
@media (min-width:1000px) { html[data-reference-system="true"][data-theme] .psp-why-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
html[data-reference-system="true"][data-theme] .cl-empty a { color:var(--fg); text-decoration:underline; text-decoration-color:var(--fg-3); text-underline-offset:3px; }
html[data-reference-system="true"][data-theme] .cl-empty a:hover { text-decoration-color:currentColor; }

html[data-reference-system="true"][data-theme] .arcade-page { background:var(--bg); color:var(--fg); }
html[data-reference-system="true"][data-theme] .arcade-hero { background:var(--bg); padding-block:56px 32px; }
html[data-reference-system="true"][data-theme] .arcade-page :is(h1,h2,.text-gray-900,.dark\:text-white) { color:var(--fg); }
html[data-reference-system="true"][data-theme] .arcade-page :is(p,.text-gray-300,.text-gray-400,.text-gray-500) { color:var(--fg-2); }
html[data-reference-system="true"][data-theme] .arcade-hero .inline-flex { background:var(--bg-2); border-color:var(--line); }
html[data-reference-system="true"][data-theme] .arcade-hero .inline-flex :is(span,svg) { color:var(--fg-2)!important; }
html[data-reference-system="true"][data-theme] .arcade-page [data-testid^="arcade-board-"]:not([data-testid^="arcade-board-empty"]) { background:transparent; border:0; border-radius:0; box-shadow:none; }
html[data-reference-system="true"][data-theme] .arcade-page [data-testid^="arcade-board-"] > .border-b { border:0; padding:0 0 16px; }
html[data-reference-system="true"][data-theme] .arcade-page :is([data-testid^="arcade-you-row"],[data-testid="arcade-entry-you"]) { background:var(--bg-2); box-shadow:0 0 0 1px var(--line); }
html[data-reference-system="true"][data-theme] .arcade-page .font-mono { font-family:var(--font-body); color:var(--fg-2); }
html[data-reference-system="true"][data-theme] .arcade-page :is([data-testid="arcade-profile-card"],[data-testid="arcade-signin-cta"]) { background:transparent; border:0; padding:16px 0; }
html[data-reference-system="true"][data-theme] .arcade-page a { color:var(--fg); text-decoration:underline; text-decoration-color:var(--fg-3); text-underline-offset:3px; }
html[data-reference-system="true"][data-theme] .arcade-page a:hover { text-decoration-color:currentColor; }
html[data-reference-system="true"][data-theme] .arcade-page > section + section { padding-block:32px; }
html[data-reference-system="true"][data-theme] .arcade-page [data-testid^="arcade-board-empty"] { padding-block:24px; }
html[data-reference-system="true"][data-theme] .arcade-page [data-testid^="arcade-board-"] > .px-3 { padding:0; }
html[data-reference-system="true"][data-theme] .arcade-page p.text-xs { font-size:13px; line-height:1.5; }
html[data-reference-system="true"][data-theme] [data-testid="nav-create"] > div { margin-top:0; width:36px; height:36px; background:var(--rx-primary); color:var(--rx-primary-ink); box-shadow:none; }
html[data-reference-system="true"][data-theme] [data-testid="nav-create"] svg { color:inherit; }
html[data-reference-system="true"][data-theme] [data-testid="nav-create"] > span { color:var(--fg-2); }
html[data-reference-system="true"][data-theme] [data-testid="nav-create"]:hover > div { background:var(--rx-primary-hover); }
html[data-reference-system="true"][data-theme] .alt-pilot-checks .cmp-win { background:transparent; border:0; border-radius:0; padding:16px 0; box-shadow:none; }
html[data-reference-system="true"][data-theme] .alt-pilot-checks .cmp-win__badge { background:transparent; padding:0; }
html[data-reference-system="true"][data-theme] .cmp-sources__updated { font-family:var(--font-body); letter-spacing:0; }
html[data-reference-system="true"][data-theme] .cmp-verdict { background:var(--bg-2); border-color:var(--line); }
@media (max-width:640px) {
 html[data-reference-system="true"][data-theme] .cmp-verdict { padding:24px; text-align:left; }
 html[data-reference-system="true"][data-theme] .cmp-verdict__body { text-align:left; font-size:15px; line-height:1.6; }
 html[data-reference-system="true"][data-theme] .cmp-verdict__actions { justify-content:flex-start; }
 html[data-reference-system="true"][data-theme] .cmp-verdict__actions .btn { min-height:44px; }
}
html[data-reference-system="true"][data-theme] .ds-bt-box:has(.app-plan-form) { max-width:760px; border-radius:12px; }
html[data-reference-system="true"][data-theme] .app-plan-form :is(input,textarea) { font-family:var(--font-body); }
html[data-reference-system="true"][data-theme] .app-plan-form input[type=checkbox] { appearance:auto; width:16px; height:16px; flex:none; margin:0; accent-color:var(--fg-2); }
html[data-reference-system="true"][data-theme] .app-plan-form label:has(input[type=checkbox]) { min-height:44px; margin-top:0; }
html[data-reference-system="true"][data-theme] .app-plan-form .btn-secondary-semantic { background:transparent; border-color:var(--line-2); color:var(--fg-2); box-shadow:none; }
html[data-reference-system="true"][data-theme] .app-plan-form .btn-secondary-semantic:hover { background:var(--hover-bg); color:var(--fg); transform:none; }
html[data-reference-system="true"][data-theme] .audit-event-detail .ds-bt-box { max-width:760px; border-radius:12px; }
html[data-reference-system="true"][data-theme] .audit-event-detail label { color:var(--fg-2); text-transform:none; letter-spacing:0; font:500 12px/1.5 var(--font-body); padding-block:4px; }
html[data-reference-system="true"][data-theme] .audit-event-detail label + div { color:var(--fg); font:400 14px/1.5 var(--font-body); overflow-wrap:anywhere; }
html[data-reference-system="true"][data-theme] .audit-event-detail .button-secondary { padding-inline:0; text-decoration:underline; text-underline-offset:4px; }
html[data-reference-system="true"][data-theme] .audit-action-type { background:var(--bg-3)!important; color:var(--fg-2)!important; font-family:var(--font-body); }
html[data-reference-system="true"][data-theme] .cf-guide-table { overflow-x:auto; max-width:100%; margin-block:24px; border:1px solid var(--line); border-radius:10px; }
html[data-reference-system="true"][data-theme] .cf-guide-table:focus-visible { outline:2px solid var(--ref-focus); outline-offset:3px; }
html[data-reference-system="true"][data-theme] .cf-guide-table table { display:table; min-width:640px; width:100%; margin:0; border:0; border-radius:0; }
@media(max-width:640px) {
 html[data-reference-system="true"][data-theme] .cf-guide-scroll-hint { display:block!important; font:400 12px/1.5 var(--font-body); color:var(--fg-3); margin-bottom:8px; }
 html[data-reference-system="true"][data-theme] .cf-guide-table { margin-top:8px; }
}
html[data-reference-system="true"][data-theme] .anonymous-build-entry { min-height:0; background:var(--bg); padding:64px 24px; align-items:flex-start; color:var(--fg); }
html[data-reference-system="true"][data-theme] .anonymous-build-entry > div { max-width:680px; }
html[data-reference-system="true"][data-theme] .anonymous-build-entry h1 { color:var(--fg); font:600 clamp(30px,4vw,42px)/1.15 var(--font-body); letter-spacing:-.03em; }
html[data-reference-system="true"][data-theme] .anonymous-build-entry h1 span { color:inherit; }
html[data-reference-system="true"][data-theme] .anonymous-build-entry p { color:var(--fg-2); line-height:1.6; }
html[data-reference-system="true"][data-theme] .anonymous-build-entry [data-testid="anon-build-signed-in-banner"] { background:var(--bg-2); border-color:var(--line); color:var(--fg-2); }
html[data-reference-system="true"][data-theme] .anonymous-build-entry [data-testid="anon-build-signed-in-banner"] svg { width:18px; height:18px; color:var(--fg-2); }
html[data-reference-system="true"][data-theme] .anonymous-build-entry form > div { background:var(--bg-2); border:1px solid var(--line-2); border-radius:16px; box-shadow:none; backdrop-filter:none; }
html[data-reference-system="true"][data-theme] .anonymous-build-entry form > div:focus-within { border-color:var(--field-border-focus); box-shadow:var(--field-ring); }
html[data-reference-system="true"][data-theme] .anonymous-build-entry textarea { min-height:160px; color:var(--fg)!important; font:400 16px/1.6 var(--font-body); padding:0!important; border:0!important; background:transparent!important; box-shadow:none!important; }
html[data-reference-system="true"][data-theme] .anonymous-build-entry textarea::placeholder { color:var(--fg-3); }
html[data-reference-system="true"][data-theme] .anonymous-build-entry input[type=submit] { background:var(--rx-primary); color:var(--rx-primary-ink); min-height:44px; font:500 14px/1.5 var(--font-body); box-shadow:none; }
html[data-reference-system="true"][data-theme] .anonymous-build-entry input[type=submit]:hover { background:var(--rx-primary-hover); color:var(--rx-primary-ink); transform:none; }
html[data-reference-system="true"][data-theme] .anonymous-build-entry form .border-t { border:0; padding-top:0; }
@media(max-width:640px) { html[data-reference-system="true"][data-theme] .anonymous-build-entry { padding:40px 20px; } }
html[data-reference-system="true"][data-theme] .reference-public-header [data-dropdown-target="button"] .bg-primary-100 { background:var(--bg-3); color:var(--fg); }
html[data-reference-system="true"][data-theme] .reference-public-header [data-dropdown-target="button"] .text-primary-700 { color:var(--fg); }
html[data-reference-system="true"][data-theme] .legacy-app-entry :is(.ds-bt-box,.legacy-app-entry__intro) { max-width:760px; border-radius:12px; }
html[data-reference-system="true"][data-theme] .legacy-app-entry__intro { background:transparent; border:0; padding:0; }
html[data-reference-system="true"][data-theme] .legacy-app-entry__intro :is(h3,p,div) { color:var(--fg-2); }
html[data-reference-system="true"][data-theme] .legacy-app-entry__intro span { background:var(--bg-2); color:var(--fg-2); margin-bottom:4px; }
html[data-reference-system="true"][data-theme] .legacy-app-examples button { padding:12px; border-color:var(--line); border-radius:8px; color:var(--fg); background:var(--bg-2); }
html[data-reference-system="true"][data-theme] .legacy-app-examples button :is(svg,.text-xs) { color:var(--fg-2); }
html[data-reference-system="true"][data-theme] .legacy-app-examples button:hover { background:var(--hover-bg); border-color:var(--line-2); transform:none; }
html[data-reference-system="true"][data-theme] .legacy-app-examples button:focus-visible { outline:2px solid var(--ref-focus); outline-offset:2px; }
html[data-reference-system="true"][data-theme] .legacy-app-entry .max-w-lg:has(> label input[type=radio]) { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 16px; max-width:none; }
html[data-reference-system="true"][data-theme] .legacy-app-entry .max-w-lg > label:has(input[type=radio]) { min-height:40px; align-items:center; margin:0; }
html[data-reference-system="true"][data-theme] .legacy-app-entry .form label { color:var(--fg-2); }
@media(max-width:480px) { html[data-reference-system="true"][data-theme] .legacy-app-examples { grid-template-columns:1fr; } }
html[data-reference-system="true"][data-theme] .legacy-app-entry .form :is(.text-gray-500,.text-gray-600) { color:var(--fg-3); }
/* Live leaderboard: open summary, compact panels, readable mobile headings. */
html[data-reference-system="true"][data-theme] .glb-hero { border:0; padding-bottom:8px; }
html[data-reference-system="true"][data-theme] .glb-meta { background:transparent; border:0; border-radius:0; gap:20px; }
html[data-reference-system="true"][data-theme] .glb-meta__cell { border:0; padding:0; }
html[data-reference-system="true"][data-theme] :is(.glb-meta__label,.glb-meta__unit,.glb-panel__scope) { font-family:var(--font-body); text-transform:none; letter-spacing:0; font-size:12px; color:var(--fg-3); }
html[data-reference-system="true"][data-theme] .glb-panel { background:var(--bg-2); border-radius:12px; }
html[data-reference-system="true"][data-theme] .glb-panel__head { padding:20px; }
html[data-reference-system="true"][data-theme] .glb-panel__scope { white-space:normal; max-width:100%; }
html[data-reference-system="true"][data-theme] .glb-cta__btn:hover { background:var(--rx-primary-hover); color:var(--rx-primary-ink); filter:none; transform:none; }
@media(max-width:640px) {
 html[data-reference-system="true"][data-theme] .glb-meta { grid-template-columns:repeat(2,minmax(0,1fr)); }
 html[data-reference-system="true"][data-theme] .glb-meta__cell:last-child { grid-column:1/-1; }
 html[data-reference-system="true"][data-theme] .glb-panel__head { flex-direction:column; gap:12px; }
 html[data-reference-system="true"][data-theme] .glb-panel__desc { max-width:none; }
}
html[data-reference-system="true"][data-theme] [data-testid="build-card-gate"] > div { border-color:var(--line); background:var(--bg-2); border-radius:12px; box-shadow:none; padding:28px; }
html[data-reference-system="true"][data-theme] [data-testid="build-card-gate"] .btn { min-height:44px; padding:10px 16px; }
@media(max-width:640px) { html[data-reference-system="true"][data-theme] [data-testid="build-card-gate"] { padding-top:32px; padding-bottom:40px; } html[data-reference-system="true"][data-theme] [data-testid="build-card-gate"] > div { padding:24px; } }
html[data-reference-system="true"][data-theme] .learn-table-scroll { max-width:100%; overflow-x:auto; border:1px solid var(--line); border-radius:12px; margin:24px 0; }
html[data-reference-system="true"][data-theme] .learn-table-scroll:focus-visible { outline:2px solid var(--ref-focus); outline-offset:3px; }
html[data-reference-system="true"][data-theme] .learn-table-scroll table { display:table; min-width:600px; width:100%; margin:0; border:0; border-radius:0; }
@media(max-width:640px) {
 html[data-reference-system="true"][data-theme] .learn-table-hint { display:block!important; margin:20px 0 8px; font:400 12px/1.5 var(--font-body); color:var(--fg-3); }
 html[data-reference-system="true"][data-theme] .learn-table-scroll { margin-top:8px; }
}
html[data-reference-system="true"][data-theme] .learn-comparison :is(.comparison-stage,.comparison-export) { border:0; margin-top:8px; padding:8px 0; }
html[data-reference-system="true"][data-theme] .learn-comparison summary { min-height:44px; align-content:center; }
html[data-reference-system="true"][data-theme] .learn-comparison :is(input:not([type=checkbox]),select) { min-height:44px; }
html[data-reference-system="true"][data-theme] .learn-comparison .comparison-essential { align-items:center; min-height:44px; }
html[data-reference-system="true"][data-theme] .learn-comparison .comparison-essential input { width:16px; height:16px; margin:0; accent-color:var(--fg-2); }
@media(max-width:640px) { html[data-reference-system="true"][data-theme] .cint__connect { min-height:44px; padding:10px 16px; } }
html[data-reference-system="true"][data-theme] :is(.composer-tool,.send)[data-tooltip]::after, html[data-reference-system="true"][data-theme] .composer-tip { font-family:var(--font-body); font-size:12px; letter-spacing:0; }
html[data-reference-system="true"][data-theme] .composer-tool[aria-expanded="true"][data-tooltip]::after { display:none!important; }
@media(max-width:640px) { html[data-reference-system="true"][data-theme] .nah .nah-chip { min-height:44px; } html[data-reference-system="true"][data-theme] .composer-menu-upgrade { min-height:44px; } html[data-reference-system="true"][data-theme] .composer-popover .sheet-close { width:44px; height:44px; } }
/* Credit-pack comparison, 2026-09-26. Shared with the Reference Lab.
 * Presentation only: preserve offer copy, source order, forms and promo logic. */
html[data-reference-system="true"][data-theme] [data-credit-topup-modal-target="modal"] > .relative { padding:16px; }
html[data-reference-system="true"][data-theme] .topup-modal-panel {
  max-width:min(1120px,calc(100vw - 32px));
  max-height:min(900px,calc(100vh - 32px));
  max-height:min(900px,calc(100dvh - 32px));
  background:var(--rx-overlay); border-color:var(--rx-overlay-border); border-radius:20px;
}
html[data-reference-system="true"][data-theme] .topup-modal-header { background:transparent; border:0; padding:22px 28px 18px; align-items:flex-start; }
html[data-reference-system="true"][data-theme] .topup-modal-title { font:650 26px/1.2 var(--font-body); letter-spacing:-.035em; }
html[data-reference-system="true"][data-theme] .topup-modal-subtitle { margin-top:6px; font:400 13px/1.5 var(--font-body); }
html[data-reference-system="true"][data-theme] .topup-modal-balance { margin:0 28px 8px; padding:12px 16px; border:1px solid var(--line); border-radius:10px; background:var(--rx-panel); }
html[data-reference-system="true"][data-theme] .topup-modal-balance-row { gap:8px 16px; }
html[data-reference-system="true"][data-theme] .topup-modal-balance-amount { font:600 20px/1.2 var(--font-body); letter-spacing:-.025em; }
html[data-reference-system="true"][data-theme] .topup-modal-balance-usage { font:400 12px/1.5 var(--font-body); }
html[data-reference-system="true"][data-theme] .topup-modal-progress { height:3px; margin-top:10px; border:0; }
html[data-reference-system="true"][data-theme] .topup-modal-body { padding:14px 28px 0; background:transparent; overscroll-behavior:contain; }
html[data-reference-system="true"][data-theme] .topup-modal-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
html[data-reference-system="true"][data-theme] .topup-pack {
  display:grid; grid-template-columns:minmax(0,1.35fr) minmax(0,1fr); grid-template-rows:auto auto 1fr auto auto;
  align-items:start; gap:0 12px; min-height:0; padding:18px; margin:0;
  border:1px solid var(--line); border-radius:12px; background:var(--rx-panel); box-shadow:none;
}
/* Cards never lift on hover; the featured card carries a persistent Agent beam. */
html[data-reference-system="true"][data-theme] .topup-pack:hover { background:var(--rx-panel); border-color:var(--line); transform:none; box-shadow:none; }
/* Reuse the Agent launcher's persistent 1px beam ring over a quiet solid fill.
   --launcher-beam-angle and launcher-beam-spin come from _launcher_mode.css. */
html[data-reference-system="true"][data-theme] .topup-pack--popular,
html[data-reference-system="true"][data-theme] .topup-pack--popular:hover {
  position:relative; isolation:isolate; border-color:transparent;
  --topup-beam-edge:rgba(255,255,255,.2); --topup-beam-highlight:rgba(255,255,255,.8);
  background:color-mix(in srgb,var(--brand) 3%,var(--rx-panel));
  box-shadow:inset 0 0 8px rgba(140,220,60,.08);
}
html[data-reference-system="true"][data-theme="light"] .topup-pack--popular {
  --topup-beam-edge:rgba(0,0,0,.12); --topup-beam-highlight:rgba(0,0,0,.4);
}
html[data-reference-system="true"][data-theme] .topup-pack--popular::after {
  content:""; position:absolute; inset:-1px; border-radius:inherit; padding:1px;
  background:conic-gradient(from var(--launcher-beam-angle),transparent 0% 40%,var(--topup-beam-edge) 56%,var(--topup-beam-highlight) 67%,var(--topup-beam-edge) 73%,transparent 80% 100%),conic-gradient(from var(--launcher-beam-angle),rgb(34,197,94),rgb(120,210,50) 25%,rgb(180,228,45) 50%,rgb(120,210,50) 75%,rgb(34,197,94) 100%);
  -webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
  -webkit-mask-composite:xor;
  mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
  mask-composite:exclude;
  filter:saturate(1.15); pointer-events:none;
}
html[data-reference-system="true"][data-theme] .topup-pack--popular .topup-pack-badge { z-index:1; }
@media(prefers-reduced-motion:no-preference) {
  html[data-reference-system="true"][data-theme] .topup-pack--popular { animation:launcher-beam-spin 6s linear infinite; }
}
@media(forced-colors:active) {
  html[data-reference-system="true"][data-theme] .topup-pack--popular,
  html[data-reference-system="true"][data-theme] .topup-pack--popular:hover { animation:none; background:Canvas; box-shadow:none; border-color:Highlight; }
  html[data-reference-system="true"][data-theme] .topup-pack--popular::after { display:none; }
}
html[data-reference-system="true"][data-theme] .topup-pack-head { grid-column:1 / -1; grid-row:1; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:6px 8px; margin:0; }
html[data-reference-system="true"][data-theme] .topup-pack-name { font:600 15px/1.4 var(--font-body); letter-spacing:-.015em; }
html[data-reference-system="true"][data-theme] .topup-pack-discount { font:500 11px/1.4 var(--font-body); letter-spacing:0; text-transform:none; color:var(--success-fg); padding:3px 7px; border:0; border-radius:5px; background:color-mix(in srgb,var(--success-fg) 8%,transparent); }
html[data-reference-system="true"][data-theme] .topup-pack-tagline { grid-column:1 / -1; grid-row:2; margin:5px 0 0; min-height:0; font:400 12px/1.5 var(--font-body); }
html[data-reference-system="true"][data-theme] .topup-pack-badge { position:absolute; top:-9px; left:16px; transform:none; padding:2px 7px; margin:0; background:var(--brand); color:#102016; border:0; border-radius:4px; box-shadow:none; font:650 9px/1.5 var(--font-body); letter-spacing:.035em; }
html[data-reference-system="true"][data-theme] .topup-pack-credits { grid-column:1; grid-row:3; align-self:start; min-height:51px; margin:17px 0; padding:0; gap:2px 5px; }
html[data-reference-system="true"][data-theme] .topup-pack-credits-total { font:600 28px/1.2 var(--font-body); letter-spacing:-.035em; }
html[data-reference-system="true"][data-theme] .topup-pack-credits-unit { font:400 11px/1.4 var(--font-body); letter-spacing:0; }
html[data-reference-system="true"][data-theme] .topup-pack-bonus { display:flex; align-items:center; flex-wrap:wrap; gap:4px 6px; margin-top:6px; font:400 11px/1.4 var(--font-body); letter-spacing:0; color:var(--fg-3); }
html[data-reference-system="true"][data-theme] .topup-pack-bonus-highlight { display:inline-flex; flex-shrink:0; padding:2px 6px; border-radius:5px; background:color-mix(in srgb,var(--success-fg) 10%,transparent); color:var(--success-fg); font:600 12px/16px var(--font-body); white-space:nowrap; }
html[data-reference-system="true"][data-theme] .topup-pack-price { grid-column:2; grid-row:3; display:flex; flex-direction:column; align-items:flex-end; justify-content:flex-start; gap:5px; margin:20px 0 17px; }
html[data-reference-system="true"][data-theme] .topup-pack-price-amount { font:600 21px/1.25 var(--font-body); letter-spacing:-.025em; }
html[data-reference-system="true"][data-theme] .topup-pack-price-strike { font:400 12px/1.4 var(--font-body); color:var(--fg-3); }
html[data-reference-system="true"][data-theme] .topup-pack-price-meta { display:block; grid-column:1 / -1; grid-row:4; margin:0 0 12px; color:var(--fg-3); font:400 11px/1.5 var(--font-body); }
html[data-reference-system="true"][data-theme] .topup-modal-panel .topup-pack-buy { grid-column:1 / -1; grid-row:5; align-self:end; margin:0; width:100%; min-height:40px; padding:9px 12px; }
html[data-reference-system="true"][data-theme] .topup-modal-panel .topup-pack-buy:not(.btn-primary) { font:550 14px/20px var(--font-body); border-radius:8px; border:1px solid var(--line-2); background:var(--rx-secondary); color:var(--fg); box-shadow:none; }
html[data-reference-system="true"][data-theme] .topup-modal-panel .topup-pack-buy:not(.btn-primary):hover:not(:disabled) { background:var(--rx-secondary-hover); border-color:var(--line-2); color:var(--fg); box-shadow:none; }
/* The featured purchase uses the shared primary button finish and states. */
html[data-reference-system="true"][data-theme] .topup-modal-panel .topup-pack-buy.btn-primary { background:var(--rx-primary); border-color:var(--rx-primary); color:var(--rx-primary-ink); }
html[data-reference-system="true"][data-theme] .topup-modal-panel .topup-pack-buy:not(.btn-primary):focus-visible { outline:2px solid var(--fg-2); outline-offset:3px; }
html[data-reference-system="true"][data-theme] .topup-modal-panel .topup-pack-buy:disabled { opacity:.5; cursor:not-allowed; }
html[data-reference-system="true"][data-theme] .topup-modal-subnote { margin:0; padding:16px 0; border:0; gap:8px; justify-content:center; flex-wrap:wrap; }
html[data-reference-system="true"][data-theme] :is(.topup-modal-subnote-text,.topup-modal-subnote-link) { font:400 12px/1.5 var(--font-body); }
html[data-reference-system="true"][data-theme] .topup-modal-footer { background:transparent; padding:12px 28px; border-top:1px solid var(--line); }
html[data-reference-system="true"][data-theme] .topup-modal-secure { font:400 11px/1.5 var(--font-body); letter-spacing:0; }
/* Light mode: separate cards with surfaces instead of repeated outlines.
   Retain every offer, the bonus emphasis and the featured card's quiet beam. */
@media(forced-colors:none) {
  html[data-reference-system="true"][data-theme="light"] .topup-modal-panel { background:color-mix(in srgb,var(--rx-panel) 40%,var(--bg-1)); }
  html[data-reference-system="true"][data-theme="light"] .topup-modal-balance { background:transparent; border-color:transparent; }
  html[data-reference-system="true"][data-theme="light"] .topup-modal-progress { background:var(--line); }
  html[data-reference-system="true"][data-theme="light"] .topup-pack,
  html[data-reference-system="true"][data-theme="light"] .topup-pack:hover { background:var(--rx-panel); border-color:transparent; }
  html[data-reference-system="true"][data-theme="light"] .topup-pack--popular,
  html[data-reference-system="true"][data-theme="light"] .topup-pack--popular:hover { background:color-mix(in srgb,var(--brand) 2%,var(--rx-panel)); }
  html[data-reference-system="true"][data-theme="light"] .topup-pack--popular::after { opacity:.6; filter:saturate(.7); }
  html[data-reference-system="true"][data-theme="light"] .topup-pack-discount { background:transparent; color:var(--fg-2); }
  html[data-reference-system="true"][data-theme="light"] .topup-pack-bonus-highlight { background:color-mix(in srgb,var(--ref-brand-soft) 8%,transparent); color:var(--ref-brand-soft); }
  html[data-reference-system="true"][data-theme="light"] .topup-pack-badge { background:color-mix(in srgb,var(--brand) 35%,var(--rx-panel)); }
  html[data-reference-system="true"][data-theme="light"] .topup-modal-panel .topup-pack-buy:not(.topup-pack-buy--primary) { border-color:transparent; }
  html[data-reference-system="true"][data-theme="light"] .topup-modal-panel .topup-pack-buy:not(.topup-pack-buy--primary):hover:not(:disabled) { border-color:transparent; }
  html[data-reference-system="true"][data-theme="light"] .topup-modal-close { border-color:transparent; }
  html[data-reference-system="true"][data-theme="light"] .topup-modal-close:hover { background:var(--rx-secondary-hover); border-color:transparent; }
  html[data-reference-system="true"][data-theme="light"] .topup-modal-footer { border-color:var(--rx-divider); }
}
/* Keep both rows available on laptop-height viewports; overflow stays in the body. */
@media(min-width:1001px) and (max-height:800px) {
  html[data-reference-system="true"][data-theme] .topup-modal-header { padding:16px 28px 12px; }
  html[data-reference-system="true"][data-theme] .topup-modal-balance { padding:10px 14px; }
  html[data-reference-system="true"][data-theme] .topup-modal-body { padding-top:12px; }
  html[data-reference-system="true"][data-theme] .topup-modal-grid { gap:14px; }
  html[data-reference-system="true"][data-theme] .topup-pack { padding:16px; }
  html[data-reference-system="true"][data-theme] .topup-pack-credits { margin:12px 0; }
  html[data-reference-system="true"][data-theme] .topup-pack-price { margin:15px 0 12px; }
  html[data-reference-system="true"][data-theme] .topup-modal-subnote { padding:10px 0; }
}
@media(max-width:1000px) {
  html[data-reference-system="true"][data-theme] .topup-modal-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:600px) {
  html[data-reference-system="true"][data-theme] [data-credit-topup-modal-target="modal"] > .relative { padding:12px; }
  html[data-reference-system="true"][data-theme] .topup-modal-panel { max-width:calc(100vw - 24px); max-height:calc(100dvh - 24px); border-radius:16px; }
  html[data-reference-system="true"][data-theme] .topup-modal-header { padding:20px 60px 16px 16px; }
  html[data-reference-system="true"][data-theme] .topup-modal-title { font-size:24px; }
  html[data-reference-system="true"][data-theme] .topup-modal-header-actions { flex-shrink:1; }
  html[data-reference-system="true"][data-theme] .topup-modal-close { width:44px; height:44px; top:12px; right:12px; }
  html[data-reference-system="true"][data-theme] .topup-modal-balance { margin:0 16px 8px; padding:12px; }
  html[data-reference-system="true"][data-theme] .topup-modal-balance-usage { font-size:11px; }
  html[data-reference-system="true"][data-theme] .topup-modal-body { padding:12px 16px 0; }
  html[data-reference-system="true"][data-theme] .topup-modal-grid { grid-template-columns:minmax(0,1fr); gap:16px; }
  html[data-reference-system="true"][data-theme] .topup-pack { padding:16px; }
  html[data-reference-system="true"][data-theme] .topup-modal-panel .topup-pack-buy { min-height:44px; }
  html[data-reference-system="true"][data-theme] .topup-modal-subnote { justify-content:flex-start; gap:4px; }
  html[data-reference-system="true"][data-theme] .topup-modal-footer { padding:8px 16px; gap:8px; }
  html[data-reference-system="true"][data-theme] .topup-modal-cancel { min-height:44px; padding:10px 8px; font-size:13px; }
}
@media(forced-colors:active) {
  html[data-reference-system="true"][data-theme] .topup-pack-badge { forced-color-adjust:auto; border:1px solid CanvasText; }
  html[data-reference-system="true"][data-theme] .topup-pack--popular { border-color:Highlight; }
}
/* Overskill Reference Lab snapshot, 2026-09-25. Source: _september_refinements.html.erb.
 * CSS only; source application controllers and behavior remain authoritative. */
html[data-reference-system="true"] .ref-composer-fixture .nah-add-pop { top:calc(100% + 8px)!important; bottom:auto!important; }
html[data-reference-system="true"] .ref-composer-fixture .aref-pop.is-anchored { top:12px!important; bottom:auto!important; max-height:calc(100vh - 24px); overflow-y:auto; }
html[data-reference-system="true"] .ref-agent-tools { display:flex; align-items:center; gap:8px; min-width:0; }
html[data-reference-system="true"] .composer--agent .composer-toolbar { flex-wrap:wrap; gap:8px; }
/* Reference Lab refinements: component roles remain distinct and source behavior stays intact. */
html[data-reference-system="true"][data-theme="dark"] { --ref-selection-ink:var(--ref-gradient-green); }
html[data-reference-system="true"][data-theme="light"] { --rx-primary:#17191C; --rx-primary-hover:#000000; --ref-selection-ink:var(--success-fg); }
html[data-reference-system="true"][data-theme] { --ref-selection-gradient:linear-gradient(110deg,var(--ref-gradient-lime),var(--ref-gradient-green) 55%,var(--ref-gradient-mint)); --ref-selection-glyph:#102016; }
.reference-layout #brand > .sg-grid { align-items:stretch; }
.reference-layout #brand > .sg-grid > .sg-card { padding:24px; display:flex; flex-direction:column; align-items:flex-start; gap:20px; }
.reference-layout #brand > .sg-grid h3 { margin:0; min-height:40px; font:500 13px/20px var(--font-body); }
.reference-layout #brand > .sg-grid :is(.sg-stack,.sg-row) { display:flex; flex-direction:row; align-items:center; justify-content:flex-start; flex-wrap:wrap; gap:24px; min-height:64px; margin:0; }
.reference-layout #brand .brand-mark { margin:0; }
.reference-layout #brand > .sg-grid .sg-stack > * { margin:0; }
.reference-layout .rx-prism .rx-prism-button { border:0; box-shadow:none; }
.reference-layout .rx-prism-shell::before { display:none; }
.reference-layout .rx-prism .rx-prism-button:is(:hover,:focus-visible):not(:disabled) { border:0; box-shadow:none; }
.reference-layout .seg-btn:is([aria-selected="true"],[aria-checked="true"]) { color:var(--ref-selection-ink)!important; }
.reference-layout .seg { padding:4px; }
.reference-layout #segmented .seg.fill { width:100%; }
.reference-layout .seg-thumb { top:4px; bottom:4px; background:var(--ref-segment-selected); box-shadow:0 0 0 1px var(--line); }
.reference-layout :is(input.checkbox,input.radio):checked { background:var(--ref-checkbox-fill)!important; border-color:var(--ref-control-edge)!important; }
.reference-layout input.checkbox:checked::after { border-color:var(--ref-checkbox-ink); }
.reference-layout input.radio:checked::after { background:var(--ref-checkbox-ink); }
.reference-layout .suggest-cards { gap:10px; }
.reference-layout .suggest-card { padding:14px 16px; background:var(--ref-suggestion-bg)!important; border:1px solid var(--line)!important; border-radius:10px; transition:background-color 150ms ease,border-color 150ms ease; }
.reference-layout .suggest-card:hover { background:var(--ref-suggestion-hover)!important; border-color:var(--line-2)!important; transform:none; }
.reference-layout .suggest-card .suggest-card-title { font:500 13px/1.45 var(--font-body); }
.reference-layout .suggest-card .suggest-card-desc { font:400 12px/1.55 var(--font-body); }
.reference-layout :is(.suggest-toggle,.suggest-count) { font-family:var(--font-body); letter-spacing:normal; text-transform:none; }
.reference-layout .suggest-nav { width:30px; height:30px; }
.reference-layout .nav-actions { gap:12px; }
.reference-layout .nav-actions .ds-appearance { padding:0; gap:0; width:auto; }
.reference-layout .nav-actions .ds-appearance__label { display:none; }
.reference-layout .nav-actions .btn-link { padding:10px 16px; min-height:40px; border-radius:8px; text-decoration:none; background:transparent; }
.reference-layout .nav-actions .btn-link:hover { background:var(--rx-secondary-hover); }
.reference-layout #computer-messages .sg-card { padding:24px; }
.reference-layout #computer-messages .sg-card + .sg-subhead { margin-top:32px; }
.reference-layout #computer-messages .computer-msg + .computer-msg { margin-top:28px; }
.reference-layout #computer-messages .computer-msg__bubble { padding:12px 16px; line-height:1.6; }
.reference-layout #computer-messages .computer-msg__bubble p { margin:0; }
.reference-layout #computer-messages .computer-msg__attachments { margin-top:12px; gap:10px; }
html[data-reference-system="true"][data-theme] .ref-thinking-slider[data-thinking-effort-target="menu"] { width:296px; padding:14px 16px; border-radius:12px; }
html[data-reference-system="true"][data-theme] .ref-thinking-slider :is(.think-menu__head,.composer-menu-head) { margin-bottom:8px; font-size:13px; }
html[data-reference-system="true"][data-theme] .ref-thinking-current { margin-top:8px; min-height:0; font-size:12px; white-space:nowrap; }
html[data-reference-system="true"][data-theme] input.ref-thinking-range { --thinking-gradient:var(--ref-selection-gradient); }
html[data-reference-system="true"][data-theme] .ref-thinking-range::-webkit-slider-thumb { width:18px; height:18px; }
html[data-reference-system="true"][data-theme] .ref-thinking-range::-moz-range-thumb { width:18px; height:18px; }
@media(max-width:640px) {
 .reference-layout .suggest-nav { width:44px; height:44px; }
 .reference-layout .suggest-cards { grid-template-columns:1fr; }
 .reference-layout .suggest-card .suggest-card-title { white-space:normal; overflow:visible; -webkit-line-clamp:unset; }
 .reference-layout .suggest-card .suggest-card-desc { -webkit-line-clamp:unset; }
 .reference-layout #brand > .sg-grid > .sg-card { gap:12px; padding:20px; }
 .reference-layout #brand > .sg-grid h3 { min-height:0; }
 html[data-reference-system="true"][data-theme] .composer-popover.ref-thinking-slider[data-thinking-effort-target="menu"] { width:auto; padding:28px 18px 16px; }
}


html[data-reference-system="true"][data-theme] [data-model-selector-target="menu"] { width:340px; padding:6px; }
html[data-reference-system="true"][data-theme] [data-model-selector-target="menu"] .composer-menu-head { padding:8px 12px; margin:0; font-size:12px; }
html[data-reference-system="true"][data-theme] [data-model-selector-target="menu"] .composer-menu-list { max-height:min(560px,70dvh); overflow-y:auto; padding:0; scrollbar-gutter:stable; }
html[data-reference-system="true"][data-theme] [data-model-selector-target="menu"] .composer-menu-item { padding:10px 12px; gap:12px; align-items:center; }
html[data-reference-system="true"][data-theme] [data-model-selector-target="menu"] .composer-menu-title { font-size:13px; line-height:18px; }
html[data-reference-system="true"][data-theme] [data-model-selector-target="menu"] .composer-menu-desc { margin:3px 0 0; font-size:12px; line-height:17px; display:block; white-space:normal; overflow:visible; text-overflow:clip; }
html[data-reference-system="true"][data-theme] [data-model-selector-target="menu"] .composer-menu-check { flex:0 0 16px; width:16px; height:16px; margin:0; }
html[data-reference-system="true"][data-theme] [data-model-selector-target="menu"] .composer-menu-check.hidden { display:block!important; visibility:hidden; }
html[data-reference-system="true"][data-theme] [data-model-selector-target="menu"] .composer-menu-item:hover { background:var(--rx-overlay-hover)!important; }
html[data-reference-system="true"][data-theme] [data-model-selector-target="menu"] .composer-menu-item.is-selected { background:var(--rx-overlay-selected)!important; }
html[data-reference-system="true"][data-theme] [data-model-selector-target="menu"] .composer-menu-item.is-selected .composer-menu-check { color:var(--ref-selection-ink)!important; background:transparent!important; }
@media(max-width:640px) { html[data-reference-system="true"][data-theme] [data-model-selector-target="menu"] { width:auto; padding:28px 8px 12px; } }

html[data-reference-system="true"][data-theme] [data-model-selector-target="menu"] .composer-menu-item.is-selected:hover { background:var(--rx-overlay-selected-hover)!important; }

/* Distinct interaction roles: hover is quiet; keyboard focus keeps a clear edge. */
html[data-reference-system="true"][data-theme] :where(.input,.textarea,.select,.search-input,.combo,#reference-search,[data-rc-source-query]):focus-visible:not([aria-invalid="true"]):not([readonly]):not(:disabled) { border-color:var(--ref-field-focus-visible)!important; }
html[data-reference-system="true"][data-theme] :is(.btn,.icon-btn,.seg-btn,.composer-tool,.rx-button,.rx-icon,.suggest-card):focus-visible { outline:2px solid var(--ref-keyboard-focus); outline-offset:2px; }


/* Prompt chips keep an opaque fill on hover so the parent cannot show through. */
html[data-reference-system="true"][data-theme] .starter-chip { --ref-prompt-rest:var(--bg-1); background:var(--ref-prompt-rest); }
html[data-reference-system="true"][data-theme] .starter-tile { --ref-prompt-rest:var(--bg-2); background:var(--ref-prompt-rest); }
html[data-reference-system="true"][data-theme] :is(.starter-chip,.starter-tile):hover { background:color-mix(in srgb,var(--ref-prompt-rest) 97%,var(--fg)); border-color:var(--line); color:var(--fg-2); transform:none; }
html[data-reference-system="true"][data-theme] .starter-tile:hover .starter-tile-icon { color:inherit; }
html[data-reference-system="true"][data-theme] :is(.starter-chip,.starter-tile):active { background:color-mix(in srgb,var(--ref-prompt-rest) 95%,var(--fg)); transform:none; }
html[data-reference-system="true"][data-theme] :is(.starter-chip,.starter-tile):focus-visible { outline:2px solid var(--ref-keyboard-focus); outline-offset:2px; }
/* Overskill Reference Lab snapshot, 2026-09-25. Source: _button_depth_styles.html.erb.
 * CSS only; source application controllers and behavior remain authoritative. */
/* Local reference finish: primary shading, flat secondary fills and quiet
   color-only hover. Prism keeps its own background and shape. */
html[data-reference-system="true"]:not(.clickfunnels-reference)[data-theme] {
 --ref-button-light-depth:0 1px 2px rgb(0 0 0 / 8%);
 --ref-button-light-depth-hover:0 1px 2px rgb(0 0 0 / 10%);
 --ref-button-secondary-depth:none;
 --ref-button-secondary-depth-hover:none;
 --ref-button-radius:10px; --ref-button-radius-small:9px;
 --ref-button-primary-gradient:linear-gradient(180deg,rgb(255 255 255 / 7%),rgb(0 0 0 / 10%));
 --ref-button-primary-gradient-hover:linear-gradient(180deg,rgb(255 255 255 / 9%),rgb(0 0 0 / 12%));
 --ref-button-secondary-gradient:none;
 --ref-button-secondary-gradient-hover:none;
 --ref-button-primary-hover:color-mix(in srgb,var(--rx-primary) 86%,var(--rx-primary-ink));
 --ref-button-secondary-hover:color-mix(in srgb,var(--fg) 8%,var(--bg-2));
}
html[data-reference-system="true"]:not(.clickfunnels-reference)[data-theme="dark"] {
 --ref-button-secondary-depth:none;
 --ref-button-secondary-depth-hover:none;
 /* Keep a visible neutral ramp even when hover raises the base to white.
    Current dark primary: about #EFEFEF → #C8C8C8; hover #FFFFFF → #DEDEDE. */
 --ref-button-primary-gradient:linear-gradient(180deg,rgb(255 255 255 / 50%),rgb(0 0 0 / 10%));
 --ref-button-primary-gradient-hover:linear-gradient(180deg,rgb(255 255 255 / 60%),rgb(0 0 0 / 13%));
 --ref-button-secondary-gradient:none;
 --ref-button-secondary-gradient-hover:none;
 --ref-button-primary-hover:var(--rx-send);
 --ref-button-secondary-hover:color-mix(in srgb,var(--fg) 10%,var(--bg-2));
}
/* Radius is stable across all states and never reaches icon or Prism controls. */
html[data-reference-system="true"]:not(.clickfunnels-reference)[data-theme] .btn:is(.btn-primary,.btn-light,.btn-secondary):not(.rx-prism-action,.icon-btn,.btn-icon) { border-radius:var(--ref-button-radius); }
html[data-reference-system="true"]:not(.clickfunnels-reference)[data-theme] .btn.btn-sm:is(.btn-primary,.btn-light,.btn-secondary):not(.rx-prism-action,.icon-btn,.btn-icon) { border-radius:var(--ref-button-radius-small); }
/* Override only the image channel; existing tokens still own the base color. */
html[data-reference-system="true"]:not(.clickfunnels-reference)[data-theme] .btn.btn-primary:not(.rx-prism-action,.icon-btn,.btn-icon):not(:disabled,[aria-disabled="true"],[aria-busy="true"],.is-loading,:active,[aria-pressed="true"],:focus-visible) { background-image:var(--ref-button-primary-gradient)!important; }
html[data-reference-system="true"]:not(.clickfunnels-reference)[data-theme] .btn:is(.btn-light,.btn-secondary):not(.rx-prism-action,.icon-btn,.btn-icon):not(:disabled,[aria-disabled="true"],[aria-busy="true"],.is-loading,:active,[aria-pressed="true"],:focus-visible) { background-image:var(--ref-button-secondary-gradient)!important; }
/* Secondary borders stay fixed; padding-box prevents the changing fill from
   tinting their translucent edge. Focus rings and pressed fills remain owned
   by the existing state rules. */
html[data-reference-system="true"]:not(.clickfunnels-reference)[data-theme] .btn:is(.btn-light,.btn-secondary):not(.rx-prism-action,.icon-btn,.btn-icon) {
 background-image:none!important; background-clip:padding-box;
 transition:background-color 160ms ease,color 160ms ease;
}
html[data-reference-system="true"]:not(.clickfunnels-reference)[data-theme] .btn:is(.btn-light,.btn-secondary):not(.rx-prism-action,.icon-btn,.btn-icon,:focus-visible,:active,[aria-pressed="true"]) {
 border-color:var(--line-2)!important;
}
html[data-reference-system="true"]:not(.clickfunnels-reference)[data-theme] .btn:is(.btn-light,.btn-secondary):not(.rx-prism-action,.icon-btn,.btn-icon,:disabled,[aria-disabled="true"],[aria-busy="true"],.is-loading,:active,[aria-pressed="true"],:focus-visible) {
 background-color:var(--rx-secondary)!important;
}
@media(prefers-reduced-motion:reduce) {
 html[data-reference-system="true"]:not(.clickfunnels-reference)[data-theme] .btn:is(.btn-light,.btn-secondary):not(.rx-prism-action,.icon-btn,.btn-icon) { transition:none; }
}
/* Standard primary and Publish fills are light only in dark mode. Excluding
   active/focus/disabled states preserves their existing feedback and rings. */
html[data-reference-system="true"]:not(.clickfunnels-reference)[data-theme="dark"] :is(.btn.btn-primary,.rx-prism-action):not(.icon-btn,.btn-icon,:disabled,[aria-disabled="true"],[aria-busy="true"],.is-loading,:active,[aria-pressed="true"],:focus-visible),
html[data-reference-system="true"]:not(.clickfunnels-reference)[data-theme] .rx-prism-light .rx-prism-button:not(:disabled,[aria-disabled="true"],[aria-busy="true"],.is-loading,:active,[aria-pressed="true"],:focus-visible) {
 box-shadow:var(--ref-button-light-depth);
}
html[data-reference-system="true"]:not(.clickfunnels-reference)[data-theme] .btn:is(.btn-secondary,.btn-light):not(.icon-btn,.btn-icon,:disabled,[aria-disabled="true"],[aria-busy="true"],.is-loading,:active,[aria-pressed="true"],:focus-visible) {
 box-shadow:var(--ref-button-secondary-depth);
}
/* The inert specimen marker uses the same finish as real pointer hover.
   !important only bridges shipped primary hover rules and specimen inline fills. */
html[data-reference-system="true"]:not(.clickfunnels-reference)[data-theme] .btn.btn-primary:not(.rx-prism-action):is(:hover,.ref-hover-preview):not(.icon-btn,.btn-icon,:disabled,[aria-disabled="true"],[aria-busy="true"],.is-loading,:active,[aria-pressed="true"],:focus-visible) {
 background:var(--ref-button-primary-gradient-hover) var(--ref-button-primary-hover)!important; border-color:var(--ref-button-primary-hover)!important;
}
html[data-reference-system="true"]:not(.clickfunnels-reference)[data-theme] .btn:is(.btn-secondary,.btn-light):is(:hover,.ref-hover-preview):not(.icon-btn,.btn-icon,:disabled,[aria-disabled="true"],[aria-busy="true"],.is-loading,:active,[aria-pressed="true"],:focus-visible) {
 background-color:var(--ref-button-secondary-hover)!important; background-image:none!important; border-color:var(--line-2)!important;
 box-shadow:var(--ref-button-secondary-depth-hover);
}
html[data-reference-system="true"]:not(.clickfunnels-reference)[data-theme="dark"] :is(.btn.btn-primary,.rx-prism-action):is(:hover,.ref-hover-preview):not(.icon-btn,.btn-icon,:disabled,[aria-disabled="true"],[aria-busy="true"],.is-loading,:active,[aria-pressed="true"],:focus-visible),
html[data-reference-system="true"]:not(.clickfunnels-reference)[data-theme] .rx-prism-light .rx-prism-button:is(:hover,.ref-hover-preview):not(.icon-btn,.btn-icon,:disabled,[aria-disabled="true"],[aria-busy="true"],.is-loading,:active,[aria-pressed="true"],:focus-visible) {
 box-shadow:var(--ref-button-light-depth-hover);
}
/* System focus/contrast colors stay authoritative; no new motion is introduced. */
@media(forced-colors:active) {
 html[data-reference-system="true"]:not(.clickfunnels-reference)[data-theme] {
  --ref-button-light-depth:none; --ref-button-light-depth-hover:none;
  --ref-button-secondary-depth:none; --ref-button-secondary-depth-hover:none;
  --ref-button-primary-gradient:none; --ref-button-primary-gradient-hover:none;
  --ref-button-secondary-gradient:none; --ref-button-secondary-gradient-hover:none;
  --ref-button-primary-hover:Highlight; --ref-button-secondary-hover:Highlight;
 }
 html[data-reference-system="true"]:not(.clickfunnels-reference)[data-theme] .btn:is(.btn-primary,.btn-light,.btn-secondary):not(.rx-prism-action):is(:hover,.ref-hover-preview):not(.icon-btn,.btn-icon,:disabled,[aria-disabled="true"],[aria-busy="true"],.is-loading,:active,[aria-pressed="true"],:focus-visible) {
  forced-color-adjust:auto; color:HighlightText!important; border-color:Highlight!important;
 }
}
/* Legacy platform utilities: bridge neutral paint to the Reference Lab while
 * preserving semantic status colors, customer artwork, spacing and behavior.
 * Only explicitly opted-in platform chrome participates; customer auth does not. */
html[data-reference-system="true"] body[data-reference-legacy="true"] .bg-white { background-color:var(--bg-2); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .bg-gray-50,
html[data-reference-system="true"] body[data-reference-legacy="true"] .bg-slate-50,
html[data-reference-system="true"] body[data-reference-legacy="true"] .bg-zinc-50,
html[data-reference-system="true"] body[data-reference-legacy="true"] .bg-neutral-50 { background-color:var(--bg-2); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .bg-gray-100,
html[data-reference-system="true"] body[data-reference-legacy="true"] .bg-slate-100,
html[data-reference-system="true"] body[data-reference-legacy="true"] .bg-zinc-100,
html[data-reference-system="true"] body[data-reference-legacy="true"] .bg-neutral-100 { background-color:var(--bg-1); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .bg-gray-200,
html[data-reference-system="true"] body[data-reference-legacy="true"] .bg-slate-200,
html[data-reference-system="true"] body[data-reference-legacy="true"] .bg-zinc-200,
html[data-reference-system="true"] body[data-reference-legacy="true"] .bg-neutral-200 { background-color:var(--bg-3); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .bg-gray-300,
html[data-reference-system="true"] body[data-reference-legacy="true"] .bg-slate-300,
html[data-reference-system="true"] body[data-reference-legacy="true"] .bg-zinc-300,
html[data-reference-system="true"] body[data-reference-legacy="true"] .bg-neutral-300 { background-color:var(--bg-3); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .bg-gray-400,
html[data-reference-system="true"] body[data-reference-legacy="true"] .bg-slate-400,
html[data-reference-system="true"] body[data-reference-legacy="true"] .bg-zinc-400,
html[data-reference-system="true"] body[data-reference-legacy="true"] .bg-neutral-400 { background-color:var(--fg-4); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .bg-gray-500,
html[data-reference-system="true"] body[data-reference-legacy="true"] .bg-slate-500,
html[data-reference-system="true"] body[data-reference-legacy="true"] .bg-zinc-500,
html[data-reference-system="true"] body[data-reference-legacy="true"] .bg-neutral-500 { background-color:var(--fg-3); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .bg-gray-600,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .bg-gray-600,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .bg-slate-600,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .bg-slate-600,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .bg-zinc-600,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .bg-zinc-600,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .bg-neutral-600,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .bg-neutral-600 { background-color:var(--bg-3); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .bg-gray-700,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .bg-gray-700,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .bg-slate-700,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .bg-slate-700,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .bg-zinc-700,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .bg-zinc-700,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .bg-neutral-700,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .bg-neutral-700 { background-color:var(--bg-3); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .bg-gray-800,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .bg-gray-800,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .bg-slate-800,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .bg-slate-800,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .bg-zinc-800,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .bg-zinc-800,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .bg-neutral-800,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .bg-neutral-800 { background-color:var(--bg-2); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .bg-gray-900,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .bg-gray-900,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .bg-slate-900,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .bg-slate-900,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .bg-zinc-900,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .bg-zinc-900,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .bg-neutral-900,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .bg-neutral-900 { background-color:var(--bg-1); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .bg-gray-950,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .bg-gray-950,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .bg-slate-950,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .bg-slate-950,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .bg-zinc-950,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .bg-zinc-950,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .bg-neutral-950,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .bg-neutral-950 { background-color:var(--bg); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .text-gray-50,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .text-gray-50,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .text-slate-50,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .text-slate-50,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .text-zinc-50,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .text-zinc-50,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .text-neutral-50,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .text-neutral-50 { color:var(--fg); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .text-gray-100,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .text-gray-100,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .text-slate-100,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .text-slate-100,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .text-zinc-100,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .text-zinc-100,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .text-neutral-100,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .text-neutral-100 { color:var(--fg); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .text-gray-200,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .text-gray-200,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .text-slate-200,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .text-slate-200,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .text-zinc-200,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .text-zinc-200,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .text-neutral-200,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .text-neutral-200 { color:var(--fg); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .text-gray-300,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .text-gray-300,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .text-slate-300,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .text-slate-300,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .text-zinc-300,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .text-zinc-300,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .text-neutral-300,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .text-neutral-300 { color:var(--fg-2); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .text-gray-400,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .text-gray-400,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .text-slate-400,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .text-slate-400,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .text-zinc-400,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .text-zinc-400,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .text-neutral-400,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .text-neutral-400 { color:var(--fg-3); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .text-gray-500,
html[data-reference-system="true"] body[data-reference-legacy="true"] .text-slate-500,
html[data-reference-system="true"] body[data-reference-legacy="true"] .text-zinc-500,
html[data-reference-system="true"] body[data-reference-legacy="true"] .text-neutral-500 { color:var(--fg-3); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .text-gray-600,
html[data-reference-system="true"] body[data-reference-legacy="true"] .text-slate-600,
html[data-reference-system="true"] body[data-reference-legacy="true"] .text-zinc-600,
html[data-reference-system="true"] body[data-reference-legacy="true"] .text-neutral-600 { color:var(--fg-2); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .text-gray-700,
html[data-reference-system="true"] body[data-reference-legacy="true"] .text-slate-700,
html[data-reference-system="true"] body[data-reference-legacy="true"] .text-zinc-700,
html[data-reference-system="true"] body[data-reference-legacy="true"] .text-neutral-700 { color:var(--fg-2); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .text-gray-800,
html[data-reference-system="true"] body[data-reference-legacy="true"] .text-slate-800,
html[data-reference-system="true"] body[data-reference-legacy="true"] .text-zinc-800,
html[data-reference-system="true"] body[data-reference-legacy="true"] .text-neutral-800 { color:var(--fg); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .text-gray-900,
html[data-reference-system="true"] body[data-reference-legacy="true"] .text-slate-900,
html[data-reference-system="true"] body[data-reference-legacy="true"] .text-zinc-900,
html[data-reference-system="true"] body[data-reference-legacy="true"] .text-neutral-900 { color:var(--fg); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .text-gray-950,
html[data-reference-system="true"] body[data-reference-legacy="true"] .text-slate-950,
html[data-reference-system="true"] body[data-reference-legacy="true"] .text-zinc-950,
html[data-reference-system="true"] body[data-reference-legacy="true"] .text-neutral-950 { color:var(--fg); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .border-gray-50,
html[data-reference-system="true"] body[data-reference-legacy="true"] .border-slate-50,
html[data-reference-system="true"] body[data-reference-legacy="true"] .border-zinc-50,
html[data-reference-system="true"] body[data-reference-legacy="true"] .border-neutral-50 { border-color:var(--line); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .border-gray-100,
html[data-reference-system="true"] body[data-reference-legacy="true"] .border-slate-100,
html[data-reference-system="true"] body[data-reference-legacy="true"] .border-zinc-100,
html[data-reference-system="true"] body[data-reference-legacy="true"] .border-neutral-100 { border-color:var(--line); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .border-gray-200,
html[data-reference-system="true"] body[data-reference-legacy="true"] .border-slate-200,
html[data-reference-system="true"] body[data-reference-legacy="true"] .border-zinc-200,
html[data-reference-system="true"] body[data-reference-legacy="true"] .border-neutral-200 { border-color:var(--line); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .border-gray-300,
html[data-reference-system="true"] body[data-reference-legacy="true"] .border-slate-300,
html[data-reference-system="true"] body[data-reference-legacy="true"] .border-zinc-300,
html[data-reference-system="true"] body[data-reference-legacy="true"] .border-neutral-300 { border-color:var(--line-2); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .border-gray-400,
html[data-reference-system="true"] body[data-reference-legacy="true"] .border-slate-400,
html[data-reference-system="true"] body[data-reference-legacy="true"] .border-zinc-400,
html[data-reference-system="true"] body[data-reference-legacy="true"] .border-neutral-400 { border-color:var(--line-2); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .border-gray-500,
html[data-reference-system="true"] body[data-reference-legacy="true"] .border-slate-500,
html[data-reference-system="true"] body[data-reference-legacy="true"] .border-zinc-500,
html[data-reference-system="true"] body[data-reference-legacy="true"] .border-neutral-500 { border-color:var(--line-2); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .border-gray-600,
html[data-reference-system="true"] body[data-reference-legacy="true"] .border-slate-600,
html[data-reference-system="true"] body[data-reference-legacy="true"] .border-zinc-600,
html[data-reference-system="true"] body[data-reference-legacy="true"] .border-neutral-600 { border-color:var(--line-2); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .border-gray-700,
html[data-reference-system="true"] body[data-reference-legacy="true"] .border-slate-700,
html[data-reference-system="true"] body[data-reference-legacy="true"] .border-zinc-700,
html[data-reference-system="true"] body[data-reference-legacy="true"] .border-neutral-700 { border-color:var(--line-2); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .border-gray-800,
html[data-reference-system="true"] body[data-reference-legacy="true"] .border-slate-800,
html[data-reference-system="true"] body[data-reference-legacy="true"] .border-zinc-800,
html[data-reference-system="true"] body[data-reference-legacy="true"] .border-neutral-800 { border-color:var(--line); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .border-gray-900,
html[data-reference-system="true"] body[data-reference-legacy="true"] .border-slate-900,
html[data-reference-system="true"] body[data-reference-legacy="true"] .border-zinc-900,
html[data-reference-system="true"] body[data-reference-legacy="true"] .border-neutral-900 { border-color:var(--line); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:bg-white:hover { background-color:var(--bg-2); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:bg-gray-50:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:bg-slate-50:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:bg-zinc-50:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:bg-neutral-50:hover { background-color:var(--bg-2); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:bg-gray-100:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:bg-slate-100:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:bg-zinc-100:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:bg-neutral-100:hover { background-color:var(--bg-1); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:bg-gray-200:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:bg-slate-200:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:bg-zinc-200:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:bg-neutral-200:hover { background-color:var(--bg-3); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:bg-gray-300:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:bg-slate-300:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:bg-zinc-300:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:bg-neutral-300:hover { background-color:var(--bg-3); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:bg-gray-400:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:bg-slate-400:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:bg-zinc-400:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:bg-neutral-400:hover { background-color:var(--fg-4); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:bg-gray-500:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:bg-slate-500:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:bg-zinc-500:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:bg-neutral-500:hover { background-color:var(--fg-3); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .hover\:bg-gray-600:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .hover\:bg-gray-600:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .hover\:bg-slate-600:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .hover\:bg-slate-600:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .hover\:bg-zinc-600:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .hover\:bg-zinc-600:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .hover\:bg-neutral-600:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .hover\:bg-neutral-600:hover { background-color:var(--bg-3); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .hover\:bg-gray-700:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .hover\:bg-gray-700:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .hover\:bg-slate-700:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .hover\:bg-slate-700:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .hover\:bg-zinc-700:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .hover\:bg-zinc-700:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .hover\:bg-neutral-700:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .hover\:bg-neutral-700:hover { background-color:var(--bg-3); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .hover\:bg-gray-800:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .hover\:bg-gray-800:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .hover\:bg-slate-800:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .hover\:bg-slate-800:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .hover\:bg-zinc-800:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .hover\:bg-zinc-800:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .hover\:bg-neutral-800:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .hover\:bg-neutral-800:hover { background-color:var(--bg-2); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .hover\:bg-gray-900:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .hover\:bg-gray-900:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .hover\:bg-slate-900:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .hover\:bg-slate-900:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .hover\:bg-zinc-900:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .hover\:bg-zinc-900:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .hover\:bg-neutral-900:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .hover\:bg-neutral-900:hover { background-color:var(--bg-1); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .hover\:bg-gray-950:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .hover\:bg-gray-950:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .hover\:bg-slate-950:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .hover\:bg-slate-950:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .hover\:bg-zinc-950:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .hover\:bg-zinc-950:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .hover\:bg-neutral-950:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .hover\:bg-neutral-950:hover { background-color:var(--bg); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .hover\:text-gray-50:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .hover\:text-gray-50:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .hover\:text-slate-50:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .hover\:text-slate-50:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .hover\:text-zinc-50:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .hover\:text-zinc-50:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .hover\:text-neutral-50:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .hover\:text-neutral-50:hover { color:var(--fg); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .hover\:text-gray-100:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .hover\:text-gray-100:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .hover\:text-slate-100:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .hover\:text-slate-100:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .hover\:text-zinc-100:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .hover\:text-zinc-100:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .hover\:text-neutral-100:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .hover\:text-neutral-100:hover { color:var(--fg); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .hover\:text-gray-200:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .hover\:text-gray-200:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .hover\:text-slate-200:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .hover\:text-slate-200:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .hover\:text-zinc-200:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .hover\:text-zinc-200:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .hover\:text-neutral-200:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .hover\:text-neutral-200:hover { color:var(--fg); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .hover\:text-gray-300:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .hover\:text-gray-300:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .hover\:text-slate-300:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .hover\:text-slate-300:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .hover\:text-zinc-300:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .hover\:text-zinc-300:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .hover\:text-neutral-300:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .hover\:text-neutral-300:hover { color:var(--fg-2); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .hover\:text-gray-400:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .hover\:text-gray-400:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .hover\:text-slate-400:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .hover\:text-slate-400:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .hover\:text-zinc-400:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .hover\:text-zinc-400:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .hover\:text-neutral-400:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .hover\:text-neutral-400:hover { color:var(--fg-3); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:text-gray-500:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:text-slate-500:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:text-zinc-500:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:text-neutral-500:hover { color:var(--fg-3); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:text-gray-600:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:text-slate-600:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:text-zinc-600:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:text-neutral-600:hover { color:var(--fg-2); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:text-gray-700:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:text-slate-700:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:text-zinc-700:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:text-neutral-700:hover { color:var(--fg-2); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:text-gray-800:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:text-slate-800:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:text-zinc-800:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:text-neutral-800:hover { color:var(--fg); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:text-gray-900:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:text-slate-900:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:text-zinc-900:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:text-neutral-900:hover { color:var(--fg); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:text-gray-950:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:text-slate-950:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:text-zinc-950:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:text-neutral-950:hover { color:var(--fg); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:border-gray-50:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:border-slate-50:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:border-zinc-50:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:border-neutral-50:hover { border-color:var(--line); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:border-gray-100:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:border-slate-100:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:border-zinc-100:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:border-neutral-100:hover { border-color:var(--line); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:border-gray-200:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:border-slate-200:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:border-zinc-200:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:border-neutral-200:hover { border-color:var(--line); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:border-gray-300:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:border-slate-300:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:border-zinc-300:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:border-neutral-300:hover { border-color:var(--line-2); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:border-gray-400:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:border-slate-400:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:border-zinc-400:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:border-neutral-400:hover { border-color:var(--line-2); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:border-gray-500:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:border-slate-500:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:border-zinc-500:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:border-neutral-500:hover { border-color:var(--line-2); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:border-gray-600:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:border-slate-600:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:border-zinc-600:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:border-neutral-600:hover { border-color:var(--line-2); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:border-gray-700:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:border-slate-700:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:border-zinc-700:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:border-neutral-700:hover { border-color:var(--line-2); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:border-gray-800:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:border-slate-800:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:border-zinc-800:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:border-neutral-800:hover { border-color:var(--line); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:border-gray-900:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:border-slate-900:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:border-zinc-900:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .hover\:border-neutral-900:hover { border-color:var(--line); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:bg-white:focus-visible { background-color:var(--bg-2); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:bg-gray-50:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:bg-slate-50:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:bg-zinc-50:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:bg-neutral-50:focus-visible { background-color:var(--bg-2); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:bg-gray-100:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:bg-slate-100:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:bg-zinc-100:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:bg-neutral-100:focus-visible { background-color:var(--bg-1); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:bg-gray-200:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:bg-slate-200:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:bg-zinc-200:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:bg-neutral-200:focus-visible { background-color:var(--bg-3); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:bg-gray-300:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:bg-slate-300:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:bg-zinc-300:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:bg-neutral-300:focus-visible { background-color:var(--bg-3); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:bg-gray-400:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:bg-slate-400:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:bg-zinc-400:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:bg-neutral-400:focus-visible { background-color:var(--fg-4); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:bg-gray-500:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:bg-slate-500:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:bg-zinc-500:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:bg-neutral-500:focus-visible { background-color:var(--fg-3); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .focus-visible\:bg-gray-600:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .focus-visible\:bg-gray-600:focus-visible,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .focus-visible\:bg-slate-600:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .focus-visible\:bg-slate-600:focus-visible,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .focus-visible\:bg-zinc-600:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .focus-visible\:bg-zinc-600:focus-visible,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .focus-visible\:bg-neutral-600:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .focus-visible\:bg-neutral-600:focus-visible { background-color:var(--bg-3); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .focus-visible\:bg-gray-700:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .focus-visible\:bg-gray-700:focus-visible,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .focus-visible\:bg-slate-700:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .focus-visible\:bg-slate-700:focus-visible,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .focus-visible\:bg-zinc-700:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .focus-visible\:bg-zinc-700:focus-visible,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .focus-visible\:bg-neutral-700:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .focus-visible\:bg-neutral-700:focus-visible { background-color:var(--bg-3); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .focus-visible\:bg-gray-800:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .focus-visible\:bg-gray-800:focus-visible,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .focus-visible\:bg-slate-800:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .focus-visible\:bg-slate-800:focus-visible,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .focus-visible\:bg-zinc-800:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .focus-visible\:bg-zinc-800:focus-visible,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .focus-visible\:bg-neutral-800:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .focus-visible\:bg-neutral-800:focus-visible { background-color:var(--bg-2); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .focus-visible\:bg-gray-900:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .focus-visible\:bg-gray-900:focus-visible,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .focus-visible\:bg-slate-900:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .focus-visible\:bg-slate-900:focus-visible,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .focus-visible\:bg-zinc-900:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .focus-visible\:bg-zinc-900:focus-visible,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .focus-visible\:bg-neutral-900:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .focus-visible\:bg-neutral-900:focus-visible { background-color:var(--bg-1); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .focus-visible\:bg-gray-950:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .focus-visible\:bg-gray-950:focus-visible,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .focus-visible\:bg-slate-950:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .focus-visible\:bg-slate-950:focus-visible,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .focus-visible\:bg-zinc-950:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .focus-visible\:bg-zinc-950:focus-visible,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .focus-visible\:bg-neutral-950:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .focus-visible\:bg-neutral-950:focus-visible { background-color:var(--bg); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .focus-visible\:text-gray-50:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .focus-visible\:text-gray-50:focus-visible,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .focus-visible\:text-slate-50:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .focus-visible\:text-slate-50:focus-visible,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .focus-visible\:text-zinc-50:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .focus-visible\:text-zinc-50:focus-visible,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .focus-visible\:text-neutral-50:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .focus-visible\:text-neutral-50:focus-visible { color:var(--fg); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .focus-visible\:text-gray-100:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .focus-visible\:text-gray-100:focus-visible,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .focus-visible\:text-slate-100:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .focus-visible\:text-slate-100:focus-visible,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .focus-visible\:text-zinc-100:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .focus-visible\:text-zinc-100:focus-visible,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .focus-visible\:text-neutral-100:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .focus-visible\:text-neutral-100:focus-visible { color:var(--fg); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .focus-visible\:text-gray-200:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .focus-visible\:text-gray-200:focus-visible,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .focus-visible\:text-slate-200:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .focus-visible\:text-slate-200:focus-visible,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .focus-visible\:text-zinc-200:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .focus-visible\:text-zinc-200:focus-visible,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .focus-visible\:text-neutral-200:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .focus-visible\:text-neutral-200:focus-visible { color:var(--fg); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .focus-visible\:text-gray-300:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .focus-visible\:text-gray-300:focus-visible,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .focus-visible\:text-slate-300:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .focus-visible\:text-slate-300:focus-visible,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .focus-visible\:text-zinc-300:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .focus-visible\:text-zinc-300:focus-visible,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .focus-visible\:text-neutral-300:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .focus-visible\:text-neutral-300:focus-visible { color:var(--fg-2); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .focus-visible\:text-gray-400:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .focus-visible\:text-gray-400:focus-visible,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .focus-visible\:text-slate-400:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .focus-visible\:text-slate-400:focus-visible,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .focus-visible\:text-zinc-400:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .focus-visible\:text-zinc-400:focus-visible,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .focus-visible\:text-neutral-400:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .focus-visible\:text-neutral-400:focus-visible { color:var(--fg-3); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:text-gray-500:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:text-slate-500:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:text-zinc-500:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:text-neutral-500:focus-visible { color:var(--fg-3); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:text-gray-600:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:text-slate-600:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:text-zinc-600:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:text-neutral-600:focus-visible { color:var(--fg-2); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:text-gray-700:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:text-slate-700:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:text-zinc-700:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:text-neutral-700:focus-visible { color:var(--fg-2); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:text-gray-800:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:text-slate-800:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:text-zinc-800:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:text-neutral-800:focus-visible { color:var(--fg); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:text-gray-900:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:text-slate-900:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:text-zinc-900:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:text-neutral-900:focus-visible { color:var(--fg); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:text-gray-950:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:text-slate-950:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:text-zinc-950:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:text-neutral-950:focus-visible { color:var(--fg); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:border-gray-50:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:border-slate-50:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:border-zinc-50:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:border-neutral-50:focus-visible { border-color:var(--line); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:border-gray-100:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:border-slate-100:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:border-zinc-100:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:border-neutral-100:focus-visible { border-color:var(--line); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:border-gray-200:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:border-slate-200:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:border-zinc-200:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:border-neutral-200:focus-visible { border-color:var(--line); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:border-gray-300:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:border-slate-300:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:border-zinc-300:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:border-neutral-300:focus-visible { border-color:var(--line-2); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:border-gray-400:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:border-slate-400:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:border-zinc-400:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:border-neutral-400:focus-visible { border-color:var(--line-2); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:border-gray-500:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:border-slate-500:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:border-zinc-500:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:border-neutral-500:focus-visible { border-color:var(--line-2); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:border-gray-600:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:border-slate-600:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:border-zinc-600:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:border-neutral-600:focus-visible { border-color:var(--line-2); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:border-gray-700:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:border-slate-700:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:border-zinc-700:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:border-neutral-700:focus-visible { border-color:var(--line-2); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:border-gray-800:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:border-slate-800:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:border-zinc-800:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:border-neutral-800:focus-visible { border-color:var(--line); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:border-gray-900:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:border-slate-900:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:border-zinc-900:focus-visible,
html[data-reference-system="true"] body[data-reference-legacy="true"] .focus-visible\:border-neutral-900:focus-visible { border-color:var(--line); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:bg-white,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:bg-white { background-color:var(--bg-2); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:bg-gray-50,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:bg-gray-50,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:bg-slate-50,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:bg-slate-50,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:bg-zinc-50,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:bg-zinc-50,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:bg-neutral-50,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:bg-neutral-50 { background-color:var(--bg-2); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:bg-gray-100,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:bg-gray-100,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:bg-slate-100,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:bg-slate-100,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:bg-zinc-100,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:bg-zinc-100,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:bg-neutral-100,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:bg-neutral-100 { background-color:var(--bg-1); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:bg-gray-200,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:bg-gray-200,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:bg-slate-200,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:bg-slate-200,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:bg-zinc-200,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:bg-zinc-200,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:bg-neutral-200,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:bg-neutral-200 { background-color:var(--bg-3); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:bg-gray-300,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:bg-gray-300,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:bg-slate-300,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:bg-slate-300,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:bg-zinc-300,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:bg-zinc-300,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:bg-neutral-300,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:bg-neutral-300 { background-color:var(--bg-3); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:bg-gray-400,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:bg-gray-400,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:bg-slate-400,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:bg-slate-400,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:bg-zinc-400,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:bg-zinc-400,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:bg-neutral-400,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:bg-neutral-400 { background-color:var(--fg-4); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:bg-gray-500,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:bg-gray-500,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:bg-slate-500,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:bg-slate-500,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:bg-zinc-500,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:bg-zinc-500,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:bg-neutral-500,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:bg-neutral-500 { background-color:var(--fg-3); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:bg-gray-600,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:bg-gray-600,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:bg-slate-600,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:bg-slate-600,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:bg-zinc-600,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:bg-zinc-600,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:bg-neutral-600,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:bg-neutral-600 { background-color:var(--bg-3); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:bg-gray-700,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:bg-gray-700,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:bg-slate-700,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:bg-slate-700,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:bg-zinc-700,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:bg-zinc-700,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:bg-neutral-700,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:bg-neutral-700 { background-color:var(--bg-3); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:bg-gray-800,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:bg-gray-800,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:bg-slate-800,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:bg-slate-800,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:bg-zinc-800,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:bg-zinc-800,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:bg-neutral-800,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:bg-neutral-800 { background-color:var(--bg-2); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:bg-gray-900,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:bg-gray-900,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:bg-slate-900,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:bg-slate-900,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:bg-zinc-900,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:bg-zinc-900,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:bg-neutral-900,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:bg-neutral-900 { background-color:var(--bg-1); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:bg-gray-950,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:bg-gray-950,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:bg-slate-950,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:bg-slate-950,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:bg-zinc-950,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:bg-zinc-950,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:bg-neutral-950,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:bg-neutral-950 { background-color:var(--bg); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:text-gray-50,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:text-gray-50,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:text-slate-50,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:text-slate-50,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:text-zinc-50,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:text-zinc-50,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:text-neutral-50,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:text-neutral-50 { color:var(--fg); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:text-gray-100,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:text-gray-100,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:text-slate-100,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:text-slate-100,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:text-zinc-100,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:text-zinc-100,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:text-neutral-100,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:text-neutral-100 { color:var(--fg); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:text-gray-200,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:text-gray-200,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:text-slate-200,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:text-slate-200,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:text-zinc-200,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:text-zinc-200,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:text-neutral-200,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:text-neutral-200 { color:var(--fg); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:text-gray-300,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:text-gray-300,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:text-slate-300,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:text-slate-300,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:text-zinc-300,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:text-zinc-300,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:text-neutral-300,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:text-neutral-300 { color:var(--fg-2); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:text-gray-400,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:text-gray-400,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:text-slate-400,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:text-slate-400,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:text-zinc-400,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:text-zinc-400,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:text-neutral-400,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:text-neutral-400 { color:var(--fg-3); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:text-gray-500,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:text-gray-500,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:text-slate-500,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:text-slate-500,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:text-zinc-500,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:text-zinc-500,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:text-neutral-500,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:text-neutral-500 { color:var(--fg-3); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:text-gray-600,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:text-gray-600,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:text-slate-600,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:text-slate-600,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:text-zinc-600,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:text-zinc-600,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:text-neutral-600,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:text-neutral-600 { color:var(--fg-2); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:text-gray-700,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:text-gray-700,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:text-slate-700,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:text-slate-700,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:text-zinc-700,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:text-zinc-700,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:text-neutral-700,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:text-neutral-700 { color:var(--fg-2); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:text-gray-800,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:text-gray-800,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:text-slate-800,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:text-slate-800,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:text-zinc-800,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:text-zinc-800,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:text-neutral-800,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:text-neutral-800 { color:var(--fg); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:text-gray-900,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:text-gray-900,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:text-slate-900,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:text-slate-900,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:text-zinc-900,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:text-zinc-900,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:text-neutral-900,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:text-neutral-900 { color:var(--fg); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:text-gray-950,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:text-gray-950,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:text-slate-950,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:text-slate-950,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:text-zinc-950,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:text-zinc-950,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:text-neutral-950,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:text-neutral-950 { color:var(--fg); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:border-gray-50,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:border-gray-50,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:border-slate-50,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:border-slate-50,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:border-zinc-50,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:border-zinc-50,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:border-neutral-50,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:border-neutral-50 { border-color:var(--line); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:border-gray-100,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:border-gray-100,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:border-slate-100,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:border-slate-100,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:border-zinc-100,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:border-zinc-100,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:border-neutral-100,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:border-neutral-100 { border-color:var(--line); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:border-gray-200,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:border-gray-200,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:border-slate-200,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:border-slate-200,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:border-zinc-200,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:border-zinc-200,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:border-neutral-200,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:border-neutral-200 { border-color:var(--line); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:border-gray-300,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:border-gray-300,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:border-slate-300,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:border-slate-300,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:border-zinc-300,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:border-zinc-300,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:border-neutral-300,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:border-neutral-300 { border-color:var(--line-2); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:border-gray-400,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:border-gray-400,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:border-slate-400,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:border-slate-400,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:border-zinc-400,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:border-zinc-400,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:border-neutral-400,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:border-neutral-400 { border-color:var(--line-2); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:border-gray-500,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:border-gray-500,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:border-slate-500,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:border-slate-500,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:border-zinc-500,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:border-zinc-500,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:border-neutral-500,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:border-neutral-500 { border-color:var(--line-2); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:border-gray-600,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:border-gray-600,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:border-slate-600,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:border-slate-600,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:border-zinc-600,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:border-zinc-600,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:border-neutral-600,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:border-neutral-600 { border-color:var(--line-2); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:border-gray-700,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:border-gray-700,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:border-slate-700,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:border-slate-700,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:border-zinc-700,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:border-zinc-700,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:border-neutral-700,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:border-neutral-700 { border-color:var(--line-2); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:border-gray-800,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:border-gray-800,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:border-slate-800,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:border-slate-800,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:border-zinc-800,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:border-zinc-800,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:border-neutral-800,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:border-neutral-800 { border-color:var(--line); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:border-gray-900,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:border-gray-900,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:border-slate-900,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:border-slate-900,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:border-zinc-900,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:border-zinc-900,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:border-neutral-900,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:border-neutral-900 { border-color:var(--line); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:bg-white:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:bg-white:hover { background-color:var(--bg-2); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:bg-gray-50:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:bg-gray-50:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:bg-slate-50:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:bg-slate-50:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:bg-zinc-50:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:bg-zinc-50:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:bg-neutral-50:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:bg-neutral-50:hover { background-color:var(--bg-2); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:bg-gray-100:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:bg-gray-100:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:bg-slate-100:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:bg-slate-100:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:bg-zinc-100:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:bg-zinc-100:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:bg-neutral-100:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:bg-neutral-100:hover { background-color:var(--bg-1); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:bg-gray-200:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:bg-gray-200:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:bg-slate-200:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:bg-slate-200:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:bg-zinc-200:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:bg-zinc-200:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:bg-neutral-200:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:bg-neutral-200:hover { background-color:var(--bg-3); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:bg-gray-300:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:bg-gray-300:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:bg-slate-300:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:bg-slate-300:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:bg-zinc-300:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:bg-zinc-300:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:bg-neutral-300:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:bg-neutral-300:hover { background-color:var(--bg-3); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:bg-gray-400:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:bg-gray-400:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:bg-slate-400:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:bg-slate-400:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:bg-zinc-400:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:bg-zinc-400:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:bg-neutral-400:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:bg-neutral-400:hover { background-color:var(--fg-4); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:bg-gray-500:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:bg-gray-500:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:bg-slate-500:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:bg-slate-500:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:bg-zinc-500:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:bg-zinc-500:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:bg-neutral-500:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:bg-neutral-500:hover { background-color:var(--fg-3); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:bg-gray-600:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:bg-gray-600:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:bg-slate-600:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:bg-slate-600:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:bg-zinc-600:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:bg-zinc-600:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:bg-neutral-600:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:bg-neutral-600:hover { background-color:var(--bg-3); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:bg-gray-700:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:bg-gray-700:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:bg-slate-700:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:bg-slate-700:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:bg-zinc-700:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:bg-zinc-700:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:bg-neutral-700:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:bg-neutral-700:hover { background-color:var(--bg-3); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:bg-gray-800:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:bg-gray-800:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:bg-slate-800:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:bg-slate-800:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:bg-zinc-800:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:bg-zinc-800:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:bg-neutral-800:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:bg-neutral-800:hover { background-color:var(--bg-2); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:bg-gray-900:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:bg-gray-900:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:bg-slate-900:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:bg-slate-900:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:bg-zinc-900:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:bg-zinc-900:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:bg-neutral-900:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:bg-neutral-900:hover { background-color:var(--bg-1); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:bg-gray-950:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:bg-gray-950:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:bg-slate-950:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:bg-slate-950:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:bg-zinc-950:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:bg-zinc-950:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:bg-neutral-950:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:bg-neutral-950:hover { background-color:var(--bg); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:text-gray-50:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:text-gray-50:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:text-slate-50:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:text-slate-50:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:text-zinc-50:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:text-zinc-50:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:text-neutral-50:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:text-neutral-50:hover { color:var(--fg); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:text-gray-100:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:text-gray-100:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:text-slate-100:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:text-slate-100:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:text-zinc-100:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:text-zinc-100:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:text-neutral-100:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:text-neutral-100:hover { color:var(--fg); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:text-gray-200:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:text-gray-200:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:text-slate-200:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:text-slate-200:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:text-zinc-200:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:text-zinc-200:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:text-neutral-200:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:text-neutral-200:hover { color:var(--fg); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:text-gray-300:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:text-gray-300:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:text-slate-300:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:text-slate-300:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:text-zinc-300:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:text-zinc-300:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:text-neutral-300:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:text-neutral-300:hover { color:var(--fg-2); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:text-gray-400:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:text-gray-400:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:text-slate-400:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:text-slate-400:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:text-zinc-400:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:text-zinc-400:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:text-neutral-400:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:text-neutral-400:hover { color:var(--fg-3); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:text-gray-500:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:text-gray-500:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:text-slate-500:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:text-slate-500:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:text-zinc-500:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:text-zinc-500:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:text-neutral-500:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:text-neutral-500:hover { color:var(--fg-3); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:text-gray-600:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:text-gray-600:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:text-slate-600:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:text-slate-600:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:text-zinc-600:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:text-zinc-600:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:text-neutral-600:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:text-neutral-600:hover { color:var(--fg-2); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:text-gray-700:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:text-gray-700:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:text-slate-700:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:text-slate-700:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:text-zinc-700:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:text-zinc-700:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:text-neutral-700:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:text-neutral-700:hover { color:var(--fg-2); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:text-gray-800:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:text-gray-800:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:text-slate-800:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:text-slate-800:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:text-zinc-800:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:text-zinc-800:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:text-neutral-800:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:text-neutral-800:hover { color:var(--fg); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:text-gray-900:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:text-gray-900:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:text-slate-900:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:text-slate-900:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:text-zinc-900:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:text-zinc-900:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:text-neutral-900:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:text-neutral-900:hover { color:var(--fg); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:text-gray-950:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:text-gray-950:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:text-slate-950:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:text-slate-950:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:text-zinc-950:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:text-zinc-950:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:text-neutral-950:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:text-neutral-950:hover { color:var(--fg); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:border-gray-50:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:border-gray-50:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:border-slate-50:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:border-slate-50:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:border-zinc-50:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:border-zinc-50:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:border-neutral-50:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:border-neutral-50:hover { border-color:var(--line); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:border-gray-100:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:border-gray-100:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:border-slate-100:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:border-slate-100:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:border-zinc-100:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:border-zinc-100:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:border-neutral-100:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:border-neutral-100:hover { border-color:var(--line); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:border-gray-200:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:border-gray-200:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:border-slate-200:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:border-slate-200:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:border-zinc-200:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:border-zinc-200:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:border-neutral-200:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:border-neutral-200:hover { border-color:var(--line); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:border-gray-300:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:border-gray-300:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:border-slate-300:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:border-slate-300:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:border-zinc-300:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:border-zinc-300:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:border-neutral-300:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:border-neutral-300:hover { border-color:var(--line-2); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:border-gray-400:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:border-gray-400:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:border-slate-400:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:border-slate-400:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:border-zinc-400:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:border-zinc-400:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:border-neutral-400:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:border-neutral-400:hover { border-color:var(--line-2); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:border-gray-500:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:border-gray-500:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:border-slate-500:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:border-slate-500:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:border-zinc-500:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:border-zinc-500:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:border-neutral-500:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:border-neutral-500:hover { border-color:var(--line-2); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:border-gray-600:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:border-gray-600:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:border-slate-600:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:border-slate-600:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:border-zinc-600:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:border-zinc-600:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:border-neutral-600:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:border-neutral-600:hover { border-color:var(--line-2); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:border-gray-700:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:border-gray-700:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:border-slate-700:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:border-slate-700:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:border-zinc-700:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:border-zinc-700:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:border-neutral-700:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:border-neutral-700:hover { border-color:var(--line-2); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:border-gray-800:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:border-gray-800:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:border-slate-800:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:border-slate-800:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:border-zinc-800:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:border-zinc-800:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:border-neutral-800:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:border-neutral-800:hover { border-color:var(--line); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:border-gray-900:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:border-gray-900:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:border-slate-900:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:border-slate-900:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:border-zinc-900:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:border-zinc-900:hover,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:hover\:border-neutral-900:hover,
html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:hover\:border-neutral-900:hover { border-color:var(--line); }
html[data-reference-system="true"][data-theme=dark] body[data-reference-legacy="true"] .dark\:text-white, html[data-reference-system="true"] body[data-reference-legacy="true"] .admin-shell .dark\:text-white { color:var(--fg); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .divide-gray-100 > :not([hidden]) ~ :not([hidden]) { border-color:var(--line); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .divide-gray-200 > :not([hidden]) ~ :not([hidden]) { border-color:var(--line); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .divide-gray-300 > :not([hidden]) ~ :not([hidden]) { border-color:var(--line); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .divide-gray-600 > :not([hidden]) ~ :not([hidden]) { border-color:var(--line); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .divide-gray-700 > :not([hidden]) ~ :not([hidden]) { border-color:var(--line); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .divide-gray-800 > :not([hidden]) ~ :not([hidden]) { border-color:var(--line); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .divide-slate-100 > :not([hidden]) ~ :not([hidden]) { border-color:var(--line); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .divide-slate-200 > :not([hidden]) ~ :not([hidden]) { border-color:var(--line); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .divide-slate-300 > :not([hidden]) ~ :not([hidden]) { border-color:var(--line); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .divide-slate-600 > :not([hidden]) ~ :not([hidden]) { border-color:var(--line); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .divide-slate-700 > :not([hidden]) ~ :not([hidden]) { border-color:var(--line); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .divide-slate-800 > :not([hidden]) ~ :not([hidden]) { border-color:var(--line); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .divide-zinc-100 > :not([hidden]) ~ :not([hidden]) { border-color:var(--line); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .divide-zinc-200 > :not([hidden]) ~ :not([hidden]) { border-color:var(--line); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .divide-zinc-300 > :not([hidden]) ~ :not([hidden]) { border-color:var(--line); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .divide-zinc-600 > :not([hidden]) ~ :not([hidden]) { border-color:var(--line); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .divide-zinc-700 > :not([hidden]) ~ :not([hidden]) { border-color:var(--line); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .divide-zinc-800 > :not([hidden]) ~ :not([hidden]) { border-color:var(--line); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .divide-neutral-100 > :not([hidden]) ~ :not([hidden]) { border-color:var(--line); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .divide-neutral-200 > :not([hidden]) ~ :not([hidden]) { border-color:var(--line); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .divide-neutral-300 > :not([hidden]) ~ :not([hidden]) { border-color:var(--line); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .divide-neutral-600 > :not([hidden]) ~ :not([hidden]) { border-color:var(--line); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .divide-neutral-700 > :not([hidden]) ~ :not([hidden]) { border-color:var(--line); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .divide-neutral-800 > :not([hidden]) ~ :not([hidden]) { border-color:var(--line); }
html[data-reference-system="true"] body[data-reference-legacy="true"] :is(.shadow,.shadow-sm,.shadow-md):not([role="dialog"],.dropdown-menu) { box-shadow:var(--rx-panel-shadow); }

/* Neutral gradient utilities need the same surface mapping as solid fills.
 * Brand/semantic gradients and inverse light-mode panels retain their colors. */
html[data-reference-system="true"] body[data-reference-legacy="true"] .from-gray-50,
html[data-reference-system="true"] body[data-reference-legacy="true"] .from-slate-50,
html[data-reference-system="true"] body[data-reference-legacy="true"] .from-zinc-50,
html[data-reference-system="true"] body[data-reference-legacy="true"] .from-neutral-50 { --tw-gradient-from:var(--bg-2) var(--tw-gradient-from-position); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .from-gray-100,
html[data-reference-system="true"] body[data-reference-legacy="true"] .from-slate-100,
html[data-reference-system="true"] body[data-reference-legacy="true"] .from-zinc-100,
html[data-reference-system="true"] body[data-reference-legacy="true"] .from-neutral-100 { --tw-gradient-from:var(--bg-1) var(--tw-gradient-from-position); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .from-gray-200,
html[data-reference-system="true"] body[data-reference-legacy="true"] .from-slate-200,
html[data-reference-system="true"] body[data-reference-legacy="true"] .from-zinc-200,
html[data-reference-system="true"] body[data-reference-legacy="true"] .from-neutral-200 { --tw-gradient-from:var(--bg-3) var(--tw-gradient-from-position); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .from-gray-300,
html[data-reference-system="true"] body[data-reference-legacy="true"] .from-slate-300,
html[data-reference-system="true"] body[data-reference-legacy="true"] .from-zinc-300,
html[data-reference-system="true"] body[data-reference-legacy="true"] .from-neutral-300 { --tw-gradient-from:var(--bg-3) var(--tw-gradient-from-position); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .from-gray-400,
html[data-reference-system="true"] body[data-reference-legacy="true"] .from-slate-400,
html[data-reference-system="true"] body[data-reference-legacy="true"] .from-zinc-400,
html[data-reference-system="true"] body[data-reference-legacy="true"] .from-neutral-400 { --tw-gradient-from:var(--fg-4) var(--tw-gradient-from-position); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .from-gray-500,
html[data-reference-system="true"] body[data-reference-legacy="true"] .from-slate-500,
html[data-reference-system="true"] body[data-reference-legacy="true"] .from-zinc-500,
html[data-reference-system="true"] body[data-reference-legacy="true"] .from-neutral-500 { --tw-gradient-from:var(--fg-3) var(--tw-gradient-from-position); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .from-gray-600,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .from-slate-600,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .from-zinc-600,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .from-neutral-600 { --tw-gradient-from:var(--bg-3) var(--tw-gradient-from-position); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .from-gray-700,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .from-slate-700,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .from-zinc-700,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .from-neutral-700 { --tw-gradient-from:var(--bg-3) var(--tw-gradient-from-position); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .from-gray-800,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .from-slate-800,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .from-zinc-800,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .from-neutral-800 { --tw-gradient-from:var(--bg-2) var(--tw-gradient-from-position); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .from-gray-900,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .from-slate-900,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .from-zinc-900,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .from-neutral-900 { --tw-gradient-from:var(--bg-1) var(--tw-gradient-from-position); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .from-gray-950,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .from-slate-950,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .from-zinc-950,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .from-neutral-950 { --tw-gradient-from:var(--bg) var(--tw-gradient-from-position); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .via-gray-50,
html[data-reference-system="true"] body[data-reference-legacy="true"] .via-slate-50,
html[data-reference-system="true"] body[data-reference-legacy="true"] .via-zinc-50,
html[data-reference-system="true"] body[data-reference-legacy="true"] .via-neutral-50 { --tw-gradient-stops:var(--tw-gradient-from),var(--bg-2) var(--tw-gradient-via-position),var(--tw-gradient-to); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .via-gray-100,
html[data-reference-system="true"] body[data-reference-legacy="true"] .via-slate-100,
html[data-reference-system="true"] body[data-reference-legacy="true"] .via-zinc-100,
html[data-reference-system="true"] body[data-reference-legacy="true"] .via-neutral-100 { --tw-gradient-stops:var(--tw-gradient-from),var(--bg-1) var(--tw-gradient-via-position),var(--tw-gradient-to); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .via-gray-200,
html[data-reference-system="true"] body[data-reference-legacy="true"] .via-slate-200,
html[data-reference-system="true"] body[data-reference-legacy="true"] .via-zinc-200,
html[data-reference-system="true"] body[data-reference-legacy="true"] .via-neutral-200 { --tw-gradient-stops:var(--tw-gradient-from),var(--bg-3) var(--tw-gradient-via-position),var(--tw-gradient-to); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .via-gray-300,
html[data-reference-system="true"] body[data-reference-legacy="true"] .via-slate-300,
html[data-reference-system="true"] body[data-reference-legacy="true"] .via-zinc-300,
html[data-reference-system="true"] body[data-reference-legacy="true"] .via-neutral-300 { --tw-gradient-stops:var(--tw-gradient-from),var(--bg-3) var(--tw-gradient-via-position),var(--tw-gradient-to); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .via-gray-400,
html[data-reference-system="true"] body[data-reference-legacy="true"] .via-slate-400,
html[data-reference-system="true"] body[data-reference-legacy="true"] .via-zinc-400,
html[data-reference-system="true"] body[data-reference-legacy="true"] .via-neutral-400 { --tw-gradient-stops:var(--tw-gradient-from),var(--fg-4) var(--tw-gradient-via-position),var(--tw-gradient-to); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .via-gray-500,
html[data-reference-system="true"] body[data-reference-legacy="true"] .via-slate-500,
html[data-reference-system="true"] body[data-reference-legacy="true"] .via-zinc-500,
html[data-reference-system="true"] body[data-reference-legacy="true"] .via-neutral-500 { --tw-gradient-stops:var(--tw-gradient-from),var(--fg-3) var(--tw-gradient-via-position),var(--tw-gradient-to); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .via-gray-600,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .via-slate-600,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .via-zinc-600,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .via-neutral-600 { --tw-gradient-stops:var(--tw-gradient-from),var(--bg-3) var(--tw-gradient-via-position),var(--tw-gradient-to); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .via-gray-700,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .via-slate-700,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .via-zinc-700,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .via-neutral-700 { --tw-gradient-stops:var(--tw-gradient-from),var(--bg-3) var(--tw-gradient-via-position),var(--tw-gradient-to); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .via-gray-800,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .via-slate-800,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .via-zinc-800,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .via-neutral-800 { --tw-gradient-stops:var(--tw-gradient-from),var(--bg-2) var(--tw-gradient-via-position),var(--tw-gradient-to); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .via-gray-900,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .via-slate-900,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .via-zinc-900,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .via-neutral-900 { --tw-gradient-stops:var(--tw-gradient-from),var(--bg-1) var(--tw-gradient-via-position),var(--tw-gradient-to); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .via-gray-950,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .via-slate-950,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .via-zinc-950,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .via-neutral-950 { --tw-gradient-stops:var(--tw-gradient-from),var(--bg) var(--tw-gradient-via-position),var(--tw-gradient-to); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .to-gray-50,
html[data-reference-system="true"] body[data-reference-legacy="true"] .to-slate-50,
html[data-reference-system="true"] body[data-reference-legacy="true"] .to-zinc-50,
html[data-reference-system="true"] body[data-reference-legacy="true"] .to-neutral-50 { --tw-gradient-to:var(--bg-2) var(--tw-gradient-to-position); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .to-gray-100,
html[data-reference-system="true"] body[data-reference-legacy="true"] .to-slate-100,
html[data-reference-system="true"] body[data-reference-legacy="true"] .to-zinc-100,
html[data-reference-system="true"] body[data-reference-legacy="true"] .to-neutral-100 { --tw-gradient-to:var(--bg-1) var(--tw-gradient-to-position); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .to-gray-200,
html[data-reference-system="true"] body[data-reference-legacy="true"] .to-slate-200,
html[data-reference-system="true"] body[data-reference-legacy="true"] .to-zinc-200,
html[data-reference-system="true"] body[data-reference-legacy="true"] .to-neutral-200 { --tw-gradient-to:var(--bg-3) var(--tw-gradient-to-position); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .to-gray-300,
html[data-reference-system="true"] body[data-reference-legacy="true"] .to-slate-300,
html[data-reference-system="true"] body[data-reference-legacy="true"] .to-zinc-300,
html[data-reference-system="true"] body[data-reference-legacy="true"] .to-neutral-300 { --tw-gradient-to:var(--bg-3) var(--tw-gradient-to-position); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .to-gray-400,
html[data-reference-system="true"] body[data-reference-legacy="true"] .to-slate-400,
html[data-reference-system="true"] body[data-reference-legacy="true"] .to-zinc-400,
html[data-reference-system="true"] body[data-reference-legacy="true"] .to-neutral-400 { --tw-gradient-to:var(--fg-4) var(--tw-gradient-to-position); }
html[data-reference-system="true"] body[data-reference-legacy="true"] .to-gray-500,
html[data-reference-system="true"] body[data-reference-legacy="true"] .to-slate-500,
html[data-reference-system="true"] body[data-reference-legacy="true"] .to-zinc-500,
html[data-reference-system="true"] body[data-reference-legacy="true"] .to-neutral-500 { --tw-gradient-to:var(--fg-3) var(--tw-gradient-to-position); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .to-gray-600,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .to-slate-600,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .to-zinc-600,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .to-neutral-600 { --tw-gradient-to:var(--bg-3) var(--tw-gradient-to-position); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .to-gray-700,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .to-slate-700,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .to-zinc-700,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .to-neutral-700 { --tw-gradient-to:var(--bg-3) var(--tw-gradient-to-position); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .to-gray-800,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .to-slate-800,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .to-zinc-800,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .to-neutral-800 { --tw-gradient-to:var(--bg-2) var(--tw-gradient-to-position); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .to-gray-900,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .to-slate-900,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .to-zinc-900,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .to-neutral-900 { --tw-gradient-to:var(--bg-1) var(--tw-gradient-to-position); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .to-gray-950,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .to-slate-950,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .to-zinc-950,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .to-neutral-950 { --tw-gradient-to:var(--bg) var(--tw-gradient-to-position); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:from-gray-50,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:from-slate-50,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:from-zinc-50,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:from-neutral-50 { --tw-gradient-from:var(--bg-2) var(--tw-gradient-from-position); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:from-gray-100,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:from-slate-100,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:from-zinc-100,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:from-neutral-100 { --tw-gradient-from:var(--bg-1) var(--tw-gradient-from-position); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:from-gray-200,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:from-slate-200,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:from-zinc-200,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:from-neutral-200 { --tw-gradient-from:var(--bg-3) var(--tw-gradient-from-position); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:from-gray-300,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:from-slate-300,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:from-zinc-300,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:from-neutral-300 { --tw-gradient-from:var(--bg-3) var(--tw-gradient-from-position); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:from-gray-400,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:from-slate-400,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:from-zinc-400,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:from-neutral-400 { --tw-gradient-from:var(--fg-4) var(--tw-gradient-from-position); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:from-gray-500,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:from-slate-500,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:from-zinc-500,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:from-neutral-500 { --tw-gradient-from:var(--fg-3) var(--tw-gradient-from-position); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:from-gray-600,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:from-slate-600,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:from-zinc-600,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:from-neutral-600 { --tw-gradient-from:var(--bg-3) var(--tw-gradient-from-position); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:from-gray-700,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:from-slate-700,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:from-zinc-700,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:from-neutral-700 { --tw-gradient-from:var(--bg-3) var(--tw-gradient-from-position); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:from-gray-800,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:from-slate-800,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:from-zinc-800,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:from-neutral-800 { --tw-gradient-from:var(--bg-2) var(--tw-gradient-from-position); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:from-gray-900,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:from-slate-900,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:from-zinc-900,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:from-neutral-900 { --tw-gradient-from:var(--bg-1) var(--tw-gradient-from-position); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:from-gray-950,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:from-slate-950,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:from-zinc-950,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:from-neutral-950 { --tw-gradient-from:var(--bg) var(--tw-gradient-from-position); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:via-gray-50,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:via-slate-50,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:via-zinc-50,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:via-neutral-50 { --tw-gradient-stops:var(--tw-gradient-from),var(--bg-2) var(--tw-gradient-via-position),var(--tw-gradient-to); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:via-gray-100,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:via-slate-100,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:via-zinc-100,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:via-neutral-100 { --tw-gradient-stops:var(--tw-gradient-from),var(--bg-1) var(--tw-gradient-via-position),var(--tw-gradient-to); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:via-gray-200,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:via-slate-200,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:via-zinc-200,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:via-neutral-200 { --tw-gradient-stops:var(--tw-gradient-from),var(--bg-3) var(--tw-gradient-via-position),var(--tw-gradient-to); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:via-gray-300,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:via-slate-300,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:via-zinc-300,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:via-neutral-300 { --tw-gradient-stops:var(--tw-gradient-from),var(--bg-3) var(--tw-gradient-via-position),var(--tw-gradient-to); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:via-gray-400,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:via-slate-400,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:via-zinc-400,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:via-neutral-400 { --tw-gradient-stops:var(--tw-gradient-from),var(--fg-4) var(--tw-gradient-via-position),var(--tw-gradient-to); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:via-gray-500,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:via-slate-500,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:via-zinc-500,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:via-neutral-500 { --tw-gradient-stops:var(--tw-gradient-from),var(--fg-3) var(--tw-gradient-via-position),var(--tw-gradient-to); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:via-gray-600,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:via-slate-600,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:via-zinc-600,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:via-neutral-600 { --tw-gradient-stops:var(--tw-gradient-from),var(--bg-3) var(--tw-gradient-via-position),var(--tw-gradient-to); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:via-gray-700,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:via-slate-700,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:via-zinc-700,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:via-neutral-700 { --tw-gradient-stops:var(--tw-gradient-from),var(--bg-3) var(--tw-gradient-via-position),var(--tw-gradient-to); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:via-gray-800,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:via-slate-800,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:via-zinc-800,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:via-neutral-800 { --tw-gradient-stops:var(--tw-gradient-from),var(--bg-2) var(--tw-gradient-via-position),var(--tw-gradient-to); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:via-gray-900,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:via-slate-900,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:via-zinc-900,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:via-neutral-900 { --tw-gradient-stops:var(--tw-gradient-from),var(--bg-1) var(--tw-gradient-via-position),var(--tw-gradient-to); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:via-gray-950,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:via-slate-950,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:via-zinc-950,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:via-neutral-950 { --tw-gradient-stops:var(--tw-gradient-from),var(--bg) var(--tw-gradient-via-position),var(--tw-gradient-to); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:to-gray-50,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:to-slate-50,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:to-zinc-50,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:to-neutral-50 { --tw-gradient-to:var(--bg-2) var(--tw-gradient-to-position); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:to-gray-100,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:to-slate-100,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:to-zinc-100,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:to-neutral-100 { --tw-gradient-to:var(--bg-1) var(--tw-gradient-to-position); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:to-gray-200,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:to-slate-200,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:to-zinc-200,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:to-neutral-200 { --tw-gradient-to:var(--bg-3) var(--tw-gradient-to-position); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:to-gray-300,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:to-slate-300,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:to-zinc-300,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:to-neutral-300 { --tw-gradient-to:var(--bg-3) var(--tw-gradient-to-position); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:to-gray-400,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:to-slate-400,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:to-zinc-400,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:to-neutral-400 { --tw-gradient-to:var(--fg-4) var(--tw-gradient-to-position); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:to-gray-500,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:to-slate-500,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:to-zinc-500,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:to-neutral-500 { --tw-gradient-to:var(--fg-3) var(--tw-gradient-to-position); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:to-gray-600,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:to-slate-600,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:to-zinc-600,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:to-neutral-600 { --tw-gradient-to:var(--bg-3) var(--tw-gradient-to-position); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:to-gray-700,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:to-slate-700,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:to-zinc-700,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:to-neutral-700 { --tw-gradient-to:var(--bg-3) var(--tw-gradient-to-position); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:to-gray-800,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:to-slate-800,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:to-zinc-800,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:to-neutral-800 { --tw-gradient-to:var(--bg-2) var(--tw-gradient-to-position); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:to-gray-900,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:to-slate-900,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:to-zinc-900,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:to-neutral-900 { --tw-gradient-to:var(--bg-1) var(--tw-gradient-to-position); }
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:to-gray-950,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:to-slate-950,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:to-zinc-950,
html[data-reference-system="true"][data-theme="dark"] body[data-reference-legacy="true"] .dark\:to-neutral-950 { --tw-gradient-to:var(--bg) var(--tw-gradient-to-position); }
/* Nested platform theme roots (top nav, help panel, loading overlay, admin)
 * must resolve the same palette as the page. Keep their explicit light/dark
 * choice and exclude customer-branded OAuth islands. CSS variables only. */
html[data-reference-system="true"] [data-theme]:not([data-oauth-app-themed="true"])[data-theme] {
 --brand:#45E760; --ref-gradient-green:var(--brand); --ref-gradient-mint:#2ADF8E; --ref-gradient-lime:#B4FB85; --brand-green-hue:130; --brand-green-saturation:77.142857%; --accent:var(--rx-primary); --accent-fg:var(--rx-primary-ink);
 --accent-hover:var(--rx-primary-hover); --primary-hover:var(--rx-primary-hover);
 --accent-text:var(--fg); --accent-text-hover:var(--fg); --accent-2:var(--rx-primary-hover);
 --rx-primary:var(--fg); --rx-primary-hover:color-mix(in srgb,var(--fg) 80%,var(--bg-2));
 --rx-primary-active:color-mix(in srgb,var(--fg) 70%,var(--bg-2));
 --rx-secondary-ink:var(--fg); --ref-lemon:var(--rx-surface-selected); --ref-aura:transparent;
 --rx-hover-muted:var(--fg-2); --rx-overlay-muted:var(--fg-2); --rx-overlay-focus:var(--fg);
 --rx-overlay-danger:var(--danger-fg); --rx-control:var(--rx-field);
}
html[data-reference-system="true"] [data-theme]:not([data-oauth-app-themed="true"])[data-theme="light"] {
 --ref-segment-selected:var(--rx-raised); --ref-suggestion-bg:#F7F7F7; --ref-suggestion-hover:#F2F2F2;
 --bg:#FCFCFC; --bg-1:#F3F3F3; --bg-2:#FAFAFA; --bg-3:#F5F5F6;
 --fg:#1A1C1F; --fg-2:rgba(26,28,31,.695); --fg-3:var(--fg-2); --fg-4:rgba(26,28,31,.495);
 --line:rgba(26,28,31,.078); --line-2:rgba(26,28,31,.117); --rx-divider:rgba(26,28,31,.049);
 --rx-surface-hover:rgba(26,28,31,.0535); --rx-surface-selected:rgba(26,28,31,.049);
 --rx-hover:rgba(26,28,31,.055); --rx-active:rgba(26,28,31,.085);
 --rx-primary-ink:#FFFFFF; --rx-send:#000000; --rx-send-ink:#FFFFFF;
 --rx-secondary:rgba(26,28,31,.05); --rx-secondary-hover:rgba(26,28,31,.075); --rx-secondary-active:rgba(26,28,31,.10);
 --rx-panel-shadow:0 1px 2px #00000003; --rx-edge-light:#FFFFFF;
 --rx-field:#FCFCFC; --rx-field-hover:#F8F8F9; --rx-field-border:var(--line-2); --rx-readonly:#F6F6F6;
 --rx-raised:#FCFCFC; --rx-composer:#FAFAFA; --rx-overlay:#FDFDFD; --rx-overlay-border:var(--line-2);
 --rx-overlay-hover:#EBEBEB; --rx-overlay-selected:#F0F0F0;
 --rx-overlay-selected-hover:#EBEBEB; --rx-overlay-active:#DDDDDD;
 --ref-brand-detail:var(--ref-brand-soft); --success-fg:hsl(var(--brand-green-hue) var(--brand-green-saturation) 28%); --success-bg:hsl(var(--brand-green-hue) var(--brand-green-saturation) 97%); --warning-fg:#B9480D; --danger-fg:#BA2623; --info-fg:#0169CC; --rx-overlay-danger:#911E1B;
 --rx-floating-shadow:0 2px 6px #0000000A,0 12px 32px #00000014;
}
html[data-reference-system="true"] [data-theme]:not([data-oauth-app-themed="true"])[data-theme="dark"] {
 --ref-segment-selected:#141414; --ref-suggestion-bg:#1D1D1D; --ref-suggestion-hover:#222222;
 --bg:#141414; --bg-1:#171717; --bg-2:#1B1B1B; --bg-3:#1E1E1E;
 --fg:#DFDFDF; --fg-2:rgba(255,255,255,.71); --fg-3:var(--fg-2); --fg-4:rgba(255,255,255,.498);
 --line:rgba(255,255,255,.07); --line-2:rgba(255,255,255,.12); --rx-divider:rgba(255,255,255,.04);
 --rx-surface-hover:rgba(255,255,255,.025); --rx-surface-selected:rgba(255,255,255,.045);
 --rx-hover:rgba(255,255,255,.03); --rx-active:rgba(255,255,255,.05);
 --rx-primary-ink:#2D2D2D; --rx-send:#FFFFFF; --rx-send-ink:#000000;
 --rx-secondary:rgba(223,223,223,.05); --rx-secondary-hover:rgba(223,223,223,.075); --rx-secondary-active:rgba(223,223,223,.10);
 --rx-panel-shadow:0 1px 2px #00000012; --rx-edge-light:#FFFFFF08;
 --rx-field:#191919; --rx-field-hover:#1D1D1D; --rx-field-border:var(--line-2); --rx-readonly:var(--bg-1);
 --rx-raised:#202020; --rx-composer:#202020; --rx-overlay:#202020; --rx-overlay-border:var(--line-2);
 --rx-overlay-hover:#252525; --rx-overlay-selected:#2A2A2A;
 --rx-overlay-selected-hover:#252525; --rx-overlay-active:#242424;
 --ref-brand-detail:var(--ref-brand-soft); --success-fg:hsl(var(--brand-green-hue) var(--brand-green-saturation) 65%); --success-bg:hsl(var(--brand-green-hue) var(--brand-green-saturation) 9%); --warning-fg:#FF8549; --danger-fg:#FF6764; --info-fg:#99CEFF; --rx-overlay-danger:#FFD9D9;
 --rx-floating-shadow:0 0 0 1px #00000020,0 6px 16px #00000038,0 20px 48px #00000055;
}
html[data-reference-system="true"] [data-theme]:not([data-oauth-app-themed="true"])[data-theme="light"] {
 --ref-field-focus-visible:var(--ref-keyboard-focus); --ref-hover-border:#BDBDBD; --ref-focus:#929292; --ref-keyboard-focus:#777777; --ref-focus-halo:rgb(0 0 0 / 4%);
}
html[data-reference-system="true"] [data-theme]:not([data-oauth-app-themed="true"])[data-theme="dark"] {
 --ref-field-focus-visible:#626262; --ref-hover-border:#3D3D3D; --ref-focus:#505050; --ref-keyboard-focus:#909090; --ref-focus-halo:rgb(255 255 255 / 2%);
}
html[data-reference-system="true"] [data-theme]:not([data-oauth-app-themed="true"])[data-theme] {
 --focus-ring-color:var(--ref-focus);
 --field-border-focus:var(--ref-focus);
 --field-ring-color:var(--ref-focus-halo);
 --field-ring:0 0 0 2px var(--ref-focus-halo);
}
html[data-reference-system="true"] [data-theme]:not([data-oauth-app-themed="true"])[data-theme] {
 --credit-action-bg:color-mix(in srgb,var(--credit-action) 9%,transparent);
 --credit-action-hover:color-mix(in srgb,var(--credit-action) 16%,transparent);
 --credit-link-hover:color-mix(in srgb,var(--credit-action) 10%,transparent);
}
html[data-reference-system="true"] [data-theme]:not([data-oauth-app-themed="true"])[data-theme="light"] { --ref-brand-soft:hsl(var(--brand-green-hue) 55% 28%); --credit-action:var(--ref-brand-soft); }
html[data-reference-system="true"] [data-theme]:not([data-oauth-app-themed="true"])[data-theme="dark"] { --ref-brand-soft:hsl(var(--brand-green-hue) 55% 65%); --credit-action:var(--ref-brand-soft); }
html[data-reference-system="true"] [data-theme]:not([data-oauth-app-themed="true"])[data-theme="light"] { --ref-toggle-edge:var(--ref-brand-soft); --ref-toggle-knob:#FFFFFF; --ref-progress-start:color-mix(in srgb,var(--ref-gradient-mint) 48%,#000); --ref-progress-middle:color-mix(in srgb,var(--ref-gradient-green) 48%,#000); --ref-progress-end:color-mix(in srgb,var(--ref-gradient-lime) 48%,#000); }
html[data-reference-system="true"] [data-theme]:not([data-oauth-app-themed="true"])[data-theme="dark"] { --ref-toggle-edge:var(--ref-brand-soft); --ref-toggle-knob:var(--success-bg); --ref-progress-start:var(--ref-gradient-mint); --ref-progress-middle:var(--ref-gradient-green); --ref-progress-end:var(--ref-gradient-lime); }
html[data-reference-system="true"] [data-theme]:not([data-oauth-app-themed="true"])[data-theme] { --ref-progress-gradient:linear-gradient(100deg,var(--ref-progress-start),var(--ref-progress-middle) 55%,var(--ref-progress-end)); }
html[data-reference-system="true"] [data-theme]:not([data-oauth-app-themed="true"])[data-theme="light"] { --rx-primary-hover:#111315; }
html[data-reference-system="true"] [data-theme]:not([data-oauth-app-themed="true"])[data-theme="dark"] { --rx-primary:#DEDEDE; --rx-primary-hover:#F7F7F7; }
html[data-reference-system="true"] [data-theme]:not([data-oauth-app-themed="true"])[data-theme] {
 --font-body:"Geist","Noto Sans JP","Noto Sans Arabic",system-ui,sans-serif; --font-display:var(--font-body);
 --font-mono:"JetBrains Mono","Noto Sans JP","Noto Sans Arabic",monospace;
 --hover-bg:var(--rx-surface-hover); --hover-bg-strong:var(--rx-hover);
 --card-bg:var(--bg-2); --code-bg:var(--bg-1); --rail-bg:var(--bg-1);
 --shadow-sm:var(--rx-panel-shadow); --shadow:var(--rx-floating-shadow);
 --shadow-md:var(--rx-floating-shadow); --shadow-lg:var(--rx-floating-shadow);
 --composer-shadow:0 2px 8px #00000008;
 --composer-focus-shadow:var(--field-ring);
 --radius-sm:8px; --radius-md:12px; --radius-lg:20px;
 /* The --ed-* re-derivation for this selector lives in theme.css, the one
    declaration site the token spec allows. --ed-surface was dropped: nothing
    reads it (the editor family is --ed-surface-1/-2/-3/-hover). */
}
html[data-reference-system="true"] [data-theme]:not([data-oauth-app-themed="true"])[data-theme="dark"] { --ref-selection-ink:var(--ref-brand-soft); --ref-control-fill:var(--ref-brand-soft); --ref-control-ink:#102016; }
html[data-reference-system="true"] [data-theme]:not([data-oauth-app-themed="true"])[data-theme="light"] { --rx-primary:#17191C; --rx-primary-hover:#000000; --ref-selection-ink:var(--ref-brand-soft); --ref-control-fill:var(--ref-brand-soft); --ref-control-ink:#FFFFFF; }
html[data-reference-system="true"] [data-theme]:not([data-oauth-app-themed="true"])[data-theme] { --ref-selection-gradient:linear-gradient(110deg,var(--ref-gradient-lime),var(--ref-gradient-green) 55%,var(--ref-gradient-mint)); --ref-selection-glyph:#102016; }
html[data-reference-system="true"] [data-theme]:not([data-oauth-app-themed="true"]):not(.clickfunnels-reference)[data-theme] {
 --ref-button-light-depth:0 1px 2px rgb(0 0 0 / 8%);
 --ref-button-light-depth-hover:0 1px 2px rgb(0 0 0 / 10%);
 --ref-button-secondary-depth:none;
 --ref-button-secondary-depth-hover:none;
 --ref-button-radius:10px; --ref-button-radius-small:9px;
 --ref-button-primary-gradient:linear-gradient(180deg,rgb(255 255 255 / 7%),rgb(0 0 0 / 10%));
 --ref-button-primary-gradient-hover:linear-gradient(180deg,rgb(255 255 255 / 9%),rgb(0 0 0 / 12%));
 --ref-button-secondary-gradient:none;
 --ref-button-secondary-gradient-hover:none;
 --ref-button-primary-hover:color-mix(in srgb,var(--rx-primary) 86%,var(--rx-primary-ink));
 --ref-button-secondary-hover:color-mix(in srgb,var(--fg) 8%,var(--bg-2));
}
html[data-reference-system="true"] [data-theme]:not([data-oauth-app-themed="true"]):not(.clickfunnels-reference)[data-theme="dark"] {
 --ref-button-secondary-depth:none;
 --ref-button-secondary-depth-hover:none;
 /* Keep a visible neutral ramp even when hover raises the base to white.
    Current dark primary: about #EFEFEF → #C8C8C8; hover #FFFFFF → #DEDEDE. */
 --ref-button-primary-gradient:linear-gradient(180deg,rgb(255 255 255 / 50%),rgb(0 0 0 / 10%));
 --ref-button-primary-gradient-hover:linear-gradient(180deg,rgb(255 255 255 / 60%),rgb(0 0 0 / 13%));
 --ref-button-secondary-gradient:none;
 --ref-button-secondary-gradient-hover:none;
 --ref-button-primary-hover:var(--rx-send);
 --ref-button-secondary-hover:color-mix(in srgb,var(--fg) 10%,var(--bg-2));
}
@media(forced-colors:active) {
 html[data-reference-system="true"] [data-theme]:not([data-oauth-app-themed="true"]):not(.clickfunnels-reference)[data-theme] {
  --ref-button-light-depth:none; --ref-button-light-depth-hover:none;
  --ref-button-secondary-depth:none; --ref-button-secondary-depth-hover:none;
  --ref-button-primary-gradient:none; --ref-button-primary-gradient-hover:none;
  --ref-button-secondary-gradient:none; --ref-button-secondary-gradient-hover:none;
  --ref-button-primary-hover:Highlight; --ref-button-secondary-hover:Highlight;
 }
}

/* Editable fields: softened brand edge + matching outer halo, with no size change.
   Deepen the same green on light surfaces so the edge remains legible.
   The ClickFunnels fork owns its separate primary-blue field treatment. */
html[data-reference-system="true"] [data-theme]:not([data-oauth-app-themed="true"])[data-theme="light"] {
 --ref-field-focus:var(--ref-brand-soft);
}
html[data-reference-system="true"] [data-theme]:not([data-oauth-app-themed="true"])[data-theme="dark"] {
 --ref-field-focus:var(--ref-brand-soft);
}
html[data-reference-system="true"] [data-theme]:not([data-oauth-app-themed="true"])[data-theme] {
 --ref-field-focus-visible:var(--ref-field-focus);
 --field-border-focus:var(--ref-field-focus);
 --field-ring-color:color-mix(in srgb,var(--ref-brand-soft) 12%,transparent);
 --field-ring:0 0 0 3px var(--field-ring-color);
}
/* Source-backed adoption gaps. Keep styling scoped to the local platform;
 * generated app previews and third-party payment frames own their contents. */
html[data-reference-system="true"][data-theme] {
  --surf-chat: var(--bg-2);
  --surf-dashnav: var(--bg-1);
  --surf-content: var(--bg-2);
  --surface-base: var(--bg);
  --surface-raised: var(--rx-raised);
  --surface-sunken: var(--bg-1);
  --text-primary: var(--fg);
  --text-secondary: var(--fg-2);
  --border-default: var(--line);
  --ref-selection-ink: var(--success-fg);
  --ref-selection-gradient: linear-gradient(110deg, var(--ref-gradient-lime), var(--ref-gradient-green) 55%, var(--ref-gradient-mint));
  --ref-selection-glyph: #102016;
}
html[data-reference-system="true"][data-theme] body {
  background-color: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
}
/* theme.css still paints native fields with !important legacy aliases.
   Resolve those aliases to field surfaces, including nested theme islands,
   instead of letting native controls inherit a card background. */
html[data-reference-system="true"][data-theme],
html[data-reference-system="true"] [data-theme] {
  --input-bg: var(--rx-field);
  --input-bg-hover: var(--rx-field-hover);
  --input-bg-focus: var(--rx-field);
  --input-bg-disabled: var(--rx-readonly);
}
html[data-reference-system="true"][data-theme] :is(.input,.textarea,.select,.ds-bt-input,.support-input,.support-textarea,.support-select):not(:disabled,[readonly]) {
  background-color: var(--rx-field);
  color: var(--fg);
  border-color: var(--rx-field-border);
}
html[data-reference-system="true"][data-theme] :is(.input,.textarea,.ds-bt-input)::placeholder { color: var(--fg-3); opacity: 1; }
html[data-reference-system="true"][data-theme] :is(input.checkbox,input.radio):checked {
  background: var(--ref-selection-gradient);
  border-color: var(--ref-selection-ink);
}
html[data-reference-system="true"][data-theme] input.checkbox:checked::after { border-color: var(--ref-selection-glyph); }
html[data-reference-system="true"][data-theme] input.radio:checked::after { background: var(--ref-selection-glyph); }
html[data-reference-system="true"][data-theme] .suggest-card {
  padding: 14px 16px;
  background: var(--ref-suggestion-bg);
  border: 1px solid var(--line);
  border-radius: var(--ref-button-radius);
}
html[data-reference-system="true"][data-theme] .suggest-card:hover { background: var(--ref-suggestion-hover); border-color: var(--line-2); transform: none; }
html[data-reference-system="true"][data-theme] :is(.btn,.icon-btn):hover { transform: none; }
/* Preserve readable error states when neutral field tokens are applied. */
html[data-reference-system="true"][data-theme] :is(.input,.textarea,.select,.ds-bt-input,.support-input,.support-textarea,.support-select)[aria-invalid="true"] { border-color: var(--danger-fg); }
@media (forced-colors: active) {
  html[data-reference-system="true"][data-theme] :is(input.checkbox,input.radio):checked { background: Highlight; border-color: Highlight; }
  html[data-reference-system="true"][data-theme] input.checkbox:checked::after { border-color: HighlightText; }
  html[data-reference-system="true"][data-theme] input.radio:checked::after { background: HighlightText; }
}

/* Scaffold headings: consistent rhythm and responsive action placement. */
html[data-reference-system="true"][data-theme] .ds-bt-page-heading { gap: 16px 24px; flex-wrap: wrap; align-items: center; }
html[data-reference-system="true"][data-theme] .ds-bt-page-title { color: var(--fg); font: 600 clamp(24px,2.4vw,32px)/1.2 var(--font-body); letter-spacing: -.025em; text-wrap: balance; }
html[data-reference-system="true"][data-theme] .ds-bt-page-actions { flex: 0 1 auto; margin-left: auto; }
html[data-reference-system="true"][data-theme] .ds-bt-page-divider { background: var(--line); }
html[data-reference-system="true"][data-theme] :is(.input,.textarea,.select,.ds-bt-input,.support-input,.support-textarea,.support-select):is(:disabled,[readonly]) { background: var(--rx-readonly); color: var(--fg-3); border-color: var(--line); }
/* Auth buttons are functional form controls, not .btn specimens. */
html[data-reference-system="true"][data-theme] .auth-card :is(.auth-btn-primary,input[type="submit"],button[type="submit"]:not(.auth-oauth-btn),.button.full) {
  background: var(--ref-button-primary-gradient) var(--rx-primary)!important; color: var(--rx-primary-ink);
  border-radius: var(--ref-button-radius); transition: background-color 160ms ease, color 160ms ease;
}
html[data-reference-system="true"][data-theme] .auth-card :is(.auth-btn-primary,input[type="submit"],button[type="submit"]:not(.auth-oauth-btn),.button.full):hover:not(:disabled,[aria-disabled="true"]) { background: var(--ref-button-primary-gradient-hover) var(--ref-button-primary-hover)!important; }
html[data-reference-system="true"][data-theme] .auth-oauth-btn { border-color: var(--line-2); background: var(--rx-secondary); background-clip: padding-box; box-shadow: none; transition: background-color 160ms ease; }
html[data-reference-system="true"][data-theme] .auth-oauth-btn:hover { border-color: var(--line-2); background: var(--ref-button-secondary-hover); }
@media (max-width: 639px) {
  html[data-reference-system="true"][data-theme] .ds-bt-page-actions { margin-left: 0; text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  html[data-reference-system="true"][data-theme] .auth-card :is(.auth-btn-primary,input[type="submit"],button[type="submit"],.button.full,.auth-oauth-btn) { transition: none; }
}

/* Live status is green; the platform's neutral primary is an action color. */
html[data-reference-system="true"][data-theme] .reference-live-status { background:var(--success-bg)!important; border-color:color-mix(in srgb,var(--success-fg) 30%,transparent)!important; }
html[data-reference-system="true"][data-theme] .reference-live-status span { color:var(--success-fg)!important; }
html[data-reference-system="true"][data-theme] .reference-live-status .animate-pulse { background:var(--success-fg)!important; }

/* Local demo chrome owns these elements; the captured customer page is an iframe. */
html[data-reference-system="true"][data-theme] .reference-demo-shell header { border-color:var(--line); }
html[data-reference-system="true"][data-theme] .reference-demo-shell header p { color:var(--fg-2); }
html[data-reference-system="true"][data-theme] .reference-demo-shell button { background:var(--rx-secondary); border-color:var(--line-2); border-radius:var(--ref-button-radius); color:var(--fg); }
html[data-reference-system="true"][data-theme] .reference-demo-shell button:hover { background:var(--ref-button-secondary-hover); }

/* The provider callback remains functional; only the result window is styled. */
html[data-reference-system="true"][data-theme] .reference-oauth-result { background:var(--bg); }
html[data-reference-system="true"][data-theme] .reference-oauth-result .card { background:var(--bg-2); border:1px solid var(--line); border-radius:var(--radius-xl,16px); box-shadow:none; padding:32px; }
html[data-reference-system="true"][data-theme] .reference-oauth-result :is(h1,.email strong) { color:var(--fg); }
html[data-reference-system="true"][data-theme] .reference-oauth-result :is(.email,.message,.closing-text) { color:var(--fg-2); }
html[data-reference-system="true"][data-theme] .reference-oauth-result .icon.success { background:var(--success-bg); }
html[data-reference-system="true"][data-theme] .reference-oauth-result .icon.success svg { color:var(--success-fg); }
html[data-reference-system="true"][data-theme] .reference-oauth-result :is(.icon.error,.error-message) { background:var(--danger-bg); color:var(--danger-fg); border-color:color-mix(in srgb,var(--danger-fg) 25%,transparent); }
html[data-reference-system="true"][data-theme] .reference-oauth-result .icon.error svg { color:var(--danger-fg); }
html[data-reference-system="true"][data-theme] .reference-oauth-result .spinner { border-color:var(--line-2); border-top-color:var(--fg-2); }
@media(prefers-reduced-motion:reduce) {
  html[data-reference-system="true"][data-theme] .reference-oauth-result .spinner { animation:none; }
}

/* Workflow canvas chrome is platform UI, not a generated app's preview. */
html[data-reference-system="true"][data-theme] #workflow-editor-root :is(.react-flow,.react-flow__background) { background:var(--bg)!important; }
html[data-reference-system="true"][data-theme] #workflow-editor-root :is(.react-flow__minimap,.react-flow__controls,.react-flow__controls-button) { background:var(--bg-2)!important; border-color:var(--line-2)!important; color:var(--fg-2); fill:var(--fg-2)!important; }
html[data-reference-system="true"][data-theme] #workflow-editor-root .react-flow__controls-button:hover { background:var(--ref-button-secondary-hover)!important; fill:var(--fg)!important; }

/* Anonymous build preview: neutral outer frame and activity feed only. */
html[data-reference-system="true"][data-theme] :is(.ab-stage,.ab-stage__bar) { background:var(--bg-2); border-color:var(--line); }
html[data-reference-system="true"][data-theme] .ab-stage__dot { background:var(--line-2); }
html[data-reference-system="true"][data-theme] :is(.ab-stage__url,.ab-feed__status,.ab-feed__count,.ab-files li.ab-files__empty) { color:var(--fg-3); }
html[data-reference-system="true"][data-theme] :is(.ab-feed__status strong,.ab-files li,.ab-note) { color:var(--fg-2); }
html[data-reference-system="true"][data-theme] .ab-feed__headline { font-family:var(--font-body); }
html[data-reference-system="true"][data-theme="light"] .reference-arcade-board .text-primary-600 { color:var(--success-fg); }
html[data-reference-system="true"][data-theme] .ab-note strong { color:var(--fg); }
html[data-reference-system="true"][data-theme] .ab-files { background:var(--bg-1); border-color:var(--line); }

/* Both live composer variants use the same compact thinking menu. A fixed
   check column prevents the selected description from wrapping unexpectedly. */
html[data-reference-system="true"][data-theme] [data-thinking-effort-target="menu"] { width:320px; max-width:calc(100vw - 24px); padding:6px; border-radius:14px; }
html[data-reference-system="true"][data-theme] [data-thinking-effort-target="option"]:not([hidden]) { display:grid; grid-template-columns:minmax(0,1fr) 16px; gap:10px; align-items:center; padding:10px; border:0; border-radius:8px; background:transparent; }
html[data-reference-system="true"][data-theme] [data-thinking-effort-target="option"][data-selected="true"] { background:var(--rx-overlay-selected); }
html[data-reference-system="true"][data-theme] [data-thinking-effort-target="option"]:hover { background:var(--rx-overlay-hover); }
html[data-reference-system="true"][data-theme] [data-thinking-effort-target="option"] p { font:400 12px/1.45 var(--font-body); color:var(--fg-2); margin:3px 0 0; white-space:normal; display:block; overflow:visible; }
html[data-reference-system="true"][data-theme] [data-thinking-effort-target="option"] [data-check] { width:16px; height:16px; padding:0; background:none; border:0; border-radius:0; color:var(--success-fg); box-shadow:none; }
html[data-reference-system="true"][data-theme] [data-thinking-effort-target="option"] [data-check] svg { width:16px; height:16px; }
html[data-reference-system="true"][data-theme] [data-thinking-effort-target="button"].composer-tool-pill { border:1px solid var(--line-2); border-radius:8px; box-shadow:none; }
html[data-reference-system="true"][data-theme] [data-thinking-effort-target="button"].composer-tool-pill:hover { background:var(--rx-overlay-hover); }
html[data-reference-system="true"][data-theme] .cmp-table th.cmp-table__overskill-col { background:var(--bg-3); }

/* The twelve use-case pages share one legacy generator template. Keep the
   existing prompt, models, attachments and routes; modernize its structure. */
html[data-reference-system="true"][data-theme] .reference-use-case > section { background:var(--bg)!important; padding-block:clamp(48px,7vw,88px); }
html[data-reference-system="true"][data-theme] .reference-use-case > section:nth-of-type(even) { background:var(--bg-1)!important; }
html[data-reference-system="true"][data-theme] .reference-use-case .container { width:min(100%,1248px); padding-inline:clamp(20px,4vw,48px); }
html[data-reference-system="true"][data-theme] .reference-generator-hero { overflow:visible; }
html[data-reference-system="true"][data-theme] .reference-generator-hero > .absolute { display:none; }
html[data-reference-system="true"][data-theme] .reference-generator-hero h1 { max-width:1040px; margin-inline:auto; padding:0; color:var(--fg); font-family:"Grifter",var(--font-body); font-size:clamp(32px,4.8vw,64px); line-height:1.08; letter-spacing:-.035em; text-wrap:balance; }
html[data-reference-system="true"][data-theme] .reference-use-case-examples { display:flex; flex-wrap:wrap; justify-content:center; gap:8px; list-style:none; padding:0; margin:24px auto; max-width:860px; }
html[data-reference-system="true"][data-theme] .reference-use-case-examples li { border:1px solid var(--line); background:var(--bg-2); color:var(--fg-2); border-radius:999px; padding:7px 12px; font:500 13px/1.4 var(--font-body); }
html[data-reference-system="true"][data-theme] .reference-generator-form > div { background:var(--rx-composer,var(--bg-3)); border:1px solid var(--line-2); padding:18px; border-radius:20px; }
html[data-reference-system="true"][data-theme] .reference-generator-form textarea { display:block; min-height:120px; padding:12px; background:transparent!important; border:0!important; box-shadow:none; color:var(--fg); font:400 18px/1.55 var(--font-body); }
html[data-reference-system="true"][data-theme] .reference-generator-form textarea::placeholder { color:var(--fg-3); }
html[data-reference-system="true"][data-theme] .reference-generator-form textarea:focus { outline:none; box-shadow:none; }
html[data-reference-system="true"][data-theme] .reference-generator-form > div:focus-within { border-color:var(--field-border-focus); box-shadow:var(--field-ring); }
html[data-reference-system="true"][data-theme] .reference-generator-toolbar { background:transparent!important; border:0!important; border-top:1px solid var(--line)!important; padding:14px 0 0; }
html[data-reference-system="true"][data-theme] .reference-generator-toolbar button:not([data-model-selector-target="option"]) { min-height:40px; border-radius:var(--ref-button-radius); }
html[data-reference-system="true"][data-theme] .reference-generator-toolbar > div > button { color:var(--fg); background:var(--rx-secondary)!important; border:1px solid var(--line-2)!important; box-shadow:none; transition:background-color 160ms ease; }
html[data-reference-system="true"][data-theme] .reference-generator-toolbar > div > button:hover { background:var(--ref-button-secondary-hover)!important; }
html[data-reference-system="true"][data-theme] .reference-use-case button[type="submit"] { background:var(--ref-button-primary-gradient) var(--rx-primary)!important; color:var(--rx-primary-ink)!important; border:1px solid transparent; box-shadow:none; }
html[data-reference-system="true"][data-theme] .reference-use-case button[type="submit"]:hover { background:var(--ref-button-primary-gradient-hover) var(--ref-button-primary-hover)!important; transform:none; }
html[data-reference-system="true"][data-theme] .reference-use-case button[data-prompt] { background:var(--bg-3)!important; color:var(--fg-2)!important; border:1px solid var(--line); }
html[data-reference-system="true"][data-theme] .reference-use-case button[data-prompt]:hover { background:var(--ref-button-secondary-hover)!important; }
/* These are descriptive badges and step numbers, not primary actions. */
html[data-reference-system="true"][data-theme] .reference-use-case :is(.bg-primary-100,.bg-primary-300) { background:var(--bg-3); color:var(--fg); }
html[data-reference-system="true"][data-theme] .reference-use-case .text-primary-600:not(button) { color:var(--success-fg); }
html[data-reference-system="true"][data-theme] .reference-use-case .group:hover .group-hover\:scale-110 { transform:none; }
html[data-reference-system="true"][data-theme] .reference-public-footer .text-emerald-400 { color:var(--success-fg); }
html[data-reference-system="true"][data-theme] :is(.ds-breadcrumb-sep,.ti-breadcrumb-sep,.ti-show-meta-dot) { color:var(--fg-3); }
/* Older public documents and footer authored for dark-only layouts must
   resolve ink and surface together when previewed in either theme. */
html[data-reference-system="true"][data-theme] .reference-public-footer { background:var(--bg-1)!important; border-color:var(--line); color:var(--fg-2); }
html[data-reference-system="true"][data-theme] .reference-public-footer :is(.text-white,.text-gray-100,.text-gray-200,h2,h3,h4) { color:var(--fg); }
html[data-reference-system="true"][data-theme] .reference-public-footer :is(.text-gray-300,.text-gray-400,.text-gray-500,.text-gray-600,.text-gray-700) { color:var(--fg-3); }
html[data-reference-system="true"][data-theme] .reference-public-footer .bg-gray-800\/50 { background:var(--bg-2); border-color:var(--line); }
html[data-reference-system="true"][data-theme] .reference-public-footer a:hover { background-color:var(--bg-3); color:var(--fg); }
html[data-reference-system="true"][data-theme] .reference-legal :is(p,ul,ol,li) { color:var(--fg-2); }
html[data-reference-system="true"][data-theme] .reference-legal :is(h1,h2,h3,h4,strong) { color:var(--fg); }
html[data-reference-system="true"][data-theme] .reference-legal a { color:var(--fg); text-decoration:underline; text-underline-offset:3px; }
html[data-reference-system="true"][data-theme] .reference-legal a:hover { text-decoration-thickness:2px; }
@media(max-width:639px) {
  html[data-reference-system="true"][data-theme] .reference-use-case-examples { gap:6px; }
  html[data-reference-system="true"][data-theme] .reference-use-case-examples li { font-size:12px; padding:6px 10px; }
  html[data-reference-system="true"][data-theme] .reference-generator-form > div { padding:12px; }
  html[data-reference-system="true"][data-theme] .reference-generator-form textarea { font-size:16px; padding:8px; }
}

/* Documentation tables scroll inside their cards on narrow screens. */
html[data-reference-system="true"][data-theme] .reference-docs-table-scroll { max-width:100%; overflow-x:auto; border-radius:8px; }
html[data-reference-system="true"][data-theme] .reference-docs-table-scroll table { min-width:560px; }
html[data-reference-system="true"][data-theme] .reference-docs-table-scroll :is(th,td) { padding:12px; vertical-align:top; }
html[data-reference-system="true"][data-theme] .reference-docs-table-scroll :is(th,td):first-child { padding-left:0; }
html[data-reference-system="true"][data-theme] .reference-docs-table-scroll:focus-visible { outline:2px solid var(--ref-field-focus-visible); outline-offset:4px; }

/* Supplied full lockup: preserve its paths and proportions instead of setting
   the wordmark in a font. Only the wordmark fill changes for light surfaces. */
html[data-reference-system="true"] .auth-lockup .auth-logo-svg { display:block; width:172px; max-width:100%; height:auto; flex:0 0 auto; }
html[data-reference-system="true"] .auth-lockup .auth-logo-svg--light { display:none; }
html[data-reference-system="true"][data-theme="light"] .auth-lockup .auth-logo-svg--dark { display:none; }
html[data-reference-system="true"][data-theme="light"] .auth-lockup .auth-logo-svg--light { display:block; }
/* Local waitlist review: the Reference Lab's card, inset, status, segmented
   control, and form recipes. View classes also exist on the baseline, but this
   stylesheet is loaded only inside the local Reference System opt-in. */
html[data-reference-system="true"] .reference-waitlist {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
}
html[data-reference-system="true"] .reference-waitlist .wl-page {
  padding: 32px 0 64px !important;
  min-height: calc(100vh - 200px);
}
.reference-waitlist :is(.wl-dash-shell, .wl-inv-shell) { max-width: 960px; }
.reference-waitlist :is(.wl-pending-shell, .wl-invsu-shell) { max-width: 560px; }
.reference-waitlist .wl-card {
  padding: 24px !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--radius-lg) !important;
  background: var(--card-bg) !important;
  box-shadow: none;
}
.reference-waitlist .wl-card[style*="margin-bottom"] { margin-bottom: 24px !important; }
.reference-waitlist .wl-caption { color: var(--fg-3) !important; }
.reference-waitlist :is(h1, h2) { text-wrap: balance; }
.reference-waitlist h2 { font-family: var(--font-body) !important; line-height: 1.4; }
.reference-waitlist .input[readonly] { border-style: solid; }
.reference-waitlist :is(h2 svg, .wl-dash-referral svg) { color: var(--fg-3); stroke: currentColor; }
.reference-waitlist .wl-icon-tile,
.reference-waitlist .wl-tier-icon {
  border-radius: var(--radius-sm) !important;
  color: var(--fg-2) !important;
  background: var(--bg-3) !important;
  border: 1px solid var(--line) !important;
}
.reference-waitlist :is(.wl-tier-badge, .wl-current-badge) {
  background: var(--bg-3) !important;
  color: var(--fg-2) !important;
  border: 1px solid var(--line) !important;
}
.reference-waitlist .wl-success,
.reference-waitlist .wl-current-badge {
  background: var(--success-bg) !important;
  color: var(--success-fg) !important;
}
.reference-waitlist .wl-hero-number {
  font-size: clamp(48px, 8vw, 64px) !important;
  letter-spacing: -0.035em;
}
.reference-waitlist :is(.wl-dash-stats, .wl-invite-stats) {
  gap: 0 !important;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  overflow: hidden;
  margin-bottom: 24px !important;
}
.reference-waitlist :is(.wl-dash-stats, .wl-invite-stats) > .wl-card {
  border: 0 !important;
  border-radius: 0 !important;
  min-width: 0;
  padding: 20px 16px !important;
}
.reference-waitlist :is(.wl-dash-stats, .wl-invite-stats) > .wl-card + .wl-card {
  border-left: 1px solid var(--line) !important;
}
.reference-waitlist .wl-access-recovery { max-width: none !important; }
.reference-waitlist .wl-dash-shell .wl-access-recovery {
  padding: 20px 0 0 !important;
  background: transparent !important;
  border-width: 1px 0 0 !important;
  border-radius: 0 !important;
  margin-bottom: 0 !important;
}
.reference-waitlist .wl-access-recovery > div > div { min-width: 0; }
.reference-waitlist .wl-tabs {
  background: var(--bg-3);
  border: 1px solid var(--line);
  padding: 4px;
  border-radius: var(--radius-md);
}
.reference-waitlist .wl-tab {
  min-height: 40px;
  border-radius: var(--radius-sm);
  color: var(--fg-3);
  transition: color 150ms ease, background-color 150ms ease;
}
.reference-waitlist .wl-tab:hover { background: var(--bg-hover); color: var(--fg); }
.reference-waitlist .wl-tab[aria-selected="true"] {
  background: var(--ref-segment-selected, var(--bg));
  border-color: var(--line-2);
  color: var(--ref-selection-ink, var(--fg));
}
.reference-waitlist .wl-tier-row {
  opacity: 1 !important;
  background: transparent !important;
  border-color: var(--line) !important;
  border-radius: var(--radius-md);
}
.reference-waitlist .wl-tier-row.is-current { background: var(--bg-3) !important; border-color: var(--line-2) !important; }
.reference-waitlist .wl-tier-benefit { max-width: 44%; }
.reference-waitlist .wl-tier-benefit > div { text-wrap: pretty; }
.reference-waitlist .wl-progress-fill { background: var(--ref-progress-gradient, var(--success-fg)) !important; }
.reference-waitlist .wl-pending-icon {
  animation: none;
  width: 64px !important;
  height: 64px !important;
}
.reference-waitlist .wl-pending-icon svg { width: 30px; height: 30px; }
.reference-waitlist .wl-invsu-shell h1 { max-width: none !important; font-size: clamp(30px, 5vw, 40px) !important; line-height: 1.15 !important; }
.reference-waitlist .wl-field-label {
  position: static;
  width: auto;
  height: auto;
  padding: 0;
  margin: 0 0 8px;
  clip: auto;
  overflow: visible;
  white-space: normal;
  display: block;
  color: var(--fg-2);
  font-size: 14px;
  font-weight: 500;
}
.reference-waitlist .input { font-size: 16px !important; min-height: 44px; }
.reference-waitlist :is(.btn, .icon-btn) { min-height: 44px; }
.reference-waitlist .icon-btn { min-width: 44px; border-radius: var(--radius-sm); }
.reference-waitlist :is(a, button, input):focus-visible { outline: 2px solid var(--fg-2); outline-offset: 3px; }
.reference-waitlist main a:not(.btn, .os-btn) {
  color: var(--fg-2) !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}
.reference-waitlist main a:not(.btn, .os-btn):hover { color: var(--fg) !important; }
.reference-waitlist .wl-code-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)) !important; }
.reference-waitlist .wl-code-row { align-items: flex-start !important; }
.reference-waitlist .wl-footer { padding: 24px 0 !important; }
.reference-waitlist .wl-footer .ds-container > div { line-height: 1.7; }
.reference-waitlist.wl-verification main { padding-top: clamp(40px, 9vh, 80px) !important; }
.reference-waitlist.wl-verification h1 { font-size: clamp(28px, 5vw, 32px) !important; }
.reference-waitlist.wl-verification section { padding-top: 24px; border-top: 1px solid var(--line); }
@media (max-width: 768px) {
  html[data-reference-system="true"] .reference-waitlist .wl-page { padding: 24px 0 40px !important; }
  .reference-waitlist .wl-page > .ds-container { padding-inline: 16px; }
  .reference-waitlist .wl-card { padding: 20px !important; }
  .reference-waitlist :is(.wl-dash-stats, .wl-invite-stats) { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .reference-waitlist :is(.wl-dash-stats, .wl-invite-stats) > .wl-card { padding: 16px 8px !important; }
  .reference-waitlist :is(.wl-dash-stats, .wl-invite-stats) .wl-icon-tile { width: 32px !important; height: 32px !important; margin-bottom: 12px !important; }
  .reference-waitlist .wl-dash-banner { align-items: flex-start !important; text-align: left !important; }
  .reference-waitlist .wl-dash-banner > div { text-align: left !important; }
  .reference-waitlist .wl-dash-banner > div:last-child { padding: 0 !important; }
  .reference-waitlist .wl-tier-row { display: grid !important; grid-template-columns: 38px minmax(0, 1fr); gap: 6px 12px !important; }
  .reference-waitlist .wl-tier-icon { grid-row: 1 / 3; align-self: start; }
  .reference-waitlist .wl-tier-benefit { grid-column: 2; max-width: none; text-align: left !important; }
  .reference-waitlist .wl-person-row { flex-wrap: wrap; }
  .reference-waitlist .wl-person-row > div:last-child { margin-left: 44px; flex-wrap: wrap; }
  .reference-waitlist .wl-send-form .input { min-width: 0 !important; flex-basis: 100% !important; }
  .reference-waitlist .wl-send-form .btn { width: 100%; }
  .reference-waitlist .wl-code-row { flex-wrap: wrap; gap: 12px !important; }
  .reference-waitlist .wl-code-row > div:first-child { flex: 1 1 100%; }
  .reference-waitlist .wl-inv-shell > div:first-child { flex-wrap: wrap; }
  .reference-waitlist .wl-access-recovery .btn,
  .reference-waitlist.wl-verification .btn { height: auto; white-space: normal; padding-block: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .reference-waitlist .wl-tab, .reference-waitlist .wl-progress-fill { transition: none; }
}
/* Tertiary actions have a clear hover surface, with no resting bevel or ring. */
html[data-reference-system="true"] .reference-waitlist .btn-ghost {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  color: var(--fg-2);
}
html[data-reference-system="true"] .reference-waitlist .btn-ghost:hover {
  background: var(--bg-hover);
  border-color: transparent;
  box-shadow: none;
  color: var(--fg);
}

.reference-waitlist .wl-invite-ticket { background: var(--bg-3) !important; border-color: var(--line-2) !important; }
/* Account/editor review: readable supporting text and the same Reference Lab
   controls as the public surfaces. Loaded only by the local adoption layer. */
/* The shared launcher hero is a large display headline. Opt it into Grifter
   explicitly because --font-display defaults to Geist for interface titles. */
html[data-reference-system="true"][data-theme] .dash-hero-title {
  font-family: "Grifter", var(--font-body);
  font-weight: 700;
}

html[data-reference-system="true"][data-theme] :is(
  .cp-row-of, .foot h5, .dash-foot-heading, .dash-tab-count,
  .mem-empty, .mem-account-sub,
  .billing-empty-meta, .cint__empty, .credit-empty .s, .profile-page .id-info .id-meta .since, .profile-page .hint,
  .suggest-count, .suggest-count-of, .suggest-toggle, .reference-editor-hint,
  .editor-keyboard-hint, .editor-keyboard-hint span, .editor-keyboard-hint kbd
) {
  color: var(--fg-3);
  opacity: 1;
}

/* Placeholder copy still has to be readable. Legacy fields used the faint
   decorative token, or compounded it with the browser's placeholder opacity. */
html[data-reference-system="true"][data-theme] :is(input, textarea):not(:disabled)::placeholder,
html[data-reference-system="true"][data-theme] #custom-prompt::placeholder {
  color: var(--fg-3) !important;
  opacity: 1;
}

/* Legacy anchor utilities otherwise override the primary button's ink. */
html[data-reference-system="true"][data-theme] a.button:not(.button-secondary):not(.button-danger) {
  background: var(--ref-button-primary-gradient) var(--rx-primary) !important;
  color: var(--rx-primary-ink) !important;
}
html[data-reference-system="true"][data-theme] a.button:not(.button-secondary):not(.button-danger):hover {
  background: var(--rx-primary-hover) !important;
  color: var(--rx-primary-ink) !important;
}

html[data-reference-system="true"][data-theme] :is(#api_panel, #knowledge_panel) .text-green-800,
html[data-reference-system="true"][data-theme] #email_panel .text-green-500 {
  color: var(--success-fg) !important;
}
html[data-reference-system="true"][data-theme] :is(#email_panel .text-red-500, #settings_panel .text-red-600) {
  color: var(--danger-fg) !important;
}
html[data-reference-system="true"][data-theme] :is(#knowledge_panel, #ai_overview_panel) a.text-blue-500 {
  color: var(--fg-2) !important;
  text-decoration: underline;
  text-underline-offset: .2em;
}
html[data-reference-system="true"][data-theme] :is(#knowledge_panel, #ai_overview_panel) a.text-blue-500:hover {
  color: var(--fg) !important;
}
html[data-reference-system="true"][data-theme="light"] #api_panel [class~="bg-[var(--warning-bg)]"] {
  background: color-mix(in srgb, var(--warning-fg) 5%, var(--bg-2));
}

/* The editor sidebar/chat can leave a narrow panel even on a wide viewport.
   Reuse the existing Endpoints/Request controls at the actual panel width. */
html[data-reference-system="true"][data-theme] #api_panel {
  display: block;
  height: 100%;
  container: reference-api / inline-size;
}
html[data-reference-system="true"][data-theme] #api_panel :is(.apiex__detail, input) { min-width: 0; }
@container reference-api (max-width: 760px) {
  html[data-reference-system="true"][data-theme] .apiex { flex-direction: column; }
  html[data-reference-system="true"][data-theme] .apiex__mtabs { display: flex; flex-shrink: 0; }
  html[data-reference-system="true"][data-theme] :is(.apiex__list, .apiex__detail) {
    flex: 1;
    width: 100%;
    min-height: 0;
    border-right: 0;
  }
  html[data-reference-system="true"][data-theme] .apiex[data-api-view="request"] .apiex__list,
  html[data-reference-system="true"][data-theme] .apiex[data-api-view="endpoints"] .apiex__detail { display: none; }
}

/* Bullet Train workflow cards share the auth lockup and surface hierarchy. */
html[data-reference-system="true"][data-theme] .reference-workflow-card {
  padding: clamp(24px, 5vw, 40px);
  background: var(--bg-2);
  color: var(--fg);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: none;
}
html[data-reference-system="true"][data-theme] .reference-workflow-card h1 { color: var(--fg); }
html[data-reference-system="true"][data-theme] .reference-workflow-card .auth-lockup { margin: 0; }
html[data-reference-system="true"][data-theme] .reference-workflow-badge {
  background: var(--bg-3);
  color: var(--fg-2);
  border-color: var(--line);
  border-radius: 8px;
}
html[data-reference-system="true"][data-theme] .reference-workflow-badge .animate-ping { display: none; }
html[data-reference-system="true"][data-theme] .reference-workflow-badge .bg-primary-500 { background: var(--success-fg); }

/* Navigation metadata and skill instructions are readable content, not the
   decorative/disabled fg-4 treatment used by older Computer screens. */
html[data-reference-system="true"][data-theme] :is(
  .computer-nav__heading, .computer-nav__empty, .computer-nav__meta,
  .computer-nav__time, .computer-skill-card__slug, .computer-skill-card__when > span,
  .chat-history__empty, .chat-history__row-time, .computer-chat__earlier,
  .computer-agentpc__loading, .composer-scope-picker__note, .ccon__muted,
  .cinbox__empty, .csched__empty
) { color: var(--fg-3); }

/* Match the shared settings heading rather than inheriting a card-label size.
   These hooks also keep API-key responsive rules attached to the real page. */
html[data-reference-system="true"][data-theme] .reference-account-heading {
  margin-bottom: 32px;
}
html[data-reference-system="true"][data-theme] .reference-account-heading h1 {
  margin: 0;
  color: var(--fg);
  font: 600 clamp(24px, 2.4vw, 32px)/1.2 var(--font-body);
  letter-spacing: -.025em;
}
html[data-reference-system="true"][data-theme] .reference-account-heading p {
  margin-top: 12px;
  color: var(--fg-2);
  font: 400 14px/1.6 var(--font-body);
}
html[data-reference-system="true"][data-theme] .reference-support-form .support-card,
html[data-reference-system="true"][data-theme] .apikeys-page > .rounded-lg {
  border-radius: 12px;
}
html[data-reference-system="true"][data-theme] .reference-support-form .support-card-body {
  padding: 24px;
}
@media (max-width: 639px) {
  html[data-reference-system="true"][data-theme] .reference-support-form .support-card-body {
    padding: 20px;
  }
}
/* App initials use Geist in the reference system. The legacy Grifter cap-height
   offset pushes them below center; do not move the tile or an uploaded logo. */
html[data-reference-system="true"][data-theme] :is(.proj-mark, .computer-nav__appletter, .dash-card .ico--applogo) {
  font-family: var(--font-body);
  line-height: 1;
  letter-spacing: 0;
}
html[data-reference-system="true"][data-theme] .editor-topbar .proj-switch .proj-mark .proj-mark-letter,
html[data-reference-system="true"][data-theme] .dash-card .ico .ico-letter {
  line-height: 1;
  transform: none;
}

/* The editor uses the same canvas and composer roles as the rest of the app.
   Do not alias its working canvas to the control/inset gray. */
html[data-reference-system="true"][data-theme="light"] body[data-reference-editor="true"] .editor-mobile-header {
  background-color: var(--bg);
}

/* Override the legacy bg-white bridge on the composer card itself. */
html[data-reference-system="true"][data-theme="light"] body[data-reference-editor="true"] .chat-composer-card {
  background-color: var(--rx-composer);
}

/* The 36px progress fill sits behind the phase only. Optional deployment
   steps occupy their own neutral row below it. */
html[data-reference-system="true"][data-theme] #deployment_progress_bar.deployment-progress--fixed {
  cursor: default;
}
html[data-reference-system="true"][data-theme] #deployment_progress_bar.deployment-progress--fixed > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  background-color: var(--rx-canvas);
  border-color: var(--line);
  box-shadow: none;
}
html[data-reference-system="true"][data-theme] #deployment_progress_bar.deployment-progress--fixed [data-deployment-progress-target="thinBar"] {
  grid-area: 1 / 1;
  height: 100%;
  min-height: 35px;
  border-radius: 0;
  background: var(--rx-canvas);
}
html[data-reference-system="true"][data-theme] #deployment_progress_bar.deployment-progress--fixed [data-deployment-progress-target="bar"].bg-editor-accent-green {
  background: color-mix(in srgb, var(--fg) 9%, var(--rx-canvas));
}
html[data-reference-system="true"][data-theme] #deployment_progress_bar.deployment-progress--fixed [data-deployment-progress-target="details"]:not(.hidden) {
  display: contents;
}
html[data-reference-system="true"][data-theme] #deployment_progress_bar.deployment-progress--fixed [data-deployment-progress-target="details"] > :first-child {
  grid-area: 1 / 1;
  position: relative;
  min-height: 35px;
  padding: 0 16px;
}
html[data-reference-system="true"][data-theme] #deployment_progress_bar.deployment-progress--fixed [data-steps] {
  grid-area: 2 / 1;
}
html[data-reference-system="true"][data-theme] #deployment_progress_bar.deployment-progress--fixed [data-deployment-progress-target="details"] .bg-editor-accent-green {
  background-color: var(--fg-4);
}
html[data-reference-system="true"][data-theme] #deployment_progress_bar.deployment-progress--fixed [data-steps]:not(:has(> *)) {
  display: none;
}
html[data-reference-system="true"][data-theme] #deployment_progress_bar.deployment-progress--fixed :is([data-deployment-progress-target="phase"], [data-deployment-progress-target="percentage"]) {
  font-size: 12px;
  font-weight: 600;
}

/* Collapse remains owned by deployment-progress. A hidden details target
   must not be revived by the grid presentation. The controller adds hover:h-2
   to the thin bar only while collapsed; keep that existing state contract. */
html[data-reference-system="true"][data-theme] #deployment_progress_bar.deployment-progress--fixed [data-deployment-progress-target="details"].hidden { display:none; }
html[data-reference-system="true"][data-theme] #deployment_progress_bar.deployment-progress--fixed [data-deployment-progress-target="thinBar"][class~="hover:h-2"] { height:4px; min-height:4px; }
html[data-reference-system="true"][data-theme] #deployment_progress_bar.deployment-progress--fixed [data-deployment-progress-target="thinBar"][class~="hover:h-2"]:hover { height:8px; min-height:8px; }
html[data-reference-system="true"][data-theme] [data-controller~="deployment-progress"]:not([data-deployment-progress-collapsible-value="false"]) #deployment_progress_bar.deployment-progress--fixed { cursor:pointer; }
html[data-reference-system="true"][data-theme] [data-deployment-progress-collapsible-value="false"] #deployment_progress_bar.deployment-progress--fixed [data-deployment-progress-target="chevron"] { display:none; }

/* Composer organization: one queue surface, then a deliberately separate input.
   Keep visibility controller-owned; the empty panel must occupy no space.
   The plain wrapper is inert outside this local Reference Lab adoption. */
html[data-reference-system="true"][data-theme] .editor-queue-panel:has([data-message-queue-target="queueBanner"]:not(.hidden), .editor-message-queue:not(.hidden), .js-steer-panel:not(.hidden)) {
  --ref-queue-panel-radius: 16px;
  --ref-queue-panel-border: 1px;
  --ref-queue-panel-inset: 8px;
  margin: 8px 12px 0;
  /* The header owns its vertical inset; outer top padding unbalances it. */
  padding: 0 calc(var(--ref-queue-panel-inset) - var(--ref-queue-panel-border)) calc(var(--ref-queue-panel-inset) - var(--ref-queue-panel-border));
  background: var(--bg-2);
  border: var(--ref-queue-panel-border) solid var(--line);
  border-radius: var(--ref-queue-panel-radius);
}
html[data-reference-system="true"][data-theme] .editor-queue-panel:not(:has(.editor-message-queue:not(.hidden), .js-steer-panel:not(.hidden))),
html[data-reference-system="true"][data-theme] .editor-queue-panel[data-queue-disclosure-collapsed="true"]:has(> [data-message-queue-target="queueBanner"]:not(.hidden)) {
  /* The short status strip keeps its compact, non-pill shape. */
  --ref-queue-panel-radius: var(--radius-md);
  padding-bottom: 0;
}
/* Recent steers can outlive the working banner. Keep them visible whenever
   the banner (and therefore the disclosure control) is unavailable. */
html[data-reference-system="true"][data-theme] .editor-queue-panel[data-queue-disclosure-collapsed="true"]:has(> [data-message-queue-target="queueBanner"]:not(.hidden)) > [data-queue-disclosure-target="content"] {
  display: none;
}
html[data-reference-system="true"][data-theme] .editor-queue-toggle {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  padding: 6px;
  border: 0;
  border-radius: max(0px, calc(var(--ref-queue-panel-radius) - var(--ref-queue-panel-inset)));
  background: transparent;
  color: var(--fg-3);
  cursor: pointer;
}
html[data-reference-system="true"][data-theme] .editor-queue-toggle:not(.hidden) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
/* The chevron appears only once there is a row to expand (Todd 2026-11-05,
   queue_disclosure_controller#hasRows), so it arrives mid-run. Grow its slot
   AND the 8px flex gap in from zero over 150ms instead of shoving the dots
   and "AI is working…" sideways in one frame; the status text stays
   left-aligned with the dots throughout. Entry uses @starting-style, exit a
   discrete `display` transition — browsers without either just snap, which is
   the old behaviour. Reduced motion snaps too. */
html[data-reference-system="true"][data-theme] .editor-queue-toggle {
  overflow: hidden;
  transition: flex-basis 150ms ease-out, width 150ms ease-out, padding 150ms ease-out,
    margin 150ms ease-out, opacity 150ms ease-out, display 150ms allow-discrete;
}
html[data-reference-system="true"][data-theme] .editor-queue-toggle.hidden {
  flex-basis: 0;
  width: 0;
  padding-inline: 0;
  margin-inline-end: -8px;
  opacity: 0;
}
/* No `.hidden` inside this at-rule: Tailwind's @apply expansion rewrites a
   `.hidden` there into junk selectors (seen in the compiled bundle). A
   display:none element takes no starting style anyway; the attribute only
   lifts specificity above the (pointer: coarse) 44px rule below. */
@starting-style {
  html[data-reference-system="true"][data-theme] .editor-queue-toggle[data-queue-disclosure-target] {
    flex-basis: 0;
    width: 0;
    padding-inline: 0;
    margin-inline-end: -8px;
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  html[data-reference-system="true"][data-theme] .editor-queue-toggle { transition: none; }
}
html[data-reference-system="true"][data-theme] .editor-queue-toggle:hover {
  background: var(--hover-bg);
  color: var(--fg);
}
html[data-reference-system="true"][data-theme] .editor-queue-toggle:focus-visible {
  outline: 2px solid var(--focus-ring-color);
  outline-offset: 2px;
}
html[data-reference-system="true"][data-theme] .editor-queue-toggle[aria-expanded="false"] svg {
  transform: rotate(-90deg);
}
html[data-reference-system="true"][data-theme] .editor-queue-panel > [data-message-queue-target="queueBanner"] {
  padding: 0;
}
html[data-reference-system="true"][data-theme] .editor-queue-panel .editor-queue-banner {
  min-height: 40px;
  /* The panel supplies the side inset. Match it vertically, counting the
     panel border once, so the edge controls sit evenly inside its corners. */
  padding: calc(var(--ref-queue-panel-inset) - var(--ref-queue-panel-border)) 0;
  gap: 8px 12px;
  align-items: center;
  flex-wrap: wrap;
  background: transparent;
  border: 0;
}
html[data-reference-system="true"][data-theme] .editor-queue-banner__summary {
  flex: 1 1 auto;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 8px;
}
html[data-reference-system="true"][data-theme] .editor-queue-banner__summary [data-queue-status] {
  font-size: 12px;
  line-height: 16px;
  align-items: center;
  white-space: nowrap;
  gap: 8px;
}
html[data-reference-system="true"][data-theme] .editor-queue-banner__count {
  background: transparent;
  margin-left: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--fg-3);
  font: 400 12px/16px var(--font-body);
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}
html[data-reference-system="true"][data-theme] .editor-queue-banner__actions {
  margin-left: auto;
  flex: 0 0 auto;
  align-items: center;
  gap: 4px;
}
html[data-reference-system="true"][data-theme] .editor-queue-panel .editor-queue-action {
  min-height: 28px;
  padding: 4px 8px;
  align-items: center;
  justify-content: center;
  border-radius: max(0px, calc(var(--ref-queue-panel-radius) - var(--ref-queue-panel-inset)));
  font-size: 12px;
  line-height: 16px;
  white-space: nowrap;
}
html[data-reference-system="true"][data-theme] .editor-queue-panel .editor-queue-action:not(.hidden) {
  display: inline-flex;
}
html[data-reference-system="true"][data-theme] .editor-queue-action:hover {
  background: var(--hover-bg);
}
html[data-reference-system="true"][data-theme] .editor-queue-panel #queue_container.editor-message-queue {
  padding: 4px 0 0;
  border-top: 1px solid var(--line);
  scrollbar-gutter: auto;
}
html[data-reference-system="true"][data-theme] .editor-queue-panel .js-steer-panel {
  padding: 4px 0 0;
}
html[data-reference-system="true"][data-theme] .editor-queue-panel .js-steer-panel:not(.hidden):has(~ .editor-message-queue:not(.hidden)) {
  padding-bottom: 4px;
}
/* Both Turbo and optimistic rows share the panel's single outer inset.
   Trailing wrapper margins must not add a second bottom gap. */
html[data-reference-system="true"][data-theme] .editor-queue-panel .editor-message-queue__group {
  margin-block: 0;
}
html[data-reference-system="true"][data-theme] .editor-queue-panel :is(#queue_container, #queued-messages-list, .steer-messages-list) {
  display: grid;
  gap: 4px;
}
html[data-reference-system="true"][data-theme] .editor-queue-panel :is(#queue_container, #queued-messages-list, .steer-messages-list).hidden {
  display: none;
}
html[data-reference-system="true"][data-theme] .editor-queue-panel :is(#queue_container, #queued-messages-list, .steer-messages-list) > * {
  margin-block: 0;
}
/* Concentric panel → row → action supplies the geometric baseline:
   16px → 8px → 4px, with 8px outer and 4px inner gaps. Queue actions use the
   reviewed 6px optical minimum below, without squeezing either gap. See the
   design guide's Nested corners section for this component exception. */
html[data-reference-system="true"][data-theme] .editor-queue-panel .queued-chip {
  --ref-queue-radius: max(0px, calc(var(--ref-queue-panel-radius) - var(--ref-queue-panel-inset)));
  --ref-queue-inset: 4px;
  --ref-queue-border: 0px;
  --ref-queue-action-size: 32px;
  min-height: calc(var(--ref-queue-action-size) + 2 * var(--ref-queue-inset));
  gap: var(--ref-queue-inset);
  margin-block: 0;
  padding: calc(var(--ref-queue-inset) - var(--ref-queue-border));
  border-radius: var(--ref-queue-radius);
}
html[data-reference-system="true"][data-theme] .editor-queue-panel .queued-chip--steer {
  --ref-queue-border: 1px;
}
html[data-reference-system="true"][data-theme] .editor-queue-panel .queued-chip:not(.queued-chip--steer) {
  background: transparent;
}
html[data-reference-system="true"][data-theme] .editor-queue-panel .queued-chip__content {
  align-self: center;
}
html[data-reference-system="true"][data-theme] .editor-queue-panel .queued-chip__text {
  color: var(--fg);
  line-height: 20px;
}
html[data-reference-system="true"][data-theme] .editor-queue-panel .queued-chip:not(.queued-chip--steer):hover {
  background: var(--hover-bg);
}
html[data-reference-system="true"][data-theme] .editor-queue-panel .queued-chip:not(.queued-chip--steer) .queued-chip__num {
  background: transparent;
  border-color: transparent;
  color: var(--fg-3);
  font-weight: 400;
}
html[data-reference-system="true"][data-theme] .editor-queue-panel .queued-chip__action {
  width: var(--ref-queue-action-size);
  min-height: var(--ref-queue-action-size);
  height: auto;
  align-self: stretch;
  /* Slightly softer than the 4px baseline; shared by neutral and red hovers. */
  border-radius: max(6px, calc(var(--ref-queue-radius) - var(--ref-queue-inset)));
}
html[data-reference-system="true"][data-theme] .editor-composer-wrap {
  padding: 12px 12px 4px;
}
html[data-reference-system="true"][data-theme] .chat-composer-card textarea {
  padding: 18px 20px 10px;
}
html[data-reference-system="true"][data-theme] .editor-composer-toolbar {
  align-items: flex-end;
  gap: 12px;
  padding: 4px 12px 12px;
}
html[data-reference-system="true"][data-theme] .editor-composer-footer {
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
  padding: 0 8px;
}
html[data-reference-system="true"][data-theme] .editor-composer-footer > :last-child:empty {
  display: none;
}
/* Match production: hints lead, optional actions trail. The bell's right-
   anchored tooltip then opens inward over the composer instead of the rail. */
html[data-reference-system="true"][data-theme] .editor-keyboard-hint {
  min-width: 0;
}
html[data-reference-system="true"][data-theme] .editor-composer-footer > :last-child {
  flex-shrink: 0;
  margin-left: auto;
}
html[data-reference-system="true"][data-theme] .editor-keyboard-hint kbd {
  border: 0;
  padding: 0 2px;
}
/* Respect the server's hidden state: the shared display:flex rule otherwise
   resurrects an empty Suggestions heading and its surrounding whitespace. */
html[data-reference-system="true"][data-theme] [data-reference-editor="true"] .suggest-block.hidden {
  display: none;
}
@media (pointer: coarse) {
  html[data-reference-system="true"][data-theme] .editor-queue-toggle {
    flex-basis: 44px;
    width: 44px;
    height: 44px;
  }
  html[data-reference-system="true"][data-theme] .editor-queue-panel .editor-queue-action {
    min-height: 44px;
  }
  html[data-reference-system="true"][data-theme] .editor-queue-panel .queued-chip {
    --ref-queue-action-size: 32px;
  }
  html[data-reference-system="true"][data-theme] .editor-queue-panel .queued-chip__action {
    opacity: 1;
  }
}

/* Dashboard sort (2026-11-02). The reference select rule (0,4,2) would make it
   a 44px field; hold it to the 36px of the search box beside it. */
html[data-reference-system="true"][data-theme] .dash-sort-select:not([multiple]):not([size]) {
  height: 36px;
  min-height: 36px;
  padding: 0 10px 0 12px;
  border-radius: var(--radius-sm);
  font: 500 13px var(--font-body);
}
/* Same line chevron the Integrations sort draws (.cint__sort-select), not the
   UA's filled triangle. */
html[data-reference-system="true"][data-theme] .dash-sort-select:not([multiple]):not([size])::picker-icon { content:""; width:7px; height:7px; border-right:1.5px solid currentColor; border-bottom:1.5px solid currentColor; padding:0; margin-left:14px; margin-right:3px; transform:translateY(-2px) rotate(45deg); color:var(--fg-3); }
/* Apps rail: keep the Reference Lab's compact desktop hierarchy, with real
   touch targets and discoverable actions when it becomes a mobile drawer. */
html[data-reference-system="true"][data-theme] .reference-rail-close { display: none; }
/* Use the supplied vector lockup. The 258×60 artwork keeps its native ratio;
   the collapsed rail exposes only its first 60×60 mark without rescaling. */
html[data-reference-system="true"][data-theme] .computer-nav__lockup {
  display: block;
  flex: 0 0 auto;
  width: calc(var(--rail-brand-size, 28px) * 4.3);
  height: var(--rail-brand-size, 28px);
  overflow: hidden;
}
html[data-reference-system="true"][data-theme] .computer-nav__lockup-image {
  display: block;
  width: calc(var(--rail-brand-size, 28px) * 4.3);
  max-width: none;
  height: var(--rail-brand-size, 28px);
}
html[data-reference-system="true"][data-theme] .computer-nav__lockup-image--light,
html[data-reference-system="true"][data-theme="light"] .computer-nav__lockup-image--dark {
  display: none;
}
html[data-reference-system="true"][data-theme="light"] .computer-nav__lockup-image--light {
  display: block;
}
@media (min-width: 1024px) {
  html[data-reference-system="true"][data-theme] .computer-nav--collapsed .computer-nav__lockup {
    width: var(--rail-brand-size, 28px);
  }
}

html[data-reference-system="true"][data-theme] :is(.computer-nav__proj-count, .computer-nav__pinned, .computer-nav__proj-act) {
  color: var(--fg-3);
}

@media (max-width: 1023px) {
  html[data-reference-system="true"][data-theme] .computer-nav:has(.reference-rail-close) .computer-nav__head-acts {
    width: 90px;
    overflow: visible;
  }
  html[data-reference-system="true"][data-theme] .computer-nav:has(.reference-rail-close) .computer-nav__logo-expand { display: none; }
  html[data-reference-system="true"][data-theme] .reference-rail-close { display: inline-flex; }
  html[data-reference-system="true"][data-theme] :is(
    .computer-nav__headbtn, .computer-nav__newfolder-btn, .computer-nav__seeall,
    .computer-nav__proj-icbtn, .computer-nav__proj-act
  ) {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
  }
  html[data-reference-system="true"][data-theme] .computer-nav:has(.reference-rail-close) .computer-nav__expander { display: none; }
  html[data-reference-system="true"][data-theme] :is(
    .computer-nav__item, .computer-nav__newchat, .computer-nav__proj,
    .computer-nav__kid, .computer-nav__heading--toggle, .computer-nav__proj-name,
    .computer-menu__item, .computer-npm__btn, .computer-npm__x
  ) {
    min-height: 44px;
    height: auto;
  }
  html[data-reference-system="true"][data-theme] .computer-nav__proj-name {
    line-height: 44px;
  }
  html[data-reference-system="true"][data-theme] .computer-nav__proj-acts {
    max-width: none;
    margin-left: 0;
    opacity: 1;
    pointer-events: auto;
  }
  html[data-reference-system="true"][data-theme] .computer-nav__proj-count { display: none; }
  html[data-reference-system="true"][data-theme] .computer-nav__kid {
    padding-left: 12px;
    padding-right: 50px;
    gap: 18px;
  }
  html[data-reference-system="true"][data-theme] .computer-nav__kid-icbtn {
    display: block;
    left: 0;
    top: 0;
    width: 44px;
    height: 44px;
  }
  html[data-reference-system="true"][data-theme] .computer-nav__kid-more {
    right: 0;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    opacity: 1;
    pointer-events: auto;
  }
  /* The status has its own slot before the always-visible action. */
  html[data-reference-system="true"][data-theme] .computer-nav__kid-wrap :is(.computer-nav__kid-st, .computer-nav__kid-new) {
    opacity: 1;
  }
  html[data-reference-system="true"][data-theme] .computer-npm__input { font-size: 16px; }
}

/* Product-switcher trigger uses the same supplied lockup as the plain rail. */
html[data-reference-system="true"][data-theme] .platform-switcher__lockup { display:block; overflow:hidden; flex:none; }
html[data-reference-system="true"][data-theme] .computer-nav--collapsed .platform-switcher--rail .platform-switcher__lockup { width:28px; }
html[data-reference-system="true"][data-theme] :is(.platform-switcher__lockup,.computer-nav__lockup) .brand-full-lockup { max-width:none!important; }
/* The admin shell deliberately stays dark. Resolve controls and status ink
   against that local theme, including when the surrounding page is light. */
html[data-reference-system="true"] .admin-shell :is(.text-blue-600, .text-indigo-600, .text-purple-600, .text-pink-600) {
  color: var(--info-fg);
}
html[data-reference-system="true"] .admin-shell .text-green-600 { color: var(--success-fg); }
html[data-reference-system="true"] .admin-shell .text-red-600 { color: var(--danger-fg); }
html[data-reference-system="true"] .admin-shell .text-orange-600 { color: var(--warning-fg); }
html[data-reference-system="true"] .admin-shell a.text-blue-600 {
  color: var(--fg-2);
  text-decoration: underline;
  text-underline-offset: .2em;
}
html[data-reference-system="true"] .admin-shell a.text-blue-600:hover { color: var(--fg); }

/* Legacy action fills become the Reference Lab primary control. Preserve
   separate destructive red controls and semantic status badges. */
html[data-reference-system="true"] .admin-shell :is(a, button, input[type="submit"]):not(.w-14):is(
  .bg-blue-500, .bg-blue-600, .bg-green-600, .bg-emerald-600, .bg-amber-500, .bg-amber-600
) {
  background: var(--ref-button-primary-gradient) var(--rx-primary);
  color: var(--rx-primary-ink);
  border-color: var(--rx-primary);
  border-radius: 10px;
  box-shadow: none;
  transition: background-color 140ms ease, color 140ms ease;
}
html[data-reference-system="true"] .admin-shell :is(a, button, input[type="submit"]):not(.w-14):is(
  .bg-blue-500, .bg-blue-600, .bg-green-600, .bg-emerald-600, .bg-amber-500, .bg-amber-600
):hover {
  background: var(--rx-primary-hover);
  color: var(--rx-primary-ink);
}

html[data-reference-system="true"] .admin-shell code { overflow-wrap: anywhere; }
html[data-reference-system="true"] .admin-shell .reference-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
html[data-reference-system="true"] .admin-shell .reference-toolbar > * { min-width: 0; margin-left: 0; }
html[data-reference-system="true"] .admin-shell .reference-tabs {
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
}
html[data-reference-system="true"] .admin-shell .reference-tabs > a { flex-shrink: 0; white-space: nowrap; }
html[data-reference-system="true"] .admin-shell .reference-chart-scroll { overflow-x: auto; }
html[data-reference-system="true"] .admin-shell .reference-chart-scroll > div { min-width: 420px; }
html[data-reference-system="true"] .admin-shell .reference-table-scroll { max-width: 100%; overflow-x: auto; }

/* Feature descriptions and identifiers must yield space to the toggle. */
html[data-reference-system="true"] .reference-feature-flags .flex-1 { min-width: 0; overflow-wrap: anywhere; }
html[data-reference-system="true"] .reference-feature-flags .space-x-3 { flex-wrap: wrap; gap: 8px; }
/* Generated account forms need the component contract, not only neutral paint.
   Shared hooks also cover forms supplied by Bullet Train gems. Table/resource
   pages keep their wider container. In layouts/app the page shell stays wide
   and _container.css caps only form cards at the shared form measure (#9742).
   Retain the narrow page fallback in other layouts. */
html[data-reference-system="true"][data-theme] .ds-bt-page:has(.ds-bt-box .form):not(:has(.box-table)):not(.account-main .account-page) {
  max-width: 896px;
}
html[data-reference-system="true"][data-theme] .ds-bt-page:has(.ds-bt-box .form) .ds-bt-page-divider {
  display: none;
}
html[data-reference-system="true"][data-theme] .ds-bt-box:has(.form):not(:has(.box-table)) {
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: none;
}
html[data-reference-system="true"][data-theme] .ds-bt-box:has(.form) > .ds-bt-box-heading,
html[data-reference-system="true"][data-theme] .ds-bt-box:has(.form) > div > .ds-bt-box-body {
  padding: 24px;
}
html[data-reference-system="true"][data-theme] .ds-bt-box:has(.form) .ds-bt-box-title {
  font: 600 18px/1.4 var(--font-body);
  letter-spacing: -.015em;
}
html[data-reference-system="true"][data-theme] .ds-bt-box:has(.form) .ds-bt-box-desc {
  font: 400 14px/1.6 var(--font-body);
  color: var(--fg-2);
  margin-top: 8px;
}
html[data-reference-system="true"][data-theme] .ds-bt-box .form > div + div {
  margin-top: 24px;
}
html[data-reference-system="true"][data-theme] .ds-bt-field-label {
  color: var(--fg-2);
  font: 600 13px/1.5 var(--font-body);
}
html[data-reference-system="true"][data-theme] .ds-bt-input:not([type="checkbox"],[type="radio"],[type="file"],.select2-hidden-accessible) {
  min-height: 40px;
  padding: 9px 14px;
  font: 500 14px/20px var(--font-body);
  border-radius: 8px;
  /* Beat the legacy dark:bg-slate-* utility bridge, which otherwise paints
     fields as cards. State borders/rings remain in field_focus_styles. */
  background-color: var(--rx-field) !important;
}
html[data-reference-system="true"][data-theme] .ds-bt-input:is(:disabled,[readonly]) {
  background-color: var(--rx-readonly) !important;
}
html[data-reference-system="true"][data-theme] .ds-bt-input[aria-invalid="true"] {
  background-color: color-mix(in srgb, var(--danger-fg) 10%, var(--rx-field)) !important;
}
html[data-reference-system="true"][data-theme] .ds-bt-box .select2-container--default .select2-selection--single {
  height: 40px !important;
  min-height: 40px;
  padding-inline: 14px 40px !important;
  font: 500 14px/20px var(--font-body);
}
html[data-reference-system="true"][data-theme] .select2-dropdown {
  font: 500 14px/1.5 var(--font-body);
}
html[data-reference-system="true"][data-theme] .ds-bt-box .form .buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 24px;
  margin-top: 28px;
  border-top: 1px solid var(--line);
}
html[data-reference-system="true"][data-theme] .ds-bt-box .form .buttons > * {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin: 0;
  padding: 9px 14px;
  border: 1px solid transparent;
  border-radius: var(--ref-button-radius);
  font: 500 14px/20px var(--font-body);
  text-decoration: none;
}
html[data-reference-system="true"][data-theme] .ds-bt-box .form .buttons .button-secondary {
  background: transparent;
  color: var(--fg-2);
  box-shadow: none;
}
html[data-reference-system="true"][data-theme] .ds-bt-box .form .buttons > :is(input, button) {
  padding: 9px 14px !important;
  font: 500 14px/20px var(--font-body) !important;
  border-radius: var(--ref-button-radius) !important;
}
html[data-reference-system="true"][data-theme] .ds-bt-box .form .buttons > .button:not(.button-secondary,.button-danger) {
  background: var(--ref-button-primary-gradient) var(--rx-primary) !important;
  color: var(--rx-primary-ink) !important;
}
html[data-reference-system="true"][data-theme] .ds-bt-box .form .buttons > .button:not(.button-secondary,.button-danger):hover:not(:disabled,[aria-disabled="true"]) {
  background: var(--ref-button-primary-gradient-hover) var(--ref-button-primary-hover) !important;
}
html[data-reference-system="true"][data-theme] .ds-bt-box .form .buttons .button-secondary:hover {
  background: var(--rx-hover);
  color: var(--fg);
  text-decoration: none;
}
html[data-reference-system="true"][data-theme] .ds-bt-box .form .buttons .reference-form-destroy {
  margin-inline-start: auto;
  color: var(--danger-fg);
  background: transparent;
}
html[data-reference-system="true"][data-theme] .ds-bt-box .form .buttons .reference-form-destroy:hover {
  background: color-mix(in srgb, var(--danger-fg) 10%, transparent);
}
html[data-reference-system="true"][data-theme] .ds-bt-box .form .buttons > :focus-visible {
  outline: 2px solid var(--ref-keyboard-focus);
  outline-offset: 3px;
}
@media (max-width: 639px) {
  html[data-reference-system="true"][data-theme] .ds-bt-box:has(.form) > .ds-bt-box-heading,
  html[data-reference-system="true"][data-theme] .ds-bt-box:has(.form) > div > .ds-bt-box-body {
    padding: 20px;
  }
  html[data-reference-system="true"][data-theme] .ds-bt-input:not([type="checkbox"],[type="radio"],[type="file"],.select2-hidden-accessible) {
    min-height: 44px;
    font-size: 16px;
  }
  html[data-reference-system="true"][data-theme] .ds-bt-box .select2-container--default .select2-selection--single {
    height: 44px !important;
    font-size: 16px;
  }
  html[data-reference-system="true"][data-theme] .ds-bt-box .form .buttons > * {
    min-height: 44px;
  }
  html[data-reference-system="true"][data-theme] .ds-bt-box .form .buttons .reference-form-destroy {
    flex-basis: 100%;
    margin-inline-start: 0;
    justify-content: flex-start;
  }
}
/* Component composition over reference_foundations.css. */
/* Chat cards sit closer to the canvas than general content panels. Scope the
   legacy surface aliases so message/tool cards, tasks and queue share the
   quieter fill, while composer and floating menus retain explicit roles. */
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] :is(#chat_panel,.chat-state-lab) {
 --bg-2:var(--rx-chat-panel);
 --rx-surface-selected:var(--rx-chat-selected);
}
/* Thinking and model selectors are siblings, so both use the same compact
   control radius. Include the Lab's interactive composer explorations. */
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] :is([data-thinking-effort-target="button"],[data-model-selector-target="button"],.rx-intelligence-trigger,.rx-model-trigger) {
 border-radius:8px;
}
/* Reference Lab's isolated rail uses the same role as the real apps rail,
   including the logo's hover replacement. */
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] :is(.rx-apps-rail,.rxa-logo-expand) {
 background-color:var(--rx-rail);
}
/* Keep the recessed dark rail separated by a quiet divider. */
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme="dark"] :is(.computer-nav,.rx-apps-rail) {
 border-right-color:var(--line);
}
/* The editor recesses chat, header and surrounding gutters together. Keep this
   darker canvas local to the editor, leaving dashboard/marketing surfaces alone. */
html:is([data-reference-system="true"],.reference-editor):not(.clickfunnels-reference)[data-theme="dark"] [data-controller~="editor-layout"] {
 /* --ed-canvas follows this --bg from theme.css, the one --ed-* site. */
 --bg:var(--rx-editor-canvas);
}
/* Preview sits above chat and shell in both appearances:
   white over soft gray, or panel over the darker editor canvas. The app iframe owns its theme. */
html:is([data-reference-system="true"],.reference-editor):not(.clickfunnels-reference)[data-theme] :is(#preview_frame,.pf-shell,.preview-state-overlay) {
 background-color:var(--rx-preview);
}
/* Floating composer menus must outrank the legacy dark utility bridge, which
   otherwise paints the thinking menu as a regular content panel. The hero
   Add/More menus share this surface instead of the older bg-2 and deep shadow. */
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] :is(.think-menu[data-thinking-effort-target="menu"],.composer-popover,.ed-flyout,.nah .nah-pop) {
 background-color:var(--rx-overlay); border-color:var(--rx-overlay-border); box-shadow:var(--rx-floating-shadow);
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .nah :is(.nah-add-item,.nah-idea):hover { background:var(--rx-overlay-hover); }
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .think-menu .think-menu__head {
 background:transparent;
}
/* Flat fills in every state, including loading and keyboard focus. Preserve
   focus rings, error colors, dimensions and the featured brand/Prism action. */
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .btn:is(.btn-primary,.btn-secondary,.btn-light,.btn-ghost):not(.rx-prism-action,.icon-btn,.btn-icon) {
 background-image:none!important;
 font-weight:500;
 transition:background-color 160ms ease,color 160ms ease;
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .btn:is(.btn-primary,.btn-secondary,.btn-light,.btn-ghost):not(.rx-prism-action,.icon-btn,.btn-icon,:focus-visible) {
 box-shadow:none;
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .btn:is(.btn-secondary,.btn-light) {
 color:var(--fg-2);
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .btn:is(.btn-secondary,.btn-light):is(:hover,.ref-hover-preview):not(:disabled,[aria-disabled="true"]) {
 color:var(--fg);
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .btn.btn-ghost:not(.rx-prism-action) {
 background-color:transparent; border-color:transparent; color:var(--fg-2);
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .btn.btn-ghost:is(:hover,.ref-hover-preview):not(:disabled,[aria-disabled="true"]) {
 background-color:var(--rx-secondary); border-color:transparent; color:var(--fg);
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] body { font-weight:400; }
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] :is(.text-body-lg,.text-body-md,.text-body,.text-body-sm,.sg-section-lede) { font-weight:400; }
/* Grifter ends at the Large Heading role; Medium Heading and smaller use Geist.
   Keep the UI display token intact so small component titles stay in Geist. */
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] :is(.text-heading-md,.text-heading-sm) { font-family:var(--font-body); font-weight:600; }
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] :is(.text-display-xl,.text-display-lg,.text-display-md,.text-heading-lg) { font-family:"Grifter","Geist",system-ui,sans-serif; font-weight:700; }
/* Headings establish hierarchy through weight and ink, descriptions through
   line length and body ink. The existing large-headline Grifter rules remain. */
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] :is(.text-heading-lg,.text-heading-md,.text-heading-sm,.auth-title,.pf-title,.preview-state-heading,.sg-section > h2) {
 color:var(--fg);
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] :is(.sg-section-lede,.auth-subtitle) {
 color:var(--fg-2); line-height:1.65;
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] :is(.sg-card > h3,.ref-nav-group-title,.ref-semantic-heading) {
 color:var(--fg-3); font-weight:500;
}
/* Reference specimen: the three text roles shown together in real context. */
.ref-hierarchy-example { padding:28px; margin:28px 0; border:1px solid var(--line); border-radius:16px; background:var(--bg-2); }
.ref-hierarchy-example__meta { margin:0 0 12px; color:var(--fg-3); font:500 12px/1.5 var(--font-body); }
.ref-hierarchy-example__title { margin:0 0 12px; color:var(--fg); font:600 28px/1.2 var(--font-body); letter-spacing:-.03em; }
.ref-hierarchy-example__body { margin:0; max-width:60ch; color:var(--fg-2); font:400 15px/1.7 var(--font-body); }
.ref-hierarchy-example__roles { display:flex; flex-wrap:wrap; gap:8px 24px; margin-top:24px; padding-top:20px; border-top:1px solid var(--line); font:400 13px/1.5 var(--font-body); }
@media(prefers-reduced-motion:reduce) {
 html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .btn:is(.btn-primary,.btn-secondary,.btn-light,.btn-ghost) { transition:none; }
}
@media(forced-colors:active) {
 html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .btn { forced-color-adjust:auto; }
}

/* Resting controls have a quiet edge, modestly clearer than decorative lines.
   Keep native/error/readonly/disabled states and composite inputs authoritative. */
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] :is(.composer,.chat-composer-card):not(:where([data-oauth-app-themed="true"] *)) {
 background-color:var(--rx-composer)!important;
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] {
 --field-border:var(--rx-field-border); --field-bg:var(--rx-field);
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] :is(input:not([type]),input:is([type="text"],[type="email"],[type="password"],[type="search"],[type="url"],[type="tel"],[type="number"],[type="date"],[type="datetime-local"],[type="month"],[type="time"],[type="week"]),textarea,select,button[role="combobox"],.combo,.rx-select-trigger,.select2-selection,[contenteditable="true"][role="textbox"]):not(:disabled,[readonly],[aria-readonly="true"],[aria-disabled="true"],[aria-invalid="true"],[aria-expanded="true"],.error,.is-invalid,:focus,:focus-within,:open):not(:where([data-oauth-app-themed="true"] *,[data-reference-field-focus="native"],.cm-editor *,.monaco-editor *,.CodeMirror *,.field_with_errors *,.select2-container--disabled *,.select2-container--open *,.composer *,.chat-composer-card *,.dash-composer *,[data-reference-field-shell] *,.cint__search *,.ctpl__search *,.ti-search *,.mem-search *,.computer-picker__search *,.url-field *,.pm-subdomain-input-wrap *,.dash-search *,.aref-search *,.hd-search *,.computer-library__search *,.ccon__search *,.wsid-handle *,.cd-input-wrap *,.hero2-composer *,.editor-chat-input *,.ref-compose *,.reference-generator-form > div *,.anonymous-build-entry form > div *,.oscmdk__input,.admin-cmdk__input)) {
 border-color:var(--rx-field-border)!important;
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] :is(.composer,.chat-composer-card,.dash-composer,[data-reference-field-shell],.cint__search,.ctpl__search,.ti-search,.mem-search,.computer-picker__search,.url-field,.pm-subdomain-input-wrap,.dash-search,.aref-search,.hd-search,.computer-library__search,.ccon__search,.wsid-handle,.cd-input-wrap,.hero2-composer,.editor-chat-input,.ref-compose,.reference-generator-form > div,.anonymous-build-entry form > div):not(:has(:is(input,textarea):focus,[aria-invalid="true"],.error,.is-invalid)):not(.is-invalid):not(:where([data-oauth-app-themed="true"] *)) {
 border-color:var(--rx-field-border)!important;
}
/* Selected controls retain their original neutral fill and existing icon or
   checkmark. Reserve the green double ring for actual keyboard/field focus. */

/* Selection is a persistent neutral fill + checkmark. The native base-select
   picker must not borrow the generic grey focus token as selection chrome.
   Keyboard focus uses an explicit inset brand outline, separate from selection. */
@supports(appearance:base-select) {
 html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] select:not([multiple]):not([size]):not(:where([data-oauth-app-themed="true"] *,[data-reference-field-focus="native"])) option {
  outline:none; box-shadow:none;
 }
 html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] select:not([multiple]):not([size]):not(:where([data-oauth-app-themed="true"] *,[data-reference-field-focus="native"])) option:checked {
  background:var(--rx-overlay-selected);
 }
 html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] select:not([multiple]):not([size]):not(:where([data-oauth-app-themed="true"] *,[data-reference-field-focus="native"])) option:checked:hover {
  background:var(--rx-overlay-selected-hover);
 }
 html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] select:not([multiple]):not([size]):not(:where([data-oauth-app-themed="true"] *,[data-reference-field-focus="native"])) option:focus-visible {
  outline:2px solid var(--ref-brand-detail); outline-color:var(--ref-brand-detail)!important; outline-offset:-2px;
 }
}

/* Clean transcript boundaries and a thin neutral resize indicator. Keep an
   12px transparent hit area so the 1px visual line remains easy to grab. The
   legacy controller's inline blue drag fill is intentionally suppressed. */
html:is([data-reference-system="true"],.reference-editor):not(.clickfunnels-reference)[data-theme] #chat_panel {
 --ref-resize-indicator:#A8A8A8;
}
html:is([data-reference-system="true"],.reference-editor):not(.clickfunnels-reference)[data-theme] #chat_panel [data-chat-edge-fade] { display:none; }
html:is([data-reference-system="true"],.reference-editor):not(.clickfunnels-reference)[data-theme] #chat_container { padding-bottom:12px; }
html:is([data-reference-system="true"],.reference-editor):not(.clickfunnels-reference)[data-theme] #chat_panel > [data-resizable-panel-target="handle"] {
 width:12px; right:-4px; background:transparent!important; opacity:1!important; box-shadow:none; z-index:51;
}
/* The hit area reaches 8px into chat and 4px into preview. Allow just that
   overlap while open; collapsed chat keeps its normal clipping. */
@media (min-width:1024px) {
 html:is([data-reference-system="true"],.reference-editor):not(.clickfunnels-reference)[data-theme] [data-editor-layout-chat-open="true"] #chat_panel { overflow:clip; overflow-clip-margin:4px; }
 html:is([data-reference-system="true"],.reference-editor):not(.clickfunnels-reference)[data-theme] #chat_panel > [data-resizable-panel-target="handle"]::after {
  content:""; position:absolute; right:3px; top:clamp(var(--resize-indicator-top,8px),calc(var(--resize-pointer-y,50%) - 100px),calc(100% - 208px)); width:1px; height:min(200px,calc(100% - var(--resize-indicator-top,8px) - 8px)); border-radius:999px; background:var(--ref-resize-indicator); opacity:0; pointer-events:none; transition:opacity 120ms ease;
 }
 html:is([data-reference-system="true"],.reference-editor):not(.clickfunnels-reference)[data-theme] [data-editor-layout-chat-open="true"] #chat_panel > [data-resizable-panel-target="handle"]:is(:hover,:active)::after { opacity:1; }
}
/* Flat selection controls, 2026-09-26. Shared verbatim with the Reference Lab.
 * OFF track (2026-11-02): --ref-control-off reads the shared --switch-track-off
 * from design_system/components/_form.css, so the Lab and every product switch
 * draw ONE off-state that clears WCAG 1.4.11's 3:1 (the 11% wash measured
 * 1.18:1 light / 1.66:1 dark and leaned on the edge alone).
 * Keep native inputs, label hit areas and state semantics; CFAI stays separate. */
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme="light"] {
 --ref-control-fill:var(--ref-brand-soft); --ref-control-ink:#FFFFFF;
 --ref-control-off:var(--switch-track-off); --ref-control-thumb:#FFFFFF;
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme="dark"] {
 --ref-control-fill:var(--ref-brand-soft); --ref-control-ink:#102016;
 --ref-control-off:var(--switch-track-off); --ref-control-thumb:var(--fg);
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] {
 --ref-selection-ink:var(--ref-control-fill); --ref-selection-glyph:var(--ref-control-ink);
 --ref-toggle-edge:var(--ref-control-fill); --ref-toggle-knob:var(--ref-control-ink);
 --ref-control-edge:color-mix(in srgb,var(--fg-3) 78%,var(--bg-2));
}
/* Both switch DOM forms have exactly the same geometry. */
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] :is(.switch,.toggle) {
 --ref-switch-width:60px; --ref-switch-height:28px; --ref-switch-thumb-width:34px;
 --ref-switch-thumb-height:22px; --ref-switch-travel:20px;
 width:var(--ref-switch-width); height:var(--ref-switch-height);
 flex-shrink:0;
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] :is(.switch.sm,.toggle.sm) {
 --ref-switch-width:48px; --ref-switch-height:24px; --ref-switch-thumb-width:26px;
 --ref-switch-thumb-height:18px; --ref-switch-travel:16px;
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] :is(.switch .track,.toggle) {
 background:var(--ref-control-off); border:1px solid var(--ref-control-edge);
 border-radius:999px; box-shadow:none;
 transition:background-color 160ms ease,border-color 160ms ease;
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .switch .knob,
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .toggle::after {
 width:var(--ref-switch-thumb-width); height:var(--ref-switch-thumb-height);
 background:var(--ref-control-thumb); border-radius:999px;
 box-shadow:0 1px 2px color-mix(in srgb,var(--fg) 14%,transparent);
 transform:translateX(0);
 transition:transform 180ms ease,background-color 160ms ease;
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .switch .knob { top:3px; left:3px; }
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .toggle::after { top:2px; left:2px; }
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .switch input:checked ~ .track,
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .switch[aria-checked="true"] .track,
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .toggle:checked {
 background:var(--ref-checkbox-fill)!important; border-color:var(--ref-control-edge)!important;
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .switch input:checked ~ .knob,
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .switch[aria-checked="true"] .knob,
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .toggle:checked::after {
 transform:translateX(var(--ref-switch-travel)); background:var(--ref-control-ink);
 box-shadow:none;
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] :is(input.checkbox,input.radio) {
 background:var(--rx-field,var(--field-bg)); border-color:var(--ref-control-edge);
 box-shadow:none; accent-color:var(--ref-control-fill);
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] input.radio:checked {
 background:var(--ref-checkbox-fill)!important; border-color:var(--ref-control-edge)!important;
}
/* Native and auth-proxy checkboxes share a flat fill and black mark. A visible
   neutral outline preserves the control boundary on light backgrounds. */
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] input.checkbox:is(:checked,:indeterminate):not([data-oauth-app-themed="true"] *),
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .auth-check-input:checked + .auth-check-box:not([data-oauth-app-themed="true"] *) {
 background:var(--ref-checkbox-fill)!important;
 border-color:var(--ref-control-edge)!important;
 color:var(--ref-checkbox-ink);
 box-shadow:none;
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] input.checkbox:checked:not([data-oauth-app-themed="true"] *)::after { border-color:var(--ref-checkbox-ink); }
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] input.radio:checked::after { background:var(--ref-checkbox-ink); }
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] input.checkbox:indeterminate:not([data-oauth-app-themed="true"] *)::after {
 content:""; width:8px; height:2px; border:0; border-radius:1px;
 background:var(--ref-checkbox-ink); transform:none;
}
/* Focus is independent of pointer hover and does not change the control size.
   The ring reads --focus-ring-color, the named role (which resolves to this
   same --ref-keyboard-focus value), never --accent: a hard brand-green outline
   is banned app-wide and spec/javascript/focus_ring_soft_spec.rb enforces it.
   Naming the role matters now that the CHECKED fill is brand green — the ring
   must not follow the fill. */
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] :is(.checkbox,.radio,.toggle):focus-visible,
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .switch input:focus-visible ~ .track,
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] button.switch:focus-visible .track {
 outline:2px solid var(--focus-ring-color); outline-offset:3px; box-shadow:none;
}
@media(prefers-reduced-motion:reduce) {
 html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] :is(.switch .track,.switch .knob,.toggle,.checkbox,.radio),
 html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .toggle::after { transition:none!important; }
}
@media(forced-colors:active) {
 html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] :is(input.checkbox,.auth-check-box):not([data-oauth-app-themed="true"] *) {
  --ref-checkbox-fill:Highlight; --ref-checkbox-ink:HighlightText;
  --ref-control-edge:ButtonText; forced-color-adjust:none;
 }
 html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .auth-check-input:not(:checked) + .auth-check-box:not([data-oauth-app-themed="true"] *) {
  background:Canvas; border-color:ButtonText;
 }
 html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .auth-check-input:focus-visible + .auth-check-box:not([data-oauth-app-themed="true"] *) { outline-color:Highlight; }
 html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] {
  --ref-control-fill:Highlight; --ref-control-ink:HighlightText;
  --ref-control-off:Canvas; --ref-control-thumb:CanvasText; --ref-control-edge:ButtonText;
 }
 html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] :is(.switch .track,.switch .knob,.toggle,.checkbox,.radio),
 html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .toggle::after { forced-color-adjust:none; }
}
/* Grouped account menu: one recipe for header, classic rail and editor rail.
   Above-trigger placement stays owned by positionAboveTrigger. Only the body
   scrolls; identity, appearance and sign-out remain visible on laptop screens. */
/* A sticky rail creates its own stacking context even with z-index:auto.
   Raise that context above page content and sticky headers, below dialogs;
   the credit dialog uses layer 70, independently of the shared modal token.
   Raising only the
   nested account menu cannot lift it above app cards in the adjacent column.
   Touch drawers retain their existing backdrop/header layer ordering. */
@media (min-width:1024px) {
  html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .os-rail-shell > .computer-nav { z-index:calc(var(--z-sticky) + 1); }
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .reference-account-menu {
  width: 296px;
  min-width: 0;
  max-width: calc(100vw - 24px);
  max-height: min(680px, var(--os-account-panel-max-h, calc(100dvh - 88px)));
  box-sizing: border-box;
  padding: 8px;
  border: 1px solid var(--rx-overlay-border);
  border-radius: 16px;
  background: var(--rx-overlay);
  overflow: hidden;
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .reference-account-menu:not(.hidden) { display: flex; flex-direction: column; }
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .reference-account-menu .nav-user-menu-head {
  flex: 0 0 auto; padding: 10px 12px 12px; margin: 0 0 4px; border-bottom: 1px solid var(--line);
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .reference-account-menu .nav-user-menu-name { font-size: 14px; line-height: 20px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .reference-account-menu .nav-user-menu-team { margin-top: 3px; font: 400 12px/18px var(--font-body); color: var(--fg-3); letter-spacing: 0; text-transform: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .reference-account-menu__scroll { min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .reference-account-menu__group { padding: 3px 0 7px; }
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .reference-account-menu__group + .reference-account-menu__group { border-top: 1px solid var(--line); padding-top: 7px; }
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .reference-account-menu .nav-user-menu-section-label { padding: 4px 12px 5px; font: 500 11px/16px var(--font-body); color: var(--fg-3); text-transform: none; letter-spacing: 0; }
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .reference-account-menu .nav-user-menu-item { display: flex; align-items: center; width: 100%; min-height: 36px; height: auto; padding: 8px 12px; gap: 10px; border: 0; border-radius: 8px; font: 400 13px/20px var(--font-body); text-align: left; color: var(--fg-2); background: transparent; box-shadow: none; }
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .reference-account-menu .nav-user-menu-item svg { width: 16px; height: 16px; flex: 0 0 16px; color: var(--fg-3); }
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .reference-account-menu .nav-user-menu-item:hover { color: var(--fg); background: var(--rx-overlay-hover); }
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .reference-account-menu .nav-user-menu-item--active { background: var(--rx-overlay-selected); color: var(--fg); }
/* The current page's row: the same selected fill, plus its glyph firms to --fg.
   Its own rule, not :is() with the row above: :is() would lift the workspace
   row past the :hover rule and change how that row looks under the pointer. */
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .reference-account-menu .nav-user-menu-item[aria-current="page"] { background: var(--rx-overlay-selected); color: var(--fg); }
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .reference-account-menu .nav-user-menu-item[aria-current="page"] svg { color: var(--fg); }
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .reference-account-menu .nav-user-menu-check { color: var(--ref-brand-detail); margin-left: auto; }
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .reference-account-menu .nav-user-menu-item:focus-visible { outline: 2px solid var(--ref-brand-detail)!important; outline-offset: -2px!important; box-shadow: none!important; }
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .reference-account-menu__footer { flex: 0 0 auto; border-top: 1px solid var(--line); padding-top: 6px; }
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .reference-account-menu .ds-appearance { margin: 0; padding: 4px 12px 10px; gap: 12px; }
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .reference-account-menu .ds-appearance__label { padding-left: 0; text-align: left; font-size: 13px; font-weight: 400; }
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .reference-account-menu .nav-user-menu-item--danger { color: var(--danger-fg); }
/* Match the rail's danger tint and outrank the generic menu hover. */
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .reference-account-menu .nav-user-menu-item--danger:is(:hover,:focus-visible) { color: var(--danger-fg); background: color-mix(in srgb, var(--danger-fg) 12%, transparent); }
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .reference-account-menu .nav-user-menu-item--danger svg { color: inherit; }
@media (pointer: coarse) {
  html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .reference-account-menu .nav-user-menu-item { min-height: 44px; }
}

/* The Appearance track needs its own surface against an overlay menu;
   bg-3 nearly matches that parent in dark mode. Preserve the shared thumb. */
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .ds-appearance .seg {
  background: var(--rx-overlay-selected);
  border-color: var(--line-2);
}

/* Pointer opening must not inherit a ring from an earlier keyboard opening. */
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .reference-account-menu[data-focus-origin="pointer"] .nav-user-menu-item:focus-visible { outline: none!important; box-shadow: none!important; }

/* Existing menus keep their original actions and scroll as one body. */
html[data-reference-system="true"][data-theme] .reference-account-menu:not(:has(.reference-account-menu__scroll)) {
  overflow-y: auto;
  overscroll-behavior: contain;
}
html[data-reference-system="true"][data-theme] .reference-account-menu:not(.hidden):not(:has(.reference-account-menu__scroll)) {
  display: block;
}
/* Conditional editor states must use the same surfaces as the always-visible
   composer. Attribute hooks survive Turbo and client-rendered task updates. */
html:is([data-reference-system="true"],.reference-editor):not(.clickfunnels-reference)[data-theme] [data-reference-legacy-activity] { display:none!important; }
html:is([data-reference-system="true"],.reference-editor):not(.clickfunnels-reference)[data-theme] .reference-completed-thought { display:block; }
html:is([data-reference-system="true"],.reference-editor):not(.clickfunnels-reference)[data-theme] .reference-reply-activity {
 display:grid; grid-template-columns:20px minmax(0,1fr) 24px; align-items:center; gap:8px;
 width:100%; max-width:100%; min-width:0; min-height:24px; margin-top:8px; color:var(--fg-3); font:400 12px/20px var(--font-body);
}
html:is([data-reference-system="true"],.reference-editor):not(.clickfunnels-reference)[data-theme] .reference-reply-activity__label {
 display:block; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
}
html:is([data-reference-system="true"],.reference-editor):not(.clickfunnels-reference)[data-theme] .reference-reply-activity__cancel {
 display:inline-flex; align-items:center; justify-content:center; width:24px; height:24px;
 padding:0; border:0; border-radius:4px; background:transparent; color:var(--fg-3); opacity:.6;
 text-decoration:none; transition:color 140ms ease,background-color 140ms ease,opacity 140ms ease;
}
.reference-reply-activity-preview { min-width:0; max-width:100%; padding:12px; margin:12px 0; border:1px solid var(--line); border-radius:12px; color:var(--fg-2); background:var(--rx-panel); font:400 12px/1.5 var(--font-body); }
.reference-reply-activity-preview__heading { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.reference-reply-activity-preview__heading h3 { margin:0; font:600 13px/20px var(--font-body); color:var(--fg); }
.reference-reply-activity-preview__heading > span { flex-shrink:0; color:var(--fg-3); font-variant-numeric:tabular-nums; }
.reference-reply-activity-preview > p { margin:8px 0; color:var(--fg-3); }
.reference-reply-activity-preview__controls { display:flex; align-items:flex-end; flex-wrap:wrap; gap:8px; margin:12px 0; }
.reference-reply-activity-preview__controls label { display:grid; gap:4px; flex:1 1 200px; min-width:0; }
.reference-reply-activity-preview__controls :is(select,button) { min-height:32px; max-width:100%; padding:6px 8px; color:var(--fg-2); background:var(--bg-3); border:1px solid var(--line); border-radius:var(--radius-sm); font:500 12px/18px var(--font-body); }
.reference-reply-activity-preview__controls select { width:100%; min-width:0; }
.reference-reply-activity-preview__controls button { display:inline-flex; align-items:center; justify-content:center; cursor:pointer; white-space:nowrap; }
.reference-reply-activity-preview__controls button:hover:not(:disabled) { background:var(--hover-bg); color:var(--fg); }
.reference-reply-activity-preview__controls button:disabled { opacity:.45; cursor:default; }
.reference-reply-activity-preview__controls :is(select,button):focus-visible { outline:2px solid var(--focus-ring-color); outline-offset:2px; }
.reference-reply-activity-preview__navigation { display:flex; align-items:center; gap:6px; }
.reference-reply-activity-preview__stage { min-width:0; min-height:50px; padding:12px; border:1px solid var(--line); border-radius:var(--radius-md); background:var(--rx-canvas); }
html[data-reference-system="true"][data-theme] .reference-reply-activity-preview__stage .reference-reply-activity { margin-top:0; }
.reference-reply-activity-preview__empty { min-height:24px; display:flex; align-items:center; color:var(--fg-3); }
.reference-reply-activity-preview__note { min-height:36px; overflow-wrap:anywhere; }
@media(pointer:coarse) { .reference-reply-activity-preview__controls :is(select,button) { min-height:44px; } }
/* Keep cancellation neutral at rest; pointer and keyboard intent share danger ink. */
html:is([data-reference-system="true"],.reference-editor):not(.clickfunnels-reference)[data-theme] [data-reference-chat-cancel]:is(:hover,:focus-visible) {
 color:var(--danger-fg); background:var(--rx-surface-hover); opacity:1;
}
html:is([data-reference-system="true"],.reference-editor):not(.clickfunnels-reference)[data-theme] [data-reference-chat-cancel]:focus-visible {
 outline:2px solid var(--focus-ring-color); outline-offset:2px;
}
html:is([data-reference-system="true"],.reference-editor):not(.clickfunnels-reference)[data-theme] #task_progress_card {
 background:var(--bg-2); color:var(--fg-2); border:1px solid var(--line); border-radius:16px; box-shadow:none; font:400 13px/1.5 var(--font-body);
}
html:is([data-reference-system="true"],.reference-editor):not(.clickfunnels-reference)[data-theme] #task_progress_card [data-task-progress-target="header"] {
 padding:10px 12px; background:transparent; border-color:var(--line); outline-offset:-3px;
}
html:is([data-reference-system="true"],.reference-editor):not(.clickfunnels-reference)[data-theme] #task_progress_card [data-task-progress-target="header"]:hover:not(:has(button:hover)) { background:color-mix(in srgb,var(--rx-surface-hover) 35%,var(--bg-2)); }
html:is([data-reference-system="true"],.reference-editor):not(.clickfunnels-reference)[data-theme] #task_progress_card [data-task-progress-target="header"]:focus-visible { outline:2px solid var(--ref-focus); border-radius:12px; }
html:is([data-reference-system="true"],.reference-editor):not(.clickfunnels-reference)[data-theme] #task_progress_card [data-task-progress-target="header"] > .flex { gap:8px; flex-wrap:nowrap; }
html:is([data-reference-system="true"],.reference-editor):not(.clickfunnels-reference)[data-theme] #task_progress_card [data-task-progress-target="header"] .font-medium { color:var(--fg); }
html:is([data-reference-system="true"],.reference-editor):not(.clickfunnels-reference)[data-theme] #task_progress_card :is(.text-xs,[data-task-progress-target="percentage"]) { color:var(--fg-3); font-size:12px; font-variant-numeric:tabular-nums; }
html:is([data-reference-system="true"],.reference-editor):not(.clickfunnels-reference)[data-theme] #task_progress_card [data-task-progress-target="header"] > .h-1\.5 { height:3px; background:var(--line); margin-top:6px; }
html:is([data-reference-system="true"],.reference-editor):not(.clickfunnels-reference)[data-theme] #task_progress_card [data-task-progress-target="progressBar"] { background:var(--ref-brand-soft); }
html:is([data-reference-system="true"],.reference-editor):not(.clickfunnels-reference)[data-theme] #task_progress_card [data-task-progress-target="taskList"] { max-height:none; overflow:visible; }
html:is([data-reference-system="true"],.reference-editor):not(.clickfunnels-reference)[data-theme] #task_progress_card ul { display:grid; gap:4px; padding:6px; margin:0; list-style:none; }
html:is([data-reference-system="true"],.reference-editor):not(.clickfunnels-reference)[data-theme] #task_progress_card li[data-task-id] { display:flex; gap:8px; align-items:center; padding:6px 12px; margin:0; border:0; border-radius:10px; min-width:0; min-height:32px; background:transparent; }
html:is([data-reference-system="true"],.reference-editor):not(.clickfunnels-reference)[data-theme] #task_progress_card li[data-task-id] > * { margin:0; }
html:is([data-reference-system="true"],.reference-editor):not(.clickfunnels-reference)[data-theme] #task_progress_card li[data-task-id] .text-sm { font-size:13px; line-height:20px; color:var(--fg-2); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
html:is([data-reference-system="true"],.reference-editor):not(.clickfunnels-reference)[data-theme] #task_progress_card li:is([data-status="in_progress"],[data-status="blocked"]) { background:var(--rx-surface-selected); }
html:is([data-reference-system="true"],.reference-editor):not(.clickfunnels-reference)[data-theme] #task_progress_card li[data-status="in_progress"] .text-sm { color:var(--fg); font-weight:500; }
html:is([data-reference-system="true"],.reference-editor):not(.clickfunnels-reference)[data-theme] #task_progress_card li[data-status="completed"] .text-sm { color:var(--fg-3); }
html:is([data-reference-system="true"],.reference-editor):not(.clickfunnels-reference)[data-theme] #task_progress_card li:is([data-status="skipped"],[data-status="stopped"]) .text-sm { color:var(--fg-3); }
html:is([data-reference-system="true"],.reference-editor):not(.clickfunnels-reference)[data-theme] #task_progress_card svg[data-task-lucide] { width:16px; height:16px; display:inline-block; flex-shrink:0; vertical-align:-3px; color:var(--fg-3); }
html:is([data-reference-system="true"],.reference-editor):not(.clickfunnels-reference)[data-theme] #task_progress_card svg:is(.fa-check,.fa-check-circle,.fa-circle-notch) { color:var(--ref-brand-soft); }
html:is([data-reference-system="true"],.reference-editor):not(.clickfunnels-reference)[data-theme] #task_progress_card svg:is(.fa-clock,.fa-hand-paper,.fa-pause-circle,.fa-exclamation-triangle) { color:var(--warning-fg); }
html:is([data-reference-system="true"],.reference-editor):not(.clickfunnels-reference)[data-theme] #task_progress_card :is(svg.fa-circle-exclamation,svg.fa-times-circle,[data-status="failed"] .text-sm,[data-status="failed"] .mt-0\.5) { color:var(--danger-fg); }
html:is([data-reference-system="true"],.reference-editor):not(.clickfunnels-reference)[data-theme] #task_progress_card[data-task-paused="true"] .fa-spin,html:is([data-reference-system="true"],.reference-editor):not(.clickfunnels-reference)[data-theme] #task_progress_card[data-task-stale="true"] .fa-spin { animation:none; color:var(--warning-fg); }
html:is([data-reference-system="true"],.reference-editor):not(.clickfunnels-reference)[data-theme] #task_progress_card :is(button,[data-task-progress-target="pauseControls"] > span) { display:inline-flex; align-items:center; justify-content:center; gap:6px; padding:5px 8px; min-height:28px; border:1px solid var(--line); border-radius:8px; background:var(--bg-3); color:var(--fg-2); font:500 12px/1.4 var(--font-body); transition:background-color 140ms ease,border-color 140ms ease,color 140ms ease; }
html:is([data-reference-system="true"],.reference-editor):not(.clickfunnels-reference)[data-theme] #task_progress_card button:hover { background:var(--rx-overlay-selected-hover); border-color:var(--line-2); color:var(--fg); }
html:is([data-reference-system="true"],.reference-editor):not(.clickfunnels-reference)[data-theme] #task_progress_card button svg[data-task-lucide] { margin:0; width:11px; height:11px; color:inherit; }
/* The dismiss ✕ is a SQUARE GHOST icon button, not one of the card's text
   chips. The blanket rule above gives every `#task_progress_card button`
   5px/8px padding, a filled surface and a border — on a 24px icon button that
   left 6px for a 14px glyph (measured) and wrapped a chip around something
   that should read as chrome. Ghost + no padding + a fixed box. */
html:is([data-reference-system="true"],.reference-editor):not(.clickfunnels-reference)[data-theme] #task_progress_card button[data-task-progress-target="dismiss"] { width:24px; height:24px; min-height:24px; padding:0; gap:0; flex:0 0 auto; background:transparent; border-color:transparent; color:var(--fg-3); }
html:is([data-reference-system="true"],.reference-editor):not(.clickfunnels-reference)[data-theme] #task_progress_card button[data-task-progress-target="dismiss"]:hover { background:var(--rx-overlay-selected-hover); border-color:transparent; color:var(--fg); }
html:is([data-reference-system="true"],.reference-editor):not(.clickfunnels-reference)[data-theme] #task_progress_card button[data-task-progress-target="dismiss"] svg { width:14px; height:14px; }
/* …and `hidden` has to keep winning. The blanket `#task_progress_card button`
   rule above sets `display:inline-flex` at a higher specificity than
   Tailwind's single-class `.hidden`, so the ✕ shipped VISIBLE on a live run
   until this carve-out existed (caught in the browser, not by a spec). */
html:is([data-reference-system="true"],.reference-editor):not(.clickfunnels-reference)[data-theme] #task_progress_card button[data-task-progress-target="dismiss"].hidden { display:none; }
html:is([data-reference-system="true"],.reference-editor):not(.clickfunnels-reference)[data-theme] #task_progress_card [data-task-progress-target="estimatedTime"] { padding:9px 12px; background:transparent; border-color:var(--line); color:var(--fg-3); }
html:is([data-reference-system="true"],.reference-editor):not(.clickfunnels-reference)[data-theme] #task_progress_card [data-task-progress-target="estimatedTime"] span { color:inherit; }
@media(prefers-reduced-motion:reduce) {
 html:is([data-reference-system="true"],.reference-editor):not(.clickfunnels-reference)[data-theme] #task_progress_card :is(.fa-spin,.animate-pulse) { animation:none; }
 html:is([data-reference-system="true"],.reference-editor):not(.clickfunnels-reference)[data-theme] #task_progress_card [data-task-progress-target] { transition:none; }
}
/* Compact, single-line rows. The full list expands naturally; no nested
   scrollbar or 400px collapse cap may hide tasks. Header still controls collapse. */
html:is([data-reference-system="true"],.reference-editor):not(.clickfunnels-reference)[data-theme] #task_progress_card:has([data-task-progress-target="header"][aria-expanded="true"]) [data-task-progress-target="collapsibleContent"] { max-height:none!important; }
html:is([data-reference-system="true"],.reference-editor):not(.clickfunnels-reference)[data-theme] #task_progress_card [data-task-progress-target="header"] .fa-tasks { display:none; }
html:is([data-reference-system="true"],.reference-editor):not(.clickfunnels-reference)[data-theme] #task_progress_card button svg.fa-pause { fill:currentColor; stroke:none; }
html:is([data-reference-system="true"],.reference-editor):not(.clickfunnels-reference)[data-theme] #task_progress_card button:active { background:var(--rx-overlay-active); }
html:is([data-reference-system="true"],.reference-editor):not(.clickfunnels-reference)[data-theme] #task_progress_card button:focus-visible { outline:2px solid var(--ref-focus); outline-offset:2px; }
/* Omit routine completion/ETA chatter, preserving actionable recovery states. */
html:is([data-reference-system="true"],.reference-editor):not(.clickfunnels-reference)[data-theme] #task_progress_card[data-task-paused="false"][data-task-stale="false"]:not(:has([data-status="blocked"],[data-status="failed"])) [data-task-progress-target="estimatedTime"] { display:none; }
html:is([data-reference-system="true"],.reference-editor):not(.clickfunnels-reference)[data-theme] #task_progress_card [data-task-progress-target="estimatedTime"] > div { gap:8px; flex-wrap:wrap; }
/* Match the 12px queue-to-composer gap, including the real editor fixture. */
html:is([data-reference-system="true"],.reference-editor):not(.clickfunnels-reference)[data-theme] [data-chat-form-wrapper]:has(#task_progress_container:not(.hidden):not(.is-under-build-card)) .editor-queue-panel:has([data-message-queue-target="queueBanner"]:not(.hidden), .editor-message-queue:not(.hidden), .js-steer-panel:not(.hidden)) { margin-top:12px; }
@media(pointer:coarse) {
 html:is([data-reference-system="true"],.reference-editor):not(.clickfunnels-reference)[data-theme] #task_progress_card button { min-height:36px; }
 /* Keep the ghost ✕ SQUARE at the touch size; the rule above only grows height. */
 html:is([data-reference-system="true"],.reference-editor):not(.clickfunnels-reference)[data-theme] #task_progress_card button[data-task-progress-target="dismiss"] { width:36px; height:36px; min-height:36px; }
}
/* A very long plan uses the chat column's normal overflow instead of a
   scrollbar inside the task card. Do not clip the task list or composer. */
@media(min-width:1024px) {
 html[data-reference-system="true"][data-theme] #chat_panel:has(#task_progress_container:not(.hidden):not(.is-under-build-card)) > [data-controller~="chat-scroller"] { overflow-y:auto; }
 /* #7826: 100px overrode the #2097/#2105 feed floor and collapsed the
    reply to about an inch whenever the task list was open on a laptop.
    Keep that same floor so the feed stays readable. */
 html[data-reference-system="true"][data-theme] #chat_panel:has(#task_progress_container:not(.hidden):not(.is-under-build-card)) #chat_container { min-height:clamp(132px, 22vh, 240px); }
 /* #7826's 14px slate-grey widen of #chat_container was REVERSED 2026-11-04
    (Sanzone: "too wide and too blue"). The feed now uses the one DS
    scrollbar (design_system/components/_scrollbar.css): 6px, neutral ink,
    and — unlike the "8px" thumb #7826 saw — visible at rest. */
 html[data-reference-system="true"][data-theme] .editor-chat-input-wrapper:has(#task_progress_container:not(.hidden):not(.is-under-build-card)) { flex-shrink:0; }
}
@media(min-width:1024px) and (max-height:1000px) and (pointer:fine) {
 html[data-reference-system="true"][data-theme] [data-chat-form-wrapper]:has(#task_progress_container:not(.hidden):not(.is-under-build-card)) .queued-chip:not(.queued-chip--steer) { --ref-queue-action-size:28px; }
}
@media(min-width:1024px) and (max-height:1000px) {
 html[data-reference-system="true"][data-theme] [data-chat-form-wrapper]:has(#task_progress_container:not(.hidden):not(.is-under-build-card)) .chat-composer-card textarea:placeholder-shown { min-height:80px; height:80px!important; }
}
/* The local fixture uses a native disclosure so laptop reviews keep the
   task/composer visible. Expanding it stays within the preview-side width. */
.reference-chat-preview-controls { position:fixed; top:120px; right:28px; z-index:90; max-width:min(630px,calc(100vw - 56px)); background:var(--rx-overlay); border:1px solid var(--line); border-radius:12px; box-shadow:var(--rx-floating-shadow); color:var(--fg-2); font:12px/1.4 var(--font-body); }
.reference-chat-preview-controls > summary { display:flex; align-items:center; justify-content:space-between; gap:16px; min-height:44px; padding:10px 12px; cursor:pointer; list-style:none; }
.reference-chat-preview-controls > summary::-webkit-details-marker { display:none; }
.reference-chat-preview-controls > summary svg { transition:transform 140ms ease; }
.reference-chat-preview-controls[open] > summary svg { transform:rotate(180deg); }
.reference-chat-preview-controls strong { color:var(--fg); font-weight:600; }
.reference-chat-preview-controls__body { display:flex; align-items:center; flex-wrap:wrap; gap:8px; padding:0 12px 12px; }
.reference-chat-preview-controls__body > [role="status"] { width:100%; color:var(--fg-3); }
.reference-chat-preview-controls :is(select,button,a) { font:inherit; color:var(--fg-2); padding:7px 9px; min-height:32px; max-width:100%; background:var(--bg-3); border:1px solid var(--line); border-radius:var(--radius-control); }
.reference-chat-preview-controls :is(summary,select,button,a):focus-visible { outline:2px solid var(--focus-ring-color); outline-offset:2px; }
.reference-chat-preview-controls button:disabled { opacity:.5; }
.reference-chat-preview-controls a { text-decoration:underline; }
@media(max-width:1279px) { .reference-chat-preview-controls { max-width:min(360px,calc(100vw - 56px)); } }
@media(max-width:1023px) { .reference-chat-preview-controls { top:60px; right:12px; max-width:calc(100vw - 24px); } }
/* Keep the review controls clear of the deployment checklist being inspected. */
.reference-chat-preview-controls[data-preview-progress="true"] { top:auto; bottom:24px; max-width:min(360px,calc(100vw - 56px)); }
@media(max-width:1023px) { .reference-chat-preview-controls[data-preview-progress="true"] { bottom:76px; max-width:calc(100vw - 24px); } }
@media(prefers-reduced-motion:reduce) { .reference-chat-preview-controls > summary svg { transition:none; } }

/* Deployment steps sit below the progress fill on their own quiet surface. */
html:is([data-reference-system="true"],.reference-editor):not(.clickfunnels-reference)[data-theme] #deployment_progress_bar [data-steps]:has(> *) { padding:10px 16px; background:var(--rx-canvas); border-top:1px solid var(--line); flex-wrap:wrap; gap:8px 20px; overflow:visible; }
html:is([data-reference-system="true"],.reference-editor):not(.clickfunnels-reference)[data-theme="dark"] #deployment_progress_bar [data-steps]:has(> *) { background:var(--rx-chrome); }
html:is([data-reference-system="true"],.reference-editor):not(.clickfunnels-reference)[data-theme] #deployment_progress_bar [data-steps] > div { margin:0; min-width:0; }
html:is([data-reference-system="true"],.reference-editor):not(.clickfunnels-reference)[data-theme] #deployment_progress_bar [data-steps] > div > span:last-child { min-width:0; overflow-wrap:anywhere; }
html:is([data-reference-system="true"],.reference-editor):not(.clickfunnels-reference)[data-theme] #deployment_progress_bar [data-deployment-step-status="current"] { color:var(--ref-brand-soft)!important; animation:none; }
/* Select the page's icon before Stimulus hydrates sessionless chat broadcasts.
   The static orb has no activity marker or controller on legacy/partner pages.
   Its default uses .hidden, not [hidden], because the theme treats the latter
   as an unconditional display:none !important. */
:root[data-reference-system="true"]:not(.clickfunnels-reference)
  [data-controller~="chat-thinking-icon"] > [data-chat-thinking-icon-target~="legacy"] {
  display: none;
}

:root[data-reference-system="true"]:not(.clickfunnels-reference)
  [data-controller~="chat-thinking-icon"] > [data-chat-thinking-icon-target~="fallback"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
/* Mirrored from the Overskill Reference Lab: _field_focus_styles.html.erb. */
/* One focus contract for Overskill fields, including unclassed legacy inputs.
 * Geometry and behavior remain owned by the source component. Keep this after
 * page/component overrides. CF AI, customer OAuth and code editors own focus.
 * Composite search/composer controls paint the ring on their shell only. */
/* Nested theme islands resolve the same focus tokens as their own surface. */
html[data-reference-system="true"]:not(.clickfunnels-reference)[data-theme] [data-theme="light"]:not(:where([data-oauth-app-themed="true"],[data-oauth-app-themed="true"] *)) { --ref-field-focus:var(--ref-brand-soft); }
html[data-reference-system="true"]:not(.clickfunnels-reference)[data-theme] [data-theme="dark"]:not(:where([data-oauth-app-themed="true"],[data-oauth-app-themed="true"] *)) { --ref-field-focus:var(--ref-brand-soft); }
html[data-reference-system="true"]:not(.clickfunnels-reference)[data-theme] [data-theme]:not(:where([data-oauth-app-themed="true"],[data-oauth-app-themed="true"] *)) {
  --ref-field-focus-visible:var(--ref-field-focus);
  --field-border-focus:var(--ref-field-focus);
  --field-ring-color:color-mix(in srgb,var(--ref-brand-soft) 12%,transparent);
  --field-ring:0 0 0 3px var(--field-ring-color);
}
html[data-reference-system="true"]:not(.clickfunnels-reference)[data-theme] :is(input:not([type]),input:is([type="text"],[type="email"],[type="password"],[type="search"],[type="url"],[type="tel"],[type="number"],[type="date"],[type="datetime-local"],[type="month"],[type="time"],[type="week"]),textarea,select,button[role="combobox"],.combo,.rx-select-trigger,.select2-selection,[contenteditable="true"][role="textbox"]):not(:where([data-oauth-app-themed="true"] *,[data-reference-field-focus="native"],.cm-editor *,.monaco-editor *,.CodeMirror *)):focus:not(:disabled,[readonly],[aria-readonly="true"],[aria-disabled="true"],[aria-invalid="true"],.error,.is-invalid):not(:where(.field_with_errors *, .select2-container--disabled *)) {
  border-color:var(--field-border-focus)!important;
  box-shadow:var(--field-ring)!important;
  outline:none!important;
}
/* Open custom selects remain active while focus is in their options. */
html[data-reference-system="true"]:not(.clickfunnels-reference)[data-theme] select:open:not(:disabled,[readonly],[aria-readonly="true"],[aria-disabled="true"],[aria-invalid="true"],.error,.is-invalid):not(:where(.field_with_errors *, .select2-container--disabled *)),
html[data-reference-system="true"]:not(.clickfunnels-reference)[data-theme] :is(.combo,.rx-select-trigger)[aria-expanded="true"]:not(:disabled,[readonly],[aria-readonly="true"],[aria-disabled="true"],[aria-invalid="true"],.error,.is-invalid):not(:where(.field_with_errors *, .select2-container--disabled *)),
html[data-reference-system="true"]:not(.clickfunnels-reference)[data-theme] .select2-container--open:not(.select2-container--disabled) .select2-selection {
  border-color:var(--field-border-focus)!important;
  box-shadow:var(--field-ring)!important;
  outline:none!important;
}
/* State-specific focus always wins over the brand treatment. */
html[data-reference-system="true"]:not(.clickfunnels-reference)[data-theme] :is(input:not([type]),input:is([type="text"],[type="email"],[type="password"],[type="search"],[type="url"],[type="tel"],[type="number"],[type="date"],[type="datetime-local"],[type="month"],[type="time"],[type="week"]),textarea,select,button[role="combobox"],.combo,.rx-select-trigger,.select2-selection,[contenteditable="true"][role="textbox"]):not(:where([data-oauth-app-themed="true"] *,[data-reference-field-focus="native"],.cm-editor *,.monaco-editor *,.CodeMirror *)):focus:is([aria-invalid="true"],.error,.is-invalid),
html[data-reference-system="true"]:not(.clickfunnels-reference)[data-theme] .field_with_errors :is(input:not([type]),input:is([type="text"],[type="email"],[type="password"],[type="search"],[type="url"],[type="tel"],[type="number"],[type="date"],[type="datetime-local"],[type="month"],[type="time"],[type="week"]),textarea,select,button[role="combobox"],.combo,.rx-select-trigger,.select2-selection,[contenteditable="true"][role="textbox"]):focus {
  border-color:var(--danger-fg)!important;
  box-shadow:0 0 0 3px color-mix(in srgb,var(--danger-fg) 25%,transparent)!important;
  outline:none!important;
}
html[data-reference-system="true"]:not(.clickfunnels-reference)[data-theme] :is(input:not([type]),input:is([type="text"],[type="email"],[type="password"],[type="search"],[type="url"],[type="tel"],[type="number"],[type="date"],[type="datetime-local"],[type="month"],[type="time"],[type="week"]),textarea,select,button[role="combobox"],.combo,.rx-select-trigger,.select2-selection,[contenteditable="true"][role="textbox"]):not(:where([data-oauth-app-themed="true"] *,[data-reference-field-focus="native"],.cm-editor *,.monaco-editor *,.CodeMirror *)):focus:is([readonly],[aria-readonly="true"]) {
  border-color:var(--fg-4)!important;
  box-shadow:0 0 0 3px color-mix(in srgb,var(--fg) 12%,transparent)!important;
  outline:none!important;
}
/* Composite fields have exactly one visual edge. Legacy theme.css sets a
 * 1px !important border on raw inputs; clearing only border-color is not enough.
 * New wrapped fields can opt into this contract with data-reference-field-shell.
 * Do not use that hook on wrappers whose input owns the field chrome. */
html[data-reference-system="true"]:not(.clickfunnels-reference)[data-theme] :is(.select2-selection,[data-reference-field-shell],.cint__search,.ctpl__search,.ti-search,.mem-search,.computer-picker__search,.url-field,.pm-subdomain-input-wrap,.dash-search,.aref-search,.hd-search,.computer-library__search,.ccon__search,.wsid-handle,.cd-input-wrap,.composer,.dash-composer,.chat-composer-card,.hero2-composer,.editor-chat-input,.ref-compose,.reference-generator-form > div,.anonymous-build-entry form > div) :is(input:not([type]),input:is([type="text"],[type="search"],[type="email"],[type="url"],[type="tel"],[type="password"],[type="number"]),textarea):not(:where([data-oauth-app-themed="true"] *,[data-reference-field-focus="native"],.cm-editor *,.monaco-editor *,.CodeMirror *)) {
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  outline:none!important;
}
html[data-reference-system="true"]:not(.clickfunnels-reference)[data-theme] :is(.select2-selection,[data-reference-field-shell],.cint__search,.ctpl__search,.ti-search,.mem-search,.computer-picker__search,.url-field,.pm-subdomain-input-wrap,.dash-search,.aref-search,.hd-search,.computer-library__search,.ccon__search,.wsid-handle,.cd-input-wrap,.composer,.dash-composer,.chat-composer-card,.hero2-composer,.editor-chat-input,.ref-compose,.reference-generator-form > div,.anonymous-build-entry form > div):has(:is(input,textarea):focus:not(:disabled,[readonly],[aria-readonly="true"],[aria-disabled="true"],[aria-invalid="true"],.error,.is-invalid):not(:where(.field_with_errors *, .select2-container--disabled *))) {
  border-color:var(--field-border-focus)!important;
  box-shadow:var(--field-ring)!important;
}
html[data-reference-system="true"]:not(.clickfunnels-reference)[data-theme] :is(.select2-selection,[data-reference-field-shell],.cint__search,.ctpl__search,.ti-search,.mem-search,.computer-picker__search,.url-field,.pm-subdomain-input-wrap,.dash-search,.aref-search,.hd-search,.computer-library__search,.ccon__search,.wsid-handle,.cd-input-wrap,.composer,.dash-composer,.chat-composer-card,.hero2-composer,.editor-chat-input,.ref-compose,.reference-generator-form > div,.anonymous-build-entry form > div):has(:is(input,textarea):focus[aria-invalid="true"]),
html[data-reference-system="true"]:not(.clickfunnels-reference)[data-theme] .cd-input-wrap.is-invalid:focus-within {
  border-color:var(--danger-fg)!important;
  box-shadow:0 0 0 3px color-mix(in srgb,var(--danger-fg) 25%,transparent)!important;
}
html[data-reference-system="true"]:not(.clickfunnels-reference)[data-theme] :is(.select2-selection,[data-reference-field-shell],.cint__search,.ctpl__search,.ti-search,.mem-search,.computer-picker__search,.url-field,.pm-subdomain-input-wrap,.dash-search,.aref-search,.hd-search,.computer-library__search,.ccon__search,.wsid-handle,.cd-input-wrap,.composer,.dash-composer,.chat-composer-card,.hero2-composer,.editor-chat-input,.ref-compose,.reference-generator-form > div,.anonymous-build-entry form > div) :is(input,textarea):focus:not(:disabled,[aria-disabled="true"]):not([type="hidden"]) {
  /* The surrounding shell is the visual field, including its icons/tools. */
  border-color:transparent!important;
  box-shadow:none!important;
  outline:none!important;
}
/* The command palette owns a borderless search row; outline the dialog. */
html[data-reference-system="true"]:not(.clickfunnels-reference)[data-theme] :is(.oscmdk:has(.oscmdk__input:focus),.admin-cmdk__panel:has(.admin-cmdk__input:focus)) {
  border-color:var(--field-border-focus)!important;
  box-shadow:var(--field-ring),var(--rx-floating-shadow)!important;
}
html[data-reference-system="true"]:not(.clickfunnels-reference)[data-theme] input:is(.oscmdk__input,.admin-cmdk__input):focus:not(:disabled):not([readonly]) { box-shadow:none!important; outline:none!important; }
@media (forced-colors:active) {
  html[data-reference-system="true"]:not(.clickfunnels-reference)[data-theme] :is(input:not([type]),input:is([type="text"],[type="email"],[type="password"],[type="search"],[type="url"],[type="tel"],[type="number"],[type="date"],[type="datetime-local"],[type="month"],[type="time"],[type="week"]),textarea,select,button[role="combobox"],.combo,.rx-select-trigger,.select2-selection,[contenteditable="true"][role="textbox"]):not(:where([data-oauth-app-themed="true"] *,[data-reference-field-focus="native"],.cm-editor *,.monaco-editor *,.CodeMirror *)):focus:not(:disabled),
  html[data-reference-system="true"]:not(.clickfunnels-reference)[data-theme] :is(.select2-selection,[data-reference-field-shell],.cint__search,.ctpl__search,.ti-search,.mem-search,.computer-picker__search,.url-field,.pm-subdomain-input-wrap,.dash-search,.aref-search,.hd-search,.computer-library__search,.ccon__search,.wsid-handle,.cd-input-wrap,.composer,.dash-composer,.chat-composer-card,.hero2-composer,.editor-chat-input,.ref-compose,.reference-generator-form > div,.anonymous-build-entry form > div):has(:is(input,textarea):focus:not(:disabled)),
  html[data-reference-system="true"]:not(.clickfunnels-reference)[data-theme] :is(.oscmdk:has(.oscmdk__input:focus),.admin-cmdk__panel:has(.admin-cmdk__input:focus)) {
    outline:2px solid Highlight!important; outline-offset:2px;
    box-shadow:none!important;
  }
  html[data-reference-system="true"]:not(.clickfunnels-reference)[data-theme] :is(.select2-selection,[data-reference-field-shell],.cint__search,.ctpl__search,.ti-search,.mem-search,.computer-picker__search,.url-field,.pm-subdomain-input-wrap,.dash-search,.aref-search,.hd-search,.computer-library__search,.ccon__search,.wsid-handle,.cd-input-wrap,.composer,.dash-composer,.chat-composer-card,.hero2-composer,.editor-chat-input,.ref-compose,.reference-generator-form > div,.anonymous-build-entry form > div) :is(input,textarea):focus:not(:disabled,[aria-disabled="true"]):not([type="hidden"]),
  html[data-reference-system="true"]:not(.clickfunnels-reference)[data-theme] input:is(.oscmdk__input,.admin-cmdk__input):focus:not(:disabled):not([readonly]) { outline:none!important; }
}

html[data-reference-system="true"]:not(.clickfunnels-reference)[data-theme] input:is(.oscmdk__input,.admin-cmdk__input) {
 border:0!important; background:transparent!important;
}
/* One label treatment for portalled, CSS-only and rich tooltips. Position,
   visibility, wrapping and interactive content remain owned by each component.
   Monospace belongs to explicit code/technical children, not the tooltip shell. */
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] {
  --os-tooltip-bg: var(--rx-overlay);
  --os-tooltip-fg: var(--fg);
  --os-tooltip-border: var(--rx-overlay-border);
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] :is(.os-tooltip,.os-tooltip--compact,.composer-tip,.desk-tooltip,.rxa-tooltip,[role="tooltip"],#visitor-chart-tooltip),
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] :is(.ds-tip,.cp-tip,.composer-tool[data-tooltip],.send[data-tooltip])::after {
  background: var(--os-tooltip-bg);
  color: var(--os-tooltip-fg);
  border: 1px solid var(--os-tooltip-border);
  border-radius: 6px;
  padding: 4px 8px;
  font: 400 12px/16px var(--font-body);
  letter-spacing: 0;
  text-transform: none;
  box-shadow: var(--rx-floating-shadow);
}
/* Dashboard launcher: a grey Prism canvas, solid composer and a full-width
   idea row, with the apps section peeking below. Shared with Reference Lab. */
/* Monochrome Prism keeps the 102deg sweep, asymmetric bloom and beam.
   Paint the hero itself so the treatment follows compact layouts and longer
   drafts. Its top meets the utility bar; its bottom fades to the app canvas. */
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .os-rail-shell__main:has(.dash-hero-section:not(.mem-hero)) {
  --dash-hero-bg:var(--rx-canvas);
  --dash-prism-soft:color-mix(in srgb,var(--fg) 2.5%,var(--dash-hero-bg));
  --dash-prism-mid:color-mix(in srgb,var(--fg) 6%,var(--dash-hero-bg));
  --dash-prism-bloom:color-mix(in srgb,var(--fg) 3%,transparent);
  --dash-prism-beam:color-mix(in srgb,var(--fg) 2%,transparent);
  --dash-gray-prism:
    linear-gradient(180deg,var(--dash-hero-bg),transparent 28% 68%,var(--rx-canvas) 100%),
    radial-gradient(ellipse 72% 60% at 2% 66%,var(--dash-prism-bloom),transparent 76%),
    radial-gradient(ellipse 50% 72% at 100% 48%,var(--dash-prism-beam),transparent 78%),
    linear-gradient(102deg,var(--dash-hero-bg) 0%,var(--dash-prism-soft) 34%,var(--dash-prism-mid) 62%,var(--dash-prism-soft) 86%,var(--dash-hero-bg) 100%);
  background:var(--rx-canvas);
}
/* Dark keeps the hero on the CANVAS, as light does (design audit 2026-11-10,
   F5). It was bound to --rx-rail, so on the first screen a user sees the rail
   and the content were one plane split by a hairline. Only the prism's ink
   strengths differ by theme now; --dash-hero-bg comes from the rule above. */
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme="dark"] .os-rail-shell__main:has(.dash-hero-section:not(.mem-hero)) {
  --dash-prism-soft:color-mix(in srgb,var(--fg) 3%,var(--dash-hero-bg));
  --dash-prism-mid:color-mix(in srgb,var(--fg) 7%,var(--dash-hero-bg));
  --dash-prism-bloom:color-mix(in srgb,var(--fg) 4%,transparent);
  --dash-prism-beam:color-mix(in srgb,var(--fg) 3%,transparent);
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .dash-hero-composer {
  --dash-composer-surface:color-mix(in srgb,var(--rx-composer) 97%,var(--fg));
  --dash-idea-fill:var(--rx-panel);
  --dash-idea-hover:color-mix(in srgb,var(--fg) 4%,var(--dash-idea-fill));
  --dash-composer-border:color-mix(in srgb,var(--fg) 16%,transparent);
  --dash-composer-shadow:0 12px 30px -16px rgb(0 0 0 / .13),0 2px 6px -2px rgb(0 0 0 / .05);
}
/* Match the editor composer in dark mode; pills use a softer panel charcoal. */
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme="dark"] .dash-hero-composer {
  --dash-composer-surface:var(--rx-composer);
  --dash-composer-border:color-mix(in srgb,var(--fg) 20%,transparent);
  --dash-composer-shadow:0 14px 32px -16px rgb(0 0 0 / .55),0 2px 8px -4px rgb(0 0 0 / .28);
  --dash-idea-fill:var(--rx-panel);
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .os-rail-shell--page:has(.dash-hero-section:not(.mem-hero)) :is(.os-rail-utilbar,.os-rail-mobilebar,.dash-topnav) {
  background:var(--dash-hero-bg,var(--rx-canvas)); border-bottom-color:transparent; box-shadow:none;
  backdrop-filter:none; -webkit-backdrop-filter:none;
}
/* FULL-BLEED THE UTILITY BAR'S PAINT (Sanzone 2026-09-28, dark theme, collapsed
   rail). The rule above repaints the three top bars with --dash-hero-bg so each
   meets the hero seamlessly. Two of them are full-bleed wrappers around an inner
   .ds-container (.dash-topnav wraps .dash-topnav-inner; .os-rail-mobilebar is
   fixed and full width), but .os-rail-utilbar IS the .ds-container — max-width
   1240px with auto margins. So its paint stopped at the content column while the
   hero directly below stayed edge to edge, and every main column wider than
   --container-max (a collapsed rail at >=1290px, or any wide window) showed the
   column's own --rx-canvas through two EMPTY 106x52 gutters flanking the bar.
   In dark that canvas (--rx-canvas) is lighter than the bar (--rx-rail): the
   reported faint empty rectangle at the top-left AND top-right of the content
   pane. Light mode binds --dash-hero-bg to --rx-canvas, so it never showed there.

   Let the bar span the column and re-inset its CONTENT with the padding the
   container's auto margins used to supply, so one rule kills both rectangles and
   nothing moves: the max() collapses to --container-pad below --container-max,
   which is the geometry this bar already had. Desktop only — below 1024px the bar
   is position:fixed/width:auto (surfaces/_os_rail.css @media (max-width:1023px))
   and has no gutters to close. */
@media (min-width: 1024px) {
  html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .os-rail-shell--page:has(.dash-hero-section:not(.mem-hero)) .os-rail-utilbar {
    max-width:none;
    padding-inline:max(var(--container-pad),calc((100% - var(--container-max)) / 2 + var(--container-pad)));
  }
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .dash-hero-section:not(.mem-hero) {
  /* Reserve the 52px utility bar and a 76px glimpse of Your apps (the focused
     /account hero, .dash-hero-section--composer-centered, overrides this below).
     Keep the composer centered in the remaining viewport space. */
  min-height:calc(100svh - 128px);
  display:flex; align-items:center;
  padding:44px 0 44px;
  border-bottom:0;
  background-color:var(--dash-hero-bg,var(--rx-canvas));
  background-image:var(--dash-gray-prism,none);
  background-size:100% 100%; background-repeat:no-repeat;
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .dash-hero-section:not(.mem-hero) > .ds-container { width:100%; }
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .dash-hero-inner {
  max-width:680px; margin-bottom:26px;
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .dash-live-dot {
  background:var(--brand); box-shadow:none;
}
/* A quieter headline leaves the writing surface as the focal point. */
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .dash-hero-title {
  max-width:660px; margin:0 auto 16px; font-family:"Grifter",var(--font-body);
  font-size:clamp(38px,4.5vw,54px); line-height:1.06; letter-spacing:-.035em; color:var(--fg);
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .dash-hero-sub { max-width:57ch; font-size:15px; line-height:1.55; }
/* The launcher's 760px writing measure. NOT on the Agent Start Page dock
   (section class .cstart-dock-hero): there the composer shares the page's
   content column with the cards (Jason Sanzone 2026-11-05). At (0,4,1) this
   rule out-ranked the start page's own lift (_computer_start.css,
   `.cstart__dock .composer-wrap{max-width:none}`, 0,3,0), so the dock's
   composer stopped 56px short of the cards' right edge at >=1280. The
   exemption lives here, at the cap, because a counter-rule would need a
   bigger selector. Pinned by spec/design_system/computer_start_tokens_spec.rb. */
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .dash-hero-composer:not(.cstart-dock-hero *) { max-width:760px; }

/* THE APPS INDEX PEEKS UNDER THE FOCUSED COMPOSER (Jason Sanzone 2026-11-06,
   from a customer: "the apps index beneath was always supposed to PEEK so the
   user knew it was there"). The hero is the viewport minus the 52px utility
   bar minus --dash-apps-peek. The peek is everything from the hero's bottom
   edge to 48px into the first card row: the section's 1px rule + 28px top
   padding, the 53px one-row head ("Your apps" 29 + 6 + the 18px count line),
   its 22px drop, then 48px of cards. Where the search/sort/tabs row wraps
   under the title (main column under ~1100px), the same 152px shows the
   heading, the count and that tools row instead, which still reads as content.

   The peek used to be lost because of the layout, not this number. Until
   2026-11-06 the container was `grid-template-rows:1fr auto 1fr` with only a
   min-height. A grid with an indefinite height sizes both 1fr rows to the
   TALLER of the headline block (~200px) and the banner + chips (~103px), so
   the hero carried ~97px of empty row under the chips. It became taller than
   its own min-height on any screen under ~800px tall, and the old 76px
   reservation (then the heading only, never a card) slid below the fold.
   1200x685 showed 10px of "Your apps".

   Flex fixes it. The headline block and the ideas block share the free space
   equally (flex:1 1 0), so the composer stays centred whenever there is room.
   When there isn't, each block keeps its own content height (a flex item's
   min-height:auto) and nothing pads the hero beyond what it holds. min-height
   is a floor, so on a short screen the hero just takes its content's height
   and the page flows. The composer is never cut and nothing clips. */
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .dash-hero-section--composer-centered:not(.mem-hero) {
  --dash-apps-peek:calc(1px + 28px + 53px + 22px + 48px);
  min-height:calc(100dvh - 52px - var(--dash-apps-peek));
  display:block; padding-block:0;
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .dash-hero-section--composer-centered > .ds-container {
  display:flex; flex-direction:column;
  min-height:inherit; padding-block:24px;
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .dash-hero-section--composer-centered .dash-hero-before {
  flex:1 1 0; display:flex; flex-direction:column; justify-content:flex-end;
  min-width:0; padding-bottom:26px;
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .dash-hero-section--composer-centered .dash-hero-inner { margin-bottom:0; }
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .dash-hero-section--composer-centered .dash-hero-title {
  font-size:clamp(38px,min(4.5vw,6.2svh),54px);
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .dash-hero-section--composer-centered .dash-hero-composer { display:contents; }
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .dash-hero-section--composer-centered .dash-hero-composer > form {
  flex:none; align-self:center; width:min(100%,760px); min-width:0; margin:0;
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .dash-hero-section--composer-centered .dash-hero-after {
  flex:1 1 0; align-self:center; width:min(100%,760px); min-width:0;
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .dash-hero-section--composer-centered .computer-credit-gate {
  max-width:760px; margin:16px auto 0;
}
/* Use normal flow when viewport height cannot comfortably hold the heading,
   input and ideas. This also leaves room for the mobile keyboard and drafts. */
@media(max-width:639px),(max-height:620px) {
  html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .dash-hero-section--composer-centered:not(.mem-hero) { min-height:0; padding:28px 0; }
  html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .dash-hero-section--composer-centered > .ds-container { display:block; padding-block:0; }
  html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .dash-hero-section--composer-centered .dash-hero-before { padding-bottom:22px; }
  html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .dash-hero-section--composer-centered .dash-hero-composer { display:block; }
}

/* A solid composer surface. Keep overflow visible for pickers and tooltips;
   its width and centered layout remain shared with the suggestion row. */
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .dash-hero-composer #composer-card {
  width:100%; max-width:100%; margin-inline:0; box-sizing:border-box;
  /* --nah-composer-r: the phone suggestion rows inside this card round
     concentric with it (components/_new_app_hero.css). */
  --nah-composer-r:24px; border-radius:var(--nah-composer-r);
  background:var(--dash-composer-surface,var(--rx-composer))!important;
  --rx-field-border:var(--dash-composer-border);
  border-color:var(--rx-field-border);
  box-shadow:var(--dash-composer-shadow);
  backdrop-filter:none; -webkit-backdrop-filter:none;
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .dash-hero-composer #composer-card::before { content:none; }
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .dash-hero-composer #composer-card:has(textarea:focus) {
  border-color:var(--field-border-focus); box-shadow:var(--field-ring),var(--dash-composer-shadow);
}
@media(prefers-contrast:more) {
  html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .dash-hero-composer #composer-card { --rx-field-border:var(--fg-3); border-color:var(--rx-field-border); }
}
@media(prefers-reduced-motion:reduce) {
  html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .dash-hero-composer #composer-card { transition:none; }
}
@media(forced-colors:active) {
  html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .dash-hero-composer #composer-card {
    background:Canvas!important; border-color:CanvasText!important; box-shadow:none!important;
  }
  html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .dash-hero-composer #composer-card:has(textarea:focus) { outline:2px solid Highlight; outline-offset:3px; }
}
/* A little more writing room gives the desktop composer more presence.
   Use a minimum so draft auto-resizing and compact layouts keep working. */
@media(min-width:640px) {
  html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .dash-hero-composer #custom-prompt:not(:where(.mem-hero *)) { min-height:88px; }
}
/* Starter pills sit beneath the composer. The hidden legacy builder chip
   still counts in nth-of-type; Prompt ideas now lives beside Add. */
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .nah .nah-chips[data-testid="hero-idea-chips"] {
  display:grid; grid-template-columns:repeat(3,minmax(0,1fr)) minmax(76px,.7fr); gap:8px;
  width:100%; max-width:100%; box-sizing:border-box; margin:12px 0 0; padding:0; overflow:visible; scroll-snap-type:none;
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] [data-testid="hero-idea-chips"] > .nah-chip {
  display:inline-flex; min-width:0; min-height:38px; padding:8px 12px;
  gap:7px; color:var(--fg-2); border-color:var(--line); background:var(--dash-idea-fill,var(--rx-panel));
  font:500 12px/1.4 var(--font-body);
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] [data-testid="hero-idea-chips"] > .nah-chip:nth-of-type(n+5) { display:none; }
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] [data-testid="hero-idea-chips"] .nah-chip > svg { display:block; color:var(--fg-3); width:14px; height:14px; }
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] [data-testid="hero-idea-chips"] > .nah-chip--builder { display:none; }
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] [data-testid="hero-idea-chips"] .nah-more { display:flex; min-width:0; }
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] [data-testid="hero-idea-chips"] .nah-chip-more {
  min-height:38px; padding:8px 12px; color:var(--fg-2); border-color:var(--line); background:var(--dash-idea-fill,var(--rx-panel)); font:500 12px/1.4 var(--font-body);
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] [data-testid="hero-idea-chips"] .nah-chip:hover {
  background:var(--dash-idea-hover,color-mix(in srgb,var(--fg) 4%,var(--rx-panel))); border-color:var(--line-2); color:var(--fg);
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] [data-testid="hero-idea-chips"] .nah-chip:hover > svg { color:var(--fg); }

html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .dash-apps-section {
  padding:28px 0 48px; border-top:1px solid var(--line);
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .dash-apps-head { margin-bottom:22px; }
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .dash-apps-title { font-size:26px; letter-spacing:-.03em; }
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .dash-apps-count { font:400 12px/1.5 var(--font-body); letter-spacing:0; text-transform:none; }
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .dash-apps-grid { gap:16px; }
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .dash-card-thumb { aspect-ratio:16 / 9; }
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .dash-new-app-card-icon { color:var(--success-fg); background:color-mix(in srgb,var(--brand) 8%,var(--rx-panel)); border-color:var(--line); }

/* Only offer Booking system in More when the compact row hides its chip. */
@media(min-width:801px) {
  html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] [data-testid="hero-idea-chips"] .nah-idea--compact-only { display:none; }
}
@media(min-width:640px) and (max-width:800px) {
  html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .nah .nah-chips[data-testid="hero-idea-chips"] { grid-template-columns:repeat(2,minmax(0,1fr)) minmax(76px,.7fr); }
  html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] [data-testid="hero-idea-chips"] > .nah-chip:nth-of-type(n+4) { display:none; }
}
@media(max-width:639px) {
  html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .dash-hero-section:not(.mem-hero) { min-height:0; padding:36px 0 28px; }
  html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .dash-hero-inner { margin-bottom:24px; }
  html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] :is(.dash-hero-section,.dash-hero-section--composer-centered) .dash-hero-title { font-size:clamp(34px,8.5vw,44px); }
  html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .nah .nah-chips[data-testid="hero-idea-chips"] { grid-template-columns:repeat(2,minmax(0,1fr)) minmax(64px,.65fr); gap:8px; }
  html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] [data-testid="hero-idea-chips"] > .nah-chip { min-height:44px; padding:8px; font-size:12px; white-space:normal; }
  html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] [data-testid="hero-idea-chips"] > .nah-chip:nth-of-type(n+4) { display:none; }
  html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] [data-testid="hero-idea-chips"] .nah-chip-more { min-height:44px; }
  html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .dash-apps-section { padding-top:24px; }
}
@media(max-width:480px) {
  /* The compact utility controls need 112px, not the legacy desktop 320px
     reservation that makes the Apps header wider than a narrow phone. */
  html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .os-rail-shell--page:has(.dash-hero-section):has(.os-rail-utilbar) .os-rail-mobilebar { padding-right:112px; }
  /* + the icon-only New task (36px + 8px gap) where it renders. */
  html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .os-rail-shell--page:has(.dash-hero-section):has(.os-rail-utilbar .header-new-task) .os-rail-mobilebar { padding-right:156px; }
}

html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme="dark"] .dash-hero-composer #composer-card .composer-tool-pill {
  background:var(--dash-idea-fill); border-color:color-mix(in srgb,var(--fg) 10%,transparent); box-shadow:inset 0 1px 0 var(--rx-edge-light);
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .dash-hero-composer #composer-card .composer-tool-pill:is(:hover,[aria-expanded="true"]) {
  background:var(--dash-idea-hover); border-color:var(--line-2); color:var(--fg);
}
/* A keyboard-accessible Prompt ideas tool immediately follows Add. Its
   explanation uses the existing tooltip surface and stays inside phone edges.
   Hide the slot (not .composer-tool) in other skins so display:flex cannot
   override the utility hiding the new affordance. */
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .dash-hero-composer .nah-prompt-ideas-slot { display:contents; }
/* One door to Prompt ideas (UX audit apps-03-02): where the lightbulb shows, the
   Add menu's duplicate "Prompt ideas" item hides. Same selector as the slot
   above, so the two cannot disagree about which skin has the bulb. */
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .dash-hero-composer .nah-add-item--ideas { display:none; }
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .dash-hero-composer .nah-prompt-ideas-trigger {
  display:inline-flex; position:relative; flex:0 0 auto; color:var(--fg-3);
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .dash-hero-composer .nah-prompt-ideas-trigger:is(:hover,:focus-visible) {
  color:var(--ref-brand-soft); background:var(--dash-idea-hover,color-mix(in srgb,var(--ref-brand-soft) 5%,var(--rx-panel)));
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .dash-hero-composer .nah-prompt-ideas-trigger:focus-visible {
  outline:2px solid var(--field-border-focus); outline-offset:2px;
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .dash-hero-composer .nah-prompt-ideas-tooltip {
  display:block; visibility:hidden; opacity:0; left:0; top:auto; bottom:calc(100% + 10px); transform:none;
  width:236px; max-width:calc(100vw - 96px); padding:10px 12px; border-radius:var(--radius-md);
  background:var(--rx-overlay); color:var(--fg-2); border-color:var(--line-2);
  font:400 12px/1.5 var(--font-body); letter-spacing:0; text-align:left; white-space:normal;
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .dash-hero-composer .nah-prompt-ideas-tooltip strong { display:block; margin-bottom:3px; color:var(--fg); font-weight:500; }
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .dash-hero-composer .nah-prompt-ideas-trigger[data-tooltip-open] .nah-prompt-ideas-tooltip { visibility:visible; opacity:1; }
/* Partner brand kit. Reference Lab tokens own interface surfaces, typography,
 * and states. Literal fills are reserved for supplied logo/campaign artwork. */
[data-reference-system="true"] .brand-reference { color: var(--fg); font-family: var(--font-body); }
.brand-reference-lockup { display: inline-flex; height: 25px; width: auto; }
.brand-reference-lockup img { height: 100%; width: auto; max-width: none; }
[data-theme="dark"] .brand-reference-lockup__light,
[data-theme="light"] .brand-reference-lockup__dark { display: none; }
.foot .brand-reference-lockup { height: 28px; }
.brand-reference .btn { min-height: 44px; }
.brand-reference .ds-container { max-width: 1248px; }
.brand-reference__hero { display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 64px; padding-block: 88px 48px; }
.brand-reference__title { margin: 0 0 24px; font-size: clamp(40px, 4.1vw, 60px); line-height: 1.08; letter-spacing: -.04em; }
.brand-reference__intro { margin: 0; max-width: 44ch; color: var(--fg-2); font-size: 17px; line-height: 1.65; }
.brand-reference__hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.brand-reference__hero-note { margin: 18px 0 0; color: var(--fg-3); font-size: 13px; }
/* This composition is artwork, so it retains the same ink/paper/green in both themes. */
.brand-reference__hero-art { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 98px 205px; gap: 8px; padding: 8px; border: 1px solid var(--line); border-radius: 24px; background: var(--bg-1); }
.brand-reference__hero-wordmark { grid-column: 1 / -1; display: grid; place-items: center; background: #0f0f0f; border-radius: 15px; padding: 28px; }
.brand-reference__hero-wordmark img { width: 190px; height: auto; }
.brand-reference__hero-mark { grid-column: 1 / -1; display: grid; place-items: center; background: #fff; border-radius: 15px; }
.brand-reference__hero-mark img { width: 110px; height: 110px; }
.brand-reference__nav-wrap { padding-block: 0; }
.brand-reference__sections { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; }
.brand-reference__jump-label { color: var(--fg-3); font-size: 13px; padding-right: 8px; }
.brand-reference__sections a { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 12px; border-radius: 10px; color: var(--fg-2); font-size: 14px; font-weight: 500; text-decoration: none !important; white-space: nowrap; transition: background-color .15s ease, color .15s ease; }
.brand-reference__sections a:hover { background: var(--rx-field-hover); color: var(--fg); }
.brand-reference__sections a[aria-current="location"] { color: var(--ref-highlight-ink); }
.brand-reference a:not(.btn):focus-visible, .brand-reference button:focus-visible { outline: 2px solid var(--ref-keyboard-focus); outline-offset: 3px; }
/* The marketing root already reserves 112px of anchor scroll padding. */
.brand-reference__section { padding-block: 64px; scroll-margin-top: 0; }
.brand-reference__section + .brand-reference__section { border-top: 1px solid var(--line); }
.brand-reference__section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 28px; }
.brand-reference__section-heading > div { max-width: 650px; }
.brand-reference__section-heading > .btn { flex-shrink: 0; }
.brand-reference h2 { margin: 0 0 10px; color: var(--fg); font: 600 clamp(25px, 2.4vw, 32px)/1.2 var(--font-body); letter-spacing: -.03em; }
.brand-reference h3 { margin: 0 0 8px; color: var(--fg); font: 600 17px/1.4 var(--font-body); letter-spacing: -.015em; }
.brand-reference__section-heading p, .brand-reference__demo-copy p, .brand-reference__shape p { margin: 0; color: var(--fg-2); font-size: 15px; line-height: 1.65; }
.brand-reference__assets, .brand-reference__grid, .brand-reference__visual-grid { display: grid; gap: 20px; }
.brand-reference__assets, .brand-reference__visual-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.brand-reference__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.brand-reference__asset, .brand-reference__color, .brand-reference__font, .brand-reference__visual { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--bg-2); }
.brand-reference__stage { display: flex; align-items: center; justify-content: center; height: 210px; padding: 40px; border-bottom: 1px solid var(--line); }
.brand-reference__stage--light { background: #fff; }
.brand-reference__stage--dark { background: #0f0f0f; }
.brand-reference__stage--plain { background: #0f0f0f; }
.brand-reference__stage--checker { background: var(--bg-1); }
.brand-reference__art { display: block; width: min(330px, 100%); height: auto; max-height: 100%; object-fit: contain; }
.brand-reference__stage--checker .brand-reference__art { width: 112px; }
.brand-reference__stage--plain { padding: 0; }
.brand-reference__stage--plain .brand-reference__art { width: 100%; height: 100%; object-fit: contain; }
.brand-reference__asset-body, .brand-reference__color-body, .brand-reference__font, .brand-reference__visual-body { padding: 24px; }
.brand-reference__note { margin: 0; color: var(--fg-2); font-size: 14px; line-height: 1.6; }
.brand-reference__small { margin: 0; color: var(--fg-3); font-size: 13px; line-height: 1.6; }
.brand-reference__files { margin: 20px 0 0; padding: 0; list-style: none; }
.brand-reference__file { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; margin-top: 12px; border-top: 1px solid var(--line); }
.brand-reference__file-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.brand-reference__format { font: 500 12px/1.4 var(--font-mono); color: var(--fg); }
.brand-reference__file-note { font: 400 12px/1.4 var(--font-body); color: var(--fg-3); }
.brand-reference__file-actions { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.brand-reference .brand-reference__download, .brand-reference .brand-reference__close { width: 44px; height: 44px; padding: 0; border-radius: 10px; }
.brand-reference .brand-reference__copy { min-width: 108px; min-height: 44px; }
.brand-reference__copy[data-copied] { color: var(--success-fg) !important; }
.brand-reference__logo-details { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; margin-top: 20px; }
.brand-reference__guidance { padding: 24px 12px; }
.brand-reference__guidance h3 { font-size: 22px; letter-spacing: -.025em; }
.brand-reference__rules { padding: 0; margin: 20px 0; list-style: none; }
.brand-reference__rules li { display: flex; gap: 12px; padding-block: 10px; color: var(--fg-2); font-size: 14px; line-height: 1.6; }
.brand-reference__rules svg { flex-shrink: 0; align-self: flex-start; margin-top: 3px; color: var(--success-fg); }
.brand-reference__swatch { display: flex; flex-direction: column; justify-content: space-between; min-height: 160px; padding: 24px; border-bottom: 1px solid var(--line); }
.brand-reference__swatch > span { font: 600 24px/1.2 var(--font-body); letter-spacing: -.02em; }
.brand-reference__swatch code { font: 500 13px/1.5 var(--font-mono); color: inherit; }
.brand-reference__color { display: flex; flex-direction: column; }
.brand-reference__color-body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.brand-reference__color-body .brand-reference__note { flex: 1; margin-bottom: 20px; }
.brand-reference__type-grid { margin-top: 20px; }
.brand-reference__specimen { margin-bottom: 24px; font-size: 64px; line-height: 1.25; color: var(--fg); }
.brand-reference__specimen--display { font-family: 'Grifter', var(--font-body); font-weight: 700; }
.brand-reference__specimen--body { font-family: var(--font-body); font-weight: 400; }
.brand-reference__specimen--technical { font-family: var(--font-mono); font-weight: 400; font-size: 48px; padding-block: 10px; }
.brand-reference__font-heading { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.brand-reference__font-heading > span { font-size: 12px; color: var(--fg-3); }
.brand-reference__shape { display: flex; align-items: center; gap: 32px; padding: 28px 32px; margin-top: 20px; background: var(--bg-1); border: 1px solid var(--line); border-radius: 20px; }
.brand-reference__shape-art { padding: 8px; flex-shrink: 0; }
.brand-reference__shape-art img { width: 88px; height: 88px; }
.brand-reference__shape p.brand-reference__small { font-size: 13px; color: var(--fg-3); margin-top: 8px; }
.brand-reference__shape p + p { margin-top: 12px; }
.brand-reference__demo { display: grid; grid-template-columns: 1fr 1.8fr; align-items: center; gap: 36px; padding: 24px; border: 1px solid var(--line); border-radius: 24px; background: var(--bg-2); margin-bottom: 20px; }
.brand-reference__demo-copy { padding: 8px 8px 8px 12px; }
.brand-reference__demo-copy h3 { font-size: 24px; letter-spacing: -.025em; }
.brand-reference__demo-copy .btn { margin-top: 24px; }
.brand-reference__demo video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #0f0f0f; border-radius: 12px; }
.brand-reference__visual { display: flex; flex-direction: column; }
.brand-reference__visual-preview { position: relative; display: flex; align-items: center; justify-content: center; padding: 24px; background: var(--bg-1); border-bottom: 1px solid var(--line); text-decoration: none; overflow: hidden; }
.brand-reference__visual-preview { aspect-ratio: 1.65; }
.brand-reference__visual-preview img { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 8px; }
.brand-reference__preview-label { position: absolute; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1px solid var(--rx-overlay-border); border-radius: 8px; background: var(--rx-overlay); color: var(--fg); font: 500 12px/1.5 var(--font-body); opacity: 0; transition: opacity .15s ease; }
.brand-reference__visual-preview:hover .brand-reference__preview-label, .brand-reference__visual-preview:focus-visible .brand-reference__preview-label { opacity: 1; }
.brand-reference__visual-body { flex: 1; display: flex; flex-direction: column; align-items: start; }
.brand-reference__visual-body .brand-reference__note { flex: 1; margin-bottom: 20px; }
.brand-reference__outro { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: 40px; border: 1px solid var(--line); border-radius: 24px; background: var(--bg-2); margin-bottom: 72px; }
.brand-reference__outro h2 { font-size: 24px; }
.brand-reference__outro p { margin: 0; max-width: 55ch; color: var(--fg-2); font-size: 14px; line-height: 1.6; }
.brand-reference__outro p a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
.brand-reference__outro .btn { flex-shrink: 0; }
.brand-reference__dialog { margin: auto; width: min(1000px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 16px; border: 1px solid var(--rx-overlay-border); border-radius: 24px; color: var(--fg); background: var(--rx-overlay); box-shadow: var(--rx-floating-shadow); overflow-y: auto; }
.brand-reference__dialog[open] { display: flex; flex-direction: column; gap: 16px; }
.brand-reference__dialog::backdrop { background: rgb(0 0 0 / .72); }
.brand-reference__dialog-heading { display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.brand-reference__dialog-heading h2 { font-size: 20px; margin: 0; padding-left: 8px; }
.brand-reference__dialog-image { display: grid; place-items: center; min-height: 0; overflow: auto; }
.brand-reference__dialog-image img { display: block; max-width: 100%; max-height: 65dvh; width: auto; height: auto; object-fit: contain; }
.brand-reference__dialog-footer { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 4px 8px 8px; }
.brand-reference__dialog-footer p { margin: 0; color: var(--fg-2); font-size: 13px; line-height: 1.6; }
.brand-reference__dialog-footer .btn { flex-shrink: 0; }
/* ---- Prism, lockups, monochrome, don'ts, social kit (2026-10-27) ----------
 * Interface chrome uses tokens. The literal fills below are artwork fields:
 * paper (#fff) and ink (#0f0f0f) stages, theme-invariant on purpose, like the
 * logo stages above. The prism preview and stop chips are painted inline
 * from Public::BrandController::PRISM_GRADIENT. */
.brand-reference h4 { margin: 0 0 6px; color: var(--fg); font: 600 15px/1.4 var(--font-body); letter-spacing: -.01em; }
.brand-reference__subsection { margin-top: 48px; }
.brand-reference__subsection-heading { max-width: 650px; margin-bottom: 20px; }
.brand-reference__subsection-heading h3 { font-size: 22px; letter-spacing: -.025em; }
.brand-reference__table { width: 100%; border-collapse: collapse; font-size: 14px; }
.brand-reference__table caption { text-align: left; padding-bottom: 8px; color: var(--fg); font: 600 14px/1.4 var(--font-body); }
.brand-reference__table th, .brand-reference__table td { padding: 10px 12px 10px 0; border-top: 1px solid var(--line); text-align: left; color: var(--fg-2); font-weight: 400; vertical-align: middle; }
.brand-reference__table thead th { color: var(--fg-3); font-size: 12px; font-weight: 500; }
.brand-reference__table tbody th { color: var(--fg); font-weight: 500; }
.brand-reference__table code { font: 500 12px/1.4 var(--font-mono); color: var(--fg-2); }
.brand-reference__prism { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; align-items: start; }
.brand-reference__prism-preview { aspect-ratio: 16 / 9; border-radius: 20px; border: 1px solid var(--line); }
.brand-reference__prism-body { display: flex; flex-direction: column; gap: 24px; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--bg-2); min-width: 0; }
.brand-reference__prism-usage { margin: 0; padding: 0; list-style: none; }
.brand-reference__prism-usage li { display: flex; gap: 12px; padding-block: 6px; color: var(--fg-2); font-size: 14px; line-height: 1.6; }
.brand-reference__prism-usage svg { flex-shrink: 0; margin-top: 3px; color: var(--success-fg); }
.brand-reference__prism-usage li + li svg { color: var(--danger-fg); }
.brand-reference__snippet { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-1); }
.brand-reference__snippet pre { flex: 1; min-width: 0; margin: 0; white-space: pre-wrap; word-break: break-word; }
.brand-reference__snippet code { font: 500 12px/1.6 var(--font-mono); color: var(--fg); }
.brand-reference__snippet .brand-reference__copy { flex-shrink: 0; }
.brand-reference__stop-chip { display: inline-block; width: 14px; height: 14px; margin-right: 10px; border-radius: 4px; border: 1px solid var(--line-2); vertical-align: -2px; }
.brand-reference__prism-stops tbody th code { margin-left: 6px; color: var(--fg-3); }
.brand-reference__prism-body .brand-reference__files { margin-top: 0; }
.brand-reference__prism-body .brand-reference__file:first-child { margin-top: 0; }
.brand-reference__lockups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.brand-reference__lockup { min-width: 0; }
.brand-reference__lockup-stages { display: grid; grid-template-rows: 1fr 1fr; gap: 1px; margin-bottom: 16px; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--line); }
.brand-reference__lockup-stage { display: grid; place-items: center; height: 104px; padding: 20px; }
.brand-reference__lockup-stage--light { background: #fff; }
.brand-reference__lockup-stage--dark { background: #0f0f0f; }
.brand-reference__lockup--none .brand-reference__lockup-stages { grid-template-rows: 1fr; min-height: 210px; }
.brand-reference__lockup-stage--empty { height: auto; gap: 8px; align-content: center; background: var(--bg-1); color: var(--fg-3); font-size: 13px; }
.brand-reference__lockup-art { display: block; width: 100%; max-width: 180px; height: auto; }
.brand-reference__lockup-art--logotype { max-width: 150px; }
.brand-reference__lockup-art--mark-only { width: 48px; }
.brand-reference__clearspace { display: grid; grid-template-columns: 1fr 1.5fr; gap: 32px; align-items: center; margin-top: 48px; padding: 28px 32px; border: 1px solid var(--line); border-radius: 20px; background: var(--bg-1); }
.brand-reference__clearspace-copy h3 { font-size: 22px; letter-spacing: -.025em; }
.brand-reference__clearspace-copy .brand-reference__table { margin-block: 20px 16px; }
.brand-reference__clearspace-figures { display: grid; gap: 12px; }
/* The diagram: the logo at --logo-h, a zone padded by one "o" (logo height x
 * the measured o ratio), an "o" square in each margin, and a bracket over the
 * real "o" of the wordmark so the unit is visibly taken from the artwork. */
.brand-reference__clearspace-figure { --logo-h: 56px; --o: calc(var(--logo-h) * var(--brand-o-ratio)); margin: 0; padding: 24px; border-radius: 16px; border: 1px solid var(--line); }
.brand-reference__clearspace-figure--light { background: #fff; color: #0f0f0f; }
.brand-reference__clearspace-figure--dark { background: #0f0f0f; color: #fff; }
.brand-reference__clearspace-zone { position: relative; width: max-content; max-width: 100%; margin: 0 auto; padding: var(--o); outline: 1px dashed color-mix(in srgb, currentColor 45%, transparent); outline-offset: -1px; }
.brand-reference__clearspace-logo { position: relative; outline: 1px solid color-mix(in srgb, currentColor 22%, transparent); }
.brand-reference__clearspace-logo img { display: block; height: var(--logo-h); width: auto; }
.brand-reference__clearspace-measure { position: absolute; left: 27.7%; top: 27.2%; width: 10.6%; height: 46.6%; outline: 1.5px solid color-mix(in srgb, currentColor 70%, transparent); outline-offset: 1px; }
.brand-reference__clearspace-o { position: absolute; display: grid; place-items: center; width: var(--o); height: var(--o); background: color-mix(in srgb, currentColor 9%, transparent); color: color-mix(in srgb, currentColor 70%, transparent); font: 500 12px/1 var(--font-mono); }
.brand-reference__clearspace-o--top { top: 0; left: 50%; transform: translateX(-50%); }
.brand-reference__clearspace-o--bottom { bottom: 0; left: 50%; transform: translateX(-50%); }
.brand-reference__clearspace-o--left { left: 0; top: 50%; transform: translateY(-50%); }
.brand-reference__clearspace-o--right { right: 0; top: 50%; transform: translateY(-50%); }
.brand-reference__clearspace-figure figcaption { margin-top: 14px; text-align: center; color: color-mix(in srgb, currentColor 65%, transparent); font-size: 12px; }
.brand-reference__subsection .brand-reference__assets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.brand-reference__donts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.brand-reference__dont { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-2); }
.brand-reference__dont-stage { display: grid; place-items: center; height: 120px; padding: 20px; overflow: hidden; background: #fff; border-bottom: 1px solid var(--line); }
.brand-reference__dont-art { display: block; width: 100%; max-width: 160px; height: auto; }
.brand-reference__dont-body { padding: 16px; }
.brand-reference__dont-body h4 { display: flex; align-items: center; gap: 8px; }
.brand-reference__dont-body h4 svg { flex-shrink: 0; color: var(--danger-fg); }
.brand-reference__dont--stretched .brand-reference__dont-art { transform: scale(1.3, .62); }
.brand-reference__dont--recolored .brand-reference__dont-art { filter: hue-rotate(150deg) saturate(1.4); }
.brand-reference__dont--outlined .brand-reference__dont-art path,
.brand-reference__dont--outlined .brand-reference__dont-art rect { fill: none; stroke: #0f0f0f; stroke-width: 3; }
.brand-reference__dont--shadow .brand-reference__dont-art { filter: drop-shadow(4px 6px 5px rgb(0 0 0 / .55)); }
.brand-reference__dont-frame { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: #0f0f0f; }
.brand-reference__dont--contained .brand-reference__dont-art { width: 48px; }
.brand-reference__social-group + .brand-reference__social-group { margin-top: 36px; }
.brand-reference__social-group > h3 { margin-bottom: 16px; }
.brand-reference__social-grid { display: grid; gap: 20px; align-items: start; }
.brand-reference__social-grid--avatars { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.brand-reference__social-grid--banners { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.brand-reference__social-grid--share-image { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.brand-reference__social-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-2); }
.brand-reference__social-preview { background: var(--bg-1); border-bottom: 1px solid var(--line); }
.brand-reference__social-preview img { display: block; width: 100%; height: 100%; object-fit: cover; }
.brand-reference__social-body { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 16px; flex: 1; }
.brand-reference__social-body h4 { margin: 0; }
.brand-reference__social-size { margin: 0; color: var(--fg-3); font: 500 12px/1.5 var(--font-mono); }
.brand-reference__social-body .btn { margin-top: 12px; }
.brand-reference__meta { margin: -48px 0 72px; color: var(--fg-3); font-size: 13px; }
.brand-reference__meta > span { margin-inline: 8px; }
.brand-reference__meta a { color: var(--fg-2); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1000px) {
  .brand-reference__hero { gap: 32px; padding-block: 56px; }
  .brand-reference__hero-art { grid-template-rows: 80px 170px; }
  .brand-reference__hero-mark img { width: 90px; height: 90px; }
  .brand-reference__section-heading { align-items: start; flex-direction: column; }
  .brand-reference__logo-details { gap: 24px; }
  .brand-reference__file { flex-wrap: wrap; }
  .brand-reference__font-heading { flex-wrap: wrap; }
  .brand-reference__demo { grid-template-columns: 1fr; gap: 24px; }
  .brand-reference__demo-copy { padding: 8px; }
}
@media (max-width: 700px) {
  .brand-reference__hero { grid-template-columns: 1fr; padding-block: 40px; gap: 32px; }
  .brand-reference__title { font-size: clamp(36px, 8vw, 48px); }

  .brand-reference__intro { font-size: 16px; }
  .brand-reference__hero-art { grid-template-rows: 78px 150px; }
  .brand-reference__hero-mark img { width: 88px; height: 88px; }
  .brand-reference__sections { gap: 4px; }
  .brand-reference__jump-label { flex-basis: 100%; padding: 0 8px 4px; }
  .brand-reference__sections a { padding-inline: 8px; }
  .brand-reference__section { padding-block: 40px; scroll-margin-top: 0; }
  .brand-reference__assets, .brand-reference__visual-grid, .brand-reference__logo-details { grid-template-columns: 1fr; }
  .brand-reference__grid { grid-template-columns: 1fr; gap: 12px; }
  .brand-reference__stage { height: 190px; padding: 32px; }
  .brand-reference__stage--plain { padding: 0; }
  .brand-reference__asset-body, .brand-reference__color-body, .brand-reference__font, .brand-reference__visual-body { padding: 20px; }
  .brand-reference__file { flex-wrap: nowrap; }
  .brand-reference__file-actions { gap: 0; }
  .brand-reference__guidance { padding: 12px 0; }
  .brand-reference__swatch { min-height: 126px; padding: 20px; }
  .brand-reference__specimen { font-size: 56px; margin-bottom: 12px; }
  .brand-reference__specimen--technical { font-size: 44px; padding-block: 8px; }
  .brand-reference__shape { align-items: flex-start; flex-direction: column; padding: 24px; gap: 16px; }
  .brand-reference__shape-art { padding: 0; }
  .brand-reference__shape-art img { width: 64px; height: 64px; }
  .brand-reference__demo { padding: 16px; border-radius: 20px; }
  .brand-reference__demo-copy h3 { font-size: 22px; }
  .brand-reference__demo video { border-radius: 8px; }
  .brand-reference__outro { padding: 24px; align-items: start; flex-direction: column; margin-bottom: 40px; }
  .brand-reference__dialog { padding: 12px; border-radius: 20px; }
  .brand-reference__dialog-heading h2 { font-size: 16px; }
  .brand-reference__dialog-footer { flex-direction: column; align-items: start; gap: 12px; padding: 0 4px 4px; }
  .brand-reference__dialog-image img { max-height: 55dvh; }
}
@media (max-width: 359px) {
  .brand-reference__file { flex-wrap: wrap; }
  .brand-reference__hero-actions { flex-direction: column; align-items: stretch; }
}
@media (hover: none) { .brand-reference__preview-label { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .brand-reference__sections a, .brand-reference__preview-label { transition: none; } }
@media (max-width: 1100px) {
  .brand-reference__lockups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand-reference__donts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .brand-reference__social-grid--avatars { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  .brand-reference__prism, .brand-reference__clearspace { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .brand-reference__prism-body { padding: 20px; }
  .brand-reference__snippet { flex-direction: column; align-items: stretch; }
  .brand-reference__clearspace { padding: 20px; gap: 24px; }
  .brand-reference__clearspace-figure { --logo-h: 30px; padding: 16px 12px; }
  .brand-reference__subsection .brand-reference__assets { grid-template-columns: 1fr; }
  .brand-reference__donts, .brand-reference__social-grid--banners, .brand-reference__social-grid--share-image { grid-template-columns: 1fr; }
  .brand-reference__social-grid--avatars { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .brand-reference__lockups { gap: 12px; }
  .brand-reference__lockup-stage { height: 88px; padding: 14px; }
  .brand-reference__lockup--none .brand-reference__lockup-stages { min-height: 178px; }
  .brand-reference__meta { margin: -24px 0 40px; }
}
/* Brand-green states — Jason Sanzone, 2026-09-28.
 *
 * Presentation only, and flag-ON only: this file ships exclusively through
 * reference_system.css, which the layout links only when
 * `design_refresh_enabled?` is true. With design_refresh_2026_09 off, nothing
 * here is downloaded and the baseline output is byte-identical.
 *
 * WHY THESE RULES EXIST AT ALL. The refresh rebinds --accent to --rx-primary
 * (neutral ink) in reference_foundations.css. Every component below already
 * asked for brand green through --accent / --accent-text / --accent-fg, so the
 * REBINDING — not a component edit — is what flattened them. Each rule here
 * re-expresses the component's original intent against the tokens the refresh
 * still keeps brand-coloured. Nothing new is invented.
 *
 * TOKENS USED (all pre-existing; this release adds none)
 *   --brand             #45E760, theme-invariant brand green. FILLS only.
 *   --brand-fg          #0a0e0a, the DS on-accent ink — 11.9:1 on --brand in
 *                       both themes. White is 1.63:1 there and is NOT the
 *                       on-accent ink the DS defines, so it is never used.
 *   --ref-brand-alt     #75D785, the alt brand green. Brand-fill HOVER, per
 *                       "Color has a job" in docs/design/OVERSKILL-DESIGN-SYSTEM.md.
 *   --ref-brand-detail  the THEME-AWARE alt green: --ref-brand-alt in dark,
 *                       hsl(130 55% 28%) in light. Every green INK and green
 *                       GLYPH resolves here, never --brand: #45E760 on a light
 *                       canvas is 1.63:1 and misses the 3:1 non-text floor.
 *   --credit-action     the same role, scoped to credit surfaces.
 *   --info-fg           the DS in-progress/information ink.
 *   --focus-ring-color  the soft keyboard ring. Never --accent (#6979 review).
 *
 * Required LAST from reference_system.css so it settles after
 * _component_refresh.css, coverage.css and _selection_controls.css, which are
 * the files that neutralised these components.
 */

/* ── 1. "NEW" chips ────────────────────────────────────────────────────────
   Every one of these classes is used for a NEW chip and nothing else (audited
   2026-09-28 across app/views). One shared rule rather than six per-instance
   overrides. Two of them were an --accent TINT with --accent-text ink and four
   were a solid --accent fill; under the refresh both read neutral, so they are
   reconciled onto the single solid treatment Sanzone asked for. */
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] :is(
 .import-banner-tag,.mem-badge,.mem-feedcard-pill,
 .launcher-mode__badge,.computer-nav__item-badge,.gc-switcher__tag
) {
 background: var(--brand); border-color: var(--brand); color: var(--brand-fg);
}

/* ── 2. Build Arcade launcher ──────────────────────────────────────────────
   Restores the pre-refresh tint. _arcade.css was NOT touched by #6979
   (git log confirms) — its own comment describes the intended treatment as an
   "accent-TINTED surface rather than a solid brand slab ... Accent ink is
   --accent-text (never white-on-green)", which the --accent rebinding erased.
   The mix percentages are the original file's, re-pointed at --brand; the ink
   is --ref-brand-detail, which is what --accent-text used to resolve to. */
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .os-arcade-launcher {
 border-color: color-mix(in srgb, var(--brand) 32%, var(--line));
 background: color-mix(in srgb, var(--brand) 7%, var(--bg));
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .os-arcade-launcher-play svg {
 color: var(--ref-brand-detail);
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .os-arcade-launcher-lb {
 border-left-color: color-mix(in srgb, var(--brand) 24%, var(--line));
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] :is(.os-arcade-launcher-play,.os-arcade-launcher-lb):hover {
 background: color-mix(in srgb, var(--brand) 16%, transparent);
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .os-arcade-launcher-lb:hover {
 color: var(--ref-brand-detail);
}

/* ── 3. Credit pill coins glyph ────────────────────────────────────────────
   `.spark` is the wrapper class the coins glyph reuses (see the partial's
   note). --credit-action is the credit surfaces' alt-green role and is already
   what the refresh paints the popover's credit links with, so the pill glyph
   now agrees with them. :not(.is-exhausted) is load-bearing: this rule is more
   specific than the base warning-state rule, so without it a negative balance
   would lose its --warning-fg glyph. */
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .credits-trigger:not(.is-exhausted) .spark {
 color: var(--credit-action);
}

/* ── 4. Publish modal primary action ───────────────────────────────────────
   [data-publish-modal-target="deployButton"] is the one hook all three modal
   bodies share (v1 Tailwind, v2 .deploy-cta, v3 .btn-primary.pm-bridge-cta),
   and it exists nowhere else — so this is the modal's primary action only, not
   every "Publish" string. #publish_modal is the wrapper all three render
   inside; it carries the id so this beats _component_refresh.css's neutral
   `.pm .deploy-cta` outright rather than on source order.

   Re-pointing --accent* ON THE BUTTON is what makes this work without adding
   an !important: _button.css paints `.btn-primary { color: var(--accent-fg)
   !important }`, and re-binding the custom property makes that existing
   declaration resolve to the brand ink. Left alone it would paint WHITE on
   brand green in light mode — 1.63:1, a hard AA failure.

   FLAT FILL, not a gradient (Sanzone 2026-09-29: "shouldn't, should just be
   brand green"). The `background` shorthand above already clears the image
   channel, but _button_depth_styles.css re-declares it with !important:

     .btn.btn-primary:not(…) { background-image:var(--ref-button-primary-gradient)!important }
     .btn.btn-primary:hover  { background:var(--ref-button-primary-gradient-hover)
                                          var(--ref-button-primary-hover)!important }

   so the shipped button MEASURED `linear-gradient(rgba(255,255,255,.5),
   rgba(0,0,0,.1))` over the brand fill, and on HOVER it went to
   `rgb(255,255,255)` — pure white, not the alt green, because
   --ref-button-primary-hover is --rx-send in dark and a neutral mix in light.
   Both halves were invisible in source: §4's own hover rule carries no
   !important and simply lost.

   THE THREE TOKENS BELOW are the fix, and they add no !important of their
   own — same "re-point the property, don't restate the paint" move as
   --accent* above. Those existing !important declarations then resolve to
   `none` / the alt green, so rest AND hover follow, in both themes, and the
   hover rule below becomes a second agreeing path rather than a losing one.

   NOT flattened for every primary under the flag. That gradient is the
   Reference Lab's deliberate depth ramp for the NEUTRAL primary (its own
   comment: "Current dark primary: about #EFEFEF → #C8C8C8"), approved
   2026-09-25; it only misreads over a SATURATED fill, where a 50%-white top
   stop washes #45E760 to pale mint. So the opt-out lives at the seam where a
   primary is repainted brand — here — and a future brand-green primary gets
   it by joining this selector. Audited 2026-09-29 across the flag-ON account
   surfaces: this button is the only brand-filled BUTTON carrying a gradient
   (`.pb-progress-fill`'s multi-stop brand ramp is decoration on a progress
   bar, deliberately untouched).

   The focus ring is already correct and is left alone: :focus-visible is
   excluded from the gradient rule, and the outline measured
   var(--focus-ring-color) as the refresh binds it (soft, never --accent —
   the #6979 review decision that spec/javascript/focus_ring_soft_spec.rb
   pins). */
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] #publish_modal [data-publish-modal-target="deployButton"] {
 --accent: var(--brand);
 --accent-fg: var(--brand-fg);
 --accent-hover: var(--ref-brand-alt);
 --primary-hover: var(--ref-brand-alt);
 --ref-button-primary-gradient: none;
 --ref-button-primary-gradient-hover: none;
 --ref-button-primary-hover: var(--ref-brand-alt);
 background: var(--brand); border-color: var(--brand); color: var(--brand-fg);
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] #publish_modal [data-publish-modal-target="deployButton"]:hover:not(:disabled,[aria-disabled="true"],[aria-busy="true"]) {
 background: var(--ref-brand-alt); border-color: var(--ref-brand-alt); color: var(--brand-fg);
}

/* ── 5. Selection controls, CHECKED/ON only ────────────────────────────────
   _selection_controls.css already paints the checked state from
   --ref-control-fill / --ref-control-ink, so re-pointing those properties on
   the checked element moves the paint without restating it — and because the
   existing declarations are the ones painting, their !important carries the new
   value and this file adds none of its own. Unchecked is untouched.

   --ref-control-ink DOES TWO JOBS and only one of them wants the on-accent
   ink. It is the GLYPH inside the fill (the tick's border, the radio dot, the
   indeterminate bar) AND it is the switch/toggle THUMB. Rebinding it for both
   turned the light-mode thumb black on the green track while the OFF thumb
   stayed white — Sanzone, 2026-09-28. So the ink is rebound ONLY on the
   glyph-bearing controls; the thumb is left to fall through to the theme root,
   which is white in light (the same value the off thumb already uses) and the
   Lab sample's dark thumb in dark. That is why there is no new token and no
   per-theme block here: the correct thumb values were always in the file.

   The tick and dot genuinely do need the dark on-accent ink — they sit ON
   #45E760, where white measures 1.63:1.

   The track/knob are SIBLINGS of the input, not descendants, so the track has
   to be named here: a custom property set on the input cannot inherit
   sideways. */
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .switch input:checked ~ .track,
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .switch[aria-checked="true"] .track,
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .toggle:checked,
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] :is(input.checkbox,input.radio):checked,
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] input.checkbox:indeterminate {
 --ref-control-fill: var(--brand);
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] :is(input.checkbox,input.radio):checked,
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] input.checkbox:indeterminate {
 --ref-control-ink: var(--brand-fg);
}
/* Every ON/OFF switch in the product is now the shared .switch (checkbox,
   bare-input or button form), so the publish-modal and auto-billing rebinding
   that used to live here went with their bespoke markup (2026-11-02). */

/* High contrast keeps the system colors. Without this the element-level
   binding above would outrank the root-level forced-colors override in
   _selection_controls.css and repaint Highlight back to brand green. */
@media (forced-colors: active) {
 html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .switch input:checked ~ .track,
 html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .switch[aria-checked="true"] .track,
 html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .toggle:checked,
 html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] :is(input.checkbox,input.radio):checked,
 html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] input.checkbox:indeterminate {
  --ref-control-fill: Highlight;
 }
 html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] :is(input.checkbox,input.radio):checked,
 html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] input.checkbox:indeterminate {
  --ref-control-ink: HighlightText;
 }
}

/* Profile section selection: alt brand green in dark, accessible darker green
   in light. Keep the existing selected surface and keyboard focus treatment. */
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .profile-page .ptab.active,
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .profile-page .ptab.active svg {
 color: var(--ref-brand-detail);
}

/* ── 6. Editor chat suggestions → the Reference Lab card ───────────────────
   The Lab specimen is `.reference-layout .suggest-*` in
   _september_refinements.css. Production already picked up the Lab's card
   SURFACE (--ref-suggestion-bg fill, --line border, --ref-button-radius) from
   coverage.css; what it never picked up was the Lab's rhythm, type and pager.
   These are that specimen's remaining declarations, re-scoped from the Lab
   root to the product root. No new tokens: the Lab card was not missing one.

   The pager is deliberately the Lab's own box — the Lab sizes .suggest-nav to
   30px and takes its fill/border/ink from the shared recipe, so matching it
   means adopting that, not minting a third pager. */
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .suggest-cards { gap: 10px; }
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .suggest-card {
 gap: 4px;
 transition: background-color 150ms ease, border-color 150ms ease;
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .suggest-card .suggest-card-title {
 margin: 0; font: 500 13px/1.45 var(--font-body);
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .suggest-card .suggest-card-desc {
 margin: 0; font: 400 12px/1.55 var(--font-body);
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] :is(.suggest-toggle,.suggest-count) {
 font-family: var(--font-body); letter-spacing: normal; text-transform: none;
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .suggest-nav { width: 30px; height: 30px; }
@media (max-width: 640px) {
 html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .suggest-nav { width: 44px; height: 44px; }
 html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .suggest-cards { grid-template-columns: 1fr; }
 html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .suggest-card .suggest-card-title { white-space: normal; overflow: visible; -webkit-line-clamp: unset; }
 html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .suggest-card .suggest-card-desc { -webkit-line-clamp: unset; }
}

/* ── 7. "Done" state indicators ────────────────────────────────────────────
   a. The completed turn's dot and its label. The dot shipped a raw #45e760 in
      theme.css, which is 1.63:1 on the light canvas — below the 3:1 non-text
      floor — so the theme-aware role fixes contrast as well as consistency.
      The label is addressed through the dot rather than a new class so no
      flag-off markup moves; only the completed state is selected, and
      planning / executing / failed / cancelled keep their own dots. */
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .editor-status-dot-completed {
 background-color: var(--ref-brand-detail);
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .editor-status-dot-completed + span {
 color: var(--ref-brand-detail);
}
/* b. The published check tile in the publish modal's up-to-date card. */
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .pm .pm-bridge-icon--check {
 background: color-mix(in srgb, var(--ref-brand-detail) 16%, var(--bg-2));
 border-color: color-mix(in srgb, var(--ref-brand-detail) 40%, var(--line));
 color: var(--ref-brand-detail);
}
/* a-bis. The SHIPPED completed status row. The editor's live chat renders the
      deliverable card, not the _chat_message status line, and measured in the
      browser its dot was rgb(232,234,237) — the white dot in the report. The
      dot is rendered ONLY for the completed state (the partial omits it for
      "Partial work saved"), so keying the label off `dot + label` colours the
      completed state and nothing else without touching markup. The
      skill-pack card's "Installed" state, which also carries the dot,
      agrees. */
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .deliverable-status-dot {
 background: var(--ref-brand-detail);
 box-shadow: 0 0 8px color-mix(in srgb, var(--ref-brand-detail) 60%, transparent);
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .deliverable-status-dot + .deliverable-status-label {
 color: var(--ref-brand-detail);
}
/* c. Bookmarked. The DS already had ONE pressed/selected state for icon
      buttons and the three bookmark affordances were deliberately unified onto
      it (see _version_restore.css), so the alt-green variant belongs there and
      not on any single bookmark button. .deliverable-save-version is the one
      the live editor actually renders — measured pressed and neutral in the
      browser — and it is named in that same unification note. */
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] :is(.icon-btn,.pm-feature-btn,.deliverable-save-version,.vh-mark)[aria-pressed="true"],
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] :is(.vc-marked,.vc-act.vc-marked) {
 color: var(--ref-brand-detail);
}
/* Only .deliverable-save-version gets the tint back: its base rule already
   carries a border and fill in the pressed state. .vh-mark's pressed state is
   ink-only, so it stays ink-only — this restores colour, it does not add a
   box that was never there. */
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .deliverable-save-version[aria-pressed="true"] {
 border-color: color-mix(in srgb, var(--ref-brand-detail) 40%, var(--line));
 background: color-mix(in srgb, var(--ref-brand-detail) 12%, transparent);
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .deliverable-save-version[aria-pressed="true"]:hover {
 background: color-mix(in srgb, var(--ref-brand-detail) 20%, transparent);
}
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .vhp-diff-actions .pm-feature-btn[aria-pressed="true"] {
 border-color: color-mix(in srgb, var(--ref-brand-detail) 40%, var(--line));
 background: color-mix(in srgb, var(--ref-brand-detail) 12%, transparent);
}

/* ── 8. Tool-group status tones ────────────────────────────────────────────
   _tool_group_details.html.erb carried raw Tailwind palette classes and one
   raw hex. These three classes replace them under the flag; the partial emits
   the original strings verbatim when it is off. Green "done" resolves to the
   same role as items 3 and 7 so every completed state in the editor agrees. */
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .tool-tone--complete { color: var(--ref-brand-detail); }
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .tool-tone--running { color: var(--info-fg); }
html:is([data-reference-system="true"],.reference-root,.reference-editor):not(.clickfunnels-reference)[data-theme] .tool-tone--muted { color: var(--fg-3); }
/* Shared foundations for Overskill's app, public pages and Reference Lab.
 * Keep theme values here. Component recipes consume these roles; layouts own
 * density and composition. Legacy opt-out, CF AI and customer OAuth are excluded.
 * Canonical guide: docs/design/OVERSKILL-DESIGN-SYSTEM.md. */
html:is([data-reference-system="true"],.reference-root,.reference-editor,.os-reference-marketing):not(.clickfunnels-reference)[data-theme="light"],
html:is([data-reference-system="true"],.reference-root,.reference-editor,.os-reference-marketing):not(.clickfunnels-reference) [data-theme="light"]:not([data-oauth-app-themed="true"]) {
 --fg:#202124; --fg-2:#51555C; --fg-3:#5C626A; --fg-4:var(--fg-3);
 /* --fg-3 darkened #626870 -> #5C626A (WCAG 2.2 AA sweep, 2026-10-24).
    #626870 cleared AA on the two surfaces anyone checks by eye (5.15:1 on
    --rx-canvas, 5.62:1 on --rx-panel) and FAILED on every tighter grey it
    actually sits on: 4.14:1 on --rx-overlay-active (#DDDDDD), 4.34:1 on the
    library tab-count fill, 4.42:1 on --line. That is 40 failing nodes across
    14 routes, all of them the signed-in rail's account row and credit chip,
    because the rail renders its ACTIVE state over --rx-overlay-active.
    Holding chroma + hue and dropping OKLCH L by 0.020 clears all three
    (4.53 / 4.75 / 4.84) and lifts the two that already passed. Darkening a
    foreground on a light canvas can only raise contrast, so there is no
    surface this can regress.
    NOTE --fg-4:var(--fg-3) is this file OVERRIDING design_system/_tokens.css,
    where light --fg-3 is #626263 and --fg-4 is #a0a0a1 and the comment says
    --fg-4 is DECORATIVE ONLY and must never carry text. Collapsing the two
    here means every --fg-4 consumer gets the text token; that is the shipped
    reference-system behaviour and is NOT changed by this commit (it is a
    design decision, not a contrast one), but it is why the failing nodes
    resolve to --fg-3's value rather than the audited _tokens.css pair.
    Pinned by spec/design_system/fg_role_contrast_spec.rb. */
 /* Surfaces have roles; state fills and borders keep their independent scale. */
 --rx-rail:#E7E7E7; --rx-canvas:#F5F5F5; --rx-chrome:#EEEEEE; --rx-panel:#FFFFFF; --rx-preview:#FFFFFF;
 --rx-chat-panel:#FAFAFA; --rx-chat-selected:#F0F0F0;
 --bg:var(--rx-canvas); --bg-1:var(--rx-chrome); --bg-2:var(--rx-panel); --bg-3:#F1F1F1;
 --line:#E4E4E4; --line-2:#D9D9D9; --rx-divider:var(--line);
 --rx-field:#FFFFFF; --rx-field-hover:#FAFAFA; --rx-field-border:#D2D2D2;
 --rx-raised:#FFFFFF; --rx-composer:#FFFFFF; --rx-readonly:var(--bg-1);
 /* Overlay = white, like the panels it opens over (design audit 2026-11-10,
    F3): #FCFCFC was a hair DARKER than the white cards under every popover,
    so a floating layer read as cut in. Border + floating shadow separate it. */
 --rx-overlay:#FFFFFF; --rx-overlay-border:color-mix(in srgb,var(--line-2) 70%,var(--rx-overlay));
 --rx-surface-hover:#F0F0F0; --rx-hover:#EBEBEB; --rx-active:#E5E5E5;
 --rx-surface-selected:#F1F1F1; --rx-overlay-selected:#F0F0F0;
 --rx-overlay-hover:#F4F4F4; --rx-overlay-selected-hover:#E9E9E9; --rx-overlay-active:#E8E8E8;
 --ref-segment-selected:var(--rx-raised);
 --ref-hover-border:var(--line-2);
 --rx-primary:#202124; --rx-primary-ink:#FFFFFF;
 --rx-primary-hover:#3C4045; --rx-primary-active:#484D54;
 --rx-secondary:#F0F0F0; --rx-secondary-hover:#E5E5E5; --rx-secondary-active:#DCDCDC;
 --rx-floating-shadow:0 2px 4px rgb(0 0 0 / 2%),0 12px 28px rgb(0 0 0 / 7%);
}
html:is([data-reference-system="true"],.reference-root,.reference-editor,.os-reference-marketing):not(.clickfunnels-reference)[data-theme="dark"],
html:is([data-reference-system="true"],.reference-root,.reference-editor,.os-reference-marketing):not(.clickfunnels-reference) [data-theme="dark"]:not([data-oauth-app-themed="true"]) {
 --fg:#F2F3F5; --fg-2:#B7BAC0; --fg-3:#989DA5; --fg-4:var(--fg-3);
 --rx-rail:#0E0F10; --rx-canvas:#121314; --rx-chrome:#18191A; --rx-panel:#1E1F21; --rx-preview:var(--rx-panel);
 --rx-editor-canvas:#151617;
 --rx-chat-panel:#1B1C1E; --rx-chat-selected:#25272A;
 --bg:var(--rx-canvas); --bg-1:var(--rx-chrome); --bg-2:var(--rx-panel); --bg-3:#242528;
 --line:#292B2F; --line-2:#35383E; --rx-divider:var(--line);
 --rx-field:#1B1C1E; --rx-field-hover:#202124; --rx-field-border:#3A3E45;
 /* Suggestions share the cool card palette, with a quiet tonal hover below menus. */
 --ref-suggestion-bg:var(--rx-panel); --ref-suggestion-hover:var(--rx-field-hover);
 --rx-raised:#242528; --rx-composer:var(--rx-raised); --rx-readonly:var(--bg-1);
 /* Overlay sits ABOVE raised (design audit 2026-11-10, F3). #222426 was
    darker than the #242528 composer the model menu opens from (1.02:1 the
    wrong way), so menus read as cut into the page and only the border and
    shadow held them up. #2A2C2F is the audit's proposed overlay role: 1.09:1
    over the composer, 1.18:1 over a card. The overlay STATE fills move with
    it (hover #292B2E would now sink below the menu): each stays a lift over
    the new overlay and keeps --fg-3 at or above 4.5:1. Selected-hover keeps
    its value (already the top of the ladder). */
 --rx-overlay:#2A2C2F; --rx-overlay-border:color-mix(in srgb,var(--line-2) 70%,var(--rx-overlay));
 --rx-surface-hover:#2C2E31; --rx-hover:#2C2E31; --rx-active:#303236;
 --rx-surface-selected:#2A2C2F; --rx-overlay-selected:#333538;
 --rx-overlay-hover:#303235; --rx-overlay-selected-hover:#36383C; --rx-overlay-active:#323437;
 --ref-segment-selected:#141414;
 --ref-hover-border:var(--line-2);
 --rx-primary:#E8EAED; --rx-primary-ink:#202124;
 --rx-primary-hover:#FFFFFF; --rx-primary-active:#CDD0D5;
 --rx-secondary:#252628; --rx-secondary-hover:#333538; --rx-secondary-active:#3C3F43;
 --rx-floating-shadow:0 2px 4px rgb(0 0 0 / 9%),0 12px 28px rgb(0 0 0 / 24%);
}
html:is([data-reference-system="true"],.reference-root,.reference-editor,.os-reference-marketing):not(.clickfunnels-reference)[data-theme],
html:is([data-reference-system="true"],.reference-root,.reference-editor,.os-reference-marketing):not(.clickfunnels-reference) [data-theme]:not([data-oauth-app-themed="true"]) {
 /* fg-4 is retained for legacy icon/label consumers; readable text has three
    roles. Disabled controls own their opacity rather than a faint text token. */
 /* The rail is recessed below the canvas in both appearances. Keep this
    independent of chrome/panels so menus retain their own elevation. */
 --rail-bg:var(--rx-rail);
 --rx-panel-shadow:none; --composer-shadow:none;
 --ref-button-light-depth:none; --ref-button-light-depth-hover:none;
 --ref-button-secondary-depth:none; --ref-button-secondary-depth-hover:none;
 --ref-button-primary-gradient:none; --ref-button-primary-gradient-hover:none;
 --ref-button-secondary-gradient:none; --ref-button-secondary-gradient-hover:none;
 --ref-button-primary-hover:var(--rx-primary-hover);
 --ref-button-secondary-hover:var(--rx-secondary-hover);
 --rx-secondary-ink:var(--fg-2);
 /* Marketing uses the same semantic roles, including its explicit islands. */
 --marketing-bg:var(--bg); --marketing-panel:var(--bg-1);
 --marketing-surface:var(--bg-2); --marketing-inset:var(--bg-3);
 --marketing-fg:var(--fg); --marketing-muted:var(--fg-2);
 --marketing-quiet:var(--fg-3); --marketing-placeholder:var(--fg-3);
 --marketing-line:var(--line); --marketing-line-strong:var(--line-2);
 --marketing-primary:var(--rx-primary); --marketing-primary-ink:var(--rx-primary-ink);
 --marketing-primary-hover:var(--rx-primary-hover);
 --marketing-primary-gradient:none; --marketing-primary-gradient-hover:none;
 --marketing-secondary:var(--rx-secondary); --marketing-secondary-hover:var(--rx-secondary-hover);
 --marketing-button-shadow:none; --marketing-button-shadow-hover:none;
 --marketing-overlay-shadow:var(--rx-floating-shadow);
}
html:is([data-reference-system="true"],.reference-root,.reference-editor,.os-reference-marketing):not(.clickfunnels-reference)[data-theme="light"],
html:is([data-reference-system="true"],.reference-root,.reference-editor,.os-reference-marketing):not(.clickfunnels-reference) [data-theme="light"]:not([data-oauth-app-themed="true"]) {
 --ref-brand-soft:hsl(130 55% 28%);
 --ref-checkbox-fill:var(--brand);
 --success-fg:var(--ref-brand-soft); --warning-fg:#B9480D; --danger-fg:#BA2623; --info-fg:#0169CC;
 --ref-focus:#929292; --ref-keyboard-focus:#777777; --ref-focus-halo:rgb(0 0 0 / 4%);
}
html:is([data-reference-system="true"],.reference-root,.reference-editor,.os-reference-marketing):not(.clickfunnels-reference)[data-theme="dark"],
html:is([data-reference-system="true"],.reference-root,.reference-editor,.os-reference-marketing):not(.clickfunnels-reference) [data-theme="dark"]:not([data-oauth-app-themed="true"]) {
 --ref-brand-soft:var(--ref-brand-alt);
 --ref-checkbox-fill:var(--brand);
 --success-fg:var(--ref-brand-alt); --warning-fg:#FF8549; --danger-fg:#FF6764; --info-fg:#99CEFF;
 --ref-focus:#505050; --ref-keyboard-focus:#909090; --ref-focus-halo:rgb(255 255 255 / 2%);
}
html:is([data-reference-system="true"],.reference-root,.reference-editor,.os-reference-marketing):not(.clickfunnels-reference)[data-theme],
html:is([data-reference-system="true"],.reference-root,.reference-editor,.os-reference-marketing):not(.clickfunnels-reference) [data-theme]:not([data-oauth-app-themed="true"]) {
 --brand:#45E760; --brand-fg:#0a0e0a; --ref-brand-alt:#75D785;
 --ref-checkbox-ink:#000000;
 --font-body:"Geist","Noto Sans JP","Noto Sans Arabic",system-ui,-apple-system,sans-serif;
 --font-heading-large:"Grifter","Geist","Noto Sans JP","Noto Sans Arabic",system-ui,sans-serif;
 --font-display:var(--font-body); --font-mono:"JetBrains Mono","Noto Sans JP","Noto Sans Arabic",ui-monospace,monospace;
 --radius-sm:8px; --radius-md:12px; --radius-lg:20px; --radius-xl:24px; --radius-pill:999px;
 --ref-button-radius:10px; --ref-button-radius-small:9px;
 --accent:var(--rx-primary); --accent-fg:var(--rx-primary-ink); --accent-hover:var(--rx-primary-hover); --primary-hover:var(--rx-primary-hover);
 --accent-text:var(--fg); --accent-text-hover:var(--fg);
 --hover-bg:var(--rx-surface-hover); --hover-border:var(--line-2);
 --card-bg:var(--rx-panel); --rail-bg:var(--rx-rail);
 --field-bg:var(--rx-field); --field-fg:var(--fg); --field-border:var(--rx-field-border);
 --field-border-hover:var(--line-2); --field-placeholder:var(--fg-3);
 --ref-field-focus:var(--ref-brand-soft); --ref-field-focus-visible:var(--ref-brand-soft);
 --field-border-focus:var(--ref-field-focus);
 --field-ring-color:color-mix(in srgb,var(--ref-field-focus) 12%,transparent);
 --field-ring:0 0 0 3px var(--field-ring-color);
 --focus-ring-color:var(--ref-keyboard-focus); --focus-ring:0 0 0 2px var(--ref-keyboard-focus);
 --credit-action:var(--ref-brand-soft); --ref-brand-detail:var(--ref-brand-soft);
 /* Promotional emphasis, distinct from success and interactive selection. */
 --ref-highlight-ink:var(--ref-brand-detail);
 --ref-highlight-bg:color-mix(in srgb,var(--ref-highlight-ink) 10%,var(--rx-panel));
 --ref-highlight-border:var(--line-2);
 --success-bg:color-mix(in srgb,var(--success-fg) 10%,var(--rx-panel));
 --warning-bg:color-mix(in srgb,var(--warning-fg) 10%,var(--rx-panel));
 --danger-bg:color-mix(in srgb,var(--danger-fg) 10%,var(--rx-panel));
 --info-bg:color-mix(in srgb,var(--info-fg) 10%,var(--rx-panel));
 --marketing-bg:var(--rx-canvas); --marketing-panel:var(--rx-chrome);
 --marketing-surface:var(--rx-panel); --marketing-inset:var(--bg-3);
 --marketing-fg:var(--fg); --marketing-muted:var(--fg-2); --marketing-quiet:var(--fg-3);
 --marketing-placeholder:var(--fg-3); --marketing-line:var(--line); --marketing-line-strong:var(--line-2);
 --marketing-divider:var(--rx-divider); --marketing-hover:var(--rx-hover); --marketing-hover-border:var(--line-2);
 --marketing-field:var(--rx-field); --marketing-raised:var(--rx-overlay);
 --marketing-menu-hover:var(--rx-overlay-hover); --marketing-menu-selected:var(--rx-overlay-selected);
 --marketing-selection:var(--rx-surface-selected); --marketing-focus:var(--ref-field-focus);
 --marketing-keyboard:var(--ref-keyboard-focus); --marketing-halo:var(--field-ring-color);
 --marketing-green-ink:var(--ref-brand-soft);
 --marketing-primary:var(--rx-primary); --marketing-primary-ink:var(--rx-primary-ink);
 --marketing-primary-hover:var(--rx-primary-hover); --marketing-primary-active:var(--rx-primary-active);
 --marketing-secondary:var(--rx-secondary); --marketing-secondary-hover:var(--rx-secondary-hover);
 --marketing-primary-gradient:none; --marketing-primary-gradient-hover:none;
 --marketing-button-shadow:none; --marketing-button-shadow-hover:none;
 --marketing-overlay-shadow:var(--rx-floating-shadow);
}
html:is([data-reference-system="true"],.reference-root,.reference-editor,.os-reference-marketing):not(.clickfunnels-reference)[data-theme] :is(.text-display-xl,.text-display-lg,.text-display-md,.text-heading-lg) {
 font-family:var(--font-heading-large); font-weight:700;
}
html:is([data-reference-system="true"],.reference-root,.reference-editor,.os-reference-marketing):not(.clickfunnels-reference)[data-theme] :is(.text-heading-md,.text-heading-sm,.text-title-lg,.text-title-md,.text-title-sm) {
 font-family:var(--font-body); font-weight:600;
}
html:is([data-reference-system="true"],.reference-root,.reference-editor,.os-reference-marketing):not(.clickfunnels-reference)[data-theme] :is(.text-body-lg,.text-body-md,.text-body-sm) { font-weight:400; }

/* Composer send actions share the editor's brand green once input is ready.
   Keep the legacy --rx-send alias neutral: other primary controls consume it. */
html:is([data-reference-system="true"],.reference-root,.reference-editor,.os-reference-marketing):not(.clickfunnels-reference)[data-theme] {
 --ref-composer-send:var(--brand); --ref-composer-send-ink:var(--brand-fg);
 --ref-composer-send-hover:var(--ref-brand-alt);
}
html:is([data-reference-system="true"],.reference-root,.reference-editor,.os-reference-marketing):not(.clickfunnels-reference)[data-theme] :is(.composer[data-composer-ready="true"] .send,.composer.has-content .send,.composer .composer-submit,.ref-compose-send,.editor-send-btn):not(:disabled,[aria-disabled="true"]) {
 background:var(--ref-composer-send); color:var(--ref-composer-send-ink); box-shadow:none;
}
html:is([data-reference-system="true"],.reference-root,.reference-editor,.os-reference-marketing):not(.clickfunnels-reference)[data-theme] :is(.composer[data-composer-ready="true"] .send,.composer.has-content .send,.composer .composer-submit,.ref-compose-send,.editor-send-btn):hover:not(:disabled,[aria-disabled="true"],[aria-busy="true"],.is-loading) {
 background:var(--ref-composer-send-hover); color:var(--ref-composer-send-ink); transform:none;
}
html:is([data-reference-system="true"],.reference-root,.reference-editor,.os-reference-marketing):not(.clickfunnels-reference)[data-theme] :is(.composer:not(.has-content):not([data-composer-ready="true"]) .send,.composer .send:disabled,.composer .composer-submit:disabled,.ref-compose-send:disabled) {
 background:var(--bg-3); color:var(--fg-3); box-shadow:none; transform:none;
}
html:is([data-reference-system="true"],.reference-root,.reference-editor,.os-reference-marketing):not(.clickfunnels-reference)[data-theme] :is(.composer .send,.composer .composer-submit,.ref-compose-send,.editor-send-btn) svg { color:inherit; }

html.os-reference-marketing[data-theme] #mkt .hero2-send:not(:disabled,[aria-disabled="true"]) {
 background:var(--brand); color:var(--brand-fg); box-shadow:none; background-image:none;
}
html.os-reference-marketing[data-theme] #mkt .hero2-send:hover:not(:disabled,[aria-disabled="true"],[aria-busy="true"],.is-loading) {
 background:var(--ref-brand-alt); color:var(--brand-fg); transform:none;
}
/* ==========================================================================
   ACID REFRESH IN THE APP: KEYBOARD FOCUS ON DARK (:acid_app, default OFF)
   --------------------------------------------------------------------------
   Ruled by Jason Sanzone, 2026-11-18, against the brand guidelines (version 8
   draft, slide 45: "a 2px green outline, 2px offset. The same everywhere."):

     - Keyboard focus is GREEN. "Users should rarely see it but needs to be
       WCAG." Brand green #45E760 is 11.4:1 on the dark page.
     - FIELD focus (inputs and the composer) is NOT this outline. It keeps the
       1px border in the softer second green #75D785 plus the soft 3px ring,
       on the field's outer surface only. Production already draws exactly
       that on dark (reference_foundations.css: --ref-field-focus is
       --ref-brand-alt, --field-ring is 3px at 12%; _field_focus_styles.css
       strips the outline from every field and paints composite fields on
       their shell). So this sheet declares NO field token and adds no field
       rule: the ruling is met by leaving fields alone.
     - LIGHT IS NOT RULED. Green is 1.5:1 on a light page and the light answer
       is unconfirmed, so every selector here needs data-theme="dark" on
       <html>, and the rules that change geometry also skip a light island
       inside a dark page. Light renders exactly as it does without the flag.

   This reverses the July 2026 "soften the ring" decision and the neutral
   keyboard grey that followed it (design audit 2026-11-10), for dark, under
   the flag, on the designer's own ruling. With the flag off, on light, and on
   ClickFunnels AI, both of those still stand; spec/javascript/
   focus_ring_soft_spec.rb and spec/design_system/focus_ring_contrast_spec.rb
   pin both halves.

   EVERY selector starts with the same three attributes:
     data-reference-system="true"  the design refresh. ClickFunnels AI, partner
                                   and customer sign-in pages never carry it.
     data-acid-app="true"          the flag (AcidAppHelper).
     data-theme="dark"             the theme the ruling covers.

   Required from reference_system.css AFTER reference_foundations: the token
   block below has the same specificity as the foundations' own, and wins by
   coming later.
   ========================================================================== */

/* 1. THE COLOUR. One token carries it.
   The refresh already forces every :focus-visible outline to
   --ref-keyboard-focus with !important (_platform_qa_styles.css), and binds
   --focus-ring-color to the same token, so rebinding the token turns every
   outline in the app green without touching a component rule. The second
   selector repeats it for a dark island inside the dark page: _theme_islands
   and the foundations re-declare the grey on every nested [data-theme="dark"],
   which would otherwise win for everything inside one. A LIGHT island keeps
   its own grey (it re-declares the token on itself), and a customer-themed
   sign-in island is skipped the way the foundations skip it.

   --focus-ring (a 2px box-shadow ring in this same token) follows too. See
   section 6 for what that idiom is and why its geometry is left alone. */
html[data-reference-system="true"][data-acid-app="true"][data-theme="dark"],
html[data-reference-system="true"][data-acid-app="true"][data-theme="dark"] [data-theme="dark"]:not([data-oauth-app-themed="true"]) {
  --ref-keyboard-focus:#45E760;
}

/* 2. ONE WIDTH. A few controls drew a 1px outline (the rail's group
   headings). Harmless where a control has no outline: width without a style
   paints nothing, so fields and composite shells are unaffected. */
html[data-reference-system="true"][data-acid-app="true"][data-theme="dark"] :focus-visible:not(:where([data-theme="light"],[data-theme="light"] *,[data-oauth-app-themed="true"],[data-oauth-app-themed="true"] *)) { outline-width:2px!important; }

/* 3. ONE OFFSET. Measured before this change on six signed-in pages (991
   focusable controls, dark): outlines sat at 1, 2 and 3px, and the
   stylesheets also hold 4 and 5px. These are the rules that set a positive
   offset other than 2px on a surface the signed-in app draws.
   NOT in this list, on purpose:
     - INSET rings (a negative offset): list rows, table and scroll regions,
       full-bleed tiles. They are inset because an outset ring would be
       clipped by the scroller they sit in. Forcing +2px there would hide the
       focus ring, so they keep their inset and take only the colour.
     - Fields. See the header.
     - Rules that only match on public pages or sign-in. Those layouts never
       carry data-acid-app.
     - The box-shadow rings of section 6, which sit at 0px.
     - Publish: the editor top bar's control and the publish window's button.
       They are ruled, and drawn with their outline in _acid_app_publish.css.
   A new control whose rule sets another offset shows up as a green ring at
   that offset: add it here. */
html[data-reference-system="true"][data-acid-app="true"][data-theme="dark"] :is(
  .btn:focus-visible,
  .icon-btn:focus-visible,
  .seg-btn:focus-visible,
  .ds-tab:focus-visible,
  .card-hoverable:focus-visible,
  .prompt-chip:focus-visible,
  .chip:focus-visible,
  .link-chip:focus-visible,
  .cp-link:focus-visible,
  .rx-text-button:focus-visible,
  a.button:focus-visible,
  .checkbox:focus-visible,
  .radio:focus-visible,
  .toggle:focus-visible,
  .switch input:focus-visible ~ .track,
  button.switch:focus-visible .track,
  .form input[type="radio"]:focus-visible,
  .opt-card:has(input:focus-visible),
  .support-priority-card:has(input:focus-visible),
  .alt-prompt:focus-visible,
  .audit-filter-panel summary:focus-visible,
  .credits-upgrade:focus-visible,
  .credits-pop .cp-tip:focus-visible,
  .topup-modal-panel .topup-pack-buy:focus-visible,
  .upgrade-option:focus-visible,
  .cu-plans__tab:focus-visible,
  .cu-plans__billing-choice:focus-visible,
  .kyc-action-banner-dismiss:focus-visible,
  .monetize-disclosure > summary:focus-visible,
  .computer-nav__seeall:focus-visible,
  .computer-nav__archived-restore:focus-visible,
  .computer-ask-again__btn:focus-visible,
  .computer-fup-heading:focus-visible,
  .computer-fup-nav:focus-visible,
  .computer-fup-card:focus-visible,
  .computer-queued__steer:focus-visible,
  .computer-queued__cancel:focus-visible,
  .computer-library__project:focus-visible,
  .computer-library__snippet-title:focus-visible,
  .computer-library__snippet-body:focus-visible,
  .computer-browser-view__button:focus-visible,
  .computer-research-result__sources a:focus-visible,
  .computer-goal-card__head:focus-visible,
  .cproj__icon-ai:focus-visible,
  .csched__form-submit:focus-visible,
  .cinbox__form-submit:focus-visible,
  .ctpl__cta--use:focus-visible,
  .crtpl__zero-cta:focus-visible,
  .crtpl-show__use:focus-visible,
  .crtpl-save__submit:focus-visible,
  .build-card-stop:focus-visible,
  .build-card-footer-btn:focus-visible,
  .build-card-footer .version-card-action:focus-visible,
  .build-card-publish-chip:focus-visible,
  .composer-next-prompt-hint__use:focus-visible,
  .cmb-host .cmb-slider:has(.cmb-range:focus-visible),
  input.ref-thinking-range:focus-visible,
  .dd-dot:focus-visible,
  .email-tab__panel:focus-visible,
  .funnel-email-info:focus-visible,
  .funnel-email-popover__send:focus-visible,
  .ds-pagination .pagy a:focus-visible,
  .mem-profile .photo-upload:focus-within,
  .pb-funnel-questions summary:focus-visible,
  .pm.pm-v3 .pm-icobtn:focus-visible,
  .pm .feature-btn:focus-visible,
  .sia-chip-remove:focus-visible,
  .ti-about-disclosure > summary:focus-visible,
  .ve-data-dialog :focus-visible,
  .ve-text-action-help:focus-visible,
  .experiments :focus-visible,
  .optimize-idea-card > .optimize-idea-details > summary:focus-visible,
  .preview-learning__deck a:focus-visible,
  .pslides--overskill button:focus-visible,
  .pslides--overskill a:focus-visible
):not(:where([data-theme="light"],[data-theme="light"] *,[data-oauth-app-themed="true"],[data-oauth-app-themed="true"] *)) { outline-offset:2px!important; }

/* 4. THE DARK GREY THAT WAS STILL A FOCUS RING. --ref-focus (#505050 on dark,
   2.3:1 on the page) is the quiet pointer grey; the audit of 2026-11-10 moved
   every :focus-visible outline off it, but a card that draws the ring on
   behalf of a hidden native input is not :focus-visible itself, so the forced
   colour never reached it. These two are the places it still rendered as a
   keyboard focus indicator. --ref-focus itself is left alone: it is also the
   border of a SELECTED option card, which is not focus. */
html[data-reference-system="true"][data-acid-app="true"][data-theme="dark"] :is(.opt-card,.support-priority-card):has(input:focus-visible):not(:where([data-theme="light"],[data-theme="light"] *,[data-oauth-app-themed="true"],[data-oauth-app-themed="true"] *)) { outline-color:var(--ref-keyboard-focus); }
/* FIVE RULES FORCE THEIR OWN OUTLINE COLOUR with !important at a higher
   specificity than the refresh's global rule, so the token never reached
   them and they were not green: the buttons of the share,
   environment-variable and create-table dialogs drew --ref-focus (#505050,
   2.3:1 on the page), and the rows of the account menu and of an open
   select's list drew --ref-brand-detail (the alt green #75D785, the field
   colour). Their width and offset are already right (the menu and list rows
   are inset on purpose). The colour is re-pointed at the token, as the light
   sheet does. Found by the review of the light sheet (2026-11-18); the spec
   scans for a sixth. */
html[data-reference-system="true"][data-acid-app="true"][data-theme="dark"] :is(
  [data-database-manager-target="createTableModal"] :is(button),
  [data-env-var-modal-target="modal"] :is(button),
  #share_modal :is(button,a),
  .reference-account-menu .nav-user-menu-item,
  select:not([multiple]):not([size]):not(:where([data-oauth-app-themed="true"] *,[data-reference-field-focus="native"])) option
):focus-visible:not(:where([data-theme="light"],[data-theme="light"] *,[data-oauth-app-themed="true"],[data-oauth-app-themed="true"] *)) { outline-color:var(--ref-keyboard-focus)!important; }

/* 5. FOUR CONTROLS THAT WRITE THE RING OUT BY HAND. The account avatar, the
   notification bell, the app card's menu button and the project swatch each
   spell `0 0 0 2px <ground>, 0 0 0 4px var(--accent)`: a 2px gap painted in
   the ground colour, then a 2px ring, which is already the ruled geometry,
   in the neutral primary instead of the focus colour. Same shadows, the focus
   colour. (The bell's rule selects on its data-testid; that attribute is
   untouched.) */
html[data-reference-system="true"][data-acid-app="true"][data-theme="dark"] :is(
  .nav-avatar,
  .nav-bell-wrap [data-testid="notification-bell-button"],
  .dash-card-menu-trigger
):focus-visible:not(:where([data-theme="light"],[data-theme="light"] *,[data-oauth-app-themed="true"],[data-oauth-app-themed="true"] *)) { box-shadow:0 0 0 2px var(--bg),0 0 0 4px var(--ref-keyboard-focus); }
html[data-reference-system="true"][data-acid-app="true"][data-theme="dark"] .cproj-appcard__swatch:focus-visible:not(:where([data-theme="light"],[data-theme="light"] *,[data-oauth-app-themed="true"],[data-oauth-app-themed="true"] *)) { box-shadow:0 0 0 2px var(--card-bg),0 0 0 4px var(--ref-keyboard-focus); }

/* 6. THE SECOND FOCUS IDIOM, AND WHERE IT STOPS. About 170 component rules
   draw keyboard focus as `outline: none; box-shadow: var(--focus-ring)`: a
   2px ring TOUCHING the control, no gap. The token is bound to
   --ref-keyboard-focus, so all of them are green under the flag, but they sit
   at a 0px offset, not 2px.

   They are NOT moved out wholesale, and this was tried: rebinding
   --focus-ring to "2px gap, then 2px green" reaches every one of them in one
   line, and it clips. A ring that needs 2px of room fits in places where one
   that needs 4px does not: measured on the Computer start page, the cards at
   the edge of the carousel lost a corner of the ring and the tab strip cut
   its top and bottom. A clipped focus ring is worse than one at the old
   offset, so the token keeps its geometry.

   The controls below are the ones on the six measured pages where the 2px
   offset was checked in a browser and has the room: the rail's needs-you
   pill, the home page's tabs and new-app card, and the editor top bar's
   project switcher. They become a real outline at the ruled
   offset. Their resting box-shadow is not lost: the rule they replace
   already swapped it for the ring while focused.
   The rest of the idiom is a per-surface follow-up, each one checked for
   room.

   SECOND PASS (2026-11-19), measured the same way: for every control that
   draws the touching ring, the distance to the nearest ancestor that clips
   (overflow other than visible; a scroller only counts at the true edge of
   its content). 4px on every side is room.
     - Computer start page: the carousel's arrow buttons, the spotlight card,
       the tool tiles and the campaign card have room and are converted. Its
       TAB STRIP, FEATURED CAROUSEL and PHOTO RAILS do not (45 controls): each
       is a box that scrolls sideways, which makes it clip top and bottom,
       and the first card sits on its left edge. They keep the touching
       ring. Padding the three scrollers was tried and backed out: every
       card stayed at the same x, y and size, but the unloaded picture cards
       rendered a different tone with the flag on, with identical computed
       styles, and a change at rest that cannot be explained does not ship.
     - The blank start view: the back links, the brief buttons and the
       picks. The "Add credits" link there is a paywall and is left alone
       (pricing is not to change).
     - Home: the start cards and a card's republish nudge.
     - Computer Library: the view buttons, the cards and "Load more".
   Still at 0px after this pass: everything on a surface not measured (the
   Computer chat, full view, flow canvas, campaign and project pages, the
   publish and share dialogs, pricing, sign-in, support, integrations). */
html[data-reference-system="true"][data-acid-app="true"][data-theme="dark"] :is(
  .computer-nav__needs-you,
  .dash-tab,
  .dash-new-app-card,
  .editor-topbar .proj-switch,
  .cs3-icon-btn,
  .cs3-spotlight,
  .cs3-tool,
  .cs3-campaign,
  .cs3-back,
  .cs3-brief,
  .cs3-pick,
  .creative-start-card,
  .dash-card-icon-nudge-btn,
  .computer-library__view-btn,
  .computer-library__card,
  .computer-library__more-btn
):focus-visible:not(:where([data-theme="light"],[data-theme="light"] *,[data-oauth-app-themed="true"],[data-oauth-app-themed="true"] *)) { outline:2px solid var(--ref-keyboard-focus); outline-offset:2px; box-shadow:none; }
/* ONE ring per control. .icon-btn and the editor top bar's icon buttons carry
   the 2px shadow ring AND the refresh's outline at a 2px offset; the two touch
   and read as one 4px band. The refresh already drops the shadow for .btn and
   .seg-btn for this reason (_platform_qa_styles.css); same fix, same reason. */
html[data-reference-system="true"][data-acid-app="true"][data-theme="dark"] :is(.icon-btn,.tb-iconbtn):focus-visible:not(:where([data-theme="light"],[data-theme="light"] *,[data-oauth-app-themed="true"],[data-oauth-app-themed="true"] *)) { box-shadow:none; }

/* 7. WHAT MUST NOT TURN GREEN. Rebinding a token reaches every rule that
   reads it, and not every reader is keyboard focus. Each rule below is pinned
   to #909090, the neutral keyboard grey the foundations declare for dark and
   the value it resolves to without the flag
   (spec/design_system/focus_ring_contrast_spec.rb pins that value, so this
   literal cannot drift from it unnoticed).

   a. SELECTED AND FLASHED STATES that borrow the focus ring token for a
      highlight: the question card the waiting jump lands on, the selected
      frame in the prompt builder's inspector, and its "look here" flash on a
      textarea. Selection is not focus, and nobody ruled that it turns green.
   b. A FIELD FRAME that paints the ring on a plain :focus, mouse clicks
      included (the support reply box with image attach). Field focus is the
      softer second green by ruling, never the keyboard outline; this frame
      is not on the shared field recipe yet, so it keeps its grey rather than
      flash brand green on every click. Its drawer variant already uses the
      field recipe and is left to it.
      TWO MORE FRAMES do the same and were missed at first: the share
      dialog's link box (a read-only link and its Copy button, ring on
      :focus-within) and the document editor's surface (its editor is
      contenteditable, which is :focus-visible on a click). Both flashed
      brand green on a mouse click. They keep today's ring until they are
      moved onto the field recipe, as on light.
   (c. used to pin THE PUBLISH BUTTON, in the editor's top bar and in the
      publish dialog, to the grey while it had no ruling. The designer ruled
      on it on 2026-11-18, option B, and Publish left this list everywhere it
      is drawn: the top bar's control, the dialog's button and the newer
      popover's button all take the ruled outline from _acid_app_publish.css.)

   A new rule that reads --focus-ring, --focus-ring-color or
   --ref-keyboard-focus for something other than keyboard focus needs a line
   here; spec/javascript/focus_ring_soft_spec.rb lists the readers and fails
   on one that is neither a focus rule nor pinned. */
html[data-reference-system="true"][data-acid-app="true"][data-theme="dark"] .wc-ask.is-selected:not(:where([data-theme="light"],[data-theme="light"] *,[data-oauth-app-themed="true"],[data-oauth-app-themed="true"] *)) { box-shadow:0 0 0 3px #909090; }
html[data-reference-system="true"][data-acid-app="true"][data-theme="dark"] .pb-insp-frame.is-selected:not(:where([data-theme="light"],[data-theme="light"] *,[data-oauth-app-themed="true"],[data-oauth-app-themed="true"] *)),
html[data-reference-system="true"][data-acid-app="true"][data-theme="dark"] .textarea.pb-flash:not(:where([data-theme="light"],[data-theme="light"] *,[data-oauth-app-themed="true"],[data-oauth-app-themed="true"] *)),
html[data-reference-system="true"][data-acid-app="true"][data-theme="dark"] .sia-frame:has(textarea:focus):not(.sia--drawer *):not(:where([data-theme="light"],[data-theme="light"] *,[data-oauth-app-themed="true"],[data-oauth-app-themed="true"] *)) { box-shadow:0 0 0 2px #909090; }
html[data-reference-system="true"][data-acid-app="true"][data-theme="dark"] .share-field:focus-within:not(:where([data-theme="light"],[data-theme="light"] *,[data-oauth-app-themed="true"],[data-oauth-app-themed="true"] *)),
html[data-reference-system="true"][data-acid-app="true"][data-theme="dark"] .doc-editor:not(.is-preview) .doc-editor__surface:has(.tiptap:focus-visible):not(:where([data-theme="light"],[data-theme="light"] *,[data-oauth-app-themed="true"],[data-oauth-app-themed="true"] *)) { box-shadow:0 0 0 2px #909090; }
/* ==========================================================================
   ACID REFRESH IN THE APP: FOCUS ON LIGHT (:acid_app, default OFF)
   --------------------------------------------------------------------------
   Ruled by Jason Sanzone, 2026-11-18 18:16 ET: he was sent two choice sheets
   and answered "1A" and "2A". What those options say is below, in the
   sheets' words, not his. The dark half is _acid_app_focus.css, which this
   sheet does not change.

     - KEYBOARD FOCUS (2A): the deep green #0F7A23, a 2px outline at a 2px
       offset on every focusable control. The same shape as dark; only the
       colour differs, because brand green is 1.5:1 on a light page. Deep green
       is 5.0:1 on the page, 5.5:1 on a card and 4.4:1 on the grey rail.
     - FIELD FOCUS (1A), every light field (inputs, textareas, selects, the
       composer): a 1px border #206F2D on the field's edge, and a 3px ring
       OUTSIDE it in the alt green #75D785 at 35%: the darker line first, the
       light one outside, which is the order he asked for at 13:49 the same day.
       On the composer the ring sits on the outer surface only.
     - A field never gets a second outline stacked outside its ring when it is
       reached by keyboard (the stated default; he did not object).

   WHY THIS IS A SECOND SHEET and not more rules in the dark one: plain CSS
   has no way to share a selector list between two scopes, so the choice was
   to rewrite every ruled dark selector to carry both themes, or to leave the
   dark sheet byte-for-byte alone and repeat its lists here. The ruling says
   dark stays exactly as it is, so the lists are repeated, and
   spec/javascript/focus_ring_soft_spec.rb fails when the two drift apart.

   EVERY selector starts with the same three attributes:
     data-reference-system="true"  the design refresh. ClickFunnels AI, partner
                                   and customer sign-in pages never carry it.
     data-acid-app="true"          the flag (AcidAppHelper).
     data-theme="light"            the theme this ruling covers.
   A DARK island inside a light page is skipped by every rule that changes
   geometry, and re-declares its own tokens, so it keeps today's look, the
   same way the dark sheet leaves a light island inside a dark page alone.

   Required from reference_system.css AFTER reference_foundations: the token
   blocks below have the same specificity as the foundations' own, and win by
   coming later.
   ========================================================================== */

/* 1. THE KEYBOARD COLOUR. One token carries it, exactly as on dark: the
   refresh forces every :focus-visible outline to --ref-keyboard-focus with
   !important (_platform_qa_styles.css) and binds --focus-ring-color to the
   same token. --os-green-deep is #0F7A23 (design_system/_tokens.css, on bare
   :root, in the bundle every layout that prints data-acid-app also loads).
   The second selector repeats it for a light island inside the light page:
   _theme_islands and the foundations re-declare the grey on every nested
   [data-theme="light"]. A customer-themed sign-in island is skipped the way
   the foundations skip it. */
html[data-reference-system="true"][data-acid-app="true"][data-theme="light"],
html[data-reference-system="true"][data-acid-app="true"][data-theme="light"] [data-theme="light"]:not([data-oauth-app-themed="true"]) {
  --ref-keyboard-focus:var(--os-green-deep);
}

/* 2. THE FIELD RING. Production already draws the ruled BORDER on light:
   --ref-field-focus is --ref-brand-soft, which the foundations set to
   hsl(130 55% 28%) = #206F2D on light (6.2:1 on a white field), and
   _field_focus_styles.css strips the outline from every field and paints a
   composite field (the composer, a search box) on its shell only. So the
   border, the "outer surface only" rule and "no second outline" are met by
   leaving them alone, and nothing here touches --ref-brand-soft, which is
   also the colour of success text.

   What the ruling changes is the RING: it was that same dark green at 12%,
   which nearly disappears on white (the rejected option 1B). It becomes the
   alt green --os-green-alt (#75D785) at 35%. --field-ring is declared beside
   this token as `0 0 0 3px var(--field-ring-color)`, so the 3px geometry and
   every rule that paints var(--field-ring) follow without a component edit.

   The ring is decoration around the border, not the indicator: at 35% on
   white it composites to about #D0F1D5, 1.2:1. The 3:1 a focus indicator
   needs is carried by the #206F2D border. Do not "fix" the ring's contrast.

   Every reader of --field-ring and --field-ring-color was scanned (the spec
   repeats the scan): each is a field's focus or open state, except guest
   checkout's selected pack and plan, which render in the join layout and
   never carry data-acid-app. Checkboxes,
   radios, toggles and switch tracks also read it on keyboard focus in
   _form.css, but the refresh replaces that shadow with the outline
   (_selection_controls.css sets box-shadow:none on the same five selectors),
   so they never show the ring. A read-only field re-declares --field-ring on
   itself (_editor_styles.css) and keeps its neutral ring; an invalid field
   keeps its red one (_field_focus_styles.css). */
html[data-reference-system="true"][data-acid-app="true"][data-theme="light"],
html[data-reference-system="true"][data-acid-app="true"][data-theme="light"] [data-theme="light"]:not([data-oauth-app-themed="true"]) {
  --field-ring-color:color-mix(in srgb,var(--os-green-alt) 35%,transparent);
}
/* The support reply box with image attach needs no rule. Its own sheet
   paints the frame with the keyboard ring token on a plain :focus, but the
   frame carries data-reference-field-shell, so the shared field recipe above
   it (!important) is what draws: measured in a browser, it is the ruled field
   focus with the flag off and on. (The dark sheet pins the same frame to grey
   in its section 7b; that pin loses to the same recipe and changes nothing.) */

/* THE START PAGE'S DOCKED COMPOSER. .cs3__dock rebinds --field-border-focus
   to a neutral line (_computer_start_v3.css), so its focused composer drew
   the ring and no darker edge. With the old 12% ring that was nearly nothing;
   with the ruled ring it would be a light ring with nothing darker inside it,
   the order the designer sent back on 2026-11-18 at 13:49, and a 1.2:1 ring
   as the only focus indicator. It is a light field, so it takes
   the ruled border. On dark the dock keeps what that page draws. */
html[data-reference-system="true"][data-acid-app="true"][data-theme="light"] .cs3__dock:not(:where([data-theme="dark"],[data-theme="dark"] *,[data-oauth-app-themed="true"],[data-oauth-app-themed="true"] *)) { --field-border-focus:var(--ref-field-focus); }

/* 3. ONE WIDTH. As on dark: a few controls drew a 1px outline. Harmless
   where a control has no outline (width without a style paints nothing), so
   fields and composite shells are unaffected. */
html[data-reference-system="true"][data-acid-app="true"][data-theme="light"] :focus-visible:not(:where([data-theme="dark"],[data-theme="dark"] *,[data-oauth-app-themed="true"],[data-oauth-app-themed="true"] *)) { outline-width:2px!important; }

/* 4. ONE OFFSET. The same list as section 3 of the dark sheet, selector for
   selector: these are the rules that set a positive offset other than 2px on
   a surface the signed-in app draws, and none of them is theme-specific. The
   exclusions are the dark sheet's too: inset rings keep their inset (an
   outset ring would be clipped by the scroller), fields have no outline,
   public and sign-in rules never carry data-acid-app, the box-shadow rings
   of section 7 sit at 0px, and the top bar's Publish control has its own
   sheet (_acid_app_publish.css). A control added to the
   dark list belongs here as well; the spec compares the two lists. */
html[data-reference-system="true"][data-acid-app="true"][data-theme="light"] :is(
  .btn:focus-visible,
  .icon-btn:focus-visible,
  .seg-btn:focus-visible,
  .ds-tab:focus-visible,
  .card-hoverable:focus-visible,
  .prompt-chip:focus-visible,
  .chip:focus-visible,
  .link-chip:focus-visible,
  .cp-link:focus-visible,
  .rx-text-button:focus-visible,
  a.button:focus-visible,
  .checkbox:focus-visible,
  .radio:focus-visible,
  .toggle:focus-visible,
  .switch input:focus-visible ~ .track,
  button.switch:focus-visible .track,
  .form input[type="radio"]:focus-visible,
  .opt-card:has(input:focus-visible),
  .support-priority-card:has(input:focus-visible),
  .alt-prompt:focus-visible,
  .audit-filter-panel summary:focus-visible,
  .credits-upgrade:focus-visible,
  .credits-pop .cp-tip:focus-visible,
  .topup-modal-panel .topup-pack-buy:focus-visible,
  .upgrade-option:focus-visible,
  .cu-plans__tab:focus-visible,
  .cu-plans__billing-choice:focus-visible,
  .kyc-action-banner-dismiss:focus-visible,
  .monetize-disclosure > summary:focus-visible,
  .computer-nav__seeall:focus-visible,
  .computer-nav__archived-restore:focus-visible,
  .computer-ask-again__btn:focus-visible,
  .computer-fup-heading:focus-visible,
  .computer-fup-nav:focus-visible,
  .computer-fup-card:focus-visible,
  .computer-queued__steer:focus-visible,
  .computer-queued__cancel:focus-visible,
  .computer-library__project:focus-visible,
  .computer-library__snippet-title:focus-visible,
  .computer-library__snippet-body:focus-visible,
  .computer-browser-view__button:focus-visible,
  .computer-research-result__sources a:focus-visible,
  .computer-goal-card__head:focus-visible,
  .cproj__icon-ai:focus-visible,
  .csched__form-submit:focus-visible,
  .cinbox__form-submit:focus-visible,
  .ctpl__cta--use:focus-visible,
  .crtpl__zero-cta:focus-visible,
  .crtpl-show__use:focus-visible,
  .crtpl-save__submit:focus-visible,
  .build-card-stop:focus-visible,
  .build-card-footer-btn:focus-visible,
  .build-card-footer .version-card-action:focus-visible,
  .build-card-publish-chip:focus-visible,
  .composer-next-prompt-hint__use:focus-visible,
  .cmb-host .cmb-slider:has(.cmb-range:focus-visible),
  input.ref-thinking-range:focus-visible,
  .dd-dot:focus-visible,
  .email-tab__panel:focus-visible,
  .funnel-email-info:focus-visible,
  .funnel-email-popover__send:focus-visible,
  .ds-pagination .pagy a:focus-visible,
  .mem-profile .photo-upload:focus-within,
  .pb-funnel-questions summary:focus-visible,
  .pm.pm-v3 .pm-icobtn:focus-visible,
  .pm .feature-btn:focus-visible,
  .sia-chip-remove:focus-visible,
  .ti-about-disclosure > summary:focus-visible,
  .ve-data-dialog :focus-visible,
  .ve-text-action-help:focus-visible,
  .experiments :focus-visible,
  .optimize-idea-card > .optimize-idea-details > summary:focus-visible,
  .preview-learning__deck a:focus-visible,
  .pslides--overskill button:focus-visible,
  .pslides--overskill a:focus-visible
):not(:where([data-theme="dark"],[data-theme="dark"] *,[data-oauth-app-themed="true"],[data-oauth-app-themed="true"] *)) { outline-offset:2px!important; }

/* 5. THE POINTER GREY THAT WAS STILL A FOCUS RING. --ref-focus is #929292 on
   light, 2.5:1 on the page. A card that draws the ring on behalf of a hidden
   native input is not :focus-visible itself, so the forced colour never
   reached it. --ref-focus itself is left alone: it is also the border of a
   SELECTED option card, which is not focus. */
html[data-reference-system="true"][data-acid-app="true"][data-theme="light"] :is(.opt-card,.support-priority-card):has(input:focus-visible):not(:where([data-theme="dark"],[data-theme="dark"] *,[data-oauth-app-themed="true"],[data-oauth-app-themed="true"] *)) { outline-color:var(--ref-keyboard-focus); }
/* FIVE RULES FORCE THEIR OWN OUTLINE COLOUR with !important at a higher
   specificity than the refresh's global rule, so the token never reached
   them: the buttons of the share, environment-variable and create-table
   dialogs (--ref-focus, the 2.5:1 pointer grey again), and the rows of the
   account menu and of an open select's list (--ref-brand-detail, #206F2D,
   the field green). Their width and offset are already right (the menu and
   list rows are inset on purpose). The colour is re-pointed at the token.
   On dark the same five still draw their own colour; the dark sheet is not
   changed here. The spec scans for a sixth. */
html[data-reference-system="true"][data-acid-app="true"][data-theme="light"] :is(
  [data-database-manager-target="createTableModal"] :is(button),
  [data-env-var-modal-target="modal"] :is(button),
  #share_modal :is(button,a),
  .reference-account-menu .nav-user-menu-item,
  select:not([multiple]):not([size]):not(:where([data-oauth-app-themed="true"] *,[data-reference-field-focus="native"])) option
):focus-visible:not(:where([data-theme="dark"],[data-theme="dark"] *,[data-oauth-app-themed="true"],[data-oauth-app-themed="true"] *)) { outline-color:var(--ref-keyboard-focus)!important; }

/* 6. FOUR CONTROLS THAT WRITE THE RING OUT BY HAND: a 2px gap painted in the
   ground colour, then a 2px ring, which is already the ruled geometry, in the
   neutral primary instead of the focus colour. Same shadows, the focus
   colour. (The bell's rule selects on its data-testid; that attribute is
   untouched.) */
html[data-reference-system="true"][data-acid-app="true"][data-theme="light"] :is(
  .nav-avatar,
  .nav-bell-wrap [data-testid="notification-bell-button"],
  .dash-card-menu-trigger
):focus-visible:not(:where([data-theme="dark"],[data-theme="dark"] *,[data-oauth-app-themed="true"],[data-oauth-app-themed="true"] *)) { box-shadow:0 0 0 2px var(--bg),0 0 0 4px var(--ref-keyboard-focus); }
html[data-reference-system="true"][data-acid-app="true"][data-theme="light"] .cproj-appcard__swatch:focus-visible:not(:where([data-theme="dark"],[data-theme="dark"] *,[data-oauth-app-themed="true"],[data-oauth-app-themed="true"] *)) { box-shadow:0 0 0 2px var(--card-bg),0 0 0 4px var(--ref-keyboard-focus); }

/* 7. THE BOX-SHADOW RING IDIOM, AND WHERE IT STOPS. About 170 component
   rules draw keyboard focus as `outline: none; box-shadow: var(--focus-ring)`,
   a 2px ring touching the control. They turn deep green with the token and
   stay at 0px, for the reason the dark sheet records in its section 6: moving
   them all out clips in carousels and tab strips. Geometry does not depend on
   the theme, so the controls converted to a real outline are the same ones
   that were checked for room on dark. The rest is the same per-surface
   follow-up. The second pass (2026-11-19) added the same controls as the
   dark sheet, for the reasons it records in its section 6. */
html[data-reference-system="true"][data-acid-app="true"][data-theme="light"] :is(
  .computer-nav__needs-you,
  .dash-tab,
  .dash-new-app-card,
  .editor-topbar .proj-switch,
  .cs3-icon-btn,
  .cs3-spotlight,
  .cs3-tool,
  .cs3-campaign,
  .cs3-back,
  .cs3-brief,
  .cs3-pick,
  .creative-start-card,
  .dash-card-icon-nudge-btn,
  .computer-library__view-btn,
  .computer-library__card,
  .computer-library__more-btn
):focus-visible:not(:where([data-theme="dark"],[data-theme="dark"] *,[data-oauth-app-themed="true"],[data-oauth-app-themed="true"] *)) { outline:2px solid var(--ref-keyboard-focus); outline-offset:2px; box-shadow:none; }
/* ONE ring per control: the shadow ring and the outline touch and read as
   one 4px band. */
html[data-reference-system="true"][data-acid-app="true"][data-theme="light"] :is(.icon-btn,.tb-iconbtn):focus-visible:not(:where([data-theme="dark"],[data-theme="dark"] *,[data-oauth-app-themed="true"],[data-oauth-app-themed="true"] *)) { box-shadow:none; }

/* 8. WHAT MUST NOT TURN GREEN. Rebinding a token reaches every rule that
   reads it. Each rule below is pinned to #777777, the neutral keyboard grey
   the foundations declare for light and the value it resolves to without the
   flag (spec/design_system/focus_ring_contrast_spec.rb pins that value).

   a. SELECTED AND FLASHED STATES that borrow the focus ring token for a
      highlight: the question card the waiting jump lands on, the selected
      frame in the prompt builder's inspector, and its "look here" flash on a
      textarea. Selection is not focus.
   b. TWO FIELD FRAMES THAT PAINT THE KEYBOARD RING, on a mouse click as
      well: the share dialog's link box (a read-only link and its Copy
      button, ring on :focus-within) and the document editor's surface (its
      editor is contenteditable, which is :focus-visible on a click). Neither
      is on the shared field recipe, so the ruled field focus does not reach
      them, and the ruled keyboard colour is not meant for a click into a
      field. They keep today's ring until they are moved onto the recipe.
   (c. used to pin THE PUBLISH BUTTON, in the editor's top bar, the publish
      dialog and the newer publish popover, to the grey while it had no
      ruling. The designer ruled on it on 2026-11-18, option B, and Publish
      left this list everywhere it is drawn: all three take the ruled outline
      from _acid_app_publish.css.)

   A new rule that reads --focus-ring, --focus-ring-color or
   --ref-keyboard-focus for something other than keyboard focus needs a line
   here and in the dark sheet; the spec lists the readers and fails on one
   that is neither a focus rule nor pinned in both. */
html[data-reference-system="true"][data-acid-app="true"][data-theme="light"] .wc-ask.is-selected:not(:where([data-theme="dark"],[data-theme="dark"] *,[data-oauth-app-themed="true"],[data-oauth-app-themed="true"] *)) { box-shadow:0 0 0 3px #777777; }
html[data-reference-system="true"][data-acid-app="true"][data-theme="light"] .pb-insp-frame.is-selected:not(:where([data-theme="dark"],[data-theme="dark"] *,[data-oauth-app-themed="true"],[data-oauth-app-themed="true"] *)),
html[data-reference-system="true"][data-acid-app="true"][data-theme="light"] .textarea.pb-flash:not(:where([data-theme="dark"],[data-theme="dark"] *,[data-oauth-app-themed="true"],[data-oauth-app-themed="true"] *)) { box-shadow:0 0 0 2px #777777; }
html[data-reference-system="true"][data-acid-app="true"][data-theme="light"] .share-field:focus-within:not(:where([data-theme="dark"],[data-theme="dark"] *,[data-oauth-app-themed="true"],[data-oauth-app-themed="true"] *)),
html[data-reference-system="true"][data-acid-app="true"][data-theme="light"] .doc-editor:not(.is-preview) .doc-editor__surface:has(.tiptap:focus-visible):not(:where([data-theme="dark"],[data-theme="dark"] *,[data-oauth-app-themed="true"],[data-oauth-app-themed="true"] *)) { box-shadow:0 0 0 2px #777777; }
/* Shared promotional emphasis. Pricing and Reference Lab render the same partial. */
html:is([data-reference-system="true"],.reference-root,.reference-editor,.os-reference-marketing):not(.clickfunnels-reference) .ds-highlight-panel {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--ref-highlight-border);
  border-radius: var(--radius-md);
  background: var(--ref-highlight-bg);
  color: var(--fg-2);
  overflow-wrap: anywhere;
}
html:is([data-reference-system="true"],.reference-root,.reference-editor,.os-reference-marketing):not(.clickfunnels-reference) .ds-highlight-panel > .ds-highlight-panel__title {
  margin: 0;
  font: 600 18px/1.35 var(--font-body);
  color: var(--ref-highlight-ink);
}
html:is([data-reference-system="true"],.reference-root,.reference-editor,.os-reference-marketing):not(.clickfunnels-reference) .ds-highlight-panel > .ds-highlight-panel__body {
  margin: 0;
  font: 400 13px/1.5 var(--font-body);
  color: var(--fg-2);
}
/* ==========================================================================
   ACID REFRESH IN THE APP: SEGMENTED CONTROL DEPTH (:acid_app, default OFF)
   --------------------------------------------------------------------------
   Jason Sanzone, 2026-11-18: "A couple of references also for giving
   components a little more depth." Two component sheets, dark and light. A
   segmented control is a RECESSED TRACK with a RAISED THUMB: on dark the
   track is darker than the card it sits in (sampled #050608) and the thumb
   is a lifted surface with a faint gradient and a small shadow; on light the
   track is a soft grey (#EDEDEF) and the thumb is white.

   This is the one shared component (.seg, .seg-thumb, .seg-btn;
   design_system/components/_segmented_switcher.css): the Plan / Build pill
   in the composer, the help drawer's tabs, the notification tabs. Today the track is --bg-3 and the thumb is a flat
   --ref-segment-selected with a 1px line around it.

   WHAT DOES NOT CHANGE:
     - The selected label's weight, the sizes, the radius, the thumb's
       slide. (Its COLOUR does change, since 2026-11-19: section 4.)
     - Keyboard focus. A .seg-btn draws the ruled outline; nothing here sets
       an outline, and the two shadows are on the TRACK and the THUMB, which
       are never focused.
     - THE EDITOR'S TOP BAR. Its view switch and device buttons belong to
       the change that owns Publish (ruled 2026-11-18, option B: "Publish is
       the only filled control" in that bar), so nothing inside
       .editor-topbar is matched.
     - PRICING V3. Jason Sanzone narrowed "leave pricing as is" on
       2026-11-19 09:26: "by pricing i meant the 3 column pricing page,
       pricing v3 update". The plan and packs partials on the billing page
       (a billing-v3 class), the public pricing page's own classes and the
       checkout page are skipped. The rest of the billing page, the
       buy-credits and upgrade windows, upsells and paywalls take the depth.
     - The publish dialog and popover, for the same reason as the top bar.
     - THE APPEARANCE SWITCH in the account menu. It sits in an overlay menu
       and has a track fill of its own for that (_account_menu.css), which
       out-ranks this sheet's. Left whole rather than half restyled.

   The track is NOT a boundary a person has to find: each option is a button
   with a text label, and the selected one is marked by its label's colour
   and weight as well as by the thumb. So the track and thumb keep the
   contrast his sheets draw (about 1.2:1 between them, as today), and the
   labels are held to 4.5:1 on both.

   BOTH THEMES; values in --acid-seg-* custom properties on each theme root
   (<html> and any nested [data-theme] island), read from the nearest.
   --ref-segment-selected, the thumb's own fill token, is declared on the
   TRACK rather than on a root: two things that are not segmented controls
   read it (the waitlist page and the agent's file list).
   ========================================================================== */

/* 1. THE VALUES, PER THEME. */
html[data-reference-system="true"][data-acid-app="true"][data-theme="dark"],
html[data-reference-system="true"][data-acid-app="true"] [data-theme="dark"]:not([data-oauth-app-themed="true"]) {
  --acid-seg-track:#08090A;
  --acid-seg-track-depth:inset 0 1px 2px rgb(0 0 0 / 45%);
  --acid-seg-thumb:#1C1D21;
  --acid-seg-thumb-image:linear-gradient(180deg,rgb(255 255 255 / 6%),rgb(255 255 255 / 0%));
  --acid-seg-thumb-depth:inset 0 1px 0 rgb(255 255 255 / 6%),0 1px 2px rgb(0 0 0 / 50%);
}
html[data-reference-system="true"][data-acid-app="true"][data-theme="light"],
html[data-reference-system="true"][data-acid-app="true"] [data-theme="light"]:not([data-oauth-app-themed="true"]) {
  --acid-seg-track:#EDEDEF;
  --acid-seg-track-depth:inset 0 1px 2px rgb(0 0 0 / 8%);
  --acid-seg-thumb:#F8F8F8;
  --acid-seg-thumb-image:linear-gradient(180deg,rgb(255 255 255 / 100%),rgb(255 255 255 / 0%));
  --acid-seg-thumb-depth:0 0 0 1px rgb(0 0 0 / 4%),0 1px 2px rgb(0 0 0 / 14%);
}

/* 2. THE TRACK. Recessed fill and a soft inset. The thumb's fill token is
   declared here so the refresh's own thumb rule resolves to it. */
html[data-reference-system="true"][data-acid-app="true"][data-theme] .seg:not(:where(.editor-topbar *,.ds-appearance *,#publish_modal *,.pm4 *,.gc-page *,.pvc,.pvc *,[class*="billing-v3"],[class*="billing-v3"] *,[class*="pv3-"],[class*="pv3-"] *,[class*="pv4-"],[class*="pv4-"] *,[data-oauth-app-themed="true"],[data-oauth-app-themed="true"] *)) {
  --ref-segment-selected:var(--acid-seg-thumb);
  background-color:var(--acid-seg-track);
  box-shadow:var(--acid-seg-track-depth);
}

/* 3. THE THUMB. Raised: a faint gradient over its fill and a small shadow in
   place of the 1px line. */
html[data-reference-system="true"][data-acid-app="true"][data-theme] .seg:not(:where(.editor-topbar *,.ds-appearance *,#publish_modal *,.pm4 *,.gc-page *,.pvc,.pvc *,[class*="billing-v3"],[class*="billing-v3"] *,[class*="pv3-"],[class*="pv3-"] *,[class*="pv4-"],[class*="pv4-"] *,[data-oauth-app-themed="true"],[data-oauth-app-themed="true"] *)) > .seg-thumb {
  background-image:var(--acid-seg-thumb-image);
  box-shadow:var(--acid-seg-thumb-depth);
}

/* 4. THE SELECTED LABEL IS NEUTRAL INK, NOT GREEN. White on dark, near-black
   on light, as his sheets draw it (2026-11-19: "selected label in neutral
   text ... on a clearly raised thumb, not green"). Green is for live, done
   and focused; "selected" is none of them. The refresh's own rule paints it
   --success-fg. Same scope as the thumb, so the two always move together:
   the editor top bar's switch, the appearance switch and the pricing v3
   partials keep the refresh's green label on the refresh's flat thumb. */
html[data-reference-system="true"][data-acid-app="true"][data-theme] .seg:not(:where(.editor-topbar *,.ds-appearance *,#publish_modal *,.pm4 *,.gc-page *,.pvc,.pvc *,[class*="billing-v3"],[class*="billing-v3"] *,[class*="pv3-"],[class*="pv3-"] *,[class*="pv4-"],[class*="pv4-"] *,[data-oauth-app-themed="true"],[data-oauth-app-themed="true"] *)) .seg-btn:is(.active,[aria-selected="true"],[aria-checked="true"]) {
  color:var(--fg);
}

/* 5. FORCED COLOURS. The system palette owns controls there. */
@media (forced-colors:active) {
  html[data-reference-system="true"][data-acid-app="true"][data-theme],
  html[data-reference-system="true"][data-acid-app="true"] [data-theme]:not([data-oauth-app-themed="true"]) {
    --acid-seg-track-depth:none; --acid-seg-thumb-image:none; --acid-seg-thumb-depth:none;
  }
}
/* ==========================================================================
   ACID REFRESH IN THE APP: MODAL DEPTH (:acid_app, default OFF)
   --------------------------------------------------------------------------
   Jason Sanzone, 2026-11-18: "A couple of references also for giving
   components a little more depth." Two component sheets, dark and light. A
   modal is A LIGHTER RAISED SURFACE WITH A SHADOW OVER A DIMMED WELL: a faint
   top-to-bottom shade on the surface (sampled #222325 to #1B1C1E on dark,
   #FFFFFF to #FAFAFA on light), a hairline edge, one deep soft shadow, and a
   round raised close button. Its title, fields and footer buttons are the
   ones the earlier depth sheets already draw.

   THE ONE COMPONENT this sheet styles is the shared dialog, dialog.modal
   (design_system/components/_modal.css, shared/design_system/_modal). Under
   the refresh it is --rx-raised with a 1px --line edge, 16px corners and the
   small floating shadow every menu uses. What changes:

     1. the surface gets the shade, as a TRANSLUCENT overlay on the fill it
        already has (the app's raised surface is one step lighter than his
        sheet's; an opaque gradient would repaint it and anything a dialog
        has filled itself);
     2. the shadow becomes the deep one his sheets draw;
     3. on LIGHT the well is HIS: a pale grey (#F1F1F2 on his sheet), not a
        dark scrim. The page behind is washed toward that grey at 72%, over
        the blur it already has, where today it is 55% black. The first
        version of this sheet used 38% ink; he asked for his sheet
        (2026-11-19 09:40). Dark is unchanged: 55% black over the page is
        his #050505 well already;
     4. the close button in the dialog's head is round and raised, with the
        secondary button's fill, shade and small shadow (--acid-btn-secondary-*,
        _acid_app_depth_buttons.css) and its own 1px border in --line-2.

   WHAT DOES NOT CHANGE: the dialog's edge colour (today's is within two levels
   of his on both themes), its corners, the size, the padding, the blur behind the
   dialog, the entrance motion, the title, and keyboard focus (nothing here
   sets an outline, and the close button's shadow is left out of
   :focus-visible so the ruled outline is the only ring).

   WHICH DIALOGS. Every dialog.modal EXCEPT the ones named in the :not() list
   every rule below carries. The dialog itself is the styled element here, so
   "skip anything inside a pricing surface" (the other depth sheets' rule)
   does not protect a pricing dialog: it has to be named, by its id or by a
   class of its own.

     - PRICING V3. Jason Sanzone narrowed "leave pricing as is" on
       2026-11-19 09:26: "by pricing i meant the 3 column pricing page,
       pricing v3 update". A dialog that is, or contains, a pricing v3
       partial (a billing-v3, pv3- or pv4- class, .pvc) or the checkout page
       keeps today's look. The card-capture, payout costs and builder
       upgrade dialogs were pinned by the first version of this sheet; they
       take the depth now, like any other dialog.
     - THE SHARED CONFIRM PROMPT (#turbo-confirm-dialog, utils/turbo_confirm.js).
       ONE dialog asks every "are you sure?" in the app, and Publish uses it
       ("Publish anyway", Unpublish). Only its words change, so CSS cannot
       tell a Publish prompt from any other, and the whole prompt keeps
       today's look: the dialog here, its two buttons in
       _acid_app_depth_buttons.css. Giving the ordinary prompts the depth needs the script
       to mark who asked; that is not a stylesheet change.
     - PUBLISH. The leave prompt that offers "Publish now"
       (.publish-nudge-dialog) keeps today's look whole: the Publish control
       belongs to the change that ruled it (2026-11-18, option B). The publish
       window and the newer publish popover are not dialog.modal.
     - DIALOGS WITH A LOOK OF THEIR OWN: the picture viewer
       (.computer-lightbox), the template preview (.modal--preview), the
       integration sheet (.modal--sheet), the streak badge sheet and the
       drawers. They reuse the class for its behaviour, not its surface.
     - A customer-themed sign-in island.
     - BACKSTOP: a dialog that CONTAINS a pricing v3 partial or a Publish
       control (:has()) keeps today's look.
       It is re-read as content arrives, so a dialog whose late content turns
       out to hold one goes back to today's look while it is open.

   spec/config/acid_app_depth_modals_spec.rb lists every dialog.modal it can
   find in the views and the scripts, by file where the id or class is
   computed, and fails on one it does not know. It reads markup, not use: a
   dialog whose WORDS are about pricing or Publish (the shared prompt above)
   has to be pinned by a person.

   A browser without :has() drops every painting rule here (the selector is
   invalid there) and draws today's dialog: the safe direction.

   BOTH THEMES; values in --acid-modal-* custom properties on each theme root
   (<html> and any nested [data-theme] island), read from the nearest. The
   well's colour is written out per theme on ::backdrop, which does not
   reliably inherit custom properties.

   Contrast on the new surface, computed from the painted colours (the spec
   pins these). The shade only DARKENS the dark surface (#242528 to #1E1E21
   at the bottom) and moves the light one by five levels (#FFFFFF to #FAFAFA),
   so each pair is given at its weaker end:
     body text            7.9:1 dark, 7.2:1 light
     muted text           5.6:1 dark, 5.9:1 light
     the close glyph      4.7:1 dark, 5.9:1 light at rest (its fill is the
                          secondary button's: translucent on dark); on
                          hover the glyph is --fg, 9:1 or better
     the fields' edge     3.4:1 dark, 3.6:1 light (the fields sheet's token)
     the focus outline    9.4:1 dark, 5.2:1 light
   The dialog against its well is about 1.2:1 on both themes, as on his
   sheets (it was 5.1:1 on light with the dark scrim): a dialog is not a
   control whose edge has to be found, and its shadow and edge carry it.
   ========================================================================== */

/* 1. THE VALUES, PER THEME. */
html[data-reference-system="true"][data-acid-app="true"][data-theme="dark"],
html[data-reference-system="true"][data-acid-app="true"] [data-theme="dark"]:not([data-oauth-app-themed="true"]) {
  --acid-modal-image:linear-gradient(180deg,rgb(0 0 0 / 0%),rgb(0 0 0 / 18%));
  --acid-modal-depth:inset 0 1px 0 rgb(255 255 255 / 4%),0 24px 64px rgb(0 0 0 / 55%);
}
html[data-reference-system="true"][data-acid-app="true"][data-theme="light"],
html[data-reference-system="true"][data-acid-app="true"] [data-theme="light"]:not([data-oauth-app-themed="true"]) {
  --acid-modal-image:linear-gradient(180deg,rgb(0 0 0 / 0%),rgb(0 0 0 / 2%));
  --acid-modal-depth:0 16px 40px rgb(0 0 0 / 10%),0 2px 6px rgb(0 0 0 / 5%);
}

/* 2. THE SURFACE. The shade over the dialog's own fill, and the deep shadow. */
html[data-reference-system="true"][data-acid-app="true"][data-theme] dialog.modal:not(:where(#turbo-confirm-dialog,.computer-lightbox,.modal--preview,.modal--sheet,[class*="badge-sheet"],[class*="drawer"],[class*="publish"],[class*="billing-v3"],[class*="pv3-"],[class*="pv4-"],[data-oauth-app-themed="true"],[data-oauth-app-themed="true"] *)):not(:has(:where([class*="billing-v3"],[class*="pv3-"],[class*="pv4-"],.gc-page,.pvc,#publish_modal,.pm4,[class*="publish"],[data-testid*="publish"],[data-publish-modal-target],[data-deployment-target="deployButton"],[onclick*="deployToEnvironment"],form[action*="publish"],form[action$="/deploy"]))) {
  background-image:var(--acid-modal-image);
  box-shadow:var(--acid-modal-depth);
}

/* 3. THE WELL, LIGHT ONLY. His pale grey, washed over the page at 72%.
   Literal: see the header. */
html[data-reference-system="true"][data-acid-app="true"][data-theme="light"] dialog.modal:not(:where(#turbo-confirm-dialog,.computer-lightbox,.modal--preview,.modal--sheet,[class*="badge-sheet"],[class*="drawer"],[class*="publish"],[class*="billing-v3"],[class*="pv3-"],[class*="pv4-"],[data-oauth-app-themed="true"],[data-oauth-app-themed="true"] *)):not(:has(:where([class*="billing-v3"],[class*="pv3-"],[class*="pv4-"],.gc-page,.pvc,#publish_modal,.pm4,[class*="publish"],[data-testid*="publish"],[data-publish-modal-target],[data-deployment-target="deployButton"],[onclick*="deployToEnvironment"],form[action*="publish"],form[action$="/deploy"])))::backdrop {
  background:rgb(241 241 242 / 72%);
}

/* 4. THE CLOSE BUTTON in the dialog's head: round and raised. The fill is the
   secondary button's. The edge is the button's OWN 1px border, which is
   transparent at rest today and --line-2 on hover: it is --line-2 at rest
   too, so the edge is one line in both states and the 28px box does not
   move. The shadow is left out of :focus-visible, and a toggled button keeps
   the refresh's own look (no rule here matches it). */
html[data-reference-system="true"][data-acid-app="true"][data-theme] dialog.modal:not(:where(#turbo-confirm-dialog,.computer-lightbox,.modal--preview,.modal--sheet,[class*="badge-sheet"],[class*="drawer"],[class*="publish"],[class*="billing-v3"],[class*="pv3-"],[class*="pv4-"],[data-oauth-app-themed="true"],[data-oauth-app-themed="true"] *)):not(:has(:where([class*="billing-v3"],[class*="pv3-"],[class*="pv4-"],.gc-page,.pvc,#publish_modal,.pm4,[class*="publish"],[data-testid*="publish"],[data-publish-modal-target],[data-deployment-target="deployButton"],[onclick*="deployToEnvironment"],form[action*="publish"],form[action$="/deploy"]))) .modal-head .icon-btn:not([aria-pressed="true"]) {
  border-radius:999px;
  border-color:var(--line-2);
  background-color:var(--acid-btn-secondary-fill);
  background-image:var(--acid-btn-secondary-image);
}
html[data-reference-system="true"][data-acid-app="true"][data-theme] dialog.modal:not(:where(#turbo-confirm-dialog,.computer-lightbox,.modal--preview,.modal--sheet,[class*="badge-sheet"],[class*="drawer"],[class*="publish"],[class*="billing-v3"],[class*="pv3-"],[class*="pv4-"],[data-oauth-app-themed="true"],[data-oauth-app-themed="true"] *)):not(:has(:where([class*="billing-v3"],[class*="pv3-"],[class*="pv4-"],.gc-page,.pvc,#publish_modal,.pm4,[class*="publish"],[data-testid*="publish"],[data-publish-modal-target],[data-deployment-target="deployButton"],[onclick*="deployToEnvironment"],form[action*="publish"],form[action$="/deploy"]))) .modal-head .icon-btn:not([aria-pressed="true"]):not(:focus-visible) {
  box-shadow:var(--acid-btn-secondary-depth);
}
html[data-reference-system="true"][data-acid-app="true"][data-theme] dialog.modal:not(:where(#turbo-confirm-dialog,.computer-lightbox,.modal--preview,.modal--sheet,[class*="badge-sheet"],[class*="drawer"],[class*="publish"],[class*="billing-v3"],[class*="pv3-"],[class*="pv4-"],[data-oauth-app-themed="true"],[data-oauth-app-themed="true"] *)):not(:has(:where([class*="billing-v3"],[class*="pv3-"],[class*="pv4-"],.gc-page,.pvc,#publish_modal,.pm4,[class*="publish"],[data-testid*="publish"],[data-publish-modal-target],[data-deployment-target="deployButton"],[onclick*="deployToEnvironment"],form[action*="publish"],form[action$="/deploy"]))) .modal-head .icon-btn:not([aria-pressed="true"]):hover {
  background-color:var(--acid-btn-secondary-fill-hover);
  background-image:var(--acid-btn-secondary-image-hover);
}

/* 5. FORCED COLOURS. The system palette owns surfaces there. */
@media (forced-colors:active) {
  html[data-reference-system="true"][data-acid-app="true"][data-theme],
  html[data-reference-system="true"][data-acid-app="true"] [data-theme]:not([data-oauth-app-themed="true"]) {
    --acid-modal-image:none; --acid-modal-depth:none;
  }
}
/* Local surface study, September 29. Dashboard content only; the global
 * palette, editor chrome, chat, controls and generated previews keep their roles.
 * Reference Lab uses this same recipe through .ref-dashboard-surfaces. */
html[data-reference-system="true"]:not(.clickfunnels-reference)[data-theme] :is(#dashboard_panel .dash,.ref-dashboard-surfaces) {
  --ref-dashboard-card:var(--rx-chat-panel);
  --ref-dashboard-inset:var(--ref-dashboard-canvas);
  --ref-dashboard-border:var(--line);
  --ref-dashboard-card-radius:var(--radius-md);
}
html[data-reference-system="true"]:not(.clickfunnels-reference)[data-theme="light"] :is(#dashboard_panel .dash,.ref-dashboard-surfaces) {
  --ref-dashboard-canvas:var(--rx-canvas);
  --ref-dashboard-nav:var(--rx-chrome);
  --ref-dashboard-nav-selected:var(--rx-raised);
}
html[data-reference-system="true"]:not(.clickfunnels-reference)[data-theme="dark"] :is(#dashboard_panel .dash,.ref-dashboard-surfaces) {
  --ref-dashboard-canvas:var(--rx-editor-canvas,var(--rx-canvas));
  /* Persistent navigation and static cards share a quiet surface. */
  --ref-dashboard-nav:var(--ref-dashboard-card);
  --ref-dashboard-nav-selected:var(--rx-surface-selected);
}
html[data-reference-system="true"]:not(.clickfunnels-reference)[data-theme] :is(#dashboard_panel .dash-main,.ref-dashboard-surfaces,.ref-dashboard-content) { background:var(--ref-dashboard-canvas); }
html[data-reference-system="true"]:not(.clickfunnels-reference)[data-theme] :is(#dashboard_panel .dash-nav,.ref-dashboard-surfaces .ref-dashboard-nav) { background:var(--ref-dashboard-nav); }
html[data-reference-system="true"]:not(.clickfunnels-reference)[data-theme] :is(#dashboard_panel .dash-nav-item.is-active,.ref-dashboard-surfaces .ref-dashboard-nav [aria-current="page"]) { background:var(--ref-dashboard-nav-selected); }

/* Match content cards, not the code/file rails or table headers that share
 * legacy editor background utilities. Static cards do not acquire a hover. */
html[data-reference-system="true"]:not(.clickfunnels-reference)[data-theme] :is(#dashboard_panel .dash-main,.ref-dashboard-surfaces) :is(
  .dash-card,
  .credit-card,
  .stat-tile,
  .bg-editor-surface-1.border.border-editor-border.rounded-xl,
  .bg-editor-surface-1.border.border-editor-border.rounded-lg,
  .bg-editor-surface-2.border.border-editor-border.rounded-xl,
  [data-controller~="env-var-item"].border.border-editor-border
):not(:where([data-oauth-app-themed="true"] *,[role="dialog"],[role="dialog"] *,[aria-modal="true"],[aria-modal="true"] *)) {
  background:var(--ref-dashboard-card)!important;
  border:1px solid var(--ref-dashboard-border);
  border-radius:var(--ref-dashboard-card-radius);
  box-shadow:none;
}

/* Read-only content sits inside its parent card. Interactive controls retain
 * their existing focus, hover and disabled treatments. */
html[data-reference-system="true"]:not(.clickfunnels-reference)[data-theme] :is(#dashboard_panel .dash-main,.ref-dashboard-surfaces) .ref-dashboard-inset,
html[data-reference-system="true"]:not(.clickfunnels-reference)[data-theme] #dashboard_panel .dash-card .visibility-state:not(:hover,:focus-visible) {
  background:var(--ref-dashboard-inset);
  border-color:var(--ref-dashboard-border);
}

/* Compact tiles were previously flattened by the overview adapter. */
html[data-reference-system="true"]:not(.clickfunnels-reference)[data-theme] #dashboard_panel :is(.dash-overview,.user-directory-stats) .stat-tile {
  padding:12px 14px;
}
/* ==========================================================================
   ACID REFRESH IN THE APP: FIELD DEPTH (:acid_app, default OFF)
   --------------------------------------------------------------------------
   Jason Sanzone, 2026-11-18: "A couple of references also for giving
   components a little more depth." Two component sheets, dark and light. For
   fields they draw a RECESSED WELL: on dark the field is darker than the card
   it sits in (sampled #0C0D0F), on light it is white with a slight inset.
   An error is a red edge on a red-tinted fill; read-only is a dashed edge on
   a quiet fill.

   WHAT THE APP ALREADY DOES, and this sheet therefore does not restate:
     - FOCUS. Ruled separately the same day and already shipped: a 1px edge
       plus a soft 3px ring, #75D785 on dark (the light pair is #11595).
       Nothing here matches a focused field's edge or ring; section 3 leaves
       out :focus so its inset shadow cannot sit under or replace the ring.
       The well's fill does stay while a field is focused, as on his sheets.
     - ERROR and READ-ONLY. The design system already paints a red edge on a
       tinted fill, and a dashed edge on a recessed fill. Only the fills move
       so they still read against a well (section 2).

   HOW. The refresh paints a field from --rx-field / --field-bg and
   --rx-field-border / --field-border. Those names are NOT rebound on a root:
   checkboxes and radios, the dropdown menu, the sign-in card's buttons and
   the publish popover's edge all read them too. They are declared ON THE
   FIELD, the way _acid_app_buttons.css sets the secondary fill: the rules
   that paint stay the refresh's own, in every state, and nothing that is not
   a field moves. (--input-bg and its hover and focus forms are the same fill
   under the name the legacy sheet reads for an input that carries no class.) A field some rule paints with a literal colour instead of
   these tokens keeps that colour.

   "A field" is the refresh's own definition, the selector
   _clarity_styles.css uses for the resting edge, with the same list of
   things it leaves out: code editors, a customer-themed sign-in island, and
   every input INSIDE a composite field (the composers, the search boxes, the
   command palette). A composite paints its shell, not its input; section 4
   makes the search-type shells wells and leaves the composers alone.
   spec/config/acid_app_depth_fields_spec.rb fails if the two lists drift
   apart. (Section 2 drops two entries from that list, the error
   wrapper and an open select: those are states of a field, and a field in
   an error or with its menu open is still a well.)

   THE EDGE IS NOT HIS. His sheets draw a field edge of #1E2022 on dark and
   #E3E3E5 on light, 1.2 to 1.3:1 against the field. A text field's edge is
   what marks where it is, so it is held to 3:1 against the well AND against
   every surface a field sits on (WCAG 1.4.11): #72777F on dark, #80858B on
   light. That is the one deliberate difference from his sheets. The value is
   one custom property per theme, --acid-field-edge, so taking his fainter
   edge instead is a one-line change if he rules that way.

   BOTH THEMES; values in --acid-field-* custom properties on each theme
   root (<html> and any nested [data-theme] island), read from the nearest.

   NOT TOUCHED: disabled fields; checkboxes, radios and switches; the
   composers; the delete button and every error colour (the red is still
   the app's --danger-fg); copy. And, in every rule below, a second
   :not(:where()) with this sheet's own leave-outs:
     - PRICING V3. Jason Sanzone narrowed "leave pricing as is" on
       2026-11-19 09:26: "by pricing i meant the 3 column pricing page,
       pricing v3 update". Nothing here matches in the plan and packs
       partials on the billing page (a billing-v3 class), in the public
       pricing page's own classes or on the checkout page. A field on the
       rest of the billing page, in the buy-credits and upgrade windows, the
       credits menu, an upsell or a paywall is a well like any other.
     - The publish dialog and popover. Publish is being built elsewhere.
     - Fields that sit inside a card of their own and are not on the
       refresh's composite list: anything inside an element whose class
       names a composer (the AI employee chat box was the first found; the
       support, help, project and stream composers are the same shape), and
       the payments price input. As wells they read as a box inside a box.
     - The search box inside an open select's menu (the menu is attached to
       <body>; a menu must not change).
   ========================================================================== */

/* 1. THE VALUES, PER THEME. */
html[data-reference-system="true"][data-acid-app="true"][data-theme="dark"],
html[data-reference-system="true"][data-acid-app="true"] [data-theme="dark"]:not([data-oauth-app-themed="true"]) {
  --acid-field-well:#0C0D0F;
  --acid-field-edge:#72777F;
  --acid-field-depth:inset 0 1px 2px rgb(0 0 0 / 45%);
  --acid-field-error-fill:#281E1F;
  --acid-field-readonly-fill:transparent;
  --acid-field-readonly-edge:#3A3E45;
}
/* Light keeps the white field it has. The read-only edge in both themes is
   the edge fields have today. */
html[data-reference-system="true"][data-acid-app="true"][data-theme="light"],
html[data-reference-system="true"][data-acid-app="true"] [data-theme="light"]:not([data-oauth-app-themed="true"]) {
  --acid-field-well:#FFFFFF;
  --acid-field-edge:#80858B;
  --acid-field-depth:inset 0 1px 2px rgb(0 0 0 / 4%);
  --acid-field-error-fill:#F7EAEA;
  --acid-field-readonly-fill:#F5F5F5;
  --acid-field-readonly-edge:#D2D2D2;
}

/* 2. THE WELL, ITS EDGE, AND THE TWO STATE FILLS. Declared on the field.
   --danger-bg is the fill an invalid field already takes; here it is the
   red tint over the well instead of over a card. A disabled field is left
   out and keeps everything it has today. */
html[data-reference-system="true"][data-acid-app="true"][data-theme] :is(input:not([type]),input:is([type="text"],[type="email"],[type="password"],[type="search"],[type="url"],[type="tel"],[type="number"],[type="date"],[type="datetime-local"],[type="month"],[type="time"],[type="week"]),textarea,select,button[role="combobox"],.combo,.rx-select-trigger,.select2-selection,[contenteditable="true"][role="textbox"]):not(:disabled,[aria-disabled="true"]):not(:where([data-oauth-app-themed="true"] *,[data-reference-field-focus="native"],.cm-editor *,.monaco-editor *,.CodeMirror *,.select2-container--disabled *,.composer *,.chat-composer-card *,.dash-composer *,[data-reference-field-shell] *,.cint__search *,.ctpl__search *,.ti-search *,.mem-search *,.computer-picker__search *,.url-field *,.pm-subdomain-input-wrap *,.dash-search *,.aref-search *,.hd-search *,.computer-library__search *,.ccon__search *,.wsid-handle *,.cd-input-wrap *,.hero2-composer *,.editor-chat-input *,.ref-compose *,.reference-generator-form > div *,.anonymous-build-entry form > div *,.oscmdk__input,.admin-cmdk__input)):not(:where([class*="composer"] *,.payments-price-input *,.select2-dropdown *,#publish_modal *,.pm4 *,.gc-page *,.pvc,.pvc *,[class*="billing-v3"],[class*="billing-v3"] *,[class*="pv3-"],[class*="pv3-"] *,[class*="pv4-"],[class*="pv4-"] *)) {
  --rx-field:var(--acid-field-well);
  --field-bg:var(--acid-field-well);
  --input-bg:var(--acid-field-well);
  --input-bg-hover:var(--acid-field-well);
  --input-bg-focus:var(--acid-field-well);
  --rx-field-border:var(--acid-field-edge);
  --field-border:var(--acid-field-edge);
  --danger-bg:var(--acid-field-error-fill);
}
html[data-reference-system="true"][data-acid-app="true"][data-theme] :is(input:not([type]),input:is([type="text"],[type="email"],[type="password"],[type="search"],[type="url"],[type="tel"],[type="number"],[type="date"],[type="datetime-local"],[type="month"],[type="time"],[type="week"]),textarea,select,button[role="combobox"],.combo,.rx-select-trigger,.select2-selection,[contenteditable="true"][role="textbox"]):is([readonly],[aria-readonly="true"]):not(:disabled,[aria-disabled="true"]):not(:where([data-oauth-app-themed="true"] *,[data-reference-field-focus="native"],.cm-editor *,.monaco-editor *,.CodeMirror *,.select2-container--disabled *,.composer *,.chat-composer-card *,.dash-composer *,[data-reference-field-shell] *,.cint__search *,.ctpl__search *,.ti-search *,.mem-search *,.computer-picker__search *,.url-field *,.pm-subdomain-input-wrap *,.dash-search *,.aref-search *,.hd-search *,.computer-library__search *,.ccon__search *,.wsid-handle *,.cd-input-wrap *,.hero2-composer *,.editor-chat-input *,.ref-compose *,.reference-generator-form > div *,.anonymous-build-entry form > div *,.oscmdk__input,.admin-cmdk__input)):not(:where([class*="composer"] *,.payments-price-input *,.select2-dropdown *,#publish_modal *,.pm4 *,.gc-page *,.pvc,.pvc *,[class*="billing-v3"],[class*="billing-v3"] *,[class*="pv3-"],[class*="pv3-"] *,[class*="pv4-"],[class*="pv4-"] *)) {
  --field-bg-recessed:var(--acid-field-readonly-fill);
  --rx-readonly:var(--acid-field-readonly-fill);
  --rx-field-border:var(--acid-field-readonly-edge);
  --field-border:var(--acid-field-readonly-edge);
}

/* 3. THE INSET. Resting fields only: the states the refresh's resting-edge
   rule names, less :open (an open select's ring is !important and wins
   anyway, and a browser that does not know :open would drop this whole
   rule). Focus, an error and read-only each own their shadow or have none.
   The selector is wrapped in :where() ON PURPOSE: that leaves it at the
   weight of the scope alone, so any component that draws a ring of its own
   on a resting field out-ranks it. The prompt builder's "look here" flash
   on a textarea is one (an independent review caught the first version of
   this rule erasing it). */
html[data-reference-system="true"][data-acid-app="true"][data-theme] :where(:is(input:not([type]),input:is([type="text"],[type="email"],[type="password"],[type="search"],[type="url"],[type="tel"],[type="number"],[type="date"],[type="datetime-local"],[type="month"],[type="time"],[type="week"]),textarea,select,button[role="combobox"],.combo,.rx-select-trigger,.select2-selection,[contenteditable="true"][role="textbox"]):not(:disabled,[readonly],[aria-readonly="true"],[aria-disabled="true"],[aria-invalid="true"],[aria-expanded="true"],.error,.is-invalid,:focus,:focus-within):not(:where([data-oauth-app-themed="true"] *,[data-reference-field-focus="native"],.cm-editor *,.monaco-editor *,.CodeMirror *,.field_with_errors *,.select2-container--disabled *,.select2-container--open *,.composer *,.chat-composer-card *,.dash-composer *,[data-reference-field-shell] *,.cint__search *,.ctpl__search *,.ti-search *,.mem-search *,.computer-picker__search *,.url-field *,.pm-subdomain-input-wrap *,.dash-search *,.aref-search *,.hd-search *,.computer-library__search *,.ccon__search *,.wsid-handle *,.cd-input-wrap *,.hero2-composer *,.editor-chat-input *,.ref-compose *,.reference-generator-form > div *,.anonymous-build-entry form > div *,.oscmdk__input,.admin-cmdk__input)):not(:where([class*="composer"] *,.payments-price-input *,.select2-dropdown *,#publish_modal *,.pm4 *,.gc-page *,.pvc,.pvc *,[class*="billing-v3"],[class*="billing-v3"] *,[class*="pv3-"],[class*="pv3-"] *,[class*="pv4-"],[class*="pv4-"] *))) {
  box-shadow:var(--acid-field-depth);
}

/* 4. SEARCH BOXES AND OTHER COMPOSITE FIELDS. A composite field paints its
   SHELL (the input inside is transparent), and each shell takes its fill from
   whatever surface token its own sheet picked, not from the field tokens. So
   the well is set on the shell directly, and the edge through the token the
   refresh's shell rule already reads. Without this a search box sits raised
   beside a sort menu that is a well, on the same toolbar.

   The list is the refresh's list of composite fields MINUS:
     - the composers (.composer, .dash-composer, .chat-composer-card and
       their kin, and [data-reference-field-shell], which composers carry):
       a composer is a raised card, not a well;
     - the two in the publish dialog (.url-field, .pm-subdomain-input-wrap):
       Publish is being built elsewhere and its dialog is left alone;
     - .select2-selection, which section 2 already covers as a field.
   No !important: a shell whose own sheet insists on its fill keeps it. The
   inset is wrapped in :where() for the reason section 3 gives. */
html[data-reference-system="true"][data-acid-app="true"][data-theme] :is(.cint__search,.ctpl__search,.ti-search,.mem-search,.computer-picker__search,.dash-search,.aref-search,.hd-search,.computer-library__search,.ccon__search,.wsid-handle,.cd-input-wrap,.sia-frame):not(:where(#publish_modal *,.pm4 *,.gc-page *,.pvc,.pvc *,[class*="billing-v3"],[class*="billing-v3"] *,[class*="pv3-"],[class*="pv3-"] *,[class*="pv4-"],[class*="pv4-"] *,[data-oauth-app-themed="true"],[data-oauth-app-themed="true"] *)) {
  --rx-field:var(--acid-field-well);
  --rx-field-border:var(--acid-field-edge);
  background-color:var(--acid-field-well);
}
html[data-reference-system="true"][data-acid-app="true"][data-theme] :where(:is(.cint__search,.ctpl__search,.ti-search,.mem-search,.computer-picker__search,.dash-search,.aref-search,.hd-search,.computer-library__search,.ccon__search,.wsid-handle,.cd-input-wrap,.sia-frame):not(:focus-within,.is-invalid,:has([aria-invalid="true"],.error,.is-invalid)):not(:where(#publish_modal *,.pm4 *,.gc-page *,.pvc,.pvc *,[class*="billing-v3"],[class*="billing-v3"] *,[class*="pv3-"],[class*="pv3-"] *,[class*="pv4-"],[class*="pv4-"] *,[data-oauth-app-themed="true"],[data-oauth-app-themed="true"] *))) {
  box-shadow:var(--acid-field-depth);
}

/* 5. FORCED COLOURS. The system palette owns fields there. */
@media (forced-colors:active) {
  html[data-reference-system="true"][data-acid-app="true"][data-theme],
  html[data-reference-system="true"][data-acid-app="true"] [data-theme]:not([data-oauth-app-themed="true"]) {
    --acid-field-depth:none;
  }
}
/* ==========================================================================
   ACID REFRESH IN THE APP: MENU DEPTH (:acid_app, default OFF)
   --------------------------------------------------------------------------
   Jason Sanzone, 2026-11-18: "A couple of references also for giving
   components a little more depth." Two component sheets, dark and light. A
   menu (the open select, a dropdown list) is A RAISED PANEL: a flat fill one
   step up from the surface it floats over, a hairline edge, and one soft
   shadow under it (sampled 0 12px 28px at 45% on dark, 10% on light). Its
   rows are a soft fill on hover and a slightly stronger one when selected.

   WHAT THE APP ALREADY HAS. Two families of menu, neither far off:

     - the composer's menus, the thinking menu and the home page's menus are
       the refresh's overlay recipe: --rx-overlay, a 1px edge, 10 to 14px
       corners, rows in --rx-overlay-hover and --rx-overlay-selected. The
       rows are within a few levels of his on both themes (hover +6 and
       selected +9 on dark, where he draws +6 and +9). Their shadow is 24%
       on dark where he draws 45%, with no top highlight, so a menu sits
       flat on a dark page;
     - the app card menu and its move flyout are the card fill with a
       stronger edge and a tight 35% shadow, on light as well as dark: three
       times his on light.

   So the rows, the fills, the edges and the corners are NOT changed here.
   This sheet sets ONE thing, the panel's box-shadow, on the menus named
   below, and leaves every other property alone.

   THE SELECT (2026-11-19, item f of the pass against his sheets): "ours is
   the browser's own select with a solid triangle; his is a custom control
   with a chevron ... and a raised menu panel". Where the browser lets a
   native select be drawn (appearance: base-select, which the refresh already
   turns on), its arrow becomes his chevron, turning over while the list is
   open, and its list takes the same shadow as the other menus. Elsewhere the
   select is as today: .select already draws a chevron there, and the list is
   the operating system's. It is still the native select: no markup changes.

   WHICH MENUS. The composer's menus (.composer-menu: the model picker, the
   add and scope menus), the thinking menu (.think-menu), the home page's
   menus (.nah-pop), the app card menu and its flyout, and the design
   system's dropdown (.ddmenu; today only the style guide draws one).

   NOT TOUCHED, on purpose:
     - THE EDITOR'S TOP BAR and its menus: they belong to the change that
       ruled Publish (2026-11-18, option B). Nothing inside .editor-topbar.
     - PRICING V3. Jason Sanzone narrowed "leave pricing as is" on
       2026-11-19 09:26: "by pricing i meant the 3 column pricing page,
       pricing v3 update". A menu that is, sits inside or contains a pricing
       v3 partial (a billing-v3, pv3- or pv4- class, .pvc) or the checkout
       page keeps today's shadow. The model picker takes the shadow whether
       or not it shows an upgrade footer or a locked model; the first
       version skipped it then.
     - The publish window and popover, and a menu that contains a Publish
       control.
     - The Computer's model menu (.computer-model-switch__menu). The same
       class draws four Creative menus (engine, shape, length, named jobs),
       one of them a list in the page flow and one that prices each engine
       in credits a second. Not one thing, so not named.
     - The workspace menu in the rail: its tight shadow is cut to fit a rail
       that clips, and a wider one would show a hard edge there.
     - Menus and panels with a look of their own: the account menu (it
       already throws a deeper shadow), the editor's combined model control
       (.cmb-pop), the command bar, the notification and help panels, the
       icon picker. Listed for a follow-up.
     - Rows: their fills, their corners, their check mark, and keyboard
       focus. Nothing here names a row or sets an outline.
     - A native <select>'s list where the browser does not support
       appearance: base-select: the operating system draws it.
     - A menu drawn as a sheet from the bottom of a narrow window keeps the
       sheet's own shadow: these menus become sheets under 640px, and every
       rule is inside (min-width:640px).

   A browser without :has() drops the rule and draws today's menu.

   BOTH THEMES; the value is --acid-menu-depth on each theme root (<html> and
   any nested [data-theme] island), read from the nearest. The refresh's own
   --rx-floating-shadow is NOT redeclared: tooltips, the credits menu, the
   publish popover and every dialog read it.
   ========================================================================== */

/* 1. THE VALUE, PER THEME. */
html[data-reference-system="true"][data-acid-app="true"][data-theme="dark"],
html[data-reference-system="true"][data-acid-app="true"] [data-theme="dark"]:not([data-oauth-app-themed="true"]) {
  --acid-menu-depth:inset 0 1px 0 rgb(255 255 255 / 4%),0 12px 28px rgb(0 0 0 / 45%);
}
html[data-reference-system="true"][data-acid-app="true"][data-theme="light"],
html[data-reference-system="true"][data-acid-app="true"] [data-theme="light"]:not([data-oauth-app-themed="true"]) {
  --acid-menu-depth:0 12px 28px rgb(0 0 0 / 10%),0 1px 2px rgb(0 0 0 / 5%);
}

/* 2. THE PANEL. Its shadow, and nothing else. */
@media (min-width:640px) {
  html[data-reference-system="true"][data-acid-app="true"][data-theme] :is(.ddmenu,.composer-menu,.think-menu,.nah-pop,.dash-card-menu-panel,.dash-card-menu-flyout):not(:focus-visible):not(:where(.editor-topbar *,#publish_modal *,.pm4 *,.gc-page *,.pvc,.pvc *,[class*="billing-v3"],[class*="billing-v3"] *,[class*="pv3-"],[class*="pv3-"] *,[class*="pv4-"],[class*="pv4-"] *,[data-oauth-app-themed="true"],[data-oauth-app-themed="true"] *)):not(:has(:where([class*="billing-v3"],[class*="pv3-"],[class*="pv4-"],.gc-page,.pvc,#publish_modal,.pm4,[class*="publish"],[data-testid*="publish"],[data-publish-modal-target],[data-deployment-target="deployButton"],[onclick*="deployToEnvironment"],form[action*="publish"],form[action$="/deploy"]))) {
    box-shadow:var(--acid-menu-depth);
  }
}

/* 3. THE NATIVE SELECT, where the browser lets it be drawn. The refresh
   (_editor_styles.css) already turns appearance: base-select on and draws
   the list as an overlay panel; this gives the list the menus' shadow and
   replaces the solid triangle with his chevron. The chevron is a mask filled
   with the arrow's own colour, so it follows the theme with no literal. */
@supports (appearance:base-select) {
  html[data-reference-system="true"][data-acid-app="true"][data-theme] select:not([multiple]):not([size]):not(:where(.editor-topbar *,#publish_modal *,.pm4 *,.gc-page *,.pvc,.pvc *,[class*="billing-v3"],[class*="billing-v3"] *,[class*="pv3-"],[class*="pv3-"] *,[class*="pv4-"],[class*="pv4-"] *,[data-oauth-app-themed="true"],[data-oauth-app-themed="true"] *))::picker(select) {
    box-shadow:var(--acid-menu-depth);
  }
  html[data-reference-system="true"][data-acid-app="true"][data-theme] select:not([multiple]):not([size]):not(:where(.editor-topbar *,#publish_modal *,.pm4 *,.gc-page *,.pvc,.pvc *,[class*="billing-v3"],[class*="billing-v3"] *,[class*="pv3-"],[class*="pv3-"] *,[class*="pv4-"],[class*="pv4-"] *,[data-oauth-app-themed="true"],[data-oauth-app-themed="true"] *))::picker-icon {
    content:"";
    width:14px;
    height:14px;
    background-color:currentColor;
    -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / 14px 14px no-repeat;
    mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / 14px 14px no-repeat;
  }
  html[data-reference-system="true"][data-acid-app="true"][data-theme] select:not([multiple]):not([size]):not(:where(.editor-topbar *,#publish_modal *,.pm4 *,.gc-page *,.pvc,.pvc *,[class*="billing-v3"],[class*="billing-v3"] *,[class*="pv3-"],[class*="pv3-"] *,[class*="pv4-"],[class*="pv4-"] *,[data-oauth-app-themed="true"],[data-oauth-app-themed="true"] *)):open::picker-icon {
    rotate:180deg;
  }
}

/* 4. FORCED COLOURS. The system palette owns surfaces there. */
@media (forced-colors:active) {
  html[data-reference-system="true"][data-acid-app="true"][data-theme],
  html[data-reference-system="true"][data-acid-app="true"] [data-theme]:not([data-oauth-app-themed="true"]) {
    --acid-menu-depth:none;
  }
}
/* ==========================================================================
   ACID REFRESH IN THE APP: QUIET STATUS AND "NEW" (:acid_app, default OFF)
   --------------------------------------------------------------------------
   The brand guidelines (version 8 draft) keep green for live, done and
   focused, make acid the one call-out, and allow no glow in the product.
   The in-app audit (row 2.1 "no glow; no gold", row 2.3 "'New' to a static
   acid or neutral badge") found three things that break that, all visual:

     1. "NEW" chips are a solid brand-GREEN fill: on the rail's own rows (a
        new feature), the import banner, the member home card and the
        projects page. Green is for live, done and focused.
     2. A draft app's status dot is GOLD (#c8a64a on dark, a dark yellow on
        light), a colour neither palette has.
     3. Two status dots GLOW: every app card's dot carries an 8px halo of its
        own colour, and the dot on a chat's finished-work card (and on an
        installed skill pack's card) a green one. (A "live" status
        pill's dot used to pulse a halo too; the refresh already stopped
        that, so there is no rule for it here.)

   What this sheet does, and nothing more:

     1. the "NEW" chip is an ACID fill with ink text, static;
     2. a draft (or stalled) dot is the neutral --fg-4;
     3. those two halos are gone. The dot keeps its colour, and a BUILDING dot
        keeps its pulse: that one is opacity and size, not a halo, and it is
        the only thing telling a running build from a draft.

   NO WORDS CHANGE. A chip that says "NEW" in capitals in its markup still
   says "NEW"; a status that says "DRAFT" still says "DRAFT". Case and
   wording are copy, and copy cannot ride a stylesheet.

   HOW, where it is not obvious:
     - The app card's dot is painted by an INLINE style
       (background: var(--status-…); box-shadow: 0 0 8px var(--status-…),
       AppCardsHelper#app_card_status_color). The halo therefore needs the
       one !important in this file. The colour does not: --status-draft is
       redeclared ON THE DOT, and the inline var() reads it from there.
       --status-draft is NOT moved on a root.
     - --os-acid is #C9E746 on bare :root (design_system/_tokens.css); the
       guidelines use it for solid fills with dark text only, which is what
       this is. Ink #121314 on it is 13.6:1.

   NOT TOUCHED, on purpose:
     - PRICING V3. Jason Sanzone narrowed "leave pricing as is" on
       2026-11-19 09:26: "by pricing i meant the 3 column pricing page,
       pricing v3 update". Every rule skips the pricing v3 partials (a
       billing-v3, pv3- or pv4- class, .pvc) and the checkout page, and the
       checkout's own "new" tag (.gc-switcher__tag) is not named. The pack
       badges and discount chips are not "NEW" chips and are not named
       either.
     - PUBLISH and the editor's top bar, on a desktop and on a phone
       (.editor-topbar, .editor-mobile-header): the Live pill, the pulsing
       dot beside Publish, the publish window's pills and the account menu
       that opens from that bar belong to the change that ruled Publish
       (2026-11-18, option B).
     - UNREAD MARKERS on the rail. They share the badge's class but are not
       "NEW" chips: the count chip ("3 need you"), the payments unread dot,
       and the pill on an app row that is waiting on you (.computer-nav__kid-new;
       it says "New" but means "new work since you last opened this", and
       there is one per waiting app). All three stay as they are, the same
       colour as each other. Acid is the ONE call-out; a dozen rail pills
       are not it. What colour unread should be is the designer's call.
     - THE LAUNCHER'S CHIP (.launcher-mode__badge). It sits inside a tab
       whose active state is a green-to-lime wash; acid there would put
       acid on green, which the guidelines rule out. Left as it is.
     - One more dot still glows: the "public" flag's dot on the editor's
       dashboard tab. Not covered here; listed.
     - Motion that carries meaning: the building pulse above.

   BOTH THEMES; values in --acid-new-* and --acid-status-idle on each theme
   root (<html> and any nested [data-theme] island), read from the nearest.
   Neutral instead of acid for "NEW" is these two values and nothing else.
   ========================================================================== */

/* 1. THE VALUES, PER THEME. The same on both today; kept per theme so one can
   move without the other. */
html[data-reference-system="true"][data-acid-app="true"][data-theme="dark"],
html[data-reference-system="true"][data-acid-app="true"] [data-theme="dark"]:not([data-oauth-app-themed="true"]) {
  --acid-new-fill:var(--os-acid);
  --acid-new-ink:#121314;
  --acid-status-idle:var(--fg-4);
}
html[data-reference-system="true"][data-acid-app="true"][data-theme="light"],
html[data-reference-system="true"][data-acid-app="true"] [data-theme="light"]:not([data-oauth-app-themed="true"]) {
  --acid-new-fill:var(--os-acid);
  --acid-new-ink:#121314;
  --acid-status-idle:var(--fg-4);
}

/* 2. "NEW" CHIPS: acid fill, ink text. The same classes the refresh's own
   rule paints green (_brand_green_states.css), less the checkout's. */
html[data-reference-system="true"][data-acid-app="true"][data-theme] :is(.import-banner-tag,.mem-badge,.mem-feedcard-pill,.computer-nav__item-badge:not(.computer-nav__item-badge--count,.computer-nav__item-badge--dot,.computer-nav__kid-new)):not(:where(.editor-topbar *,.editor-mobile-header *,#publish_modal *,.pm4 *,.gc-page *,.pvc,.pvc *,[class*="billing-v3"],[class*="billing-v3"] *,[class*="pv3-"],[class*="pv3-"] *,[class*="pv4-"],[class*="pv4-"] *,[data-oauth-app-themed="true"],[data-oauth-app-themed="true"] *)) {
  background:var(--acid-new-fill);
  border-color:var(--acid-new-fill);
  color:var(--acid-new-ink);
}

/* 3. A DRAFT OR STALLED DOT IS NEUTRAL. Declared on the two dots that read
   the token, so nothing else that might come to read it moves. */
html[data-reference-system="true"][data-acid-app="true"][data-theme] :is(.dash-live-dot--status,.computer-nav__kid-st-working):not(:where(.editor-topbar *,.editor-mobile-header *,#publish_modal *,.pm4 *,.gc-page *,.pvc,.pvc *,[class*="billing-v3"],[class*="billing-v3"] *,[class*="pv3-"],[class*="pv3-"] *,[class*="pv4-"],[class*="pv4-"] *,[data-oauth-app-themed="true"],[data-oauth-app-themed="true"] *)) {
  --status-draft:var(--acid-status-idle);
}

/* 4. NO HALO. The app card's dot (the !important answers its inline style)
   and the build card's done dot. */
html[data-reference-system="true"][data-acid-app="true"][data-theme] .dash-live-dot--status:not(:where(.editor-topbar *,.editor-mobile-header *,#publish_modal *,.pm4 *,.gc-page *,.pvc,.pvc *,[class*="billing-v3"],[class*="billing-v3"] *,[class*="pv3-"],[class*="pv3-"] *,[class*="pv4-"],[class*="pv4-"] *,[data-oauth-app-themed="true"],[data-oauth-app-themed="true"] *)) {
  box-shadow:none!important;
}
html[data-reference-system="true"][data-acid-app="true"][data-theme] .deliverable-status-dot:not(:where(.editor-topbar *,.editor-mobile-header *,#publish_modal *,.pm4 *,.gc-page *,.pvc,.pvc *,[class*="billing-v3"],[class*="billing-v3"] *,[class*="pv3-"],[class*="pv3-"] *,[class*="pv4-"],[class*="pv4-"] *,[data-oauth-app-themed="true"],[data-oauth-app-themed="true"] *)) {
  box-shadow:none;
}
/* ==========================================================================
   ACID REFRESH IN THE APP: APP BUTTONS ON DARK (:acid_app, default OFF)
   --------------------------------------------------------------------------
   The brand guidelines (version 8 draft, slide 44) on buttons inside the
   product: "Primary #E8EAED with a #202124 label ... 10px radius", "secondary
   #1A1B1D with a hairline", and (slide 22) "text on green, acid, cerulean or
   error is always #121314". The primary pair and the 10px radius already
   ship. This sheet closes the three gaps that remain, approved for in-app
   work by Jason Sanzone on 2026-11-18.

   DARK ONLY. #1A1B1D is a dark value; the light secondary and the rest of the
   light theme have no ruling yet, so every selector needs data-theme="dark"
   on <html>, and the rules skip a light island inside a dark page. Light
   renders exactly as it does without the flag.

   EVERY selector starts with the same three attributes:
     data-reference-system="true"  the design refresh. ClickFunnels AI, partner
                                   and customer sign-in pages never carry it.
     data-acid-app="true"          the flag (AcidAppHelper).
     data-theme="dark"             the theme the values are for.

   NOT TOUCHED, on purpose:
     - The Publish button. In the editor's top bar it is ruled (2026-11-18,
       option B) and drawn by _acid_app_publish.css, 10px corners included;
       in the publish dialog it is not ruled and keeps its ink.
     - The primary button. It already matches the guidelines.
     - The delete button's colour (the class is shared with ClickFunnels AI).

   Required from reference_system.css after reference_foundations: section 3
   has the same specificity as the foundations' own block and wins by order.
   ========================================================================== */

/* 1. SECONDARY: #1A1B1D WITH A HAIRLINE.
   The refresh paints .btn-secondary and .btn-light (one look under the
   refresh, so one look here) from --rx-secondary, #252628 on dark, inside a
   1px --line-2 border. The hairline is therefore already there; what was off
   is the fill, a step lighter than the guidelines.

   --rx-secondary is NOT rebound on the root. About fifteen other rules read
   it for things that are not buttons (member avatars, comparison rows, agent
   results), and --marketing-secondary is an alias of it, so a root rebind
   would move the public pages. Declaring the token ON THE BUTTON changes
   what the refresh's own rules resolve to for that button and nothing else:
   every state those rules exclude (disabled, busy, pressed, keyboard focus)
   stays excluded, because the rules are still the ones painting.

   Hover moves with it: #252628, the old resting fill, one step up from the
   new one. Keeping the old hover (#333538) would be a three-step jump from a
   darker rest. Pressed is unchanged.

   2026-11-19: outside the publish window this rule no longer decides the
   fill. _acid_app_depth_buttons.css declares the same two tokens later, with
   the raised grey from the designer's sheets, on every secondary it paints.
   What is left to this rule is every secondary the depth sheet skips: the
   publish window's, any button with a Publish hook, the shared confirm
   prompt's Cancel and the app card's overlay button. The
   PRICING V3 partials are skipped by both ("by pricing i meant the 3 column
   pricing page, pricing v3 update", Jason Sanzone, 2026-11-19 09:26), so a
   secondary there is today's #252628 with the flag on. */
html[data-reference-system="true"][data-acid-app="true"][data-theme="dark"] .btn:is(.btn-secondary,.btn-light):not(.rx-prism-action,.icon-btn,.btn-icon):not(:where([data-theme="light"],[data-theme="light"] *,[data-oauth-app-themed="true"],[data-oauth-app-themed="true"] *,.gc-page *,.pvc,.pvc *,[class*="billing-v3"],[class*="billing-v3"] *,[class*="pv3-"],[class*="pv3-"] *,[class*="pv4-"],[class*="pv4-"] *)) {
  --rx-secondary:#1A1B1D;
  --ref-button-secondary-hover:#252628;
}

/* 2. EDITOR TOP BAR: 8px TO 10px.
   "In the app: ... 10px radius." Buttons across the app are already 10px
   (--ref-button-radius); the editor's top bar pinned its own 8px
   (_editor_styles.css). The project switcher, the pages trigger and the icon
   buttons (collapse chat, open in a new tab, Share) take the app's radius.

   .tb-btn is left out: in this bar it is the Publish control and nothing
   else, and _acid_app_publish.css gives it the same radius in both themes.
   So is the device toggle: it is a segmented control whose 4px thumbs sit
   inside an 8px track, and 8 = 4 + its 4px padding. */
html[data-reference-system="true"][data-acid-app="true"][data-theme="dark"] .editor-topbar :is(.proj-switch,.tb-tab,.tb-iconbtn):not(:where([data-theme="light"],[data-theme="light"] *,[data-oauth-app-themed="true"],[data-oauth-app-themed="true"] *)) { border-radius:var(--ref-button-radius); }

/* 3. INK ON GREEN: #0a0e0a TO #121314.
   --brand-fg is the label colour on a brand-green fill: the composer's send
   button, "New" chips, checked boxes, the upgrade and restore actions. One
   token, so one rebind, repeated for a dark island inside the dark page the
   way the foundations repeat their own declaration. 11.5:1 on #45E760.

   Three things read the token and must not move:
     - two SCRIMS use it as "the theme-invariant near-black" at 50 to 60%
       (version restore, the preview error popup). That is not ink on green,
       so they keep the value they were tuned with;
     - the publish dialog's green button, with the rest of Publish;
     - the pricing v3 partials and the checkout page, which stay as they are
       without the flag (2026-11-19 09:26). */
html[data-reference-system="true"][data-acid-app="true"][data-theme="dark"],
html[data-reference-system="true"][data-acid-app="true"][data-theme="dark"] [data-theme="dark"]:not([data-oauth-app-themed="true"]) {
  --brand-fg:#121314;
}
html[data-reference-system="true"][data-acid-app="true"][data-theme="dark"] :is(.rv-scrim,.pf-error-scrim),
html[data-reference-system="true"][data-acid-app="true"][data-theme="dark"] :is(.gc-page,.pvc,[class*="billing-v3"],[class*="pv3-"],[class*="pv4-"]),
html[data-reference-system="true"][data-acid-app="true"][data-theme="dark"] #publish_modal [data-publish-modal-target="deployButton"] {
  --brand-fg:#0a0e0a;
}
/* ==========================================================================
   ACID REFRESH IN THE APP: BUTTON DEPTH (:acid_app, default OFF)
   --------------------------------------------------------------------------
   Jason Sanzone, 2026-11-18: "A couple of references also for giving
   components a little more depth." Two component sheets, dark and light. For
   buttons they draw:

     - PRIMARY: a faint top-to-bottom gradient and a soft drop shadow. The
       button stays near-white on dark and near-black on light.
     - SECONDARY: a raised FILLED surface with almost no edge: a faint
       gradient, an edge only a few levels off the fill, and a small shadow.
       On dark it is a grey lighter than whatever it sits on; on light it is
       a soft shadowed white, where today it is a grey fill.
     - GHOST: no fill at rest, a soft fill on hover. The app already does
       that, so this sheet has no ghost rule.
     - DISABLED: a flat, dimmed button with no gradient and no shadow. The app
       already dims a disabled button to 50%; a disabled primary measures
       #7D7F81 on the dark page against #7E7F81 on his sheet. No rule here.

   The values are sampled from his sheets (JPEGs, so within a few levels) and
   written as translucent overlays, not as opaque colours: the button keeps
   the fill its own tokens give it and the overlay only shades it. An opaque
   gradient would repaint a button that some other rule has filled with a
   colour.

   BOTH THEMES. His sheets cover both, so unlike the two sheets before it
   this one is not dark only. The values live in --acid-btn-* custom
   properties declared on each theme root: <html> and any nested
   [data-theme] island. A button reads them from the nearest one, so a light
   island inside a dark page gets the light values. One other thing reads
   these names: a dialog's close button (_acid_app_depth_modals.css), which
   is meant to be the secondary's fill. (The refresh's
   own --ref-button-*-gradient and -depth names are NOT reused: sign-in,
   admin, scaffold and account pages read those for other buttons.)

   EVERY selector starts with:
     data-reference-system="true"  the design refresh. ClickFunnels AI, partner
                                   and customer sign-in pages never carry it.
     data-acid-app="true"          the flag (AcidAppHelper).
   and every rule that paints skips a customer-themed sign-in island.

   NOT TOUCHED, on purpose:
     - PUBLISH, wherever it is a .btn: the publish dialog's button, the
       deployment page's buttons, "Publish now" in the leave prompt, "Publish
       and copy link", the launch checklist's Publish, and the publish and
       deploy cards in chat. Publish was ruled on 2026-11-18 (option B) and
       another change owns it, so every rule below carries the same :not()
       list and none of them match a Publish button: it renders exactly as
       it does without this sheet. The list is wider than it needs to be on
       purpose (any data-testid containing "publish"), and every button
       INSIDE the publish dialog and the publish popover is left out with
       it, so that dialog does not end up half shaded. (The editor top bar's
       Publish is .tb-btn, not .btn, and is not reached. Neither are that
       bar's view switch, device buttons or credits chip.)
     - PRICING V3. Jason Sanzone narrowed "leave pricing as is" on
       2026-11-19 09:26: "by pricing i meant the 3 column pricing page,
       pricing v3 update". So the fence is the pricing v3 work only: the
       plan and packs partials on the billing page (every element there
       carries a billing-v3 class), the public pricing page's own classes
       (pv3-, pv4-, .pvc) and the checkout page. A SECONDARY there is the
       same pixels with the flag on as without this sheet. The billing page
       around those partials, the credits menu, the buy-credits and upgrade
       windows, upsells and paywalls take the depth like any other surface;
       the first pass fenced all of them.
     - A BRAND-GREEN PRIMARY STAYS FLAT. "No gradients on buttons" in the
       brand guidelines is read as the colour fills, and the designer asked
       for the green button flat on 2026-09-29. The overlays are
       translucent and would shade a green fill. The only places that
       repaint .btn-primary green are inside the fence already: the pricing
       v3 partials, the checkout page and the publish window's own button.
       spec/config/acid_app_depth_buttons_spec.rb scans for any rule that
       fills a primary with brand green and fails if its scope is not one
       the rules skip. The red delete button is .btn-danger and is not
       named here.
     - THE SHARED CONFIRM PROMPT (#turbo-confirm-dialog) and anything in a
       container named for Publish (the leave prompt that offers "Publish
       now"). One prompt asks every "are you sure?" in the app and Publish
       relabels its button "Publish anyway", so its two buttons cannot be
       told apart by CSS. Both keep the look they have without this sheet,
       like every other Publish button.
     - A SECONDARY OVER A PICTURE. The app card's overlay button sits on a
       screenshot; a translucent fill there lets the picture through and
       the label drops under 3:1. It keeps the opaque fill it had.
     - A control boundary of 3:1 on the secondary. His sheets draw an edge
       a few levels off the fill, and he asked for exactly that after
       seeing the stronger one. The button is named by its label (4.5:1 or
       better on every surface, in the spec), which is what identifies it;
       a keyboard-focused one keeps the refresh's edge and the ruled
       outline.

   Required from reference_system.css after reference_foundations and after
   _acid_app_buttons.css (section 2 declares the same two tokens that sheet
   declares for dark, with the same values, and adds light).
   ========================================================================== */

/* 1. THE VALUES, PER THEME. Re-read from his sheets on 2026-11-19, after he
   looked at the first pass on the QA workspace and found it "not all to spec".
   Primary, dark: NEAR-FLAT. #E8EAED runs #EAEBEE at the top to #E5E6E9 at the
   bottom (his: #EAEBEF to #E6E7EB), under a 1px highlight (#F5F6F8). The
   first pass ran #F0F1F4 to #E2E4E8, three times his shade. Hover is white
   with the last rows a level or two down.
   Secondary, dark: A RAISED FILLED GREY WITH ALMOST NO EDGE, not an outline.
   On his sheet it is #202123 at the top and #1A1B1D at the bottom on a
   #121315 panel: about 6% white OVER THE SURFACE IT SITS ON. So the fill is
   written that way, as a translucent white, and is raised by the same step
   on the page (#121314, where it lands on his exact values), on a card
   (#2B2C2E to #242526 on #1E1F21), in a dialog and in a menu. An opaque value
   could only be right on one of them: his own #1E1F21 is the app's card
   colour and would vanish there. The first pass used the guidelines' #1A1B1D
   (slide 44), which is DARKER than a card, so the button read as an outline.
   Its edge is 3% white over the fill (his: #252628 on #1E1F21), and hover is
   8% white (his: #252628 to #202123). */
html[data-reference-system="true"][data-acid-app="true"][data-theme="dark"],
html[data-reference-system="true"][data-acid-app="true"] [data-theme="dark"]:not([data-oauth-app-themed="true"]) {
  --acid-btn-primary-image:linear-gradient(180deg,rgb(255 255 255 / 10%),rgb(0 0 0 / 1.5%));
  --acid-btn-primary-image-hover:linear-gradient(180deg,rgb(0 0 0 / 0%),rgb(0 0 0 / 1.5%));
  --acid-btn-primary-depth:inset 0 1px 0 rgb(255 255 255 / 55%),0 1px 2px rgb(0 0 0 / 45%);
  --acid-btn-secondary-fill:rgb(255 255 255 / 6%);
  --acid-btn-secondary-fill-hover:rgb(255 255 255 / 8%);
  --acid-btn-secondary-image:linear-gradient(180deg,rgb(0 0 0 / 0%),rgb(0 0 0 / 18%));
  --acid-btn-secondary-image-hover:linear-gradient(180deg,rgb(0 0 0 / 0%),rgb(0 0 0 / 13%));
  --acid-btn-secondary-edge:rgb(255 255 255 / 3%);
  --acid-btn-secondary-depth:inset 0 1px 0 rgb(255 255 255 / 4%),0 1px 2px rgb(0 0 0 / 40%);
}
/* Primary, light: #202124 shaded to #34363A at the top and #1F2024 at the
   bottom; hover (#3C4045) runs #44474C to #3A3D42. Matches his sheet.
   Secondary, light: A SOFT SHADOWED WHITE. #FAFAFA rising to white at the
   top; hover #F1F1F2 rising to #F7F7F7. Its edge is 8% black (#EBEBEB on
   white; his: #ECECEC to #EFEFEF), where the first pass kept the app's
   #D9D9D9 line, and the shadow under it is a touch deeper to carry it. */
html[data-reference-system="true"][data-acid-app="true"][data-theme="light"],
html[data-reference-system="true"][data-acid-app="true"] [data-theme="light"]:not([data-oauth-app-themed="true"]) {
  --acid-btn-primary-image:linear-gradient(180deg,rgb(255 255 255 / 9.5%),rgb(0 0 0 / 3%));
  --acid-btn-primary-image-hover:linear-gradient(180deg,rgb(255 255 255 / 4%),rgb(0 0 0 / 3.5%));
  --acid-btn-primary-depth:inset 0 1px 0 rgb(255 255 255 / 14%),0 1px 2px rgb(0 0 0 / 28%);
  --acid-btn-secondary-fill:#FAFAFA;
  --acid-btn-secondary-fill-hover:#F1F1F2;
  --acid-btn-secondary-image:linear-gradient(180deg,rgb(255 255 255 / 100%),rgb(255 255 255 / 0%));
  --acid-btn-secondary-image-hover:linear-gradient(180deg,rgb(255 255 255 / 43%),rgb(255 255 255 / 0%));
  --acid-btn-secondary-edge:rgb(0 0 0 / 8%);
  --acid-btn-secondary-depth:0 1px 2px rgb(0 0 0 / 8%);
}

/* 2. PRIMARY. The same states the refresh's own button rules paint: not
   disabled, busy, pressed or keyboard-focused. Those stay flat, as today.
   !important only where the rule it out-ranks carries it
   (_button_depth_styles.css and _clarity_styles.css both set the image
   channel that way). The hover rule sets the image alone: the refresh's own
   hover rule still supplies the colour under it. */
html[data-reference-system="true"][data-acid-app="true"][data-theme] .btn.btn-primary:not(.rx-prism-action,.icon-btn,.btn-icon):not([data-testid*="publish"],[data-publish-modal-target="deployButton"],[data-deployment-target="deployButton"],[onclick*="deployToEnvironment"],form[action*="publish"] > *,form[action$="/deploy"] > *):not(:disabled,[aria-disabled="true"],[aria-busy="true"],.is-loading,:active,[aria-pressed="true"],:focus-visible):not(:where(#publish_modal *,.pm4 *,#turbo-confirm-dialog *,[class*="publish"] *,.gc-page *,.pvc,.pvc *,[class*="billing-v3"],[class*="billing-v3"] *,[class*="pv3-"],[class*="pv3-"] *,[class*="pv4-"],[class*="pv4-"] *,[data-oauth-app-themed="true"],[data-oauth-app-themed="true"] *)) {
  background-image:var(--acid-btn-primary-image)!important;
  box-shadow:var(--acid-btn-primary-depth);
}
html[data-reference-system="true"][data-acid-app="true"][data-theme] .btn.btn-primary:not(.rx-prism-action,.icon-btn,.btn-icon):not([data-testid*="publish"],[data-publish-modal-target="deployButton"],[data-deployment-target="deployButton"],[onclick*="deployToEnvironment"],form[action*="publish"] > *,form[action$="/deploy"] > *):is(:hover,.ref-hover-preview):not(:disabled,[aria-disabled="true"],[aria-busy="true"],.is-loading,:active,[aria-pressed="true"],:focus-visible):not(:where(#publish_modal *,.pm4 *,#turbo-confirm-dialog *,[class*="publish"] *,.gc-page *,.pvc,.pvc *,[class*="billing-v3"],[class*="billing-v3"] *,[class*="pv3-"],[class*="pv3-"] *,[class*="pv4-"],[class*="pv4-"] *,[data-oauth-app-themed="true"],[data-oauth-app-themed="true"] *)) {
  background-image:var(--acid-btn-primary-image-hover)!important;
}

/* 3. SECONDARY (.btn-secondary and .btn-light are one look under the
   refresh). The fill is set by declaring the refresh's own two tokens ON THE
   BUTTON, the way _acid_app_buttons.css does for dark: the rules that paint
   stay the refresh's, and --rx-secondary on the root (which about fifteen
   things that are not buttons read, and the public pages alias) is not
   moved. Then the gradient, the edge and the shadow, in the states those
   rules paint. The edge needs !important for the same reason the image does:
   _button_depth_styles.css sets border-color that way in both states. A
   disabled, busy, pressed or keyboard-focused secondary keeps the refresh's
   own edge. */
html[data-reference-system="true"][data-acid-app="true"][data-theme] .btn:is(.btn-secondary,.btn-light):not(.rx-prism-action,.icon-btn,.btn-icon):not([data-testid*="publish"],[data-publish-modal-target="deployButton"],[data-deployment-target="deployButton"],[onclick*="deployToEnvironment"],form[action*="publish"] > *,form[action$="/deploy"] > *):not(:where(#publish_modal *,.pm4 *,#turbo-confirm-dialog *,[class*="publish"] *,.cproj-appcard__overlay *,.gc-page *,.pvc,.pvc *,[class*="billing-v3"],[class*="billing-v3"] *,[class*="pv3-"],[class*="pv3-"] *,[class*="pv4-"],[class*="pv4-"] *,[data-oauth-app-themed="true"],[data-oauth-app-themed="true"] *)) {
  --rx-secondary:var(--acid-btn-secondary-fill);
  --ref-button-secondary-hover:var(--acid-btn-secondary-fill-hover);
}
html[data-reference-system="true"][data-acid-app="true"][data-theme] .btn:is(.btn-secondary,.btn-light):not(.rx-prism-action,.icon-btn,.btn-icon):not([data-testid*="publish"],[data-publish-modal-target="deployButton"],[data-deployment-target="deployButton"],[onclick*="deployToEnvironment"],form[action*="publish"] > *,form[action$="/deploy"] > *):not(:disabled,[aria-disabled="true"],[aria-busy="true"],.is-loading,:active,[aria-pressed="true"],:focus-visible):not(:where(#publish_modal *,.pm4 *,#turbo-confirm-dialog *,[class*="publish"] *,.cproj-appcard__overlay *,.gc-page *,.pvc,.pvc *,[class*="billing-v3"],[class*="billing-v3"] *,[class*="pv3-"],[class*="pv3-"] *,[class*="pv4-"],[class*="pv4-"] *,[data-oauth-app-themed="true"],[data-oauth-app-themed="true"] *)) {
  background-image:var(--acid-btn-secondary-image)!important;
  border-color:var(--acid-btn-secondary-edge)!important;
  box-shadow:var(--acid-btn-secondary-depth);
}
html[data-reference-system="true"][data-acid-app="true"][data-theme] .btn:is(.btn-secondary,.btn-light):not(.rx-prism-action,.icon-btn,.btn-icon):not([data-testid*="publish"],[data-publish-modal-target="deployButton"],[data-deployment-target="deployButton"],[onclick*="deployToEnvironment"],form[action*="publish"] > *,form[action$="/deploy"] > *):is(:hover,.ref-hover-preview):not(:disabled,[aria-disabled="true"],[aria-busy="true"],.is-loading,:active,[aria-pressed="true"],:focus-visible):not(:where(#publish_modal *,.pm4 *,#turbo-confirm-dialog *,[class*="publish"] *,.cproj-appcard__overlay *,.gc-page *,.pvc,.pvc *,[class*="billing-v3"],[class*="billing-v3"] *,[class*="pv3-"],[class*="pv3-"] *,[class*="pv4-"],[class*="pv4-"] *,[data-oauth-app-themed="true"],[data-oauth-app-themed="true"] *)) {
  background-image:var(--acid-btn-secondary-image-hover)!important;
  border-color:var(--acid-btn-secondary-edge)!important;
  box-shadow:var(--acid-btn-secondary-depth);
}

/* 4. SIZE: THE DEFAULT BUTTON IS 36px TALL WITH A 13px LABEL.
   His sheets draw every button 36px tall with a 13px label; the app's default
   (.btn-md) is 40px and 14px, which is the "a little taller and wider" he saw
   on the QA workspace (2026-11-19). The refresh already uses exactly this
   size for a dialog's footer buttons (_editor_styles.css: 36px, 13px, 14px
   at the sides), so it is that recipe, on every default-size button.

   THE ONE LAYOUT CHANGE IN THIS SHEET, kept in a section of its own so it can
   be taken out alone. What it does not do:
     - His sheet cannot give the side padding: all nine of its buttons are
       the same 87px wide whatever they say, so that is a width set on the
       sheet, not padding. 14px is the refresh's own.
     - Small (32px) and large (48px) buttons are not on his sheets and keep
       their size, as does a button with no size class. Most buttons in the
       app are the small size, which is already 4px SHORTER than his and
       already has his 13px label; growing them is his call, not a guess.
     - A field is still 40px, and a default button that shares a row with
       one keeps 40px too (the API keys form, the affiliate link row and the
       streak settings are built around one shared height). Fields going to
       his 36px is a separate question.
     - Publish buttons, the editor's top bar, the publish window and the
       shared confirm prompt keep today's size with the rest of Publish, and
       so does EVERY button in a row that holds a Publish button (the leave
       prompt, the launch checklist, the deployment page), so no row ends up
       with two heights.
     - The pricing v3 partials and the checkout page. */
html[data-reference-system="true"][data-acid-app="true"][data-theme] .btn.btn-md:not(.rx-prism-action,.icon-btn,.btn-icon):not([data-testid*="publish"],[data-publish-modal-target="deployButton"],[data-deployment-target="deployButton"],[onclick*="deployToEnvironment"],form[action*="publish"] > *,form[action$="/deploy"] > *):not(:where(#publish_modal *,.pm4 *,#turbo-confirm-dialog *,[class*="publish"] *,.editor-topbar *,:has(> :is(input:not([type="submit"],[type="button"],[type="hidden"],[type="checkbox"],[type="radio"]),select,textarea,.input,.select,.field)) > *,:has(> :is([data-testid*="publish"],[data-publish-modal-target="deployButton"],[data-deployment-target="deployButton"],[onclick*="deployToEnvironment"],form[action*="publish"],form[action$="/deploy"])) > *,.gc-page *,.pvc,.pvc *,[class*="billing-v3"],[class*="billing-v3"] *,[class*="pv3-"],[class*="pv3-"] *,[class*="pv4-"],[class*="pv4-"] *,[data-oauth-app-themed="true"],[data-oauth-app-themed="true"] *)) {
  height:36px;
  padding-inline:14px;
  font-size:13px;
}

/* 5. FORCED COLOURS. The system palette owns buttons there; the refresh
   switches its own depth off the same way. */
@media (forced-colors:active) {
  html[data-reference-system="true"][data-acid-app="true"][data-theme],
  html[data-reference-system="true"][data-acid-app="true"] [data-theme]:not([data-oauth-app-themed="true"]) {
    --acid-btn-primary-image:none; --acid-btn-primary-image-hover:none; --acid-btn-primary-depth:none;
    --acid-btn-secondary-image:none; --acid-btn-secondary-image-hover:none; --acid-btn-secondary-depth:none;
    --acid-btn-secondary-fill:ButtonFace; --acid-btn-secondary-fill-hover:Highlight; --acid-btn-secondary-edge:ButtonText;
  }
}
/* ==========================================================================
   ACID REFRESH IN THE APP: THE EDITOR'S PUBLISH CONTROL (:acid_app, default OFF)
   --------------------------------------------------------------------------
   Ruled by Jason Sanzone, 2026-11-18, option "B" of three, "built on A":

     A. "Publish is the only filled control. Everything else in the bar loses
        its fill: the view switch, the device buttons and the credits chip
        become hairline or plain."
     B. "The button follows the app. With changes waiting it is filled, says
        'Publish changes' and carries a small acid dot. When the app is live
        and current the fill goes, and the green Live pill is the loudest
        thing in the bar."

   Near-white fill in dark, near-black in light, with the depth from his two
   component sheets (a faint top-to-bottom gradient and a soft drop shadow).
   Corners 10px. Keyboard focus as ruled: a 2px outline at a 2px offset, brand
   green on dark, the deep green #0F7A23 on light.

   WHICH LOOK is decided on the server (Apps::AcidPublish, from
   Apps::PublishNudgeState) and written on the wrapper:

     #publish_header_button[data-acid-publish="changes|live|publishing|draft"]

   Every Publish rule below hangs off that attribute, so a page whose wrapper
   does not carry it (the flag is off, or a ClickFunnels AI funnel) draws the
   button exactly as before even if <html> somehow had the flag's attribute.
   The two states the sheet does not show are assumptions, listed for the
   designer: "publishing" and "draft" (never published) are a filled button
   with today's wording, no dot and no Live pill.

   EVERY selector starts with the same two attributes:
     data-reference-system="true"  the design refresh. ClickFunnels AI, partner
                                   and customer sign-in pages never carry it.
     data-acid-app="true"          the flag (AcidAppHelper).
   Both themes are ruled, so there is no data-theme in the scope; the values
   that differ by theme are the custom properties of section 1. The editor's
   top bar is page chrome and never sits inside a themed island.

   KEYBOARD FOCUS ON PUBLISH IS ONE THING EVERYWHERE (sections 8 and 10): the
   top bar's control, the publish dialog's button in each of its bodies, the
   newer publish popover's button and the narrow-window editor's header
   button all draw the ruled outline. The two
   acid focus sheets used to pin all of them to the neutral grey while
   Publish had no ruling; those pins are gone.

   NOT TOUCHED, on purpose:
     - What the control does. One [data-testid="publish-header-button"] in
       every state, still opening the publish window. "Open your app" is a
       separate link.
     - The publish window's own Publish button, beyond its keyboard focus
       (section 10). Its fill and its ink are as they were; the ink pin in
       _acid_app_buttons.css stays.
     - The narrow-window (phone) editor's Publish buttons, beyond their
       keyboard focus (section 10). They are outside .editor-topbar and
       outside the wrapper, and keep today's words and fill.
     - PRICING (his ruling of 2026-11-18 23:08: "we dont want to mess with
       pricing, lets leave that as is"). Nothing here reaches a plan card, a
       credit-pack card, the upgrade or buy-credits modals, or a paywall.
       In this bar that means the out-of-credits chip and "Top up", the
       filled button it grows: both keep today's look, so an empty workspace
       has two filled controls in the bar, not one.

   Required from reference_system.css after _acid_app_buttons: section 2
   repeats that sheet's top-bar radius for light and must come later.
   ========================================================================== */

/* 1. VALUES. The primary and secondary pairs are the ones sampled from the
   designer's dark and light component sheets (acid-refresh reference,
   tokens.css section 5); no token carries them yet. The greens are tokens:
   --brand is #45E760 and --os-green-deep is #0F7A23. Declared on the bar,
   read only inside it.
   Contrast, measured against the bar as the browser paints it (#151617 dark,
   #F5F5F5 light; spec/config/acid_app_publish_spec.rb):
     label on the fill         12.6:1 dark, 12.1:1 light at the weakest stop
                               (9.3:1 on the light hover)
     the fill against the bar  14.2:1 dark, 11.1:1 light (8.5:1 on hover)
     "Live" on its pill        8.3:1 dark, 4.51:1 light
     the focus outline         11.1:1 dark, 5.0:1 light (the acid focus
                               sheets' token)
   The light pill is the mock's 22% tint and clears 4.5:1 with nothing to
   spare. A lighter bar passes more easily; a darker one would need a weaker
   tint, and the spec fails before that ships. */
html[data-reference-system="true"][data-acid-app="true"] .editor-topbar {
  --acid-publish-fill:linear-gradient(180deg,#F0F1F4 0%,#E2E4E8 100%);
  --acid-publish-fill-hover:linear-gradient(180deg,#FFFFFF 0%,#F7F7F8 100%);
  --acid-publish-fill-flat:#E8EAED;
  --acid-publish-ink:#202124;
  --acid-publish-depth:inset 0 1px 0 rgb(255 255 255 / 70%),0 1px 2px rgb(0 0 0 / 45%);
  --acid-publish-quiet:linear-gradient(180deg,#212224 0%,#1A1B1D 100%);
  --acid-publish-quiet-hover:linear-gradient(180deg,#28292B 0%,#212224 100%);
  --acid-publish-quiet-depth:inset 0 0 0 1px #2B2C2E,inset 0 1px 0 rgb(255 255 255 / 4%),0 1px 2px rgb(0 0 0 / 40%);
  --acid-publish-live-ink:var(--brand);
  --acid-publish-live-tint:color-mix(in srgb,var(--brand) 14%,transparent);
  --acid-publish-live-edge:color-mix(in srgb,var(--brand) 45%,transparent);
}
html[data-reference-system="true"][data-acid-app="true"][data-theme="light"] .editor-topbar {
  --acid-publish-fill:linear-gradient(180deg,#34363A 0%,#1F2024 100%);
  --acid-publish-fill-hover:linear-gradient(180deg,#44474C 0%,#3A3D42 100%);
  --acid-publish-fill-flat:#202124;
  --acid-publish-ink:#FFFFFF;
  --acid-publish-depth:inset 0 1px 0 rgb(255 255 255 / 14%),0 1px 2px rgb(0 0 0 / 28%);
  --acid-publish-quiet:linear-gradient(180deg,#FFFFFF 0%,#FAFAFA 100%);
  --acid-publish-quiet-hover:linear-gradient(180deg,#F7F7F7 0%,#F1F1F2 100%);
  --acid-publish-quiet-depth:inset 0 0 0 1px #E3E3E5,0 1px 2px rgb(0 0 0 / 6%);
  --acid-publish-live-ink:var(--os-green-deep);
  --acid-publish-live-tint:color-mix(in srgb,var(--brand) 22%,transparent);
  --acid-publish-live-edge:color-mix(in srgb,var(--os-green-deep) 45%,transparent);
}

/* 2. A: NOTHING ELSE IN THE BAR IS FILLED.
   Each of these drew a filled track or chip. They keep their size, their
   place and every state; the fill goes, and a hairline says which one is on.

   a. The Dashboard / Preview switch: no track. The selected tab is a hairline
      box, the other is plain text. (Its green eye and brighter ink are
      unchanged, so the selected tab is still told apart by more than a line.) */
html[data-reference-system="true"][data-acid-app="true"] .editor-topbar .tabs-pill { background:transparent; border-color:transparent; }
html[data-reference-system="true"][data-acid-app="true"] .editor-topbar .tabs-pill .tab-btn { border-radius:8px; }
html[data-reference-system="true"][data-acid-app="true"] .editor-topbar .tabs-pill .tab-btn.is-active { background:transparent; box-shadow:inset 0 0 0 1px var(--line-2); }
/* b. The device buttons: no track. The one in use keeps a hairline, because
      the designer's picture shows two identical icons and a toggle has to say
      which side is on. The refresh paints these with !important
      (_editor_styles.css), so the fill needs it too. */
html[data-reference-system="true"][data-acid-app="true"] .editor-topbar .tb-group:has([data-preview-device-target]) { background:transparent; border-color:transparent; }
html[data-reference-system="true"][data-acid-app="true"] .editor-topbar .tb-icon[data-preview-device-target] { border-radius:8px; }
html[data-reference-system="true"][data-acid-app="true"] .editor-topbar .tb-icon[data-preview-device-target].is-active { background:transparent!important; color:var(--fg)!important; box-shadow:inset 0 0 0 1px var(--line-2); }
/* c. The credits chip: plain at rest, a quiet surface on hover and while its
      popover is open. NOT when the balance is empty: that chip, with its
      warning edge and the Top up button beside it, is the bar asking to be
      paid, and pricing is off limits (his ruling of 2026-11-18 23:08). It
      is left exactly as it is today, fill included. */
html[data-reference-system="true"][data-acid-app="true"] .editor-topbar .credits-trigger:not(.is-exhausted) { background:transparent; border-color:transparent; }
html[data-reference-system="true"][data-acid-app="true"] .editor-topbar .credits-trigger:not(.is-exhausted):is(:hover,[aria-expanded="true"]) { background:var(--hover-bg); }
/* d. The app's own name, at the left. The refresh gave it a panel fill so the
      app stays visible at rest; it keeps the hairline that does that job. */
html[data-reference-system="true"][data-acid-app="true"] .editor-topbar .proj-switch[data-app-navigation-target="trigger"] { background:transparent; }
html[data-reference-system="true"][data-acid-app="true"] .editor-topbar .proj-switch[data-app-navigation-target="trigger"]:is(:hover,[aria-expanded="true"]) { background:var(--hover-bg); }
/* e. 10px corners. _acid_app_buttons.css moved the bar's other buttons from
      8px to 10px on dark only, when light had no ruling. Publish is 10px in
      both themes "to match its neighbours", so on light the neighbours it
      sits beside take the same step. */
html[data-reference-system="true"][data-acid-app="true"][data-theme="light"] .editor-topbar :is(.proj-switch,.tb-tab,.tb-iconbtn):not(:where([data-theme="dark"],[data-theme="dark"] *,[data-oauth-app-themed="true"],[data-oauth-app-themed="true"] *)) { border-radius:var(--ref-button-radius); }

/* 3. THE WRAPPER, AND SWITCHING THE NEW MARKUP ON.
   The wrapper lays its pieces in a row: [Live pill, note] [button] or
   [Live pill as the button] [Open your app].

   Everything the flag adds is rendered inert, so that a page WITHOUT this
   sheet draws exactly what it drew before (the deploy broadcast sends one
   render to everyone on the app, whoever the flag is on for):
     - the status and the link carry `hidden`;
     - the new label carries `hidden`, and the old label stays beside it in
       a `display:contents` span, which lays out as the bare text did.
   These rules are the switch. They need !important twice over: the base
   stylesheet's reset hides [hidden] with it, and the old label's
   display:contents is an inline style.

   While the popover variant is publishing, its script writes "Publishing…"
   into the OLD label and shows a spinner, so for that moment the old label
   is the one on show. The popover's own screen-reader line ("Unpublished
   changes") would repeat "Publish changes", so it is dropped there. */
html[data-reference-system="true"][data-acid-app="true"] .editor-topbar .publish-header-button[data-acid-publish] { display:inline-flex; align-items:center; gap:8px; }
html[data-reference-system="true"][data-acid-app="true"] .editor-topbar .publish-header-button[data-acid-publish] :is(.acid-publish-status,.acid-publish-open) { display:inline-flex!important; }
html[data-reference-system="true"][data-acid-app="true"] .editor-topbar .publish-header-button[data-acid-publish] .tb-btn .acid-publish-label { display:inline!important; }
html[data-reference-system="true"][data-acid-app="true"] .editor-topbar .publish-header-button[data-acid-publish] .tb-btn:has(.acid-publish-label):not([aria-busy="true"]) :is(.acid-publish-base,.pm4-trigger-label) { display:none!important; }
html[data-reference-system="true"][data-acid-app="true"] .editor-topbar .publish-header-button[data-acid-publish] .tb-btn[aria-busy="true"] .acid-publish-label { display:none!important; }
html[data-reference-system="true"][data-acid-app="true"] .editor-topbar .publish-header-button[data-acid-publish="changes"] .tb-btn > .sr-only { display:none; }

/* 4. B: THE FILLED BUTTON. Changes waiting, a publish in flight, or never
   published. The popover variant's OPEN trigger is left to its own rule (a
   raised dark surface that joins the popover under it), hence the :not().
   The dots the three older buttons carry (an orange corner pulse, an orange
   inline dot) are replaced by the one in section 5. */
html[data-reference-system="true"][data-acid-app="true"] .editor-topbar .publish-header-button[data-acid-publish] .tb-btn { border-radius:var(--ref-button-radius); }
html[data-reference-system="true"][data-acid-app="true"] .editor-topbar .publish-header-button[data-acid-publish] .tb-btn :is(.pulse-dot,.pm4-dot) { display:none; }
html[data-reference-system="true"][data-acid-app="true"] .editor-topbar .publish-header-button[data-acid-publish]:not([data-acid-publish="live"]) .tb-btn:not([aria-expanded="true"]) {
  gap:8px; padding-inline:14px; border-color:transparent;
  color:var(--acid-publish-ink);
  background-color:var(--acid-publish-fill-flat); background-image:var(--acid-publish-fill);
  box-shadow:var(--acid-publish-depth);
  forced-color-adjust:none;
}
html[data-reference-system="true"][data-acid-app="true"] .editor-topbar .publish-header-button[data-acid-publish]:not([data-acid-publish="live"]) .tb-btn:not([aria-expanded="true"]):hover:not(:disabled,[aria-disabled="true"]) {
  background-color:var(--acid-publish-fill-flat); background-image:var(--acid-publish-fill-hover); border-color:transparent;
}

/* 5. THE ACID DOT, only while changes wait. Decoration: the label beside it
   reads "Publish changes" and the note in front reads "Changes not live
   yet", so it is never the only signal. #C9E746 on the near-white fill is
   1.2:1, which is why it carries a thin dark ring (the mock's own). Hidden
   while the popover variant shows its spinner in the same spot. */
html[data-reference-system="true"][data-acid-app="true"] .editor-topbar .publish-header-button[data-acid-publish="changes"] .tb-btn::before {
  content:""; flex:none; width:7px; height:7px; border-radius:50%;
  background:var(--os-acid); box-shadow:0 0 0 1px rgb(18 19 20 / 55%);
}
html[data-reference-system="true"][data-acid-app="true"] .editor-topbar .publish-header-button[data-acid-publish="changes"] .tb-btn[aria-busy="true"]::before { display:none; }

/* 6. THE LIVE PILL. Two elements draw it: the status in front of "Publish
   changes" (a span), and, when the app is current, the Publish control
   itself. The second is why it has a hover and an open state: it is still
   the button that opens the publish window. */
html[data-reference-system="true"][data-acid-app="true"] .editor-topbar .publish-header-button[data-acid-publish] .acid-publish-status { align-items:center; gap:8px; white-space:nowrap; }
html[data-reference-system="true"][data-acid-app="true"] .editor-topbar .publish-header-button[data-acid-publish] .acid-publish-note { color:var(--fg-2); font:500 13px/1 var(--font-body); }
html[data-reference-system="true"][data-acid-app="true"] .editor-topbar .publish-header-button[data-acid-publish] .acid-publish-pill,
html[data-reference-system="true"][data-acid-app="true"] .editor-topbar .publish-header-button[data-acid-publish="live"] .tb-btn {
  display:inline-flex; align-items:center; justify-content:center; gap:6px;
  height:26px; min-height:26px; min-width:0; padding:0 10px;
  border:0; border-radius:999px;
  color:var(--acid-publish-live-ink); background:var(--acid-publish-live-tint); box-shadow:none;
  font:600 12px/1 var(--font-body); white-space:nowrap;
}
html[data-reference-system="true"][data-acid-app="true"] .editor-topbar .publish-header-button[data-acid-publish] .acid-publish-pill::before,
html[data-reference-system="true"][data-acid-app="true"] .editor-topbar .publish-header-button[data-acid-publish="live"] .tb-btn::before {
  content:""; flex:none; width:6px; height:6px; border-radius:50%; background:currentColor;
}
html[data-reference-system="true"][data-acid-app="true"] .editor-topbar .publish-header-button[data-acid-publish="live"] .tb-btn:is(:hover,[aria-expanded="true"]):not(:disabled,[aria-disabled="true"]) {
  color:var(--acid-publish-live-ink); background:var(--acid-publish-live-tint); box-shadow:inset 0 0 0 1px var(--acid-publish-live-edge);
}
/* The popover variant shows its spinner where the pill's dot is. */
html[data-reference-system="true"][data-acid-app="true"] .editor-topbar .publish-header-button[data-acid-publish="live"] .tb-btn[aria-busy="true"]::before { display:none; }

/* 7. "OPEN YOUR APP": the quiet secondary from the same sheets, a raised
   surface with a hairline. It only appears when no button is filled. */
html[data-reference-system="true"][data-acid-app="true"] .editor-topbar .publish-header-button[data-acid-publish] .acid-publish-open {
  align-items:center; gap:6px; height:36px; padding:0 14px;
  border-radius:var(--ref-button-radius);
  color:var(--fg); background-image:var(--acid-publish-quiet); box-shadow:var(--acid-publish-quiet-depth);
  font:600 13px/1 var(--font-body); text-decoration:none; white-space:nowrap;
}
html[data-reference-system="true"][data-acid-app="true"] .editor-topbar .publish-header-button[data-acid-publish] .acid-publish-open:hover { background-image:var(--acid-publish-quiet-hover); }
html[data-reference-system="true"][data-acid-app="true"] .editor-topbar .publish-header-button[data-acid-publish] .acid-publish-open svg { flex:none; color:var(--fg-2); }

/* 8. KEYBOARD FOCUS, as ruled, for the control and the link, in both
   themes: a 2px outline at a 2px offset, in the keyboard focus colour the
   two acid focus sheets bind (brand green on dark, the deep green #0F7A23 on
   light). The older rule drew the ring as a box-shadow touching the button
   and removed the outline; here the outline is the ring, and the button
   keeps the shadow that gives it depth. Both of those sheets used to pin
   this button to the neutral grey while it had no ruling; those two pins are
   gone. */
html[data-reference-system="true"][data-acid-app="true"] .editor-topbar .publish-header-button[data-acid-publish] :is(.tb-btn,.acid-publish-open):focus-visible {
  outline:2px solid var(--ref-keyboard-focus)!important; outline-offset:2px!important;
}
html[data-reference-system="true"][data-acid-app="true"] .editor-topbar .publish-header-button[data-acid-publish] .tb-btn[aria-expanded="true"]:focus-visible { box-shadow:none; }

/* 9. ROOM. The bar has a fixed budget: with the chat open, whatever the
   action cluster takes comes out of the Dashboard / Preview switch (which
   drops its labels, then the cluster wraps to a second row;
   _editor_topbar.css). Measured at the default chat width: the old button's
   cluster is 436px for a workspace with credits and 499px for one without
   (its chip grows a Top up button); "Publish changes" with the pill and the
   note adds 246px to that, and the pill with "Open your app" adds 106px.
   So the extra pieces yield in three steps, least needed first, and the
   control itself never does:
     under 1800px  the note goes. The button beside it says the same thing.
     under 1440px  the pill in front of "Publish changes" goes, and so does
                   "Open your app". What is left is the filled button, or the
                   Live pill, which still opens the publish window (and the
                   live address is in it). Under 1500px for a workspace with
                   no credits.
     under 1400px  "Publish changes" goes back to the words the button has
                   today ("Publish · 3", or "Publish" with the dot), in the
                   new fill. It is 51px longer than they are, and at 1280px
                   that was the difference between one row and two: here
                   the control is exactly as wide as it is with the flag off.
                   The :publish_first button's count already says changes are
                   waiting, so it drops the dot; the other two keep it, and
                   the popover's screen-reader line comes back.
   A window width, not a container query: making the bar a size container
   would make it the containing block for the menus that open out of it. */
@media (max-width:1799px) {
  html[data-reference-system="true"][data-acid-app="true"] .editor-topbar .publish-header-button[data-acid-publish] .acid-publish-note { display:none; }
}
/* A workspace with no credits has 63px less room: its chip grows a Top up
   button. At 1440px that was a second row with changes waiting, so for that
   bar the pill and the link yield 60px earlier. */
@media (max-width:1499px) {
  html[data-reference-system="true"][data-acid-app="true"] .editor-topbar:has(.credits-trigger.is-exhausted) .publish-header-button[data-acid-publish] :is(.acid-publish-status,.acid-publish-open) { display:none!important; }
}
@media (max-width:1439px) {
  html[data-reference-system="true"][data-acid-app="true"] .editor-topbar .publish-header-button[data-acid-publish] :is(.acid-publish-status,.acid-publish-open) { display:none!important; }
}
/* The two rules that bring the old label back repeat the shape of the rule
   in section 3 that hides it, so they tie with it and win by coming later;
   a shorter selector loses to it, and the button is left with a dot and no
   words. */
@media (max-width:1399px) {
  html[data-reference-system="true"][data-acid-app="true"] .editor-topbar .publish-header-button[data-acid-publish="changes"] .tb-btn .acid-publish-label { display:none!important; }
  html[data-reference-system="true"][data-acid-app="true"] .editor-topbar .publish-header-button[data-acid-publish="changes"] .tb-btn:has(.acid-publish-label):not([aria-busy="true"]) :is(.acid-publish-base) { display:contents!important; }
  html[data-reference-system="true"][data-acid-app="true"] .editor-topbar .publish-header-button[data-acid-publish="changes"] .tb-btn:has(.acid-publish-label):not([aria-busy="true"]) :is(.pm4-trigger-label) { display:inline!important; }
  html[data-reference-system="true"][data-acid-app="true"] .editor-topbar .publish-header-button[data-acid-publish="changes"] .tb-btn > .sr-only { display:inline; }
  html[data-reference-system="true"][data-acid-app="true"] .editor-topbar .publish-header-button[data-acid-publish="changes"] .tb-btn.publish-state::before { display:none; }
  /* ...and the 2px a side the filled button adds go back too (the popover's
     trigger already had them), so "as wide as with the flag off" is exact. */
  html[data-reference-system="true"][data-acid-app="true"] .editor-topbar .publish-header-button[data-acid-publish]:not([data-acid-publish="live"]) .tb-btn:not(.pm4-trigger):not([aria-expanded="true"]) { padding-inline:12px; }
}

/* 10. EVERY OTHER PUBLISH BUTTON: THE SAME KEYBOARD FOCUS.
   Inside the publish window four bodies draw the button (the dialog's three
   generations and the newer popover), and each had its own focus: an
   outline 3px out, a button outline, a browser default, a ring touching the
   button. The first selector reaches all four through the target the
   publish controller already needs; the second is the popover's "Up to
   date" button, which carries no target.
   The popover is a themed island: it re-declares the focus colour on itself
   (brand green on dark, deep green on light), so reading the token here gives
   the ruled colour in both themes. Its own rule drew the ring as a
   box-shadow, which would stack on the outline. That box-shadow ring is the
   one that showed brand green on dark while every other Publish was pinned
   grey.
   The last selector is the header button of the editor in a window under
   1024px (theme.css drew a translucent dark ring there, which cannot be seen
   on the dark theme at all). Its bottom-bar twin already draws this outline. */
html[data-reference-system="true"][data-acid-app="true"] #publish_modal [data-publish-modal-target="deployButton"]:focus-visible,
html[data-reference-system="true"][data-acid-app="true"] #publish_modal .pm4 .pm4-cta:focus-visible,
html[data-reference-system="true"][data-acid-app="true"] .pm .deploy-cta:focus-visible,
html[data-reference-system="true"][data-acid-app="true"] .editor-btn-publish:focus-visible {
  outline:2px solid var(--ref-keyboard-focus)!important; outline-offset:2px!important;
}
html[data-reference-system="true"][data-acid-app="true"] #publish_modal .pm4 .pm4-cta:focus-visible,
html[data-reference-system="true"][data-acid-app="true"] .editor-btn-publish:focus-visible { box-shadow:none; }

/* 11. HIGH CONTRAST. Forced colours drop backgrounds and box-shadows, which
   is all the Live pill and "Open your app" are drawn with, so each gets a
   real border there. The filled button already opts out of forcing. */
@media (forced-colors:active) {
  html[data-reference-system="true"][data-acid-app="true"] .editor-topbar .publish-header-button[data-acid-publish] .acid-publish-pill,
  html[data-reference-system="true"][data-acid-app="true"] .editor-topbar .publish-header-button[data-acid-publish="live"] .tb-btn,
  html[data-reference-system="true"][data-acid-app="true"] .editor-topbar .publish-header-button[data-acid-publish] .acid-publish-open { border:1px solid ButtonBorder; }
}
/* ==========================================================================
   ACID REFRESH IN THE APP: GROUP LABELS IN SENTENCE CASE (:acid_app, default OFF)
   --------------------------------------------------------------------------
   The brand guidelines (version 8 draft) use Geist and sentence case
   everywhere, and no mono eyebrows. The in-app audit (row 2.5) found the
   product's small group labels drawn the old way: JetBrains Mono, 9 to 10px,
   capitals, tracked 0.10 to 0.14em. The repo retired eyebrows on the public
   pages on 2026-11-09; these are what is left inside the app.

   THIS SHEET CHANGES HOW THREE LABELS ARE DRAWN, NOT WHAT THEY SAY. Each one's
   text is ALREADY sentence case in the markup and in the en, es and ja
   locale files ("Projects", "Recent", "Most capable"); only a text-transform
   made it capitals. So the transform and the tracking come off and the face
   becomes Geist at weight 500:

     .computer-nav__heading       the rail's groups: Projects, Apps, Team,
                                  Tasks, and Joined, Funnels where shown
     .computer-picker__catlabel   the icon picker's groups (Recent, Smileys,
                                  "Create with AI") and the AI employee face
                                  picker's heading
     .composer-menu-group         the model picker's groups: Balanced,
                                  Most capable

   A label whose TEXT is capitals in the markup or the locale file (a file
   card's "SCREENSHOT", an app card's "DRAFT", a chip's "NEW") is not here:
   making it sentence case is a wording change, and copy cannot ride a
   stylesheet. Those are listed for that work.

   THE SIZE AND THE LINE HEIGHT ARE NOT TOUCHED, on purpose. The first
   version raised these labels to 11px (the size the refresh uses for a
   dropdown's group label) and pinned each one's line height to what it
   measured on three pages. That was wrong in the editor, whose <body> gives
   everything a fixed 20px line: the pins shrank the rail's group labels
   there by 5px and the icon picker's by 6.5px each, moving the icon grid
   under them, and shrank the AI employee face picker's heading. A label's
   line height comes from wherever it sits, so no one value is right. With
   the size left alone, each label keeps the line height it inherits and its
   box keeps its height in every layout. Whether these labels should be
   larger is a separate, per-surface change.

   Colour is not touched: each label keeps the muted ink it has.

   The rail menus' titles ("Move to", "Filter chats", .computer-menu__title)
   are the same pattern and are not here; they are listed.

   NOT TOUCHED: the editor's top bar and the publish window (they belong to
   the change that ruled Publish), and the pricing v3 partials and checkout
   page ("by pricing i meant the 3 column pricing page, pricing v3 update",
   Jason Sanzone, 2026-11-19 09:26).
   ========================================================================== */
html[data-reference-system="true"][data-acid-app="true"][data-theme] :is(.computer-nav__heading,.computer-picker__catlabel,.composer-menu-group):not(:where(.editor-topbar *,.editor-mobile-header *,#publish_modal *,.pm4 *,.gc-page *,.pvc,.pvc *,[class*="billing-v3"],[class*="billing-v3"] *,[class*="pv3-"],[class*="pv3-"] *,[class*="pv4-"],[class*="pv4-"] *,[data-oauth-app-themed="true"],[data-oauth-app-themed="true"] *)) {
  font-family:var(--font-body);
  font-weight:500;
  letter-spacing:normal;
  text-transform:none;
}
/* ==========================================================================
   ACID REFRESH IN THE APP: THE STATUS PILL (:acid_app, default OFF)
   --------------------------------------------------------------------------
   Design board C-05, "Badges, status pills and streaks" (Jason Sanzone ruled
   on 2026-11-19 that the in-app boards are the spec):

     "One pill shape, sentence case, always a word with the dot, so status
      never rests on colour alone."
     "Green means live or done."
     "Counts go neutral."

   and board A-01: "Recent apps show with a plain status word: Live, Building
   or Draft, in sentence case, never colour alone."

   ONE element, drawn by AcidAppHelper#acid_status_pill:

     <span class="acid-status acid-status--{tone}">
       <span class="acid-status__dot" aria-hidden="true"></span>Word
     </span>

   The markup only exists with the flag on (the helper is only called behind
   acid_app_enabled?), so this sheet restyles nothing that exists today.

   TONES (a tone is a colour role; several real states share one):
     live       green text on a green tint; the deep green on light
     building   ink on the soft surface
     draft      quiet text on the soft surface
     attention  acid fill, dark text
     error      error-red fill, dark text ("Error red is a fill with dark ink",
                board A-09)

   CONTRAST, measured in spec/config/acid_app_home_spec.rb against every
   surface a pill sits on (the card, panel and page fills of both themes).
   The pill's text is 12px/600, so it needs 4.5:1. The spec holds the
   numbers; at the time of writing the weakest are:
     live       dark 7.4:1 (on the panel)   light 4.5:1 (on the page, #F5F5F5)
     building   dark 11:1                   light 12:1
     draft      dark 6.9:1                  light 5.9:1
     attention  13:1 (dark text on acid, both themes)
     error       4.7:1 (dark text on #E74545, both themes)
   Every fill but acid and red is translucent on purpose (the same recipe as
   the editor bar's Live pill, _acid_app_publish.css): a fixed grey token is
   all but invisible on one surface or another (--bg-3 is 1.1:1 on the dark
   card and 1.0:1 on the light page). The spec composites each over each
   surface before measuring.

   EVERY selector starts with the two root attributes:
     data-reference-system="true"  the design refresh. ClickFunnels AI, partner
                                   and customer sign-in pages never carry it.
     data-acid-app="true"          the flag (AcidAppHelper).
   ========================================================================== */

html[data-reference-system="true"][data-acid-app="true"][data-theme] .acid-status {
  --acid-status-fg: var(--fg-2);
  --acid-status-bg: color-mix(in srgb, var(--fg) 9%, transparent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  height: 24px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: var(--acid-status-bg);
  color: var(--acid-status-fg);
  font: 600 12px/1 var(--font-body);
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
}
html[data-reference-system="true"][data-acid-app="true"][data-theme] .acid-status__dot {
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* Live. Dark: brand green on a 14% tint. Light: green text fails on light, so
   the word is the deep green on a 22% tint (the editor bar's values). */
html[data-reference-system="true"][data-acid-app="true"][data-theme] .acid-status--live {
  --acid-status-fg: var(--brand);
  --acid-status-bg: color-mix(in srgb, var(--brand) 14%, transparent);
}
html[data-reference-system="true"][data-acid-app="true"][data-theme="light"] .acid-status--live {
  --acid-status-fg: var(--os-green-deep);
  --acid-status-bg: color-mix(in srgb, var(--brand) 22%, transparent);
}

/* Building: "Busy is neutral" (board A-03). Ink, not green. */
html[data-reference-system="true"][data-acid-app="true"][data-theme] .acid-status--building {
  --acid-status-fg: var(--fg);
}

/* Draft keeps the defaults above. */

/* Attention: the acid call-out. Acid is a fill with dark text, never text. */
html[data-reference-system="true"][data-acid-app="true"][data-theme] .acid-status--attention {
  --acid-status-fg: #121314;
  --acid-status-bg: var(--os-acid);
}

/* Error: the error red as a fill with dark text, never white on red. */
html[data-reference-system="true"][data-acid-app="true"][data-theme] .acid-status--error {
  --acid-status-fg: #121314;
  --acid-status-bg: var(--os-error);
}

/* THE CALL-OUT BADGE (AcidAppHelper#acid_badge). Board C-05: "'New',
   'Recommended' and promo tags share one acid pill with dark text, in
   sentence case, used once per view." A word, no dot. 13:1. */
html[data-reference-system="true"][data-acid-app="true"][data-theme] .acid-badge {
  display: inline-flex;
  align-items: center;
  flex: none;
  height: 22px;
  padding: 0 9px;
  border: 0;
  border-radius: 999px;
  background: var(--os-acid);
  color: #121314;
  font: 600 12px/1 var(--font-body);
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
}

/* A badge rendered `hidden` stays hidden until a rule that means to show it
   says so (the header credits pill, _acid_app_credits.css): the display
   above would otherwise out-rank the attribute. */
html[data-reference-system="true"][data-acid-app="true"][data-theme] .acid-badge[hidden] {
  display: none;
}
/* The quiet badge: the same shape with no call-out, for a word that marks
   something without asking for attention. */
html[data-reference-system="true"][data-acid-app="true"][data-theme] .acid-badge--quiet {
  background: color-mix(in srgb, var(--fg) 9%, transparent);
  color: var(--fg);
}

@media (forced-colors: active) {
  html[data-reference-system="true"][data-acid-app="true"][data-theme] :is(.acid-status, .acid-badge) {
    border: 1px solid CanvasText;
    background: Canvas;
    color: CanvasText;
  }
}
/* ==========================================================================
   ACID REFRESH IN THE APP: THE HOME PAGE AND ITS COMPOSER (:acid_app, default OFF)
   --------------------------------------------------------------------------
   Design boards A-01 "Signed-in home and launcher", A-03 "In-app composer",
   A-11 "Phone: home and editor", and their light versions L-01 / L-03. Jason
   Sanzone ruled on 2026-11-19 that the in-app boards are the spec.

   What this sheet draws, with the callout it comes from:

     1. THE HEADLINE. "One calm line in the product voice, 'Describe your
        idea.', set in Grifter at 0.94 leading and +0.5% tracking." (A-01)
        "'Describe your idea.' at 38px in Grifter" on a phone. (A-11)
     2. CHIPS INSIDE THE COMPOSER. "The idea chips move inside the composer as
        plain soft pills with no icons." (A-03)
     3. YOUR APPS. "Recent apps show with a plain status word ... Filter tabs
        carry no counts." (A-01) "The selected pill is near-white with dark
        ink; the rest are soft." (A-02) The status pill itself is
        _acid_app_status.css; this sheet places it beside the app's name.
     4. "NEW". "The green NEW chip in tracked mono caps goes." (A-01) The
        launcher's chip is not rendered under the flag (the quiet-status
        sheet left it alone: acid cannot sit on that tab's green wash). The
        import banner's tag keeps the acid fill _acid_app_quiet_status.css
        gives every "New" chip; here it only becomes a pill in Geist, and its
        word is written in sentence case by the view.

   RAIL GROUPS ("SPACES, APPS, TEAM and TASKS ... become Geist labels in
   sentence case", A-01 / A-02) are drawn by _acid_app_sentence_labels.css,
   which leaves their size alone on purpose: a size set here shifted the
   rail's rows in the editor. Nothing in this sheet names them.

   NOT in this sheet, on purpose:
     - Composer focus. The boards draw a brand-green edge; the designer's
       later rulings keep the softer green edge and soft ring on dark and
       choice "1A" on light (_acid_app_focus*.css). The rulings stand.
     - The send button's shape. The deck draws it round; the app has a
       recorded rule that it is a rounded square, and the board says the shape
       needs the designer's ruling. It keeps today's shape. It is already
       green only when there is something to send.
     - The Apps / Agent / Creative switch. The boards mock the launcher
       without it; it is how a workspace with the Agent reaches it, so it
       stays, without its NEW chip.

   The wording that goes with this (headline, placeholder, the send button's
   name, sentence-case status words) is picked in the views by
   AcidAppHelper#acid_app_enabled? from new Overskill-only keys
   (config/locales/en/acid_app_home.en.yml).

   EVERY selector starts with the two root attributes:
     data-reference-system="true"  the design refresh. ClickFunnels AI, partner
                                   and customer sign-in pages never carry it.
     data-acid-app="true"          the flag (AcidAppHelper).
   Both themes are drawn, so most rules have no data-theme value.
   ========================================================================== */

/* 1. THE HEADLINE. Size is today's on desktop (38 to 54px by viewport); only
   the leading and tracking change. The clamps that set the size are (0,5,1),
   so the phone rule below repeats their shape to out-rank them. */
html[data-reference-system="true"][data-acid-app="true"][data-theme] .dash-hero-title {
  line-height: .94;
  letter-spacing: .005em;
  text-wrap: balance;
}
/* The line under the headline is gone, and the tight leading lets the
   descenders hang out of the line box. So the headline carries the gap to
   whatever is under it: a little to the composer (the layout already spaces
   that), more to the mode switch, which used to sit under the line. */
html[data-reference-system="true"][data-acid-app="true"][data-theme] .dash-hero-inner .dash-hero-title {
  margin-bottom: 10px;
}
html[data-reference-system="true"][data-acid-app="true"][data-theme] .dash-hero-inner:has(+ .launcher-mode) .dash-hero-title {
  margin-bottom: 32px;
}
@media (max-width: 639px) {
  html[data-reference-system="true"][data-acid-app="true"][data-theme] :is(.dash-hero-section, .dash-hero-section--composer-centered) .dash-hero-title {
    font-size: clamp(38px, 9.75vw, 44px);
  }
}

/* 2. CHIPS INSIDE THE COMPOSER. The same chips, test ids and prompts as the
   row that sits under the card with the flag off (the launcher hero hands
   them to the composer partial). Plain soft pills: no border, no icon. */
/* The spacing is on the chip row, not on the wrapper: the wrapper stays in
   the card when the row is hidden (the Agent and Creative tracks, and the
   Agent start page's dock, which hides the Apps chips), and must then take
   no room at all. */
html[data-reference-system="true"][data-acid-app="true"][data-theme] .nah .acid-composer-chips .nah-chips[data-testid="hero-idea-chips"] {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 2px 12px 8px;
}
html[data-reference-system="true"][data-acid-app="true"][data-theme] .acid-composer-chips [data-testid="hero-idea-chips"] > .nah-chip,
html[data-reference-system="true"][data-acid-app="true"][data-theme] .acid-composer-chips [data-testid="hero-idea-chips"] .nah-chip-more {
  min-height: 32px;
  padding: 0 14px;
  border-color: transparent;
  border-radius: 999px;
  /* A soft fill ON the composer's own surface (which is the raised grey in
     dark and white in light), so it is mixed from the ink, not a token that
     may equal that surface: --bg-3 IS the dark composer's colour. */
  background: color-mix(in srgb, var(--fg) 8%, transparent);
  color: var(--fg);
  font: 500 13px/1.3 var(--font-body);
}
html[data-reference-system="true"][data-acid-app="true"][data-theme] .acid-composer-chips [data-testid="hero-idea-chips"] .nah-chip:hover {
  border-color: transparent;
  background: color-mix(in srgb, var(--fg) 14%, transparent);
  color: var(--fg);
}
html[data-reference-system="true"][data-acid-app="true"][data-theme] .acid-composer-chips [data-testid="hero-idea-chips"] > .nah-chip > .nah-chip-icon {
  display: none;
}

/* 3. YOUR APPS. */
/* 3a. Filter pills: separate soft pills; the selected one is ink on the page
   colour (near-white with dark ink on dark, near-black with light ink on
   light). The counts are not rendered. Weight is !important only because the
   tab carries an inline `font` shorthand. */
html[data-reference-system="true"][data-acid-app="true"][data-theme] .dash-tabs {
  gap: 6px;
  padding: 0;
  border: 0;
  background: transparent;
}
html[data-reference-system="true"][data-acid-app="true"][data-theme] .dash-tab {
  border-radius: 10px;
  /* Mixed from the ink for the same reason as the chips: on light, --bg-3
     (#F1F1F1) is all but the page colour (#F5F5F5) and the pill vanished. */
  background: color-mix(in srgb, var(--fg) 8%, transparent);
  color: var(--fg);
}
html[data-reference-system="true"][data-acid-app="true"][data-theme] .dash-tab:hover {
  background: color-mix(in srgb, var(--fg) 14%, transparent);
}
html[data-reference-system="true"][data-acid-app="true"][data-theme] .dash-tab.is-active {
  background: var(--fg);
  color: var(--bg);
  font-weight: 600 !important;
}

/* 3b. The status pill sits in the name row. The name truncates; the pill
   never does. */
html[data-reference-system="true"][data-acid-app="true"][data-theme] .acid-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}
html[data-reference-system="true"][data-acid-app="true"][data-theme] .acid-card-head > .dash-card-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
html[data-reference-system="true"][data-acid-app="true"][data-theme] .cproj-appcard__name-row > .acid-status {
  margin-left: auto;
}
/* 3c. "Updated 3 hours ago" in Geist, sentence case (the mock's caption line;
   board A-02: "Mono stays for code and figures only"). The refresh tracks
   and capitalises each caption item; this undoes both. The address line
   above it stays mono: it is an address. On the project page the capitals
   were written in the view, which now skips them under the flag. */
html[data-reference-system="true"][data-acid-app="true"][data-theme] .dash-card-meta,
html[data-reference-system="true"][data-acid-app="true"][data-theme] .dash-card-meta .dash-proof-item {
  font-family: var(--font-body);
  letter-spacing: 0;
  text-transform: none;
}

/* 4. "New" on the import banner: a pill, in Geist, sentence case. Its colour
   is not set here: _acid_app_quiet_status.css paints every "New" chip (acid
   fill, dark text), and this must not fork that. */
html[data-reference-system="true"][data-acid-app="true"][data-theme] .import-banner-tag {
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}
/* ==========================================================================
   ACID REFRESH IN THE APP: THE CREDITS PILL AND THE BELL (:acid_app, default OFF)
   --------------------------------------------------------------------------
   Design board C-07 "Credits pill" (and the same callout on boards A-01,
   A-02, A-08 and A-11). Jason Sanzone ruled on 2026-11-19 that the in-app
   boards are the spec, and, at 09:26 the same day, that "pricing" (which he
   had asked to leave as is) meant the three-column pricing page and the
   pricing v3 update only: "by pricing i meant the 3 column pricing page,
   pricing v3 update". So the header credits pill and its button follow the
   board. Nothing here changes a price, a plan, a credit number or where a
   button goes.

     1. "The coin is not green ... It takes the text colour; green goes back
        to meaning live, done or focused."
     2. "Buy credits steps back ... At rest it is a hairline secondary."
     3. "Low and out use acid, once. When the balance needs you, a small acid
        pill says why and the action becomes the one filled button. No second
        Top up button beside it."
     4. "No motion to sell. The sweeping green band on Upgrade and the
        rotating ring on Buy credits come off."
     5. "Geist numerals. The balance and the word 'credits' in the popover
        drop mono capitals for Geist with even-width figures."
   and from boards A-02 / A-11: "the bell shows a dot, not a count."

   THE MARKUP IS INERT WITHOUT THIS SHEET. The widget is drawn in every
   signed-in header, including on layouts that never carry data-acid-app (the
   public pages and /pricing through account/shared/_top_nav_v2, checkout),
   and the flag knows the person, not the layout. So the partial
   (shared/design_system/_credit_balance_widget, the acid_credits_* locals)
   removes nothing and replaces no word: the "Low" / "Out" pill and the new
   button word are rendered `hidden`, "Top up" and the two motion classes are
   still printed, and one class marks the filled action. THIS sheet shows the
   pill, swaps the words, hides the duplicate button and stops the motion.
   A page without it draws today's widget. That is also why several rules
   below undo something instead of the partial not printing it.

   The two button looks READ THE DEPTH TOKENS of the designer's component
   sheets (--acid-btn-secondary-*, --acid-btn-primary-*, declared on the theme
   roots by _acid_app_depth_buttons.css), with today's flat tokens as the
   fallback. So this button changes with the app's other buttons when those
   sheets are tuned, and this file sets no button colour of its own.

   NOT changed here:
     - THE EDITOR'S TOP BAR, except the coin's colour. Its pill and its
       "Top up" were settled by the Publish ruling (_acid_app_publish.css)
       and the bar's widths were measured for today's words; the low and out
       states there belong to the editor's own change. Every rule from
       section 2 on skips .editor-topbar.
     - PHONES (480px and narrower). The header pill is a 32px square there and
       the main button is hidden by the base sheet, so "Top up" is the only
       credits action on the row. It keeps today's look, colour included, and
       no pill is shown: sections 1b to 3 are desktop rules.
     - The seasonal credit-promo skin ([data-season] on .credits-cluster). It
       dresses this button during a sale; board C-04 says campaigns should not,
       and that is its own change. Every button rule below skips it.
     - A balance that is below zero where no pill is offered (the quiet iOS
       app, which has no buy controls): it keeps today's warning colour,
       because nothing else there says why.
     - ClickFunnels AI: it never carries either root attribute.

   EVERY selector starts with the two root attributes:
     data-reference-system="true"  the design refresh.
     data-acid-app="true"          the flag (AcidAppHelper).
   ========================================================================== */

/* 1. THE COIN takes the text colour (every header, the editor's included). */
html[data-reference-system="true"][data-acid-app="true"][data-theme] .credits-trigger:not(.is-exhausted) .spark {
  color: currentColor;
}

@media (min-width: 481px) {
  /* 1b. THE ACID PILL says why. It is in the markup `hidden`; this shows it.
     !important because the app's reset hides [hidden] with it (the Publish
     control's sheet does the same). Dark text on acid is 13:1. */
  html[data-reference-system="true"][data-acid-app="true"][data-theme] .credits-trigger:not(:where(.editor-topbar *)) > .credits-state[hidden] {
    display: inline-flex !important;
    height: 20px;
    margin-right: -4px;
    padding: 0 8px;
    font-size: 11px;
  }
  /* With the pill saying why, a balance below zero no longer needs to be
     orange as well ("Still calm."). Only where the pill IS there. */
  html[data-reference-system="true"][data-acid-app="true"][data-theme] .credits-trigger.is-exhausted:has(> .credits-state):not(:where(.editor-topbar *)) :is(.spark, .num) {
    color: currentColor;
  }
  html[data-reference-system="true"][data-acid-app="true"][data-theme] .credits-trigger.is-exhausted:has(> .credits-state):not(:where(.editor-topbar *)) {
    border-color: color-mix(in srgb, var(--fg) 8%, transparent);
  }

  /* THE WORDS. The old label is a display:contents span, the new one is
     `hidden` beside it; swap them. */
  html[data-reference-system="true"][data-acid-app="true"][data-theme] :is(.credits-upgrade, .credits-topup-now):not(:where(.editor-topbar *, [data-season] *)) > .acid-credits-base {
    display: none !important;
  }
  html[data-reference-system="true"][data-acid-app="true"][data-theme] :is(.credits-upgrade, .credits-topup-now):not(:where(.editor-topbar *, [data-season] *)) > .acid-credits-label {
    display: inline !important;
  }

  /* 2. AT REST: a quiet secondary, with the edge the component sheets give a
     secondary (the board says "hairline"; the designer's depth sheets draw a
     raised fill with a soft edge, and the sheets out-rank the boards for the
     components they draw). No sweeping band (the shimmer is a background
     image and an animation), no rotating ring (a ::before). */
  html[data-reference-system="true"][data-acid-app="true"][data-theme] .credits-upgrade:not(.credits-upgrade--acid-filled):not(:where(.editor-topbar *, [data-season] *)) {
    border: 1px solid var(--acid-btn-secondary-edge, var(--line-2));
    background-color: var(--acid-btn-secondary-fill, var(--rx-secondary));
    background-image: var(--acid-btn-secondary-image, none);
    background-size: auto;
    background-position: 0 0;
    box-shadow: var(--acid-btn-secondary-depth, none);
    color: var(--fg);
    font-weight: 500;
    animation: none;
  }
  html[data-reference-system="true"][data-acid-app="true"][data-theme] .credits-upgrade:not(.credits-upgrade--acid-filled):not(:where(.editor-topbar *, [data-season] *)):hover {
    background-color: var(--acid-btn-secondary-fill-hover, var(--ref-button-secondary-hover));
    background-image: var(--acid-btn-secondary-image-hover, none);
    background-size: auto;
  }
  html[data-reference-system="true"][data-acid-app="true"][data-theme] .credits-upgrade--attention:not(:where(.editor-topbar *, [data-season] *))::before {
    content: none;
  }

  /* 3. WHEN THE BALANCE NEEDS YOU: the one filled button. The app's primary
     (near-white on dark, near-black on light), not green: green is for live,
     done and focused. It is the main button when that opens the Add credits
     window, and then the "Top up" beside it, which opens the same window, is
     not drawn. Where the main button is "Upgrade" (it goes to plans), "Top
     up" stays and is the filled one. */
  html[data-reference-system="true"][data-acid-app="true"][data-theme] .credits-upgrade.credits-upgrade--acid-filled:not(:where(.editor-topbar *, [data-season] *)),
  html[data-reference-system="true"][data-acid-app="true"][data-theme] .credits-widget:not(.credits-widget--compact) + .credits-topup-now:not(:where(.editor-topbar *, [data-season] *)) {
    border: 1px solid transparent;
    background-color: var(--rx-primary);
    background-image: var(--acid-btn-primary-image, none);
    background-size: auto;
    background-position: 0 0;
    box-shadow: var(--acid-btn-primary-depth, none);
    color: var(--rx-primary-ink);
    font-weight: 600;
    animation: none;
  }
  html[data-reference-system="true"][data-acid-app="true"][data-theme] .credits-upgrade.credits-upgrade--acid-filled:not(:where(.editor-topbar *, [data-season] *)):hover,
  html[data-reference-system="true"][data-acid-app="true"][data-theme] .credits-widget:not(.credits-widget--compact) + .credits-topup-now:not(:where(.editor-topbar *, [data-season] *)):hover {
    background-color: var(--rx-primary-hover);
    background-image: var(--acid-btn-primary-image-hover, none);
  }
  html[data-reference-system="true"][data-acid-app="true"][data-theme] .credits-widget:not(.credits-widget--compact) + .credits-topup-now:has(+ .credits-upgrade--acid-filled):not(:where(.editor-topbar *, [data-season] *)) {
    display: none;
  }
}

/* 5. THE POPOVER'S FIGURES in Geist with even-width digits. Grifter stops at
   32px, so the 22px total is Geist SemiBold. */
html[data-reference-system="true"][data-acid-app="true"][data-theme] .credits-pop .cp-total-val {
  font-family: var(--font-body);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}
html[data-reference-system="true"][data-acid-app="true"][data-theme] .credits-pop .cp-total-unit {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}
html[data-reference-system="true"][data-acid-app="true"][data-theme] .credits-pop .cp-row-r.mono {
  font-family: var(--font-body);
  font-variant-numeric: tabular-nums;
}

/* THE BELL shows a dot, not a count. The count stays in the markup (the
   notifications script writes it) and is read from the list that opens; it
   was never part of the button's accessible name. Green is the unread dot's
   colour on the board; on light the deep green keeps it at 3:1 or better. */
html[data-reference-system="true"][data-acid-app="true"][data-theme] [data-testid="notification-bell-button"] > [data-testid="notification-badge"] {
  top: 2px;
  right: 2px;
  width: 8px;
  min-width: 8px;
  height: 8px;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: var(--brand);
  box-shadow: 0 0 0 2px var(--bg);
  color: transparent;
  font-size: 0;
}
html[data-reference-system="true"][data-acid-app="true"][data-theme="light"] [data-testid="notification-bell-button"] > [data-testid="notification-badge"] {
  background: var(--os-green-deep);
}
/*
 * Overskill presentation refresh. Loaded only by the presentation gate.















































 */
