body[data-view="chat"] .workspace { height: 100dvh; min-height: 0; display: flex; flex-direction: column; padding-bottom: 16px; overflow: hidden; }
body.paid-preview[data-view="chat"] .workspace { height: calc(100dvh - 48px); }
.chat-layout { display: grid; grid-template-columns: 236px minmax(0, 1fr); flex: 1; min-height: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #141618; }
.chat-sidebar { display: flex; flex-direction: column; gap: 16px; min-height: 0; padding: 18px 12px 12px; background: #17191c; border-right: 1px solid var(--line); }
.chat-new { flex: 0 0 40px; width: 100%; border: 1px solid #385443; background: #203329; }
.chat-model-section, .chat-history-section { min-height: 0; display: flex; flex-direction: column; }
.chat-model-section { flex: 1; }
.chat-history-section { flex: 1.1; border-top: 1px solid var(--line); padding-top: 13px; }
.chat-section-heading { display: flex; justify-content: space-between; align-items: center; height: 30px; flex: 0 0 30px; padding: 0 8px; color: #a3abb5; font-size: 12px; font-weight: 600; }
.chat-section-heading .icon-button { width: 26px; height: 26px; padding: 0; background: transparent; color: #9ca7ae; }
.chat-models, .chat-history { overflow: auto; min-height: 0; scrollbar-width: thin; }
.chat-model-option { display: flex; align-items: center; width: 100%; min-height: 58px; gap: 10px; padding: 10px; text-align: left; border: 1px solid transparent; border-radius: 7px; background: transparent; color: #ced3d9; }
.chat-model-option > span:nth-child(2) { flex: 1; min-width: 0; }
.chat-model-option strong { display: block; font-size: 13px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-model-option small { display: block; color: #88949d; margin-top: 5px; font-size: 11px; }
.chat-model-option:hover { background: #22282a; }
.chat-model-option.selected { background: #203329; border-color: #304c3c; color: #a2e9bd; }
.chat-model-symbol { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; flex: 0 0 28px; background: #27323a; color: #b6c9e1; font-size: 14px; }
.chat-model-symbol img { display: block; width: 21px; height: 21px; object-fit: contain; }
.chat-model-symbol img[src$="/openai.svg"], .chat-model-symbol img[src$="/anthropic.svg"], .chat-welcome-logo img[src$="/openai.svg"], .chat-welcome-logo img[src$="/anthropic.svg"] { filter: brightness(0) invert(1); }
.chat-model-symbol.chat-brand-gemini, .chat-welcome-brand.chat-brand-gemini .chat-welcome-logo { background: #34302b; color: #e6c39a; }
.chat-model-symbol.chat-brand-deepseek, .chat-welcome-brand.chat-brand-deepseek .chat-welcome-logo, .chat-model-symbol.chat-brand-qwen, .chat-welcome-brand.chat-brand-qwen .chat-welcome-logo { background: #303043; color: #c8b9eb; }
.chat-model-check { width: 14px; color: #79dda8; }
#chat-history-search { width: 100%; min-height: 33px; padding: 7px 10px; margin: 7px 0 9px; font-size: 12px; flex: 0 0 auto; }
.chat-history-group { font-size: 11px; color: #76818b; padding: 12px 9px 6px; }
.chat-history-row { display: flex; align-items: center; gap: 2px; border-radius: 6px; min-height: 36px; padding-right: 5px; }
.chat-history-row:hover, .chat-history-row.selected { background: #252c2a; }
.chat-history-open { min-width: 0; flex: 1; text-align: left; padding: 9px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; border: 0; color: #bbc2cb; background: transparent; font-size: 12px; }
.chat-history-action { flex: 0 0 22px; width: 22px; height: 25px; padding: 0; border: 0; background: transparent; color: #899790; opacity: 0; }
.chat-history-row:hover .chat-history-action, .chat-history-row:focus-within .chat-history-action { opacity: 1; }
.chat-empty-list { padding: 22px 9px; line-height: 1.9; color: #7f8a92; font-size: 12px; }
.chat-main { min-height: 0; min-width: 0; display: flex; flex-direction: column; background: #141618; }
.chat-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 69px; border-bottom: 1px solid #262b2e; padding: 14px 28px; }
.chat-header > div { min-width: 0; }
.chat-header strong { display: block; font-size: 15px; overflow-wrap: anywhere; }
.chat-header div > span { display: block; font-size: 11px; color: #7d8993; margin-top: 6px; overflow-wrap: anywhere; }
.chat-private { color: #7f8e87; font-size: 11px; flex: 0 0 auto; }
.chat-settings-button { border: 1px solid #4b8d67; border-radius: 7px; background: #20382b; padding: 8px 12px; color: #b7f2c9; font-size: 12px; font-weight: 600; box-shadow: 0 0 0 1px rgba(116, 213, 155, .08), 0 5px 18px rgba(31, 112, 67, .16); }
.chat-settings-button:hover, .chat-settings-button:focus-visible { border-color: #74d59b; background: #2a4a37; color: #e0ffe8; outline: none; box-shadow: 0 0 0 3px rgba(116, 213, 155, .12), 0 7px 22px rgba(31, 112, 67, .22); }
.chat-settings-button:disabled { opacity: .45; cursor: not-allowed; }
.chat-messages { flex: 1; min-height: 0; overflow: auto; padding: 20px max(24px, calc((100% - 880px) / 2)); scrollbar-width: thin; }
.chat-welcome { min-height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 30px 12px; }
.chat-welcome-brand { display: grid; justify-items: center; gap: 10px; margin-bottom: 18px; }
.chat-welcome-logo { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 14px; background: #27323a; color: #b6c9e1; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06), 0 10px 24px rgba(0, 0, 0, .16); }
.chat-welcome-logo img { display: block; width: 56px; height: 56px; border-radius: 14px; padding: 8px; background: transparent; color: inherit; object-fit: contain; }
.chat-welcome-brand .eyebrow { color: #73d69a; }
.chat-welcome .eyebrow { font-size: 10px; letter-spacing: 2px; }
.chat-welcome h2 { font-size: 26px; margin: 12px 0; font-weight: 600; }
.chat-welcome p { color: #8f9aa4; max-width: 470px; line-height: 1.9; white-space: pre-line; overflow-wrap: anywhere; margin: 0; }
.chat-welcome-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin-top: 26px; color: #6e8078; font-size: 11px; }
.chat-composer-wrap { flex: 0 0 auto; padding: 8px max(24px, calc((100% - 880px) / 2)) 12px; }
.chat-composer { border: 1px solid #3a5447; border-radius: 12px; background: #1b1f21; padding: 13px; transition: border-color .15s; }
.chat-composer:focus-within, .chat-composer.dragover { border-color: #61c58c; }
#chat-prompt { width: 100%; min-height: 85px; max-height: 240px; resize: vertical; border: 0; background: transparent; box-shadow: none; padding: 2px 3px; line-height: 1.7; font-size: 14px; }
.chat-composer-toolbar, .chat-composer-tools { display: flex; align-items: center; gap: 10px; }
.chat-composer-toolbar { justify-content: flex-end; margin-top: 10px; min-height: 35px; }
.chat-composer-tools { flex: 1 1 auto; min-width: 0; }
.chat-composer-tools .icon-button { background: transparent; color: #a6b7af; padding: 6px; width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; }
.chat-skill-picker { position: relative; flex: 0 0 auto; }
.chat-skill-trigger { display: inline-flex; align-items: center; gap: 5px; min-height: 32px; padding: 5px 8px; border: 1px solid transparent; border-radius: 6px; background: transparent; color: #a6b7af; font-size: 12px; white-space: nowrap; }
.chat-skill-trigger:hover, .chat-skill-trigger:focus-visible, .chat-skill-trigger[aria-expanded="true"] { border-color: #385443; background: #203329; color: #a2e9bd; outline: none; }
.chat-skill-trigger:disabled { opacity: .45; cursor: not-allowed; }
.chat-skill-trigger-icon { color: #8fdbab; font-size: 15px; line-height: 1; }
.chat-skill-count { min-width: 17px; height: 17px; padding: 0 4px; display: inline-grid; place-items: center; border-radius: 9px; background: #315842; color: #b8f0c9; font-size: 10px; }
.chat-skill-count:empty { display: none; }
.chat-skill-menu { position: absolute; z-index: 40; bottom: calc(100% + 9px); left: 0; width: min(330px, calc(100vw - 36px)); padding: 9px; border: 1px solid #3b5146; border-radius: 9px; background: #171c1e; box-shadow: 0 16px 40px rgba(0, 0, 0, .35); }
.chat-skill-menu-heading { display: grid; gap: 3px; padding: 3px 5px 8px; border-bottom: 1px solid #293530; }
.chat-skill-menu-heading strong { color: #cedbd1; font-size: 12px; }
.chat-skill-menu-heading span { color: #788a80; font-size: 10px; line-height: 1.5; }
.chat-skill-options { max-height: 228px; overflow: auto; padding: 5px 0; }
.chat-skill-option { display: flex; align-items: flex-start; gap: 8px; padding: 8px 5px; border-radius: 6px; cursor: pointer; }
.chat-skill-option:hover { background: #222d29; }
.chat-skill-option input { width: 15px; height: 15px; margin: 2px 0 0; accent-color: #74d59b; flex: 0 0 auto; }
.chat-skill-option span { min-width: 0; display: grid; gap: 3px; }
.chat-skill-option strong { color: #cdd9d0; font-size: 12px; font-weight: 600; overflow-wrap: anywhere; }
.chat-skill-option small { color: #829188; font-size: 10px; line-height: 1.5; overflow-wrap: anywhere; }
.chat-skill-menu-empty { padding: 18px 8px; color: #829188; font-size: 12px; line-height: 1.8; text-align: center; }
.chat-skill-menu-empty small { font-size: 10px; }
.chat-skill-menu-actions { display: flex; justify-content: space-between; gap: 8px; padding: 7px 3px 1px; border-top: 1px solid #293530; }
.chat-skill-menu-link { border: 0; background: transparent; color: #91c6a4; padding: 4px 2px; font-size: 11px; }
.chat-skill-menu-link:hover { color: #c0f0ce; }
.chat-upload-state { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-reasoning { display: flex; flex-direction: row; align-items: center; gap: 8px; color: #82958a; font-size: 12px; white-space: nowrap; }
.chat-reasoning select { padding: 5px 22px 5px 8px; border: 1px solid #34483c; border-radius: 6px; width: 90px; height: 30px; background: #222e27; color: #b5d5c1; font-size: 12px; }
.chat-send { position: relative; display: grid; place-items: center; width: 30px; height: 30px; flex: 0 0 30px; padding: 0; border: 0; border-radius: 50%; background: #20c878; color: #fff; font-size: 0; box-shadow: none; transition: transform .16s, background .16s, box-shadow .16s; }
.chat-send-arrow { display: block; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.chat-send-stop-mark { display: block; width: 10px; height: 10px; border-radius: 2px; background: currentColor; }
.chat-send:hover { background: #2bd486; box-shadow: 0 3px 10px rgba(32, 200, 120, .22); transform: translateY(-1px); }
.chat-send:active { transform: translateY(0) scale(.95); }
.chat-send:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(116, 213, 155, .24); }
.chat-send[aria-label="停止生成"] { border-color: rgba(255, 211, 163, .46); background: linear-gradient(145deg, #e9b978 0%, #ce8054 100%); color: #fff4e3; box-shadow: 0 8px 18px rgba(183, 105, 57, .24), inset 0 1px 0 rgba(255, 255, 255, .24); }
.chat-send[aria-label="停止生成"] .chat-send-stop-mark { box-shadow: 0 0 0 3px rgba(255, 244, 227, .12); }
.chat-send[aria-label="停止生成"]:hover { border-color: rgba(255, 231, 202, .78); background: linear-gradient(145deg, #f0c788 0%, #dc9165 100%); box-shadow: 0 11px 24px rgba(183, 105, 57, .32), inset 0 1px 0 rgba(255, 255, 255, .3); }
.chat-send:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.chat-composer-footnote { display: flex; justify-content: space-between; gap: 12px; margin-top: 9px; color: #69767f; font-size: 10px; line-height: 1.7; }
.chat-composer-footnote > span { min-width: 0; overflow-wrap: anywhere; }
.chat-composer-footnote > span:last-child { flex: 0 0 auto; }
#chat-error { margin: 6px 0 0; font-size: 12px; overflow-wrap: anywhere; }
.chat-attachments, .chat-message-files { display: flex; flex-wrap: wrap; gap: 7px; }
.chat-attachments:not(:empty) { padding-bottom: 10px; }
.chat-file-chip { display: flex; align-items: center; gap: 8px; max-width: 220px; min-width: 0; padding: 6px 9px; background: #222a2d; border: 1px solid #354248; border-radius: 7px; }
.chat-file-chip img, .chat-file-icon { width: 28px; height: 28px; object-fit: cover; border-radius: 4px; flex: 0 0 28px; }
.chat-file-icon { display: grid; place-items: center; color: #afc5dd; background: #2d3b46; }
.chat-file-chip a { color: #b7c9d7; font-size: 12px; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; text-decoration: none; }
.chat-file-chip button { border: 0; color: #a9b8ad; background: transparent; padding: 3px; }
.chat-file-details { display: grid; gap: 3px; min-width: 0; }
.chat-file-details small { color: #8fa5b4; font-size: 10px; white-space: nowrap; }
.chat-video-icon { color: #a4e5c0; background: #29463a; }
.chat-turn { padding: 12px 0 28px; }
.chat-user-message { margin-left: auto; width: fit-content; max-width: 88%; border: 1px solid #32453a; border-radius: 13px 13px 3px 13px; padding: 13px 17px; background: #213027; color: #d0dbd4; overflow-wrap: anywhere; line-height: 1.8; }
.chat-user-message .chat-message-files:not(:empty) { margin-bottom: 7px; }
.chat-assistant-heading { display: flex; align-items: center; gap: 9px; margin: 24px 0 13px; font-size: 12px; }
.chat-assistant-heading > span:last-child { color: #7c8f84; font-size: 11px; }
.chat-assistant-avatar { background: #224b32; color: #8ae4ad; width: 25px; height: 25px; border-radius: 7px; display: grid; place-items: center; }
.chat-answer { line-height: 1.85; font-size: 14px; overflow-wrap: anywhere; color: #d0d6db; }
.chat-answer > :first-child { margin-top: 0; }
.chat-answer pre { position: relative; white-space: pre-wrap; overflow: auto; max-width: 100%; background: #0e1216; border: 1px solid #2c363e; border-radius: 8px; padding: 37px 16px 16px; font-size: 12px; color: #b7ccdf; }
.chat-answer code { font-family: Consolas, monospace; }
.chat-answer table { display: block; max-width: 100%; overflow: auto; border-collapse: collapse; }
.chat-answer th, .chat-answer td { border: 1px solid #34413c; padding: 8px 12px; }
.chat-answer a { color: #9fbfdf; }
.chat-answer blockquote { border-left: 3px solid #4c6a57; margin-left: 0; padding-left: 16px; color: #a0b4a7; }
.chat-streaming { white-space: pre-wrap; }
.chat-code-copy { position: absolute; top: 6px; right: 8px; background: #273039; color: #aebfce; border: 0; border-radius: 4px; padding: 4px 9px; font-size: 11px; }
.chat-message-meta { display: flex; flex-wrap: wrap; gap: 10px; color: #708277; font-size: 10px; padding-top: 12px; line-height: 1.8; }
.chat-message-meta button { padding: 0; border: 0; background: transparent; color: #859c8e; font-size: 11px; }
.chat-warning { color: #d6b67b; }
.chat-thinking { display: inline-flex; align-items: baseline; color: #82978b; }
.chat-thinking-dots { display: inline-flex; gap: 3px; margin-left: 5px; }
.chat-thinking-dots i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .35; animation: chat-thinking-bounce 1.15s infinite ease-in-out; }
.chat-thinking-dots i:nth-child(2) { animation-delay: .16s; }
.chat-thinking-dots i:nth-child(3) { animation-delay: .32s; }
@keyframes chat-thinking-bounce { 0%, 60%, 100% { opacity: .35; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) { .chat-thinking-dots i { animation: none; opacity: .75; } }
.chat-skill-modal { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 24px; background: rgba(6, 10, 10, .72); }
body:has(#chat-skill-modal:not(.hidden)) > .toast { z-index: 110; top: 50%; right: auto; bottom: auto; left: 50%; min-width: 120px; text-align: center; transform: translate(-50%, calc(-50% + 12px)); }
body:has(#chat-skill-modal:not(.hidden)) > .toast.show { transform: translate(-50%, -50%); }
.chat-skill-dialog { width: min(820px, 100%); max-height: min(760px, calc(100dvh - 48px)); overflow: auto; border: 1px solid #3b5146; border-radius: 12px; background: #171c1e; color: #d1d9d3; box-shadow: 0 24px 80px rgba(0, 0, 0, .45); }
.chat-skill-modal-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 20px 22px; border-bottom: 1px solid #2a3831; }
.chat-skill-modal-header > div { min-width: 0; display: grid; gap: 7px; }
.chat-skill-modal-header strong { font-size: 17px; }
.chat-skill-modal-header span { color: #85978d; font-size: 11px; line-height: 1.7; overflow-wrap: anywhere; }
.chat-skill-modal-header .icon-button { flex: 0 0 32px; background: #202a27; color: #a8b9ae; }
.chat-skill-manager { display: grid; grid-template-columns: minmax(190px, .72fr) minmax(0, 1.28fr); min-height: 410px; }
.chat-skill-library { min-width: 0; padding: 17px 13px; border-right: 1px solid #2a3831; }
.chat-skill-library-heading, .chat-skill-editor-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.chat-skill-library-actions { display: flex; align-items: center; gap: 6px; }
.chat-skill-library-heading { padding: 0 5px 10px; color: #b9c9be; font-size: 12px; }
.chat-skill-library-actions .secondary-button { padding: 5px 8px; border: 1px solid #385443; background: #203329; color: #a2e9bd; font-size: 11px; white-space: nowrap; }
.chat-skill-list { display: grid; gap: 5px; max-height: 510px; overflow: auto; }
.chat-skill-list-row { display: flex; align-items: stretch; gap: 2px; min-width: 0; border: 1px solid transparent; border-radius: 7px; }
.chat-skill-list-row.selected, .chat-skill-list-row:hover { border-color: #385443; background: #203329; }
.chat-skill-list-open { flex: 1; min-width: 0; display: grid; gap: 4px; border: 0; background: transparent; color: #c7d3ca; padding: 9px 7px; text-align: left; }
.chat-skill-list-open strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.chat-skill-list-open small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #7e9186; font-size: 10px; }
.chat-skill-list-delete { align-self: center; flex: 0 0 25px; width: 25px; height: 25px; margin-right: 5px; border: 0; border-radius: 5px; background: transparent; color: #7d8d84; }
.chat-skill-list-delete:hover { background: #442d2d; color: #edaaa0; }
.chat-skill-empty { padding: 24px 8px; color: #7e9186; font-size: 11px; line-height: 1.8; text-align: center; }
.chat-skill-editor { min-width: 0; display: grid; align-content: start; gap: 14px; padding: 18px 22px 22px; }
.chat-skill-editor-heading { padding-bottom: 3px; }
.chat-skill-editor-heading > div { display: grid; gap: 6px; }
.chat-skill-editor-heading strong { font-size: 14px; }
.chat-skill-editor-heading span { color: #829188; font-size: 10px; line-height: 1.5; }
.chat-skill-editor > label { display: grid; gap: 7px; color: #aebdb2; font-size: 12px; }
.chat-skill-editor input, .chat-skill-editor textarea { width: 100%; border: 1px solid #3b5146; border-radius: 6px; background: #111718; color: #d6e0d9; padding: 9px 10px; }
.chat-skill-editor input { min-height: 38px; }
.chat-skill-editor textarea { min-height: 190px; resize: vertical; line-height: 1.7; }
.chat-skill-editor input:focus, .chat-skill-editor textarea:focus { border-color: #68c891; outline: 0; box-shadow: 0 0 0 2px rgba(104, 200, 145, .12); }
.chat-skill-editor #chat-skill-form-error { min-height: 18px; margin: -4px 0 0; }
.chat-skill-editor-actions { display: flex; justify-content: flex-end; gap: 8px; padding-top: 3px; }
.chat-skill-editor-actions .secondary-button { background: #26302d; color: #acbdb2; }
.chat-skill-editor-actions .primary-button { padding: 9px 14px; }
.text-admin-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.text-admin-tabs { display: flex; gap: 6px; }
.text-admin-tabs button { border: 1px solid transparent; background: transparent; color: #89969d; padding: 9px 14px; border-radius: 6px; }
.text-admin-tabs button.active { color: #9be5b9; border-color: #375340; background: #203629; }
.text-admin-editor { margin-bottom: 24px; border-top: 1px solid #38463d; padding: 20px 0; }
.text-admin-editor h3 { margin-top: 0; }
.text-admin-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.text-admin-grid label { min-width: 0; }
.text-admin-grid input, .text-admin-grid select, .text-admin-grid textarea { width: 100%; }
.text-admin-full { grid-column: 1 / -1; }
.text-price-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; padding: 15px 0; }
.text-price-grid input { width: 100%; }
.text-binding-row { display: grid; grid-template-columns: 24px minmax(120px, 1fr) minmax(100px, 1.5fr) 110px; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); padding: 10px 0; }
.text-binding-row > input[type="checkbox"], .text-binding-row input[type="radio"] { width: 16px; }
.text-binding-row label { display: flex; flex-direction: row; align-items: center; gap: 8px; font-size: 12px; }
.text-binding-row > span { overflow-wrap: anywhere; }
.text-editor-actions { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.text-model-table { table-layout: fixed; min-width: 1060px; }
.text-model-table th, .text-model-table td { white-space: normal; overflow-wrap: anywhere; font-size: 12px; }
.text-model-table small { display: block; color: #84939f; margin-top: 5px; }
.text-model-table th:nth-child(1) { width: 20%; }
.text-model-table th:nth-child(2) { width: 15%; }
.text-model-table th:nth-child(3) { width: 29%; }
.text-model-table th:nth-child(4) { width: 8%; }
.text-model-table th:nth-child(5) { width: 28%; }
.text-model-actions { display: flex; align-items: center; gap: 6px; }
.text-model-actions .table-action { flex: 0 0 auto; height: 32px; margin: 0; }
.text-channel-select { flex: 1 1 140px; width: 140px; min-width: 0; max-width: 190px; height: 32px; padding: 4px 8px; border-radius: 5px; font-size: 12px; text-overflow: ellipsis; }
.text-price-lines { line-height: 2; color: #9cb8a8; }
.text-admin-hint { color: #85958c; font-size: 12px; line-height: 1.9; }
.text-request-actions { display: flex; gap: 6px; flex-wrap: wrap; }
@media (max-width: 1200px) {
  .chat-layout { grid-template-columns: 205px minmax(0, 1fr); }
  .chat-composer-footnote > span:last-child { display: none; }
  .text-admin-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .text-price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  body[data-view="chat"] .workspace { height: auto; min-height: 80dvh; overflow: visible; padding: 14px; }
  .chat-layout { grid-template-columns: minmax(0, 1fr); min-height: 75dvh; overflow: visible; }
  .chat-sidebar { max-height: 270px; border-right: 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 9px; padding: 10px; }
  .chat-new { grid-column: 1 / -1; height: 34px; }
  .chat-model-section, .chat-history-section { max-height: 195px; overflow: hidden; }
  .chat-history-section { border-top: 0; padding-top: 0; }
  .chat-model-option { padding: 7px 3px; gap: 5px; min-height: 48px; }
  .chat-model-symbol { width: 23px; height: 23px; flex-basis: 23px; }
  .chat-model-option strong { font-size: 11px; }
  .chat-model-check { width: 10px; }
  .chat-header { padding: 14px; }
  .chat-history-action { opacity: 1; width: 19px; flex-basis: 19px; }
  .chat-main { min-height: 62dvh; max-height: 100dvh; }
  .chat-messages { padding: 12px 16px; min-height: 180px; }
  .chat-welcome { padding: 18px 3px; }
  .chat-welcome h2 { font-size: 22px; }
  .chat-composer-wrap { padding: 10px 12px; }
  .chat-composer { padding: 9px; }
  .chat-composer-tools { gap: 3px; }
  .chat-skill-trigger { padding-left: 5px; padding-right: 5px; }
  .chat-skill-menu { left: auto; right: 0; }
  .chat-reasoning { gap: 4px; font-size: 11px; }
  #chat-upload-state { max-width: 70px; font-size: 10px; overflow-wrap: anywhere; }
  .chat-skill-modal { padding: 10px; }
  .chat-skill-dialog { max-height: calc(100dvh - 20px); }
  .chat-skill-modal-header { padding: 15px; }
  .chat-skill-manager { grid-template-columns: 1fr; }
  .chat-skill-library { max-height: 210px; border-right: 0; border-bottom: 1px solid #2a3831; padding: 12px 10px; }
  .chat-skill-list { max-height: 145px; }
  .chat-skill-editor { padding: 15px; }
  .chat-skill-editor textarea { min-height: 150px; }
  .text-admin-grid, .text-price-grid { grid-template-columns: minmax(0, 1fr); }
  .text-binding-row { grid-template-columns: 20px minmax(70px, 1fr) minmax(60px, 1fr); }
  .text-binding-row > label { grid-column: 2 / -1; }
}
