/* Brand Voice uses the quiet cyan/lavender palette of the refined workspaces. */
html body.app-mode #brand-voice-panel {
  --brand-paper: #faf6ee;
  --brand-surface: #fffdf8;
  --brand-ink: #292632;
  --brand-muted: #57515f;
  --brand-cyan: #d7ecef;
  --brand-violet: #e4dff0;
  --brand-line: #aaa4ad;
}
html[data-polxy-theme="calm-monochrome"] body.app-mode #brand-voice-panel {
  --brand-cyan: #ecebea;
  --brand-violet: #e8e6e3;
}
html body.app-mode[data-active-view="brand"] #brand-voice-panel#brand-voice-panel#brand-voice-panel {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 20px !important;
  padding: 20px 20px 132px !important;
  color: var(--brand-ink) !important;
  background: var(--brand-paper) !important;
  border: 1px solid var(--brand-line) !important;
  box-shadow: none !important;
}
html body.app-mode #brand-voice-panel#brand-voice-panel#brand-voice-panel :is(header, section, aside, article, details, summary, input, select, textarea, button, fieldset) {
  min-width: 0;
  box-shadow: none !important;
  border-width: 1px !important;
  color: var(--brand-ink) !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  background: var(--brand-surface) !important;
}
html body.app-mode #brand-voice-panel#brand-voice-panel#brand-voice-panel > * {
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
}
html body.app-mode #brand-voice-panel#brand-voice-panel#brand-voice-panel #brand-legacy-header {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 320px) !important;
  padding: 0 !important;
  border: 1px solid var(--brand-line) !important;
  border-radius: 14px !important;
  overflow: hidden;
}
html body.app-mode #brand-voice-panel#brand-voice-panel#brand-voice-panel #brand-legacy-header > div {
  padding: 24px !important;
  background: var(--brand-cyan) !important;
}
html body.app-mode #brand-voice-panel#brand-voice-panel#brand-voice-panel #brand-legacy-header > aside {
  padding: 20px !important;
  min-height: 0 !important;
  background: var(--brand-violet) !important;
  border: 0 !important;
  border-left: 1px solid var(--brand-line) !important;
  display: grid !important;
  align-content: start !important;
  gap: 8px !important;
}
html body.app-mode #brand-voice-panel#brand-voice-panel#brand-voice-panel h2 {
  font-size: 30px !important;
  line-height: 1.2 !important;
  letter-spacing: -.025em !important;
  margin: 0 0 8px !important;
}
html body.app-mode #brand-voice-panel#brand-voice-panel#brand-voice-panel :is(h3, h4) {
  font-size: 20px !important;
  line-height: 1.3 !important;
  letter-spacing: -.015em !important;
}
html body.app-mode #brand-voice-panel#brand-voice-panel#brand-voice-panel :is(p, small) {
  color: var(--brand-muted) !important;
  -webkit-text-fill-color: currentColor !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
}
html body.app-mode #brand-voice-panel#brand-voice-panel#brand-voice-panel :is(p, textarea, .brand-language-rule strong) {
  overflow-wrap: anywhere;
}
html body.app-mode #brand-voice-panel#brand-voice-panel#brand-voice-panel #brand-project-status-legacy {
  background: transparent !important;
  padding: 0 !important;
  border: 0 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
}
html body.app-mode #brand-voice-panel#brand-voice-panel#brand-voice-panel :is(.brand-phase-disclosure, #brand-brain-overview-legacy, #brand-language-workspace) {
  display: block !important;
  padding: 0 !important;
  border: 1px solid var(--brand-line) !important;
  border-radius: 12px !important;
  overflow: hidden;
}
html body.app-mode #brand-voice-panel#brand-voice-panel#brand-voice-panel summary {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center !important;
  gap: 8px 16px !important;
  min-height: 56px !important;
  padding: 16px 20px !important;
  cursor: pointer;
  background: var(--brand-violet) !important;
  border: 0 !important;
}
html body.app-mode #brand-voice-panel#brand-voice-panel#brand-voice-panel summary strong {
  font-size: 18px !important;
  line-height: 1.4 !important;
  color: var(--brand-ink) !important;
}
html body.app-mode #brand-voice-panel#brand-voice-panel#brand-voice-panel summary small { flex: 1; }
html body.app-mode #brand-voice-panel#brand-voice-panel#brand-voice-panel .brand-foundation-layout {
  display: block !important;
  padding: 20px !important;
}
html body.app-mode #brand-voice-panel#brand-voice-panel#brand-voice-panel #brand-form {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  grid-template-areas: none !important;
  gap: 20px !important;
  padding: 0 !important;
  border: 0 !important;
}
html body.app-mode #brand-voice-panel#brand-voice-panel#brand-voice-panel #brand-form > label { grid-area: auto !important; }
html body.app-mode #brand-voice-panel#brand-voice-panel#brand-voice-panel #brand-form label:nth-child(3),
html body.app-mode #brand-voice-panel#brand-voice-panel#brand-voice-panel .brand-form-actions { grid-column: 1 / -1 !important; }
html body.app-mode #brand-voice-panel#brand-voice-panel#brand-voice-panel label {
  display: grid;
  gap: 8px !important;
  min-width: 0;
  background: transparent !important;
}
html body.app-mode #brand-voice-panel#brand-voice-panel#brand-voice-panel :is(input, select, textarea) {
  min-height: 44px !important;
  width: 100%;
  padding: 10px 12px !important;
  border: 1px solid var(--brand-line) !important;
  border-radius: 8px !important;
  font-size: 14px !important;
}
html body.app-mode #brand-voice-panel#brand-voice-panel#brand-voice-panel textarea {
  min-height: 105px !important;
  resize: vertical;
  font-weight: 400 !important;
  line-height: 1.5 !important;
}
html body.app-mode #brand-voice-panel#brand-voice-panel#brand-voice-panel button {
  min-height: 44px !important;
  padding: 10px 16px !important;
  background: var(--brand-cyan) !important;
  border: 1px solid var(--brand-line) !important;
  border-radius: 8px !important;
  font-size: 13px !important;
}
html body.app-mode #brand-voice-panel#brand-voice-panel#brand-voice-panel :is(#brand-review-save, #brand-language-review) {
  background: var(--brand-violet) !important;
}
html body.app-mode #brand-voice-panel#brand-voice-panel#brand-voice-panel button:disabled { opacity: .55; cursor: not-allowed; }
html body.app-mode #brand-voice-panel#brand-voice-panel#brand-voice-panel button:hover:not(:disabled) { filter: brightness(.96); }
html body.app-mode #brand-voice-panel#brand-voice-panel#brand-voice-panel :is(button, input, select, textarea, summary, a):focus-visible {
  outline: 3px solid #62528b !important;
  outline-offset: 3px;
}
html body.app-mode #brand-voice-panel#brand-voice-panel#brand-voice-panel ::placeholder { color: var(--brand-muted); opacity: 1; }
html body.app-mode #brand-voice-panel#brand-voice-panel#brand-voice-panel #brand-output { margin: 0 !important; padding: 0 20px 20px !important; }
html body.app-mode #brand-voice-panel#brand-voice-panel#brand-voice-panel #brand-language-workspace > header {
  padding: 20px !important;
  display: flex !important;
  gap: 20px !important;
  border: 0 !important;
}
html body.app-mode #brand-voice-panel#brand-voice-panel#brand-voice-panel #brand-language-workspace h4 { margin: 0 0 6px !important; }
html body.app-mode #brand-voice-panel#brand-voice-panel#brand-voice-panel .brand-add-rule { border: 0 !important; }
html body.app-mode #brand-voice-panel#brand-voice-panel#brand-voice-panel .brand-add-rule > summary { background: var(--brand-cyan) !important; }
html body.app-mode #brand-voice-panel#brand-voice-panel#brand-voice-panel #brand-language-form {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px !important;
  padding: 20px !important;
}
html body.app-mode #brand-voice-panel#brand-voice-panel#brand-voice-panel #brand-language-form > * { grid-column: auto !important; }
html body.app-mode #brand-voice-panel#brand-voice-panel#brand-voice-panel #brand-language-form button { align-self: end; }
html body.app-mode #brand-voice-panel#brand-voice-panel#brand-voice-panel :is(#brand-language-list, #brand-language-status) { margin: 0 !important; padding: 12px 20px !important; }
html body.app-mode #brand-voice-panel#brand-voice-panel#brand-voice-panel :is(.brand-language-rule, .brand-language-empty, .brand-conflict-empty) {
  display: block !important;
  padding: 12px 0 !important;
  min-height: 0 !important;
  border: 0 !important;
  background: transparent !important;
}
html body.app-mode #brand-voice-panel#brand-voice-panel#brand-voice-panel .brand-language-rule + .brand-language-rule { border-top: 1px solid var(--brand-line) !important; }
html body.app-mode #brand-voice-panel#brand-voice-panel#brand-voice-panel .brand-language-rule b { display: none !important; }
html body.app-mode #brand-voice-panel#brand-voice-panel#brand-voice-panel #brand-brain-overview-legacy > :not(summary) { margin: 16px 20px !important; }
html body.app-mode #brand-voice-panel#brand-voice-panel#brand-voice-panel #brand-brain-status-grid-legacy {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 12px !important;
}
html body.app-mode #brand-voice-panel#brand-voice-panel#brand-voice-panel #brand-brain-status-grid-legacy article {
  padding: 0 !important;
  min-height: 0 !important;
  border: 0 !important;
}
html body.app-mode #brand-voice-panel#brand-voice-panel#brand-voice-panel #brand-brain-status-grid-legacy article::before,
html body.app-mode #brand-voice-panel#brand-voice-panel#brand-voice-panel #brand-brain-status-grid-legacy article::after { display: none !important; }
html body.app-mode #brand-voice-panel#brand-voice-panel#brand-voice-panel #brand-brain-status-grid-legacy strong { font-size: 22px !important; }
html body.app-mode #brand-voice-panel#brand-voice-panel#brand-voice-panel #brand-brain-next-question-legacy { padding: 16px !important; background: var(--brand-cyan) !important; }
html body.app-mode #brand-voice-panel#brand-voice-panel#brand-voice-panel #brand-conflict-workspace { padding: 0 !important; border: 0 !important; }
html body.app-mode #brand-voice-panel#brand-voice-panel#brand-voice-panel .brand-usage-copy { padding: 8px 20px 20px; max-width: 80ch; }
html body.app-mode #brand-voice-panel#brand-voice-panel#brand-voice-panel a { color: #4b3b79; text-decoration: underline; text-underline-offset: 3px; }
html body.app-mode :is(#brand-save-dialog, #brand-conflict-dialog, #brand-preference-dialog) {
  height: fit-content !important;
  min-height: 0 !important;
  max-height: calc(100dvh - 32px) !important;
  width: min(760px, calc(100vw - 32px)) !important;
  padding: 0 !important;
  overflow: auto !important;
  background: #faf6ee !important;
  color: #292632 !important;
  border: 1px solid #aaa4ad !important;
  border-radius: 14px !important;
  box-shadow: 0 6px 24px #29263224 !important;
}
html body.app-mode :is(#brand-save-dialog, #brand-conflict-dialog, #brand-preference-dialog) :is(article, section, button, fieldset) { border-width: 1px !important; box-shadow: none !important; }
html body.app-mode :is(#brand-save-dialog, #brand-conflict-dialog, #brand-preference-dialog) :is([class$="-header"], [class$="-buttons"], [class$="-metrics"], [class$="-proof"]) { background: #e4dff0 !important; padding: 18px 20px !important; }
html body.app-mode :is(#brand-save-dialog, #brand-conflict-dialog, #brand-preference-dialog) h3 { font-size: 23px !important; line-height: 1.3 !important; }
html body.app-mode :is(#brand-save-dialog, #brand-conflict-dialog, #brand-preference-dialog) button { min-height: 44px; background: #d7ecef !important; color: #292632 !important; border-radius: 8px !important; }
html body.app-mode #brand-save-dialog .brand-save-metrics { grid-template-columns: repeat(2, minmax(0,1fr)) !important; }
html body.app-mode #brand-save-dialog .brand-save-metrics strong { font-size: 17px !important; }
html body.app-mode #brand-save-dialog .brand-exact-change { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; background: #fffdf8; padding: 16px; }
html body.app-mode #brand-save-dialog .brand-exact-change h4 { grid-column: 1 / -1; margin: 0; font-size: 16px; }
html body.app-mode #brand-save-dialog .brand-exact-change p { margin: 6px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; font-weight: 400; }
html body.app-mode #brand-save-dialog .brand-exact-change span { font-size: 12px; color: #57515f; }
html body.app-mode #brand-save-dialog .brand-save-results { padding: 20px; }
html body.app-mode #brand-save-dialog .brand-save-boundary { padding: 0 20px 16px; font-size: 13px; }
html body.app-mode #settings-reply-preferences {
  margin: 20px 0;
  border: 1px solid #aaa4ad;
  border-radius: 12px;
  background: #faf6ee;
  overflow: hidden;
}
html body.app-mode #settings-reply-preferences > summary { padding: 18px 20px; background: #e4dff0; cursor: pointer; font-size: 18px; font-weight: 650; }
html body.app-mode #settings-reply-preferences > summary small { margin-left: 12px; font-size: 13px; font-weight: 400; }
html body.app-mode #settings-reply-preferences #polxy-communication-panel { margin: 0; padding: 20px; background: #faf6ee; border: 0; box-shadow: none; }
html body.app-mode #settings-reply-preferences :is(header, fieldset, section, label, button) { background: #fffdf8 !important; color: #292632 !important; border-width: 1px !important; box-shadow: none !important; }
html body.app-mode #settings-reply-preferences :is(aside, .eyebrow) { display: none; }
html body.app-mode #settings-reply-preferences h3 { font-size: 22px; }
html body.app-mode #settings-reply-preferences #polxy-communication-save { background: #d7ecef !important; }
@media (max-width: 760px) {
  html body.app-mode[data-active-view="brand"] #brand-voice-panel#brand-voice-panel#brand-voice-panel { padding: 12px 12px 150px !important; gap: 16px !important; }
  html body.app-mode #brand-voice-panel#brand-voice-panel#brand-voice-panel #brand-legacy-header,
  html body.app-mode #brand-voice-panel#brand-voice-panel#brand-voice-panel #brand-form,
  html body.app-mode #brand-voice-panel#brand-voice-panel#brand-voice-panel #brand-language-form { grid-template-columns: 1fr !important; }
  html body.app-mode #brand-voice-panel#brand-voice-panel#brand-voice-panel #brand-legacy-header > aside { border-left: 0 !important; border-top: 1px solid var(--brand-line) !important; }
  html body.app-mode #brand-voice-panel#brand-voice-panel#brand-voice-panel h2 { font-size: 27px !important; }
  html body.app-mode #brand-voice-panel#brand-voice-panel#brand-voice-panel #brand-brain-status-grid-legacy { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
  html body.app-mode #brand-voice-panel#brand-voice-panel#brand-voice-panel summary small { flex-basis: 100%; }
  html body.app-mode #brand-save-dialog .brand-exact-change { grid-template-columns: 1fr; }
  html body.app-mode #settings-reply-preferences .polxy-communication-choices { grid-template-columns: 1fr !important; }
}
/* Remove old header depth, status stripes and inherited form placement. */
html body.app-mode #brand-voice-panel#brand-voice-panel#brand-voice-panel #brand-legacy-header {
  min-height: 0 !important;
  height: auto !important;
  max-height: none !important;
  box-shadow: none !important;
  background: var(--brand-cyan) !important;
}
html body.app-mode #brand-voice-panel#brand-voice-panel#brand-voice-panel #brand-output {
  background: var(--brand-surface) !important;
  border: 0 !important;
  min-height: 0 !important;
  font-weight: 400 !important;
}
html body.app-mode #brand-voice-panel#brand-voice-panel#brand-voice-panel #brand-output::before { display: none !important; }
html body.app-mode #brand-voice-panel#brand-voice-panel#brand-voice-panel #brand-language-form { grid-template-areas: none !important; }
html body.app-mode #brand-voice-panel#brand-voice-panel#brand-voice-panel #brand-language-form > * { grid-area: auto !important; }
html body.app-mode #brand-voice-panel#brand-voice-panel#brand-voice-panel summary::before { content: none !important; }
html body.app-mode #brand-voice-panel#brand-voice-panel#brand-voice-panel summary::after {
  content: "" !important;
  display: block !important;
  position: static !important;
  flex: 0 0 7px !important;
  width: 7px !important;
  height: 7px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin-left: auto !important;
  border: 0 !important;
  border-right: 2px solid var(--brand-ink) !important;
  border-bottom: 2px solid var(--brand-ink) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: rotate(45deg) !important;
}
html body.app-mode #brand-voice-panel#brand-voice-panel#brand-voice-panel details[open] > summary::after { transform: rotate(225deg) !important; }
html body.app-mode #brand-voice-panel#brand-voice-panel#brand-voice-panel #brand-language-workspace h3 { margin: 0 0 6px !important; }
html body.app-mode #brand-preference-dialog .brand-preference-expiry { padding: 0 20px; }

/* Keep inherited guidance visible beside the draft it explains. */
html body.app-mode #brand-voice-panel#brand-voice-panel#brand-voice-panel#brand-voice-panel#brand-voice-panel#brand-voice-panel .brand-field-source {
  display: block !important;
  margin-top: 4px !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
  color: var(--brand-muted) !important;
  font-weight: 400 !important;
}
html body.app-mode #brand-save-dialog .brand-save-status:empty { display: none !important; }
html body.app-mode #brand-save-dialog .brand-save-status:not(:empty) {
  margin: 16px 20px !important;
  padding: 12px !important;
  color: #752b35 !important;
  background: #fff0ed !important;
  border: 1px solid #c69b9f !important;
  border-radius: 8px !important;
}
html body.app-mode #brand-save-dialog .brand-exact-change small {
  display: block;
  margin-top: 8px;
  color: #57515f;
  font-size: 12px;
  font-weight: 400;
}
@media (max-width: 760px) {
  html body.app-mode #brand-voice-panel#brand-voice-panel#brand-voice-panel#brand-voice-panel#brand-voice-panel#brand-voice-panel :is(input, select, textarea) {
    font-size: 16px !important;
    min-height: 44px !important;
  }
  html body.app-mode #brand-voice-panel#brand-voice-panel#brand-voice-panel#brand-voice-panel#brand-voice-panel#brand-voice-panel #brand-form {
    padding: 16px !important;
  }
  html body.app-mode #brand-save-dialog .brand-exact-change {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* Confirmation surfaces share the editor palette and readable change rows. */
html body.app-mode :is(#brand-save-dialog#brand-save-dialog#brand-save-dialog#brand-save-dialog#brand-save-dialog#brand-save-dialog, #brand-conflict-dialog#brand-conflict-dialog#brand-conflict-dialog#brand-conflict-dialog#brand-conflict-dialog#brand-conflict-dialog, #brand-preference-dialog#brand-preference-dialog#brand-preference-dialog#brand-preference-dialog#brand-preference-dialog#brand-preference-dialog) { color: #292632 !important; background: #fffdf8 !important; border: 1px solid #aaa4ad !important; border-radius: 14px !important; box-shadow: none !important; }
html body.app-mode :is(#brand-save-dialog#brand-save-dialog#brand-save-dialog#brand-save-dialog#brand-save-dialog#brand-save-dialog, #brand-conflict-dialog#brand-conflict-dialog#brand-conflict-dialog#brand-conflict-dialog#brand-conflict-dialog#brand-conflict-dialog, #brand-preference-dialog#brand-preference-dialog#brand-preference-dialog#brand-preference-dialog#brand-preference-dialog#brand-preference-dialog) :is(article, header, section, aside, div, button, p) { min-width: 0; box-shadow: none !important; text-transform: none !important; letter-spacing: normal !important; }
html body.app-mode :is(#brand-save-dialog#brand-save-dialog#brand-save-dialog#brand-save-dialog#brand-save-dialog#brand-save-dialog, #brand-conflict-dialog#brand-conflict-dialog#brand-conflict-dialog#brand-conflict-dialog#brand-conflict-dialog#brand-conflict-dialog, #brand-preference-dialog#brand-preference-dialog#brand-preference-dialog#brand-preference-dialog#brand-preference-dialog#brand-preference-dialog) :is(.brand-save-dialog-header, .brand-conflict-dialog-header, .brand-preference-dialog-header) { padding: 18px 20px !important; gap: 16px !important; background: #e4dff0 !important; border: 0 !important; border-bottom: 1px solid #d4cddd !important; }
html body.app-mode :is(#brand-save-dialog#brand-save-dialog#brand-save-dialog#brand-save-dialog#brand-save-dialog#brand-save-dialog, #brand-conflict-dialog#brand-conflict-dialog#brand-conflict-dialog#brand-conflict-dialog#brand-conflict-dialog#brand-conflict-dialog, #brand-preference-dialog#brand-preference-dialog#brand-preference-dialog#brand-preference-dialog#brand-preference-dialog#brand-preference-dialog) :is(h3, h4) { margin: 0 !important; color: #292632 !important; line-height: 1.3 !important; font-weight: 650 !important; }
html body.app-mode :is(#brand-save-dialog#brand-save-dialog#brand-save-dialog#brand-save-dialog#brand-save-dialog#brand-save-dialog, #brand-conflict-dialog#brand-conflict-dialog#brand-conflict-dialog#brand-conflict-dialog#brand-conflict-dialog#brand-conflict-dialog, #brand-preference-dialog#brand-preference-dialog#brand-preference-dialog#brand-preference-dialog#brand-preference-dialog#brand-preference-dialog) h3 { font-size: 22px !important; }
html body.app-mode :is(#brand-save-dialog#brand-save-dialog#brand-save-dialog#brand-save-dialog#brand-save-dialog#brand-save-dialog, #brand-conflict-dialog#brand-conflict-dialog#brand-conflict-dialog#brand-conflict-dialog#brand-conflict-dialog#brand-conflict-dialog, #brand-preference-dialog#brand-preference-dialog#brand-preference-dialog#brand-preference-dialog#brand-preference-dialog#brand-preference-dialog) :is(p, small) { color: #57515f !important; -webkit-text-fill-color: currentColor !important; line-height: 1.5 !important; overflow-wrap: anywhere; }
html body.app-mode :is(#brand-save-dialog#brand-save-dialog#brand-save-dialog#brand-save-dialog#brand-save-dialog#brand-save-dialog, #brand-conflict-dialog#brand-conflict-dialog#brand-conflict-dialog#brand-conflict-dialog#brand-conflict-dialog#brand-conflict-dialog, #brand-preference-dialog#brand-preference-dialog#brand-preference-dialog#brand-preference-dialog#brand-preference-dialog#brand-preference-dialog) .brand-save-metrics { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; padding: 16px 20px !important; gap: 16px !important; border: 0 !important; background: transparent !important; }
html body.app-mode :is(#brand-save-dialog#brand-save-dialog#brand-save-dialog#brand-save-dialog#brand-save-dialog#brand-save-dialog, #brand-conflict-dialog#brand-conflict-dialog#brand-conflict-dialog#brand-conflict-dialog#brand-conflict-dialog#brand-conflict-dialog, #brand-preference-dialog#brand-preference-dialog#brand-preference-dialog#brand-preference-dialog#brand-preference-dialog#brand-preference-dialog) .brand-save-metrics article { padding: 0 !important; border: 0 !important; background: transparent !important; }
html body.app-mode :is(#brand-save-dialog#brand-save-dialog#brand-save-dialog#brand-save-dialog#brand-save-dialog#brand-save-dialog, #brand-conflict-dialog#brand-conflict-dialog#brand-conflict-dialog#brand-conflict-dialog#brand-conflict-dialog#brand-conflict-dialog, #brand-preference-dialog#brand-preference-dialog#brand-preference-dialog#brand-preference-dialog#brand-preference-dialog#brand-preference-dialog) .brand-save-metrics strong { font-size: 17px !important; line-height: 1.4 !important; }
html body.app-mode :is(#brand-save-dialog#brand-save-dialog#brand-save-dialog#brand-save-dialog#brand-save-dialog#brand-save-dialog, #brand-conflict-dialog#brand-conflict-dialog#brand-conflict-dialog#brand-conflict-dialog#brand-conflict-dialog#brand-conflict-dialog, #brand-preference-dialog#brand-preference-dialog#brand-preference-dialog#brand-preference-dialog#brand-preference-dialog#brand-preference-dialog) .brand-save-results { padding: 0 20px !important; background: transparent !important; border: 0 !important; }
html body.app-mode :is(#brand-save-dialog#brand-save-dialog#brand-save-dialog#brand-save-dialog#brand-save-dialog#brand-save-dialog, #brand-conflict-dialog#brand-conflict-dialog#brand-conflict-dialog#brand-conflict-dialog#brand-conflict-dialog#brand-conflict-dialog, #brand-preference-dialog#brand-preference-dialog#brand-preference-dialog#brand-preference-dialog#brand-preference-dialog#brand-preference-dialog) .brand-exact-change { border: 1px solid #d4cddd !important; border-radius: 10px !important; background: #fffdf8 !important; padding: 16px !important; gap: 12px !important; }
html body.app-mode :is(#brand-save-dialog#brand-save-dialog#brand-save-dialog#brand-save-dialog#brand-save-dialog#brand-save-dialog, #brand-conflict-dialog#brand-conflict-dialog#brand-conflict-dialog#brand-conflict-dialog#brand-conflict-dialog#brand-conflict-dialog, #brand-preference-dialog#brand-preference-dialog#brand-preference-dialog#brand-preference-dialog#brand-preference-dialog#brand-preference-dialog) :is(.brand-save-boundary, .brand-conflict-boundary, .brand-preference-boundary) { margin: 16px 20px !important; padding: 12px !important; border: 0 !important; border-radius: 8px !important; background: #d7ecef !important; color: #292632 !important; font-size: 13px !important; font-weight: 400 !important; }
html body.app-mode :is(#brand-save-dialog#brand-save-dialog#brand-save-dialog#brand-save-dialog#brand-save-dialog#brand-save-dialog, #brand-conflict-dialog#brand-conflict-dialog#brand-conflict-dialog#brand-conflict-dialog#brand-conflict-dialog#brand-conflict-dialog, #brand-preference-dialog#brand-preference-dialog#brand-preference-dialog#brand-preference-dialog#brand-preference-dialog#brand-preference-dialog) :is(.brand-save-dialog-buttons, .brand-conflict-dialog-buttons, .brand-preference-dialog-buttons) { padding: 16px 20px !important; background: #faf6ee !important; border: 0 !important; border-top: 1px solid #d4cddd !important; gap: 12px !important; }
html body.app-mode :is(#brand-save-dialog#brand-save-dialog#brand-save-dialog#brand-save-dialog#brand-save-dialog#brand-save-dialog, #brand-conflict-dialog#brand-conflict-dialog#brand-conflict-dialog#brand-conflict-dialog#brand-conflict-dialog#brand-conflict-dialog, #brand-preference-dialog#brand-preference-dialog#brand-preference-dialog#brand-preference-dialog#brand-preference-dialog#brand-preference-dialog) button { min-height: 44px !important; padding: 10px 16px !important; border: 1px solid #aaa4ad !important; border-radius: 8px !important; background: #fffdf8 !important; color: #292632 !important; font-size: 14px !important; font-weight: 600 !important; }
html body.app-mode :is(#brand-save-dialog#brand-save-dialog#brand-save-dialog#brand-save-dialog#brand-save-dialog#brand-save-dialog, #brand-conflict-dialog#brand-conflict-dialog#brand-conflict-dialog#brand-conflict-dialog#brand-conflict-dialog#brand-conflict-dialog, #brand-preference-dialog#brand-preference-dialog#brand-preference-dialog#brand-preference-dialog#brand-preference-dialog#brand-preference-dialog) :is(#brand-save-confirm, #brand-conflict-confirm, #brand-preference-confirm) { background: #e4dff0 !important; }
html body.app-mode :is(#brand-save-dialog#brand-save-dialog#brand-save-dialog#brand-save-dialog#brand-save-dialog#brand-save-dialog, #brand-conflict-dialog#brand-conflict-dialog#brand-conflict-dialog#brand-conflict-dialog#brand-conflict-dialog#brand-conflict-dialog, #brand-preference-dialog#brand-preference-dialog#brand-preference-dialog#brand-preference-dialog#brand-preference-dialog#brand-preference-dialog) button:disabled { opacity: .55; cursor: not-allowed; }
html body.app-mode :is(#brand-save-dialog#brand-save-dialog#brand-save-dialog#brand-save-dialog#brand-save-dialog#brand-save-dialog, #brand-conflict-dialog#brand-conflict-dialog#brand-conflict-dialog#brand-conflict-dialog#brand-conflict-dialog#brand-conflict-dialog, #brand-preference-dialog#brand-preference-dialog#brand-preference-dialog#brand-preference-dialog#brand-preference-dialog#brand-preference-dialog) :is(button, input, select):focus-visible { outline: 3px solid #62528b !important; outline-offset: 3px !important; }
