/* PW Chat Quotes. All selectors are scoped; no theme typography is changed. */
.pwcq.pwcq {
  --pwcq-bg: #212121;
  --pwcq-raised: #2b2b2b;
  --pwcq-user: #303030;
  --pwcq-line: #424242;
  --pwcq-text: #ececec;
  --pwcq-muted: #b4b4b4;
  --pwcq-link: #b5d7ff;
  box-sizing: border-box;
  color-scheme: dark;
  color: var(--pwcq-text);
  font: 400 16px/1.65 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  text-align: left;
  letter-spacing: normal;
  text-transform: none;
  text-shadow: none;
  -webkit-font-smoothing: antialiased;
}
.pwcq.pwcq *, .pwcq.pwcq *::before, .pwcq.pwcq *::after { box-sizing: border-box; }
.pwcq.pwcq-card { margin: 30px 0; border: 1px solid var(--pwcq-line); border-radius: 18px; background: var(--pwcq-bg); overflow: hidden; box-shadow: 0 14px 36px #0000001f; width: 100%; }
.pwcq.pwcq-card:hover { border-color: #777; }
.pwcq.pwcq .pwcq-summary { display: block; position: relative; padding: 25px 28px 23px; cursor: pointer; list-style: none; border: 0; margin: 0; color: var(--pwcq-text); background: none; transition: background .18s; }
.pwcq.pwcq .pwcq-summary:hover { background: #ffffff03; }
.pwcq.pwcq .pwcq-summary::-webkit-details-marker { display: none; }
.pwcq.pwcq .pwcq-summary::marker { content: ''; }
.pwcq.pwcq .pwcq-summary::before, .pwcq.pwcq .pwcq-summary::after { display: none; }
.pwcq.pwcq .pwcq-summary:focus-visible { outline: 2px solid #ececec; outline-offset: -5px; border-radius: 18px; }
.pwcq.pwcq .pwcq-card-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 25px; }
.pwcq.pwcq .pwcq-brand { display: inline-flex; gap: 12px; align-items: center; font-size: 19px; font-weight: 600; line-height: 1.3; }
.pwcq.pwcq .pwcq-brand > .pwcq-icon { height: 36px; width: 36px; padding: 5px; }
.pwcq.pwcq .pwcq-subtitle { display: block; color: var(--pwcq-muted); font-size: 11px; font-weight: 400; margin-top: 4px; letter-spacing: .025em; }
.pwcq.pwcq .pwcq-icon { display: block; width: 21px; height: 21px; flex-shrink: 0; }
.pwcq.pwcq .pwcq-expand { display: grid; place-items: center; width: 37px; height: 37px; border-radius: 50%; background: #ffffff07; color: #b4b4b4; transition: background .18s, color .18s; }
.pwcq.pwcq .pwcq-summary:hover .pwcq-expand { background: #ffffff12; color: #fff; }
.pwcq.pwcq .pwcq-title { display: block; font-size: 13px; font-weight: 500; color: var(--pwcq-muted); margin-bottom: 10px; }
.pwcq.pwcq .pwcq-excerpt { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; font-size: clamp(17px, 1.7vw, 20px); line-height: 1.6; color: var(--pwcq-text); white-space: pre-line; overflow-wrap: anywhere; }
.pwcq.pwcq .pwcq-card-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 24px; padding-top: 17px; border-top: 1px solid #ffffff12; }
.pwcq.pwcq .pwcq-cta { color: var(--pwcq-text); font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 12px; }
.pwcq.pwcq .pwcq-cta > span { font-size: 19px; font-weight: 400; }
.pwcq.pwcq .pwcq-meta { font-size: 11px; color: var(--pwcq-muted); }
.pwcq.pwcq .pwcq-transcript { padding: 4px 0; min-width: 0; width: 100%; }
.pwcq.pwcq-card > .pwcq-transcript { padding: 16px 28px 26px; border-top: 1px solid var(--pwcq-line); }
.pwcq.pwcq .pwcq-message { display: block; max-width: 100%; margin: 0 0 34px; padding: 0; border: 0; background: transparent; box-shadow: none; min-width: 0; }
.pwcq.pwcq .pwcq-message:last-child { margin-bottom: 0; }
.pwcq.pwcq .pwcq-message[data-pwcq-role="user"] { max-width: 88%; margin-left: auto; }
.pwcq.pwcq .pwcq-speaker { color: var(--pwcq-text); font-size: 13px; line-height: 1.4; font-weight: 600; margin-bottom: 12px; }
.pwcq.pwcq .pwcq-message[data-pwcq-role="user"] > .pwcq-speaker { text-align: right; color: var(--pwcq-muted); }
.pwcq.pwcq .pwcq-message[data-pwcq-role="user"] > .pwcq-markdown { background: var(--pwcq-user); border-radius: 22px; padding: 16px 21px; }
.pwcq.pwcq .pwcq-markdown { font: inherit; color: var(--pwcq-text); min-width: 0; overflow-wrap: anywhere; }
.pwcq.pwcq .pwcq-markdown p { margin: 0 0 17px; padding: 0; color: inherit; font: inherit; }
.pwcq.pwcq .pwcq-markdown > :first-child { margin-top: 0; }
.pwcq.pwcq .pwcq-markdown > :last-child { margin-bottom: 0; }
.pwcq.pwcq .pwcq-markdown :is(h1,h2,h3,h4,h5,h6) { font-family: inherit; font-style: normal; color: var(--pwcq-text); font-weight: 600; line-height: 1.35; text-shadow: none; text-transform: none; letter-spacing: -.015em; padding: 0; margin: 29px 0 14px; border: 0; background: none; }
.pwcq.pwcq .pwcq-markdown :is(h1,h2,h3) { font-size: 23px; }
.pwcq.pwcq .pwcq-markdown h4 { font-size: 21px; }
.pwcq.pwcq .pwcq-markdown :is(h5,h6) { font-size: 18px; }
.pwcq.pwcq .pwcq-markdown :is(h1,h2,h3,h4,h5,h6)::before, .pwcq.pwcq .pwcq-markdown :is(h1,h2,h3,h4,h5,h6)::after { display: none; }
.pwcq.pwcq .pwcq-markdown strong { font-weight: 650; color: inherit; }
.pwcq.pwcq .pwcq-markdown em { font-style: italic; }
.pwcq.pwcq .pwcq-markdown :is(ul,ol) { margin: 0 0 18px; padding: 0 0 0 26px; list-style-position: outside; line-height: inherit; }
.pwcq.pwcq .pwcq-markdown ul { list-style-type: disc; }
.pwcq.pwcq .pwcq-markdown ol { list-style-type: decimal; }
.pwcq.pwcq .pwcq-markdown li { display: list-item; padding: 0 0 0 3px; margin: 5px 0; color: inherit; }
.pwcq.pwcq .pwcq-markdown li > :is(ul,ol) { margin-top: 7px; margin-bottom: 7px; }
.pwcq.pwcq .pwcq-markdown li > p { margin-bottom: 7px; }
.pwcq.pwcq .pwcq-markdown a { color: var(--pwcq-link); text-decoration: underline; text-underline-offset: 3px; border: 0; background: none; text-shadow: none; }
.pwcq.pwcq .pwcq-markdown a:hover { color: #fff; }
.pwcq.pwcq .pwcq-markdown a:focus-visible, .pwcq.pwcq button:focus-visible, .pwcq.pwcq .pwcq-table-wrap:focus-visible, .pwcq.pwcq .pwcq-modal-body:focus-visible { outline: 2px solid #ececec; outline-offset: 4px; }
.pwcq.pwcq .pwcq-markdown blockquote { margin: 20px 0; padding: 2px 0 2px 19px; border: 0; border-left: 3px solid #737373; border-radius: 0; background: none; color: inherit; font: inherit; box-shadow: none; }
.pwcq.pwcq .pwcq-markdown blockquote::before, .pwcq.pwcq .pwcq-markdown blockquote::after { display: none; }
.pwcq.pwcq .pwcq-markdown blockquote > :last-child { margin-bottom: 0; }
.pwcq.pwcq .pwcq-markdown hr { height: 1px; background: var(--pwcq-line); border: 0; margin: 30px 0; }
.pwcq.pwcq .pwcq-markdown code { font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace; font-size: .9em; padding: .15em .35em; border-radius: 4px; background: #373737; color: inherit; text-shadow: none; }
.pwcq.pwcq .pwcq-markdown pre { display: block; max-width: 100%; margin: 20px 0; padding: 17px 20px; border: 1px solid #3b3b3b; border-radius: 12px; background: #171717; overflow-x: auto; white-space: pre; line-height: 1.55; color: inherit; }
.pwcq.pwcq .pwcq-markdown pre > code { font-size: 13px; background: none; padding: 0; border-radius: 0; white-space: pre; }
.pwcq.pwcq .pwcq-markdown pre.pwcq-source { font: inherit; white-space: pre-wrap; overflow-wrap: anywhere; border: 0; border-radius: 0; background: none; margin: 0; padding: 0; }
.pwcq.pwcq .pwcq-table-wrap { overflow-x: auto; max-width: 100%; margin: 20px 0 24px; overscroll-behavior-x: contain; }
.pwcq.pwcq .pwcq-markdown table { width: 100%; border-collapse: collapse; border: 0; background: none; margin: 0; font: inherit; font-size: 14px; table-layout: auto; }
.pwcq.pwcq .pwcq-markdown :is(th,td) { border: 0; border-bottom: 1px solid var(--pwcq-line); padding: 12px 14px; text-align: left; color: inherit; background: none; vertical-align: top; min-width: 110px; }
.pwcq.pwcq .pwcq-markdown th { font-weight: 600; }
.pwcq.pwcq .pwcq-markdown :is(th,td).pwcq-align-right { text-align: right; }
.pwcq.pwcq .pwcq-markdown :is(th,td).pwcq-align-center { text-align: center; }
.pwcq.pwcq-modal { position: fixed; inset: 0; margin: auto; padding: 0; border: 1px solid var(--pwcq-line); border-radius: 20px; background: var(--pwcq-bg); width: min(900px, calc(100vw - 48px)); height: min(880px, calc(100vh - 80px)); height: min(880px, calc(100dvh - 80px)); max-width: none; max-height: none; box-shadow: 0 32px 100px #0009; overflow: hidden; }
.pwcq.pwcq-modal:not([open]) { display: none; }
.pwcq.pwcq-modal[open] { display: flex; flex-direction: column; animation: pwcq-enter .16s ease-out; }
.pwcq.pwcq-modal::backdrop { background: #000b; backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); }
.pwcq.pwcq .pwcq-modal-head { display: flex; flex-shrink: 0; align-items: center; justify-content: space-between; gap: 20px; padding: 21px 27px; border-bottom: 1px solid #ffffff12; }
.pwcq.pwcq .pwcq-modal-titles { min-width: 0; }
.pwcq.pwcq .pwcq-modal-kicker { font-size: 19px; font-weight: 600; line-height: 1.3; margin-bottom: 5px; }
.pwcq.pwcq h2.pwcq-modal-title { font: 400 13px/1.5 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; color: var(--pwcq-muted); background: none; text-shadow: none; text-transform: none; letter-spacing: normal; margin: 0; padding: 0; border: 0; overflow-wrap: anywhere; }
.pwcq.pwcq h2.pwcq-modal-title:focus { outline: 0; }
.pwcq.pwcq .pwcq-modal-body { flex: 1 1 auto; min-height: 0; min-width: 0; overflow-y: auto; overscroll-behavior: contain; padding: 30px clamp(22px, 5vw, 70px) 38px; scrollbar-width: thin; scrollbar-color: #626262 transparent; }
.pwcq.pwcq button { -webkit-appearance: none; appearance: none; font-family: inherit; line-height: 1.3; font-weight: 400; letter-spacing: normal; text-transform: none; text-shadow: none; box-shadow: none; color: var(--pwcq-text); cursor: pointer; background: transparent; margin: 0; border: 0; }
.pwcq.pwcq button::before, .pwcq.pwcq button::after { display: none; }
.pwcq.pwcq button.pwcq-close { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; min-height: 44px; padding: 0 0 3px; font-size: 30px; border-radius: 50%; color: #d4d4d4; }
.pwcq.pwcq button.pwcq-close:hover { background: #ffffff0d; color: #fff; }
.pwcq.pwcq .pwcq-modal-foot { display: flex; flex-shrink: 0; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; padding: 13px 26px; border-top: 1px solid #ffffff12; }
.pwcq.pwcq .pwcq-readonly { font-size: 11px; color: var(--pwcq-muted); }
.pwcq.pwcq button.pwcq-copy { min-height: 40px; border: 1px solid #525252; border-radius: 9px; padding: 9px 13px; font-size: 12px; background: transparent; }
.pwcq.pwcq button.pwcq-copy:hover { background: #ffffff08; border-color: #888; }
.pwcq.pwcq .pwcq-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
@keyframes pwcq-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 600px) {
  .pwcq.pwcq .pwcq-summary { padding: 22px 21px 20px; }
  .pwcq.pwcq .pwcq-card-head { margin-bottom: 22px; }
  .pwcq.pwcq .pwcq-excerpt { font-size: 17px; }
  .pwcq.pwcq-modal { width: calc(100vw - 16px); height: calc(100vh - 24px); height: calc(100dvh - 24px); border-radius: 15px; }
  .pwcq.pwcq .pwcq-modal-head { padding: 16px 17px; gap: 12px; }
  .pwcq.pwcq .pwcq-modal-body { padding: 22px 19px 30px; }
  .pwcq.pwcq .pwcq-modal-foot { padding: 10px 15px; gap: 6px; }
  .pwcq.pwcq .pwcq-readonly { font-size: 10px; }
  .pwcq.pwcq button.pwcq-copy { font-size: 11px; min-height: 44px; padding: 8px 10px; }
  .pwcq.pwcq .pwcq-message[data-pwcq-role="user"] { max-width: 94%; }
  .pwcq.pwcq .pwcq-message[data-pwcq-role="user"] > .pwcq-markdown { padding: 13px 16px; }
  .pwcq.pwcq .pwcq-markdown :is(h1,h2,h3) { font-size: 21px; }
  .pwcq.pwcq .pwcq-markdown h4 { font-size: 19px; }
  .pwcq.pwcq .pwcq-markdown table { font-size: 13px; }
  .pwcq.pwcq .pwcq-markdown :is(th,td) { padding: 10px 9px; }
}
@media (prefers-reduced-motion: reduce) { .pwcq.pwcq *, .pwcq.pwcq-modal[open] { animation: none; transition: none; } }
@media print {
  .pwcq.pwcq-modal[open] { position: absolute; inset: 0; width: 100%; height: auto; max-height: none; overflow: visible; }
  .pwcq.pwcq .pwcq-modal-body { overflow: visible; }
  .pwcq.pwcq .pwcq-modal-foot, .pwcq.pwcq .pwcq-close { display: none; }
}
