/* #641: scoped DS subset; child /bonza-tokens.css must load first. */
.ab-ui.benzan-integrated .form-page .creative-preferences[aria-label="1 · 怎么写"] .bz-seg { display: inline-flex; gap: 3px; padding: 3px; border-radius: var(--r-ctl); background: var(--seg-bg); }
.ab-ui.benzan-integrated .form-page .creative-preferences[aria-label="1 · 怎么写"] .bz-seg__opt { border: none; cursor: pointer; font-family: inherit; font-size: 12px; font-weight: 660; padding: 5px 14px; border-radius: calc(var(--r-ctl) - 2px); background: transparent; color: var(--ink3); transition-property: color, background-color; transition-duration: var(--dur-fast); transition-timing-function: var(--curve); }
.ab-ui.benzan-integrated .form-page .creative-preferences[aria-label="1 · 怎么写"] .bz-seg__opt[aria-pressed="true"] { background: var(--seg-on); color: var(--seg-on-ink); }
.ab-ui.benzan-integrated .form-page .creative-preferences[aria-label="1 · 怎么写"] .bz-seg__opt:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.ab-ui.benzan-integrated .note-history-page :is(.bz-filter, .empty-note) .bz-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 31px; padding: 0 11px; border: 1px solid var(--btn-ghost-bd); border-radius: var(--r-ctl); background: transparent; color: var(--ink); font-family: inherit; font-size: 11.5px; font-weight: 600; white-space: nowrap; cursor: pointer; position: relative; overflow: hidden; transition-property: color, background-color, border-color, box-shadow, opacity, scale; transition-duration: var(--dur-fast); transition-timing-function: var(--curve); }
.ab-ui.benzan-integrated .note-history-page :is(.bz-filter, .empty-note) .bz-btn:hover { background: var(--hover-wash); }
.ab-ui.benzan-integrated .note-history-page :is(.bz-filter, .empty-note) .bz-btn:focus-visible { outline: none; border-color: var(--red-line); box-shadow: var(--focus-ring); }
.ab-ui.benzan-integrated .note-history-page :is(.bz-filter, .empty-note) .bz-btn:disabled { color: var(--ink-dis); cursor: not-allowed; background: transparent; }
.ab-ui.benzan-integrated .note-history-page :is(.bz-filter, .empty-note) .bz-btn--sm { height: 27px; font-size: 11px; }
.ab-ui.benzan-integrated .note-history-page .bz-filter { display: flex; flex-wrap: wrap; gap: 6px; }
.ab-ui.benzan-integrated .note-history-page .bz-filter .bz-btn[aria-pressed="true"] { background: var(--seg-on); color: var(--seg-on-ink); border-color: transparent; }
.ab-ui.benzan-integrated .note-history-page .bz-menu { width: 206px; background: var(--popover); border: 1px solid var(--hair); border-radius: var(--r-card); box-shadow: var(--sh-pop); overflow: hidden; padding: 5px 0; }
.ab-ui.benzan-integrated .note-history-page .bz-menu__item { display: flex; align-items: center; gap: 8px; width: 100%; padding: 8px 14px; border: none; background: transparent; cursor: pointer; font-family: inherit; text-align: left; }
.ab-ui.benzan-integrated .note-history-page .bz-menu__item:hover, .ab-ui.benzan-integrated .note-history-page .bz-menu__item.is-hover { background: var(--hover-wash); }
@media (prefers-reduced-motion: reduce) { .ab-ui.benzan-integrated .form-page .creative-preferences[aria-label="1 · 怎么写"] .bz-seg__opt, .ab-ui.benzan-integrated .note-history-page :is(.bz-filter, .empty-note) .bz-btn { transition-duration: 0.01s !important; } }
