/* Shared identity: supplied AzitChat artwork, consistent across every surface. */
.azit-brand { display:inline-flex; align-items:center; justify-content:flex-start; gap:9px; color:inherit; text-decoration:none; white-space:nowrap; line-height:1.2; }
.azit-brand .azit-brand-icon { display:block; width:38px; height:38px; max-width:none; object-fit:contain; flex-shrink:0; vertical-align:middle; }
.azit-brand .azit-name { display:inline; margin:0; padding:0; border:0; border-radius:0; background:none; box-shadow:none; color:inherit; font-size:21px; font-weight:750; letter-spacing:-.8px; line-height:1.2; }
.policy-brand.azit-brand { display:flex; justify-content:flex-start; gap:10px; }
.policy-brand.azit-brand .azit-brand-icon { width:40px; height:40px; }
.policy-brand.azit-brand .azit-name { font-size:23px; }
.brand-header .azit-brand .azit-name, .brand-footer .azit-brand .azit-name { font-size:20px; letter-spacing:-.7px; }
.login .azit-brand { display:flex; justify-content:center; color:#302b23; margin-bottom:8px; }
.side .azit-brand .azit-name { font-size:20px; }
.top .azit-brand { color:#302b23; }
@media(max-width:520px) { .azit-brand { gap:6px; } .azit-brand .azit-brand-icon { width:32px; height:32px; } .azit-brand .azit-name { font-size:19px; } }
.policy-brand.azit-brand, #viewChatList > header .azit-brand { color:#fbf7f2; }

/* The same size selected in the chat applies to prices, order summaries,
   verification, support and customer notices, including fixed-pixel labels. */
html[data-reader-page][data-wb-font=large] { --reader-body:19px; --reader-label:17px; }
html[data-reader-page][data-wb-font=xlarge] { --reader-body:22px; --reader-label:20px; }
html[data-reader-page]:is([data-wb-font=large],[data-wb-font=xlarge]) body
  :is(p,li,dt,dd,label,button,select,textarea,input:not([type=checkbox])) {
  font-size:var(--reader-body); line-height:1.55; overflow-wrap:anywhere;
}
html[data-reader-page]:is([data-wb-font=large],[data-wb-font=xlarge]) body
  :is(nav a,summary,small,.muted,.status,.notice,.error,footer,.action,.price small) {
  font-size:var(--reader-label); line-height:1.5; overflow-wrap:anywhere;
}
html[data-reader-page]:is([data-wb-font=large],[data-wb-font=xlarge]) body
  :is(input:not([type=checkbox]),select,textarea,button) { max-width:100%; min-width:0; }
html[data-reader-page]:is([data-wb-font=large],[data-wb-font=xlarge]) .hero .eyebrow {
  white-space:normal;
}

/* Keep both choices in view while longer disclosures scroll at their own pace. */
.legal-dialog {
  box-sizing:border-box; position:fixed; inset:0; margin:auto; padding:0;
  width:min(400px,calc(100% - 24px)); max-width:none;
  max-height:calc(100vh - 24px); max-height:calc(100dvh - 24px); overflow:hidden;
  border:1px solid #d9cbbb; border-radius:20px; background:#fff9ef; color:#1c1917;
  font:normal 16px/1.55 -apple-system,BlinkMacSystemFont,sans-serif;
  box-shadow:0 20px 50px rgb(0 0 0 / 22%);
}
.legal-dialog[open] { display:flex; flex-direction:column; }
.legal-dialog::backdrop { background:rgb(0 0 0 / 60%); }
html[data-wb-font=large] .legal-dialog { font-size:19px; }
html[data-wb-font=xlarge] .legal-dialog { font-size:22px; }
.legal-content {
  min-height:0; padding:20px 18px 12px; overflow:auto; overscroll-behavior:contain;
  overflow-wrap:anywhere; scroll-padding:12px; text-align:start;
}
.legal-content h2 { margin:0 0 8px; font-size:1.25em; line-height:1.35; font-weight:700; }
.legal-content p { margin:0 0 12px; }
.legal-content [data-heart-price] { font-weight:700; }
.legal-content ul { margin:0; padding:12px 14px 12px 30px; background:#f2e8da; border-radius:12px; list-style:disc; }
.legal-content li + li { margin-top:8px; }
.legal-content a { color:#65451d; text-decoration:underline; text-underline-offset:2px; }
.legal-actions {
  flex:none; display:grid; gap:4px; margin:0; padding:10px 16px max(8px,env(safe-area-inset-bottom));
  border-top:1px solid #d9cbbb; background:#fff9ef;
}
.legal-actions [data-error] { margin:0; max-height:3.6em; overflow:auto; color:#9d2017; text-align:center; }
.legal-actions [data-error]:empty { display:none; }
.legal-actions button { width:100%; border:0; border-radius:12px; font:inherit; cursor:pointer; }
.legal-actions button[type=submit] { min-height:54px; background:#c48726; color:#20180f; font-weight:700; }
.legal-actions button[data-close] { min-height:46px; background:transparent; color:#554638; }
.legal-dialog :is(a,button):focus-visible { outline:3px solid #74500e; outline-offset:2px; }
.legal-content:focus-visible { outline:2px solid #74500e; outline-offset:-3px; }
