.quota-toggle svg { transition: transform 160ms ease; } .quota-widget.is-expanded .quota-toggle svg { transform: rotate(180deg); } .quota-panel { display: grid; gap: 7px; max-height: min(34svh, 310px); margin-top: 7px; overflow: auto; padding-right: 3px; } .quota-account { display: grid; gap: 7px; padding: 9px; border: 1px solid #e3e7e2; border-radius: 8px; background: rgba(255, 255, 255, 0.72); } [data-theme="dark"] .quota-account { border-color: #303030; background: #222222; } .quota-account-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; } .quota-account-head span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #2f363f; font-size: 13px; font-weight: 650; } [data-theme="dark"] .quota-account-head span { color: var(--text); } .quota-account-head small { flex: 0 0 auto; display: inline-grid; place-items: center; min-width: 42px; height: 22px; padding: 0 8px; border-radius: 999px; color: #2f363f; background: #edf0ed; font-size: 11px; font-weight: 700; } [data-theme="dark"] .quota-account-head small { color: var(--text); background: #303030; } .quota-window-list { display: grid; gap: 7px; } .quota-window { display: grid; gap: 4px; } .quota-window-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #68717b; font-size: 11px; line-height: 15px; } .quota-window-meta strong { color: #2f363f; font-size: 11px; } [data-theme="dark"] .quota-window-meta strong { color: var(--text); } .quota-bar { height: 4px; overflow: hidden; border-radius: 999px; background: #e5e9e4; } [data-theme="dark"] .quota-bar { background: #303030; } .quota-bar span { display: block; width: var(--quota-percent, 0%); height: 100%; border-radius: inherit; background: #2f363f; } .quota-window.is-high .quota-bar span { background: var(--danger); } .quota-window.is-healthy .quota-bar span { background: #15a46b; } .quota-window.is-medium .quota-bar span { background: #d6a719; } .quota-window.is-warning .quota-bar span { background: #e87922; } .quota-window.is-low .quota-bar span { background: var(--danger); } .quota-error, .quota-account-message, .quota-empty { width: 100%; min-height: 34px; padding: 8px 9px; border-radius: 8px; color: #8f332d; background: #fff1f1; font-size: 12px; line-height: 16px; text-align: left; } .quota-empty { color: var(--muted); background: #f5f7f4; } .quota-account.is-disabled .quota-account-message { color: #68717b; background: #f5f7f4; } [data-theme="dark"] .quota-error, [data-theme="dark"] .quota-account-message { color: #ffb4ae; background: rgba(255, 107, 98, 0.12); } [data-theme="dark"] .quota-empty, [data-theme="dark"] .quota-account.is-disabled .quota-account-message { color: var(--muted); background: #262626; } .session-strip { display: flex; gap: 8px; padding: 10px 14px; overflow-x: auto; border-bottom: 1px solid rgba(222, 223, 220, 0.74); background: rgba(247, 247, 244, 0.78); } .session-strip button { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; max-width: 148px; min-height: 44px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; color: #39404a; background: rgba(255, 255, 255, 0.84); } .session-strip button.is-selected { border-color: rgba(37, 99, 235, 0.38); background: var(--accent-soft); } .session-strip span { max-width: 124px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 12px; } .session-strip small { color: var(--muted); font-size: 10px; } .chat-pane { min-height: 0; min-width: 0; width: 100%; max-width: 100vw; overflow-y: auto; overflow-x: hidden; padding: 18px 14px 10px; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; } .empty-chat { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; color: var(--muted); } .empty-orbit { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; color: var(--accent); background: var(--accent-soft); } .empty-chat h2 { margin: 8px 0 0; color: var(--text); font-size: 20px; } .empty-chat p { margin: 0; font-size: 14px; } .message-row { display: flex; justify-content: flex-start; min-width: 0; width: 100%; max-width: 100%; margin-bottom: 12px; overflow: visible; } .message-row.is-user { justify-content: flex-end; } .message-stack { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; max-width: min(78%, 680px); }