.chat-info-tooltip{flex-shrink:0;display:inline-flex}.chat-info-tooltip>button{width:24px;height:24px;color:var(--muted);background:0 0;border:0;border-radius:50%;place-items:center;padding:2px;display:grid}.chat-info-tooltip-alert>button{color:var(--accent-amber)}.chat-info-tooltip>button svg{width:20px;height:20px}.chat-info-tooltip>button:focus-visible{outline:2px solid var(--violet);outline-offset:2px}.chat-info-tooltip-content{z-index:20;border:1px solid var(--line);background:var(--surface);width:min(360px,100vw - 64px);color:var(--ink);box-shadow:var(--shadow);border-radius:12px;padding:12px 14px;font-size:12px;line-height:1.5;position:absolute;bottom:calc(100% + 8px);left:0}
.chat-model-picker{flex-direction:column;flex:auto;min-width:0;min-height:0;margin-top:19px;display:flex}.chat-provider-filters{grid-template-columns:repeat(var(--provider-count), minmax(0, 1fr));flex:none;gap:5px;margin-bottom:12px;display:grid}.chat-provider-filter{border:1px solid var(--line);min-width:0;height:38px;color:var(--muted);background:0 0;border-radius:10px;place-items:center;padding:5px;font-size:11px;font-weight:750;transition:background .15s,border-color .15s,box-shadow .15s;display:grid}.chat-provider-filter:hover{background:var(--surface-raised)}.chat-provider-filter[aria-pressed=true]{border-color:var(--accent-violet);color:var(--ink);background:color-mix(in srgb, var(--accent-violet) 13%, var(--surface-raised));box-shadow:inset 0 0 0 1px var(--accent-violet)}.chat-provider-filter:focus-visible{outline:2px solid var(--accent-violet);outline-offset:2px}.chat-provider-logo img{object-fit:contain;width:72%;height:72%;display:block}.chat-provider-logo.provider-google{background:#fff}.chat-provider-monochrome{filter:brightness(0)invert()}.chat-provider-filter .chat-provider-logo{aspect-ratio:1;border-radius:7px;width:min(26px,100%);height:auto}.chat-model-picker>.model-section{margin-top:0}@media (max-width:820px){.chat-model-picker{flex:none}}@media (max-width:560px){.chat-model-picker{margin-top:0}}
.chat-pricing-help-button{border:1px solid var(--line);width:30px;height:30px;color:var(--muted);background:var(--surface);border-radius:50%;flex:none;place-items:center;margin-left:auto;padding:0;display:grid}.chat-pricing-help-button svg{width:19px;height:19px}.chat-pricing-help-button:hover{color:var(--accent-violet);border-color:var(--violet)}.chat-pricing-help-button:focus-visible,.chat-pricing-help-close:focus-visible{outline:2px solid var(--violet);outline-offset:3px}.chat-pricing-popover{border:1px solid var(--line);width:min(360px,100vw - 24px);max-height:calc(100dvh - 24px);color:var(--ink);background:var(--surface);box-shadow:var(--shadow);border-radius:16px;margin:0;padding:18px;font-size:13px;line-height:1.5;position:fixed;inset:auto;overflow-y:auto}.chat-pricing-popover-header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;display:flex}.chat-pricing-popover h2{margin:0;font-size:15px;line-height:1.35}.chat-pricing-help-close{width:24px;height:24px;color:var(--muted);background:0 0;border:0;border-radius:6px;flex:none;place-items:center;padding:2px;display:grid}.chat-pricing-help-close:hover{color:var(--ink);background:var(--paper)}.chat-pricing-popover dl{margin:0}.chat-pricing-popover dt{margin-top:12px;font-weight:750}.chat-pricing-popover dt:first-child{margin-top:0}.chat-pricing-popover dd{color:var(--muted);margin:3px 0 0}.chat-pricing-popover>p{border-top:1px solid var(--line);color:var(--muted);margin:14px 0 0;padding-top:12px;font-size:12px}@media (max-width:640px){.chat-sidebar .chat-sidebar-title{display:flex}}
.chat-attachment-controls>.chat-keyboard-hint{color:var(--muted);white-space:nowrap;margin-left:auto;font-size:11px}.chat-cost-estimate{min-height:24px;color:var(--muted);align-items:center;gap:6px;font-size:12px;line-height:1.5;display:flex;position:relative}.chat-cost-estimate>span{color:var(--muted)}.chat-cost-estimate .credit-amount{color:var(--ink);white-space:nowrap}.chat-cost-estimate .credit-amount svg{width:14px;height:14px}.chat-cost-estimate .chat-info-tooltip-content{color:var(--ink)}.chat-cost-estimate .history-spinner{flex-shrink:0;width:16px;height:16px}.chat-cost-estimate-error>span{color:var(--accent-rose)}.chat-cost-estimate .chat-info-tooltip>button{background:0 0;border-radius:50%;width:24px;height:24px}@media (max-width:1100px){.chat-attachment-controls>.chat-keyboard-hint{display:none}}
.chat-image-list{flex-wrap:wrap;gap:8px;margin:8px 0;display:flex}.chat-image{border:1px solid var(--line);background:var(--paper);border-radius:10px;place-items:center;width:100px;height:88px;display:grid;position:relative;overflow:hidden}.chat-image a{width:100%;height:100%}.chat-image img{object-fit:cover;width:100%;height:100%}.chat-image img[hidden]{display:none}.chat-image-loading{place-items:center;display:grid;position:absolute;inset:0}.chat-image-error{text-align:center;overflow-wrap:anywhere;padding:6px;font-size:11px}.chat-image-selection{position:relative}.chat-image-remove{border:1px solid var(--line);background:var(--surface);width:24px;height:24px;color:var(--ink);border-radius:50%;place-items:center;padding:3px;display:grid;position:absolute;top:-4px;right:-4px}.chat-image-remove svg{width:15px;height:15px}.chat-image-controls{flex-wrap:wrap;align-items:center;gap:8px 12px;padding:6px 0 10px;display:flex}.chat-image-controls .ghost-button{padding:6px 8px}.chat-image-controls small,.chat-image-model-hint{color:var(--muted);font-size:12px;line-height:1.4}.chat-image-model-hint{margin:4px 0 8px}.message-body .chat-image{width:160px;height:130px}@media (max-width:820px){.chat-image{width:80px;height:70px}.message-body .chat-image{width:120px;height:100px}.chat-image-controls small{width:100%}}
