body { width: 260px; margin: 0; padding: 12px; font-family: system-ui, sans-serif; font-size: 13px; color: #1f1f1f; background: #ffffff; } .popup-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; } h1 { font-size: 14px; margin: 0; } .mode-nav { display: flex; gap: 4px; } .nav-btn { border: 1px solid rgba(0, 0, 0, 0.25); background: #fff; border-radius: 4px; padding: 2px 10px; cursor: pointer; font-size: 12px; } .nav-btn.active { background: #1a73e8; border-color: #1a73e8; color: #fff; } .translation-text { min-height: 60px; max-height: 220px; overflow-y: auto; white-space: pre-wrap; word-break: break-word; border: 1px solid rgba(0, 0, 0, 0.15); border-radius: 4px; padding: 6px 8px; margin: 6px 0; user-select: text; } .meta { color: #5f6368; font-size: 11px; margin: 2px 0 0; } .actions { display: flex; gap: 6px; margin-top: 8px; } .actions button { flex: 1; padding: 5px 8px; border: 1px solid rgba(0, 0, 0, 0.25); border-radius: 4px; background: #fff; cursor: pointer; } .actions button:hover:not([disabled]) { background: #f0f4ff; } .actions button[disabled] { opacity: 0.5; cursor: default; } .row { display: flex; flex-direction: column; gap: 4px; margin-bottom: 10px; } .toggle-row { flex-direction: row; align-items: center; justify-content: space-between; } .toggle-label { font-weight: 500; margin: 0; } label { font-weight: 500; } select, button { font-family: system-ui, sans-serif; font-size: 13px; } .model-row { display: flex; gap: 4px; } .model-row select { flex: 1; min-width: 0; } .status { color: #5f6368; font-size: 11px; margin: 4px 0 0; } .status.error { color: #c5221f; } #open-options { width: 100%; padding: 6px; border: 1px solid rgba(0, 0, 0, 0.25); border-radius: 4px; background: #fff; cursor: pointer; } #open-options:hover { background: #f0f4ff; }