:root {
    --qb-primary: #6226C3;
    --qb-primary-light: #7B4AE0;
    --qb-dark: #0B132B;
    --qb-bg: #F5F6FA;
    --qb-text: #1A1A2E;
    --qb-muted: #8E94A5;
    --qb-radius: 14px;
    --qb-shadow: 0 4px 20px rgba(98, 38, 195, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body.qb-body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background: var(--qb-bg);
    color: var(--qb-text);
    font-size: 14px;
    line-height: 1.5;
    -webkit-tap-highlight-color: transparent;
}

.qb-page {
    min-height: 100vh;
    padding-bottom: calc(64px + env(safe-area-inset-bottom));
}

.qb-header {
    background: #fff;
    padding: 12px 16px;
    text-align: center;
    font-weight: 600;
    font-size: 17px;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 100;
}

.qb-header-back {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--qb-primary);
    text-decoration: none;
    font-size: 22px;
}

.qb-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #fff;
}
.qb-brand img { width: 48px; height: 48px; border-radius: 12px; }
.qb-brand h1 { font-size: 18px; font-weight: 700; }

.qb-hero {
    margin: 12px 16px;
    padding: 24px 20px;
    background: linear-gradient(135deg, #6226C3 0%, #2B58FB 100%);
    border-radius: var(--qb-radius);
    color: #fff;
}
.qb-hero h2 { font-size: 22px; margin-bottom: 8px; line-height: 1.4; }
.qb-hero p { opacity: 0.9; font-size: 13px; margin-bottom: 16px; }

.qb-btn {
    display: block;
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    margin-bottom: 10px;
}
.qb-btn-primary { background: var(--qb-primary); color: #fff; }
.qb-btn-outline { background: #fff; color: var(--qb-primary); border: 2px solid var(--qb-primary); }
.qb-btn-dark { background: var(--qb-dark); color: #fff; }

.qb-card {
    background: #fff;
    border-radius: var(--qb-radius);
    margin: 12px 16px;
    padding: 16px;
    box-shadow: var(--qb-shadow);
}
.qb-card-title { font-size: 16px; font-weight: 700; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.qb-badge-new {
    background: #FF8A4C;
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
}

.qb-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.qb-tag {
    padding: 6px 12px;
    background: #F0EDF8;
    color: var(--qb-primary);
    border-radius: 999px;
    font-size: 12px;
    text-decoration: none;
}
.qb-tag.active { background: var(--qb-primary); color: #fff; }

.qb-path-card {
    background: var(--qb-dark);
    color: #fff;
    border-radius: var(--qb-radius);
    margin: 12px 16px;
    padding: 20px;
}
.qb-path-card h3 { margin-bottom: 12px; }
.qb-path-flow { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.qb-progress { height: 4px; background: rgba(255,255,255,0.2); border-radius: 2px; margin-bottom: 16px; }
.qb-progress-bar { height: 100%; width: 60%; background: var(--qb-primary); border-radius: 2px; }
.qb-steps { list-style: none; }
.qb-steps li { padding: 8px 0; font-size: 13px; opacity: 0.9; }

.qb-mentor-item {
    display: flex;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    color: inherit;
}
.qb-mentor-item:last-child { border-bottom: none; }
.qb-avatar {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: var(--qb-dark);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; font-weight: 700; flex-shrink: 0;
}
.qb-mentor-info { flex: 1; min-width: 0; }
.qb-mentor-info h4 { font-size: 15px; margin-bottom: 4px; }
.qb-mentor-meta { font-size: 12px; color: var(--qb-muted); }

.qb-btn-sm {
    display: inline-block;
    width: auto;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 0;
}
.qb-btn-sm.qb-btn-outline {
    border-width: 1px;
    padding: 5px 13px;
}
.qb-mentor-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}
.qb-mentor-bar {
    position: fixed;
    bottom: calc(64px + env(safe-area-inset-bottom));
    left: 0;
    right: 0;
    padding: 8px 16px;
    background: #fff;
    border-top: 1px solid #eee;
    display: flex;
    gap: 8px;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.04);
}
.qb-mentor-bar .qb-btn {
    margin: 0;
}
.qb-mentor-bar-main {
    flex: 1;
    text-align: center;
}

.qb-tabbar {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    display: flex;
    background: #fff;
    border-top: 1px solid #eee;
    padding-bottom: env(safe-area-inset-bottom);
    z-index: 200;
}
.qb-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 0;
    font-size: 11px;
    color: var(--qb-muted);
    text-decoration: none;
}
.qb-tab.active { color: var(--qb-primary); font-weight: 600; }
.qb-tab-icon { font-size: 20px; margin-bottom: 2px; }

.qb-form-group { margin-bottom: 16px; }
.qb-label { display: block; font-weight: 600; margin-bottom: 8px; font-size: 14px; }
.qb-input, .qb-textarea, .qb-select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    font-size: 15px;
    background: #fff;
}
.qb-textarea { min-height: 100px; resize: vertical; }

.qb-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.qb-pill {
    padding: 8px 14px;
    border: 1px solid #E5E7EB;
    border-radius: 999px;
    background: #fff;
    font-size: 13px;
    cursor: pointer;
}
.qb-pill.active, .qb-pill input:checked + span { background: var(--qb-primary); color: #fff; border-color: var(--qb-primary); }
.qb-pill input { display: none; }

.qb-search {
    margin: 12px 16px;
    position: relative;
}
.qb-search input {
    width: 100%;
    padding: 12px 16px 12px 40px;
    border: none;
    border-radius: 999px;
    background: #fff;
    box-shadow: var(--qb-shadow);
}

.qb-filter { display: flex; gap: 8px; padding: 0 16px 12px; flex-wrap: wrap; }
.qb-filter select {
    flex: 1;
    min-width: 100px;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid #E5E7EB;
    background: #fff;
}

.qb-profile-header {
    background: linear-gradient(135deg, #6226C3, #2B58FB);
    padding: 24px 16px 40px;
    color: #fff;
}
.qb-profile-card {
    margin: -24px 16px 16px;
    background: #fff;
    border-radius: var(--qb-radius);
    padding: 16px;
    box-shadow: var(--qb-shadow);
}

.qb-menu-list { margin: 0 16px; }
.qb-menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: #fff;
    border-radius: var(--qb-radius);
    margin-bottom: 10px;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--qb-shadow);
}

.qb-answer {
    background: #F8F9FC;
    border-radius: 10px;
    padding: 14px;
    white-space: pre-wrap;
    word-break: break-word;
    font-size: 14px;
    line-height: 1.7;
}

.qb-upload-area {
    border: 2px dashed #C5D0F0;
    border-radius: var(--qb-radius);
    padding: 40px 20px;
    text-align: center;
    background: #F8FAFF;
    cursor: pointer;
}
.qb-upload-area input { display: none; }

.qb-trust { display: flex; justify-content: center; gap: 16px; margin-top: 12px; font-size: 12px; color: var(--qb-muted); }

.qb-section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 16px 8px;
}
.qb-section-head h3 { font-size: 16px; }
.qb-section-head a { color: var(--qb-primary); font-size: 13px; text-decoration: none; }

.qb-loading {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.4);
    display: none;
    align-items: center; justify-content: center;
    z-index: 999;
    color: #fff;
    font-size: 16px;
}
.qb-loading.show { display: flex; }

.qb-tabs { display: flex; background: rgba(255,255,255,0.15); border-radius: 8px; margin: 12px 16px 0; }
.qb-tabs a {
    flex: 1; text-align: center; padding: 10px;
    color: rgba(255,255,255,0.7); text-decoration: none; font-size: 14px;
    border-radius: 8px;
}
.qb-tabs a.active { background: rgba(255,255,255,0.25); color: #fff; font-weight: 600; }

.qb-detail-info { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; font-size: 13px; }
.qb-detail-info div { background: #F8F9FC; padding: 10px; border-radius: 8px; }

.qb-empty { text-align: center; padding: 40px; color: var(--qb-muted); }

.qb-stream-card { border: 1px solid #E8E0F8; }
.qb-stream-status {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--qb-primary);
    font-weight: 600;
    margin-bottom: 12px;
}
.qb-stream-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--qb-primary);
}
.qb-stream-status.active .qb-stream-dot {
    animation: qb-pulse 1s infinite;
}
@keyframes qb-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.8); }
}
.qb-stream-preview {
    background: #F8F9FC;
    border-radius: 10px;
    padding: 14px;
    min-height: 120px;
    max-height: 280px;
    overflow-y: auto;
    font-size: 13px;
    line-height: 1.7;
    white-space: pre-wrap;
    word-break: break-word;
    color: #444;
}
.qb-result-h4 { margin: 16px 0 8px; color: var(--qb-primary); font-size: 15px; }
.qb-schedule-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}
.qb-schedule-row span:last-child { flex: 1; margin-left: 12px; color: #555; }
.qb-result-actions { display: flex; flex-direction: column; gap: 10px; }
.qb-result-actions.qb-inline {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
}
.qb-btn-compact {
    padding: 8px 12px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    margin-bottom: 0 !important;
}
.qb-result-actions.qb-inline .qb-btn {
    flex: 1;
    min-width: calc(50% - 4px);
    text-align: center;
}

.qb-stream-page .qb-stream-meta {
    font-size: 13px;
    color: var(--qb-muted);
    margin-bottom: 8px;
}
.qb-stream-status-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--qb-primary);
    margin-bottom: 12px;
}
.qb-stream-section-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--qb-primary);
    margin-bottom: 8px;
}
.qb-plan-stream-box {
    margin-top: 8px;
}
.qb-thinking-loading {
    display: none;
    align-items: center;
    gap: 8px;
    color: var(--qb-primary);
    font-size: 14px;
    font-weight: 600;
    padding: 12px 0;
}
.qb-thinking-loading.active {
    display: flex;
}
.qb-thinking-panel {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px dashed #ECE8F5;
}
.qb-thinking-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--qb-primary);
    font-weight: 600;
    margin-bottom: 8px;
}
.qb-thinking-stream {
    font-size: 12px;
    line-height: 1.65;
    color: #888;
    white-space: pre-wrap;
    word-break: break-word;
    max-height: 160px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.qb-thinking-stream.is-streaming,
.qb-chat-thinking-stream.is-streaming {
    max-height: none;
    overflow-y: visible;
}
.qb-thinking-collapse {
    display: none;
    margin-bottom: 12px;
    background: #F5F3FA;
    border-radius: 10px;
    padding: 0 12px;
}
.qb-thinking-collapse summary {
    padding: 10px 0;
    font-size: 13px;
    color: #888;
    cursor: pointer;
    list-style: none;
}
.qb-thinking-collapse summary::-webkit-details-marker { display: none; }
.qb-thinking-collapse-body {
    padding: 0 0 12px;
    font-size: 12px;
    line-height: 1.6;
    color: #777;
    white-space: pre-wrap;
    word-break: break-word;
    max-height: 160px;
    overflow-y: auto;
}
.qb-stream-unified {
    background: #F8F9FC;
    border-radius: 10px;
    padding: 14px;
    min-height: 160px;
    font-size: 14px;
    line-height: 1.7;
    word-break: break-word;
    color: #333;
}
.qb-stream-unified.qb-stream-done {
    background: #fff;
    border: 1px solid #E8E0F8;
}
.qb-stream-content-text {
    white-space: pre-wrap;
    display: block;
}
.qb-stream-done .qb-stream-content-text {
    white-space: normal;
}
.qb-md-body .qb-md-h,
.qb-stream-content-text .qb-md-h {
    font-size: 15px;
    font-weight: 600;
    color: var(--qb-primary);
    margin: 14px 0 8px;
}
.qb-md-body .qb-md-h:first-child,
.qb-stream-content-text .qb-md-h:first-child {
    margin-top: 0;
}
.qb-md-ol, .qb-md-ul {
    margin: 6px 0 10px;
    padding-left: 1.4em;
}
.qb-md-li {
    margin-bottom: 6px;
    line-height: 1.65;
}
.qb-md-p {
    margin: 0 0 8px;
    line-height: 1.7;
}
.qb-md-code {
    background: #F0EDF8;
    padding: 1px 5px;
    border-radius: 4px;
    font-size: 13px;
}
.qb-md-body strong,
.qb-md-p strong,
.qb-md-li strong,
.qb-chat-bubble-text strong {
    font-weight: 600;
    color: inherit;
}
.qb-chat-thinking-stream.qb-md-body,
.qb-chat-thinking-body.qb-md-body {
    white-space: normal;
}
.qb-chat-thinking-stream .qb-md-p,
.qb-chat-thinking-body .qb-md-p {
    margin: 0 0 4px;
    font-size: 12px;
}
.qb-plan-result-title {
    font-size: 18px;
    margin: 12px 0 16px;
}
.qb-stream-cursor {
    display: inline-block;
    width: 2px;
    height: 16px;
    background: var(--qb-primary);
    margin-left: 2px;
    vertical-align: text-bottom;
    animation: qb-blink 1s infinite;
}
@keyframes qb-blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}
.qb-math-text {
    white-space: pre-wrap;
    word-break: break-word;
    line-height: 1.7;
}

/* AI 解题对话（豆包风格） */
.qb-chat-wrap {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 64px - env(safe-area-inset-bottom));
    margin: -12px -16px 0;
    background: #F7F8FA;
}
.qb-page:has(.qb-chat-wrap) {
    padding-bottom: 0;
}
.qb-chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    background: #fff;
    border-bottom: 1px solid #EEE;
    flex-shrink: 0;
}
.qb-chat-header-title {
    font-size: 17px;
    font-weight: 600;
    flex: 1;
    text-align: center;
}
.qb-chat-header-actions {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
}
.qb-chat-header-btn {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    text-decoration: none;
    color: var(--qb-text);
    font-size: 22px;
    border-radius: 8px;
}
.qb-chat-new {
    font-size: 26px;
    color: var(--qb-primary);
    font-weight: 300;
}
.qb-chat-history {
    font-size: 20px;
    opacity: 0.85;
}
.qb-ai-history-item {
    display: block;
    text-decoration: none;
    color: inherit;
    margin-top: 0;
    margin-bottom: 12px;
}
.qb-ai-history-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}
.qb-ai-history-title {
    font-size: 15px;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.qb-ai-history-time {
    font-size: 12px;
    color: #8E94A5;
    flex-shrink: 0;
}
.qb-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px 14px 12px;
    -webkit-overflow-scrolling: touch;
}
.qb-chat-messages::after {
    content: '';
    display: table;
    clear: both;
}
.qb-chat-welcome {
    text-align: center;
    padding: 40px 20px 20px;
    color: var(--qb-muted);
}
.qb-chat-welcome-icon { font-size: 48px; margin-bottom: 12px; }
.qb-chat-welcome h3 { color: var(--qb-text); font-size: 18px; margin-bottom: 8px; }
.qb-chat-welcome p { font-size: 13px; margin-bottom: 16px; }
.qb-chat-suggestions { display: flex; flex-direction: column; gap: 8px; }
.qb-chat-suggest {
    background: #fff;
    border: 1px solid #E8E8E8;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 14px;
    color: #444;
    text-align: left;
    cursor: pointer;
}
.qb-chat-bubble {
    margin-bottom: 14px;
    clear: both;
}
.qb-chat-user {
    float: right;
    max-width: 78%;
    background: linear-gradient(135deg, #6226C3, #2B58FB);
    color: #fff;
    border-radius: 18px 18px 4px 18px;
    padding: 10px 14px;
    font-size: 15px;
    line-height: 1.6;
    box-shadow: 0 2px 8px rgba(98, 38, 195, 0.18);
}
.qb-chat-assistant {
    float: none;
    clear: both;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    background: #fff;
    color: var(--qb-text);
    border-radius: 4px 18px 18px 18px;
    padding: 14px 16px;
    font-size: 15px;
    line-height: 1.7;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
}
.qb-chat-assistant.qb-chat-error .qb-chat-bubble-text { color: #E74C3C; }
.qb-chat-img {
    max-width: 200px;
    border-radius: 8px;
    margin-bottom: 8px;
    display: block;
}
.qb-chat-thinking-panel {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #ECE8F5;
}
.qb-chat-thinking-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--qb-primary);
    font-weight: 600;
    margin-bottom: 6px;
    letter-spacing: 0.02em;
}
.qb-chat-thinking-stream {
    font-size: 12px;
    line-height: 1.65;
    color: #888;
    white-space: pre-wrap;
    word-break: break-word;
    max-height: 140px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.qb-chat-thinking-loading {
    display: none;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--qb-primary);
    font-weight: 600;
    margin-bottom: 8px;
}
.qb-chat-thinking-loading.active {
    display: flex;
}
.qb-chat-thinking-collapse {
    display: none;
    margin-bottom: 10px;
    background: #F8F6FC;
    border-radius: 10px;
    padding: 0 10px;
    border: 1px solid #EDE8F8;
}
.qb-chat-thinking-collapse summary {
    padding: 7px 0;
    font-size: 11px;
    color: #999;
    cursor: pointer;
    list-style: none;
}
.qb-chat-thinking-collapse summary::-webkit-details-marker { display: none; }
.qb-chat-thinking-body {
    padding: 0 0 8px;
    font-size: 12px;
    line-height: 1.6;
    color: #888;
    white-space: pre-wrap;
    word-break: break-word;
    max-height: 120px;
    overflow-y: auto;
}
.qb-chat-cursor {
    display: inline-block;
    width: 2px; height: 16px;
    background: var(--qb-primary);
    margin-left: 2px;
    vertical-align: text-bottom;
    animation: qb-blink 1s infinite;
}
@keyframes qb-blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}
.qb-chat-input-wrap {
    flex-shrink: 0;
    background: transparent;
    border-top: none;
    padding: 8px 0 calc(10px + env(safe-area-inset-bottom));
    box-shadow: 0 -6px 24px rgba(98, 38, 195, 0.06);
}
.qb-chat-input-inner {
    margin: 0 14px;
    padding: 10px 12px 8px;
    background: #fff;
    border-radius: 20px;
    border: 1px solid #EBEBEF;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
}
.qb-chat-image-preview {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    padding: 8px;
    background: #F8F9FC;
    border-radius: 12px;
}
.qb-chat-image-preview img {
    width: 48px; height: 48px;
    object-fit: cover;
    border-radius: 6px;
}
.qb-chat-clear-img {
    margin-left: auto;
    border: none;
    background: #ddd;
    width: 24px; height: 24px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
}
.qb-chat-input-bar {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    background: #F5F6F8;
    border-radius: 22px;
    padding: 6px 8px 6px 4px;
    border: 1px solid #EEEEF2;
}
.qb-chat-tool-btn {
    border: none;
    background: none;
    font-size: 20px;
    padding: 6px 8px;
    cursor: pointer;
    flex-shrink: 0;
    opacity: 0.85;
}
.qb-chat-input-bar textarea {
    flex: 1;
    border: none;
    background: transparent;
    resize: none;
    font-size: 15px;
    line-height: 1.45;
    max-height: 100px;
    padding: 8px 2px;
    outline: none;
    color: var(--qb-text);
}
.qb-chat-input-bar textarea::placeholder {
    color: #B0B4BE;
}
.qb-chat-send-btn {
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #6226C3, #2B58FB);
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(98, 38, 195, 0.25);
}
.qb-chat-send-btn:disabled {
    background: #CCC;
    cursor: not-allowed;
}
.qb-chat-toolbar {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    flex-wrap: nowrap;
}
.qb-chat-deep-btn {
    border: 1px solid #E8E8EC;
    background: #FAFAFC;
    color: #888;
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 14px;
    cursor: pointer;
    flex-shrink: 0;
    transition: all .2s;
    line-height: 1.5;
}
.qb-chat-deep-btn.active {
    border-color: #D4C4F5;
    background: #F3EEFF;
    color: var(--qb-primary);
    font-weight: 600;
}
.qb-chat-subject-select {
    width: auto;
    max-width: 84px;
    flex: none;
    border: 1px solid #E8E8EC;
    background: #FAFAFC;
    border-radius: 14px;
    font-size: 11px;
    color: #666;
    padding: 3px 6px 3px 8px;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23999' d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 6px center;
    padding-right: 18px;
    cursor: pointer;
}
