:root {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #2f2f2f;
  background: #fff;
  font-size: 15px;
}
* { box-sizing: border-box; }
body { margin: 0; height: 100vh; overflow: hidden; background: #fff; }
button { font: inherit; }
.app-shell { display: flex; height: 100vh; }
.sidebar { width: 263px; background: #f7f7f8; border-right: 1px solid #e5e5e5; padding: 0 7px; display: flex; flex-direction: column; }
.brand-row { height: 66px; display: flex; align-items: center; justify-content: space-between; padding: 0 12px; }
.brand { font-size: 21px; font-weight: 600; letter-spacing: -.5px; }
.sidebar-actions { display: flex; gap: 7px; }
.icon-btn, .help-btn { border: 0; background: transparent; color: #555; font-size: 24px; cursor: pointer; width: 32px; height: 32px; border-radius: 8px; }
.icon-btn:hover, .help-btn:hover { background: #e9e9ea; }
.new-chat { width: 100%; height: 45px; border: 0; border-radius: 12px; background: #ececee; display: flex; align-items: center; gap: 12px; padding: 0 14px; font-size: 16px; cursor: pointer; text-align: left; }
.new-chat:hover { background: #e3e3e5; }
.new-chat-icon { font-size: 22px; transform: rotate(-45deg); display: inline-block; }
.recent-label { color: #777; font-size: 13px; padding: 26px 10px 10px; }
.conversation-list { display: flex; flex-direction: column; gap: 2px; overflow: auto; }
.conversation-row { display: flex; align-items: center; gap: 2px; min-width: 0; }
.conversation-row .conversation-item { flex: 1 1 auto; min-width: 0; }
.conversation-item { border: 0; background: transparent; text-align: left; border-radius: 8px; padding: 10px 9px; cursor: pointer; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.conversation-item:hover, .conversation-item.active { background: #e7e7e8; }
.conversation-delete { flex: 0 0 auto; width: 28px; height: 30px; border: 0; border-radius: 8px; background: transparent; color: #777; cursor: pointer; opacity: 0; font-size: 18px; line-height: 1; }
.conversation-row:hover .conversation-delete, .conversation-delete:focus-visible { opacity: 1; }
.conversation-delete:hover { background: #e3e3e5; color: #222; }
.sidebar-spacer { flex: 1; }
.instruction-link { border: 0; background: transparent; text-align: left; color: #555; padding: 10px 9px; border-radius: 8px; cursor: pointer; }
.instruction-link:hover { background: #e7e7e8; }
.profile-row { display: flex; align-items: center; gap: 10px; width: 100%; border: 0; border-top: 1px solid #e5e5e5; background: transparent; padding: 14px 8px; text-align: left; cursor: pointer; }
.profile-row:hover { background: #ededee; }.avatar { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 auto; color: #fff; background: #20a97b; font-size: 11px; }
.profile-copy { min-width: 0; display: flex; flex-direction: column; }.profile-name { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.profile-plan { font-size: 12px; color: #888; margin-top: 2px; }.profile-more { margin-left: auto; color: #777; }
.profile-menu { position: absolute; left: 12px; bottom: 67px; z-index: 8; width: 235px; padding: 12px; border: 1px solid #dedede; border-radius: 14px; background: #fff; box-shadow: 0 12px 35px #0002; }.profile-menu-email { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 600; }.profile-menu-hint { margin: 4px 0 10px; color: #888; font-size: 12px; line-height: 1.4; }.profile-menu-action { width: 100%; border: 0; border-radius: 8px; background: #f2f2f2; padding: 8px 10px; text-align: left; cursor: pointer; }.profile-menu-action:hover { background: #e9e9e9; }.sidebar { position: relative; }
.main-panel { flex: 1; min-width: 0; display: flex; flex-direction: column; background: #fff; }
.topbar { height: 66px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 28px; }
.chat-pill { justify-self: center; padding: 10px 38px; border: 1px solid #e5e5e5; border-radius: 24px; box-shadow: 0 1px 5px #0000000d; font-size: 15px; }.help-btn { justify-self: end; font-size: 22px; }
.sync-btn { justify-self: start; border: 0; border-radius: 9px; padding: 7px 10px; background: transparent; color: #777; font-size: 12px; cursor: pointer; }.sync-btn:hover:not(:disabled) { background: #f2f2f2; color: #222; }.sync-btn:disabled { opacity: .45; cursor: default; }
.chat-area { flex: 1; min-height: 0; overflow: auto; }.empty-state { display: grid; place-items: center; }
.welcome { width: min(1154px, calc(100% - 40px)); margin: -30px auto 0; }
.welcome h1 { text-align: center; font-size: 32px; line-height: 1.25; font-weight: 400; letter-spacing: -.8px; margin: 0 0 51px; color: #171717; }
.message-list { width: min(820px, calc(100% - 48px)); margin: 20px auto 140px; display: flex; flex-direction: column; gap: 24px; }
.conversation-disabled { padding: 10px 14px; border: 1px solid #f0d9a6; border-radius: 10px; background: #fff8e7; color: #8a6116; font-size: 13px; }
.conversation-loading { display: flex; min-height: 160px; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: #6b6b6b; font-size: 13px; }
.message { display: flex; flex-direction: column; gap: 7px; line-height: 1.65; }.message.user { align-items: flex-end; }
.message.user .bubble { background: #e8f3ff; border-radius: 20px 20px 5px 20px; padding: 11px 16px; max-width: 78%; white-space: pre-wrap; }.message.assistant .bubble { max-width: 100%; padding: 3px 2px; }
.message-meta { font-size: 12px; color: #999; }.candidate-stack { display: flex; gap: 14px; overflow-x: auto; }.candidate-card { min-width: 270px; flex: 1; border: 1px solid #e3e3e3; border-radius: 16px; padding: 16px; box-shadow: 0 2px 12px #00000008; }
.candidate-title { font-weight: 600; margin-bottom: 8px; }.code-block { display: block; background: #f5f5f5; border-radius: 8px; padding: 12px; white-space: pre-wrap; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 13px; }
.message-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; opacity: .72; transition: opacity .15s ease; }.message:hover .message-actions, .message-actions:focus-within { opacity: 1; }.message-actions button { border: 0; border-radius: 7px; background: #f4f4f4; color: #666; padding: 5px 8px; font-size: 11px; cursor: pointer; }.message-actions button:hover:not(:disabled) { background: #e9e9e9; color: #222; }.message-actions button.selected { background: #e5e7eb; color: #111; box-shadow: inset 0 0 0 1px #9ca3af; }.message-actions button:disabled { opacity: .45; cursor: default; }.user-message-footer { display: flex; justify-content: flex-end; align-items: center; gap: 8px; max-width: 100%; }.user-actions { justify-content: flex-end; margin-top: 0; }.candidate-nav { display: inline-flex; align-items: center; gap: 7px; margin-top: 10px; color: #777; font-size: 12px; }.candidate-nav.user-variant-nav { margin-top: 0; }.candidate-nav button { border: 0; background: #f2f2f2; border-radius: 7px; width: 23px; height: 23px; line-height: 18px; cursor: pointer; color: #555; }.candidate-nav button:hover:not(:disabled) { background: #e6e6e6; }.candidate-nav button:disabled { opacity: .45; cursor: default; }
.edit-box { width: min(620px, 100%); margin-left: auto; }.edit-box textarea { width: 100%; min-height: 86px; resize: vertical; border: 1px solid #d8d8d8; border-radius: 15px; padding: 12px 14px; font: inherit; line-height: 1.55; outline: 0; }.edit-box textarea:focus { border-color: #8ab4f8; box-shadow: 0 0 0 3px #8ab4f833; }.edit-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 8px; }.edit-actions .ghost-btn, .edit-actions .primary-btn { padding: 6px 10px; font-size: 12px; }
.assistant-rich { color: #242424; font-size: 16px; line-height: 1.75; overflow-wrap: anywhere; }.assistant-rich > :first-child { margin-top: 0; }.assistant-rich > :last-child { margin-bottom: 0; }.assistant-rich p { margin: 0 0 1em; }.assistant-rich h1, .assistant-rich h2, .assistant-rich h3, .assistant-rich h4 { color: #171717; line-height: 1.35; margin: 1.5em 0 .7em; font-weight: 650; }.assistant-rich h1 { font-size: 1.6em; }.assistant-rich h2 { font-size: 1.38em; }.assistant-rich h3 { font-size: 1.18em; }.assistant-rich ul, .assistant-rich ol { padding-left: 1.6em; margin: .65em 0 1em; }.assistant-rich li { margin: .25em 0; }.assistant-rich blockquote { margin: 1em 0; padding: .2em 0 .2em 1em; border-left: 3px solid #d8d8d8; color: #666; }.assistant-rich pre { overflow-x: auto; margin: 1em 0; padding: 14px; border-radius: 10px; background: #f5f5f5; }.assistant-rich code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .9em; }.assistant-rich :not(pre) > code { padding: .16em .35em; border-radius: 5px; background: #f1f1f1; }.assistant-rich .source-link { display: inline-flex; align-items: center; max-width: 190px; margin-left: 4px; padding: 2px 7px; border-radius: 999px; background: #f1f1f1; color: #666; font-size: 11px; line-height: 1.35; text-decoration: none; vertical-align: middle; overflow: hidden; }.assistant-rich .source-link:hover { background: #e6e6e6; color: #222; }.assistant-rich .source-link span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.assistant-rich .assistant-image { display: block; width: auto; max-width: min(100%, 330px); max-height: 240px; height: auto; object-fit: contain; margin: 10px 0; border-radius: 12px; }.assistant-rich table { width: 100%; border-collapse: collapse; margin: 1em 0; }.assistant-rich th, .assistant-rich td { padding: 8px 10px; border: 1px solid #ddd; text-align: left; }
.assistant-markdown-image { display: block; width: auto; max-width: min(100%, 330px); max-height: 240px; height: auto; object-fit: contain; margin: 10px 0; border-radius: 12px; }
.assistant-rich [data-proxy-generated-file] { cursor: pointer; }.assistant-rich [data-proxy-generated-file]:disabled { cursor: wait; opacity: .6; }.assistant-rich .proxy-generated-file-icon { display: inline-flex; align-items: center; justify-content: center; margin-right: .35em; font-weight: 700; }
.composer-wrap { padding: 0 24px 12px; }.composer { width: 100%; min-height: 80px; border: 1px solid #e5e5e5; box-shadow: 0 8px 30px rgba(0,0,0,.07); border-radius: 40px; padding: 10px 11px 10px 22px; display: flex; align-items: center; gap: 20px; background: #fff; }
.composer-empty { width: min(770px, 100%); margin: auto; }.composer-btn { flex: 0 0 auto; border: 0; background: transparent; color: #171717; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }.composer-btn:hover:not(:disabled) { background: #f0f0f0; }.composer-btn:disabled { opacity: .42; cursor: default; }
.attach-btn { font-size: 32px; font-weight: 300; line-height: 1; }.attach-btn svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }.editor-shell { flex: 1 1 auto; min-width: 0; min-height: 34px; max-height: 160px; padding: 0; outline: 0; font-size: 24px; line-height: 1.4; color: #2f2f2f; overflow-y: auto; white-space: pre-wrap; word-break: break-word; }
.editor-shell:empty::before { content: attr(data-placeholder); color: #929292; pointer-events: none; }.right-tools { display: flex; align-items: center; gap: 10px; }.model-btn { width: auto; min-width: 36px; color: #777; font-size: 22px; font-weight: 400; }.mic-btn { font-size: 25px; }
.attachment-strip { display: flex; flex: 0 1 auto; align-items: center; gap: 8px; max-width: 42%; overflow-x: auto; }.attachment-chip { display: flex; align-items: center; gap: 7px; min-width: 145px; max-width: 220px; padding: 7px 8px; border: 1px solid #e3e3e3; border-radius: 12px; background: #f8f8f8; }.attachment-chip-icon { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 7px; background: #e7eefc; color: #3478f6; }.attachment-chip-text { min-width: 0; display: flex; flex-direction: column; overflow: hidden; }.attachment-chip-text strong, .attachment-chip-text small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.attachment-chip-text strong { font-size: 12px; font-weight: 500; }.attachment-chip-text small { color: #888; font-size: 10px; margin-top: 2px; }.attachment-chip button { border: 0; background: transparent; color: #777; font-size: 18px; cursor: pointer; padding: 0 2px; }
.message-attachments { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 9px; }.message-attachment { display: flex; align-items: center; gap: 8px; min-width: 180px; max-width: 280px; padding: 8px 10px; border: 1px solid #e3e3e3; border-radius: 11px; background: #fafafa; }.message-attachment-icon { display: grid; width: 28px; height: 28px; flex: 0 0 auto; place-items: center; color: #3478f6; border-radius: 7px; background: #e8f1ff; }.message-attachment-preview { display: block; width: 42px; height: 42px; flex: 0 0 auto; border-radius: 7px; object-fit: cover; background: #eef2f7; }.message-attachment > span:last-child { display: flex; flex: 1; flex-direction: column; min-width: 0; }.message-attachment strong, .message-attachment small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.message-attachment strong { font-size: 12px; font-weight: 500; }.message-attachment small { color: #888; font-size: 10px; margin-top: 2px; }.message-attachment.failed { border-color: #efc4c4; background: #fff6f6; }.message-attachment.failed .message-attachment-icon, .message-attachment.failed small { color: #a12626; }.attachment-progress { height: 3px; margin-top: 5px; overflow: hidden; border-radius: 999px; background: #dedede; }.attachment-progress i { display: block; height: 100%; border-radius: inherit; background: #3478f6; transition: width .15s linear; }
.assistant-loading { display: inline-flex; align-items: center; gap: 5px; min-height: 28px; padding: 5px 2px; }.assistant-loading span { width: 7px; height: 7px; border-radius: 50%; background: #8b8b8b; animation: assistant-loading-bounce 1.15s infinite ease-in-out; }.assistant-loading span:nth-child(2) { animation-delay: .14s; }.assistant-loading span:nth-child(3) { animation-delay: .28s; }
.assistant-activity { display: inline-flex; align-items: center; gap: 9px; min-width: 180px; max-width: min(100%, 420px); margin: 0 0 8px; padding: 9px 12px; border: 1px solid #e2e2e2; border-radius: 12px; background: #fafafa; color: #555; }.assistant-activity-icon { display: grid; place-items: center; width: 25px; height: 25px; flex: 0 0 auto; border-radius: 8px; background: #ececec; color: #444; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 11px; }.assistant-activity > span:last-child { display: grid; min-width: 0; }.assistant-activity strong { color: #333; font-size: 12px; font-weight: 600; }.assistant-activity small { margin-top: 1px; overflow: hidden; color: #888; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }.assistant-activity.search .assistant-activity-icon, .assistant-activity.browser .assistant-activity-icon { background: #e8f1ff; color: #2563a8; }.assistant-activity.code .assistant-activity-icon { background: #eee9ff; color: #6546a6; }.assistant-activity.file .assistant-activity-icon { background: #e7f5ec; color: #25744a; }.assistant-activity.image .assistant-activity-icon { background: #fff0e2; color: #a35a1e; }
.assistant-activity.completed { opacity: .82; }.assistant-activity.failed { border-color: #efcaca; background: #fff7f7; }.assistant-activity.failed .assistant-activity-icon { background: #fbe4e4; color: #a33a3a; }
.assistant-activity-progress { display: block; width: min(210px, 100%); height: 3px; margin-top: 5px; overflow: hidden; border-radius: 999px; background: #dedede; }.assistant-activity-progress i { display: block; height: 100%; border-radius: inherit; background: #3478f6; transition: width .15s linear; }
.assistant-activity-items { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }.assistant-activity-items span { display: block; max-width: 260px; overflow: hidden; padding: 2px 6px; border-radius: 6px; background: #ececec; color: #666; font-size: 10px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.assistant-activity-results { display: grid; gap: 5px; margin-top: 7px; }.assistant-activity-results a { display: grid; min-width: 0; padding: 6px 8px; border: 1px solid #e1e7ef; border-radius: 8px; background: #fff; color: inherit; text-decoration: none; }.assistant-activity-results a:hover { border-color: #b8cae2; background: #f8fbff; }.assistant-activity-results a strong, .assistant-activity-results a small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.assistant-activity-results a strong { color: #345b87; font-size: 10px; }.assistant-activity-results a small { color: #888; font-size: 9px; }
.assistant-activity-history { margin: 0 0 10px; color: #666; font-size: 12px; }.assistant-activity-history summary { width: max-content; max-width: 100%; cursor: pointer; user-select: none; }.assistant-activity-history > div { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 8px; }.assistant-activity-history .assistant-activity { margin-bottom: 0; }
@keyframes assistant-loading-bounce { 0%, 60%, 100% { transform: translateY(0); opacity: .35; } 30% { transform: translateY(-5px); opacity: 1; } }
.send-btn { width: 56px; height: 56px; background: #3478f6; color: #fff; }.send-btn:hover:not(:disabled) { background: #2568e4; }.send-btn:disabled { background: #d7d7d7; color: #fff; cursor: default; }.send-btn svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }.send-btn .stop-icon { display: none; fill: currentColor; stroke: none; }.send-btn.stop-mode { background: #171717; }.send-btn.stop-mode .send-icon { display: none; }.send-btn.stop-mode .stop-icon { display: block; }
.composer-options { position: relative; }.option-menu { position: absolute; bottom: 50px; left: 0; background: #fff; border: 1px solid #e2e2e2; box-shadow: 0 8px 30px #0002; border-radius: 14px; padding: 8px; min-width: 150px; z-index: 4; }.option-menu button { display: block; width: 100%; border: 0; background: transparent; text-align: left; padding: 9px; border-radius: 8px; cursor: pointer; }.option-menu button:hover { background: #f0f0f0; }.menu-caption { color: #888; font-size: 12px; padding: 7px 9px 3px; }.status-line { min-height: 18px; padding: 4px 18px 0; color: #888; font-size: 12px; line-height: 1.2; }
.model-btn { display: flex; align-items: center; justify-content: center; gap: 5px; min-width: 48px; max-width: 150px; padding: 0 9px; font-size: 14px; white-space: nowrap; }.model-btn .chevron { font-size: 18px; color: #888; transform: translateY(-1px); }.mic-btn svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }.mic-btn.listening { color: #d33; background: #fdeaea; }
.message-error { padding: 10px 12px; border: 1px solid #f0caca; border-radius: 10px; background: #fff4f4; color: #a12626; white-space: pre-wrap; }.message-retry { margin-top: 8px; font-size: 12px; }
.empty-home .topbar { display: none; }.empty-home .main-panel { width: 100%; }.empty-home .composer-wrap { display: none; }.empty-home .welcome { width: min(1154px, calc(100% - 40px)); margin-top: -24px; transform: translateY(74px); }.empty-home #empty-composer { width: 100%; transform: translate(8px, 8px); }
.sidebar-collapsed .sidebar { width: 64px; padding-left: 7px; padding-right: 7px; }
.sidebar-collapsed .brand-row { justify-content: center; padding-left: 0; padding-right: 0; }
.sidebar-collapsed .brand, .sidebar-collapsed .sidebar-actions button[aria-label="搜索"], .sidebar-collapsed .recent-label, .sidebar-collapsed .conversation-list, .sidebar-collapsed .instruction-link, .sidebar-collapsed .profile-row, .sidebar-collapsed .new-chat span:last-child { display: none; }
.sidebar-collapsed .sidebar-actions { display: flex; }
.sidebar-collapsed .new-chat { width: 45px; justify-content: center; padding: 0; margin: 0 auto; }
.modal { position: fixed; inset: 0; background: #0004; display: grid; place-items: center; z-index: 20; }.modal.hidden { display: none; }.modal-card { background: #fff; border-radius: 18px; width: min(520px, calc(100% - 32px)); padding: 22px; box-shadow: 0 20px 70px #0003; }.modal-title { font-size: 20px; font-weight: 600; }.modal-hint { color: #777; font-size: 13px; }.modal textarea { width: 100%; height: 150px; resize: vertical; border: 1px solid #ddd; border-radius: 10px; padding: 12px; font: inherit; outline: 0; }.modal textarea:focus { border-color: #8ab4f8; }.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; }.ghost-btn, .primary-btn { border: 0; border-radius: 9px; padding: 9px 16px; cursor: pointer; }.ghost-btn { background: #f0f0f0; }.primary-btn { background: #222; color: #fff; }
.auth-card { width: min(430px, calc(100% - 32px)); }.auth-tabs { display: flex; gap: 4px; margin: 16px 0; padding: 3px; border-radius: 10px; background: #f2f2f2; }.auth-tab { flex: 1; border: 0; border-radius: 8px; background: transparent; padding: 8px; color: #666; cursor: pointer; }.auth-tab.active { background: #fff; color: #222; box-shadow: 0 1px 4px #0001; font-weight: 600; }.auth-label { display: block; margin: 10px 0 6px; color: #555; font-size: 12px; }.auth-input { width: 100%; border: 1px solid #d8d8d8; border-radius: 9px; padding: 10px 11px; font: inherit; outline: 0; }.auth-input:focus { border-color: #8ab4f8; box-shadow: 0 0 0 3px #8ab4f833; }.auth-code-row { display: flex; align-items: end; gap: 8px; }.auth-code-field { flex: 1; min-width: 0; }.auth-code-button { white-space: nowrap; }.auth-status { min-height: 21px; margin-top: 10px; color: #777; font-size: 12px; line-height: 1.4; }.auth-status.error { color: #a12626; }.auth-status.success { color: #247a4a; }
@media (max-width: 800px) { .welcome { width: calc(100% - 24px); }.welcome h1 { font-size: 27px; margin-bottom: 36px; }.composer { min-height: 68px; padding-left: 12px; gap: 8px; }.editor-shell { font-size: 18px; }.send-btn { width: 46px; height: 46px; }.composer-wrap { padding: 0 12px 14px; } }
@media (max-width: 500px) { .composer { gap: 4px; padding: 8px; }.attach-btn, .mic-btn { width: 30px; height: 30px; }.attach-btn svg, .mic-btn svg { width: 23px; height: 23px; }.model-btn { min-width: 40px; max-width: 40px; padding: 0 2px; font-size: 12px; overflow: hidden; }.model-btn .chevron { display: none; }.editor-shell { font-size: 16px; }.editor-shell:empty::before { white-space: nowrap; }.send-btn { width: 42px; height: 42px; } }
.accounts-card { width: min(680px, calc(100% - 32px)); max-height: min(760px, calc(100vh - 32px)); overflow: auto; }.account-list { display: grid; min-width: 0; gap: 9px; margin-top: 14px; }.account-empty { padding: 18px; border: 1px dashed #d8d8d8; border-radius: 12px; color: #888; font-size: 13px; text-align: center; }.account-card { min-width: 0; padding: 12px 14px; border: 1px solid #e4e4e4; border-radius: 12px; background: #fafafa; }.account-card.busy { border-color: #cddcf8; background: #f7faff; }.account-card.disabled { opacity: .72; background: #f4f4f4; }.account-card.cooling { border-color: #e7c98a; background: #fffaf0; }.account-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }.account-card-head strong { min-width: 0; overflow-wrap: anywhere; font-size: 14px; }.account-card-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 7px; }.account-state { padding: 3px 8px; border-radius: 999px; background: #eee; color: #777; font-size: 11px; }.account-state.ready { background: #e2f5ea; color: #247a4a; }.account-toggle { padding: 5px 9px; font-size: 11px; }.account-card-meta { display: flex; flex-wrap: wrap; gap: 5px 18px; margin-top: 8px; color: #666; font-size: 12px; }.account-card-cooldown { margin-top: 6px; color: #9a6a17; font-size: 11px; }.account-card-models { margin-top: 6px; color: #777; font-size: 11px; overflow-wrap: anywhere; }.account-error { max-width: 100%; margin-top: 7px; color: #a12626; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }.account-connect { min-width: 0; margin-top: 18px; padding-top: 16px; border-top: 1px solid #eee; }.account-connect-fields { display: grid; grid-template-columns: minmax(0, 1fr) 150px auto; align-items: center; gap: 8px; margin-top: 7px; }.account-connect-fields .auth-input { min-width: 0; }.account-connect-fields .primary-btn { white-space: nowrap; }
.account-import { padding: 5px 9px; font-size: 11px; }.remote-import-card { width: min(760px, calc(100% - 32px)); max-height: min(820px, calc(100vh - 32px)); overflow: auto; }.remote-import-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 14px; margin: 15px 0 10px; }.remote-import-toolbar > label:first-child { display: grid; flex: 1; gap: 5px; color: #777; font-size: 11px; }.remote-import-toolbar select { width: 100%; border: 1px solid #d8d8d8; border-radius: 9px; padding: 9px 10px; background: #fff; }.remote-select-all { display: flex; align-items: center; gap: 7px; padding-bottom: 9px; color: #555; font-size: 12px; }.remote-import-list { display: grid; gap: 6px; max-height: 480px; overflow: auto; }.remote-import-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid #e5e5e5; border-radius: 10px; background: #fafafa; }.remote-import-row.imported { opacity: .65; }.remote-import-copy { display: grid; min-width: 0; gap: 3px; }.remote-import-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }.remote-import-copy span { color: #888; font-size: 10px; overflow-wrap: anywhere; }.remote-import-owner { color: #666; font-size: 10px; text-align: right; }
@media (max-width: 620px) { .account-card-head { align-items: flex-start; }.account-card-actions { flex-wrap: wrap; justify-content: flex-end; }.account-connect-fields { grid-template-columns: 1fr 1fr; }.account-connect-fields .primary-btn { grid-column: 1 / -1; } }
@media (max-width: 620px) { .remote-import-toolbar { align-items: stretch; flex-direction: column; }.remote-select-all { padding-bottom: 0; }.remote-import-row { grid-template-columns: auto minmax(0, 1fr); }.remote-import-owner { grid-column: 2; text-align: left; } }
.security-card { width: min(820px, calc(100% - 32px)); max-height: min(820px, calc(100vh - 32px)); overflow: auto; }.security-tabs { display: flex; gap: 4px; margin: 16px 0 12px; padding: 3px; border-radius: 10px; background: #f2f2f2; }.security-tab { flex: 1; border: 0; border-radius: 8px; padding: 8px 12px; background: transparent; color: #666; cursor: pointer; }.security-tab.active { background: #fff; color: #222; font-weight: 600; box-shadow: 0 1px 4px #0001; }.admin-user-list, .audit-log-list { display: grid; gap: 8px; }.security-empty { padding: 24px; border: 1px dashed #d8d8d8; border-radius: 12px; color: #888; text-align: center; }.admin-user-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 12px 14px; border: 1px solid #e5e5e5; border-radius: 12px; background: #fafafa; }.admin-user-copy { display: grid; min-width: 0; gap: 3px; }.admin-user-copy strong { overflow: hidden; text-overflow: ellipsis; }.admin-user-copy span { color: #777; font-size: 11px; overflow-wrap: anywhere; }.admin-role-control { display: grid; gap: 4px; flex: 0 0 130px; color: #777; font-size: 11px; }.admin-role-control select { border: 1px solid #d8d8d8; border-radius: 8px; padding: 8px; background: #fff; color: #333; }.audit-row { padding: 11px 13px; border: 1px solid #e5e5e5; border-left: 4px solid #6c9f7d; border-radius: 10px; background: #fff; }.audit-row.failure { border-left-color: #c95d5d; }.audit-row-head { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; }.audit-row-head span { color: #777; white-space: nowrap; }.audit-target { margin-top: 5px; color: #555; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 11px; overflow-wrap: anywhere; }.audit-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 7px; color: #888; font-size: 10px; }
.backup-status-card { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; padding: 14px; border: 1px solid #e5e5e5; border-radius: 12px; background: #fafafa; }.backup-status-item { display: grid; gap: 3px; min-width: 0; }.backup-status-item span { color: #888; font-size: 10px; }.backup-status-item strong { color: #333; font-size: 12px; overflow-wrap: anywhere; }
.audit-filters { display: grid; grid-template-columns: minmax(0, 1fr) 130px auto; gap: 8px; margin-bottom: 10px; }.audit-filters input, .audit-filters select { min-width: 0; border: 1px solid #d8d8d8; border-radius: 9px; padding: 8px 10px; background: #fff; color: #333; }.audit-pagination { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 12px; }.audit-pagination span { min-width: 56px; color: #777; text-align: center; font-size: 11px; }.audit-pagination button:disabled { cursor: default; opacity: .45; }
@media (max-width: 620px) { .admin-user-row { align-items: stretch; flex-direction: column; }.admin-role-control { flex-basis: auto; }.audit-row-head { align-items: flex-start; flex-direction: column; gap: 4px; }.audit-row-head span { white-space: normal; }.audit-filters, .backup-status-card { grid-template-columns: 1fr; } }
