.ke-shell-row {
    flex: 1;
    min-height: 0;
    display: flex;
}
.ke-shell-row > .ke-shell-drawer {
    flex: 1 1 auto;
    min-width: 0;
}
.ke-help-panel {
    flex: 0 0 400px;
    box-sizing: border-box;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px 16px 16px;
    background: var(--dxds-color-surface-neutral-default-rest);
    border-left: 1px solid var(--dxds-color-border-neutral-default-rest);
    color: var(--dxds-color-content-neutral-default-rest);
}
.ke-help-header {
    display: flex;
    align-items: center;
    gap: 8px;
}
.ke-help-title {
    margin: 0;
    font-weight: 600;
    font-size: 16px;
}
.ke-help-warning {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--dxds-color-content-warning-default-rest);
}
.ke-help-turn {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}
.ke-help-msg-compare {
    align-self: flex-start;
    border: 1px dashed var(--dxds-color-border-neutral-default-rest);
    background: transparent;
}
.ke-help-compare-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--dxds-color-content-neutral-subdued-rest);
}
.ke-help-ai-label {
    font-size: 12px;
    padding: 0 8px;
    border-radius: 8px;
    background: var(--dxds-color-surface-neutral-subdued-rest);
    color: var(--dxds-color-content-neutral-subdued-rest);
}
.ke-help-close {
    margin-left: auto;
}
.ke-help-notice,
.ke-help-note {
    margin: 0;
    font-size: 12px;
    color: var(--dxds-color-content-neutral-subdued-rest);
}
.ke-help-chat {
    flex: 1 1 auto;
    min-height: 0;
}
.ke-help-msg {
    padding: 8px 16px;
    border-radius: 16px;
    max-width: 85%;
    white-space: pre-wrap;
    color: var(--dxds-color-content-neutral-default-rest);
}
.ke-help-msg-formatted {
    white-space: normal;
}
.ke-help-msg-formatted > :first-child {
    margin-top: 0;
}
.ke-help-msg-formatted > :last-child {
    margin-bottom: 0;
}
.ke-help-msg-formatted p,
.ke-help-msg-formatted ul,
.ke-help-msg-formatted ol {
    margin: 0 0 8px;
}
.ke-help-msg-formatted ul,
.ke-help-msg-formatted ol {
    padding-left: 24px;
}
.ke-help-thinking {
    color: var(--dxds-color-content-neutral-subdued-rest);
}
.ke-help-dots > span {
    animation: ke-help-dot 1.4s infinite both;
}
.ke-help-dots > span:nth-child(2) {
    animation-delay: 0.2s;
}
.ke-help-dots > span:nth-child(3) {
    animation-delay: 0.4s;
}
@keyframes ke-help-dot {
    0%, 80%, 100% { opacity: 0.2; }
    40% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
    .ke-help-dots > span {
        animation: none;
    }
}
.ke-help-msg-assistant {
    align-self: flex-start;
    background: var(--dxds-color-surface-neutral-subdued-rest);
}
.ke-help-msg-person {
    align-self: flex-end;
    background: var(--dxds-color-surface-neutral-deep-rest);
}
.ke-help-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
}
.ke-help-choices,
.ke-help-confirm-buttons,
.ke-help-rating {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}
.ke-help-confirm {
    padding: 8px 16px;
    border: 1px solid var(--dxds-color-border-neutral-default-rest);
    border-radius: 8px;
}
.ke-help-confirm p {
    margin: 0 0 8px;
}
.ke-help-link {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.ke-help-thumb {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    min-height: 32px;
    border: none;
    border-radius: 4px;
    background: none;
    font-size: 16px;
    color: var(--dxds-color-content-neutral-default-rest);
    cursor: pointer;
}
.ke-help-thumb:hover {
    background: var(--dxds-color-surface-neutral-subdued-rest);
}
.ke-help-support {
    font-size: 14px;
    align-self: flex-start;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    color: var(--dxds-color-content-primary-default-rest);
    text-decoration: underline;
}
.ke-report-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 8px 0;
}
.ke-report-label {
    font-weight: 600;
    font-size: 14px;
}
.ke-report-picture {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.ke-report-note {
    margin: 0;
    font-size: 13px;
    color: var(--dxds-color-content-neutral-subdued-rest);
}
.ke-report-error {
    margin: 0;
    font-size: 13px;
    color: var(--dxds-color-content-danger-default-rest);
}
.ke-report-done {
    margin: 0;
}
.ke-help-empty {
    margin: 0;
    font-size: 14px;
    text-align: center;
    color: var(--dxds-color-content-neutral-subdued-rest);
}
.ke-help-btn[aria-expanded="true"] {
    background: var(--dxds-color-surface-neutral-deep-rest);
}
@media (max-width: 600px) {
    .ke-help-panel {
        position: fixed;
        z-index: 1200;
        inset: 0;
        width: 100%;
        height: 100dvh;
        border-radius: 0;
        border: none;
    }
}
