/* Scope the two informational callouts to the protocol account's own notice. */
:is(.notice-content.muse-protocol-notice > blockquote, .notice-content.claude-purchase-notice > blockquote:where(:first-child)) {
  margin: 18px 0;
  padding: 15px;
  border: 1px solid #efb4ad;
  border-radius: 12px;
  background: #fff4f2;
  color: #a9231d;
  font-size: 12px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
:is(.notice-content.muse-protocol-notice > blockquote, .notice-content.claude-purchase-notice > blockquote:where(:first-child)) :is(p, li, h3, strong, a) { color: inherit; }
:is(.notice-content.muse-protocol-notice > blockquote, .notice-content.claude-purchase-notice > blockquote:where(:first-child)) h3 {
  margin: 0 0 8px;
  padding: 0;
  border: 0;
  font-size: 13px;
  line-height: 1.6;
}
:is(.notice-content.muse-protocol-notice > blockquote, .notice-content.claude-purchase-notice > blockquote:where(:first-child)) p { margin: 6px 0; }
:is(.notice-content.muse-protocol-notice > blockquote, .notice-content.claude-purchase-notice > blockquote:where(:first-child)) > :first-child { margin-top: 0; }
:is(.notice-content.muse-protocol-notice > blockquote, .notice-content.claude-purchase-notice > blockquote:where(:first-child)) > :last-child { margin-bottom: 0; }
:is(.notice-content.muse-protocol-notice > blockquote, .notice-content.claude-purchase-notice > blockquote:where(:first-child)) :is(ul, ol) { margin: 8px 0 0; padding-left: 1.4em; }
:is(.notice-content.muse-protocol-notice > blockquote, .notice-content.claude-purchase-notice > blockquote:where(:first-child)) li { margin: 6px 0; }
:is(.notice-content.muse-protocol-notice > blockquote, .notice-content.claude-purchase-notice > blockquote:where(:first-child)) a { text-decoration: underline; text-underline-offset: 2px; }
:is(.notice-content.muse-protocol-notice > blockquote, .notice-content.claude-purchase-notice > blockquote:where(:first-child)) a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
body.dark :is(.notice-content.muse-protocol-notice > blockquote, .notice-content.claude-purchase-notice > blockquote:where(:first-child)) {
  background: #3b2626;
  border-color: #a56d67;
  color: #ffc3b9;
}

#claude-manual-delivery-note { max-width: 40rem; color: var(--ink); }

.notice-content.claude-purchase-notice > .claude-notice-card {
  margin: 12px 0;
  padding: 13px 14px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.claude-notice-card--delivery,
.claude-notice-card--warranty {
  border: 1px solid var(--claude-notice-border);
  background: var(--claude-notice-background);
  color: var(--claude-notice-text);
}

.claude-notice-card--delivery {
  --claude-notice-border: #bed4eb;
  --claude-notice-background: #f1f7ff;
  --claude-notice-text: #334c66;
  --claude-notice-heading: #214f7b;
}

.claude-notice-card--warranty {
  --claude-notice-border: #dea662;
  --claude-notice-background: #fff3df;
  --claude-notice-text: #543624;
  --claude-notice-heading: #863a15;
}

body.dark .claude-notice-card--delivery {
  --claude-notice-border: #486585;
  --claude-notice-background: #202f40;
  --claude-notice-text: #cfdfef;
  --claude-notice-heading: #b6dcff;
}

body.dark .claude-notice-card--warranty {
  --claude-notice-border: #9f6e3a;
  --claude-notice-background: #382b21;
  --claude-notice-text: #f3d8b7;
  --claude-notice-heading: #ffd09d;
}

.notice-content.claude-purchase-notice > .claude-notice-card h3 {
  margin: 0 0 6px;
  padding: 0;
  border: 0;
  color: var(--claude-notice-heading, inherit);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.notice-content.claude-purchase-notice > .claude-notice-card p {
  margin: 0;
  color: inherit;
  font: inherit;
}

.notice-content.claude-purchase-notice > .claude-notice-card > p + p {
  margin-top: 6px;
}

.claude-notice-card--warranty strong {
  color: var(--claude-notice-heading);
}

@media (max-width: 650px) {
  .purchase-notice-dialog:has(#notice-content > .claude-notice-card) {
    padding: 16px;
  }

  .purchase-notice-dialog .notice-content.claude-purchase-notice > .claude-notice-card {
    margin-block: 10px;
  }
}
