.jd-chat-root{container-type: inline-size;}.jd-chat-root [hidden]{display: none !important;}.jd-chat-root :where(p,ol,ul,h3,h4,blockquote){margin: 0;}.jd-chat-icon{width: 20px;height: 20px;flex: none;fill: none;stroke: currentColor;stroke-width: 1.75;stroke-linecap: round;stroke-linejoin: round;}.jd-chat-bar-text{display: flex;flex-wrap: wrap;align-items: center;gap: 0 12px;min-width: 0;}.jd-chat-bar-note{display: inline-flex;align-items: center;gap: 6px;font-size: 12.5px;}.jd-chat-bar-note::before{content: "";width: 7px;height: 7px;border-radius: 50%;background: var(--jd-ok);}.jd-chat-bar{flex-wrap: wrap;}.jd-chat-bar .jd-btn{flex: none;}.jd-chat-layout{display: grid;gap: 20px;}@container (min-width: 760px){.jd-chat-layout{grid-template-columns: minmax(0,1.7fr) minmax(250px,1fr);gap: 24px;}.jd-chat-scroll{flex: 1 0 auto;}.jd-chat-about{align-self: start;}}.jd-chat-card{display: flex;flex-direction: column;min-width: 0;overflow: hidden;border: 1px solid var(--jd-border);border-radius: var(--jd-r-lg);background: var(--jd-card);}.jd-chat-head{display: flex;align-items: center;gap: 12px;padding: 14px 16px;background: var(--jd-brand);color: var(--jd-on-brand);}.jd-chat-head-avatar{position: relative;flex: none;padding: 3px;border-radius: 13px;background: var(--jd-on-brand);}.jd-chat-head-avatar .jd-chat-logo{width: 34px;height: 34px;}.jd-chat-presence{position: absolute;right: -3px;bottom: -3px;width: 13px;height: 13px;border: 2.5px solid var(--jd-brand);border-radius: 50%;background: var(--jd-ok);}.jd-chat-head-text{display: flex;flex-direction: column;min-width: 0;}.jd-chat-head-title{overflow: hidden;font-family: var(--jd-font-display);font-size: 16px;font-weight: 600;line-height: 1.3;text-overflow: ellipsis;white-space: nowrap;}.jd-chat-head-status{font-size: 13px;line-height: 1.4;}.jd-chat-logo{display: block;width: 28px;height: 28px;}.jd-chat-logo-tile,.jd-chat-logo-sun{fill: var(--jd-brand);}.jd-chat-logo-arch,.jd-chat-logo-sill{fill: var(--jd-on-brand);}.jd-chat-demo{display: flex;flex-wrap: wrap;align-items: center;gap: 4px 8px;padding: 8px 16px;border-bottom: 1px solid var(--jd-border);background: var(--jd-warn-tint);color: var(--jd-warn);font-size: 13px;line-height: 1.35;}.jd-chat-badge{display: inline-flex;align-items: center;padding: 1px 9px;border-radius: var(--jd-r-pill);background: var(--jd-card);color: var(--jd-warn);font-size: 12px;font-weight: 700;line-height: 1.5;letter-spacing: 0.01em;white-space: nowrap;box-shadow: inset 0 0 0 1px var(--jd-warn);box-shadow: inset 0 0 0 1px color-mix(in srgb,var(--jd-warn) 40%,transparent);}.jd-chat-scroll{position: relative;height: 440px;padding: 18px 16px 10px;overflow-y: auto;background: linear-gradient(var(--jd-card),var(--jd-soft));scrollbar-width: thin;scrollbar-color: var(--jd-border-strong) transparent;}.jd-chat-log{display: flex;flex-direction: column;gap: 16px;}.jd-chat-msg{display: flex;align-items: flex-start;gap: 10px;animation: jd-chat-in 0.28s var(--jd-ease) both;}@keyframes jd-chat-in{from{opacity: 0;transform: translateY(8px);}}.jd-chat-avatar{display: grid;place-items: center;flex: none;width: 28px;height: 28px;margin-top: 4px;}.jd-chat-msg-body{display: flex;flex-direction: column;align-items: flex-start;gap: 6px;min-width: 0;max-width: min(86%,36rem);}.jd-chat-msg-bot .jd-chat-msg-body{flex: 1 1 auto;}.jd-chat-bubble{padding: 10px 14px;border-radius: 18px 18px 18px 6px;background: var(--jd-sunken);color: var(--jd-text);overflow-wrap: anywhere;}.jd-chat-text{font-size: 15px;line-height: 1.5;white-space: pre-line;}.jd-chat-msg-user{flex-direction: row-reverse;}.jd-chat-msg-user .jd-chat-msg-body{align-items: flex-end;}.jd-chat-msg-user .jd-chat-bubble{border-radius: 18px 18px 6px 18px;background: var(--jd-brand);color: var(--jd-on-brand);}.jd-chat-msg-user .jd-chat-avatar{border-radius: 50%;background: var(--jd-sunken);color: var(--jd-muted);}.jd-chat-msg-user .jd-chat-avatar .jd-chat-icon{width: 17px;height: 17px;}.jd-chat-meta{display: flex;flex-wrap: wrap;align-items: center;gap: 2px 6px;padding-inline: 4px;color: var(--jd-muted);font-size: 12px;font-variant-numeric: tabular-nums;}.jd-chat-meta-dot{user-select: none;}.jd-chat-suggest{margin-top: 6px;}.jd-chat-suggest-label,.jd-chat-sources-label,.jd-chat-why-label{color: var(--jd-muted);font-size: 11.5px;font-weight: 650;letter-spacing: 0.06em;text-transform: uppercase;}.jd-chat-suggest-label{margin: 0 0 8px 4px;}.jd-chat-chips{display: flex;flex-wrap: wrap;gap: 8px;padding: 0;list-style: none;}.jd-chat-chip{min-height: 36px;padding: 7px 13px;border: 1px solid var(--jd-border-strong);border-radius: var(--jd-r-pill);background: var(--jd-card);color: var(--jd-brand);font: inherit;font-size: 14px;font-weight: 600;line-height: 1.3;text-align: left;cursor: pointer;transition: background var(--jd-fast) var(--jd-ease),border-color var(--jd-fast) var(--jd-ease),transform var(--jd-fast) var(--jd-ease);}.jd-chat-chip:hover:not(:disabled):not([aria-disabled="true"]){border-color: var(--jd-brand);background: var(--jd-brand-tint);}.jd-chat-chip:active:not(:disabled):not([aria-disabled="true"]){transform: scale(0.98);}.jd-chat-chip:disabled,.jd-chat-chip[aria-disabled="true"]{opacity: 0.55;cursor: default;}.jd-chat-sources{display: flex;flex-direction: column;gap: 6px;width: 100%;}.jd-chat-sources-label{padding-left: 4px;}.jd-chat-sources-list{display: flex;flex-wrap: wrap;gap: 6px;}.jd-chat-source{max-width: 100%;}.jd-chat-source[open]{flex-basis: 100%;}.jd-chat-source-chip{display: inline-flex;align-items: center;gap: 8px;max-width: 100%;padding: 5px 10px 5px 6px;border: 1px solid var(--jd-border-strong);border-radius: 10px;background: var(--jd-card);font-size: 13px;line-height: 1.3;list-style: none;cursor: pointer;user-select: none;transition: border-color var(--jd-fast) var(--jd-ease),background var(--jd-fast) var(--jd-ease);}.jd-chat-source-chip::-webkit-details-marker{display: none;}.jd-chat-source-chip::marker{content: "";}.jd-chat-source-chip:hover,.jd-chat-source[open] .jd-chat-source-chip{border-color: var(--jd-brand);}.jd-chat-source[open] .jd-chat-source-chip{background: var(--jd-brand-tint);}.jd-chat-source-n{display: grid;place-items: center;flex: none;min-width: 20px;height: 20px;border-radius: 6px;background: var(--jd-brand);color: var(--jd-on-brand);font-size: 11px;font-weight: 700;}.jd-chat-source-label{display: flex;flex-direction: column;min-width: 0;}.jd-chat-source-doc,.jd-chat-source-section{overflow: hidden;text-overflow: ellipsis;white-space: nowrap;}.jd-chat-source-doc{font-weight: 650;}.jd-chat-source-section{color: var(--jd-muted);}.jd-chat-source-chevron{width: 16px;height: 16px;color: var(--jd-muted);transition: transform var(--jd-base) var(--jd-ease);}.jd-chat-source[open] .jd-chat-source-chevron{transform: rotate(180deg);}.jd-chat-passage{margin-top: 6px;padding: 12px 14px;border: 1px solid var(--jd-border);border-left: 3px solid var(--jd-brand);border-radius: 4px 12px 12px 4px;background: var(--jd-card);animation: jd-chat-in 0.2s var(--jd-ease) both;}.jd-chat-passage-from{display: flex;align-items: center;gap: 6px;margin-bottom: 6px;color: var(--jd-muted);font-size: 12px;font-weight: 600;overflow-wrap: anywhere;}.jd-chat-passage-from .jd-chat-icon{width: 14px;height: 14px;}.jd-chat-quote{max-height: 14rem;overflow-y: auto;font-size: 14px;line-height: 1.55;white-space: pre-line;overflow-wrap: anywhere;}.jd-chat-notice{display: inline-flex;align-items: center;gap: 6px;padding: 3px 10px 3px 8px;border-radius: 8px;background: var(--jd-warn-tint);color: var(--jd-warn);font-size: 12px;font-weight: 600;}.jd-chat-notice .jd-chat-icon{width: 14px;height: 14px;}.jd-chat-why-toggle{display: inline-flex;align-items: center;gap: 4px;min-height: 28px;padding: 2px 6px;border: 0;border-radius: 6px;background: transparent;color: var(--jd-brand);font: inherit;font-size: 12.5px;font-weight: 600;cursor: pointer;transition: background var(--jd-fast) var(--jd-ease);}.jd-chat-why-toggle:hover{background: var(--jd-brand-tint);}.jd-chat-why-toggle .jd-chat-icon{width: 15px;height: 15px;}.jd-chat-why-toggle[aria-expanded="true"]{background: var(--jd-brand-tint);}.jd-chat-why{display: grid;gap: 12px;align-self: stretch;padding: 12px 14px;border: 1px solid var(--jd-border);border-radius: var(--jd-r-md);background: var(--jd-card);font-size: 13px;line-height: 1.45;animation: jd-chat-in 0.2s var(--jd-ease) both;}.jd-chat-why-block{display: grid;gap: 6px;}.jd-chat-why-note,.jd-chat-why-foot{color: var(--jd-muted);font-size: 12.5px;}.jd-chat-why-foot{padding-top: 10px;border-top: 1px solid var(--jd-border);}.jd-chat-terms{display: flex;flex-wrap: wrap;gap: 4px;padding: 0;list-style: none;}.jd-chat-term{padding: 0 7px;border-radius: 6px;background: var(--jd-sunken);color: var(--jd-text);font-family: var(--jd-mono);font-size: 12px;line-height: 1.7;}.jd-chat-term-hit{background: var(--jd-brand-tint);color: var(--jd-brand);}.jd-chat-why-list{display: grid;gap: 12px;padding: 0;list-style: none;}.jd-chat-why-item{display: grid;gap: 6px;}.jd-chat-why-top{display: flex;align-items: center;gap: 8px;}.jd-chat-why-rank{display: grid;place-items: center;flex: none;width: 20px;height: 20px;border-radius: 6px;background: var(--jd-sunken);font-size: 11px;font-weight: 700;}.jd-chat-why-used .jd-chat-why-rank{background: var(--jd-brand);color: var(--jd-on-brand);}.jd-chat-why-name{flex: 1;min-width: 0;overflow-wrap: anywhere;}.jd-chat-why-doc{font-weight: 650;}.jd-chat-why-score{flex: none;font-family: var(--jd-mono);font-weight: 700;font-variant-numeric: tabular-nums;}.jd-chat-why-bar{position: relative;height: 6px;margin: 0 0 0 28px;border-radius: var(--jd-r-pill);background: var(--jd-sunken);}.jd-chat-why-fill{position: absolute;top: 0;bottom: 0;left: 0;width: calc(var(--jd-chat-fill,0) * 100%);border-radius: inherit;background: var(--jd-border-strong);}.jd-chat-why-used .jd-chat-why-fill{background: var(--jd-brand);}.jd-chat-why-mark{position: absolute;top: -4px;bottom: -4px;left: calc(var(--jd-chat-mark,0) * 100%);width: 2px;margin-left: -1px;border-radius: 1px;background: var(--jd-warn);}.jd-chat-why-matched{display: flex;flex-wrap: wrap;align-items: center;gap: 4px 6px;margin-left: 28px;color: var(--jd-muted);font-size: 12px;}.jd-chat-typing{margin-top: 16px;}.jd-chat-typing-bubble{display: inline-flex;align-items: center;gap: 4px;height: 40px;padding: 0 16px;}.jd-chat-typing-bubble span{width: 7px;height: 7px;border-radius: 50%;background: var(--jd-muted);opacity: 0.4;animation: jd-chat-typing 1.2s ease-in-out infinite;}.jd-chat-typing-bubble span:nth-child(2){animation-delay: 0.15s;}.jd-chat-typing-bubble span:nth-child(3){animation-delay: 0.3s;}@keyframes jd-chat-typing{0%,60%,100%{opacity: 0.35;transform: translateY(0);}30%{opacity: 0.9;transform: translateY(-4px);}}.jd-chat-handoff{margin-left: 38px;padding: 16px;border: 1px solid var(--jd-border);border-radius: var(--jd-r-lg);background: var(--jd-card);box-shadow: var(--jd-shadow);animation: jd-chat-in 0.3s var(--jd-ease) both;}.jd-chat-handoff-sent{border-color: var(--jd-ok);box-shadow: none;}.jd-chat-handoff-sent .jd-chat-handoff-head,.jd-chat-handoff-sent .jd-chat-handoff-q{display: none;}.jd-chat-handoff-head,.jd-chat-handoff-done{display: flex;gap: 12px;}.jd-chat-handoff-icon{display: grid;place-items: center;flex: none;width: 36px;height: 36px;border-radius: 12px;background: var(--jd-brand-tint);color: var(--jd-brand);}.jd-chat-handoff-done .jd-chat-handoff-icon{background: var(--jd-ok-tint);color: var(--jd-ok);}.jd-chat-handoff-title{font-size: 15px;font-weight: 650;line-height: 1.35;}.jd-chat-handoff-text{margin-top: 2px;color: var(--jd-muted);font-size: 14px;line-height: 1.45;}.jd-chat-handoff-q{display: flex;flex-direction: column;gap: 2px;margin: 14px 0 12px;padding: 10px 12px;border-radius: 10px;background: var(--jd-soft);font-size: 14px;overflow-wrap: anywhere;white-space: pre-line;}.jd-chat-handoff-label{color: var(--jd-muted);font-size: 12px;font-weight: 650;}.jd-chat-handoff-form{display: flex;flex-wrap: wrap;align-items: flex-end;gap: 8px;}.jd-chat-handoff-field{display: flex;flex: 1 1 11rem;flex-direction: column;gap: 4px;min-width: 0;}.jd-chat-email[aria-invalid="true"]{border-color: var(--jd-bad);}.jd-chat-handoff-submit{flex: 1 1 auto;min-height: 42px;}.jd-chat-handoff-submit .jd-chat-icon{width: 18px;height: 18px;}.jd-chat-field-error{display: flex;flex-basis: 100%;align-items: center;gap: 6px;color: var(--jd-bad);font-size: 13px;font-weight: 600;}.jd-chat-field-error .jd-chat-icon{width: 16px;height: 16px;}.jd-demo .jd-chat-handoff-done:focus,.jd-demo .jd-chat-handoff-done:focus-visible{outline: none;}.jd-chat-composer{padding: 10px 14px 12px;border-top: 1px solid var(--jd-border);background: var(--jd-card);}.jd-chat-form{display: flex;align-items: flex-end;gap: 8px;padding: 6px 6px 6px 14px;border: 1px solid var(--jd-border-strong);border-radius: 16px;background: var(--jd-card);transition: border-color var(--jd-fast) var(--jd-ease),box-shadow var(--jd-fast) var(--jd-ease);}.jd-chat-form:focus-within{border-color: var(--jd-ring);box-shadow: 0 0 0 1px var(--jd-ring);box-shadow: 0 0 0 1px var(--jd-ring),0 0 0 4px color-mix(in srgb,var(--jd-ring) 25%,transparent);}.jd-chat-textarea{flex: 1;min-width: 0;min-height: 36px;max-height: 136px;padding: 7px 0;border: 0;background: transparent;color: var(--jd-text);font: inherit;font-size: 15px;line-height: 1.45;resize: none;field-sizing: content;}.jd-chat-textarea::placeholder{color: var(--jd-subtle);}.jd-demo .jd-chat-textarea:focus,.jd-demo .jd-chat-textarea:focus-visible{outline: none;}.jd-chat-send{display: grid;place-items: center;flex: none;width: 38px;height: 38px;padding: 0;border: 0;border-radius: 12px;background: var(--jd-brand);color: var(--jd-on-brand);cursor: pointer;transition: background var(--jd-fast) var(--jd-ease),transform var(--jd-fast) var(--jd-ease);}.jd-chat-send .jd-chat-icon{width: 18px;height: 18px;stroke-width: 2.1;}.jd-chat-send:hover:not(:disabled):not([aria-disabled="true"]){background: var(--jd-brand-strong);}.jd-chat-send:active:not(:disabled):not([aria-disabled="true"]){transform: scale(0.94);}.jd-chat-send:disabled,.jd-chat-send[aria-disabled="true"]{opacity: 0.5;cursor: default;}.jd-chat-textarea:placeholder-shown + .jd-chat-send{background: var(--jd-sunken);color: var(--jd-muted);}.jd-chat-status{color: var(--jd-bad);font-size: 13px;font-weight: 600;}.jd-chat-status:not(:empty){margin-top: 8px;}.jd-chat-hint{display: flex;flex-wrap: wrap;justify-content: space-between;gap: 2px 8px;margin-top: 6px;padding-inline: 4px;color: var(--jd-muted);font-size: 12px;}.jd-chat-count{margin-left: auto;font-variant-numeric: tabular-nums;}.jd-chat-count-near{color: var(--jd-warn);font-weight: 600;}.jd-chat-count-full{color: var(--jd-bad);font-weight: 600;}@media (pointer: coarse){.jd-chat-keys{display: none;}}.jd-chat-about{display: grid;align-content: start;gap: 16px;min-width: 0;font-size: 14px;}.jd-chat-about-title{font-size: 17px;}.jd-chat-steps{display: grid;gap: 14px;padding: 0;list-style: none;counter-reset: jd-chat-step;}.jd-chat-step{display: grid;grid-template-columns: 26px minmax(0,1fr);gap: 10px;counter-increment: jd-chat-step;}.jd-chat-step::before{content: counter(jd-chat-step);display: grid;place-items: center;width: 26px;height: 26px;border-radius: 8px;background: var(--jd-brand-tint);color: var(--jd-brand);font-size: 13px;font-weight: 700;}.jd-chat-step-title{font-weight: 600;line-height: 1.4;}.jd-chat-step-text{margin-top: 2px;color: var(--jd-muted);font-size: 13.5px;line-height: 1.5;}.jd-chat-about-tip{color: var(--jd-muted);font-size: 13px;}.jd-chat-offline{display: flex;gap: 10px;padding: 12px 14px;border: 1px solid var(--jd-border);border-radius: var(--jd-r-md);background: var(--jd-soft);}.jd-chat-offline-icon{display: grid;place-items: center;flex: none;width: 30px;height: 30px;border-radius: 9px;background: var(--jd-brand-tint);color: var(--jd-brand);}.jd-chat-offline-icon .jd-chat-icon{width: 18px;height: 18px;}.jd-chat-offline-title{font-weight: 600;line-height: 1.4;}.jd-chat-offline-text{margin-top: 4px;color: var(--jd-muted);font-size: 13.5px;line-height: 1.5;}.jd-chat-about-sub{margin-bottom: -8px;font-size: 13px;font-weight: 650;}.jd-chat-docs{display: grid;gap: 2px;padding: 0;list-style: none;}.jd-chat-doc{display: flex;align-items: center;gap: 8px;padding: 5px 0;border-bottom: 1px solid var(--jd-border);font-size: 13.5px;}.jd-chat-doc:last-child{border-bottom: 0;}.jd-chat-doc .jd-chat-icon{width: 16px;height: 16px;color: var(--jd-muted);}.jd-chat-doc-name{flex: 1;min-width: 0;}.jd-chat-doc-count{flex: none;color: var(--jd-muted);font-size: 12.5px;font-variant-numeric: tabular-nums;}@container (max-width: 480px){.jd-chat-scroll{height: 400px;padding: 14px 12px 8px;}.jd-chat-head{padding: 12px 14px;}.jd-chat-msg-body{max-width: 88%;}.jd-chat-handoff{margin-left: 0;padding: 14px;}.jd-chat-composer{padding: 10px 10px 12px;}}@media (forced-colors: active){.jd-chat-form:focus-within{outline: 2px solid CanvasText;outline-offset: 2px;}}
